Industrial computer heterogeneous machine restoration method and device and computer equipment
By obtaining the hard drive information and drivers of the backup industrial control computer, the problem of not being able to quickly repair old industrial control computers when they fail is solved, enabling rapid maintenance of old industrial control computers, simplifying the operation process, and improving maintenance efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-12
- Publication Date
- 2026-04-07
AI Technical Summary
When existing old-style industrial control computers malfunction, troubleshooting cannot be done in a short time, which seriously affects work efficiency.
By acquiring the first hard drive information and general-purpose drivers of the backup industrial control computer, the system controls the operation of the operating system in the backup industrial control computer and restores the functional hardware and power supply of the faulty industrial control computer, thus achieving cross-machine restoration.
It greatly shortens troubleshooting time, is simple to use, and will not cause conflict with the computer operating system, thus achieving reliable, convenient, and fast maintenance of old industrial control computers.
Smart Images

Figure CN115168090B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer equipment, in particular to an industrial computer recovery method and device. BACKGROUND
[0002] The computer hardware components of the industrial control system and the daily office system are almost the same, but the manufacturing processes are different. Generally, the manufacturing of industrial computers has strict production processes and requirements in terms of temperature, humidity, radiation protection, dust prevention, heat dissipation, shock resistance, corrosion resistance, etc. Therefore, the service life of industrial computers is longer than that of daily office computers, and they are more suitable for running in harsh environments. However, as the update iteration time of industrial control equipment and computers becomes shorter and shorter, the spare parts of old industrial computers that have been used for more than 10 years are out of production, and software suppliers stop upgrading. When purchasing new industrial computers, the operating system and application software also need to be updated, and the cost of spare parts is becoming more and more expensive. Once a fault occurs, it will not be able to be repaired in a short time, which seriously affects work efficiency. SUMMARY
[0003] The problem solved by the present application is that when the existing old industrial computer fails, it cannot be repaired in a short time, which seriously affects work efficiency.
[0004] To solve the above problems, the present application provides a method for obtaining first hard disk information on a standby industrial computer, the first hard disk information coming from a faulty industrial computer, and the first hard disk being connected to the standby industrial computer. The first hard disk information includes a first operating system for controlling the operation of a target functional device.
[0005] A universal driver is obtained, and the universal driver is used to control the operation of the first operating system in the standby industrial computer.
[0006] The first operating system in the standby industrial computer is used to control the operation of the target functional device connected to the standby industrial computer.
[0007] Optionally, the method for obtaining a universal driver and using the universal driver to control the operation of the first operating system in the standby industrial computer comprises:
[0008] A universal driver and a backup file of the first operating system in the first hard disk information are obtained.
[0009] The universal driver controls the operation of the first operating system in the first hard disk information through the backup file.
[0010] Optionally, the method for obtaining a universal driver and using the universal driver to control the operation of the first operating system in the standby industrial computer comprises:
[0011] Obtaining boot disk information connected with the standby industrial computer, the boot disk information including a second operating system;
[0012] Restoring the first operating system to second hard disk information of the standby industrial computer through the second operating system;
[0013] Controlling the first operating system in the second hard disk information to run by the universal driver.
[0014] Optionally, after the universal driver is obtained and the universal driver is controlled to run the first operating system in the standby industrial computer, the method further includes:
[0015] Controlling functional hardware of the standby industrial computer to run, the functional hardware being from the fault industrial computer.
[0016] Optionally, the controlling the functional hardware of the standby industrial computer to run includes:
[0017] Obtaining an interface program of the functional hardware of the fault industrial computer;
[0018] Installing a driver of the functional hardware in the standby industrial computer through the interface program;
[0019] Controlling the functional hardware of the fault industrial computer to run through the driver of the functional hardware.
[0020] Optionally, after the universal driver is obtained and the universal driver is controlled to run the first operating system in the standby industrial computer, the method further includes:
[0021] Obtaining multiple voltages provided by a power module connected with the standby industrial computer;
[0022] Selecting an adaptive voltage from the multiple voltages as an access voltage to make the access voltage supply power to the target functional device.
[0023] Optionally, the obtaining the universal driver to make the universal driver run the first operating system includes:
[0024] Obtaining a control authority of the first operating system;
[0025] Controlling the first operating system according to the control authority of the first operating system to make the first operating system in the standby industrial computer run.
[0026] The industrial computer heterogeneous machine restoration method has the advantages that the industrial computer heterogeneous machine restoration method is provided, technical problems that old industrial computers cannot be troubleshooted in a short time when running faults occur, and work efficiency is seriously affected are solved, the troubleshooting time is greatly shortened, the method is simple, and no conflictive influence is caused to the computer operating system, reliability, convenience and rapidity of old industrial computer maintenance are realized, and the method can be widely applied to computer operating system maintenance.
[0027] To solve the above technical problems, the application further provides an industrial computer heterogeneous machine restoration device, which comprises:
[0028] An acquisition unit is configured to acquire first hard disk information on a standby industrial computer, the first hard disk information being from a fault industrial computer and the first hard disk being connected to the standby industrial computer, and the first hard disk information comprising a first operating system for controlling a target functional device to run,
[0029] The acquisition unit is further configured to acquire a universal driver program.
[0030] A driving unit is configured to control the first operating system in the standby industrial computer to run through the universal driver program.
[0031] A control unit is configured to control the target functional device connected to the standby industrial computer to run through the first operating system in the standby industrial computer.
[0032] The industrial computer heterogeneous machine restoration device has the same advantages as the industrial computer heterogeneous machine restoration method, and details are not repeated here.
[0033] To solve the above technical problems, the application further provides a computer device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the industrial computer heterogeneous machine restoration method when executing the computer program.
[0034] The computer device has the same advantages as the industrial computer heterogeneous machine restoration method, and details are not repeated here.
[0035] To solve the above technical problems, the application further provides a computer readable storage medium, which stores a computer program, and the computer program implements the steps of the industrial computer heterogeneous machine restoration method when executed by a processor.
[0036] The computer readable storage medium has the same advantages as the industrial computer heterogeneous machine restoration method, and details are not repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0037] Figure 1 This is a diagram illustrating the application environment of the industrial control computer cross-machine restoration method in this embodiment of the invention.
[0038] Figure 2 This is a flowchart of the industrial control computer cross-machine restoration method in an embodiment of the present invention;
[0039] Figure 3 This is a structural diagram of the industrial control computer cross-machine restoration device in an embodiment of the present invention;
[0040] Figure 4 This is an internal structural diagram of a computer device in an embodiment of the present invention. Detailed Implementation
[0041] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings.
[0042] In the description of the embodiments in this application, the term "some embodiments" means that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same implementation or instance. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0043] Figure 1 This diagram illustrates the application environment of the industrial control computer cross-machine restoration method in this embodiment. (Refer to...) Figure 1 This industrial control computer (ICC) cross-machine restoration method is applied to an ICC cross-machine restoration system. The ICC cross-machine restoration system includes a terminal 110 and a server 120. The terminal 110 and server 120 are connected via a network. The terminal 110 can be a desktop terminal or a mobile terminal; the mobile terminal can be at least one of a mobile phone, tablet computer, or laptop computer. The server 120 can be a standalone server or a server cluster consisting of multiple servers.
[0044] like Figure 2 As shown, in one embodiment, a method for restoring an industrial control computer from a different machine is provided. This embodiment mainly applies this method to the above-mentioned... Figure 1 Let's take terminal 110 (or server 120) as an example. (Refer to...) Figure 2 The specific steps of this industrial control computer cross-machine restoration method are as follows:
[0045] Step 210: Obtain the information of the first hard disk on the standby industrial control computer. The information of the first hard disk comes from the faulty industrial control computer and the first hard disk is connected to the standby industrial control computer. The information of the first hard disk includes the first operating system that controls the operation of the target functional device.
[0046] Step 220: Obtain a general-purpose driver and enable the general-purpose driver to control the first operating system in the standby industrial control computer to run;
[0047] Step 230: Control the operation of the target functional device connected to the backup industrial control computer through the first operating system in the backup industrial control computer;
[0048] This embodiment provides a method for restoring an industrial control computer from another machine. It utilizes a universal driver to run the first operating system in the backup industrial control computer, solving the technical problem that when existing old industrial control computers experience operational failures, it is impossible to troubleshoot them in a short time, which seriously affects work efficiency. It greatly shortens the troubleshooting time, is simple, and does not have any conflicting effects on the computer operating system. It achieves reliability, convenience, and speed in the maintenance of old industrial control computers and can be widely applied in computer operating system maintenance.
[0049] In some embodiments, step 220, obtaining a general-purpose driver and enabling the general-purpose driver to control the operation of the first operating system in the backup industrial control computer, further includes:
[0050] Step 221: Obtain the general-purpose driver and the backup file of the first operating system in the first hard disk information; enable the general-purpose driver to control the operation of the first operating system in the first hard disk information through the backup file.
[0051] In other embodiments, step 220, obtaining a general-purpose driver and enabling the general-purpose driver to control the operation of the first operating system in the backup industrial control computer, further includes:
[0052] Step 222: Obtain boot disk information, which is connected to the backup industrial control computer. The boot disk information includes a second operating system. The first operating system is restored to the second hard disk information of the backup industrial control computer using the second operating system. The general-purpose driver controls the first operating system in the second hard disk information to run. The second hard disk is connected to the backup industrial control computer.
[0053] Thus, when the first hard disk information contains a backup file of the first operating system, the backup first operating system is run directly using a general-purpose driver; when the hard disk information does not contain a backup file of the first operating system, the files of the first operating system are restored to the second hard disk information of the backup industrial control computer using the second operating system in the boot disk information, and then the backup first operating system in the second hard disk information is run using a general-purpose driver.
[0054] Preferably, the second operating system is a Windows PE operating system, and the boot disk information is a USB flash drive, or it can be a CD, or it can be other devices, which will not be elaborated here.
[0055] In some embodiments, after obtaining the general-purpose driver and enabling the general-purpose driver to control the first operating system in the backup industrial control computer, step 220 further includes:
[0056] Step 223: Activate the functional hardware of the backup industrial control computer, which is derived from the faulty industrial control computer.
[0057] In the above embodiments, enabling the functional hardware of the backup industrial control computer to operate includes:
[0058] Step 2231: Obtain the interface program of the functional hardware of the faulty industrial control computer;
[0059] Step 2232: Install the driver program for the functional hardware into the backup industrial control computer through the interface program;
[0060] Step 2233: Control the operation of the functional hardware of the faulty industrial control computer through the driver program of the functional hardware.
[0061] Preferably, in this embodiment, the driver for the functional hardware is obtained by online download, which is a simple and direct method.
[0062] In some embodiments, after obtaining the general-purpose driver and enabling the general-purpose driver to control the first operating system in the backup industrial control computer, step 220 further includes:
[0063] Step 224: Obtain multiple voltages provided by the power module, which is connected to the backup industrial control computer, and select an appropriate voltage from the multiple voltages as the access voltage so that the access voltage supplies power to the target functional device.
[0064] In some embodiments, step 220, obtaining a general-purpose driver and enabling the general-purpose driver to control the operation of the first operating system in the backup industrial control computer, includes:
[0065] Step 225: Obtain control permissions for the first operating system, and control the first operating system according to the control permissions of the first operating system so that the first operating system in the backup industrial control computer can run.
[0066] In this embodiment, control permissions can be obtained by acquiring the system registration code or directly through communication to ensure the operation of the first operating system in the backup industrial control computer.
[0067] In a specific example, a method for restoring an industrial control computer (ICC) from a different machine is provided, applicable to an imported grinding machine ICC used to control grinding machine control equipment. In this embodiment, the imported grinding machine ICC has been in operation for many years, resulting in severe aging. Furthermore, due to the loss of technical personnel, the application software and installation instructions are completely unavailable, with very little information available online, making it impossible to reinstall the application software independently. The original manufacturer also cannot provide free technical support. The motherboard and main chip models, or similar models, have long been discontinued and are no longer available on the market; spare parts are difficult to procure in the short term and are expensive. While restoring the computer using other models of motherboards and other hardware via hard drive information ghost files or operating system ghost files results in a blue screen error during operation, rendering the computer unusable.
[0068] Therefore, the specific method for restoring an industrial control computer from a different machine provided in this embodiment includes:
[0069] Step 2100: Obtain the information of the first hard disk on the standby industrial control computer. The information of the first hard disk comes from the faulty imported grinding machine industrial control computer and the first hard disk is connected to the standby industrial control computer. The information of the first hard disk includes the first operating system that controls the operation of the imported grinding machine.
[0070] Step 2200: Obtain the Windows PE operating system from the USB flash drive and back up the first operating system of the faulty imported grinding machine industrial computer to the second hard drive information of the backup industrial computer;
[0071] Step 2300: Obtain the general-purpose driver and use the general-purpose driver with control permissions to run the first operating system backed up in the second hard disk information;
[0072] Step 2400: Turn off the power of the backup industrial control computer, obtain the functional hardware of the faulty imported grinding machine industrial control computer, install the functional hardware on the backup industrial control computer, and download the driver of the functional hardware online to make the functional hardware run. The functional hardware includes a counter card with 4 PCI slots IBSO, a PCI800 serial communication card, a Profibus communication card, and a graphics card.
[0073] Step 2500: Obtain the power module and install it on the backup industrial computer. The power module is connected to the MB-IO interface device on the backup industrial computer to supply power to the imported grinding machine.
[0074] Step 2600: Connect the backup industrial control computer to the imported grinding machine and control the operation of the imported grinding machine through the first operating system in the backup industrial control computer.
[0075] Therefore, this embodiment implements a method for restoring an imported grinding machine industrial computer from another machine by sequentially backing up the original operating system, running the driver on a different machine, installing functional hardware, and injecting functional hardware drivers. It only takes 2-3 hours to restore the control function of the imported grinding machine industrial computer, which greatly shortens the troubleshooting time. The method is simple and will not cause conflict with the computer operating system. It realizes the reliability, convenience and speed of maintaining old industrial computers and can be widely used in computer operating system maintenance.
[0076] like Figure 3 As shown, in one embodiment, an industrial control computer cross-machine restoration device is provided, comprising:
[0077] The acquisition unit 310 is used to acquire information about a first hard disk on a standby industrial control computer. This first hard disk information originates from the faulty industrial control computer and is connected to the standby industrial control computer. The first hard disk information includes a first operating system that controls the operation of the target functional device.
[0078] The acquisition unit 310 is also used to acquire a general-purpose driver.
[0079] A drive unit 320 is used to control the operation of the first operating system in the backup industrial control computer through the general-purpose driver program;
[0080] Control unit 330 is used to control the operation of the target functional device connected to the backup industrial control computer through a first operating system in the backup industrial control computer.
[0081] In this embodiment, the acquisition unit 310 is also used to acquire a general driver and to acquire a backup file of the first operating system in the first hard disk information.
[0082] The acquisition unit 310 in this embodiment is also used to acquire boot disk information, which is connected to the backup industrial control computer. The boot disk information includes a second operating system. The first operating system is restored to the second hard disk information of the backup industrial control computer through the second operating system.
[0083] In this embodiment, the drive unit 320 is used to enable the functional hardware of the backup industrial control computer to run, and the functional hardware comes from the faulty industrial control computer.
[0084] In this embodiment, the acquisition unit 310 is also used to acquire multiple voltages provided by the power module, which is connected to the backup industrial control computer, and select an appropriate voltage from the multiple voltages as the access voltage so that the access voltage supplies power to the target functional device.
[0085] In this embodiment, the acquisition unit 310 is also used to acquire the interface program of the functional hardware of the faulty industrial control computer, and install the driver program of the functional hardware in the backup industrial control computer through the interface program; the control unit 330 is used to control the operation of the functional hardware of the faulty industrial control computer through the driver program of the functional hardware.
[0086] In this embodiment, the acquisition unit 310 is also used to acquire control permissions of the first operating system, and the control unit 330 is used to control the first operating system according to the control permissions of the first operating system so that the first operating system in the backup industrial control computer can run.
[0087] The industrial control computer cross-machine restoration device and the industrial control computer cross-machine restoration method described in this invention have the same advantages over the prior art, and will not be repeated here.
[0088] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the above-described industrial control computer cross-machine restoration method.
[0089] Figure 4 An internal structural diagram of a computer device in one embodiment is shown. Specifically, this computer device may be... Figure 1 Terminal 110 (or server 120) in the middle. For example... Figure 4 As shown, the computer device includes a processor, memory, network interface, input device, and display screen connected via a system bus. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system and may also store computer programs. When executed by the processor, these programs enable the processor to implement a method for underwater synchronous localization and mapping of an underwater robot. The internal memory may also store computer programs, which, when executed by the processor, enable the processor to execute a dynamic graphics generation method. The display screen can be an LCD screen or an e-ink screen. The input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.
[0090] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-described industrial control computer cross-machine restoration method.
[0091] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0092] While the disclosure is as stated above, its scope of protection is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of this disclosure, and all such changes and modifications will fall within the protection scope of this invention.
Claims
1. A method for restoring an industrial control computer from a different machine, characterized in that, include: Obtain the information of the first hard drive on the backup industrial control computer. The information of the first hard drive comes from the faulty industrial control computer and the first hard drive is connected to the backup industrial control computer. The information of the first hard drive includes the first operating system that controls the operation of the target functional device. Obtain a general-purpose driver so that the general-purpose driver controls the operation of the first operating system in the standby industrial control computer; The first operating system in the backup industrial control computer controls the operation of the target functional device connected to the backup industrial control computer. The step of acquiring a general-purpose driver to enable the general-purpose driver to control the operation of the first operating system in the backup industrial control computer includes: Obtain boot disk information, the boot disk is connected to the backup industrial control computer, and the boot disk information includes a second operating system; The first operating system is restored to the second hard drive information of the backup industrial control computer through the second operating system. The general-purpose driver enables the first operating system in the second hard disk information to run; After obtaining the generic driver to enable the generic driver to control the operation of the first operating system in the standby industrial control computer, the method further includes: The system acquires multiple voltages provided by a power module, which is connected to the backup industrial control computer. Select an appropriate voltage from the plurality of voltages as the access voltage, so that the access voltage supplies power to the target functional device; The step of acquiring a general-purpose driver to enable the general-purpose driver to control the operation of the first operating system in the backup industrial control computer includes: Obtain the generic driver and the backup file of the first operating system from the first hard disk information; The general-purpose driver enables the first operating system in the first hard disk information to run.
2. The method for restoring an industrial control computer from a different machine according to claim 1, characterized in that, After obtaining the generic driver to enable the generic driver to control the operation of the first operating system in the standby industrial control computer, the method further includes: The standby industrial control computer is made to operate its functional hardware, which is derived from the faulty industrial control computer.
3. The method for restoring an industrial control computer from a different machine according to claim 2, characterized in that, The process of enabling the standby industrial control computer to operate its functional hardware includes: Obtain the interface program for the functional hardware of the faulty industrial control computer; The driver program for the functional hardware is installed in the backup industrial control computer through the interface program. The driver program for the functional hardware controls the operation of the faulty industrial control computer's functional hardware.
4. The method for restoring an industrial control computer from a different machine according to claim 1, characterized in that, The step of obtaining a generic driver to enable the first operating system to run includes: Obtain control permissions from the first operating system; Control the first operating system according to the control authority of the first operating system, so as to make the first operating system in the backup industrial control computer run.
5. A device for restoring an industrial control computer to a different machine, characterized in that, include: The acquisition unit is used to acquire information about a first hard disk on a standby industrial control computer. The information about the first hard disk comes from the faulty industrial control computer and is connected to the standby industrial control computer. The information about the first hard disk includes a first operating system that controls the operation of the target functional device. The acquisition unit is also used to acquire a general-purpose driver. A drive unit, the drive unit being used to control the operation of the first operating system in the backup industrial control computer through the general-purpose driver; A control unit, which is used to control the operation of the target functional device connected to the backup industrial control computer through a first operating system in the backup industrial control computer; The step of acquiring a general-purpose driver to enable the general-purpose driver to control the operation of the first operating system in the backup industrial control computer includes: Obtain boot disk information, the boot disk is connected to the backup industrial control computer, and the boot disk information includes a second operating system; The first operating system is restored to the second hard drive information of the backup industrial control computer through the second operating system. The general-purpose driver enables the first operating system in the second hard disk information to run; After obtaining the general-purpose driver to enable the general-purpose driver to control the operation of the first operating system in the backup industrial control computer, the method further includes: The system acquires multiple voltages provided by a power module, which is connected to the backup industrial control computer. Select an appropriate voltage from the plurality of voltages as the access voltage, so that the access voltage supplies power to the target functional device; The step of acquiring a general-purpose driver to enable the general-purpose driver to control the operation of the first operating system in the backup industrial control computer includes: Obtain the generic driver and the backup file of the first operating system from the first hard disk information; The general-purpose driver enables the first operating system in the first hard disk information to run.
6. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the industrial control computer cross-machine restoration method according to any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the industrial control computer cross-machine restoration method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Hardware equipment configuration method and device, equipment and storage medium
CN113485756A