Low-power-consumption mining terminal equipment based on OpenCPU architecture

By introducing OpenCPU architecture and OpenWRT embedded system into the 5G module of mining terminal equipment, redundancy and automatic switching of Ethernet and 5G signals are achieved, and the problems of high power consumption and network instability of existing equipment are solved, improving the reliability of data connection and the stability of system communication are improved.

CN119584232APending Publication Date: 2025-03-07TIANDI CHANGZHOU AUTOMATION +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411582935.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The 5G modules of existing mining terminal equipment have high power consumption and high heat generation, and wireless network transmission is unstable in the underground environment, which affects the reliability of data connections and limits the large-scale application of 5G communication in coal mines.

Method used

The low-power mining terminal equipment based on the OpenCPU architecture is adopted to run the embedded system compiled by the OpenWRT architecture using idle resources inside the 5G module to realize the mutual redundancy of Ethernet and 5G signals, and detect link stability through heartbeat polling and timeout timer, and automatically switch to the auxiliary link for data forwarding.

Benefits of technology

It effectively reduces equipment power consumption and heating, improves the reliability of data connections, enhances the stability of system communication, supports the use of different network environments, and reduces dependence on additional hardware resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119584232A_ABST
    Figure CN119584232A_ABST
Patent Text Reader

Abstract

The invention discloses low-power-consumption mining terminal equipment based on an OpenCPU architecture, and the equipment comprises a 5G module which is internally provided with the OpenCPU architecture, and the OpenCPU architecture is used for calling idle resources in the 5G module so as to achieve the control of a peripheral circuit function; moreover, idle resources in the 5G module can be utilized to run an embedded system compiled based on an OpenWRT architecture, so that mutual redundancy of an Ethernet wired communication link and a 5G wireless communication link is realized; and the intrinsic safety power supply is used for supplying power to the 5G module. The hardware architecture of the OpenCPU is used on the 5G module, so that the hardware cost is lower, the equipment power consumption is lower, and the heating of the whole machine is less; an embedded system compiled based on an OpenWRT architecture can be operated only by relying on a 5G module single chip, and mutual conversion and routing management of 5G / Ethernet signals are realized; the 5G / Ethernet signal double-link automatic switching can be realized on the module side without additional hardware resources, and the reliability of system communication is effectively enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mining terminal counting, and in particular to a low-power mining terminal device based on an OpenCPU architecture. Background Art

[0002] With the continuous development of science and technology, the coal mining industry is also gradually transforming towards intelligence. Coal mining intelligence refers to the introduction of advanced information technology, automation technology and artificial intelligence technology to achieve data collection, transmission, processing and analysis in the coal mine production process, thereby improving the production efficiency, safety and environmental protection of coal mines. The core goal of coal mine intelligence is to achieve automation, informatization and intelligence in coal mine production, reduce the degree of manual intervention, and reduce the risk of accidents.

[0003] In the process of coal mine intelligence, 5G technology plays an important role. 5G is the fifth generation of mobile communication technology, which has the characteristics of high speed, low latency, and large number of connections, and can provide powerful data transmission and communication support for coal mine intelligence. Through 5G technology, various sensors, monitoring equipment and control systems at the coal mine production site can achieve fast and stable data interaction, monitor the coal mine production environment and equipment status in real time, and provide decision support for coal mine production.

[0004] However, in actual applications, mining terminal equipment (CPE) mostly uses 5G modules for data communication. However, conventional 5G modules have high power consumption, high heat generation, and unstable operation. Therefore, they require a separate mining power supply, which is not conducive to convenient and rapid deployment. In addition, due to the complex working conditions of the underground environment, there is a risk of unstable connection in wireless network transmission. Underground equipment in coal mines often concerns the life safety of coal miners and the production safety of coal mining enterprises. Any unstable factors may cause huge losses of life and property. Summary of the invention

[0005] In order to solve the problems existing in the prior art, the present invention provides a low-power mining terminal device based on the OpenCPU architecture, which can effectively reduce power consumption, reduce heat, reduce the impact of network fluctuations, ensure the reliability of equipment data connection, and improve the feasibility of large-scale application of 5G communication in coal mines.

[0006] The technical solution adopted by the present invention to solve its technical problems is: a low-power mining terminal device based on OpenCPU architecture, comprising: a 5G module, an OpenCPU architecture is arranged inside the 5G module, and the OpenCPU architecture is used to call idle resources inside the 5G module to realize control of peripheral circuit functions; and the idle resources inside the 5G module can be used to run an embedded system compiled based on the OpenWRT architecture to realize mutual redundancy of Ethernet wired communication links and 5G wireless communication links; an intrinsically safe power supply, and the intrinsically safe power supply is used to power the 5G module.

[0007] Furthermore, the embedded system compiled based on the OpenWRT architecture can set the priority of the communication link in the management interface; when the priority order is 5G wireless communication link>Ethernet wired communication link, the 5G wireless communication link is the main link and the Ethernet wired communication link is the auxiliary link by default;

[0008] The embedded system compiled based on the OpenWRT architecture polls the link status of each port through heartbeats. When the main link fails to respond to the heartbeat for more than a certain number of consecutive times, it is considered that the main link is unstable. At this time, if the auxiliary link is normal, the terminal device switches the data to the auxiliary link for forwarding.

[0009] Further, the heartbeat polling includes:

[0010] The terminal device sends a detection packet to the opposite server on the main link at intervals; the terminal device starts a timeout timer when sending the detection packet; the opposite server needs to respond with a response packet after receiving the detection packet; if the terminal device receives the response packet, it means that the link of the opposite server is normal and the timeout timer is deleted; if the terminal device still does not receive the response packet after the timeout timer responds, it means that the link of the opposite server is unstable; if the terminal device does not receive the response packet after N consecutive timeouts, it means that the link of the opposite server is disconnected.

[0011] Furthermore, when the main link is unstable, the communication is switched to the auxiliary link; when the main link returns to normal, the communication is switched to the main link again.

[0012] Furthermore, before switching back to the main link for communication, the terminal device sends a detection packet to the opposite server at intervals on the main link, and the terminal device sets a timeout timer. When the opposite server receives a detection packet, it sends a response packet to the terminal device; if the terminal device still does not receive a response packet after the timeout timer responds, it means that the opposite server link has not been restored; if the device terminal can receive the response packet, it means that the opposite server has temporarily recovered to normal, and the timeout timer is deleted; if after the first ping is successful, it is pinged N times in succession, and there is still no response in the middle, it means that the server link is still unstable, and the count is restarted N times; if the terminal device can receive the response packet N times in a row, it means that the server has recovered to normal, and at this time, the data communication is switched back to the main link.

[0013] Furthermore, the time interval is 10ms to 3000ms.

[0014] Furthermore, the value range of N is 2 to 10.

[0015] The beneficial effects of the present invention are that the low-power mining terminal equipment based on the OpenCPU architecture of the present invention uses the OpenCPU architecture on the 5G module, which can achieve lower hardware cost, lower equipment power consumption, and less heat generation of the whole machine compared to the current CPE; only relying on the 5G module single chip, it can run the embedded system compiled based on the OpenWRT architecture to realize the mutual conversion and routing management of 5G / Ethernet signals; it is also applicable to 4G modules or modules of different versions of 5G, and supports use in different network environments; without additional hardware resources, the 5G / Ethernet signal dual-link automatic switching can be realized on the module side, effectively enhancing the reliability of system communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0017] Figure 1 This is an architecture diagram of a low-power mining terminal device based on OpenCPU architecture according to the present invention.

[0018] Figure 2 It is a schematic diagram of a terminal device communication scenario of the present invention. DETAILED DESCRIPTION

[0019] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.

[0020] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0021] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0022] like Figure 1 to Figure 2 As shown, the low-power mining terminal equipment based on the OpenCPU architecture of the present invention includes: a 5G module and an intrinsically safe power supply. The OpenCPU architecture is arranged inside the 5G module, and the OpenCPU architecture is used to call the idle resources inside the 5G module to realize the control of the peripheral circuit functions; and the idle resources inside the 5G module can be used to run the embedded system compiled based on the OpenWRT architecture to realize the redundancy of the Ethernet wired communication link and the 5G wireless communication link; the intrinsically safe power supply is used to power the 5G module.

[0023] It should be noted that the internal resources of the 5G module include a single-core ARM CPU with a main frequency of 750MHz. After the resources of the 5G module itself are occupied, there are about 30MB of read-only space remaining, about 22MB of read-write space remaining, about 23MB of memory mem space remaining, and about 100MB of memory swap space remaining. Therefore, the hardware resources of the NR90-HCN series 5G module after OpenCPU processing can support the operation of the simplified version of the Openwrt system. Therefore, this embodiment designs an embedded system compiled based on the OpenWRT architecture. In order to successfully run the embedded system compiled based on the OpenWRT architecture on limited hardware, only the basic functions and necessary components of OpenWrt are retained, mainly the kernel, system startup management, network functions, basic routing functions, SSH server, command line tools, basic firewalls, network configuration tools, file systems, log systems, software package management tools and other modules.

[0024] The 5G module of the present invention is developed using the NR90-HCN series module of Lierda Technology Group Co., Ltd. The 5G module is a 5G RedCap module based on 3GPP Release17 technology. The external interface can convert one Ethernet port through RMGII, one Ethernet port through PCIE, and one WiFi chip through the SDIO interface to convert one WiFi radio frequency signal (can be used as AP mode or Client mode). It has its own 5G radio frequency circuit and two nano SIM card interfaces, and can support standard SIM cards, microSIM cards, eSIM card interfaces, etc. The 5G module is designed with two antenna interfaces, as well as one USB2.0 interface, UART serial port, GPIOs, ADCs, reset / sleep / wake-up / flight / power on / off and other interfaces, which can fully meet different application requirements.

[0025] It should be noted that in order to ensure the stability of the data communication link, a dual-link switching function is integrated and developed in the embedded system compiled based on the OpenWRT architecture. The 5G signal and the Ethernet signal are redundant to each other. In normal use, the present invention can be used alone as a 5G mobile data signal converter or a Gigabit Ethernet router.

[0026] For example, an embedded system compiled based on the OpenWRT architecture can set the priority of the communication link in the management interface; when the priority order is 5G wireless communication link > Ethernet wired communication link, the 5G wireless communication link is the default main link and the Ethernet wired communication link is the auxiliary link. Of course, the Ethernet wired communication link can also be set as the main link and the 5G wireless communication link as the auxiliary link. The embedded system compiled based on the OpenWRT architecture polls the link status of each port through heartbeats. When the main link fails to respond to the heartbeat for more than a certain number of consecutive times, the main link is considered to be unstable. At this time, if the auxiliary link is connected normally, the terminal device will switch the data to the auxiliary link for forwarding. In this way, poor communication status can be discovered in time to prevent data loss.

[0027] Heartbeat polling includes: the terminal device sends a detection packet to the opposite server at a time interval (for example, set to 10ms~3000ms) on the main link; the terminal device starts a timeout timer when sending the detection packet; the opposite server needs to respond with a response packet after receiving the detection packet; if the terminal device receives the response packet, it means that the opposite server link is normal and the timeout timer is deleted; if the terminal device still does not receive the response packet after the timeout timer responds, it means that the opposite server link is unstable; if the terminal device does not receive the response packet after N consecutive timeouts (for example, set to 2~10), it means that the opposite server link is disconnected. In other words, there is always signal detection between the terminal device and the opposite server, which is convenient for timely detection of poor communication conditions. When the main link link is unstable, switch to the auxiliary link for communication; when the main link returns to normal, switch to the main link for communication again. This can ensure normal data transmission and reception to the greatest extent and prevent data loss.

[0028] Before switching back to the main link for communication, the terminal device sends a detection packet to the opposite server at a time interval (for example, set to 10ms~3000ms) on the main link, and the terminal device sets a timeout timer. When the opposite server receives a detection packet, it sends a response packet to the terminal device; if the terminal device still does not receive a response packet after the timeout timer responds, it means that the opposite server link has not been restored; if the device terminal can receive the response packet, it means that the opposite server has temporarily recovered to normal, and the timeout timer is deleted; if after the first ping is successful, it is pinged N times (for example, set to 2~10) continuously, and there is still no response in the middle, it means that the server link is not yet stable, and the count is reset N times (for example, set to 2~10); if the terminal device can receive the response packet N times (for example, set to 2~10) continuously, it means that the server has recovered to normal, and at this time, the data communication is switched back to the main link.

[0029] The ping here refers to a service command that works in the application layer of the TCP / IP network architecture. Its principle is to send an ICMP (Internet Control Message Protocol) Echo Request message to a specific destination host, and based on the reply ICMP Echo Reply message, test whether the destination station is reachable and obtain relevant status information such as the connection packet loss rate and average round-trip time.

[0030] To sum up, the low-power mining terminal equipment based on OpenCPU architecture of the present invention uses OpenCPU architecture on the 5G module, which can achieve lower hardware cost, lower equipment power consumption, and less heat generation of the whole machine compared to the current CPE; it can run the embedded system compiled based on the OpenWRT architecture only by relying on the 5G module single chip to realize the mutual conversion and routing management of 5G / Ethernet signals; it is also applicable to 4G modules or modules of different versions of 5G, and supports use in different network environments; without additional hardware resources, it can realize automatic switching of 5G / Ethernet signal dual links on the module side, effectively enhancing the reliability of system communication.

[0031] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, but must be determined according to the scope of the claims.

Claims

1. A low-power mining terminal device based on OpenCPU architecture, characterized in that: include: A 5G module, wherein the 5G module adopts an OpenCPU architecture, wherein the OpenCPU architecture is used to call idle resources within the 5G module to control peripheral circuit functions; and wherein the idle resources within the 5G module can be used to run an embedded system compiled based on the OpenWRT architecture to achieve mutual redundancy between Ethernet wired communication links and 5G wireless communication links; An intrinsically safe power supply, wherein the intrinsically safe power supply is used to power the 5G module.

2. The low-power mining terminal device based on OpenCPU architecture as claimed in claim 1, characterized in that: The embedded system compiled based on the OpenWRT architecture can set the priority of the communication link in the management interface; when the priority order is 5G wireless communication link>Ethernet wired communication link, the 5G wireless communication link is the main link and the Ethernet wired communication link is the auxiliary link by default; The embedded system compiled based on the OpenWRT architecture polls the link status of each port through heartbeats. When the main link fails to respond to the heartbeat for more than a certain number of consecutive times, it is considered that the main link is unstable. At this time, if the auxiliary link is normal, the terminal device switches the data to the auxiliary link for forwarding.

3. The low-power mining terminal device based on OpenCPU architecture as claimed in claim 2, characterized in that: The heartbeat polling includes: The terminal device sends a detection packet to the opposite server on the main link at intervals; the terminal device starts a timeout timer when sending the detection packet; the opposite server needs to respond with a response packet after receiving the detection packet; if the terminal device receives the response packet, it means that the link of the opposite server is normal and the timeout timer is deleted; if the terminal device still does not receive the response packet after the timeout timer responds, it means that the link of the opposite server is unstable; if the terminal device does not receive the response packet after N consecutive timeouts, it means that the link of the opposite server is disconnected.

4. The low-power mining terminal device based on OpenCPU architecture as claimed in claim 3, characterized in that: When the main link is unstable, it switches to the auxiliary link for communication; when the main link returns to normal, it switches to the main link for communication again.

5. The low-power mining terminal device based on OpenCPU architecture as claimed in claim 4, characterized in that: Before switching back to the main link for communication, the terminal device sends a detection packet to the opposite server at a time interval on the main link. The terminal device sets a timeout timer. When the opposite server receives a detection packet, it sends a response packet to the terminal device; if the terminal device still does not receive a response packet after the timeout timer responds, it means that the opposite server link has not recovered; if the device terminal can receive the response packet, it means that the opposite server has temporarily recovered to normal, and the timeout timer is deleted; if after the first ping is successful, it is pinged N times in succession, and there is still no response in the middle, it means that the server link is not stable yet, and the count is restarted N times; if the terminal device can receive the response packet N times in a row, it means that the server has recovered to normal, and at this time, the data communication is switched back to the main link.

6. The low-power mining terminal device based on OpenCPU architecture as claimed in claim 3 or 5, characterized in that: The time interval is 10ms to 3000ms.

7. The low-power mining terminal device based on OpenCPU architecture as claimed in claim 3 or 5, characterized in that: The value range of N is 2 to 10.