Cross-platform embedded web operation system

By designing a cross-platform embedded web operation system, using device search, synchronization and resource sharing modules, real-time monitoring and scheduling are realized, solving the shortcomings of traditional web technology in industrial data processing and response time, and improving the efficiency and accuracy of industrial production.

CN119668685APending Publication Date: 2025-03-21TIANJIN HUANING ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411786505.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

Traditional web technology is not efficient enough in real-time processing and display of data, cannot meet industrial-grade data refresh needs, and is difficult to handle complex industrial data and local hardware shared configurations, resulting in too long system response time.

Method used

A cross-platform embedded web operation system is designed, including device search module, device synchronization and resource sharing module and real-time monitoring and scheduling module. The basic information of the equipment is obtained through the UDP protocol, a central resource management system is established, and real-time monitoring and scheduling is carried out to optimize the utilization of equipment resources.

Benefits of technology

It improves the application efficiency and accuracy of sensor equipment in industrial production, simplifies the complexity of equipment management and control, supports cross-platform operation, provides a unified user experience and operation interface, and realizes the simplification of sensor data management and control tasks in complex industrial environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668685A_ABST
    Figure CN119668685A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-platform embedded web operation system, which relates to the technical field of application and development of coal mine equipment systems and comprises an equipment search module, an equipment synchronization and resource sharing module and a real-time monitoring and scheduling module. The equipment search module is used for acquiring equipment basic information by using a UDP protocol; the equipment synchronization and resource sharing module is used for establishing a central resource management system according to the equipment basic information; and the real-time monitoring and scheduling module is used for monitoring according to the central resource management system to obtain an embedded web operation result. According to the invention, the application efficiency and precision of sensor equipment in industrial production are improved, the complexity of equipment management and control is greatly simplified, and important support is provided for industrial automation and intelligent processes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the application development of coal mine equipment system, and relates to the technical field of data collection, logic operation and cross-platform operation of sensor equipment in mines and other industrial environments, and in particular to a cross-platform embedded web operation system. Background Art

[0002] With the rapid development of industrial technology, coal mining production is gradually moving towards intelligence and automation. Traditional coal mining equipment can no longer meet the high requirements for safety, efficiency and accuracy, and there is an urgent need to adopt advanced sensor technology to achieve accurate data collection and real-time monitoring. From low-end sensors to high-end binocular positioning, lidar and visual sensors, these new generation sensors can not only provide more detailed and accurate environmental data, but also realize complex target recognition and location positioning through advanced data processing algorithms, greatly improving the safety and production efficiency of coal mine production.

[0003] In order to be compatible with these high-end sensor devices and ensure that they can operate stably in the coal mine production environment, a flexible and scalable framework is needed. This framework can not only seamlessly connect with various sensor devices, but also uniformly process the massive data generated by various sensors and realize intelligent data analysis and control logic. Through such a framework, coal mine managers can monitor the operating status of mine equipment in real time, respond quickly to emergencies, improve production efficiency and safety, and promote the transformation of the entire coal mine production to digitalization and intelligence.

[0004] However, the traditional web technology applied to the server does not display real-time data processing, and the refresh data cannot reach the industrial level. In addition, the traditional web focuses on the access of interactive data with users, while the processing of industrial data focuses on processing and shared configuration of local hardware. When the embedded system needs to call the GPU or the GPU triggers the call of the NPU hardware according to the unified framework, the system response time is too long. Therefore, there is an urgent need for a cross-platform embedded web operating system to solve the deficiencies in the existing technology. Summary of the invention

[0005] The purpose of the present invention is to propose a cross-platform embedded web operating system, which adopts advanced embedded technology and Web operating mechanism to provide a reliable data collection, processing and control platform for coal mining production.

[0006] To achieve the above-mentioned purpose, the present invention provides a cross-platform embedded web operating system, including: a device search module, a device synchronization and resource sharing module and a real-time monitoring and scheduling module;

[0007] The device search module is used to obtain basic information of the device using the UDP protocol;

[0008] The device synchronization and resource sharing module is used to establish a central resource management system based on the basic information of the device;

[0009] The real-time monitoring and scheduling module is used to monitor and obtain the embedded web operation results according to the central resource management system.

[0010] Optionally, the device search module includes a UDP broadcast start unit, a device response unit and a device list update unit;

[0011] The UDP search unit is used to broadcast and obtain device responses using the UDP protocol;

[0012] The device response unit is used to obtain the basic information of the device according to the device response;

[0013] The device list updating unit is used to update the basic information of the device to the local device list.

[0014] Optionally, the device search module communicates with the Web application using a network communication protocol and transmits the basic information of the device to a front-end user interface.

[0015] Optionally, the device synchronization and resource sharing module includes a device synchronization unit and a sharing layer establishment unit;

[0016] The device synchronization unit is used to send a synchronization request using the network communication protocol;

[0017] The shared layer establishing unit is used to construct the resource sharing layer using basic device information according to the synchronization request.

[0018] Optionally, constructing a resource sharing layer using basic device information according to the synchronization request includes:

[0019] Acquiring device resource information using basic device information according to the synchronization request;

[0020] constructing the central resource management system using the device resource information;

[0021] The resource sharing layer is obtained according to the central resource management system.

[0022] Optionally, the device synchronization and resource sharing module further includes a resource registration and configuration unit;

[0023] The resource registration and configuration unit is used to register the device resource information to the central resource management system and configure the resource sharing layer.

[0024] Optionally, the real-time monitoring and scheduling module includes a real-time data collection unit, a total computing power calculation unit, an optimization scheduling unit and a computing block integration unit;

[0025] The real-time data collection unit is used to obtain device resource status information;

[0026] The total computing power calculation unit is used to obtain the total free computing power of the equipment by summarizing the central resource management system;

[0027] The optimization scheduling unit is used to optimize and schedule the non-overloaded devices according to the free total computing capacity of the devices using the device resource status information;

[0028] The computing block integration unit is used to obtain the embedded web running result by using network communication according to the non-overloaded device and the total free computing capacity of the device.

[0029] Optionally, the total free computing capacity of the device is:

[0030]

[0031] Available Power i =S i ×(1-Usage Rate i )

[0032] Table Available Power is the sum of the free computing power of all devices, that is, the total free computing power of the devices, n is the total number of devices, Available Power i is the spare computing capacity of the i-th device, S i is the total free computing power of the i-th device, Usage Rate i is the utilization rate of the i-th device.

[0033] Optionally, performing optimization scheduling using the device resource status information according to the free total computing capacity of the device includes:

[0034] Acquire a first node and a second node using the device status information according to the free total computing capacity;

[0035] Performing task characteristic analysis on the first node and the second node to obtain task requirements;

[0036] Performing task scheduling on the second node according to the task requirement to obtain a scheduling task;

[0037] According to the scheduling task, use the first node to perform task allocation to obtain a task allocation result;

[0038] Monitor and adjust in sequence according to the task allocation results to obtain non-overloaded equipment;

[0039] The CPU load and memory usage of the first node are lower than those of the second node, and the first node and the second node represent resource devices of different networks.

[0040] Optionally, the embedded web operating system further includes a device adaptation layer;

[0041] The device adaptation layer is used for device detection and identification of the device basic data;

[0042] The device adaptation layer includes unified management of hardware drivers and communication protocols.

[0043] Compared with the closest prior art, the present invention has the following beneficial effects:

[0044] The present invention not only improves the application efficiency and accuracy of sensor equipment in industrial production, but also greatly simplifies the complexity of equipment management and control, providing important support for the process of industrial automation and intelligentization; the present invention is flexible in design and can be customized and expanded according to different sensor equipment and application scenarios, supporting the rapid integration of new equipment and functions; the embedded Web service enables the system to run on various terminal devices, including PCs, tablets and smart phones, providing a unified user experience and operation interface; the present invention provides a unified data processing and logic operation engine, simplifying the sensor data management and control tasks in complex industrial environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 The present invention is a structural diagram of a cross-platform embedded web operating system. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in combination with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] The terms used in the embodiments of the present invention are only used to explain the specific embodiments of the present invention and are not intended to limit the present invention.

[0049] like Figure 1 As shown, an embodiment of the present invention provides a cross-platform embedded web operating system, including: a device search module, a device synchronization and resource sharing module, and a real-time monitoring and scheduling module;

[0050] The goal of the device search module is to scan the network through the UDP protocol to discover all available devices. The device search module is used to obtain basic device information using the UDP protocol, including starting the UDP broadcast unit, the device response unit and the device list update unit. Specifically:

[0051] Start the UDP broadcast unit: broadcast the device discovery request (such as a UDP data packet of a specific port) on the network. All devices will respond after listening to the request on the port. That is, start the UDP broadcast unit to use the UDP protocol to broadcast and obtain device responses;

[0052] Device response unit: The client receives responses from all devices and obtains basic information about the devices (such as IP address, device ID, and device type). That is, the device response unit is used to obtain basic information about the devices based on the device responses.

[0053] Device list update unit: updates the basic information of discovered devices to the local device list for subsequent operations;

[0054] Implementation example: Use WebSocket or HTTP API network communication protocol to communicate with the web application and pass the device discovery results (i.e. basic information of the device) to the front-end user interface.

[0055] The goal of the device synchronization and resource sharing module is to synchronize device information on the network and establish a hardware resource sharing layer to share computing resources between different devices. The device synchronization and resource sharing module is used to collect device resource information based on the basic information of the device to establish a central resource management system, including a device synchronization unit, a sharing layer establishment unit, and a resource registration and configuration unit. Specifically:

[0056] Device synchronization unit: sends synchronization requests to devices through HTTPAPI or WebSocket network communication protocol, requesting devices of the same product but different hardware to provide their hardware resource information (such as CPU, GPU, NPU), that is, the device synchronization unit is used to send synchronization requests using network communication protocol according to basic device information;

[0057] Shared layer construction unit: Based on synchronization requests, the hardware resource information (i.e., device resource information) of all devices is collected using the basic information of the device to establish a central resource management system, and a resource sharing layer is designed to allow devices to share their resources in computing tasks. For example, a unified interface is created so that the GPU of one device can be used by tasks of other devices. When each device runs an intelligent computing task, it may not fully utilize the hardware performance. This function manages the hardware resources of the device layer and completes the unified resource allocation and scheduling of the device. A portion of the computing resources can be allocated as a resource sharing layer for scheduling of other devices.

[0058] Resource registration and configuration unit: registers the device's resources into the resource management system, configures the resource access rights and sharing policies, that is, the resource registration and configuration unit is used to register the device resource information into the central resource management system and configure the resource sharing layer;

[0059] Implementation example: Use RESTful API to define the operation interface of the device synchronization and resource sharing module; display the resource usage of each device through the Web application interface, allowing administrators to configure resource sharing policies.

[0060] The purpose of the real-time monitoring and scheduling module is to monitor the computing power and hardware status of each device in the system in real time, and to perform resource scheduling and optimization. The real-time monitoring and scheduling module is used to monitor and obtain the embedded web operation results according to the central resource management system, including real-time data collection unit, total computing power calculation unit, optimization scheduling unit and computing block integration unit. Specifically:

[0061] Real-time data collection unit: The device sends its current resource usage and status (such as online / offline, load status) through periodic reporting or event-driven mechanisms (such as WebSocket push). That is, the real-time data collection unit is used to obtain device resource status information;

[0062] Total computing power calculation unit: summarizes the computing power data of all devices in the central resource management system, calculates the total free computing power of the devices, and monitors the real-time usage of resources. That is, the total computing power calculation unit is used to obtain the free total computing power of the devices by summarizing the central resource management system, wherein the free total computing power of the devices is set to S;

[0063] Equipment margin is calculated as:

[0064] Available Power i =S i ×(1-Usage Rate i )

[0065] Where Available Poweri is the spare computing capacity of the i-th device, S i is the total free computing power of the i-th device, Usage Rate i is the utilization rate of the i-th device;

[0066] The total available computing capacity of the device is:

[0067]

[0068] In the formula, Table Available Power is the sum of the free computing power of all devices, that is, the free total computing power of the devices, and n is the total number of devices;

[0069] Scheduling optimization unit: Based on real-time data, dynamically adjust task allocation, optimize resource utilization efficiency, and allocate computing-intensive tasks to devices with lower loads. That is, the optimization scheduling unit is used to perform dynamic scheduling tasks based on the total computing capacity of the device and use the device resource status information to obtain non-overloaded devices. The main steps of scheduling are as follows:

[0070] Step 1: Collect resource status information: Select node 1 and node 2 based on the free total computing capacity using the device status information. The CPU load and memory usage of node 1 are lower than those of node 2 and meet the task requirements. Node 1 and node 2 represent resource devices of different networks, that is, node 1 represents the resource device of network 1, and node 2 represents the resource device of network 2.

[0071] Step 2: Calculate task characteristic analysis: Perform task characteristic analysis on nodes 1 and 2 to obtain task requirements, where the task requirements are 8 target post-processing;

[0072] Step 3: Resource scheduling decision: Select node 2 to perform task scheduling and obtain the scheduling task according to the task requirements;

[0073] Step 4: Task allocation: Assign the scheduling task to node 1 to obtain the task allocation result;

[0074] Step 5: Monitoring and adjustment: After starting the task, ensure that the equipment is not overloaded, that is, monitor and adjust in sequence according to the task allocation results to obtain non-overloaded equipment;

[0075] The task scheduling uses a simple load balancing algorithm (such as polling, least connection, minimum load) to determine which devices are currently under low load and can meet the computing needs of the task;

[0076] Computing block integration unit: The integrated computing block technology records resource usage history and task scheduling logs to ensure data security, and uses smart contracts to automatically execute resource allocation and scheduling rules to ensure fairness and automation of resource sharing. Specifically:

[0077] Through the same type of devices with spare total computing power discovered by non-overloaded devices, each independent calculation problem is connected together through network communication to form a computing block network, and then the embedded web operation results are obtained through the computing block network, that is, the embedded web operation results are obtained by using network communication based on the non-overloaded devices and the spare total computing power of the devices.

[0078] Implementation example: Use WebSocket to achieve real-time data transmission and monitoring; design a front-end dashboard to display the resource status, total computing power, and real-time task scheduling of each device; integrate the computing block network with the resource management system to achieve data recording and smart contract functions.

[0079] The system of the present invention adopts a function block plug-in mechanism to dynamically load each function block to complete the system matching, which is suitable for compatibility adaptation of sensor devices at various levels. The system includes the following key components:

[0080] Device Adaptation Layer: Provides adaptation interfaces for different sensor devices, making the system compatible with both low-end and high-end sensors. The adaptation layer includes unified management of hardware drivers and communication protocols to ensure seamless integration and communication between different devices. When the system starts, the device adaptation layer performs device detection and identification, automatically identifying the type and capabilities of the connected sensor device.

[0081] Data collection and formatting: Based on the device capabilities and user configuration, data from each sensor device is collected and formatted and standardized through the data collection module.

[0082] Logical operations and control strategies: For high-end equipment, the logical operation engine is enabled to execute user-defined control strategies, realize complex data analysis and intelligent control, and support user-defined control strategies and automation tasks.

[0083] Web service deployment and access: Deploy embedded Web services on the target platform so that users can access and control the system through a standard Web browser to achieve remote monitoring and management.

[0084] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0085] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0086] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A cross-platform embedded web operating system, characterized in that: include: Device search module, device synchronization and resource sharing module, and real-time monitoring and scheduling module; The device search module is used to obtain basic information of the device using the UDP protocol; The device synchronization and resource sharing module is used to establish a central resource management system based on the basic information of the device; The real-time monitoring and scheduling module is used to monitor and obtain the embedded web operation results according to the central resource management system.

2. The cross-platform embedded web operating system according to claim 1, characterized in that: The device search module includes a UDP broadcast start unit, a device response unit and a device list update unit; The UDP search unit is used to broadcast and obtain device responses using the UDP protocol; The device response unit is used to obtain the basic information of the device according to the device response; The device list updating unit is used to update the basic information of the device to the local device list.

3. The cross-platform embedded web operating system according to claim 2, characterized in that: The device search module uses a network communication protocol to communicate with the Web application and transmits the basic information of the device to the front-end user interface.

4. The cross-platform embedded web operating system according to claim 3, characterized in that: The device synchronization and resource sharing module includes a device synchronization unit and a sharing layer establishment unit; The device synchronization unit is used to send a synchronization request using the network communication protocol; The shared layer establishing unit is used to construct the resource sharing layer using basic device information according to the synchronization request.

5. The cross-platform embedded web operating system according to claim 4, characterized in that: Constructing a resource sharing layer using basic device information according to the synchronization request includes: Acquiring device resource information using basic device information according to the synchronization request; constructing the central resource management system using the device resource information; The resource sharing layer is obtained according to the central resource management system.

6. The cross-platform embedded web operating system according to claim 5, characterized in that: The device synchronization and resource sharing module also includes a resource registration and configuration unit; The resource registration and configuration unit is used to register the device resource information to the central resource management system and configure the resource sharing layer.

7. The cross-platform embedded web operating system according to claim 1, characterized in that: The real-time monitoring and scheduling module includes a real-time data collection unit, a total computing power calculation unit, an optimization scheduling unit and a computing block integration unit; The real-time data collection unit is used to obtain device resource status information; The total computing power calculation unit is used to obtain the total free computing power of the equipment by summarizing the central resource management system; The optimization scheduling unit is used to optimize and schedule the non-overloaded devices according to the free total computing capacity of the devices using the device resource status information; The computing block integration unit is used to obtain the embedded web running result by using network communication according to the non-overloaded device and the total free computing capacity of the device.

8. The cross-platform embedded web operating system according to claim 7, characterized in that: The total free computing capacity of the device is: Available Power i =S i ×(1-Usage Rate i ) Table Available Power is the sum of the free computing power of all devices, that is, the total free computing power of the devices, n is the total number of devices, Available Power i is the spare computing capacity of the i-th device, S i is the total free computing power of the i-th device, Usage Rate i is the utilization rate of the i-th device.

9. The cross-platform embedded web operating system according to claim 7, characterized in that: Optimizing the scheduling by using the device resource status information according to the free total computing capacity of the device includes: Acquire a first node and a second node using the device status information according to the free total computing capacity; Performing task characteristic analysis on the first node and the second node to obtain task requirements; Performing task scheduling on the second node according to the task requirement to obtain a scheduling task; According to the scheduling task, use the first node to perform task allocation to obtain a task allocation result; Monitor and adjust in sequence according to the task allocation results to obtain non-overloaded equipment; The CPU load and memory usage of the first node are lower than those of the second node, and the first node and the second node represent resource devices of different networks.

10. The cross-platform embedded web operating system according to claim 1, characterized in that: The embedded web operating system also includes a device adaptation layer; The device adaptation layer is used for device detection and identification of the device basic data; The device adaptation layer includes unified management of hardware drivers and communication protocols.