Movatterモバイル変換


[0]ホーム

URL:


CN113157267B - Open type resource management model and construction method thereof - Google Patents

Open type resource management model and construction method thereof
Download PDF

Info

Publication number
CN113157267B
CN113157267BCN202110445020.XACN202110445020ACN113157267BCN 113157267 BCN113157267 BCN 113157267BCN 202110445020 ACN202110445020 ACN 202110445020ACN 113157267 BCN113157267 BCN 113157267B
Authority
CN
China
Prior art keywords
resource
instance
server
class
resource instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110445020.XA
Other languages
Chinese (zh)
Other versions
CN113157267A (en
Inventor
侯瑞春
陶冶
周志明
王淑敏
袁洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ocean University of China
Original Assignee
Ocean University of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ocean University of ChinafiledCriticalOcean University of China
Priority to CN202110445020.XApriorityCriticalpatent/CN113157267B/en
Publication of CN113157267ApublicationCriticalpatent/CN113157267A/en
Application grantedgrantedCritical
Publication of CN113157267BpublicationCriticalpatent/CN113157267B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses an open resource management model and a construction method thereof, comprising the following steps: an application layer; a resource layer; a resource class management server for providing a service for creating, compiling and deploying a release resource class for a user; a resource class database for storing resource classes; a resource instance database for storing resource instances; a resource instance running server for performing operations on the resource instance; a resource instance management server for acquiring a resource class from a resource class database; and the resource instance monitoring server. The open resource management model effectively solves the digital modeling from the resource entity to the industrial Internet platform, standardizes the description requirement of the industrial Internet platform resource model, realizes the unification of the resource description modes, reduces the development workload, reduces the coupling degree of the resource and the data management module, improves the fault tolerance, and realizes the management of large-scale industrial Internet resources.

Description

Open type resource management model and construction method thereof
Technical Field
The invention belongs to the technical field of industrial Internet, and particularly relates to an open resource management model construction method.
Background
The industrial Internet platform can easily realize the connection and management of various resources, so that enterprises can quickly and economically collect mass data generated by various resources in the production process, process and analyze the data, and simultaneously provide development platforms and tools to help users to quickly construct Internet of things application, thereby providing a mature one-stop solution for certain specific scenes. In the industrial internet platform, various resources are needed for platform allocation, such as production and manufacturing type resources, logistics capacity resources, after-sales resources and the like, and various sensing devices are needed to be connected with the industrial internet platform, such as a temperature sensor, a humidity sensor, a pressure sensor and the like. In order to enable various resources to connect and communicate with the platform, digital modeling is required on the industrial internet platform for physical device resources, so that various resources have a digital mirror image in the system. After modeling various resources such as equipment and terminals, indirect operation of the equipment resources is realized through direct operation of a digital model, so how to describe the equipment resources and digitally model the equipment resources is a major problem which needs to be solved primarily by an industrial Internet platform.
The sensor, the manufacturing equipment and the intelligent terminal equipment are typical resources on an industrial internet platform, with the continuous development of embedded and networked sensors, the sensor access internet-of-things platform is realized, information collected by the sensor can be shared in the platform, and instructions can be issued to the operation of the resources through the platform, so that the control of the sensor or a physical entity becomes a new application based on Web, thus not only facilitating the interaction of information, but also facilitating the development of the internet of things.
The current products are: thingWorx: is an application program platform designed for meeting the solution of intelligent interconnection products. ThingWorx model definitions consist of Things, THING TEMPLATES, THING SHAPES. Things represents a physical device, asset, product, system, person, or process that has attributes and business logic. THING TEMPALTES provide basic functions including attributes, services, events, and subscriptions that the Thing instance uses in its execution. THING SHAPES provide a set of properties that represent attributes, services, events, and subscriptions shared among a set of physical assets.
MINDSPHERE: the open internet of things operating system based on cloud is pushed out by Siemens. MindConnect tool boxes can enable the equipment to be easily connected to the net. MindConnect Nano is an embedded industrial personal computer, which is connected and communicated with MINDSPHERE in a pre-configured mode, and comprises a matched gateway and software which can be easily integrated on MES software.
ThingsBoard: an open source internet of things platform. The device connection is realized through the Internet of things protocol-MQTT, coAP and HTTP of industry standard, cloud and local deployment are supported, and the method has the characteristics of scalability, fault tolerance and excellent performance. The rich server APIs are used to configure, monitor and control your internet of things entity resources in a secure manner. Relationships between devices, resources, clients, or any other entity may be defined.
Because the resources are various and respectively contain different static and dynamic attributes, the externally provided services are different, and therefore, a standardized resource description mode and construction are necessary to be provided, so that various resources are described and illustrated in a uniform format. Compared with ThingWorx, mindSphere, thingsBoard and other schemes, the method focuses on modeling the physical entity resources, and the open type resource description model and the construction method provided by the invention can support the abstraction and modeling of virtual resources such as manufacturing capacity, supply capacity, transportation capacity, maintenance capacity and the like besides modeling the physical entity resources. Resources difficult to quantify, such as "manufacturing capability", "supply capability", "transport capability", "maintenance capability", etc., of an enterprise are mapped into a model as entities that can be quantified, such as "manufacturing equipment", "vehicles", "stock reserves", etc., to form a mirror image that can be managed remotely by computer tools. The model shields the diversity of resources and the difficulty in quantification of virtual resources, unifies a control model, a data transmission model and a data model of the resources, and provides unified abstraction for the resources of the Internet of things. And the remote control provides unified standards and methods for accessing the Internet of things resources.
Disclosure of Invention
In order to solve the problems, the invention provides an open resource management model, which is used for carrying out computer modeling on resources, digital modeling and abstraction on sensors and intelligent equipment and carrying out remote management on the digital model.
In order to achieve the aim of the invention, the invention is realized by adopting the following technical scheme:
an open resource management model, comprising:
The application layer is created with a plurality of applications and is used for providing an operable interface for a user, analyzing the user demand and transmitting the user demand to the resource layer, and receiving response feedback of the resource layer to the user;
the resource layer is used for receiving the requirements of the application layer and responding to the requirements, the resource layer establishes a plurality of resource classes according to different data types, models one resource into one resource class, each resource class comprises one or a plurality of resource instances, and each resource instance is provided with a unique identification address;
A resource class management server for providing a service for creating, compiling and deploying a release resource class for a user;
a resource class database for storing resource classes;
a resource instance database for storing resource instances;
A resource instance running server, on which a resource entity is mapped as a resource instance, for performing an operation on the resource instance;
The resource instance management server is used for acquiring a resource class from the resource class database and providing services of creating, compiling and deploying and publishing resource instances for users;
And the resource instance monitoring server is used for creating, publishing, stopping or voiding the resource instance.
Further, the resource instance running server also includes a lifecycle for maintaining the resource instance.
Further, the data structure and the calling method of the resource class are the same, and the addresses of the resource class are different from each other.
Further, when the resource class management server issues and deploys the resource class, a C/Java-based resource end operation library is generated, and the resource end operation library can be downloaded.
Further, the resource end operation library comprises any combination of a basic library, a resource data type definition section, an event definition section, a data section, a service section and a notification section.
Further, the user sends out an instruction through the resource instance management server, the resource instance management server calls an instance mirror image of the resource, a corresponding resource instance is found out from the resource instance running server, and the resource instance running server responds.
Further, the resource entity accesses the resource instance through the local basic routing component and points to the resource instance, and when the resource instance corresponding to the resource entity is not in the resource entity, the resource entity is prompted to regain the address of the running server of the resource instance.
Further, the resource entity submits data, and the resource instance operation server writes the resource instance data into a data queue and returns the data immediately; the resource instance running server acquires data from the data queue through the thread pool and invokes the corresponding resource instance searching service.
The invention also provides a construction method of the open resource management model, which comprises the following steps:
creating a resource class on a resource class management server and storing the resource class in a resource class database;
creating a resource instance on a resource instance management server and storing the resource instance in a resource instance database;
The resource instance running server instantiates, reads the resource class from the local resource class database, and instantiates the resource class;
The user sends out an instruction through the resource instance management server, the resource instance management server can call the instance mirror image of the resource, the corresponding resource instance is found out from the resource instance operation server, and the resource instance operation server responds.
Further, the resource entity accesses the resource instance through the local basic routing component and points to the resource instance, and when the resource instance corresponding to the resource entity is not in the resource entity, the resource entity is prompted to regain the address of the running server of the resource instance.
Compared with the prior art, the invention has the advantages and positive effects that: the open resource management model of the invention (1) effectively solves the digital modeling from the resource entity to the industrial Internet platform, standardizes the description requirement of the industrial Internet platform resource model, realizes the unification of the resource description mode, reduces the development workload, reduces the coupling degree of the resource and the data management module, improves the fault tolerance, and realizes the management of large-scale industrial Internet resources.
(2) The definition of the resource object in the industrial Internet platform resource model is controlled more precisely, an open resource management method is provided, and the problem that the industrial Internet platform resource is closed and not open is solved.
(3) The definition of the resource object in the industrial Internet platform resource model can multiplex the definition of other defined resource objects, the definition is not required to be repeated, the resource object can be directly integrated into a new resource object, the resource object is externally opened, and the hierarchical relationship is simple and clear and the resource management is orderly through the multiplexing of the resource object.
Other features and advantages of the present invention will become apparent upon review of the detailed description of the invention in conjunction with the drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a model diagram in one embodiment of an open resource management model proposed by the present invention;
FIG. 2 is a schematic diagram of the operation of a resource model in one embodiment of an open resource management model in accordance with the present invention;
FIG. 3 is a schematic diagram of a resource instance structure in an embodiment of an open resource management model according to the present invention;
FIG. 4 is a diagram of an architecture for interconnecting resources by a plurality of companies in an embodiment of an open resource management model according to the present invention;
FIG. 5 is a diagram of an architecture after issuance of a resource management model incorporating the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and examples.
It should be noted that, in the description of the present invention, terms such as "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus are not to be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The industrial internet platform provides users with various applications to meet the requirements of the users, such as device resource management applications, big data analysis applications, data visualization applications, and the like. Each application in turn requires multiple resource entities to work in concert. Taking an equipment resource management application as an example, physical resources with different specifications, different types and numerous numbers are required to be communicated and connected with an industrial internet platform, digital modeling is required to be carried out on the physical resources on the industrial internet platform, and the physical resources are indirectly controlled through the operation of a digital model.
The open resource management model of the embodiment takes the industrial internet platform resources as objects, defines a set of abstract resource management model, realizes description and modeling of the industrial internet platform resources, and reduces the workload of platform developers and managers.
The industrial Internet platform has various resources which are connected and communicated with each other, the relation among various resources is complicated, and the problem is that at present, a uniform resource description and modeling method does not exist, so that different types of resource description modes have huge differences, a developer cannot quickly and correctly understand the specific meanings represented by various resources in the platform and the relation among various resources, the resource development speed is reduced, and the resource management is disordered. The invention takes industrial Internet resources as objects to build a model, provides a general resource abstract model, a standard interface and an SDK development kit for realizing each resource end of the standard interface for the management of various resources; the method provides connection, management service and control interface based on the abstract model for the rear end of the industrial Internet platform, decouples the relation between a specific type of resource and a specific platform, and greatly simplifies the earlier work of developers and managers. The technical scheme of the invention will be described in detail with specific examples.
Example 1
The open resource management model of the present embodiment includes:
The application layer is used for providing an operable interface for a user, analyzing the user demand and transmitting the user demand to the resource layer, and receiving response feedback of the resource layer to the user;
the resource layer is used for receiving the requirements of the application layer, responding, establishing a plurality of resource classes according to different data types, modeling one resource into one resource class, wherein each resource class comprises one or more resource instances, and setting a unique identification address for each resource instance;
A resource class management server for providing a service for creating, compiling and deploying a release resource class for a user;
a resource class database for storing resource classes;
a resource instance database for storing resource instances;
A resource instance running server, wherein the resource entity is mapped into a resource instance on the resource instance running server; the resource instance running server is used for executing the operation on the resource instance;
The resource instance management server is used for acquiring a resource class from the resource class database and providing services of creating, compiling and deploying and publishing resource instances for users;
And the resource instance monitoring server is used for creating, publishing, stopping or voiding the resource instance.
The scheme also comprises a user layer, which means that various users using the model use interfaces provided by the application layer to put demands on the application layer, and the users can communicate with the application layer through a wired or wireless network so as to complete required work.
The abstract model interface or the platform function module is used for issuing calling requirements, opening the outside, and solving the problems of closed and unopened resources of the industrial Internet platform.
Resources in the industrial internet platform are not available to any resources and any users, and various resources must be fully mobilized in order to improve the working efficiency and the resource utilization. The open resource management model of the scheme is open to the outside through a standard interface in the abstract model, and considers the security, including the security of access identity authentication, the security of data transmission, the security of back-end control, the migration of faults and the like.
As shown in fig. 1, taking home appliance manufacturing as an example, the resource may be embodied as a temperature sensor in the refrigerator manufacturing process. In the refrigerator manufacturing process, a plurality of temperature sensors of the same manufacturer and the same model are used, the temperature sensors of the same type are abstracted into a model, the model is described in a standardized mode, and the model is stored in a resource model server. Each of the temperature sensors used has a mirror image stored in the instance server, which mirrors are instantiations of the temperature sensor model. When a terminal sends a certain instruction, such as a producer wants to adjust the temperature of the temperature sensors, the producer needs to click on an interface provided by an application layer, the application layer calls the interface provided by a model layer, an example mirror image of the corresponding temperature sensor is found through an ID (identity) identifier unique to a resource example, and the mirror image responds to the operation and transmits the instruction to a temperature sensor entity. The following core concepts are proposed based on the above model:
1) RC (Resource Class) resource classes, namely resource classes defined at a server side, wherein the resource classes are digital modeling of resources;
2) RI (Resource instance) resource instances, namely instance objects generated according to resource class instantiations;
3) RIRS (Resource Instance Runtime Server) the resource instance runs a server on which operations on the RI are performed;
4) RCMS (Resource CLASS MANAGE SERVER) Resource class management server;
5) RIMS (Resource INSTANCE MANAGE SERVER) Resource instance management server;
6) RIMNS (Resource Instance Monitor Server) resource instance monitoring server;
7) RCDB (Resource Class DataBase) resource class databases;
8) RIDB (Resource Instance DataBase) resource instance database.
When the resource class management server issues and deploys the resource class, a C/Java-based resource end operation library is generated, and the resource end operation library can be downloaded.
The resource end operation library comprises any combination of a basic library, a resource data type definition section, an event definition section, a data section, a service section and a notification section.
As shown in fig. 2, after a user logs in successfully through an APP or Web end, a resource class is created on an RCMS according to requirements, and the RCMS provides functions of creation, compiling and deployment and release for the user. RCDB is responsible for the storage function of the resource classes, which are created on RCMS in deployment release and RCDB. RIMS manages resource object instances, providing the functions of creating, publishing, stopping and voiding resource objects. The RIDB stores resource instance objects, RIRS reads data from the database during instantiation, and instantiates RC. The user sends an instruction through the RIMS, and the RIMS invokes its own method to RIRS find the corresponding instance and respond RIRS.
The resource instance execution server also includes a lifecycle for maintaining the resource instance. The resource entity accesses the RI through the basic routing component of the server, points to the RI, and prompts the resource entity to acquire RIRS the server address if the RI corresponding to the resource entity is not in the server. The system defaults to unidirectional data flow, i.e., resource- > RIRS- > RI. To improve the data writing processing efficiency, RIRS provides a resource data writing queue: the resource entity submits the data, RIRS writes the data into the queue and returns immediately; RIRS obtaining data from the data queue through the thread pool, and calling the corresponding RI search service. In RIRS, a specific resource object is searched for by the unique address of the resource entity, and the resource object is obtained by the address of the resource entity, so that the method or service of the resource class can be directly invoked.
RC is a class of resources defined by a user on RCMS. The data structure and the calling method of the resource classes are the same, and the addresses of the resource classes are different from each other. And the resource terminal operation library based on C/Java can be generated at the same time of the release and deployment of the RCMS, and the library can be downloaded by other people.
The user sends out an instruction through the resource instance management server, the resource instance management server calls the instance mirror image of the resource, the corresponding resource instance is found out from the resource instance operation server, and the resource instance operation server responds. An instance image of a resource is an image of the runtime of the resource (physical device) on the resource instance running server.
① Base library:
a) The MQTT/WebSocket/TCP base is responsible for the bottom communication protocol;
b) The pub-sub model library, the communication between Device < - > Server < - > Monitor adopts the "publisher-subscriber" model communication;
c) The message dispatcher is responsible for sending the message between Device, server, monitor;
d) The message receiver is responsible for receiving messages between Device, server, monitor;
e) The data type-JSON serialization library and the anti-serialization library are responsible for converting communication data into JSON data or converting the JSON data into C# objects, java objects and C structures.
② Resource data type definition segment:
a) The basic data type extracts the general data type of C#, java and C, wherein String is not in C, and is defined by Char [ ] structure;
b) The complex data type is defined as an aggregate data type, and the complex data type can accommodate a basic data type and a custom data type;
c) The custom data types can include basic data types, complex data types and other custom data types;
d) All data types can be automatically converted into JSON data by a data type-JSON serialization reverse serialization library or JSON data is converted into the three data types;
e) The data types may be shared among several RC (Resource Class) in a shared library fashion.
③ Event definition segment:
a) The event is means of interaction data between the resource entity end and the resource server end and means of interaction data between the resource monitoring end and the resource server end;
b) The event comprises a system defined event and also comprises a user defined event;
c) It is necessary to bind event types to corresponding processing functions at the time of development RC (Resource Class).
④ Data segment:
a) The data segment defines RC (Resource Class) data content, such as voltage, rotation speed, temperature, etc.;
b) The attribute data defines RC (Resource Class) basic data contents, such as voltage, rotation speed, etc., which are determined at runtime, i.e. instantiated in RI (Resource Instance), determined by the resource entity side, and defined at the time of creation RC (Resource Class);
c) Static data defining basic information of resource entities, including creator information, classification, type, available state and other information;
d) The additional information includes static data customized by the user.
⑤ Service segment:
a) The service section comprises an instance running on the server side and a method for exposing the instance running on the resource entity side and the resource monitoring side;
b) The method comprises the following steps: method visibility, method name, parameter type, specific implementation of service;
c) Because the realization of the server side adopts java development, a user can bind an existing class which accords with the development specification to the service section;
d) The method of the service section runs in RIRS (Resource Instance Runtime Server) resource instance running servers;
e) The method of the service segment is exposed to the equipment and the monitoring end through a predefined interface.
⑥ Notification section:
a) The notification section comprises a processing function for receiving the information of the server side by the resource entity side and the resource monitoring side;
b) The server side stores function interfaces of notification sections of the resource entity side and the resource monitoring side;
c) The server side calls a function in the interface to trigger a notification event, and the system broadcasts the notification event to each resource entity and each resource monitoring side;
The message receivers of the resource entity end and the resource monitoring end acquire the event, call the method corresponding to the event and positioned in the notification section, and process the message.
The resource entity accesses the resource instance through the local basic routing component and points to the resource instance, and when the resource instance corresponding to the resource entity is not in the resource entity, the resource entity is prompted to regain the address of the resource instance operation server.
The resource entity submits data, and the resource instance running server writes the resource instance data into a data queue and returns the data immediately; the resource instance running server acquires data from the data queue through the thread pool and invokes the corresponding resource instance searching service.
RI is an instantiation of RC, the RI structure is shown in fig. 3.
RI as an operational instance of RC, there are three instance mirror types:
① Resource Instance on Server instance mirror running on resource instance running server
② Resource Instance on Device instance mirror image running at the device side
③ Resource Instance on Monitor instance mirror image running on monitor side
When a problem occurs with a certain server, the image on that server can be migrated to other operational servers.
(4) External opening of resources is realized through standard interfaces in the model
① The industrial Internet front-end equipment resource, each equipment has a unique ID-KEY to identify the equipment, the ID-KEY is a KEY which is encrypted and processed by a (DES/RSA) method and can be in one-to-one correspondence with RI (Resource Instance) of the server side, and if the server side is unregistered or an instance is invalidated, the data cannot be interacted with the server side.
② The instance of the resource class needs sub codes to interact data with the server side.
③ RI (Resource Instance) mirror is the attribute data instantiation and assignment of RC (Resource Class); the ID-KEY values which are in one-to-one correspondence with the equipment after the instantiation of the resource exist; presence status data; identifying whether a connection is currently made; the service section presents an interface Proxy object-Proxy and is responsible for the function of mirroring the Proxy service end on the service section; the notification section presents as an unrealized code scaffold for the device side to implement the code here-i.e. secondary development, receiving the event notification sent by the server.
The RI (Resource Instance) example instantiated by the RC (Resource Class) model can be used for realizing secondary development of a user in a service section and a resource management platform through an unrealized code scaffold presented in a notification section.
As shown in fig. 4, if the resource is embodied as a temperature sensor, the user opens the application, and obtains the current temperature information. When the user sends out an instruction for changing the temperature to 38 ℃, the temperature sensor is directly connected to the network layer, after the sensor adjusts the temperature to 38 ℃, the temperature information after adjustment is returned, the information is mapped into the data model through the connection service cluster for storage, and the temperature information after modification is returned to the user for application display. I.e. the control end would be directly connected to the resource itself, the parts being highly coupled.
After the resource management model is added, as shown in fig. 5, the temperature sensor is connected to a connection server cluster, the connection server stores own data into a data model and actively maps the data to a model server, the added model server stores current data, the model server accesses data update at any time, an application of an application layer such as APP accesses a control server, and the data of the resource is read from the control server. When the user communicates instructions through the application, such as adjusting the temperature to 38 ℃, the invocation of the method through the model will be at 38 ℃ more and displayed to the user, and the instructions are ultimately communicated by the model through the network layer to the resource itself, which returns the temperature through the sensor and stores it. The method reduces the coupling degree of the whole framework, and when a part is problematic, the operation of the rest part is not affected.
(1) By the method, the digital modeling from the resource entity to the industrial Internet platform is effectively solved, the description requirement of the industrial Internet platform resource model is standardized, unification of the resource description mode is realized, development workload is reduced, the coupling degree of the resource and the data management module is reduced, fault tolerance is improved, and large-scale industrial Internet resource management is achieved.
(2) The definition of the resource object in the industrial Internet platform resource model is controlled more precisely, an open resource management method is provided, and the problem that the industrial Internet platform resource is closed and not open is solved.
(3) The definition of the resource object in the industrial Internet platform resource model can multiplex the definition of other defined resource objects, the definition is not required to be repeated, the resource object can be directly integrated into a new resource object, the resource object is externally opened, and the hierarchical relationship is simple and clear and the resource management is orderly through the multiplexing of the resource object.
The description of the resource includes defining access rights, attributes, methods, services, and additional attributes for the resource. The meanings are as follows:
① Definition of access rights: the security is a basic requirement of the platform of the internet of things, the access right control is a basic means for ensuring the security, most of the current access right control is aimed at users, the security of the system is improved through the right control of the users, but the communication and integration among devices also need the right control, which is more refined right control. Rights control for resource objects mainly involves the following aspects:
public, public access rights. The resource instances generated by defining the resource object are globally visible, and all resource instances can be accessed and communicated.
Protected-Protected access rights. The object instance defining the resource object can only be visible to the resource instance integrated into the resource object or to the resource instance created by inheriting the resource object.
Private: private access rights. The object instance defining the resource object cannot be accessed by other resource instances, but can only be seen by itself or by the resource instance integrating the resource object.
② The definition of the attribute is divided into two parts, namely, the basic attribute and the integrated attribute of the resource object.
Basic properties: each resource has its own basic attributes, such as factory time, volume, weight, age, manufacturer, service warranty, etc., which may be represented by basic types, such as Intege, float, double, long, string, date type, etc.
Integration attributes: in addition to the basic attributes, some resources may be integrated with other resources, for example, functions of a temperature sensor and a humidity sensor may be integrated, and some attributes or functions not possessed by a single sensor are obtained through integration. Therefore, the resource objects of the temperature and humidity sensor can be directly integrated with the resource objects of the temperature sensor and the humidity sensor, so that the hierarchical relationship among the resource objects is clear at a glance, each resource object can be rapidly reused, and the development speed is accelerated.
③ Definition of the method: the method defined by the resource object is a method for describing the basic functions of the resource, such as acquiring real-time data, uploading and downloading data, and the like, and when a resource instance is created based on a certain resource object, the resource instance can call the method in the resource object. The definition of the method may also allow rights control in view of security.
Public, public access rights.
Protected-Protected access rights.
Private: private access rights.
④ Definition of service: a series of services can be defined in the resource object, the services are divided into two types, namely a system service and a custom service, and a resource instance created based on the resource object can call the services to meet the requirements of clients.
System service: a startup service, a shutdown service, an initialization service, an instantiation service, a data writing service, a timer service, and the like of a resource.
Custom services: the developer can customize the service according to own business logic, and can also combine the system services to form more complex service meeting the requirements of clients.
⑤ Definition of additional attributes: the additional attributes are used for some description of the whole resource object, and include the following:
the creator: a person defined for a resource object.
Creating an organization: an organization that defines resource objects includes members of the organization that define resource objects.
Creation time: the time defined by this resource object.
A basic description of this resource object, corresponding to what device resources, primary functions, etc.
Example two
The embodiment provides a method for constructing an open resource management model, which comprises the following steps:
creating a resource class on a resource class management server and storing the resource class in a resource class database;
creating a resource instance on a resource instance management server and storing the resource instance in a resource instance database;
The resource instance running server instantiates, reads the resource class from the local resource class database, and instantiates the resource class;
The user sends out an instruction through the resource instance management server, the resource instance management server can call the method of the user, the corresponding resource instance is found out from the resource instance operation server, and the resource instance operation server responds.
The resource entity accesses the resource instance through the local basic routing component and points to the resource instance, and when the resource instance corresponding to the resource entity is not in the resource entity, the resource entity is prompted to regain the address of the resource instance operation server.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that modifications may be made to the technical solutions described in the foregoing embodiments, or equivalents may be substituted for some of the technical features thereof; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (5)

CN202110445020.XA2021-04-242021-04-24Open type resource management model and construction method thereofActiveCN113157267B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110445020.XACN113157267B (en)2021-04-242021-04-24Open type resource management model and construction method thereof

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110445020.XACN113157267B (en)2021-04-242021-04-24Open type resource management model and construction method thereof

Publications (2)

Publication NumberPublication Date
CN113157267A CN113157267A (en)2021-07-23
CN113157267Btrue CN113157267B (en)2024-06-21

Family

ID=76870163

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110445020.XAActiveCN113157267B (en)2021-04-242021-04-24Open type resource management model and construction method thereof

Country Status (1)

CountryLink
CN (1)CN113157267B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113626189B (en)*2021-08-032024-02-06优刻得科技股份有限公司Method, device and medium for constructing resource management model
CN116095120A (en)*2023-02-032023-05-09煤炭科学研究总院有限公司 Method and Gateway of Data Acquisition Based on EIP Object Model

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102354296A (en)*2011-11-102012-02-15摩卡软件(天津)有限公司Monitoring system and method capable of expanding monitoring resources
CN104144215A (en)*2014-07-242014-11-12西北工业大学 A method for constructing a ubiquitous device resource model of the Internet of Things

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7072807B2 (en)*2003-03-062006-07-04Microsoft CorporationArchitecture for distributed computing system and automated design, deployment, and management of distributed applications
CN100488263C (en)*2005-07-082009-05-13北京邮电大学Intelligent external system based on control and use separation and having business generation ability
GB2503464A (en)*2012-06-272014-01-01IbmAllocating nodes in a service definition graph to resources in a resource catalogue according to node specific rules
US10042619B2 (en)*2015-08-252018-08-07Cognizant Technology Solutions India Pvt. Ltd.System and method for efficiently managing enterprise architecture using resource description framework
US10545732B1 (en)*2016-12-062020-01-28Model N Inc.Model configuration using partial model data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102354296A (en)*2011-11-102012-02-15摩卡软件(天津)有限公司Monitoring system and method capable of expanding monitoring resources
CN104144215A (en)*2014-07-242014-11-12西北工业大学 A method for constructing a ubiquitous device resource model of the Internet of Things

Also Published As

Publication numberPublication date
CN113157267A (en)2021-07-23

Similar Documents

PublicationPublication DateTitle
Hammoudeh et al.A service-oriented approach for sensing in the Internet of Things: Intelligent transportation systems and privacy use cases
CN108809972B (en)Internet of things comprehensive experiment and application development platform based on open source ecosystem
CN102902536B (en)A kind of Internet of Things computer system
Hughes et al.LooCI: a loosely-coupled component infrastructure for networked embedded systems
Corredor et al.Knowledge-aware and service-oriented middleware for deploying pervasive services
CN113868081A (en)Edge computing frame for power grid internet of things management platform and working method thereof
Wang et al.An interoperable and flat Industrial Internet of Things architecture for low latency data collection in manufacturing systems
Karnouskos et al.The IMC-AESOP architecture for cloud-based industrial cyber-physical systems
CN112363718A (en)Industrial application integration system based on micro-service architecture
CN113157267B (en)Open type resource management model and construction method thereof
Kim et al.The intelligent IoT common service platform architecture and service implementation
KR20110106765A (en) Middleware Device for Ubiquitous System Using Distributed Operation Technique
Wang et al.A global generic architecture for the future Internet of Things
CN1333342C (en)Exchange infrastructure system and method
Cherrier et al.The “object-as-a-service” paradigm
Meshkova et al.Modeling the home environment using ontology with applications in software configuration management
US20200092126A1 (en)Building automation system providing for integration of subsystems
JP2003345427A (en)Field decentralization system
US20240146570A1 (en)Built-in cloud analytics support for smart home
CN101521592B (en)Method and device for establishing the SNMP agent of printer
Seilonen et al.Service-oriented application integration for condition-based maintenance with OPC unified architecture
Azzara et al.Architecture, functional requirements, and early implementation of an instrumentation grid for the IoT
Han et al.Context-aware service composition framework in web-enabled building automation system
HoranThe use of capability descriptions in a wireless transducer network
RachkidiModelling and placement optimization of compound services in a converged infrastructure of cloud computing and internet of things

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp