Resource virtualization and resource scheduling architecture of a general resource management platform

By designing a resource virtualization and scheduling architecture on a general resource management platform and utilizing management agents and plug-in patterns, the problem of rapid combination and deployment of application services on heterogeneous platforms is solved. This achieves unified representation and automatic scheduling of heterogeneous resources, lowers the development threshold, and improves development efficiency and resource management flexibility.

CN117555689BActive Publication Date: 2026-06-30UNIV OF ELECTRONICS SCI & TECH OF CHINA

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
UNIV OF ELECTRONICS SCI & TECH OF CHINA
Filing Date
2023-11-24
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

On a general resource management platform, challenges such as the rapid combination and deployment of application services on heterogeneous platforms, the issue of interface uniformity when accessing heterogeneous applications, the mismatch between heterogeneous device resources and application service resources, and the high technical threshold for application service deployment and management lead to low development efficiency and inflexible resource allocation.

Method used

Design a general resource management platform architecture for resource virtualization and resource scheduling. By dynamically generating service modules through a management agent and adopting a plug-in service composition model, the virtualization and scheduling of device and application resources are realized. A unified resource representation model is constructed by utilizing device resource virtualization composition service, application resource virtualization composition service, and device/application resource scheduling composition service, and automatic scheduling is achieved through resource configuration inference service.

Benefits of technology

It enables rapid combination and deployment of application services on heterogeneous platforms, solves the problem of mismatch between heterogeneous resources, lowers the development threshold, improves development efficiency and resource management flexibility, and supports dynamic adjustment and interface consistency of heterogeneous applications on multiple platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117555689B_ABST
    Figure CN117555689B_ABST
Patent Text Reader

Abstract

This invention relates to the field of information technology and provides a resource virtualization and resource scheduling architecture for a general resource management platform. This application aims to solve the problems of difficult deployment and reuse of application services developed on a general resource management platform. The main solution includes a management agent, a device resource virtualization combination service, an application resource virtualization combination service, and a device / application resource scheduling combination service. The management agent is responsible for dynamically generating the above services and manipulating the resource tree to form a complete service resource virtualization framework process. During the initialization of the general resource management platform, it is responsible for loading the service virtualization configuration file and constructing the device resource tree and application resource tree on the platform according to the resource tree structure. Next, according to the service combination configuration, the source code and compilation scripts of each service module are recursively concatenated according to the service slot matching relationship to generate a single complete executable module, which is dynamically loaded into the general resource management platform for execution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information technology and provides a resource virtualization and resource scheduling architecture for a general resource management platform. Background Technology

[0002] With the successful development of the device resource virtualization architecture of the general resource management platform and the research on resource interoperability and related applications, the problems of inflexible application configuration and mismatch between device / application resources have gradually become prominent. These problems often require the adaptation and customization of various private data conversion services to achieve interoperability between devices and applications. However, these methods are often inefficient and non-reusable. Therefore, we urgently need to further study a service resource virtualization architecture based on service composition to support the rapid generation and deployment of applications on heterogeneous general resource management platforms. This includes researching the resource virtualization interface of the general resource management platform to achieve a unified structured representation of application resources; researching a resource scheduling service framework for matching device and application resources; and exploring human-computer interaction methods to develop an interface to assist relevant personnel in the rapid definition and integration of services and the above framework.

[0003] The current problems are as follows:

[0004] I. The rapid combination and deployment of application services on heterogeneous platforms has become a key factor limiting rapid and efficient engineering:

[0005] The field of decentralized distributed intelligent applications is constantly emerging. However, current intelligent application software lacks standard and flexible interface definitions. Deployment on heterogeneous platforms often requires a lot of manpower and time to customize software interfaces for each platform, constantly reducing the time that should be spent on the intelligent algorithm itself.

[0006] II. Ensuring interface uniformity when heterogeneous applications are integrated into a general resource management platform becomes a challenge for service management:

[0007] In multi-platform collaboration scenarios, the application services running on each platform need to be adjusted as needed according to dynamic task roles. This requires the application service logic to be able to switch and run dynamically and consistently on different platforms.

[0008] Third, the mismatch between heterogeneous device resources and application service resources becomes the final barrier to engineering implementation: On a single platform, there may be multiple devices, and different or the same type of heterogeneous data may come from different devices. These data have the following characteristics:

[0009] ① The inputs are scattered and have different formats. Before they can be used as inputs for applications, it may be necessary to perform transformation and aggregation operations on such data to meet the requirements for data uniformity.

[0010] ② The inconsistent frequency of data occurrence makes it difficult to align with service input, which further leads to the data not being ready when the service needs it. Before it can be used as input for the application, operations such as frequency alignment and missing data fitting may be required to meet its data integrity requirements.

[0011] ③ Devices and applications generally need to consume data first, and then generate new data as feedback for the next step of consumption. This architecture, in which both sides are Reactive Consumers, requires the middleware to be able to carry an active resource configuration inference service—that is, to actively discover the capabilities and needs of both devices / applications, and to match each other's needs through inference, thereby achieving automatic scheduling of data resources of both sides.

[0012] Fourth, the high technical barriers to application service deployment and management also pose a constraint:

[0013] The development of application service software does indeed have a high and unavoidable technical threshold, and the cost and threshold of service deployment and management are also constantly being raised due to the excessive involvement of developers. Summary of the Invention

[0014] This application aims to address the challenges of deploying and reusing application services on a general resource management platform. It designs a resource virtualization and resource scheduling architecture for a general resource management platform to support the construction and operation of data transformation services, and further solves the aforementioned problems by enabling service combination and reuse from a framework perspective.

[0015] To achieve the above objectives, the present invention employs the following technical means:

[0016] It includes a management agent, a device resource virtualization combination service, an application resource virtualization combination service, and a device / application resource scheduling combination service. The management agent is responsible for dynamically generating the above services and operating the resource tree to form a complete service resource virtualization framework process.

[0017] Furthermore, manage the agent:

[0018] During the initialization of the general resource management platform, it is responsible for loading the service virtualization configuration file and building the device resource tree and application resource tree on the platform according to the resource tree structure. Next, according to the service combination configuration, the source code and compilation script of the three major service modules (device resource virtualization combination service, application resource virtualization combination service, and device / application resource scheduling combination service) are recursively concatenated to generate a single complete executable module, which is dynamically loaded into the general resource management platform for execution.

[0019] The management agent loads service virtualization configuration files during the initialization of the general resource management platform. Based on the resource tree structure, it constructs device resource trees and application resource trees on the platform. Then, according to the service composition configuration, it recursively assembles the source code and compilation scripts of the three major service modules to generate a single, complete executable module, which is then dynamically loaded into the general resource management platform for execution. This process simplifies the development workflow and improves development efficiency.

[0020] Furthermore, this application proposes a service composition pattern based on a plug-in model. The framework includes service slots with specific functional interfaces. Each service module corresponds to a service slot in the combined service. Applications or services are inserted into slots according to their functions to complete the service composition. Whether a service module is inserted into a service slot depends on whether the service composition configuration includes that module. The combined services refer to device resource virtualization combined services, application resource virtualization combined services, and device / application resource scheduling combined services.

[0021] Furthermore, the implementation of service slots includes the following:

[0022] Design service slots: Design corresponding service slots based on the requirements of device resource virtualization combination services, application resource virtualization combination services, and device / application resource scheduling combination services;

[0023] Implement service slots: Implement the corresponding service slot modules based on the designed service slots;

[0024] Register service slots: Register the implemented service slot modules to the corresponding composite services;

[0025] Calling service slots: Where a service is needed, the corresponding service function is implemented by calling the registered service slot module.

[0026] Further device resource virtualization combination services serve as a bridge between devices and the general resource management platform. It communicates with devices through device handshake services and processes device data using data parsing and de-parsing services to convert them into unified representation resources. Unified representation resources include Attribute resources, DataTable resources, etc. Attribute resources are single-value data types used to store the latest situational data; DataTable resources store historical data from the device's original data and situational data.

[0027] The device resource virtualization and composition service abstracts and encapsulates device resources, eliminating heterogeneity and providing a unified representation of resources for a general resource management platform, thus realizing device resource virtualization. It communicates with devices through a device handshake service and processes device data using data parsing and de-parsing services, transforming the data into a unified representation of resources. This facilitates the organization and management of device data by the general resource management platform.

[0028] Further equipment resource virtualization combination services interact with the equipment resource tree for resource updates and notifications, including the following services:

[0029] Device handshake service: Responsible for communicating with the device port to enable device access and connection;

[0030] Data parsing and de-parsing service: responsible for segmenting, combining and transforming device data, parsing device data into a unified representation resource so that the general resource management platform can understand and process it;

[0031] Data / Resource Tree Mapping Service: Responsible for building a dynamic subscription notification pipeline for device resources, enabling dynamic updates and notifications of device resources and device resource trees. It can promptly reflect changes in device resources on the general resource management platform, so that the platform can process and respond accordingly.

[0032] Other services: Depending on the complexity of the configuration, simple applications deploy services such as data aggregation, frequency alignment, and device / application resource conversion directly within the device resource virtualization combination service to reduce the overhead of synchronization between resource trees.

[0033] In summary, the goal of the device resource virtualization composite service is to abstract and encapsulate device resources, eliminate heterogeneity, and provide a unified representation of resources for a general resource management platform, thereby achieving device resource virtualization. Furthermore, it can integrate other services into the device resource virtualization composite service based on actual needs and for simple application deployments, thereby improving application deployment efficiency.

[0034] The device handshake service, data parsing and de-parsing service, data / resource tree mapping service, and other services in the device resource virtualization composite service enable the construction of dynamic subscription notification pipelines for device resources. This allows for timely reflection of changes in device resources, facilitating corresponding processing and responses from the general resource management platform. These services enhance system flexibility and scalability, meeting diverse application scenarios and needs.

[0035] Furthermore, the application resource virtualization composition service serves as a channel for communication between applications and the general resource management platform. It encapsulates application business logic into a module and inserts it into the application resource virtualization composition service to reduce resource transfer overhead. Some existing applications can also be connected through the application handshake service.

[0036] Application resource virtualization composition service can encapsulate application business logic into a module and insert it into the service, thereby reducing resource transfer overhead and enabling efficient communication and data processing between applications and the general resource management platform. Some existing applications can still connect through the application handshake service.

[0037] Furthermore, the application resource virtualization composition service interacts with the application resource tree for resource updates and notifications, similar to the device resource virtualization composition service mentioned above, including:

[0038] The application resource virtualization and composition service interacts with the application resource tree for resource updates and notifications. Specific application resource virtualization and composition services include:

[0039] This includes the application handshake service, which is responsible for communication with applications to enable application access and connection.

[0040] Data parsing and de-parsing service: responsible for processing application data and parsing it into a unified representation of resources so that the general resource management platform can understand and process it;

[0041] Data / Resource Tree Mapping Service: Responsible for building a dynamic subscription notification pipeline for application resources, enabling dynamic updates and notifications of resources and application resource trees. It can promptly reflect changes in application resources on the general resource management platform, so that the platform can process and respond accordingly.

[0042] Data aggregation and frequency alignment services: Depending on the complexity of the configuration, simple applications deploy data aggregation, frequency alignment, and device / application resource conversion services directly within the application resource virtualization combination service to reduce the overhead of synchronization between resource trees.

[0043] Application business logic module: The specific business logic of the application runs inside or outside the general resource management platform. Set up application business logic slots, encapsulate the application business logic as an independent module and insert it into the corresponding business logic slot in the application resource virtualization combination service to reduce resource transfer overhead.

[0044] These steps are the core steps in implementing the application resource virtualization composition service. One of the service's key features is encapsulating application business logic into a module and inserting it into the application resource virtualization composition service. Through this process, efficient communication and data processing between the application and the general resource management platform can be achieved, improving application performance.

[0045] Furthermore, the device / application resource scheduling and composition service acts as a bridge between the application resource virtualization and composition service and the device resource virtualization and composition service. It enables interconnection between devices and applications—two proactive data consumers—through the resource configuration inference service. The resource configuration inference service periodically and proactively discovers the resource needs of devices and applications, then infers the appropriate resource configuration based on resource capability tag information. When the required resource does not directly exist, it invokes other services to generate the missing resource, and finally recommends it to the device / application, thus achieving interconnection between devices and applications.

[0046] Because the present invention employs the above-mentioned technical means, it has the following beneficial effects:

[0047] 1. By designing a resource virtualization and resource scheduling architecture for a general resource management platform, the problem of data barriers between heterogeneous devices and applications is solved, achieving the effect of rapid combination and deployment of application services on heterogeneous platforms.

[0048] 2. Through the designed process framework and resource configuration reasoning service, the effective scheduling and automatic configuration of device resources and application resources are realized, solving the problems of inflexible application configuration and mismatch between device / application resources.

[0049] 3. Through the designed data conversion service, operations such as conversion and aggregation of heterogeneous data from different devices and of different types were realized, solving the problem of scattered data input and inconsistent formats, and improving the quality of application services.

[0050] 4. By customizing different forms of resource configuration inference services, it supports the definition of data transformation services such as device resource conversion aggregation and frequency alignment in the process framework. This solves the problem that devices and applications need to consume data first and then generate some new data as feedback for the next step of consumption, thus realizing the automatic scheduling of device / application resources.

[0051] 5. By designing a data model centered on a resource tree, a unified data representation model for heterogeneous applications is constructed. Combined with platform adaptive combination and compilation technology, the consistency of interfaces of heterogeneous applications on a general resource management platform is achieved, and the application services running on different platforms can be switched dynamically and consistently. This solves the problem that application services running on each platform need to be adjusted as needed according to dynamic task roles in multi-platform collaboration scenarios.

[0052] 6. Eliminating the mismatch between data sources and application needs of heterogeneous devices through data conversion services often requires significant manpower and time and lacks universality. A service composition model based on a plug-in approach solves the aforementioned challenges in application service deployment and reuse, meeting the need for rapid deployment and reuse of heterogeneous devices / applications on a general resource management platform.

[0053] 7. By managing the resource trees of devices and applications separately through virtualization and combined services, the heterogeneity of data processing flows for different applications is resolved. Furthermore, by enabling service combination and reuse, the problems of inflexible application configuration and mismatch between device and application resources are further addressed efficiently. Attached Figure Description

[0054] Figure 1 This is a block diagram of the overall structure of the present invention;

[0055] Figure 2 A simplified diagram of a service combination embodiment;

[0056] Figure 3 This is a schematic diagram of one embodiment;

[0057] Figure 4 This is a diagram of a UI tool;

[0058] Figure 5 , 6 Figures 7 and 8 are schematic diagrams illustrating the deployment of three different implementation methods. Detailed Implementation

[0059] The embodiments of the present invention will be described in detail below. Although the present invention will be described and illustrated in conjunction with some specific embodiments, it should be noted that the present invention is not limited to these embodiments. On the contrary, any modifications or equivalent substitutions made to the present invention should be covered within the scope of the claims of the present invention.

[0060] Furthermore, to better illustrate the present invention, numerous specific details are set forth in the following detailed embodiments. Those skilled in the art will understand that the present invention can be practiced without these specific details.

[0061] This application aims to address the challenges of deploying and reusing application services developed on general resource management platforms. Specifically, the main technical problems encountered include:

[0062] 1. Heterogeneous problem in application service deployment: Due to the diversity of devices and application resources, such as the virtualization of device resources which generally parses the numerical content such as byte streams or signals given by the device hardware ports into device resources, while the virtualization of application resources is more about mounting the input and output of application software interfaces, the application service deployment process faces heterogeneous problems.

[0063] 2. Difficulty in reusing data conversion services: In order to eliminate the mismatch between data sources from heterogeneous devices and the needs of heterogeneous applications, the corresponding data conversion services often require a lot of manpower and time, and are completely lacking in universality. Therefore, application services face the problem of difficult deployment and reuse.

[0064] 3. Key Technologies for Service Composition and Compilation: To eliminate the mismatch between device and application resources, a service composition and compilation technology needs to be designed and implemented to facilitate the rapid composition and deployment of application services. Furthermore, an application-oriented resource virtualization method needs to be researched, a unified data representation model for heterogeneous applications needs to be constructed, and platform-adaptive composition and compilation technology needs to be combined to achieve interface consistency for heterogeneous applications on a general resource management platform.

[0065] Therefore, the main technical problems of this application can be summarized as how to solve the heterogeneity of application service deployment, the difficulty of data transformation service reuse, and the key technologies of service composition compilation.

[0066] The difficulties in deploying and reusing application services developed on general resource management platforms are mainly due to the mismatch between data sources from heterogeneous devices and the needs of heterogeneous applications. Data conversion services designed to eliminate these mismatches often require significant manpower and time and lack universality. Therefore, we need to design an architecture to support the construction and operation of data conversion services, and to further efficiently resolve the aforementioned mismatch issues by enabling service composition and reuse within the framework.

[0067] Application deployments exhibit both heterogeneous and homogeneous components. The heterogeneity stems from the diversity of device / application resource formats; for example, device resource virtualization typically parses numerical data such as byte streams or signals from device hardware ports into device resources, while application resource virtualization primarily involves mounting the input and output of application software interfaces onto the resource tree. Therefore, we need to implement two separate resource virtualization services for devices and applications, managing their respective resource trees separately, such as... Figure 5 As shown in the example.

[0068] Homogeneity stems from the series of processes involved in handling heterogeneous data, such as data aggregation, format conversion, and frequency alignment. These processes are essentially standardized procedures for connecting heterogeneous devices and applications. While these processes can be simplified or deepened for different applications, their basic framework and interfaces remain constant. Based on this, this application proposes a service composition model based on a plug-in architecture. The core of this architecture is a service composition framework that extends from device resource access to device / application resource scheduling and then to application resource access. This framework contains service slots for specific functional interfaces; applications or services are inserted into these slots according to their functions to complete the service composition. Building upon this architecture, this application breaks through software composition compilation technology and, with the aid of a human-computer interaction interface, automates and dynamically constructs the framework, meeting the needs of rapid deployment and reuse of heterogeneous devices / applications on a general resource management platform.

[0069] In summary, this study proposes the following: Figure 1The general resource management platform service resource virtualization architecture is shown.

[0070] As shown in the figure, the general resource management platform service resource virtualization architecture mainly consists of four parts:

[0071] 1. Manage Agents;

[0072] 2. Equipment resource virtualization combination service;

[0073] 3. Application resource virtualization combination services;

[0074] 4. Equipment / application resource scheduling and combination service.

[0075] The management agent is responsible for dynamically generating three combined services and manipulating the resource tree to form a complete service resource virtualization framework process. In addition, this architecture requires a general resource management platform with a user-friendly UI tool for resource virtualization to generate configuration files that drive the execution of the framework process.

[0076] Therefore, this invention provides a resource virtualization and resource scheduling architecture for a general resource management platform, including a management agent, a device resource virtualization combination service, an application resource virtualization combination service, and a device / application resource scheduling combination service. The management agent is responsible for dynamically generating the above services and operating the resource tree to form a complete service resource virtualization framework process.

[0077] When the general resource management platform is initialized, the management agent is responsible for loading the service virtualization configuration file and building the device resource tree and application resource tree on the platform according to the resource tree structure. Next, according to the service composition configuration, the source code and compilation script of each service module are recursively spliced ​​together according to the matching relationship of the service slots to generate a single complete executable module, which is dynamically loaded into the general resource management platform for execution.

[0078] As one example, the management agent includes:

[0079] Service configuration and dynamic loading module: responsible for loading service virtualization configuration files and providing service composition configuration information;

[0080] Adaptive service composition and compilation module: Based on the service composition configuration, the source code and compilation scripts of each service module are recursively concatenated according to the matching relationship of the service slots to generate a single complete executable module, which is dynamically loaded into the general resource management platform for execution.

[0081] Device / Application Resource Tree Construction Module: Based on the resource tree structure, the module constructs the device resource tree and application resource tree on the platform respectively.

[0082] Service operation status monitoring module: Monitors running services to control the lifecycle of each combined service.

[0083] Furthermore, to facilitate a better understanding of the technical concept of this invention by those skilled in the art, see [link to relevant documentation]. Figure 2 The diagram illustrates a simplified implementation process where, based on the service composition configuration, the source code and compilation scripts of each service module are recursively concatenated according to the matching relationship of service slots to generate a single, complete executable module. Each service module in the diagram corresponds to a slot in each composite service within the architecture. In other words, whether a service is inserted into a slot depends on whether the service composition configuration includes that service module. The composite services in the architecture are actually the executable programs compiled in this step. After the composite services begin operating, the management agent needs to monitor the running services to control the lifecycle of each composite service. Examples of service modules in the diagram include data reverse parsing service modules, data / resource tree mapping service modules, application handshake service modules, and data aggregation frequency alignment service modules.

[0084] Furthermore, the implementation of service slots includes the following:

[0085] Design service slots: Based on the requirements of device resource virtualization combination services, application resource virtualization combination services, and device / application resource scheduling combination services, design corresponding service slots.

[0086] In the device resource virtualization combination service, design service slots such as device handshake service slot, data parsing and de-parsing service slot, data / resource tree mapping service slot, and data aggregation frequency alignment;

[0087] In the application resource virtualization combination service, service slots such as application business logic slots, data parsing and de-parsing service slots, data / resource tree mapping service slots, application handshake service slots, and data aggregation frequency alignment are designed.

[0088] In the device / application resource scheduling and combination service, service slots such as resource configuration inference service slot, data dynamic subscription generation service slot, and data aggregation frequency alignment are designed.

[0089] Implement service slots: Based on the designed service slots, implement the corresponding service slot modules.

[0090] For example, in the device resource virtualization combination service, service slot modules such as device handshake service slot module, data parsing and de-parsing service slot module, data / resource tree mapping service slot module, and data aggregation frequency alignment are implemented.

[0091] In the application resource virtualization combination service, service slot modules such as application business logic slot module, data parsing and de-parsing service slot module, data / resource tree mapping service slot module, application handshake service slot module, and data aggregation frequency alignment are implemented.

[0092] In the device / application resource scheduling and combination service, service slot modules such as resource configuration inference service slot module, data dynamic subscription generation service slot module, and data aggregation frequency alignment are designed.

[0093] Register service slots: Register the implemented service slots to the corresponding composite services. For example, register the device handshake service slot, data parsing and de-parsing service slot, and data / resource tree mapping service slot to the device resource virtualization composite service.

[0094] Invoking service slots: Where a service is needed, the corresponding service function is implemented by invoking the registered service slots. For example, in the device resource virtualization composite service, the device handshake service slot, data parsing and de-parsing service slot, and data / resource tree mapping service slot are invoked to implement the functions related to device resource virtualization.

[0095] The present invention, by using a service slot concept, has the following advantages over the prior art:

[0096] By using service slots, a combined service model for device resource virtualization and application resource virtualization can be achieved. For example, the device resource virtualization service needs to include device handshake services, data parsing and de-parsing services, and data / resource tree mapping services; the application resource virtualization service, on the other hand, encapsulates the specific business logic of the application into a module and inserts it into the application resource virtualization service to reduce resource transfer overhead.

[0097] The use of service slots also enables the implementation of resource scheduling and composition services. These services periodically and proactively discover the resource needs of devices and applications, deduce the appropriate resource configuration, and, when the required resources do not directly exist, invoke other services to generate the missing resources, finally recommending them to the devices / applications.

[0098] Overall, the use of service slots improves the reusability and scalability of application services, simplifies the process of combining and deploying application services, enables different types of applications to be easily integrated into the system, and also provides the system with flexibility and scalability.

[0099] As an example, the Device Resource Virtualization Combination Service acts as a bridge between devices and a general resource management platform. It communicates with devices through a device handshake service and processes device data using data parsing and de-parsing services to convert them into general resources.

[0100] The device resource virtualization combination service interacts with the device resource tree for resource updates and notifications, including the following services:

[0101] Device handshake service: Responsible for communicating with the device port to enable device access and connection;

[0102] The data parsing and de-parsing service is responsible for segmenting, combining, and transforming device data, parsing the device data into a unified representation resource so that the general resource management platform can understand and process it;

[0103] Data / Resource Tree Mapping Service: Responsible for building a dynamic subscription notification pipeline for device resources, enabling dynamic updates and notifications of device resources. It can promptly reflect changes in device resources on the general resource management platform, allowing the platform to process and respond accordingly.

[0104] Other services: Depending on the complexity of the configuration, simple applications deploy services such as data aggregation, frequency alignment, and device / application resource conversion directly within the device resource virtualization combination service to reduce the overhead of synchronization between resource trees.

[0105] In summary, the goal of the device resource virtualization composite service is to abstract and encapsulate device resources, eliminating heterogeneity and providing a unified, universal device resource for a general resource management platform, thereby achieving device resource virtualization. Furthermore, it can integrate other services into the device resource virtualization composite service based on actual needs and for simple application deployments, thereby improving application deployment efficiency.

[0106] As an example, the application resource virtualization composition service serves as a channel for communication between applications and the general resource management platform. It encapsulates application business logic into a module and inserts it into the application resource virtualization composition service to reduce resource transfer overhead. Some existing applications can still connect through the application handshake service.

[0107] The application resource virtualization assembly service interacts with the application resource tree for resource updates and notifications. Similar to the device resource virtualization assembly service mentioned above, it includes services such as application handshake service, data parsing and de-parsing service, data / resource tree mapping service, and data aggregation frequency alignment, which will not be elaborated further here. In addition, the specific business logic of the application does not necessarily have to operate outside the general resource management platform. Adding application business logic slots and encapsulating the application business logic as an independent module inserted into the application resource virtualization assembly service reduces resource transfer overhead.

[0108] These steps are the core steps in implementing the application resource virtualization composition service. One of the service's key features is encapsulating application business logic into a module and inserting it into the application resource virtualization composition service. Through this process, efficient communication and data processing between the application and the general resource management platform can be achieved, improving application performance.

[0109] As one example, the device / application resource scheduling and composition service acts as a bridge between the application resource virtualization and composition service and the device resource virtualization and composition service. It connects the device and application—two proactive data consumers—through the resource configuration inference service. The resource configuration inference service periodically and proactively discovers the resource needs of devices and applications, then infers a suitable resource configuration based on resource capability tag information. When the required resource does not directly exist, it invokes other services to generate the missing resource, and finally recommends it to the device / application.

[0110] To facilitate a better understanding of the technical solution of this invention by those skilled in the art, the following further explanation is provided regarding the device / application resource scheduling and combination service:

[0111] The resource scheduling service between devices / applications acts as a bridge between the two aforementioned resource virtualization combination services. To achieve reusability, applications are unaware of the device capabilities of the general resource management platform beforehand, instead only submitting requests to the platform. Conversely, devices are also unconcerned about the capabilities of the general resource management platform, faithfully generating or consuming the data they need. Therefore, to enable these two proactive data consumers to interconnect, the resource scheduling combination service requires a resource configuration inference service. This service periodically and proactively discovers the resource needs of devices and applications, then infers the appropriate resource configuration based on information such as resource capability tags. It may even invoke other services to generate the missing resources when they do not directly exist, finally recommending them to the devices / applications. The general process of this service is as follows: Figure 3 As shown, Figure 3 This describes a scenario where application resource requirements and device resource capabilities are completely mismatched. The resource configuration inference service discovers, based on the periodic resource discovery service provided by the general resource management platform, that the "fire sensor" resource required by the application does not exist in the actual device resource tree. However, based on certain inference logic or rules, it finds that the current thermometer and infrared camera device resources can be converted into fire prediction information by the "fire prediction service module". Therefore, the resource configuration inference service dynamically constructs a subscription notification pipeline from the device resources to the "prediction" service module and updates its output to the application resource tree to solve the application requirements.

[0112] Based on the above technical solutions, as an embodiment of the present invention, a general resource management platform resource virtualization human-computer interaction UI tool can also be configured.

[0113] Based on the design of the above framework modules, we can derive the configuration requirements for the device and application virtualization framework and formulate the functional design of the UI tool. The specific functional design is yet to be determined, but this application has completed the setting of some interface prototypes and key operation processes:

[0114] First, UI tools need to have at least two resource trees, such as Figure 4 As shown, the left side is the device resource tree, which can be derived from the device resource description file or read directly from the general resource management platform in real time. The configuration of the device resource virtualization service combination module can be completed in the resource tree on the left. The right side is the application resource tree, where the configuration of the application resource virtualization service combination module can be completed.

[0115] Users should first configure the device and application separately, and then configure the device / application data transformation and combination service.

[0116] However, it's important to note that the user configuration process isn't necessarily fixed. Users can add or remove service combinations based on their actual application needs. For example... Figure 5 , 6 The three deployment scenarios are shown in Figures 7 and 8.

[0117] In summary, the rapid combination and deployment of application services on heterogeneous platforms has become a key issue limiting rapid and efficient engineering. This invention discloses a breakthrough in key technologies for service composition and compilation, proposes a service software composition and compilation interface model, and has the ability to adaptively combine, compile, and deploy service software source code on heterogeneous platforms.

[0118] In summary, ensuring interface consistency for heterogeneous applications accessing a general resource management platform is a challenge for service management. This invention proposes an application-oriented resource virtualization method. Based on a standard data model centered on a resource tree, it constructs a unified data representation model for heterogeneous applications and combines it with platform adaptive compilation technology to achieve interface consistency for heterogeneous applications on the general resource management platform.

[0119] In summary, the mismatch between heterogeneous device resources and application service resources has become the final barrier to engineering implementation. To address this issue, this invention proposes a resource scheduling middleware. This middleware supports customized resource configuration inference services of different forms, as well as the definition of data conversion services such as device resource conversion aggregation and frequency alignment within the process framework. Combined with the aforementioned adaptive compilation and resource virtualization technologies, it paves a practical and feasible engineering path for developers.

[0120] In summary, the high technical threshold for application service deployment and management has become a limiting factor. To reduce this threshold, this invention develops a human-computer interaction interface (interface) to assist relevant personnel in completing the visual configuration and deployment of application services.

Claims

1. A resource virtualization and resource scheduling architecture for a general resource management platform, characterized in that, It includes a management agent and various combined service modules. The various service modules include device resource virtualization combined service, application resource virtualization combined service, and device / application resource scheduling combined service. The management agent is responsible for dynamically generating the above combined service modules and operating the resource tree to form a complete service resource virtualization framework process. Management Agent: During the initialization of the general resource management platform, it is responsible for loading the service virtualization configuration file and building the device resource tree and application resource tree on the platform according to the resource tree structure. Next, according to the service composition configuration, the source code and compilation script of each combined service module are recursively spliced ​​together according to the matching relationship of the service slots to generate a single complete executable module, which is dynamically loaded into the general resource management platform for execution. A service composition pattern based on the plug-in model is proposed. The framework has service slots for specific functional interfaces. Each service module corresponds to a service slot in each combined service. Applications or service modules are inserted into slots according to their functions to complete the service composition. Whether a service module is inserted into a service slot depends on whether the service composition configuration includes that service module. The combined services refer to device resource virtualization combined service, application resource virtualization combined service, and device / application resource scheduling combined service. The device / application resource scheduling and combination service is a bridge between the application resource virtualization combination service and the device resource virtualization combination service. It enables the device and application, two proactive consumers, to interconnect through the resource configuration inference service. The resource configuration inference service periodically and proactively discovers the resource needs of devices and applications, and then infers the reasonable resource configuration at present based on the resource capability tag information. When the required resource does not exist directly, it calls other services to generate the missing resource, and finally recommends it to the device / application to realize the interconnection between the device and the application. The Device Resource Virtualization Combination Service serves as a bridge for devices to access the general resource management platform. It communicates with devices through the device handshake service and processes device data using data parsing and de-parsing services to convert it into unified representation resources. Unified representation resources include Attribute resources and DataTable resources. Attribute resources are single-value data types used to store the latest situational data; DataTable resources store historical data from the device's original data and situational data. Application resource virtualization combination service is the channel for applications to communicate with the general resource management platform. It encapsulates the application business logic into a module and inserts it into the application resource virtualization combination service to reduce resource transfer overhead. Some existing applications can also be connected through the application handshake service.

2. The resource virtualization and resource scheduling architecture of a general resource management platform according to claim 1, characterized in that: The implementation of service slots includes the following: Design service slots: Design corresponding service slots based on the requirements of device resource virtualization combination services, application resource virtualization combination services, and device / application resource scheduling combination services; Implement service slots: Implement the corresponding service slot modules based on the designed service slots; Register service slots: Register the implemented service slot modules to the corresponding composite services; Calling service slots: Where a service is needed, the corresponding service function is implemented by calling the registered service slot module.

3. The resource virtualization and resource scheduling architecture of a general resource management platform according to claim 1, characterized in that: The device resource virtualization combination service interacts with the device resource tree for resource updates and notifications, including the following services: Device handshake service: Responsible for communicating with the device port to enable device access and connection; The data parsing and de-parsing service is responsible for segmenting, combining, and transforming device data, parsing the device data into a unified representation resource so that the general resource management platform can understand and process it; Data / Resource Tree Mapping Service: Responsible for building a dynamic subscription notification pipeline for device resources, realizing dynamic updates and notifications of resources and device resource trees. It can reflect changes in device resources to the general resource management platform in a timely manner, so that the platform can process and respond accordingly. Other services: Depending on the complexity of the configuration, simple applications deploy services such as data aggregation, frequency alignment, and device / application resource transformation directly within the device resource virtualization composite service to reduce the overhead of synchronization between resource trees.

4. The resource virtualization and resource scheduling architecture of a general resource management platform according to claim 3, characterized in that: The application resource virtualization composition service interacts with the application resource tree for resource updates and notifications, including: Application resource virtualization and composition services interact with the application resource tree for resource updates and notifications. Specific application resource virtualization and composition services include: This includes the application handshake service, which is responsible for communication with applications to enable application access and connection. Data parsing and de-parsing service: responsible for processing application data and parsing it into a unified representation of resources so that the general resource management platform can understand and process it; Data / Resource Tree Mapping Service: Responsible for building a dynamic subscription notification pipeline for application resources, enabling dynamic updates and notifications of resources and application resource trees. It can promptly reflect changes in application resources on the general resource management platform, so that the platform can process and respond accordingly. Data aggregation and frequency alignment service: Depending on the complexity of the configuration, simple applications deploy data aggregation, frequency alignment, and device / application resource conversion services directly within the application resource virtualization combination service to reduce the overhead of synchronization between resource trees; Application business logic module: The specific business logic of the application runs inside or outside the general resource management platform. Set up application business logic slots, encapsulate the application business logic as an independent module and insert it into the corresponding business logic slot in the application resource virtualization combination service to reduce resource transfer overhead.