A resource sharing system and method for IoT management terminals based on self-balancing technology

By using the IoT management system with self-balancing technology in the power consumption information collection terminal, it distinguishes public and unique hardware resources, and manages resources through the hardware abstraction layer and driver layer, solving the problem of conflicting resources accessed by multiple business processes. The accuracy and timeliness of resource information are achieved.

CN114035771BActive Publication Date: 2024-09-17HENAN XJ INSTR +1
View PDF 23 Cites 0 Cited by

Patent Information

Application Number
CN202111359269.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-17
Publication Date
2024-09-17
Estimated Expiration
2041-11-17

AI Technical Summary

Technical Problem

The new generation of power consumption information collection terminals are prone to resource conflicts when multiple business process APPs access terminal resources at the same time, resulting in failure or confusion in obtaining resource information. Existing technology cannot effectively solve this problem.

Method used

Adopt an IoT management terminal resource sharing system based on self-balancing technology. Through layered architecture design, hardware resources are divided into public and unique resources. The hardware abstraction layer and driver layer are used to achieve reasonable allocation and call of resources to ensure that each business APPs can access resources sequentially or simultaneously.

Benefits of technology

It realizes the decoupling of business APPs and hardware resources, ensures the accuracy and timeliness of resource information, supports multiple business APPs to access terminal resources at the same time, avoids resource conflicts, and improves the coordination efficiency of resource management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114035771B
    Figure CN114035771B
Patent Text Reader

Abstract

The present invention relates to a terminal resource sharing system and method for managing Internet of Things based on self-balancing technology. The present invention divides hardware resources into public hardware devices and specific hardware resources. Public hardware devices are hardware decoupled through a hardware abstraction layer, and multiple business APPs can access hardware resources at the same time. Specific hardware resources are uniformly managed through a basic APP, and coordinated sorting of multiple business accesses is achieved according to business priority, allowed timeout time, channel idle interval, etc.; hardware device driver resources and data resources can be reasonably called. Basic APP and business APP are constructed to decouple business APP and hardware resources, and the interchangeability and versatility of business APP are better. It is ensured that each business APP can access terminal resources in an orderly or simultaneous manner, and the accuracy and timeliness of the acquired terminal resource information are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power consumption information collection terminals, and in particular to a resource sharing system and method for Internet of Things management terminals based on self-balancing technology. Background Art

[0002] The new generation of electricity consumption information collection terminals are designed based on a multi-APP and multi-business process architecture. Each business APP often needs to access the same physical resources and data resources. If the terminal resources are not reasonably managed and allocated, it is easy to cause resource access conflicts among the business APPs, failure to obtain resource information or confusion in the obtained resource information.

[0003] The existing terminals are designed based on a single-business APP process architecture. When each business module in the app needs to access system resources, the business process automatically allocates them reasonably according to the business priority. When multiple business process APPs access terminal resources at the same time, access conflicts cannot be avoided. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides a terminal resource sharing system and method for Internet of Things management based on self-balancing technology. When multiple business process APPs of a new generation of electricity consumption information collection terminal access terminal resources at the same time, it is guaranteed that each business APP can access terminal resources in an orderly or simultaneous manner, thereby ensuring the accuracy and timeliness of the acquired terminal resource information.

[0005] To achieve the above object, the present invention provides an IoT management terminal resource sharing system based on self-balancing technology, including an APP layer, a hardware abstraction layer, a data resource management layer and a driver layer;

[0006] The APP layer includes several basic APPs and several business APPs; the business APPs are used to execute business logic, access specific hardware resources through the basic APPs, and access common hardware resources through the hardware abstraction layer; each basic APP manages a type of specific hardware resources and accesses them through the hardware abstraction layer; the specific hardware resources have a single hardware access interface, and the common hardware resources have multiple hardware access interfaces;

[0007] The hardware abstraction layer controls the access timing and access rights of public hardware resources; the driver layer calls the drivers of various hardware resources to achieve access;

[0008] The data resource management layer is used to manage and store data.

[0009] Furthermore, each basic APP manages a class of unique hardware resources in a unified manner and builds access timing according to business priority, allowed timeout period, and channel idle interval.

[0010] Furthermore, the hardware abstraction layer receives public hardware resource call requests from various business APPs, builds an access sequence according to the priority, allowed timeout period, and channel idle interval, and performs serial calls.

[0011] Furthermore, the data resource management layer includes a public data management center and a private data management center; the public data management center supports business APPs to read and write data according to standard interfaces, and each business APP extends standard data storage identifiers according to its own business needs; the private data management center sets up private security checks and supports accessing data in custom formats according to private business needs.

[0012] Furthermore, when the basic APP needs to access public hardware resources, it makes an access request to the hardware abstraction layer; the hardware abstraction layer builds an access sequence according to the priority of each business APP and basic APP, the allowed timeout time and the channel idle interval, and accesses the public hardware resources by calling the drivers of various hardware resources through the driver layer.

[0013] On the other hand, a processing method of the IoT management terminal resource sharing system based on the self-balancing technology is provided, comprising:

[0014] When a business APP needs to call a specific hardware resource, it makes an access request to the corresponding basic APP. The basic APP builds an access sequence based on the priority, allowed timeout, and channel idle interval of each business APP's access request. The access sequence is sent to the hardware abstraction layer, and the hardware abstraction layer calls the drivers of various hardware resources through the driver layer to implement access.

[0015] When a business APP needs to call a common hardware resource, it makes an access request to the hardware abstraction layer; the hardware abstraction layer builds an access sequence according to the priority of each business APP, the allowed timeout period, and the channel idle interval, and accesses the common hardware resources by calling the drivers of various hardware resources through the driver layer.

[0016] Furthermore, when the basic APP needs to access public hardware resources, it makes an access request to the hardware abstraction layer; the hardware abstraction layer builds an access sequence according to the priority of each business APP and basic APP, the allowed timeout time and the channel idle interval, and accesses the public hardware resources by calling the drivers of various hardware resources through the driver layer.

[0017] The above technical solution of the present invention has the following beneficial technical effects:

[0018] (1) The present invention constructs basic APP and business APP, realizes the decoupling of business APP and hardware resources, and realizes the interchangeability and versatility of business APP. It ensures that each business APP can access terminal resources in an orderly or simultaneous manner, and ensures the accuracy and timeliness of the terminal resource information obtained.

[0019] (2) The present invention divides hardware resources into public hardware devices and unique hardware resources. Public hardware devices are hardware decoupled through the hardware abstraction layer, realizing simultaneous access to hardware resources by multiple business apps. Unique hardware resources are uniformly managed by the basic app, realizing coordinated sorting of multiple business accesses according to business priority, allowed timeout time, and channel idle interval. This realizes the reasonable calling of hardware device driver resources and data resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is a schematic diagram of the Internet of Things management terminal resource sharing system based on self-balancing technology. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0022] The multi-service IoT management terminal adopts a layered architecture design to isolate and decouple business processes from terminal resources, ensuring that hardware device driver resources and data resources can be reasonably called.

[0023] Provides a resource sharing system for IoT management terminals based on self-balancing technology, combined with Figure 1 , including APP layer, hardware abstraction layer, data resource management layer and driver layer.

[0024] For multi-service IoT management terminals, hardware device resources are divided into unique hardware device resources and public hardware device resources according to actual application business scenarios. The unique hardware resources have a single hardware access interface, and the public hardware resources have multiple hardware access interfaces.

[0025] The APP layer includes several basic APPs and several business APPs; the business APP is used to execute business logic, access unique hardware resources through the basic APP, and access common hardware resources through the hardware abstraction layer; each basic APP manages a type of unique hardware resources and accesses them through the hardware abstraction layer; the hardware abstraction layer controls the access timing and access rights of common hardware resources; access is achieved by calling the drivers of various types of hardware resources through the driver layer; the data resource management layer is used to manage and store data.

[0026] The definition of unique hardware equipment resources is mainly determined by the business scenarios implemented by the hardware equipment resources. The hardware equipment resources need to be called by multiple business apps, but because the equipment resources cannot be shared, they can only be called by a single business app, such as the HPLC communication module. The special application mechanism of the communication module determines that the hardware equipment resources can only be managed by a single serial call. On the basis of the business process app, a basic app for unique hardware resources is built. The basic app is specifically responsible for managing the operation of unique hardware resources. When each business app needs to access hardware equipment resources, it calls the basic app through the standard inter-process communication interface. The basic app manages and classifies the hardware equipment resources according to the access requests of each business process app, and uniformly calls the hardware equipment resources to ensure that there will be no conflicts in the access of each business app to hardware resources.

[0027] Public hardware device resources mainly include public access device resources such as buttons, LCD, and RTC. When multiple business process APPs access them at the same time, it is easy to cause the acquired device signals to be lost or signal errors. Therefore, through hardware decoupling, the hardware device hal layer is abstracted, and the business APP uniformly calls the hardware device through the hal library standard interface. The hal layer is responsible for different processing for different hardware resources, concurrent processing of event signals, and serial calls of public hardware resources.

[0028] Each basic APP manages a class of unique hardware resources in a unified manner and builds access timing according to business priority, allowed timeout period, and channel idle interval.

[0029] The hardware abstraction layer receives public hardware resource call requests from various business APPs, builds an access sequence according to the priority, allowed timeout time, and channel idle interval, and performs serial calls.

[0030] Furthermore, when the basic APP needs to access public hardware resources, it makes an access request to the hardware abstraction layer; the hardware abstraction layer builds an access sequence according to the priority of each business APP and basic APP, the allowed timeout time and the channel idle interval, and accesses the public hardware resources by calling the drivers of various hardware resources through the driver layer.

[0031] The data resource management layer includes a public data management center and a private data management center; the public data management center supports business APPs to read and write data according to standard interfaces, and each business APP extends the standard data storage identifier according to its own business needs; the private data management center sets up private security checks and supports accessing data in custom formats according to private business needs.

[0032] For public data resources, the terminal builds a standard data processing center to support business APPs to read and write data according to standard interfaces, without limiting storage content. Each business APP expands the data storage identifier according to its own business needs. The data processing center uniformly manages and maintains the data storage depth and storage cycle.

[0033] Private data resources: each business process APP builds its own data management center in the private partition, manages data resources independently, and ensures reasonable access and storage of private data resources.

[0034] On the other hand, a processing method of the IoT management terminal resource sharing system based on the self-balancing technology is provided, comprising:

[0035] When a business APP needs to call a specific hardware resource, it makes an access request to the corresponding basic APP. The basic APP builds an access sequence based on the priority, allowed timeout, and channel idle interval of each business APP's access request. The access sequence is sent to the hardware abstraction layer, and the hardware abstraction layer calls the drivers of various hardware resources through the driver layer to implement access.

[0036] When a business APP or basic APP needs to call a common hardware resource, it makes an access request to the hardware abstraction layer; the hardware abstraction layer builds an access sequence according to the priority, allowed timeout and channel idle interval of each business APP and basic APP, and accesses the common hardware resources by calling the drivers of various hardware resources through the driver layer.

[0037] In summary, the present invention relates to a system and method for sharing terminal resources of the Internet of Things management based on self-balancing technology. The present invention divides hardware resources into public hardware devices and unique hardware resources. Public hardware devices are hardware decoupled through the hardware abstraction layer, and multiple business APPs can access hardware resources at the same time. Unique hardware resources are uniformly managed by the basic APP, and coordinated sorting of multiple business accesses is achieved according to business priority, allowed timeout time, and channel idle interval. Hardware device driver resources and data resources can be reasonably called. Basic APP and business APP are constructed to decouple business APP and hardware resources, and the interchangeability and versatility of business APP are better. It is ensured that each business APP can access terminal resources in an orderly or simultaneous manner, and the accuracy and timeliness of the acquired terminal resource information are guaranteed.

[0038] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

Claims

1. A resource sharing system for IoT management terminals based on self-balancing technology, characterized in that: Including APP layer, hardware abstraction layer, data resource management layer and driver layer; The APP layer includes several basic APPs and several business APPs; the business APPs are used to execute business logic, access specific hardware resources through the basic APPs, and access common hardware resources through the hardware abstraction layer; Each basic APP manages a type of unique hardware resources and implements access through the hardware abstraction layer, including: building a basic APP for unique hardware resources based on the business process APP, the basic APP is specifically responsible for managing the operation of unique hardware resources, and when each business APP needs to access hardware device resources, it calls the basic APP through the standard inter-process communication interface, and the basic APP manages and classifies the hardware device resources according to the access requests of each business process APP, and uniformly calls the hardware device resources to ensure that the access of each business APP to the hardware resources will not conflict; further, when the basic APP needs to access public hardware resources, it makes an access request to the hardware abstraction layer; the hardware abstraction layer constructs an access sequence according to the priority, allowed timeout and channel idle interval of each business APP and the basic APP, and implements access to the public hardware resources by calling the drivers of various hardware resources through the driver layer; the unique hardware resources have a single hardware access interface, and the public hardware resources have multiple hardware access interfaces; The hardware abstraction layer controls the access timing and access rights of public hardware resources; the driver layer calls the drivers of various hardware resources to achieve access; The data resource management layer is used to manage and store data.

2. The IoT management terminal resource sharing system based on self-balancing technology according to claim 1 is characterized in that: Each basic APP manages a class of unique hardware resources in a unified manner and builds access timing according to business priority, allowed timeout period, and channel idle interval.

3. The IoT management terminal resource sharing system based on self-balancing technology according to claim 1 or 2, characterized in that: The hardware abstraction layer receives public hardware resource call requests from various business APPs, builds an access sequence according to the priority, allowed timeout time, and channel idle interval, and performs serial calls.

4. The IoT management terminal resource sharing system based on self-balancing technology according to claim 1 or 2, characterized in that: The data resource management layer includes a public data management center and a private data management center; the public data management center supports business APPs to read and write data according to standard interfaces, and each business APP extends the standard data storage identifier according to its own business needs; the private data management center sets up private security checks and supports accessing data in custom formats according to private business needs.

5. The IoT management terminal resource sharing system based on self-balancing technology according to claim 1 or 2, characterized in that: When the basic APP needs to access public hardware resources, it makes an access request to the hardware abstraction layer; the hardware abstraction layer builds an access sequence according to the priority of each business APP and basic APP, the allowed timeout time and the channel idle interval, and accesses public hardware resources by calling the drivers of various hardware resources through the driver layer.

6. A processing method for the Internet of Things management terminal resource sharing system based on the self-balancing technology according to any one of claims 1 to 5, characterized in that: include: When a business APP needs to call a specific hardware resource, it makes an access request to the corresponding basic APP; The basic APP builds an access sequence based on the access request of each business APP according to the priority, allowed timeout time and channel idle interval; according to the access sequence, it is sent to the hardware abstraction layer, and the hardware abstraction layer calls the drivers of various hardware resources through the driver layer to realize access; When a business APP needs to call a common hardware resource, it makes an access request to the hardware abstraction layer; the hardware abstraction layer builds an access sequence according to the priority of each business APP, the allowed timeout period, and the channel idle interval, and accesses the common hardware resources by calling the drivers of various hardware resources through the driver layer.

7. The processing method according to claim 6, characterized in that: When the basic APP needs to access public hardware resources, it makes an access request to the hardware abstraction layer; the hardware abstraction layer builds an access sequence according to the priority of each business APP and basic APP, the allowed timeout time and the channel idle interval, and accesses public hardware resources by calling the drivers of various hardware resources through the driver layer.

Citation Information

Patent Citations

  • Method, device and system thereof for calling remote hardware resources

    CN103036916A

  • Resource management system and method of multimode communication device

    CN103761151A

  • Hardware equipment management method and device

    CN106484523A

  • Resource reuse method, device and system and storage medium

    CN110532086A

  • Hardware resource management method, storage medium and terminal

    CN111124674A