Internet of things operating system software and hardware integrated application expansion device and application thereof
By encapsulating the board in the IoT operating system, the integrated software and hardware expansion of the IoT operating system is realized, which solves the problem of software and hardware separation in the existing technology, realizes plug-and-play hardware resource utilization and rapid installation, and adapts to the needs of edge computing.
Patent Information
- Application Number
- CN202310045199.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-30
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-01-30
AI Technical Summary
Existing IoT operating systems handle software and hardware separately, which makes it impossible to achieve integrated application expansion. In particular, software cannot be installed under high security conditions, hardware resources are underutilized, and there is a large gap between the application environment and the business functions of end users.
The application and computing resources of the Internet of Things (IoT) operating system are packaged on a single board. The board is inserted into the host through a hardware interface, and the application management module loads the software package, generates a device ID, and calls the board's computing module to process data, achieving plug-and-play functionality.
It achieves integrated hardware and software expansion of the IoT operating system, reduces hardware procurement costs, adapts to rapid installation and application in edge computing scenarios, and improves the utilization efficiency of hardware resources.
Smart Images

Figure CN116821043B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of Internet of Things (IoT) technology, and in particular to an integrated hardware and software application extension device for an IoT operating system, as well as its installation method, application method, and control system. Background Technology
[0002] An IoT operating system involves the installation and use of both hardware and software. Current IoT operating system software applications primarily adopt the following approaches:
[0003] Option 1: Install software applications and hardware separately. Install certain hardware separately on the computer server, and then install the application software accordingly.
[0004] Option 2: The hardware is used as a dedicated storage medium to store software data. It is installed on the server, and the system installs the software. The hardware itself does not provide computing power, such as storage devices like USB flash drives and external hard drives.
[0005] Option 3: Chip-level processing solutions, such as SoC and SiP, are implemented by chip hardware. The chip itself has hardware resources and computing power, and also includes some software functions.
[0006] The above solution has the following technical problems:
[0007] Regarding Solution 1, existing technical implementations generally handle software and hardware separately, with a few examples of integrated software and hardware implementations. However, software cannot be installed under high-security restrictions (e.g., no network access or USB flash drive insertion). Managing software and hardware versions is also quite complicated, and there is no dedicated implementation solution for IoT operating systems.
[0008] For Option 2, the hardware itself is not used as part of the computing resources used by the application, but only as a storage medium. After the application is installed, the hardware itself is no longer needed.
[0009] For Scheme 3, the software functionality is implemented at the chip level, which is very different from the business function units used by IoT end users. In addition, the application's operating environment is also basically inside the chip, and the hardware resources that can be utilized are limited to the chip.
[0010] Therefore, the above solution cannot realize the function of expanding application software and hardware by implementing the IoT operating system on a single board. Summary of the Invention
[0011] To address the aforementioned issues, this application proposes an integrated hardware and software application extension device for an Internet of Things (IoT) operating system, along with its installation method, application method, and control system.
[0012] This application proposes, in one aspect, an integrated hardware and software application extension device for an Internet of Things (IoT) operating system, comprising:
[0013] The board has a pre-installed IoT software package.
[0014] A hardware interface, located on the board, is used for reading and writing data files;
[0015] The application management module is deployed on the IoT operating system of the host and is used to load the IoT software package;
[0016] The board reads the IoT software package into the IoT operating system through the hardware interface and generates corresponding software application instances and device IDs.
[0017] When the software application instance is running, it calls the computing module in the board to perform data calculation and processing through the device ID, and responds to the software application instance.
[0018] As an optional implementation of this application, the IoT software package may optionally include:
[0019] Application packages to be read and loaded into the IoT operating system;
[0020] The driver package to be read and loaded into the host;
[0021] The driver includes a communication driver and a computing driver.
[0022] As an optional implementation of this application, it may also include:
[0023] A storage module, deployed on the board, is used to store the application package and the driver package.
[0024] As an optional implementation of this application, it may also include:
[0025] At least one computing module is deployed on the board for performing data computing and processing.
[0026] In another aspect, this application proposes an installation method for the IoT operating system hardware-software integrated application extension device, comprising the following steps:
[0027] Insert the pre-installed application and driver packages into the host computer via the hardware interface;
[0028] Identify the storage module on the board and mark the first device ID of the storage module on the host;
[0029] The host reads the driver package of the storage module, forms a driver instance, and marks the second device ID of the computing module in the board on the host.
[0030] The host reads the application package from the storage module and forms an application instance;
[0031] Installation complete. Wait for the application to run.
[0032] As an optional implementation of this application, optionally, the host reads the driver package of the storage module, forms a driver instance, and marks the second device ID of the computing module in the board on the host, including:
[0033] The driver package of the storage module is read through the application management module of the IoT operating system;
[0034] The installation is performed, installing the corresponding driver package file onto the host to create a driver instance;
[0035] After the driver installation is completed, the host loads the driver program, sends the corresponding hardware driver information to the IoT operating system, and converts standard operating system instructions into computing module-specific commands.
[0036] The IoT operating system identifies computing modules through drivers, and marks the identified computing modules on the IoT operating system and generates a second device ID.
[0037] As an optional implementation of this application, optionally, the host reads the application package from the storage module to form an application instance, including:
[0038] The application package of the storage module is read through the application management module of the Internet of Things operating system;
[0039] The installation process is executed, installing the corresponding application package file into the runtime environment of the IoT operating system to form an application instance;
[0040] Waiting for the application to execute the task.
[0041] In another aspect, this application also proposes an application method for the aforementioned IoT operating system hardware-software integrated application extension device, comprising the following steps:
[0042] Define the application task;
[0043] Based on the application task, the application instance calls the host to find the second device ID and sends a computing task request to the driver instance.
[0044] The driver instance receives the computing task request, calls the computing module in the board to perform data computing processing, and returns the computing results to the application instance;
[0045] The application instance receives the calculation results and completes the task processing.
[0046] In another aspect, this application also proposes a control system, comprising:
[0047] processor;
[0048] Memory used to store processor-executable instructions;
[0049] The processor is configured to implement the application method when executing the executable instructions.
[0050] Technical effects of the present invention:
[0051] This application, based on an IoT operating system, encapsulates the IoT operating system's applications and the required computing resources onto a single hardware board. This single board enables simultaneous expansion of application software and hardware capabilities, achieving plug-and-play functionality. Applications can utilize the computing resources on the board to perform relevant functions. In many IoT edge computing scenarios, when business needs are uncertain in the early stages, hardware procurement costs can be relatively low. When specific hardware computing resources and applications are required, they can be quickly and seamlessly integrated for implementation.
[0052] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0053] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.
[0054] Figure 1 The diagram shown is a schematic of an application system for the IoT operating system hardware-software integrated application extension device of the present invention.
[0055] Figure 2 The diagram shows the installation process of the IoT operating system hardware and software integrated application extension device of the present invention.
[0056] Figure 3 The diagram shown is a schematic of the application process of the IoT operating system hardware-software integrated application extension device of the present invention.
[0057] Figure 4 The diagram illustrates the scheduling of a host application calling a computing module to execute a computing task, as described in this invention. Detailed Implementation
[0058] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.
[0059] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.
[0060] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.
[0061] Terminology Explanation:
[0062] SoC (System on Chip): System-on-a-chip, also known as a system-on-a-chip, means that it is a product, an integrated circuit with a specific purpose, which contains a complete system and all the embedded software.
[0063] SIP (System In a Package): System-in-package is a packaging solution that integrates multiple functional wafers, including processors, memory, and other functional wafers, into a single package based on factors such as application scenarios and the number of layers in the packaging substrate, thereby achieving a basic and complete functional package.
[0064] Host: In this patent, host refers to a general computer server / edge server, which has the corresponding computer operating system installed, such as Linux.
[0065] Board: This patent refers to computer devices with computing modules, storage modules, motherboards, standard computer physical interfaces and related computer expansion cards, mainly for IoT operating system customized computer devices;
[0066] Instruction set: A set of instructions used by a computer CPU to calculate and control the computer system. Each new type of CPU is designed with a specific instruction set that works in conjunction with other hardware circuits. Common examples include the Complex Instruction Set Computing (CISC) architecture of x86 and the Reduced Instruction Set Computing (RISC) architecture of ARM.
[0067] This application encapsulates the application of the Internet of Things operating system and the required computing resources on a single hardware board, enabling the simultaneous expansion of application software and hardware capabilities with a single board.
[0068] Example 1
[0069] like Figure 1 As shown, this application proposes, in one aspect, an integrated hardware and software application extension device for an Internet of Things (IoT) operating system, comprising:
[0070] The board has a pre-installed IoT software package. The board mainly carries two hardware components: a computing module and a storage module. The computing module is a hardware resource that can perform data calculations using computing chips, etc. The storage module mainly stores drivers and application software packages, providing applications and drivers for the host.
[0071] The hardware interface, located on the board, is used for reading and writing data files; user data reading and writing can be via a USB interface or other types of interfaces; the board can be plugged into the host's interface via the hardware interface.
[0072] An application management module is deployed on the IoT operating system of the host and is used to load the IoT software package. The IoT operating system has an application management module deployed on it, which can be operated to execute running instructions on the application. Depending on the type of application software package loaded, several application packages with different application purposes can be loaded.
[0073] The board reads the IoT software package into the IoT operating system through the hardware interface and generates corresponding software application instances and device IDs.
[0074] When the software application instance is running, it calls the computing module in the board to perform data calculation and processing through the device ID, and responds to the software application instance.
[0075] In this embodiment, the board mainly loads the hardware for applications and drivers, including:
[0076] Hardware computing module (implementing hardware computing resources including but not limited to SoC, SiP packaged AI chips, GPUs, etc.);
[0077] The storage module contains two pre-installed applications based on the IoT operating system (one for the x86 platform and one for the arm platform) and two drivers required for communication between the hardware computing module and the host (one for the x86 platform and one for the arm platform).
[0078] Hardware interfaces (such as USB interfaces);
[0079] In addition to the hardware mentioned above, users can also choose to add: motherboards and other computing components to house hardware computing modules, storage modules, and hardware interfaces.
[0080] As an optional implementation of this application, the IoT software package may optionally include:
[0081] Application packages to be read and loaded into the IoT operating system;
[0082] The driver package to be read and loaded into the host;
[0083] The driver includes a communication driver and a computing driver.
[0084] like Figure 1 As shown, this application stores driver packages and application packages of different quantities and purposes through the storage module of the board. After the board is plugged into the host, the driver packages and application packages in the board's storage module can be loaded and installed in the host or the IoT operating system by operating the IoT operating system and its application management module to perform read and write operations. In this way, the application of the IoT operating system and the required computing resources hardware are packaged on a hardware board, realizing the ability to simultaneously expand application software and hardware with a single board.
[0085] It enables plug-and-play functionality, and applications can utilize the computing resources of the hardware on the board to perform relevant functions.
[0086] As an optional implementation of this application, it may also include:
[0087] A storage module, deployed on the board, is used to store the application package and the driver package.
[0088] As an optional implementation of this application, it may also include:
[0089] At least one computing module is deployed on the board for performing data computing and processing.
[0090] In this embodiment, the computing module can use hardware computing resources including but not limited to SoC, SiP packaged AI chips, GPUs, etc., and the storage module can use hardware storage resources such as memory cards, etc., and the number can be selected by the user.
[0091] The following describes how to install the IoT operating system hardware and software integrated application expansion device of this application.
[0092] like Figure 2 As shown, in another aspect, this application proposes an installation method for the IoT operating system hardware-software integrated application extension device, comprising the following steps:
[0093] Insert the pre-installed application and driver packages into the host computer via the hardware interface;
[0094] Identify the storage module on the board and mark the first device ID of the storage module on the host;
[0095] The host reads the driver package of the storage module, forms a driver instance, and marks the second device ID of the computing module in the board on the host.
[0096] The host reads the application package from the storage module and forms an application instance;
[0097] Installation complete. Wait for the application to run.
[0098] First, insert the pre-installed IoT driver package and application package into the host port with the IoT operating system installed. According to the standard interface protocol of computer devices (such as USB), the host recognizes the storage module on the board and marks the first device ID of the storage module on the host (for example, for USB devices, according to the USB protocol standard, the USB host detects the voltage of the D+ / D- lines to identify whether a device is inserted, and at the same time identifies the device content through USB port device enumeration).
[0099] In this embodiment, you can view computer interface protocol standards, such as the USB protocol. After identification, the host will mark a new first device ID.
[0100] As an optional implementation of this application, optionally, the host reads the driver package of the storage module, forms a driver instance, and marks the second device ID of the computing module in the board on the host, including:
[0101] The driver package of the storage module is read through the application management module of the IoT operating system;
[0102] The installation is performed, installing the corresponding driver package file onto the host to create a driver instance;
[0103] After the driver installation is completed, the host loads the driver program, sends the corresponding hardware driver information to the IoT operating system, and converts standard operating system instructions into computing module-specific commands.
[0104] The IoT operating system identifies computing modules through drivers, and marks the identified computing modules on the IoT operating system and generates a second device ID.
[0105] Secondly, through the application management module of the IoT operating system, the data content of the storage module on the board is read, the driver package file is read, and the corresponding driver package file (different driver packages are selected for different instruction set platforms and host operating systems) is installed on the host to form a driver instance. After the installation is completed, the host loads the driver program. The driver program tells the operating system (such as Linux) on the host the functional information of the hardware itself (such as the start address, interrupt number, etc.), and at the same time, it converts the standard operating system instructions into special computing module-specific commands to ensure the normal operation of the hardware device. After the host operating system (such as Linux) identifies the device through the driver, it marks the identified hardware computing module on the host operating system to generate a second device ID for the application to call computing resources in the subsequent operation phase.
[0106] As an optional implementation of this application, optionally, the host reads the application package from the storage module to form an application instance, including:
[0107] The application package of the storage module is read through the application management module of the Internet of Things operating system;
[0108] The installation process is executed, installing the corresponding application package file into the runtime environment of the IoT operating system to form an application instance;
[0109] Waiting for the application to execute the task.
[0110] Finally, the IoT operating system application management module reads the corresponding application package file from the board storage module (different instruction set platform host operating systems correspond to different application installation packages), installs the application into the IoT operating system runtime environment, and forms an application running instance.
[0111] In this embodiment, during installation, the board may have one or more computing modules. After the driver is installed, the driver information contains information about these computing modules. Each computing module has unique information (such as start address, interrupt number, etc.). The driver compares these devices one by one to determine whether they match in order to identify the device.
[0112] It should be noted that although the above board hardware description uses SoC and SiP as examples, those skilled in the art will understand that this disclosure is not limited to this. In fact, users can flexibly configure the replacement resources of each hardware component on the board according to the actual application scenario, as long as the technical functions of this application can be implemented according to the above technical methods.
[0113] Example 2
[0114] like Figure 3 As shown, based on the implementation principle of Embodiment 1, this application also proposes an application method for the IoT operating system hardware-software integrated application extension device, comprising the following steps:
[0115] Define the application task;
[0116] Based on the application task, the application instance calls the host to find the second device ID and sends a computing task request to the driver instance.
[0117] The driver instance receives the computing task request, calls the computing module in the board to perform data computing processing, and returns the computing results to the application instance;
[0118] The application instance receives the calculation results and completes the task processing.
[0119] Applications installed on the board (hereinafter referred to as applications) mostly utilize host hardware resources (CPU, memory, disk, etc.) for operation, such as startup and general application operations. After installation, during runtime, the host can execute tasks through the installed driver instance (driver program) and application instance (application program). Specifically, the application first looks up the second device ID of the computing module on the host, and then calls the computing module corresponding to that second device ID on the board. The driver program sends a task request to the computing module on the board. Upon receiving the request, the driver program calls the computing module on the board to perform the calculation; the computing module receives the task and the data within the task, completes the calculation, and returns the result to the application program.
[0120] like Figure 4 As shown, when an application performs certain tasks that require specific computing resources (computing modules) from the board (such as AI computing, commonly including facial recognition and environmental data prediction computing), the application is executed through the host's IoT operating system. The application finds the second device ID and then passes the computing data to the second device ID. Through the driver (the driver instance on the host), the hardware computing module on the board is scheduled to perform data computing processing. During the operation of the computing module, in addition to receiving data requested for computing, it can also access the host's disk data. After the computing is completed, the running result is responded to the host's application instance (application program) to complete the relevant function.
[0121] In this embodiment, the specific application tasks executed on the IoT operating system are determined by the user. The technical solution proposed in this application, which encapsulates the IoT operating system application and the required computing resources hardware on a single hardware board, enables the simultaneous expansion of application software and hardware capabilities with a single board, achieving plug-and-play functionality. Applications can also utilize the computing resources of the hardware on the board to perform relevant functions, thereby expanding applications and changing the limitations of IoT hardware usage.
[0122] Obviously, those skilled in the art should understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the control methods described above. Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the control methods described above. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.
[0123] Example 3
[0124] Furthermore, this application also proposes a control system, comprising:
[0125] processor;
[0126] Memory used to store processor-executable instructions;
[0127] The processor is configured to implement the application method when executing the executable instructions.
[0128] This disclosure discloses an embodiment of a system including a processor and a memory for storing processor-executable instructions. The processor is configured to implement, when executing the executable instructions, a method and apparatus for extending the hardware-software integrated application of an IoT operating system as described above.
[0129] It should be noted here that the number of processors can be one or more. Furthermore, the control system in this embodiment may also include input devices and output devices. The processors, memory, input devices, and output devices can be connected via a bus or other means, without specific limitations herein.
[0130] As a computer-readable storage medium, memory can be used to store software programs, computer-executable programs, and various modules, such as the program or module corresponding to the method and apparatus for extending the hardware and software integrated application of an Internet of Things operating system according to embodiments of this disclosure. The processor executes various functional applications and data processing of the control system by running the software programs or modules stored in the memory.
[0131] Input devices can be used to receive input digital numbers or signals. These signals can be key signals related to user settings and function control of the device / terminal / server. Output devices can include display devices such as screens.
[0132] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technical improvements to the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. An integrated hardware and software application expansion device for an Internet of Things (IoT) operating system, characterized in that: include: The board has a pre-installed IoT software package. A hardware interface, located on the board, is used for reading and writing data files; The application management module, deployed on the host's IoT operating system, is used to load the IoT software package; The board reads the IoT software package into the IoT operating system through the hardware interface and generates corresponding software application instances and device IDs. When the software application instance is running, it calls the computing module in the board to perform data calculation and processing through the device ID, and responds to the software application instance. The IoT software package includes: Application packages to be read and loaded into the IoT operating system; The driver package to be read and loaded into the host; The driver includes a communication driver and a computing driver; A storage module, deployed on the board, is used to store the application package and the driver package; At least one computing module is deployed on the board for performing data computing and processing.
2. An installation method for the IoT operating system hardware-software integrated application expansion device as described in claim 1, characterized in that, Includes the following steps: Insert the pre-installed application and driver packages into the host computer via the hardware interface; Identify the storage module on the board and mark the first device ID of the storage module on the host; The host reads the driver package of the storage module, forms a driver instance, and marks the second device ID of the computing module in the board on the host. The host reads the application package from the storage module and forms an application instance; Installation complete. Wait for the application to run.
3. The installation method according to claim 2, characterized in that, The host reads the driver package of the storage module, forms a driver instance, and marks the second device ID of the computing module in the board on the host, including: The driver package of the storage module is read through the application management module of the IoT operating system; The installation is performed, installing the corresponding driver package file onto the host to create a driver instance; After the driver installation is completed, the host loads the driver program, sends the corresponding hardware driver information to the IoT operating system, and converts standard operating system instructions into computing module-specific commands. The IoT operating system identifies computing modules through drivers, and marks the identified computing modules on the IoT operating system and generates a second device ID.
4. The installation method according to claim 3, characterized in that, The host reads the application package from the storage module to form an application instance, including: The application package of the storage module is read through the application management module of the Internet of Things operating system; The installation process is executed, installing the corresponding application package file into the runtime environment of the IoT operating system to form an application instance; Waiting for the application to execute the task.
5. An application method for the IoT operating system hardware-software integrated application extension device as described in claim 1, characterized in that, Includes the following steps: Define the application task; Based on the application task, the application instance calls the host to find the second device ID and sends a computing task request to the driver instance. The driver instance receives the computing task request, calls the computing module in the board to perform data computing processing, and returns the computing results to the application instance; The application instance receives the calculation results and completes the task processing.
6. A control system, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to implement the application method of claim 5 when executing the executable instructions.
Citation Information
Patent Citations
Ruff OS Internet-of-Things operating system applied to embedded application program
CN107992291A
Novel Internet of Things multi-task operation system and method based on java virtual machine
CN110262874A
