Timed startup and shutdown method based on ARM architecture core processor and industrial personal computer

By implementing the timed power-off function on the ARM platform, using the RTC clock IC to obtain the current time and control the power-off according to the set time, the problem of the ARM platform lacking the time-off function in industrial control applications is solved, and its energy saving and application performance is improved .

CN119472961AInactive Publication Date: 2025-02-18SHENZHEN ELSKY TECHNOLOGY CO LTD

Patent Information

Application Number
CN202510060533.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-02-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing ARM platform lacks the timed power switch function, which has affected its widespread use and energy-saving capabilities in the field of industrial control applications.

Method used

A timing power-on-off method based on the core processor of the ARM architecture is provided. By obtaining the current time in real time from the RTC clock IC, the power-on or shutdown of the core processor of the ARM architecture is controlled according to the preset power-on and power-off time.

Benefits of technology

The timing switch-off function of the ARM platform industrial control machine is realized, improving the energy-saving capability and wide application of the ARM platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119472961A_ABST
    Figure CN119472961A_ABST
Patent Text Reader

Abstract

The invention relates to a timed startup and shutdown method based on an ARM architecture core processor and an industrial personal computer. The method comprises the following steps: acquiring current time from an RTC clock IC in real time; and controlling the industrial personal computer to be turned on or turned off according to the current time, the preset turn-on time and the preset turn-off time. At least the timed startup and shutdown function of the industrial personal computer based on the ARM architecture platform can be realized, and the energy-saving capability and wide applicability of the ARM architecture platform are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of industrial computer technology, and in particular to a timed power on / off method and an industrial computer based on an ARM architecture core processor. Background Art

[0002] Industrial computers are industrial control computers that have important computer properties and features, such as CPU, hard disk, memory, peripherals and interfaces, operating system, control network and protocol, computing power, etc. Industrial computers are intermediate products that provide safe, reliable and intelligent technical support for other industries and are important control equipment in the field of industrial automation.

[0003] However, due to the limitations of technical level and production process, the industrial control touch all-in-one computers on the market are mainly based on x86 architecture and embedded ARM chips. In some industrial control application fields, due to project security considerations, it is necessary to adopt the ARM platform. However, the current ARM platform, for example, Feiteng D2000, does not provide a timed power on and off function for energy-saving needs, which affects the application and widespread use of the ARM platform. Summary of the invention

[0004] Based on this, it is necessary to provide a timed power on and off method and industrial computer based on an ARM architecture core processor to address the above technical problems, which can at least obtain the current time in real time from the RTC clock IC; according to the current time, the pre-set power on time and the pre-set power off time, control the ARM architecture core processor to start or shut down, thereby realizing the timed power on and off function of the industrial computer based on the ARM platform, and improving the energy-saving capability and wide applicability of the ARM platform.

[0005] In a first aspect, the present application provides a timed power on / off method for an ARM architecture core processor, comprising:

[0006] Get the current time from the RTC clock IC in real time;

[0007] Control the industrial computer to start or shut down according to the current time, the preset start time and the preset shutdown time.

[0008] In one embodiment, the industrial computer is powered on by the following steps:

[0009] Determining whether the power-on time has been reached according to the power-on time pre-set in the BIOS and the current time;

[0010] When the startup time arrives, the ARM architecture core processor is notified to start up.

[0011] In one embodiment, the industrial control system is shut down by the following steps:

[0012] Determining whether the shutdown time has been reached according to the shutdown time pre-set in the BIOS and the current time;

[0013] When the shutdown time is reached, the ARM architecture core processor is notified to shut down.

[0014] In one embodiment, the ARM architecture core processor is shut down by the following steps:

[0015] Send a shutdown command to Kylin OS;

[0016] Control the Kylin operating system to save target data and complete shutdown.

[0017] In one embodiment, the industrial computer is powered on by the following steps:

[0018] After receiving the power-on signal, the ARM architecture core processor starts the power management chip or directly controls the power supply to power on the system;

[0019] The ARM architecture core processor loads the BIOS and starts the Kylin operating system after initialization.

[0020] In one embodiment, the step of obtaining the current time from the RTC clock IC in real time includes:

[0021] The BIOS communicates with the RTC clock IC through the I²C or SPI interface and obtains the current time at preset time intervals.

[0022] In one embodiment, the boot time is set by the following steps:

[0023] In response to a user's operation of configuring the boot time in the BIOS setup interface;

[0024] The power-on time set by the user is stored in non-volatile memory.

[0025] In one embodiment, the shutdown time is set by the following steps:

[0026] In response to a user's operation of configuring a shutdown time in a BIOS setup interface;

[0027] The user-set shutdown time is stored in non-volatile memory.

[0028] In the second aspect, the present application also provides an industrial computer, which includes an ARM architecture core processor, BIOS and RTC clock IC, wherein the RTC clock IC is used to output the current time to the BIOS; the BIOS is used to obtain the current time from the RTC clock IC in real time; and control the ARM architecture core processor to start or shut down according to the current time, a preset start-up time and a preset shutdown time.

[0029] In one of the embodiments, the industrial computer also includes a Kylin operating system.

[0030] The above-mentioned timed power on and off method and industrial computer based on the ARM architecture core processor can at least obtain the current time in real time from the RTC clock IC; according to the current time, the pre-set power on time and the pre-set power off time, the ARM architecture core processor is controlled to start or shut down, thereby realizing the timed power on and off function of the industrial computer based on the ARM platform, thereby improving the energy-saving capability and wide applicability of the ARM platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0032] FIG1 is a schematic flow chart of a timed power on / off method based on an ARM architecture core processor in one embodiment;

[0033] FIG2 is a flow chart of a timed power on / off method based on an ARM architecture core processor in another embodiment;

[0034] FIG3 is a schematic flow chart of a timed power on / off method based on an ARM architecture core processor in one embodiment;

[0035] FIG. 4 is a schematic diagram of an industrial computer in an embodiment.

[0036] Reference numerals and descriptions:

[0037] 10. ARM architecture core processor; 20. BIOS; 30. RTC clock IC. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0039] Industrial computers are industrial control computers that have important computer properties and features, such as CPU, hard disk, memory, peripherals and interfaces, operating system, control network and protocol, computing power, etc. Industrial computers are intermediate products that provide safe, reliable and intelligent technical support for other industries and are important control equipment in the field of industrial automation.

[0040] However, due to the limitations of technical level and production process, the industrial control touch all-in-one computers on the market are mainly based on x86 architecture and embedded ARM chips. In some industrial control application fields, due to project security considerations, it is necessary to adopt an ARM architecture core platform. For example, Feiteng D2000 does not provide a timed power on and off function for energy-saving needs, which affects the application and widespread use of the ARM architecture core platform.

[0041] Based on this, the present application proposes a timed power on and off method and industrial computer based on an ARM architecture core processor, which can at least obtain the current time in real time from the RTC clock IC; according to the current time, the pre-set power on time and the pre-set power off time, the ARM architecture core processor is controlled to start or shut down, thereby realizing the timed power on and off function of the industrial computer based on the ARM platform, thereby improving the energy-saving capability and wide applicability of the ARM platform.

[0042] Referring to FIG. 1 , in an exemplary embodiment, a timed power on / off method based on an ARM architecture core processor is provided, comprising:

[0043] S101, obtaining the current time from the RTC clock IC in real time.

[0044] S102, controlling the industrial computer to start or shut down according to the current time, the preset start time and the preset shutdown time.

[0045] It should be noted that the timed power on / off method based on the ARM architecture core processor provided in this application is applied to industrial computers.

[0046] As an example, please refer to FIG. 4 . In an exemplary embodiment, an industrial computer is provided, including: an ARM architecture core processor 10 , a BIOS 20 , and an RTC clock IC 30 .

[0047] Among them, the RTC clock IC30 is used to output the current time to the BIOS20; the BIOS20 is used to obtain the current time from the RTC clock IC30 in real time; the ARM architecture core processor 10 controls the industrial computer to start or shut down according to the current time, the preset start time and the preset shutdown time.

[0048] Among them, industrial computers also include the Kylin operating system.

[0049] Furthermore, the embedded version of Kylin operating system is designed for scenarios such as the Internet of Things, industrial automation, and automotive electronics, and has the following features: streamlined system modules to reduce resource usage; fast startup and low-latency response; providing high-precision time management and task scheduling; supporting real-time task priority and hardware interrupt processing; low power consumption optimization; suitable for battery-powered devices and long-term operation scenarios; high compatibility with hardware; support for domestic hardware platforms (such as the D2000 processor); and providing targeted driver support and optimization.

[0050] In addition, the motherboard has built-in 16GB DDR4 memory, providing stronger performance support. Feiteng D2000 provides a variety of interfaces, including 1 SATA3.0 interface, 1 M.2 interface, VGA, HDMI, LVDS display interface, 6 USB2.0 interfaces and 4 USB3.0 interfaces, etc., to meet different connection needs. In the field of industrial control, it also provides 4 USB3.0, 8 USB2.0 interfaces, 1 Gigabit network card interface, etc., to ensure the diversity of equipment and high-speed data transmission.

[0051] ‌Among them, BIOS (Basic Input / Output System) can also perform hardware initialization and system booting. BIOS can be responsible for performing self-test (POST) when the industrial computer starts, checking and initializing hardware components such as memory, hard disk, graphics card, etc. It will also find and load the boot loader, handing control to the operating system to start the industrial computer. BIOS is usually stored in a flash memory chip on the motherboard and is a type of firmware. Firmware is software embedded in a hardware device and has a certain degree of immutability. Users can enter the BIOS setup interface by pressing specific keys (such as F2, DEL, or ESC) to configure hardware settings such as boot order, system clock, hard disk configuration, etc. ‌Traditional BIOS‌: Based on a 16-bit processor architecture, it supports a limited number of hardware and storage devices. ‌UEFI (Unified Extensible Firmware Interface): Modern computers often use UEFI as a replacement for BIOS, providing richer features such as support for larger hard drives, faster boot times, graphical user interfaces (GUIs), secure boot, etc. Modern BIOS / UEFI provides some security features, such as setting a boot password and preventing unauthorized operating system booting, to protect the computer from malware and unauthorized access. BIOS can add new features or fix known problems by updating the firmware. However, improper updates may cause the system to fail to boot, so caution is required. ‌BIOS can provide the computer with the lowest level and most direct hardware identification, detection and control in the industrial computer system to ensure that the hardware works properly and the operating system starts correctly. The BIOS program is stored in the ROM chip, which sets and manages the basic input and output system of the microcomputer to keep the system's hardware configuration running in the best state.

[0052] Among them, the RTC clock IC (Real-Time Clock) can provide accurate clock and calendar information, including year, month, day, week, hour, minute and second, etc. The RTC clock IC adopts low-power technology, which makes the power consumption extremely low in standby mode, which helps to extend the battery life and is particularly suitable for portable devices or systems that run for a long time. The RTC clock IC has an internal integrated alarm and timer function. Users can set specific time trigger events or perform timing tasks as needed. RTC clock IC usually supports multiple communication interfaces, such as I²C, SPI, etc. RTC clock IC is widely used in various devices that require precise time timing, such as portable devices, consumer electronics, embedded systems, industrial computers, etc.

[0053] As an example, referring to FIG. 2 , in an exemplary embodiment, another timed power on / off method based on an ARM architecture core processor is provided, including:

[0054] S201, determining whether the power-on time has been reached according to the power-on time pre-set in the BIOS and the current time.

[0055] S202, when the power-on time arrives, notify the ARM architecture core processor to power on.

[0056] Specifically, the industrial computer can be powered on through the following steps: after the ARM architecture core processor receives the power-on signal, it starts the power management chip or directly controls the power supply to power on the system; the ARM architecture core processor loads the BIOS, and starts the Kylin operating system after initialization is completed.

[0057] For example, in the step of scheduled startup, the ARM architecture can configure the RTC Alarm to trigger the system startup process through the wake-up pin; after receiving the RTC signal, the PMIC is controlled to turn on the main power supply.

[0058] As an example, referring to FIG. 3 , in an exemplary embodiment, another timed power on / off method based on an ARM architecture core processor is provided, including:

[0059] S301, determining whether the shutdown time has been reached according to the shutdown time pre-set in the BIOS and the current time.

[0060] S302, when the shutdown time is reached, notify the ARM architecture core processor to shut down.

[0061] Specifically, the ARM architecture core processor is shut down through the following steps: sending a shutdown command to the Kylin operating system; controlling the Kylin operating system to save target data and complete shutdown.

[0062] The step of obtaining the current time from the RTC clock IC in real time includes: the BIOS communicates with the RTC clock IC through an I²C or SPI interface, and obtains the current time at preset time intervals.

[0063] Specifically, the power-on time can be set by the following steps: responding to the user's operation of configuring the power-on time in the BIOS setting interface; storing the power-on time set by the user in a non-volatile memory.

[0064] Specifically, the shutdown time can be set by the following steps: in response to the user's operation of configuring the shutdown time in the BIOS setting interface, the shutdown time set by the user is stored in a non-volatile memory.

[0065] Exemplarily, the ARM architecture can cooperate with the BIOS to set the shutdown time in the scheduled shutdown step; and notify the operating system to save data and then turn off the power through GPIO or a dedicated signal line.

[0066] Exemplarily, the ARM architecture can also act as a bridge to work in conjunction with the BIOS, RTC, and operating system; and transmit shutdown or startup instructions through ACPI or other communication protocols.

[0067] Industrial computers developed based on ARM architecture processors and Kylin operating system have the characteristics of high-performance processing capabilities.

[0068] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0069] The timed power on and off method and industrial computer based on the ARM architecture core processor proposed in the present application can at least obtain the current time in real time from the RTC clock IC; according to the current time, the pre-set power on time and the pre-set power off time, the ARM architecture core processor is controlled to start or shut down, thereby realizing the timed power on and off function of the industrial computer based on the ARM platform, and improving the energy-saving capability and wide applicability of the ARM platform.

[0070] Each step in the above-mentioned timed power on / off method based on the ARM architecture core processor can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0071] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0072] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0073] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A timed power on / off method based on an ARM architecture core processor, characterized in that: Applied in an industrial computer, the method comprises: Get the current time from the RTC clock IC in real time; Control the industrial computer to start or shut down according to the current time, the preset start time and the preset shutdown time.

2. The method according to claim 1, characterized in that Control the startup of the industrial computer through the following steps: Determining whether the power-on time has been reached according to the power-on time pre-set in the BIOS and the current time; When the startup time arrives, the ARM architecture core processor is notified to start up.

3. The method according to claim 1, characterized in that Use the following steps to shut down the industrial control system: Determining whether the shutdown time has been reached according to the shutdown time pre-set in the BIOS and the current time; When the shutdown time is reached, the ARM architecture core processor is notified to shut down.

4. The method according to claim 1, characterized in that: The ARM architecture core processor is shut down through the following steps: Send a shutdown command to Kylin OS; Control the Kylin operating system to save target data and complete shutdown.

5. The method according to claim 1, characterized in that The industrial computer is powered on by the following steps: After receiving the power-on signal, the ARM architecture core processor starts the power management chip or directly controls the power supply to power on the system; The ARM architecture core processor loads the BIOS and starts the Kylin operating system after initialization.

6. The method according to claim 1, characterized in that The steps to obtain the current time from the RTC clock IC in real time include: The BIOS communicates with the RTC clock IC through the I²C or SPI interface and obtains the current time at preset time intervals.

7. The method according to claim 2, characterized in that To set the power-on time, follow these steps: In response to a user's operation of configuring the boot time in the BIOS setup interface; The power-on time set by the user is stored in non-volatile memory.

8. The method according to claim 3, characterized in that To set the shutdown time, follow these steps: In response to a user's operation of configuring a shutdown time in a BIOS setup interface; The user-set shutdown time is stored in non-volatile memory.

9. An industrial computer, characterized in that: The industrial computer includes an ARM architecture core processor, BIOS and RTC clock IC. Among them, the RTC clock IC is used to output the current time to the BIOS; the BIOS is used to obtain the current time from the RTC clock IC in real time; according to the current time, the preset power-on time and the preset power-off time, the ARM architecture core processor is controlled to start or shut down.

10. The industrial computer according to claim 9, characterized in that: The industrial computer also includes a Kylin operating system.

Citation Information

Patent Citations

  • Automatic startup method suitable for domestic CPU computer

    CN111913754A

  • System and method for setting timed startup of BIOS of Loongson desktop computer

    CN112286585A

  • ARM server, starting method and device thereof and readable storage medium

    CN115495160A

  • Method for finishing fixed time task by domestic electric equipment

    CN1673960A

  • Video processor capable of automatically turning on and turning off

    CN203675201U

Cited By

  • EC-based sequential control method and industrial personal computer

    CN119668386A