CN111752760B - 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
CN111752760B
CN111752760B CN202010623779.8A CN202010623779A CN111752760B CN 111752760 B CN111752760 B CN 111752760B CN 202010623779 A CN202010623779 A CN 202010623779A CN 111752760 B CN111752760 B CN 111752760B
Authority
CN
China
Prior art keywords
ops
equipment
hard disk
storage hard
file
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.)
Active
Application number
CN202010623779.8A
Other languages
Chinese (zh)
Other versions
CN111752760A (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

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, a system and a readable storage medium of an integrated machine, wherein the maintenance method of the integrated machine comprises the following steps: mounting a storage hard disk of the OPS equipment on the body equipment; writing a system file which is pre-stored in the body equipment and used for the OPS equipment to restore the system into the storage hard disk; and controlling the system file to run on a storage hard disk so as to carry out system recovery on 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 number of maintenance operations are not required to be carried out on the OPS equipment, one-key system recovery is carried out on the OPS equipment simply, the step of recovering the system of the OPS equipment is simplified, and the difficulty of maintenance of 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 present application relates to the field of OPS technologies, and in particular, to a maintenance method, apparatus, system and readable storage medium for an integrated machine.
Background
OPS (Open Pluggable Specification ) is a standardized digital signage interface specification co-formulated by Intel and display manufacturers. The OPS is composed of an X86 mini PC, which is an Intel Rui processor with memory, hard disk, multiple input/output interfaces and Windows operation interface. The OPS computer or the OPS module is an open pluggable computer module, is also a microcomputer, can be plugged and unplugged, is widely applied to an interactive tablet, and can cause abnormal system operation problems in the operation process of the OPS equipment, so that the system of the OPS equipment needs to be maintained.
In the present stage, the problem of system abnormality of the OPS device is solved or depends mainly on the device provider of the OPS device, when the system abnormality occurs in the OPS device, the user will choose to mail the OPS device back to the device provider, and then the device provider performs factory returning maintenance on the OPS device, or waits for a technician of the device provider to go to the gate for maintenance, in any way, the maintenance process of the OPS device is complicated, and the time spent on maintaining the OPS device system is long, so how to maintain the OPS system conveniently and efficiently is a problem to be solved.
Disclosure of Invention
In view of the foregoing, an object of the present application is to provide a maintenance method, apparatus, system and readable storage medium for an integrated machine, capable of directly recovering a system of an OPS device through a body device connected to the OPS device, without performing a large number of maintenance operations on the OPS device, and simply performing one-key system recovery on the OPS device, so as to simplify a step of recovering the system of the OPS device, and facilitate reducing difficulty of maintenance on the OPS system for a user.
The embodiment of the application provides a maintenance method of an all-in-one machine, the all-in-one machine includes body equipment and OPS equipment, OPS equipment pluggable connect in on the body equipment, OPS equipment pass through OPS interface with body equipment connects, the maintenance method of the all-in-one machine includes:
mounting a storage hard disk of the OPS equipment on the body equipment;
writing a system file pre-stored in the body equipment into the storage hard disk;
and controlling the system file to run on the storage hard disk so as to restore the system of the OPS equipment.
Further, before the storage hard disk of the OPS device is mounted on the body device, the maintenance method of the integrated machine includes:
in the running 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 user's write operation, storing the system file for system recovery of 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 with the storage hard disk through a main line, and the connection channel conversion chip is connected with a USB interface in the OPS interface, and the mounting the storage hard disk of the OPS device on the body device includes:
invoking 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 the system files pre-stored in the body device are written into the storage hard disk, the maintenance method of the integrated machine includes:
controlling the body equipment to format the storage hard disk, and carrying out storage partition division on the storage hard disk to obtain a file storage area for storing the system file and a system operation area for generating an operation system;
the writing the system file pre-stored in the body device into the storage hard disk includes:
storing a system file pre-stored in the body equipment into the file storage area;
the controlling running the system file 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 recovering 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 integrated machine includes:
detecting whether the OPS equipment can successfully run the recovered system or whether the recovered system is matched with the system file;
if the OPS equipment cannot operate 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 application also provides a maintenance device of an all-in-one machine, the all-in-one machine includes body equipment and OPS equipment, OPS equipment pluggable connect in on the body equipment, OPS equipment pass through the OPS interface with body equipment connects, the maintenance device of an all-in-one machine includes:
the hard disk mounting module is used for mounting the storage hard disk of the OPS equipment on the body equipment;
the file writing module is used for writing the system files pre-stored 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 integrated machine further comprises a file storage module, wherein the file storage module is used for:
in the running 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 user's write operation, storing the system file for system recovery of 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 integrated machine further comprises a hard disk formatting module, wherein the hard disk formatting module is used for:
controlling the body equipment to format the storage hard disk, and carrying out storage partition division on the storage hard disk 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 pre-stored 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 recovering the system in the system running area.
Further, the maintenance device of the integrated machine further comprises an environmental parameter adjustment module, and the environmental parameter adjustment module comprises:
the first detection unit is used for detecting whether the OPS equipment can successfully run the recovered system or whether the recovered system is matched with the system file;
the second detection unit is used for detecting the environmental parameters of the OPS equipment if the OPS equipment cannot operate the recovered system or the recovered system is not matched with the system file;
and the adjusting unit is used for sending the environment parameters to the body equipment and controlling the body equipment to adjust the environment parameters of the OPS equipment.
The embodiment of the application also provides a maintenance system of all-in-one, the maintenance system of all-in-one includes the maintenance device of all-in-one and foretell all-in-one, the maintenance device of all-in-one with the all-in-one is connected, the all-in-one includes body equipment and OPS equipment, OPS equipment pluggable connect in on the body equipment, OPS equipment pass through the OPS interface with body equipment connects.
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 with the storage hard disk through a main line, and the connection channel conversion chip is connected with a USB interface in the OPS interface.
The embodiment of the application also provides electronic equipment, which comprises: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device runs, and the machine-readable instructions are executed by the processor to execute the steps of the maintenance method of the integrated machine.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the steps of the maintenance method of an integrated machine as described above.
According to the maintenance method, the device, the system and the readable storage medium of the integrated machine, the storage hard disk of the OPS equipment is mounted on the body equipment connected with the OPS equipment, the pre-stored system files on the body equipment are written into the storage hard disk, the system files are controlled to run on the storage hard disk after being written, the recovery of the system of the OPS equipment is completed, a large number of maintenance operations are not needed to be carried out on the OPS equipment, one-key system recovery is carried out on the OPS equipment, the step of recovering the system of the OPS equipment is simplified, and the difficulty of maintenance of the OPS system by a user is reduced.
In order to make the above 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 needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a system block diagram of a maintenance system of an all-in-one machine;
fig. 2 is a flowchart of a maintenance method of an integrated machine according to an embodiment of the present application;
FIG. 3 is a flowchart of a maintenance method of an integrated machine according to another embodiment of the present disclosure;
FIG. 4 is a schematic diagram of an OPS device connection;
fig. 5 is a schematic structural diagram of a maintenance device of an integrated machine according to an embodiment of the present application;
FIG. 6 is a second schematic structural diagram of a maintenance device of an integrated machine according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of the hard disk mounting module in FIG. 6;
FIG. 8 is a schematic diagram of the environment parameter adjustment module in FIG. 6;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, 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 apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment that a person skilled in the art would obtain without making any inventive effort is within the scope of protection of the present application.
According to research, at the present stage, the problem of system abnormality of the OPS equipment is solved or depends mainly on an equipment provider of the OPS equipment, when the system abnormality occurs in the OPS equipment, a user can select to mail the OPS equipment back to the provider, and then the provider carries out factory returning maintenance on the OPS equipment or waits for a technician of the equipment provider to go on to carry out maintenance, and in any mode, the maintenance process of the OPS equipment is complicated, and the time spent on maintaining the OPS equipment system is long, so that the problem of how to conveniently and efficiently maintain the OPS system is needed to be solved.
Based on this, the embodiment of the application provides a maintenance method of an integrated machine, which can directly restore the system of the OPS device through the body device connected with the OPS device, does not need to carry out a large number of maintenance operations on the OPS device, simply restores the system of the OPS device by one key, simplifies the process steps of restoring the system of the OPS device, and is beneficial to reducing the difficulty of maintaining the OPS system for users.
First, application scenarios applicable to the present application will be described. The method and the device can be applied to the technical field of OPS, the system of the OPS is directly recovered through the body device connected with the OPS, a large number of maintenance operations are not needed to be carried out on the OPS, one-key system recovery is carried out on the OPS conveniently, the step of recovering the system of the OPS is simplified, and the difficulty of maintenance of the OPS by a user is reduced. Referring to fig. 1, fig. 1 is a system configuration diagram of a maintenance system of an integrated machine, as shown in fig. 1, where the maintenance system of the integrated machine includes an integrated machine and a maintenance device of the integrated machine, the integrated 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 device of the integrated 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 device of the integrated machine controls the system file to run on the hard disk storage to restore the system of the OPS device.
In this embodiment of the present application, the maintenance device of the integrated machine may be a virtual device, where the maintenance device may be integrated in the integrated machine to control system recovery of the OPS device, or may be independent of the integrated machine, integrated in other independent devices, and connected to the integrated machine through other independent devices, and connected to the body device and the OPS device inside the integrated machine. Maintenance device
Referring to fig. 2, fig. 2 is a flowchart of a maintenance method of an integrated machine according to an embodiment of the present application. As shown in fig. 2, the maintenance method of an integrated machine provided in the embodiment of the present application, where the integrated machine includes a body device and an OPS device, where the OPS device is pluggable and connected to the body device, and the OPS device is connected to the body device through an OPS interface, and the maintenance method of the integrated 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 one channel can be selected from the plurality of channels, and the storage hard disk of the OPS device is mounted on the body device through the selected channel.
Here, OPS is a standardized digital signage interface specification co-formulated by Intel and display manufacturers. The OPS is composed of an X86 mini PC, which is an Intel Rui processor with memory, hard disk, multiple input/output interfaces and Windows operation interface. The OPS computer or the OPS module is an open pluggable computer module and is also a microcomputer, and the OPS module can be plugged and unplugged, so that the whole layout is attractive, and the OPS module is widely applied to electronic equipment such as a computer integrated machine, an electronic whiteboard, a digital signage and the like.
Here, mounting refers to a process of making a computer file and directory on a storage device available to a user through a file system of a computer by an operating system, that is, through mounting, a hard disk storage space of the OPS device may be accessed through an operating system of an ontology device. And taking the storage hard disk of the OPS equipment as one magnetic disk of the body equipment for reading and writing, wherein an operating system of the body equipment can be an Android system.
Here, in the discussion of the embodiment of the present application, the discussion may be performed in the case that an abnormality occurs in the operation of the OPS device system, where the operation abnormality of the OPS device system may include a system failure to start, a system poisoning, a shortage of storage space of a system disk, and the like. In other embodiments, when the OPS device is connected to the body device, the system of the OPS device may be built by mounting a storage hard disk of the OPS device to the body device and configuring a system file of the OPS device.
Step 202, writing a system file pre-stored in the body device into the storage hard disk.
After the storage hard disk of the OPS device is mounted on the body device in step 201, a pre-stored system file is written into the storage hard disk from the body device, wherein the system file written into the storage hard disk is matched with the OPS device.
Here, the system file may be a backup of a system file performed on the body device when the OPS device is connected to the body device, and the backup of the system file may be multiple, but is smaller than a system file threshold set by the body device, so as to ensure that the body device has enough space for use, and does not affect the operation of the body device itself.
When the backup system file of the OPS device is written into the body device, the backup system file needs to be distinguished from the system file of the body device, and the backup system file of the OPS device can be distinguished in terms of system file naming or stored in a designated position so as to be distinguished.
Here, when the system file is written into the storage hard disk of the OPS device, the body device may refer to the original partition of the OPS device to write the system file directly, or may reprogram the writing manner of the system file according to the problem of abnormal operation of the current OPS device system.
And 203, controlling to run the system file on the storage hard disk so as to restore the system of the OPS equipment.
In this step, after the system file written in the storage hard disk is controlled to run correctly on the storage hard disk, the system of the OPS device can be recovered.
The system files stored before the system files are cleaned before being operated, so that system file collision is avoided, and system recovery is affected, wherein the cleaning of the files can be performed through the mirror image files when the body equipment writes the system files.
According to the maintenance method of the integrated machine, the storage hard disk of the OPS equipment can be mounted on the body equipment connected with the OPS equipment, the pre-stored system files on the body equipment are written into the storage hard disk, the system files are controlled to run on the storage hard disk after being written, recovery of the system of the OPS equipment is completed, a large number of maintenance operations are not needed for the OPS equipment, one-key system recovery is conducted on the OPS equipment, the process steps for recovering the OPS equipment system are simplified, and difficulty in maintaining the OPS system by a user is reduced.
Referring to fig. 3, fig. 3 is a flowchart of a maintenance method of an integrated machine according to another embodiment of the present application. As shown in fig. 3, the maintenance method of the integrated 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.
And step 302, writing a system file pre-stored in the body equipment into the storage hard disk.
And 303, controlling the system file to run on the storage hard disk so as to restore the system of the OPS equipment.
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 effects can be achieved, which will not be described in detail.
Step 304, detecting whether the OPS device can successfully run the recovered system or whether the recovered system matches the system file.
In the step, when the system file is operated on the storage hard disk, whether the OPS equipment can successfully operate the recovered system or not is detected, or after the system is recovered, whether the recovered system is matched with the system file operated by the OPS equipment or not is detected.
And 305, if the OPS equipment cannot operate the recovered system or the recovered system is not matched with the system file, detecting the environment parameters of the OPS equipment.
In this step, if the detection in step 304 finds that the OPS device cannot operate the recovered system or that the recovered system is not matched with the operating system file, then it may be preliminarily determined that the environmental parameters of the OPS device are not matched with the system to be recovered, and the environmental parameters of the OPS device are obtained.
Here, the system that the OPS device cannot operate and recover may be a system that the OPS device cannot operate and recover completely, or may be a system that the OPS device cannot operate and recover completely, that is, the operation recovery system reaches a certain process and has a stuck condition, or may be that the operation time of the OPS device when the operation system is running is too long, etc.
Here, since the system operation of the OPS device is abnormal, the environmental parameters of the OPS device may be changed, and thus the recovered system operation is abnormal, it is necessary to detect the current environmental parameters of the OPS device.
The environmental parameters may include, among other things, power supply adaptability, operating temperature, operating relative humidity, etc.
And 306, transmitting the environmental parameters to the body equipment, and controlling the body equipment to adjust the environmental parameters of the OPS equipment.
In the step, after the existing environmental parameters of the OPS equipment are obtained, all the environmental parameters are sent to the body equipment through channels of the OPS equipment, and the body equipment is controlled to adjust the existing environmental parameters of the OPS equipment so as to adapt to the operation conditions of the recovered system.
Here, the criteria for the environmental parameter adjustment may be environmental parameters with reference to the body device, or may be environmental parameters when the OPS device is operating normally.
Further, before step 301, the maintenance method of the integrated machine includes: in the running 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 user's write operation, storing the system file for system recovery of the OPS device system in the body device.
In the step, when recovering the OPS equipment with abnormal system operation, the system files for recovering the OPS equipment are required to be backed up, and two types of obtaining modes of the system files can be adopted, one type of obtaining modes is that the system files of the OPS equipment can be backed up in the normal operation process of the OPS equipment system, and at least one backed-up system file is stored in a specific position of the body equipment; and the other is that the system file for the OPS equipment recovery system is directly written into the specific position of the body equipment by a user according to the system operation and abnormal condition of the OPS equipment.
Here, the system files to be stored include both the system files when the OPS device operates and the factory image files of the OPS device when the OPS device leaves the factory, where the factory image files need to be directly written into the body device for storage through a specific channel of the OPS device when the OPS device is connected to the body device for the first time and is not operated.
Further, referring to fig. 4, fig. 4 is a schematic diagram of connection 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 of the OPS interface; step 301 comprises: invoking 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 the step, the body equipment is controlled to call a USB interface in the OPS interface, a communication connection link is established between the body equipment and the OPS equipment through the USB interface, the communication link comprises a storage hard disk on the body equipment, a channel in the OPS equipment and a connection channel conversion chip, wherein the connection channel conversion chip is arranged on the main board, and the storage hard disk of the OPS equipment is mounted on the body equipment 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 among the OPS interfaces.
Here, the connection channel conversion chip may be a SATA (bus) to USB chip: ASM1153E (1053), NS1066 (1068), and JMS567, the connection channel switching chip is integrated onto the motherboard of the OPS.
Here, the channel for data communication exchange with the body device in the OPS device may be a channel specific for data communication with the body device in the OPS device, and the channel does not operate during normal operation of the OPS device; when the communication connection between the OPS equipment and the body equipment is needed, other channels of the OPS equipment can temporarily not work, enough bandwidth is reserved for the communication channel, and smooth communication between the OPS equipment and the body equipment is ensured.
Further, before step 302, the maintenance method of the integrated machine further includes: and controlling the body equipment to format the storage hard disk, and carrying out storage partition division on the storage hard disk 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 may be performed by a system image, and after the user selects the image, the selected image is written into the storage hard disk, all the original contents are removed, and then a new system is written.
Here, for the division of the storage hard disk, reference may be made to the division of the storage hard disk before the OPS device, and after the body device receives the storage hard disk of the OPS device, writing a read-write module, and reading and writing a partition table of a disk of the storage hard disk of the OPS device, and partitioning the storage hard disk according to the partition table.
Further, step 302 includes: and storing the system files pre-stored in the body equipment into the file storage area.
In this step, a system file is determined in a specific area in the body device, and the system file is used for recovering the OPS device, and the system file is stored 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 body device, and when the system files are stored in the file storage area, only one copy 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 recovering the system in the system running area.
In the step, when the fact that all the system files in the file storage area are stored is detected, the body equipment is controlled to read the system files from the file storage area, the body equipment is controlled to operate the system files on a storage hard disk, and the system is restored to the system operation area according to the indication of the system files.
Here, during the system recovery process or after the system recovery, the application fixed by the OPS manufacturer needs to be recovered, and the disk installation program is scanned; detecting whether the OPS installs the inherent application program or not, if not, installing the inherent application program and installing the needed dependence and the operation library, thus ensuring that the system operation is directly carried out after the system of the OPS device is recovered.
According to the maintenance method of the integrated machine, the storage hard disk of the OPS equipment is mounted on the body equipment connected with the storage hard disk, the pre-stored system files on the body equipment are written into the storage hard disk, the system files are controlled to run on the hard disk storage after the pre-stored system files are written into the storage hard disk, and recovery of a 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 ensured, a large number of maintenance operations are not required to be carried out on the OPS equipment, one-key system recovery is carried out on the OPS equipment simply, the steps of the OPS equipment system recovery process are simplified, and the difficulty of maintenance of the OPS system by a user is reduced.
Referring to fig. 5 and 6, fig. 5 is a schematic structural diagram of a maintenance device of an integrated machine according to an embodiment of the present application, and fig. 6 is a second schematic structural diagram of a maintenance device of an integrated machine according to an embodiment of the present application; FIG. 7 is a schematic diagram of the hard disk mounting module in FIG. 6; fig. 8 is a schematic structural diagram of the environmental parameter adjusting module in fig. 6. As shown in fig. 5, the maintenance device 500 of the integrated machine includes:
and the hard disk mounting module 510 is configured to mount a storage hard disk of the OPS device onto the body device.
The file writing module 520 is configured to write a system file pre-stored in the body device into the storage hard disk.
And the system recovery module 530 is 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 device 500 of the integrated machine further includes a file storage module 540, where the file storage module 540 is configured to:
in the running 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 user's write operation, storing the system file for system recovery of 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 with the storage hard disk through a main line, and the connection channel conversion chip is connected with a USB interface in the OPS interface.
Further, as shown in fig. 7, the hard disk mounting 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;
and the mounting unit 512 is configured to mount the storage hard disk of the OPS device on the body device through the communication connection link.
Further, as shown in fig. 6, the maintenance device 500 of the integrated 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 carrying out storage partition division on the storage hard disk 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 pre-stored 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 recovering the system in the system running area.
Further, as shown in fig. 6 and 8, the maintenance device 500 of the integrated machine further includes an environmental parameter adjustment module 560, where the environmental parameter adjustment module 560 includes:
a first detecting unit 561, configured to detect whether the OPS device can successfully run the recovered system, or whether the recovered system matches with the system file;
a second detecting unit 562, configured to detect an environmental parameter of the OPS device if the OPS device cannot operate the recovered system or the recovered system does not match the system file;
and the adjusting unit 563 is configured to send the environmental parameter to the body device, and control the body device to adjust the environmental parameter of the OPS device.
According to the maintenance device of the integrated machine, the storage hard disk of the OPS equipment is mounted on the body equipment connected with the OPS equipment, the prestored system files on the body equipment are written into the storage hard disk, the system files are controlled to run on the storage hard disk after being written, recovery of the system of the OPS equipment is completed, a large number of maintenance operations are not needed for the OPS equipment, one-key system recovery is conducted on the OPS equipment, the process steps for recovering the OPS equipment system are simplified, and difficulty in maintaining the OPS system by a user is reduced.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. 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 is running, 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 integrated machine in the method embodiment shown in fig. 2 or fig. 3 may be executed, and a specific implementation may refer to the method embodiment and will not be described herein.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, where the computer program may execute the steps of the maintenance method of the integrated machine in the method embodiment shown in fig. 2 or fig. 3 when the computer program is run by a processor, and a specific implementation manner may refer to the method embodiment and is not described herein again.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in 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 may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (10)

1. The maintenance method of the integrated machine is characterized in that the integrated 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 integrated machine comprises the following steps:
mounting a storage hard disk of the OPS equipment on the body equipment;
writing a system file pre-stored in the body equipment into the storage hard disk;
controlling the system file to run on the storage hard disk so as to restore the system of the OPS equipment;
the OPS device comprises a main board and a connection channel conversion chip, wherein the connection channel conversion chip is connected with the storage hard disk through a main line, the connection channel conversion chip is connected with the OPS interface, and the storage hard disk of the OPS device is mounted on the body device, and the OPS device comprises:
invoking the OPS interface and establishing a communication connection link between the body equipment and the OPS equipment through the OPS interface;
mounting a storage hard disk of the OPS equipment on the body equipment through the communication connection link;
the controlling running the system file 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 a file storage area in the storage hard disk, controlling the system file to run on the storage hard disk through the body equipment, and recovering a system to a system running area in the storage hard disk.
2. The maintenance method of the all-in-one machine according to claim 1, characterized in that before the mounting of the storage hard disk of the OPS device onto the body device, the maintenance method of the all-in-one machine includes:
in the running 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 alternatively
And in response to a write operation of a user, storing the system file for performing system recovery on the OPS device system in the body device.
3. The maintenance method of the integrated machine according to claim 1, wherein the connection channel conversion chip is disposed on the motherboard, the OPS interface includes a USB interface, and the mounting the storage hard disk of the OPS device on the body device includes:
invoking a USB interface in the OPS 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 an all-in-one machine according to claim 1, characterized in that before the writing of the system file pre-stored in the body device into the storage hard disk, the maintenance method of an all-in-one machine comprises:
controlling the body equipment to format the storage hard disk, and carrying out storage partition division on the storage hard disk to obtain a file storage area for storing the system file and a system operation area for generating an operation system;
the writing the system file pre-stored in the body device into the storage hard disk includes:
and storing the system files pre-stored in the body equipment into the file storage 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 includes:
detecting whether the OPS equipment can successfully run the recovered system or whether the recovered system is matched with the system file;
if the OPS equipment cannot operate 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, 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 the storage hard disk of the OPS equipment on the body equipment;
the file writing module is used for writing the system files pre-stored in the body equipment into the storage hard disk;
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;
the OPS equipment comprises a main board and a connection channel conversion chip, wherein the connection channel conversion chip is connected with the storage hard disk through a main line, and the connection channel conversion chip is connected with the OPS interface;
the hard disk mounting module comprises:
the establishing unit is used for calling the OPS interface and establishing a communication connection link between the body equipment and the OPS equipment through the OPS interface;
the mounting unit is used for mounting the storage hard disk of the OPS equipment on the body equipment through the communication connection link;
the system recovery module is further configured to:
and controlling the body equipment to read the system file from a file storage area in the storage hard disk, controlling the system file to run on the storage hard disk through the body equipment, and recovering a system to a system running area in the storage hard disk.
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 according to 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 manner, 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 provided on the main board, the connection channel conversion chip is connected with the storage hard disk through a main line, and the connection channel conversion chip is connected with a USB interface among the OPS interfaces.
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 over the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the method of maintenance of an all-in-one machine as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the maintenance method of an integrated machine according to any one 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 CN111752760A (en) 2020-10-09
CN111752760B true 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)

Citations (9)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7617374B2 (en) * 2007-02-26 2009-11-10 Inventec Corporation Hard disk testing method under extensible firmware interface

Patent Citations (9)

* 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
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
一种文件系统硬盘数据恢复技术研究;赵静;;电子设计工程(第23期);全文 *
硬盘常见故障及其解决方法分析;陈三丽;太原师范专科学校学报(第03期);全文 *
硬盘数据恢复技术;吴彦国;;电脑编程技巧与维护(第01期);全文 *
裸机备份与恢复技术研究;王德军;王丽娜;郝永芳;;计算机应用研究(第12期);全文 *

Also Published As

Publication number Publication date
CN111752760A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
US6662281B2 (en) Redundant backup device
US9015458B2 (en) Computer system and method for updating basic input/output system by switching between local mode and bypass mode through baseboard management controller
CN1026625C (en) Method for reconfiguration of computer, device and system
US20020194528A1 (en) Method, disaster recovery record, back-up apparatus and RAID array controller for use in restoring a configuration of a RAID device
CN102187311B (en) Methods and systems for recovering a computer system using a storage area network
CN101373433A (en) Method for updating BIOS and computer and system using the same
CN111143132B (en) BIOS recovery method, device, equipment and readable storage medium
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
CN108431781B (en) Self-diagnosis and automatic diagnostic data collection of device driver detected errors
CN102880527B (en) Data recovery method of baseboard management controller
CN107980119B (en) Server management method and server
US8429392B2 (en) Function expansion apparatus for connecting an information processing apparatus to an external storage apparatus
US20050039081A1 (en) Method of backing up BIOS settings
CN110692058A (en) Auxiliary storage device providing independent backup and recovery functions and apparatus using the same
US7861112B2 (en) Storage apparatus and method for controlling the same
CN111752760B (en) Maintenance method, device and system of all-in-one machine and readable storage 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
CN113032023B (en) Electronic equipment processing method and device and electronic equipment
CN112052122A (en) Linux system based backup and recovery system and method
JPH09101887A (en) Disk array device
CN104679545A (en) Device and device starting method
CN108346878B (en) Connector, server and server power supply switching method
CN118093240A (en) Hard disk fault processing method, device, computer equipment, storage medium and program product
CN112799876A (en) System one-key restoration method and device suitable for computer operating system

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