CN-122027506-A - Scene instance construction method and related equipment based on Internet of things resources
Abstract
Responding to a first interactive interface, acquiring and creating configuration attribute information of similar Internet of things resources in different scenes based on a universal frame template in different scenes; the method comprises the steps of obtaining characteristic information of similar Internet of things resources in different scenes by responding to a second interactive interface, constructing first resource instances in different scenes based on configuration attribute information, creating a plurality of similar resource instances of the similar Internet of things resources in different scenes by responding to a third interactive interface based on the first resource instances, and constructing a comprehensive resource body based on the correlation relationship among the Internet of things resources in the service scene instances and multiple resource instances by responding to a fourth interactive interface, wherein the comprehensive resource body comprises a main resource instance and a correlation resource instance. The embodiment of the application can improve the effectiveness, flexibility and expansibility of the construction of the scene instance. The method and the device can be widely applied to the technical field of the Internet of things.
Inventors
- SHA QINGLIANG
Assignees
- 天翼物联科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260123
Claims (10)
- 1. The scene instance construction method based on the internet of things resource is characterized by comprising the following steps of: responding to a first interactive interface, and acquiring and creating configuration attribute information of similar Internet of things resources in different scenes based on universal frame templates in different scenes; Responding to a second interactive interface, acquiring characteristic information of similar internet of things resources in different scenes, and constructing first resource examples in different scenes based on the configuration attribute information and the characteristic information; responding to a third interactive interface, and creating a plurality of similar resource instances of the similar Internet of things resource under different scenes based on the first resource instance; And responding to the fourth interactive interface, and constructing a comprehensive resource body based on the interrelationship among all the Internet of things resources in the service scene instance and the multi-class resource instances, wherein the comprehensive resource body comprises a main resource instance and an associated resource instance.
- 2. The method according to claim 1, wherein the obtaining and creating configuration attribute information of the homogeneous internet of things resource in different scenarios includes: And acquiring and creating any plurality of custom attribute information, data types, display sequences or necessary filling information of the similar Internet of things resources in different scenes.
- 3. The method of claim 1, wherein the obtaining the feature information of the homogeneous internet of things resource in different scenarios comprises: The method comprises the steps of obtaining any plurality of file type information, maintenance type information, state type information and expansion type information of similar internet of things resources in different scenes, wherein the file type information comprises internet of things resource basic information, the maintenance type information comprises information required for maintenance, the state type information comprises time sequence data, change data and operable instructions, and the file type information and the maintenance type information comprise fixed fields and expansion fields.
- 4. The method of claim 3, wherein creating a number of homogeneous resource instances of a homogeneous internet of things resource in different scenarios based on the initial resource instance comprises: copying the master plate by taking the first resource instance as the master plate to generate a plurality of new resource instances; Clearing the file class information in the new resource examples and filling new file class information; the maintenance class information and/or the state class information in a plurality of new resource instances are kept unchanged or modified according to input.
- 5. The method according to claim 4, wherein the method further comprises: and if the first resource instance is removed, invalidated or replaced, selecting other resource instances in the similar resource instances as the first resource instance.
- 6. The method according to any one of claims 1 to 5, wherein the constructing the comprehensive resource body based on the interrelationship between the internet of things resources in the service scenario instance and the multiple types of resource instances includes: Determining a main resource instance according to the service scene instance, wherein the main resource instance is a new resource instance or is determined according to the first resource instance; And determining an associated resource instance and a reference field according to the interrelation relation among the Internet of things resources in the service scene instance so as to construct a comprehensive resource body.
- 7. A scenario instance construction apparatus based on internet of things resources, the apparatus comprising: the first module is used for responding to the first interactive interface, acquiring and creating configuration attribute information of similar Internet of things resources in different scenes based on the universal frame templates in different scenes; The second module is used for responding to the second interactive interface, acquiring the characteristic information of the similar internet of things resource in different scenes, and constructing a first resource instance in different scenes based on the configuration attribute information and the characteristic information; the third module is used for responding to a third interactive interface, and creating a plurality of similar resource instances of similar Internet of things resources in different scenes based on the first resource instance; And the fourth module is used for responding to the fourth interactive interface, constructing a comprehensive resource body based on the mutual association relation among all the Internet of things resources in the service scene instance and the multiple types of resource instances, wherein the comprehensive resource body comprises a main resource instance and an association resource instance.
- 8. An electronic device, comprising: At least one processor; at least one memory for storing at least one program; The at least one program, when executed by the at least one processor, causes the at least one processor to implement the method of any of claims 1-6.
- 9. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1 to 6.
- 10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1 to 6.
Description
Scene instance construction method and related equipment based on Internet of things resources Technical Field The application relates to the technical field of the Internet of things, in particular to a scene instance construction method and related equipment based on Internet of things resources. Background With the rapid development of internet of things technology, more and more physical resources (such as devices, facilities, materials, environments, etc.) need to be managed, and one physical entity (such as one device, one sensor) may need to be used in a plurality of different business scenarios. For example, one "temperature sensor" in an "energy management" scenario, its key attributes are energy consumption and sampling accuracy, while in a "device health prediction" scenario, its key attributes may be historical data curves and fault codes. In the related art, the demands of a plurality of physical resources of the internet of things platform in different application scenes are different, and the physical resources of the different application scenes cannot be combined, so that the problems of effectiveness, flexibility, expansibility and the like exist. Disclosure of Invention The embodiment of the application mainly aims to provide a scene instance construction method and related equipment based on internet of things resources, aiming at improving the effectiveness, flexibility and expansibility of scene instance construction. In order to achieve the above object, an aspect of the embodiments of the present application provides a method for constructing a scenario instance based on resources of the internet of things, the method including the following steps: responding to a first interactive interface, and acquiring and creating configuration attribute information of similar Internet of things resources in different scenes based on universal frame templates in different scenes; Responding to a second interactive interface, acquiring characteristic information of similar internet of things resources in different scenes, and constructing first resource examples in different scenes based on the configuration attribute information and the characteristic information; responding to a third interactive interface, and creating a plurality of similar resource instances of the similar Internet of things resource under different scenes based on the first resource instance; And responding to the fourth interactive interface, and constructing a comprehensive resource body based on the interrelationship among all the Internet of things resources in the service scene instance and the multi-class resource instances, wherein the comprehensive resource body comprises a main resource instance and an associated resource instance. In some embodiments, the obtaining and creating the configuration attribute information of the homogeneous internet of things resource under different scenarios includes: And acquiring and creating any plurality of custom attribute information, data types, display sequences or necessary filling information of the similar Internet of things resources in different scenes. In some embodiments, the obtaining the feature information of the homogeneous internet of things resource under different scenarios includes: The method comprises the steps of obtaining any plurality of file type information, maintenance type information, state type information and expansion type information of similar internet of things resources in different scenes, wherein the file type information comprises internet of things resource basic information, the maintenance type information comprises information required for maintenance, the state type information comprises time sequence data, change data and operable instructions, and the file type information and the maintenance type information comprise fixed fields and expansion fields. In some embodiments, the creating, based on the first resource instance, a plurality of homogeneous resource instances of the homogeneous internet of things resource in different scenarios includes: copying the master plate by taking the first resource instance as the master plate to generate a plurality of new resource instances; Clearing the file class information in the new resource examples and filling new file class information; the maintenance class information and/or the state class information in a plurality of new resource instances are kept unchanged or modified according to input. In some embodiments, the method further comprises: and if the first resource instance is removed, invalidated or replaced, selecting other resource instances in the similar resource instances as the first resource instance. In some embodiments, the constructing the comprehensive resource body based on the interrelationship among the internet of things resources in the service scenario instance and the multiple types of resource instances includes: Determining a main resource instance according to th