CN111752760A - Maintenance method, device and system of all-in-one machine and readable storage medium - Google Patents

Maintenance method, device and system of all-in-one machine and readable storage medium Download PDF

Info

Publication number
CN111752760A
CN111752760A CN202010623779.8A CN202010623779A CN111752760A CN 111752760 A CN111752760 A CN 111752760A CN 202010623779 A CN202010623779 A CN 202010623779A CN 111752760 A CN111752760 A CN 111752760A
Authority
CN
China
Prior art keywords
ops
equipment
hard disk
file
machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010623779.8A
Other languages
Chinese (zh)
Other versions
CN111752760B (en
Inventor
王云刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Honghe Innovation Information Technology Co Ltd
Original Assignee
Shenzhen Honghe Innovation Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Honghe Innovation Information Technology Co Ltd filed Critical Shenzhen Honghe Innovation Information Technology Co Ltd
Priority to CN202010623779.8A priority Critical patent/CN111752760B/en
Publication of CN111752760A publication Critical patent/CN111752760A/en
Application granted granted Critical
Publication of CN111752760B publication Critical patent/CN111752760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a maintenance method, a device and a system of an all-in-one machine and a readable storage medium, wherein the maintenance method of the all-in-one machine comprises the following steps: mounting a storage hard disk of the OPS equipment on the body equipment; writing a system file which is prestored in the body equipment and is used for the OPS equipment to carry out system recovery into the storage hard disk; and controlling the system file to run on a storage hard disk so as to recover the system of the OPS equipment. Therefore, the system of the OPS equipment can be directly recovered through the body equipment connected with the OPS equipment, a large amount of maintenance operation is not needed to be carried out on the OPS equipment, one-key system recovery is simply carried out on the OPS equipment, the step of recovering the system of the OPS equipment is simplified, and the difficulty of maintaining the OPS system by a user is reduced.

Description

Maintenance method, device and system of all-in-one machine and readable storage medium
Technical Field
The application relates to the technical field of OPS, in particular to a maintenance method, a device and a system of an all-in-one machine and a readable storage medium.
Background
The OPS (Open Pluggable Specification) is a standardized digital signage interface Specification established by Intel and display manufacturers. The OPS is internally composed of an X86-structured mini PC, adopts an Intel core processor, and is provided with a memory, a hard disk, various input and output interfaces and a Windows operation interface. The OPS computer or the OPS module is an open pluggable computer module and a microcomputer, can be plugged and unplugged, and is widely applied to an interactive flat plate.
At present, for the solution of the system abnormality problem of the OPS device, the device provider mainly depends on the OPS device, and when the OPS device is in a system abnormality, a user may choose to mail the OPS device back to the device provider, and then the device provider returns the OPS device to the factory for maintenance, or waits for a technician of the device provider to go to the home for maintenance.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus, a system and a readable storage medium for maintaining an all-in-one machine, which can directly recover a system of an OPS device through a main device connected to the OPS device, and simply perform one-key system recovery on the OPS device without performing a large number of maintenance operations on the OPS device, thereby simplifying a step of recovering the system of the OPS device and contributing to reducing difficulty in maintaining the OPS system by a user.
The embodiment of the application provides a maintenance method of an all-in-one machine, the all-in-one machine comprises body equipment and OPS equipment, the OPS equipment is connected to the body equipment in a pluggable mode, the OPS equipment is connected with the body equipment through an OPS interface, and the maintenance method of the all-in-one machine comprises the following steps:
mounting a storage hard disk of the OPS equipment on the body equipment;
writing a system file prestored in the body equipment into the storage hard disk;
and controlling the system file to run on the storage hard disk so as to recover the system of the OPS equipment.
Further, before the mounting of the storage hard disk of the OPS device on the main body device, the maintenance method of the all-in-one machine includes:
in the operation process of the OPS equipment system, carrying out system backup on the OPS equipment, and storing a system file obtained by backup in the body equipment;
or, in response to a write operation by a user, storing the system file for performing system recovery on the OPS device system in the body device.
Further, the OPS device includes a main board and a connection channel conversion chip, the connection channel conversion chip is disposed on the main board, the connection channel conversion chip is connected to the storage hard disk through a main line, and the connection channel conversion chip is connected to a USB interface in the OPS interface, the storage hard disk of the OPS device is mounted on the body device, including:
calling the USB interface, and establishing a communication connection link between the body equipment and the OPS equipment through the USB interface;
and mounting the storage hard disk of the OPS equipment on the body equipment through the communication connection link.
Further, before writing the system file pre-stored in the body device into the storage hard disk, the maintenance method of the all-in-one machine includes:
controlling the body equipment to format the storage hard disk, and dividing the storage hard disk into storage partitions to obtain a file storage area for storing the system file and a system operation area for generating an operation system;
the writing of the system file prestored in the body equipment into the storage hard disk comprises:
storing a system file prestored in the body equipment into the file storage area;
the controlling the system file to run on the storage hard disk to perform system recovery on the OPS device includes:
and controlling the body equipment to read the system file from the file storage area, controlling the system file to run on the storage hard disk through the body equipment, and restoring the system in the system running area.
Further, after the control runs the system file on the storage hard disk to perform system recovery on the OPS device, the maintenance method of the all-in-one machine includes:
detecting whether the OPS device can successfully run the recovered system or whether the recovered system is matched with the system file;
if the OPS equipment cannot run the recovered system or the recovered system is not matched with the system file, detecting the environmental parameters of the OPS equipment;
and sending the environmental parameters to the body equipment, and controlling the body equipment to adjust the environmental parameters of the OPS equipment.
The embodiment of the present application further provides a maintenance device of all-in-one machine, the all-in-one machine includes body equipment and OPS equipment, the OPS equipment pluggable connect in on the body equipment, the OPS equipment pass through the OPS interface with body equipment connects, the maintenance device of all-in-one machine includes:
the hard disk mounting module is used for mounting a storage hard disk of the OPS equipment on the body equipment;
the file writing module is used for writing a system file prestored in the body equipment into the storage hard disk;
and the system recovery module is used for controlling the system file to run on the storage hard disk so as to recover the system of the OPS equipment.
Further, the maintenance device of the all-in-one machine further comprises a file storage module, and the file storage module is used for:
in the operation process of the OPS equipment system, carrying out system backup on the OPS equipment, and storing a system file obtained by backup in the body equipment;
or, in response to a write operation by a user, storing the system file for performing system recovery on the OPS device system in the body device.
Further, the hard disk mounting module includes:
the establishing unit is used for calling the USB interface and establishing a communication connection link between the body equipment and the OPS equipment through the USB interface;
and the mounting unit is used for mounting the storage hard disk of the OPS equipment on the body equipment through the communication connection link.
Further, the maintenance device of the all-in-one machine further includes a hard disk formatting module, where the hard disk formatting module is configured to:
controlling the body equipment to format the storage hard disk, and dividing the storage hard disk into storage partitions to obtain a file storage area for storing the system file and a system operation area for generating an operation system;
the file writing module is specifically configured to:
storing a system file prestored in the body equipment into the file storage area;
the system recovery module is specifically configured to:
and controlling the body equipment to read the system file from the file storage area, controlling the system file to run on the storage hard disk through the body equipment, and restoring the system in the system running area.
Further, the maintenance device of the all-in-one machine further comprises an environmental parameter adjusting module, wherein the environmental parameter adjusting module comprises:
a first detecting unit, configured to detect whether the OPS device can successfully operate a restored system, or whether the restored system matches the system file;
a second detecting unit, configured to detect an environmental parameter of the OPS device if the OPS device cannot run a restored system or the restored system is not matched with the system file;
and the adjusting unit is used for sending the environmental parameters to the body equipment and controlling the body equipment to adjust the environmental parameters of the OPS equipment.
The embodiment of the application further provides a maintenance system of the all-in-one machine, the maintenance system of the all-in-one machine comprises the all-in-one machine and the maintenance device of the all-in-one machine, the maintenance device of the all-in-one machine is connected with the all-in-one machine, the all-in-one machine comprises body equipment and OPS equipment, the OPS equipment can be connected to the body equipment in a pluggable mode, and the OPS equipment is connected with the body equipment through an OPS interface.
Furthermore, the OPS device includes a main board and a connection channel conversion chip, the connection channel conversion chip is disposed on the main board, the connection channel conversion chip is connected to the storage hard disk through a main line, and the connection channel conversion chip is connected to a USB interface in the OPS interface.
An embodiment of the present application further provides an electronic device, including: the maintenance method comprises a processor, a memory and a bus, wherein the memory stores machine readable instructions executable by the processor, when the electronic equipment runs, the processor and the memory are communicated through the bus, and the machine readable instructions are executed by the processor to execute the steps of the maintenance method of the all-in-one machine.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the maintenance method of the all-in-one machine are executed.
According to the maintenance method, the device and the system for the all-in-one machine and the readable storage medium, the storage hard disk of the OPS equipment is mounted on the body equipment connected with the OPS equipment, the pre-stored system file on the body equipment is written into the storage hard disk, the system file is controlled to run on the storage hard disk after being written into the storage hard disk, the system of the OPS equipment is recovered, a large amount of maintenance operations on the OPS equipment are not needed, one-key system recovery is simply and conveniently performed on the OPS equipment, the step of recovering the system of the OPS equipment is simplified, and the difficulty of maintaining the OPS system by a user is reduced.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, several embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a system block diagram of a maintenance system for a kiosk;
fig. 2 is a flowchart of a maintenance method of an all-in-one machine according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a maintenance method of an all-in-one machine according to another embodiment of the present application;
FIG. 4 is a schematic diagram of an OPS device connection;
fig. 5 is a schematic structural diagram of a maintenance device of an all-in-one machine according to an embodiment of the present disclosure;
fig. 6 is a second schematic structural diagram of a maintenance device of an all-in-one machine according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a hard disk mounting module shown in FIG. 6;
FIG. 8 is a schematic diagram of an environment parameter adjustment module shown in FIG. 6;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
Research shows that, at present, the problem of system abnormality of the OPS device is solved mainly by a device provider of the OPS device, and when the OPS device is abnormal, a user may choose to mail the OPS device back to the provider, and then the provider returns the OPS device to the factory for maintenance, or waits for a technician of the device provider to go to the home for maintenance.
Based on this, the embodiment of the application provides a maintenance method of an all-in-one machine, which can directly recover a system of an OPS device through a body device connected with the OPS device, and a large amount of maintenance operations are not required to be performed on the OPS device, so that one-key system recovery is performed on the OPS device simply, the process steps of recovering the system of the OPS device are simplified, and the difficulty of maintaining the OPS system by a user is reduced.
First, an application scenario to which the present application is applicable will be described. This application can be applied to OPS technical field, and the body equipment through being connected with OPS equipment directly resumes the system of OPS equipment, need not right OPS equipment carries out a large amount of maintenance operations, simply and conveniently right OPS equipment carries out one-key system and resumes, has simplified the step to OPS equipment system recovery, helps reducing the degree of difficulty that the user maintained the OPS system. Referring to fig. 1, fig. 1 is a system structure diagram of a maintenance system of an all-in-one machine, as shown in fig. 1, the maintenance system of the all-in-one machine includes an all-in-one machine and a maintenance apparatus of the all-in-one machine, the all-in-one machine includes a body device and an OPS device, the OPS device is connected to the body device in a pluggable manner, the OPS device is connected to the body device through an OPS interface, the maintenance apparatus of the all-in-one machine can control a storage hard disk of the OPS device to be mounted on the body device, and store a system file pre-stored in the body device on the storage hard disk of the OPS device, and the maintenance apparatus of the all-in-one machine controls the hard disk storage to run the system file, so as to recover a system of the OPS.
In this application embodiment, the maintenance device of the all-in-one machine may be a virtual device, and the maintenance device may be integrated in the all-in-one machine to control system recovery of the OPS device, or may be independent of the all-in-one machine, integrated in another independent device, connected to the all-in-one machine through another independent device, and connected to the body device and the OPS device inside the all-in-one machine. Maintenance device
Referring to fig. 2, fig. 2 is a flowchart of a maintenance method of an all-in-one machine according to an embodiment of the present disclosure. As shown in fig. 2, the maintenance method of the all-in-one machine provided in the embodiment of the present application includes an apparatus body and an OPS apparatus, the OPS apparatus is connected to the apparatus body in a pluggable manner, the OPS apparatus is connected to the apparatus body through an OPS interface, and the maintenance method of the all-in-one machine includes:
step 201, mounting a storage hard disk of the OPS device on the body device.
In this step, the OPS device is provided with a plurality of channels, and may select one channel from the plurality of channels, and mount the storage hard disk of the OPS device on the main body device through the selected channel.
Here, OPS is a standardized digital signage interface specification established by Intel together with display manufacturers. The OPS is internally composed of an X86-structured mini PC, adopts an Intel core processor, and is provided with a memory, a hard disk, various input and output interfaces and a Windows operation interface. The OPS computer or the OPS module is an open pluggable computer module and is also a microcomputer, can be plugged and unplugged, has attractive overall layout, and is widely applied to electronic equipment such as computer integrated machines, electronic whiteboards, digital signage and the like.
Here, mounting refers to a process of making computer files and directories on a storage device accessible to a user through a file system of a computer by an operating system, that is, by mounting, a hard disk storage space of the OPS device can be accessed through the operating system of the main device. Namely, a storage hard disk of the OPS device is used as a magnetic disk of the body device for reading and writing, wherein an operating system of the body device may be an Android system.
Here, when the embodiment of the present application is discussed, the discussion may be performed when the OPS device system is abnormal during operation, and the abnormal operation of the OPS device system may include system failure, system poisoning, insufficient storage space of a system disk, and the like. In other embodiments, when the OPS device is connected to the main body device, the system file of the OPS device may be configured by mounting the storage hard disk of the OPS device on the main body device, so as to build the system of the OPS device.
Step 202, writing a system file pre-stored in the body equipment into the storage hard disk.
After the storage hard disk of the OPS device is mounted on the main body device in step 201, writing a pre-stored system file into the storage hard disk from the main body device, where the system file written into the storage hard disk is matched with the OPS device.
Here, the system file may be a system file backup performed on the main body device when the OPS device is connected to the main body device, and the backed-up system file may be multiple but smaller than a system file threshold set by the main body device, so as to ensure that the main body device has sufficient free space and does not affect the operation of the main body device itself.
When the backup system file of the OPS device is written into the main device, the backup system file needs to be distinguished from the system file of the main device itself, and the backup system file can be distinguished in system file name, or the backup system file of the OPS device is stored in a designated location.
Here, when writing the system file into the storage hard disk of the OPS device, the main device may write the system file as it is with reference to an element such as an original partition of the OPS device, or may re-plan a writing method of the system file according to a problem of system operation abnormality of the OPS device at present.
And 203, controlling to run the system file on the storage hard disk so as to perform system recovery on the OPS device.
In this step, after the system file written in the storage hard disk is controlled to correctly run on the storage hard disk, the system of the OPS device can be recovered.
The system file stored before the system file is run is cleared to avoid system file conflict and influence on system recovery, wherein the clearing of the file can be cleared through the mirror image file when the body device writes the system file.
The maintenance method of the all-in-one machine, provided by the embodiment of the application, can mount the storage hard disk of the OPS equipment to the body equipment connected with the storage hard disk, write the prestored system file on the body equipment into the storage hard disk, control the operation of the system file on the storage hard disk after writing into the storage hard disk, complete the recovery of the system of the OPS equipment, do not need to carry out a large amount of maintenance operations on the OPS equipment, simply and conveniently carry out one-key system recovery on the OPS equipment, simplify the process steps of system recovery on the OPS equipment, and contribute to reducing the difficulty of maintenance of the OPS system by a user.
Referring to fig. 3, fig. 3 is a flowchart of a maintenance method of an all-in-one machine according to another embodiment of the present application. As shown in fig. 3, the maintenance method of the all-in-one machine provided in the embodiment of the present application includes:
step 301, mounting a storage hard disk of the OPS device on the body device.
Step 302, writing a system file pre-stored in the body device into the storage hard disk.
Step 303, controlling the system file to run on the storage hard disk, so as to perform system recovery on the OPS device.
It should be noted that, the descriptions of step 301 to step 303 may refer to the descriptions of step 201 to step 203, and the same technical effect can be achieved, which is not described in detail herein.
Step 304, it is detected whether the OPS device can successfully run the restored system, or whether the restored system matches the system file.
In this step, when the system file is run on the storage hard disk, it is detected whether the OPS device can run the recovered system successfully, or after the system is recovered, it is detected whether the recovered system matches with the system file run by the OPS device.
Step 305, detecting the environmental parameters of the OPS device if the OPS device cannot run the recovered system or the recovered system is not matched with the system file.
In this step, if it is found through the detection in step 304 that there is a case that the OPS device cannot operate the recovered system or the recovered system is not matched with the operating system file, at this time, it may be preliminarily determined that the environmental parameter of the OPS device is not adapted to the system that needs to be recovered, and the environmental parameter of the OPS device is obtained.
Here, the system in which the OPS device cannot operate and recover may be a system in which the OPS device cannot operate and recover at all, or a system in which the OPS device cannot operate and recover at all, that is, the operation recovery system is stuck when reaching a certain process, or an operation time of the OPS device when operating the system is too long.
Here, since the abnormal operation of the OPS device may cause the environmental parameter of the OPS device to change, thereby causing the abnormal operation of the recovered system, the current environmental parameter of the OPS device needs to be detected.
The environmental parameters may include power adaptability, operating temperature, operating relative humidity, and the like.
And step 306, sending the environment parameters to the body equipment, and controlling the body equipment to adjust the environment parameters of the OPS equipment.
In this step, after the existing environmental parameters of the OPS device are obtained, all the environmental parameters are sent to the main body device through the channel of the OPS device, and the main body device is controlled to adjust the existing environmental parameters of the OPS device so as to adapt to the running conditions of the recovered system.
Here, the criterion for the environmental parameter adjustment may be an environmental parameter referring to the main device, and may also be an environmental parameter when the OPS device is normally operated.
Further, before step 301, the maintenance method of the all-in-one machine includes: in the operation process of the OPS equipment system, carrying out system backup on the OPS equipment, and storing a system file obtained by backup in the body equipment; or responding to the writing operation of the user, and storing the system file for performing system recovery on the OPS equipment system in the body equipment.
In this step, when recovering an OPS device with an abnormal system operation, a system file for recovering the OPS device needs to be backed up, and there are two ways for acquiring the system file, one of which is to back up the system file of the OPS device and store at least one backed-up system file in a specific location of the main device in the normal operation process of the OPS device system; and the other is that the system file for the OPS equipment recovery system is directly written into a specific position of the body equipment by a user according to the system operation and abnormal conditions of the OPS equipment.
Here, the system files to be stored include both the system files when the OPS device is running and the factory image files when the OPS device is shipped from factory, and the factory image files need to be directly written into the main body device for storage through a specific channel of the OPS device when the OPS device is connected with the main body device for the first time and is not running.
Further, referring to fig. 4, fig. 4 is a schematic connection diagram of an OPS device, as shown in fig. 4, the OPS device includes a main board 401 and a connection channel conversion chip 402, the connection channel conversion chip 402 is disposed on the main board 401, the connection channel conversion chip 402 is connected to the storage hard disk 404 through a main line 403, and the connection channel conversion chip 402 is connected to a USB interface 405 in the OPS interface; step 301 comprises: calling the USB interface, and establishing a communication connection link between the body equipment and the OPS equipment through the USB interface; and mounting the storage hard disk of the OPS equipment on the body equipment through the communication connection link.
In this step, the main body device is controlled to call a USB interface in the OPS interface, and a communication connection link is established with the OPS device through the USB interface, where the communication link includes a storage hard disk on the main body device, a channel in the OPS device, and the connection channel conversion chip, where the connection channel conversion chip is disposed on the main board, and the storage hard disk of the OPS device is mounted on the main body device through the established communication connection link.
Here, the OPS interface may include a plurality of interfaces of various types, and the interface connected to the connection channel conversion chip is a USB interface in the OPS interface.
Here, the connection channel conversion chip may be a SATA (bus) to USB chip: one of ASM1153E (1053), NS1066(1068), and JMS567, which integrates the connection channel conversion chip onto the main board of the OPS.
Here, the channel used for exchanging data communication with the main body device in the OPS device may be a channel specifically used for data communication with the main body device in the OPS device, and the channel does not operate during normal operation of the OPS device; when the communication connection with the body equipment is needed through the channel, other channels of the OPS equipment can temporarily not work, enough bandwidth is reserved for the communication channel, and the smooth communication between the OPS equipment and the body equipment is ensured.
Further, before step 302, the method for maintaining the all-in-one machine further includes: and controlling the body equipment to format the storage hard disk, and dividing the storage hard disk into storage partitions to obtain a file storage area for storing the system file and a system operation area for generating an operation system.
The formatting of the storage hard disk can be performed by a system mirror image, after a user selects the mirror image, the selected mirror image is written into the storage hard disk, all original contents are cleared, and then the contents are written into a new system.
Here, for the division of the storage hard disk, the division of the storage hard disk before the OPS device may be referred to, after the main body device receives the storage hard disk of the OPS device, the read-write module is written, the partition table of the disk of the storage hard disk of the OPS device is read and written, and the storage hard disk is partitioned according to the partition table.
Further, step 302 includes: and storing the system file prestored in the body equipment into the file storage area.
In this step, a system file is determined in a specific area of the main body device, and the system file is used to restore the OPS device and store the system file in the file storage area.
Here, in order to ensure that the backed-up system files are not easily damaged, more than one identical system file may be stored in the main body device, and when the system files are stored in the file storage area, only one identical system file may be stored for a plurality of identical system files, or all identical system files may be stored in the file storage area.
Further, step 303 includes: and controlling the body equipment to read the system file from the file storage area, controlling the system file to run on the storage hard disk through the body equipment, and restoring the system in the system running area.
In this step, after it is detected that all the system files in the file storage area are stored, the body device is controlled to read the system files from the file storage area, and is controlled to run the system files on a storage hard disk, and the system is restored in the system running area according to the indication of the system files.
Here, during or after the system recovery, it is also necessary to recover the application fixed by the OPS manufacturer, and scan the disk installation program; and detecting whether the OPS installs the inherent application program or not, if not, installing the inherent application program and installing the required dependency and the running library, so that the system running can be directly carried out after the system of the OPS equipment is recovered.
According to the maintenance method of the all-in-one machine, the storage hard disk of the OPS equipment is mounted on the body equipment connected with the OPS equipment, the pre-stored system file on the body equipment is written into the storage hard disk, the system file is controlled to run on the hard disk storage after writing, and recovery of the system of the OPS equipment is completed.
Furthermore, the environmental parameters of the OPS equipment can be modified, the accuracy of system recovery is further guaranteed, a large amount of maintenance operations on the OPS equipment are not needed, one-key system recovery is simply and conveniently performed on the OPS equipment, the steps of the system recovery process of the OPS equipment are simplified, and the difficulty of maintaining the OPS system by a user is reduced.
Referring to fig. 5 and fig. 6, fig. 5 is a first schematic structural diagram of a maintenance device of an all-in-one machine provided in an embodiment of the present application, and fig. 6 is a second schematic structural diagram of the maintenance device of the all-in-one machine provided in the embodiment of the present application; FIG. 7 is a schematic structural diagram of a hard disk mounting module shown in FIG. 6; fig. 8 is a schematic structural diagram of the environment parameter adjusting module in fig. 6. As shown in fig. 5, the maintenance apparatus 500 of the all-in-one machine includes:
and a hard disk mounting module 510, configured to mount a storage hard disk of the OPS device on the main body device.
A file writing module 520, configured to write a system file pre-stored in the body device into the storage hard disk.
A system recovery module 530, configured to control the system file to run on the storage hard disk, so as to perform system recovery on the OPS device.
Further, as shown in fig. 6, the maintenance apparatus 500 of the all-in-one machine further includes a file storage module 540, where the file storage module 540 is configured to:
in the operation process of the OPS equipment system, carrying out system backup on the OPS equipment, and storing a system file obtained by backup in the body equipment;
or, in response to a write operation by a user, storing the system file for performing system recovery on the OPS device system in the body device.
Furthermore, the OPS device includes a main board and a connection channel conversion chip, the connection channel conversion chip is disposed on the main board, the connection channel conversion chip is connected to the storage hard disk through a main line, and the connection channel conversion chip is connected to a USB interface in the OPS interface.
Further, as shown in fig. 7, the hard disk mount module 510 includes:
an establishing unit 511, configured to invoke the USB interface, and establish a communication connection link between the body device and the OPS device through the USB interface;
a mounting unit 512, configured to mount the storage hard disk of the OPS device onto the main body device through the communication connection link.
Further, as shown in fig. 6, the maintenance apparatus 500 of the all-in-one machine further includes a hard disk formatting module 550, where the hard disk formatting module 550 is configured to:
controlling the body equipment to format the storage hard disk, and dividing the storage hard disk into storage partitions to obtain a file storage area for storing the system file and a system operation area for generating an operation system;
the file writing module 520 is specifically configured to:
storing a system file prestored in the body equipment into the file storage area;
the system recovery module 530 is specifically configured to:
and controlling the body equipment to read the system file from the file storage area, controlling the system file to run on the storage hard disk through the body equipment, and restoring the system in the system running area.
Further, as shown in fig. 6 and fig. 8, the maintenance apparatus 500 of the all-in-one machine further includes an environmental parameter adjustment module 560, and the environmental parameter adjustment module 560 includes:
a first detecting unit 561, configured to detect whether the OPS device can successfully operate a restored system, or whether the restored system matches the system file;
a second detecting unit 562, configured to detect an environmental parameter of the OPS device if the OPS device cannot run a recovered system or the recovered system does not match the system file;
an adjusting unit 563 configured to send the environment parameter to the main device, and control the main device to adjust the environment parameter of the OPS device.
The maintenance device of all-in-one that this application embodiment provided will the storage hard disk of OPS equipment is mounted to the body equipment that links to each other with it on, will the system file write in of prestoring on the body equipment the storage hard disk is write in the back control and is in operation on the storage hard disk the system file is accomplished right the recovery of the system of OPS equipment need not right OPS equipment carries out a large amount of maintenance operations, and is simply and conveniently right OPS equipment carries out one-touch system recovery, has simplified the process step to OPS equipment system recovery, helps reducing the degree of difficulty that the user maintained the OPS system.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 9, the electronic device 900 includes a processor 910, a memory 920, and a bus 930.
The memory 920 stores machine-readable instructions executable by the processor 910, when the electronic device 900 runs, the processor 910 communicates with the memory 920 through the bus 930, and when the machine-readable instructions are executed by the processor 910, the steps of the maintenance method of the all-in-one machine in the method embodiment shown in fig. 2 or fig. 3 may be executed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the step of the maintenance method of the all-in-one machine in the method embodiment shown in fig. 2 or fig. 3 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

Claims (10)

1. A maintenance method of an all-in-one machine is characterized in that the all-in-one machine comprises body equipment and OPS equipment, the OPS equipment is connected to the body equipment in a pluggable mode, the OPS equipment is connected with the body equipment through an OPS interface, and the maintenance method of the all-in-one machine comprises the following steps:
mounting a storage hard disk of the OPS equipment on the body equipment;
writing a system file prestored in the body equipment into the storage hard disk;
and controlling the system file to run on the storage hard disk so as to recover the system of the OPS equipment.
2. The maintenance method of the all-in-one machine according to claim 1, wherein before the mounting of the storage hard disk of the OPS device on the body device, the maintenance method of the all-in-one machine comprises:
in the operation process of the OPS equipment system, carrying out system backup on the OPS equipment, and storing a system file obtained by backup in the body equipment; or
And responding to the writing operation of a user, and storing the system file for performing system recovery on the OPS equipment system in the body equipment.
3. The maintenance method of the all-in-one machine according to claim 1, wherein the OPS device includes a main board and a connection channel conversion chip, the connection channel conversion chip is disposed on the main board, the connection channel conversion chip is connected to the storage hard disk through a main line, the connection channel conversion chip is connected to a USB interface in the OPS interface, and the mounting of the storage hard disk of the OPS device to the body device includes:
calling the USB interface, and establishing a communication connection link between the body equipment and the OPS equipment through the USB interface;
and mounting the storage hard disk of the OPS equipment on the body equipment through the communication connection link.
4. The maintenance method of the all-in-one machine according to claim 1, wherein before the system file pre-stored in the body device is written into the storage hard disk, the maintenance method of the all-in-one machine comprises the following steps:
controlling the body equipment to format the storage hard disk, and dividing the storage hard disk into storage partitions to obtain a file storage area for storing the system file and a system operation area for generating an operation system;
the writing of the system file prestored in the body equipment into the storage hard disk comprises:
storing a system file prestored in the body equipment into the file storage area;
the controlling the system file to run on the storage hard disk to perform system recovery on the OPS device includes:
and controlling the body equipment to read the system file from the file storage area, controlling the system file to run on the storage hard disk through the body equipment, and restoring the system in the system running area.
5. The maintenance method of the all-in-one machine according to claim 1, wherein after the control runs the system file on the storage hard disk to perform system recovery on the OPS device, the maintenance method of the all-in-one machine comprises:
detecting whether the OPS device can successfully run the recovered system or whether the recovered system is matched with the system file;
if the OPS equipment cannot run the recovered system or the recovered system is not matched with the system file, detecting the environmental parameters of the OPS equipment;
and sending the environmental parameters to the body equipment, and controlling the body equipment to adjust the environmental parameters of the OPS equipment.
6. The utility model provides a maintenance device of all-in-one, its characterized in that, the all-in-one includes body equipment and OPS equipment, but OPS equipment pluggable connect in on the body equipment, OPS equipment pass through the OPS interface with body equipment connects, the maintenance device of all-in-one includes:
the hard disk mounting module is used for mounting a storage hard disk of the OPS equipment on the body equipment;
the file writing module is used for writing a system file prestored in the body equipment into the storage hard disk;
and the system recovery module is used for controlling the system file to run on the storage hard disk so as to recover the system of the OPS equipment.
7. The maintenance system of the all-in-one machine is characterized by comprising the all-in-one machine and the maintenance device of the all-in-one machine as claimed in claim 6, wherein the maintenance device of the all-in-one machine is connected with the all-in-one machine, the all-in-one machine comprises body equipment and OPS equipment, the OPS equipment is connected to the body equipment in a pluggable mode, and the OPS equipment is connected with the body equipment through an OPS interface.
8. The maintenance system of the all-in-one machine according to claim 7, wherein the OPS device includes a main board and a connection channel conversion chip, the connection channel conversion chip is disposed on the main board, the connection channel conversion chip is connected to the storage hard disk through a main line, and the connection channel conversion chip is connected to a USB interface in the OPS interface.
9. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the maintenance method of the all-in-one machine according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the maintenance method of a kiosk according to any of claims 1 to 5.
CN202010623779.8A 2020-06-30 2020-06-30 Maintenance method, device and system of all-in-one machine and readable storage medium Active CN111752760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010623779.8A CN111752760B (en) 2020-06-30 2020-06-30 Maintenance method, device and system of all-in-one machine and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010623779.8A CN111752760B (en) 2020-06-30 2020-06-30 Maintenance method, device and system of all-in-one machine and readable storage medium

Publications (2)

Publication Number Publication Date
CN111752760A true CN111752760A (en) 2020-10-09
CN111752760B CN111752760B (en) 2024-02-02

Family

ID=72680346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010623779.8A Active CN111752760B (en) 2020-06-30 2020-06-30 Maintenance method, device and system of all-in-one machine and readable storage medium

Country Status (1)

Country Link
CN (1) CN111752760B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506572A (en) * 2020-11-25 2021-03-16 广州朗国电子科技有限公司 OPS system restoration method, device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930831A (en) * 1995-02-23 1999-07-27 Powerquest Corporation Partition manipulation architecture supporting multiple file systems
CN1534490A (en) * 2003-03-31 2004-10-06 联想(北京)有限公司 Realization method of computer hard disk data restoring and back-up
US6820214B1 (en) * 1999-07-26 2004-11-16 Microsoft Corporation Automated system recovery via backup and restoration of system state
CN1896915A (en) * 2005-07-13 2007-01-17 北京软件与信息服务业促进中心 Computer system based on key recovery function, recovery device and method
US20080209100A1 (en) * 2007-02-26 2008-08-28 Inventec Corporation Hard disk testing method under extensible firmware interface
CN102567136A (en) * 2010-12-15 2012-07-11 研祥智能科技股份有限公司 Backup and recovery method of computer system, device and computer system
US8347137B1 (en) * 2006-02-03 2013-01-01 Acronis International Gmbh System and method for bare metal restore of a computer over a network
DE102011053614A1 (en) * 2011-09-14 2013-03-14 Jurij Ivastsuk-Kienbaum Data backup device and data backup method
CN105095020A (en) * 2015-07-21 2015-11-25 中国船舶重工集团公司第七0九研究所 System backup and recovery device and system backup and recovery methods suitable for system on chip
CN107479922A (en) * 2017-08-04 2017-12-15 深圳市中兴物联科技有限公司 A kind of flash data management method, device and computer-readable recording medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930831A (en) * 1995-02-23 1999-07-27 Powerquest Corporation Partition manipulation architecture supporting multiple file systems
US6820214B1 (en) * 1999-07-26 2004-11-16 Microsoft Corporation Automated system recovery via backup and restoration of system state
CN1534490A (en) * 2003-03-31 2004-10-06 联想(北京)有限公司 Realization method of computer hard disk data restoring and back-up
CN1896915A (en) * 2005-07-13 2007-01-17 北京软件与信息服务业促进中心 Computer system based on key recovery function, recovery device and method
US8347137B1 (en) * 2006-02-03 2013-01-01 Acronis International Gmbh System and method for bare metal restore of a computer over a network
US20080209100A1 (en) * 2007-02-26 2008-08-28 Inventec Corporation Hard disk testing method under extensible firmware interface
CN102567136A (en) * 2010-12-15 2012-07-11 研祥智能科技股份有限公司 Backup and recovery method of computer system, device and computer system
DE102011053614A1 (en) * 2011-09-14 2013-03-14 Jurij Ivastsuk-Kienbaum Data backup device and data backup method
CN105095020A (en) * 2015-07-21 2015-11-25 中国船舶重工集团公司第七0九研究所 System backup and recovery device and system backup and recovery methods suitable for system on chip
CN107479922A (en) * 2017-08-04 2017-12-15 深圳市中兴物联科技有限公司 A kind of flash data management method, device and computer-readable recording medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
吴彦国;: "硬盘数据恢复技术", 电脑编程技巧与维护, no. 01 *
王德军;王丽娜;郝永芳;: "裸机备份与恢复技术研究", 计算机应用研究, no. 12 *
赵静;: "一种文件系统硬盘数据恢复技术研究", 电子设计工程, no. 23 *
陈三丽: "硬盘常见故障及其解决方法分析", 太原师范专科学校学报, no. 03 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506572A (en) * 2020-11-25 2021-03-16 广州朗国电子科技有限公司 OPS system restoration method, device and storage medium

Also Published As

Publication number Publication date
CN111752760B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
US20020194528A1 (en) Method, disaster recovery record, back-up apparatus and RAID array controller for use in restoring a configuration of a RAID device
US8429392B2 (en) Function expansion apparatus for connecting an information processing apparatus to an external storage apparatus
JP4788912B2 (en) PLC
US20050039081A1 (en) Method of backing up BIOS settings
CN108431781A (en) The self diagnosis of the mistake of device driver detection and automatic diagnostic data are collected
CN111143132A (en) BIOS recovery method, device, equipment and readable storage medium
CN102750109A (en) Data synchronization system and method
CN111752760A (en) Maintenance method, device and system of all-in-one machine and readable storage medium
CN104461402A (en) Method for adjusting disk sequence among multiple controllers under linux system
CN110692058A (en) Auxiliary storage device providing independent backup and recovery functions and apparatus using the same
CN104239174A (en) BMC (baseboard management controller) remote debugging system and method
CN113672306A (en) Server component self-checking abnormity recovery method, device, system and medium
EP1185932B1 (en) Method and apparatus for automatically reintegrating a module into a computer system
KR100605031B1 (en) A method for upgrading and restoring embeded systems by using usb memory device
CN111130856A (en) Server configuration method, system, equipment and computer readable storage medium
CN116204361A (en) Asset management method, system, device and storage medium
CN110618828A (en) Data updating method and device
CN115437668A (en) Development and design method and system for tool for batch production of SSD
Cisco Using the Flash Disk
CN111399871A (en) System updating method, device, equipment and medium for HBA card
CN112968979B (en) Method for effectively preventing slave address abnormality in multi-slave system
CN115878441B (en) High-availability computing service method, system and equipment based on consistency cache
CN106599046B (en) Writing method and device of distributed file system
CN114826489B (en) Link error correction method, system, storage medium and equipment
CN212009370U (en) Distributed control equipment of power plant

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant