[go: up one dir, main page]

CN115604315A - Remote processing device and method of server and electronic equipment - Google Patents

Remote processing device and method of server and electronic equipment Download PDF

Info

Publication number
CN115604315A
CN115604315A CN202211214640.3A CN202211214640A CN115604315A CN 115604315 A CN115604315 A CN 115604315A CN 202211214640 A CN202211214640 A CN 202211214640A CN 115604315 A CN115604315 A CN 115604315A
Authority
CN
China
Prior art keywords
remote
maintenance management
recovery device
external network
processor
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.)
Pending
Application number
CN202211214640.3A
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202211214640.3A priority Critical patent/CN115604315A/en
Publication of CN115604315A publication Critical patent/CN115604315A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0209Architectural arrangements, e.g. perimeter networks or demilitarized zones

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a remote processing device and method of a server and electronic equipment. Relates to the technical field of financial science and technology. Wherein, the device includes: the system comprises a client, wherein the client is a user terminal for performing remote operation and maintenance management on an application server and is used for initiating a remote operation and maintenance management instruction, and the remote operation and maintenance management instruction at least comprises one of the following instructions: switching on and off, restarting and operating system backup recovery; the remote recovery device at least comprises a network gate, is connected with the client, receives a remote operation and maintenance management instruction, switches the internal network processing state and the external network processing state of the remote recovery device through the network gate, and performs remote operation and maintenance management on the application server by using a target management interface protocol. The invention solves the technical problem that the operation and maintenance management of the server is difficult to be carried out in a remote processing mode in the related technology.

Description

服务器的远程处理装置及方法、电子设备Server remote processing device and method, electronic device

技术领域technical field

本发明涉及金融科技技术领域,具体而言,涉及一种服务器的远程处理装置及方法、电子设备。The present invention relates to the technical field of financial technology, in particular, to a server remote processing device and method, and electronic equipment.

背景技术Background technique

目前,在IT系统运维中,经常会出现因软件异常导致服务器死机和操作系统崩溃,解决这些问题最有效的方法就是重启服务器或利用备份数据恢复系统。At present, in IT system operation and maintenance, server crashes and operating system crashes often occur due to software abnormalities. The most effective way to solve these problems is to restart the server or use backup data to restore the system.

在服务器死机和操作系统崩溃的情况下,服务器的网络服务是失效的,因此,运维人员无法通过远程连接的方式进行远程运维管理,只能到现场进行运维,大大增加了生产应用的恢复时间和运维工作压力。When the server crashes or the operating system crashes, the network service of the server is invalid. Therefore, the operation and maintenance personnel cannot perform remote operation and maintenance management through remote connection, and can only go to the site for operation and maintenance, which greatly increases the production and application costs. Recovery time and O&M workload.

另外,由于服务器一般位于企业内网,而远程运维命令、脚本、程序必须通过外网通信传输,尤其在银行、证券、政府机关等对数据安全要求较高的单位,考虑到内外网安全隔离问题,不允许内外网数据在存储在同一个磁盘上,并禁止同时访问和处理内网外数据,因此,服务器处于企业内网的情况,进一步增加了运维管理人员对服务器进行重启或恢复的运维管理效率。In addition, because the server is generally located in the enterprise intranet, remote operation and maintenance commands, scripts, and programs must be transmitted through external network communications, especially in banks, securities, government agencies and other units that have high data security requirements, considering the security isolation of internal and external networks The problem is that internal and external network data are not allowed to be stored on the same disk, and simultaneous access and processing of internal and external data is prohibited. Therefore, the situation that the server is in the enterprise intranet further increases the risk of operation and maintenance managers restarting or restoring the server. Operation and maintenance management efficiency.

针对上述的问题,目前尚未提出有效的解决方案。For the above problems, no effective solution has been proposed yet.

发明内容Contents of the invention

本发明实施例提供了一种服务器的远程处理装置及方法、电子设备,以至少解决相关技术中难以通过远程处理方式对服务器进行运维管理的的技术问题。Embodiments of the present invention provide a server remote processing device and method, and electronic equipment, so as to at least solve the technical problem in the related art that it is difficult to perform operation, maintenance and management of the server through remote processing.

根据本发明实施例的一个方面,提供了一种服务器的远程处理装置,包括:客户端,其中,所述客户端为对应用服务器进行远程运维管理的用户终端,用于发起远程运维管理指令,所述远程运维管理指令至少包括以下其中之一:开关机、重启、操作系统备份恢复;远程恢复装置,其中,所述远程恢复装置至少包括网闸,所述远程恢复装置与所述客户端连接,接收所述远程运维管理指令,通过所述网闸对所述远程恢复装置的内网处理状态、外网处理状态进行内外网处理状态切换,并利用目标管理接口协议对应用服务器进行远程运维管理。According to an aspect of an embodiment of the present invention, there is provided a remote processing device for a server, including: a client, wherein the client is a user terminal for remote operation and maintenance management of an application server, and is used to initiate remote operation and maintenance management Instructions, the remote operation and maintenance management instructions include at least one of the following: power on and off, restart, operating system backup and recovery; remote recovery device, wherein the remote recovery device includes at least a network gatekeeper, and the remote recovery device is connected to the The client connects, receives the remote operation and maintenance management instruction, switches the internal network processing state and the external network processing state of the remote recovery device through the gatekeeper, and uses the target management interface protocol to communicate with the application server. Perform remote operation and maintenance management.

进一步地,所述远程恢复装置还包括:硬盘,其中,所述硬盘至少包括:内网硬盘和外网硬盘,所述内网硬盘用于对所述远程运维管理的内网数据进行存储,所述外网硬盘用于对所述远程运维管理的外网数据进行存储;处理器,其中,所述处理器至少包括:内网处理器和外网处理器,所述内网处理器用于对内网数据进行处理,所述外网处理器用于对所述外网数据进行处理,所述网闸与所述内网处理器和所述外网处理器连接,用于通过所述内网处理器控制所述内网硬盘的可用性,以及通过所述外网处理器控制所述外网硬盘的可用性,对内网、外网进行物理隔离,控制所述内网处理器和所述外网处理器分时工作;交换区存储器,其中,所述交换区存储器与所述内网处理器和所述外网处理器连接,用于为所述内网数据和所述外网数据提供数据交换的缓冲区。Further, the remote recovery device further includes: a hard disk, wherein the hard disk at least includes: an internal network hard disk and an external network hard disk, and the internal network hard disk is used to store the internal network data of the remote operation and maintenance management, The external network hard disk is used to store the external network data of the remote operation and maintenance management; a processor, wherein the processor at least includes: an internal network processor and an external network processor, and the internal network processor is used for Processing internal network data, the external network processor is used to process the external network data, the gatekeeper is connected with the internal network processor and the external network processor, and is used to pass through the internal network The processor controls the availability of the internal network hard disk, and controls the availability of the external network hard disk through the external network processor, physically isolates the internal network and the external network, and controls the internal network processor and the external network The processor works in a time-sharing manner; an exchange area memory, wherein the exchange area memory is connected to the internal network processor and the external network processor for providing data exchange for the internal network data and the external network data buffer.

进一步地,所述远程恢复装置还包括:多个通信接口,其中,所述多个通信接口至少包括:内网通信接口和外网通信接口;多个数据接口,其中,所述多个数据接口用于对所述远程恢复装置进行维护管理,所述维护管理至少包括:装置程序升级、装置检测调试。Further, the remote recovery device further includes: multiple communication interfaces, wherein the multiple communication interfaces at least include: an internal network communication interface and an external network communication interface; multiple data interfaces, wherein the multiple data interfaces It is used for performing maintenance and management on the remote recovery device, and the maintenance management at least includes: device program upgrade, device testing and debugging.

根据本发明实施例的另一方面,还提供了一种服务器的远程处理方法,所述方法应用于上述任意一项远程处理装置,包括:通过远程恢复装置接收客户端发送的远程运维管理指令,在所述远程恢复装置为外网处理状态的情况下,存储所述远程运维管理指令;在存储所述远程运维管理指令后,通过所述远程恢复装置中的网闸进行内外网处理状态切换,将所述外网处理状态切换为所述内网处理状态,并利用目标管理接口协议,通过所述远程运维管理指令对应用服务器进行远程运维管理。According to another aspect of the embodiments of the present invention, there is also provided a remote processing method for a server, the method is applied to any one of the above-mentioned remote processing devices, including: receiving the remote operation and maintenance management command sent by the client through the remote recovery device , when the remote recovery device is in the external network processing state, storing the remote operation and maintenance management instruction; after storing the remote operation and maintenance management instruction, performing internal and external network processing through the gatekeeper in the remote recovery device State switching, switching the external network processing state to the internal network processing state, and using the target management interface protocol to perform remote operation and maintenance management on the application server through the remote operation and maintenance management command.

进一步地,通过远程恢复装置接收客户端发送的远程运维管理指令,在所述远程恢复装置为外网处理状态的情况下,存储所述远程运维管理指令,包括:接收客户端发送的远程运维管理指令,在所述远程恢复装置为外网处理状态的情况下,将所述远程运维管理指令存放至所述远程恢复装置的外网硬盘中,并通过外网处理器对所述外网硬盘中的所述远程运维管理指令进行指令验证;在所述指令验证通过的情况下,将所述远程运维管理指令存入所述远程恢复装置的交换区存储器中。Further, receiving the remote operation and maintenance management instruction sent by the client through the remote recovery device, and storing the remote operation and maintenance management instruction when the remote recovery device is in the external network processing state includes: receiving the remote operation and maintenance management instruction sent by the client The operation and maintenance management command, when the remote recovery device is in the external network processing state, the remote operation and maintenance management command is stored in the external network hard disk of the remote recovery device, and the external network processor executes the operation and maintenance management command. The remote operation and maintenance management command in the hard disk on the external network is verified; if the command is verified and passed, the remote operation and maintenance management command is stored in the exchange area memory of the remote recovery device.

进一步地,利用目标管理接口协议,通过所述远程运维管理指令对应用服务器进行远程运维管理,包括:通过所述目标管理接口协议将所述运维管理指令重新打包,得到目标运维管理指令,并将所述目标运维管理指令发送至所述远程恢复装置的内网硬盘中;通过所述远程恢复装置的内网处理器调用所述内网硬盘中的所述目标运维管理指令,对所述应用服务器进行远程运维管理。Further, using the target management interface protocol to perform remote operation and maintenance management on the application server through the remote operation and maintenance management instruction includes: repackaging the operation and maintenance management instruction through the target management interface protocol to obtain the target operation and maintenance management command, and send the target operation and maintenance management command to the intranet hard disk of the remote recovery device; call the target operation and maintenance management command in the intranet hard disk through the intranet processor of the remote recovery device , performing remote operation and maintenance management on the application server.

进一步地,通过远程恢复装置接收客户端发送的远程运维管理指令,在所述远程恢复装置为外网处理状态的情况下,利用目标管理接口协议存储所述远程运维管理指令之前,包括:接收目标对象触发的所述远程运维管理指令,通过所述客户端对所述目标对象进行身份认证;在所述身份认证通过后,对所述远程运维管理指令进行安全检测,其中,所述安全检测至少包括:病毒检测;在所述安全检测通过后,将所述远程运维管理指令发送给所述远程恢复装置。Further, the remote operation and maintenance management instruction sent by the client is received by the remote recovery device, and before the remote operation and maintenance management instruction is stored using the target management interface protocol when the remote recovery device is in the external network processing state, it includes: receiving the remote operation and maintenance management instruction triggered by the target object, and performing identity authentication on the target object through the client; after the identity authentication is passed, performing security detection on the remote operation and maintenance management instruction, wherein the The safety detection at least includes: virus detection; after the safety detection is passed, sending the remote operation and maintenance management instruction to the remote recovery device.

进一步地,对所述应用服务器进行远程运维管理之后,包括:通过所述远程恢复装置的内网处理器,获取所述远程运维管理的操作日志,并将所述操作日志发送至所述交换区存储器中,其中,所述操作日志至少包括:所述远程运维管理的运维结果;所述远程恢复装置通过所述网闸进行内外网处理状态切换,将所述内网处理状态切换为外网处理状态;通过所述远程恢复装置的外网处理器读取所述交换区存储器中的所述操作日志,并将所述操作日志进行加密,得到目标操作日志;将所述目标操作日志存储至所述外网硬盘中,并向所述客户端推送所述目标操作日志。Further, after the remote operation and maintenance management is performed on the application server, it includes: obtaining the operation log of the remote operation and maintenance management through the intranet processor of the remote recovery device, and sending the operation log to the In the storage of the exchange area, wherein, the operation log at least includes: the operation and maintenance results of the remote operation and maintenance management; the remote recovery device switches the processing state of the internal and external network through the gatekeeper, and switches the processing state of the internal network is the external network processing state; read the operation log in the exchange area memory through the external network processor of the remote recovery device, and encrypt the operation log to obtain the target operation log; The log is stored in the hard disk on the external network, and the target operation log is pushed to the client.

进一步地,通过所述网闸对所述远程恢复装置的内网处理状态、外网处理状态进行内外网处理状态切换,包括:通过所述网闸向所述远程恢复装置中的看门狗写入内外网处理状态的状态数据,并通过所述看门狗监测所述状态数据,其中,所述看门狗用于依据所述状态数据确定所述网闸的工作状态是否异常,在所述网闸的工作状态异常的情况下,向所述网闸发送复位信号;在所述网闸接收到所述复位信号的情况下,读取所述看门狗中的所述状态数据;依据所述状态数据,向所述内网处理器发送阻塞指令,并向所述外网处理器发送启动指令,将所述内网处理状态切换为所述外网处理状态;或,依据所述状态数据,向所述外网处理器发送阻塞指令,并向所述内网处理器发送启动指令,将所述外网处理状态切换为所述内网处理状态。Further, switching the internal network processing state and the external network processing state of the remote recovery device through the gatekeeper includes: writing to the watchdog in the remote recovery device through the gatekeeper Enter the state data of the internal and external network processing state, and monitor the state data through the watchdog, wherein the watchdog is used to determine whether the working state of the gatekeeper is abnormal according to the state data, and in the When the working state of the network gatekeeper is abnormal, send a reset signal to the network gatekeeper; when the network gatekeeper receives the reset signal, read the state data in the watchdog; according to the the state data, send a blocking command to the internal network processor, and send a start command to the external network processor, and switch the internal network processing state to the external network processing state; or, according to the state data , sending a blocking instruction to the external network processor, and sending a start instruction to the internal network processor, switching the external network processing state to the internal network processing state.

根据本发明实施例的另一方面,还提供了一种电子设备,包括:处理器;以及存储器,用于存储处理器的可执行指令;其中,处理器配置为经由执行可执行指令来执行上述任意一项的服务器的远程处理方法。According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the above-mentioned Any one of the server's remoting methods.

根据本发明实施例的另一方面,还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,其中,在计算机程序运行时控制计算机可读存储介质所在设备执行上述任意一项的服务器的远程处理方法。According to another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, and the computer-readable storage medium stores a computer program, wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned The remoting method for the item's server.

在本发明中,服务器的远程处理装置包括:客户端,其中,客户端为对应用服务器进行远程运维管理的用户终端,用于发起远程运维管理指令,远程运维管理指令至少包括以下其中之一:开关机、重启、操作系统备份恢复;远程恢复装置,其中,远程恢复装置至少包括网闸,远程恢复装置与客户端连接,接收远程运维管理指令,通过网闸对远程恢复装置的内网处理状态、外网处理状态进行内外网处理状态切换,并利用目标管理接口协议对应用服务器进行远程运维管理。进而解决了相关技术中难以通过远程处理方式对服务器进行运维管理的技术问题。在本发明中,通过客户端向远程恢复装置发起对应用服务器的远程运维管理指令,然后通过带有网闸的远程恢复装置,利用目标管理接口协议对应用服务器进行远程运维管理,避免了运维管理人员需要到现场对应用服务器运维管理,尤其是处于企业内网的应用服务器的运维管理情况,从而实现了提高应用服务器的运维管理效率的技术效果。In the present invention, the remote processing device of the server includes: a client, wherein the client is a user terminal for remote operation and maintenance management of the application server, and is used to initiate a remote operation and maintenance management command, and the remote operation and maintenance management command includes at least the following: One: power on and off, restart, operating system backup and recovery; remote recovery device, wherein the remote recovery device at least includes a network gatekeeper, the remote recovery device is connected to the client, receives remote operation and maintenance management instructions, and controls the remote recovery device through the network gatekeeper. Intranet processing state and external network processing state switch between internal and external network processing states, and use the target management interface protocol to perform remote operation and maintenance management on the application server. Furthermore, the technical problem in the related art that it is difficult to manage the operation and maintenance of the server through remote processing is solved. In the present invention, the remote operation and maintenance management command for the application server is initiated by the client to the remote recovery device, and then the remote operation and maintenance management of the application server is performed by using the target management interface protocol through the remote recovery device with a gatekeeper, thereby avoiding the The operation and maintenance management personnel need to go to the site to manage the operation and maintenance of the application server, especially the operation and maintenance management of the application server in the enterprise intranet, so as to achieve the technical effect of improving the operation and maintenance management efficiency of the application server.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的一种可选的服务器的远程处理装置的示意图;FIG. 1 is a schematic diagram of an optional server remote processing device according to an embodiment of the present invention;

图2是根据本发明实施例的一种可选的服务器的远程处理装置的连接结构示意图;FIG. 2 is a schematic diagram of a connection structure of an optional remote processing device of a server according to an embodiment of the present invention;

图3是根据本发明实施例的一种可选的远程恢复装置的系统模块示意图;Fig. 3 is a schematic diagram of system modules of an optional remote recovery device according to an embodiment of the present invention;

图4是根据本发明实施例的一种可选的远程恢复装置的外形结构的正视图;Fig. 4 is a front view of the outline structure of an optional remote recovery device according to an embodiment of the present invention;

图5是根据本发明实施例的一种可选的远程恢复装置的外形结构的后视图;Fig. 5 is a rear view of the outline structure of an optional remote recovery device according to an embodiment of the present invention;

图6是根据本发明实施例的一种可选的服务器的远程处理方法的流程图;FIG. 6 is a flow chart of an optional server remote processing method according to an embodiment of the present invention;

图7是根据本发明实施例的一种可选的网闸的电路连接原理图;FIG. 7 is a schematic diagram of a circuit connection of an optional gatekeeper according to an embodiment of the present invention;

图8是根据本发明实施例的一种可选的服务器的远程运维的工作流程图;FIG. 8 is a workflow diagram of an optional remote operation and maintenance of a server according to an embodiment of the present invention;

图9是根据本发明实施例的一种可选的电子设备的示意图。Fig. 9 is a schematic diagram of an optional electronic device according to an embodiment of the present invention.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed Those steps or elements may instead include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.

为了便于描述,下面对本发明涉及的部分术语或名词进行解释。For the convenience of description, some terms or nouns involved in the present invention are explained below.

IPMI,Intelligent Platform Management Interface,简称IPMI,智能平台管理接口,是一种开放标准的硬件管理接口协议,定义了嵌入式管理子系统进行通信的特定方法可用于对服务器进行控制和操作,并且只需主板电源正常,不管服务器本身处于何种状态(开机、关机、死机),都允许用户通过管理端口对服务器进行运维管理。IPMI, Intelligent Platform Management Interface, referred to as IPMI, is an open standard hardware management interface protocol, which defines a specific method for embedded management subsystems to communicate and can be used to control and operate the server, and only needs to The power supply of the motherboard is normal, no matter what state the server itself is in (starting, shutting down, crashing), users are allowed to manage the operation and maintenance of the server through the management port.

vxworks,一种嵌入式实时操作系统。vxworks, an embedded real-time operating system.

E2PROM,即EEPROM,Electrically Erasable Programmable read only memeory,指带电可擦可编程只读存储器,是一种掉电后数据不丢失的存储芯片。E2PROM, that is, EEPROM, Electrically Erasable Programmable read only memeory, refers to the electrically erasable programmable read-only memory, which is a memory chip that does not lose data after power failure.

SPI,Serial Peripheral Interface,简称SPI,串行外设接口,是一种高速的,全双工的,同步的通信总线。SPI, Serial Peripheral Interface, referred to as SPI, serial peripheral interface, is a high-speed, full-duplex, synchronous communication bus.

需要说明的是,本公开中的服务器的远程处理装置及方法可用于金融科技领域在对应用服务器进行远程运维管理的情况下,也可用于除金融科技领域之外的任意领域在对应用服务器进行远程运维管理的情况下,本公开中对服务器的远程处理装置及方法的应用领域不做限定。It should be noted that the server remote processing device and method in the present disclosure can be used in the financial technology field in the case of remote operation and maintenance management of the application server, and can also be used in any field other than the financial technology field to control the application server In the case of remote operation and maintenance management, the application field of the remote processing device and method of the server is not limited in the present disclosure.

需要说明的是,本公开所涉及的相关信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于展示的数据、分析的数据等),均为经用户授权或者经过各方充分授权的信息和数据。例如,本系统和相关用户或机构间设置有接口,在获取相关信息之前,需要通过接口向前述的用户或机构发送获取请求,并在接收到前述的用户或机构反馈的同意信息后,获取相关信息。It should be noted that the relevant information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are authorized by the user. Or information and data fully authorized by the parties. For example, there is an interface between this system and relevant users or institutions. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or institution through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or institution. information.

下面结合各实施例来进一步说明本发明。The present invention will be further described below in conjunction with various embodiments.

实施例一Embodiment one

根据本发明实施例,提供了一种可选的服务器的远程处理装置的实施例,图1是根据本发明实施例的一种可选的服务器的远程处理装置的示意图,如图1所示,该装置包括:According to an embodiment of the present invention, an embodiment of an optional remote processing device for a server is provided. FIG. 1 is a schematic diagram of an optional remote processing device for a server according to an embodiment of the present invention. As shown in FIG. 1 , The unit includes:

客户端1,客户端,其中,客户端为对应用服务器进行远程运维管理的用户终端,用于发起远程运维管理指令,远程运维管理指令至少包括以下其中之一:开关机、重启、操作系统备份恢复。Client 1, the client, where the client is a user terminal for remote operation and maintenance management of the application server, and is used to initiate remote operation and maintenance management instructions, and the remote operation and maintenance management instructions include at least one of the following: power on and off, restart, Operating system backup restore.

图2是根据本发明实施例的一种可选的服务器的远程处理装置的连接结构示意图,如图2所示,客户端1通过外部通信网络(如电信运营商网络)与远程恢复装置2相连,运维技术人员可以使用客户端1发起远程运维管理命令,通过外部通信网络,镜远程运维管理命令发送至远程恢复装置2,通过远程恢复装置2对应用服务器3的进行远程运维。Fig. 2 is a schematic diagram of the connection structure of a remote processing device of an optional server according to an embodiment of the present invention. As shown in Fig. 2, the client 1 is connected to the remote recovery device 2 through an external communication network (such as a telecom operator network) , the operation and maintenance technicians can use the client 1 to initiate a remote operation and maintenance management command, and send the remote operation and maintenance management command to the remote recovery device 2 through the external communication network, and perform remote operation and maintenance on the application server 3 through the remote recovery device 2 .

上述的远程运维管理指令可以包括开关机、重启、操作系统备份恢复,还可以包括服务器状态检查,对上述的远程运维管理指令举例说明如下:The above-mentioned remote operation and maintenance management commands may include power on and off, restart, operating system backup and recovery, and server status checks. Examples of the above-mentioned remote operation and maintenance management commands are as follows:

①服务器状态检查,检查应用服务器的物理健康特征,如温度、电压、风扇工作状态、电源状态、网卡状态等。①Server status check, check the physical health characteristics of the application server, such as temperature, voltage, fan working status, power status, network card status, etc.

②服务器重启,重启应用服务器3的操作系统。运维技术人员还可以在应用服务器3的操作系统将应用程序设置为开机自启动,使得应用服务器重启后能自动启动应用程序,恢复生产系统。② The server is restarted, and the operating system of the application server 3 is restarted. The operation and maintenance technicians can also set the application program to start automatically on the operating system of the application server 3, so that the application program can be automatically started after the application server is restarted, and the production system can be restored.

③服务器操作系统备份恢复,如果操作系统或应用程序损坏,服务器重启不能解决问题,可使用服务器备份恢复功能。应用服务器3可使用维护人员通过客户端1上传的服务器系统备份文件(如ISO镜像问题)来重建系统,完成后自动重启服务器,恢复生产应用。③ Server operating system backup and recovery. If the operating system or application program is damaged and the server restart cannot solve the problem, the server backup and recovery function can be used. The application server 3 can use the server system backup file uploaded by the maintenance personnel through the client 1 (such as the ISO image problem) to rebuild the system, and automatically restart the server after completion to restore the production application.

远程恢复装置2,远程恢复装置,其中,远程恢复装置至少包括网闸,远程恢复装置与客户端连接,接收远程运维管理指令,通过网闸对远程恢复装置的内网处理状态、外网处理状态进行内外网处理状态切换,并利用目标管理接口协议对应用服务器进行远程运维管理。Remote recovery device 2, the remote recovery device, wherein the remote recovery device at least includes a network gatekeeper, the remote recovery device is connected to the client, receives remote operation and maintenance management instructions, and processes the internal network status and external network processing status of the remote recovery device through the network gatekeeper The status is switched between the internal and external network processing status, and the remote operation and maintenance management of the application server is carried out by using the target management interface protocol.

上述的远程恢复装置中可以至少包括有网闸,上述的网闸可以用于切换远程恢复装置的内网处理状态以及外网处理状态,实现对企业的内网数据以及外网数据进行物理隔离,保证企业内网安全,上述的网闸可以为单片机芯片,如:AT89S51单片机芯片。The above-mentioned remote recovery device may include at least a network gatekeeper, and the above-mentioned network gatekeeper can be used to switch the internal network processing state and the external network processing state of the remote recovery device, so as to realize physical isolation of the internal network data and external network data of the enterprise, To ensure the security of the enterprise intranet, the above-mentioned gatekeeper can be a single-chip microcomputer chip, such as: AT89S51 single-chip microcomputer chip.

上述的目标管理接口协议可以为IPMI智能平台管理接口协议,远程恢复装置基于远程运维管理指令,通过服务器主板自带的vxworks嵌入式操作系统,按照IPMI智能平台管理接口协议对应用服务器进行控制和操作,实现对应用服务器进行远程运维管理。The above-mentioned target management interface protocol can be the IPMI intelligent platform management interface protocol, and the remote recovery device is based on the remote operation and maintenance management command, through the vxworks embedded operating system that comes with the server main board, and controls the application server according to the IPMI intelligent platform management interface protocol. Operation to realize remote operation and maintenance management of the application server.

在本实施例中,可以通过客户端向远程恢复装置发起对应用服务器的远程运维管理命令,然后通过带有网闸的远程恢复装置,利用目标管理接口协议对应用服务器进行远程运维管理,避免了运维管理人员需要到现场对应用服务器运维管理,尤其是处于企业内网的应用服务器的运维管理情况,从而实现了提高应用服务器的运维管理效率的技术效果。进而解决了相关技术中难以通过远程处理方式对服务器进行运维管理的技术问题。In this embodiment, the remote operation and maintenance management command for the application server can be initiated by the client to the remote recovery device, and then the remote operation and maintenance management of the application server can be performed by using the target management interface protocol through the remote recovery device with a gatekeeper. It avoids the need for operation and maintenance managers to go to the site to manage the operation and maintenance of the application server, especially the operation and maintenance management of the application server in the intranet of the enterprise, thereby achieving the technical effect of improving the efficiency of the operation and maintenance management of the application server. Furthermore, the technical problem in the related art that it is difficult to manage the operation and maintenance of the server through remote processing is solved.

为了保证远程恢复装置对内外网进行准确的物理隔离,保证远程运维管理的安全性,在实施例中,远程恢复装置还包括:硬盘,其中,硬盘至少包括:内网硬盘和外网硬盘,内网硬盘用于对远程运维管理的内网数据进行存储,外网硬盘用于对远程运维管理的外网数据进行存储;处理器,其中,处理器至少包括:内网处理器和外网处理器,内网处理器用于对内网数据进行处理,外网处理器用于对外网数据进行处理,网闸与内网处理器和外网处理器连接,用于通过内网处理器控制内网硬盘的可用性,以及通过外网处理器控制外网硬盘的可用性,对内网、外网进行物理隔离,控制内网处理器和外网处理器分时工作;交换区存储器,其中,交换区存储器与内网处理器和外网处理器连接,用于为内网数据和外网数据提供数据交换的缓冲区。In order to ensure that the remote recovery device accurately physically isolates the internal and external networks and ensures the security of remote operation and maintenance management, in an embodiment, the remote recovery device further includes: a hard disk, wherein the hard disk at least includes: an internal network hard disk and an external network hard disk, The internal network hard disk is used to store the internal network data of remote operation and maintenance management, and the external network hard disk is used to store the external network data of remote operation and maintenance management; the processor, wherein the processor at least includes: the internal network processor and the external network The network processor, the internal network processor is used to process the internal network data, the external network processor is used to process the external network data, the gatekeeper is connected with the internal network processor and the external network processor, and is used to control the internal network through the internal network processor. The availability of network hard disks, and the availability of external network hard disks controlled by the external network processor, the physical isolation of the internal network and the external network, and the control of the time-sharing work of the internal network processor and the external network processor; The memory is connected to the internal network processor and the external network processor, and is used to provide a data exchange buffer for internal network data and external network data.

上述的远程恢复装置还可以包括硬盘、处理器、交换区存储器,图3是根据本发明实施例的一种可选的远程恢复装置的系统模块示意图,如图3所示,硬盘可以分为内网硬盘S7以及外网硬盘S8,处理器可以分为内网处理器S1和外网处理器S2,远程恢复装置的系统模块还可以包括网闸S3、看门狗S4、交换区存储器S5、RJ45接口S6、外网通信网卡S9、硬盘电源控制S10、以及内网接口S11、,下面对图3中的各个部分进行说明:The remote recovery device described above may also include a hard disk, a processor, and a memory in a swap area. FIG. 3 is a schematic diagram of a system module of an optional remote recovery device according to an embodiment of the present invention. As shown in FIG. 3 , the hard disk can be divided into internal Network hard disk S7 and external network hard disk S8, the processor can be divided into internal network processor S1 and external network processor S2, the system module of the remote recovery device can also include network gatekeeper S3, watchdog S4, exchange area memory S5, RJ45 Interface S6, external network communication network card S9, hard disk power control S10, and internal network interface S11, the following describes each part in Figure 3:

网闸S3,网闸S3通过硬盘电源控制单元S10,控制双硬盘的可用性(即内网处理器工作时,外网硬盘失电,只有内网硬盘可用;外网处理器工作时,内网硬盘失电,只有外网硬盘可用),确保内外网数据存储的物理隔离。同时,网闸S3与内网处理器S1、外网处理器S2有信号线相连,可以控制两个处理器分时工作,实现内外网数据处理的物理隔离。Gatekeeper S3, gatekeeper S3 controls the availability of dual hard disks through the hard disk power supply control unit S10 (that is, when the internal network processor is working, the external network hard disk is powered off, and only the internal network hard disk is available; when the external network processor is working, the internal network hard disk In case of power failure, only external network hard drives are available), ensuring the physical isolation of data storage on internal and external networks. At the same time, the gatekeeper S3 is connected with the internal network processor S1 and the external network processor S2 by signal lines, and can control the two processors to work in time-sharing, so as to realize the physical isolation of data processing in the internal and external network.

看门狗S4。网闸是实现内外网数据物理隔离的核心,当网闸S3程序出现异常时,看门狗S4可以发出复位脉冲,使网闸S3系统强行复位,以保证其可靠性。Watchdog S4. The gatekeeper is the core to realize the physical isolation of internal and external network data. When the gatekeeper S3 program is abnormal, the watchdog S4 can send a reset pulse to force the gatekeeper S3 system to reset to ensure its reliability.

交换区存储器S5,交换区存储器S5为通用闪存存储器,用做内外网数据交换的缓冲区。The exchange area storage S5, the exchange area storage S5 is a general-purpose flash memory, and is used as a buffer for exchanging data between the internal and external networks.

RJ45接口S6,连接到应用服务器3管理口,实现远程恢复装置2对应用服务器3的运维。内网处理器S1调用内网硬盘S7上的运维程序,解析维护人员的远程运维管理指令和数据包,并通过RJ45接口向服务器管理口发送指令实现运维管理操作。The RJ45 interface S6 is connected to the management port of the application server 3 to realize the operation and maintenance of the application server 3 by the remote recovery device 2 . The intranet processor S1 calls the operation and maintenance program on the intranet hard disk S7, analyzes the remote operation and maintenance management instructions and data packets of the maintenance personnel, and sends instructions to the server management port through the RJ45 interface to realize the operation and maintenance management operation.

硬盘电源控制S10,在网闸S3控制下选择为内网硬盘S7和外网硬盘S8的供电。The hard disk power supply control S10 selects the power supply for the internal network hard disk S7 and the external network hard disk S8 under the control of the gatekeeper S3.

通过上述的远程恢复装置中的各个组成部分,可以实现远程恢复装置进行精确的内外网的物理隔离,以及提供应用服务器远程运维管理的支撑的技术效果。Through the various components in the above-mentioned remote recovery device, the remote recovery device can realize the precise physical isolation of the internal and external networks, and the technical effect of providing support for remote operation and maintenance management of the application server.

为了保证远程恢复装置与外部进行数据交互,在本实施例中,远程恢复装置还包括:多个通信接口,其中,多个通信接口至少包括:内网通信接口和外网通信接口;多个数据接口,其中,多个数据接口用于对远程恢复装置进行维护管理,维护管理至少包括:装置程序升级、装置检测调试。In order to ensure that the remote recovery device performs data interaction with the outside, in this embodiment, the remote recovery device also includes: a plurality of communication interfaces, wherein the plurality of communication interfaces at least include: an internal network communication interface and an external network communication interface; a plurality of data Interfaces, wherein a plurality of data interfaces are used for maintenance and management of the remote recovery device, and the maintenance management at least includes: device program upgrade, device testing and debugging.

上述的多个通信接口可以包括内网通信接口和外网通信接口,用于远程恢复装置进行网络通信,还可以包括多个数据接口,用于对远程恢复装置进行维护管理。The above-mentioned multiple communication interfaces may include an internal network communication interface and an external network communication interface for network communication of the remote recovery device, and may also include multiple data interfaces for maintenance and management of the remote recovery device.

图4是根据本发明实施例的一种可选的远程恢复装置的外形结构的正视图,图5是根据本发明实施例的一种可选的远程恢复装置的外形结构的后视图,如图4和图5所示,远程恢复装置的外形结构可以包括外网硬盘11和内网硬盘12,还包括内网网络接口22(对应于上述的内网通信接口)和外网通信卡13(对应于上述的外网通信接口),管理口21、CONSOLE接口23(设备的调试配置接口)、数据接口14,其中,上述的多个数据接口可以包括CONSOLE接口23和数据接口14,其中,上述的内网网络接口22可以不设置在远程恢复装置中。下面对远程恢复装置的正视图及测试图中的各个部分进行说明。Fig. 4 is a front view of an optional remote restoration device according to an embodiment of the present invention, and Fig. 5 is a rear view of an optional remote restoration device according to an embodiment of the present invention, as shown in Fig. 4 and FIG. 5, the external structure of the remote recovery device may include an external network hard disk 11 and an internal network hard disk 12, as well as an internal network interface 22 (corresponding to the above-mentioned internal network communication interface) and an external network communication card 13 (corresponding to The above-mentioned external network communication interface), management port 21, CONSOLE interface 23 (debugging configuration interface of equipment), data interface 14, wherein, the above-mentioned multiple data interfaces can include CONSOLE interface 23 and data interface 14, wherein, the above-mentioned The intranet network interface 22 may not be set in the remote recovery device. The front view of the remote recovery device and each part in the test diagram are described below.

(1)电源开关10,控制装置的供电。(1) The power switch 10 controls the power supply of the device.

(2)外网硬盘11,存储装置本身的外网服务运行程序以及运维过程中外网上传的数据和程序。(2) The external network hard disk 11 stores the external network service operation program of the storage device itself and the data and programs uploaded from the external network during the operation and maintenance process.

(3)内网硬盘12,存储装置本身的内网服务运行程序、应用服务器3的操作系统和应用软件的备份,另外,外网上传的数据和程序经过安全检测后存储到交换区存储器,然后再导入内网硬盘中。(3) intranet hard disk 12, the backup of the intranet service running program of the storage device itself, the operating system of the application server 3 and the application software, in addition, the data and programs uploaded from the external network are stored in the exchange area memory after security detection, and then Then import it to the internal network hard disk.

(4)外网通信卡13,负责装置与客户端1的通信连接。(4) The external network communication card 13 is responsible for the communication connection between the device and the client terminal 1 .

(5)数据接口14,进行装置本身的程序升级、维护时使用的数据接口(如USB接口)。(5) Data interface 14, a data interface (such as a USB interface) used for program upgrade and maintenance of the device itself.

(6)电源20,负责装置的供电。(6) The power supply 20 is responsible for the power supply of the device.

(7)管理口21,通过装置的管理口连线访问应用服务器3的远程管理端口,通过IPMI接口协议控制应用服务器3的开机、关机、重启,远程重装服务器操作系统,并可监视服务器的物理健康特征,如温度、电压、风扇工作状态、电源状态等等功能。(7) management port 21, access the remote management port of application server 3 by the management port connection line of device, control application server 3 start-up, shutdown, restart by IPMI interface protocol, remotely reinstall server operating system, and can monitor server Physical health characteristics, such as temperature, voltage, fan operating status, power status, and other functions.

(8)内网网络接口22,通过该接口可将远程恢复装置2接入内网,方便进行应用恢复装置的升级、应用服务器3的数据备份(如操作系统镜像、应用软件备份包)。不选择该功能,只能通过CONSOLE接口23和数据接口14进行现场运维。(8) Intranet network interface 22, through which the remote recovery device 2 can be connected to the intranet to facilitate the upgrade of the application recovery device and the data backup of the application server 3 (such as operating system mirror image, application software backup package). If this function is not selected, on-site operation and maintenance can only be performed through the CONSOLE interface 23 and the data interface 14.

(9)CONSOLE接口23,通过笔记本电脑连接CONSOLE接口用作控制界面,将移动硬盘和光驱、U盘等介质连接数据接口14用作数据源,可以对装置本身进行检测调试、固件升级等。(9) CONSOLE interface 23 is used as a control interface through a notebook computer connected to the CONSOLE interface, and the data interface 14 is used as a data source by connecting a mobile hard disk, optical drive, U disk and other media to the device itself for testing and debugging, firmware upgrades, etc.

通过远程恢复装置的外形结构中的各个部分,可以实现对远程恢复装置的管理以及远程恢复装置对外提供服务的效率的技术效果。Through each part of the appearance structure of the remote recovery device, the technical effect of the management of the remote recovery device and the efficiency of the external service provided by the remote recovery device can be realized.

上述的服务器的远程处理装置还可以包括处理器和存储器,上述客户端1、远程恢复装置2等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The above-mentioned remote processing device of the server may also include a processor and a memory, the above-mentioned client 1, the remote recovery device 2, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding Features.

上述处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来通过客户端向远程恢复装置发起对应用服务器的远程运维管理指令,然后通过带有网闸的远程恢复装置,利用目标管理接口协议对应用服务器进行远程运维管理,避免了运维管理人员需要到现场对应用服务器运维管理,尤其是处于企业内网的应用服务器的运维管理情况,从而实现了提高应用服务器的运维管理效率的技术效果。The above-mentioned processor includes a kernel, and the kernel retrieves corresponding program units from the memory. One or more kernels can be set, and by adjusting the kernel parameters, the remote operation and maintenance management command for the application server can be initiated to the remote recovery device through the client, and then the application server can be controlled by using the target management interface protocol through the remote recovery device with a gatekeeper. Remote operation and maintenance management avoids the need for operation and maintenance managers to go to the site to manage the operation and maintenance of application servers, especially the operation and maintenance management of application servers in the enterprise intranet, thereby achieving the technical effect of improving the efficiency of operation and maintenance management of application servers .

实施例二Embodiment two

根据本发明实施例,提供了一种可选的服务器的远程处理方法的实施例,服务器的远程处理方法应用于实施例一中远程处理装置,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to the embodiment of the present invention, an optional embodiment of the remote processing method of the server is provided. The remote processing method of the server is applied to the remote processing device in Embodiment 1. It should be noted that the flowchart in the accompanying drawing shows The steps of can be performed in a computer system, such as a set of computer-executable instructions, and, although a logical order is shown in the flowcharts, in some cases, the steps shown or described steps.

图6是根据本发明实施例的一种可选的服务器的远程处理方法的流程图,如图6所示,该方法包括如下步骤:Fig. 6 is a flowchart of an optional server remote processing method according to an embodiment of the present invention. As shown in Fig. 6, the method includes the following steps:

步骤S601,通过远程恢复装置接收客户端发送的远程运维管理指令,在远程恢复装置为外网处理状态的情况下,存储远程运维管理指令。Step S601, receiving the remote operation and maintenance management command sent by the client through the remote recovery device, and storing the remote operation and maintenance management command when the remote recovery device is in the external network processing state.

上述的远程恢复装置接收客户端发送的远程运维管理指令,在远程恢复装置为外网处理状态的情况下,可以将远程运维管理指令暂时缓存在远程恢复装置的交换区存储器中。The above-mentioned remote recovery device receives the remote operation and maintenance management command sent by the client, and can temporarily cache the remote operation and maintenance management command in the exchange area memory of the remote recovery device when the remote recovery device is in the external network processing state.

步骤S602,在存储远程运维管理指令后,通过远程恢复装置中的网闸进行内外网处理状态切换,将外网处理状态切换为内网处理状态,并利用目标管理接口协议,通过远程运维管理指令对应用服务器进行远程运维管理。Step S602, after storing the remote operation and maintenance management instruction, switch the processing state of the internal and external network through the gatekeeper in the remote recovery device, switch the processing state of the external network to the processing state of the internal network, and use the target management interface protocol to pass the remote operation and maintenance The management command performs remote operation and maintenance management on the application server.

远程恢复装置将远程运维管理指令暂时缓存在远程恢复装置的交换区存储器后,可以通过远程恢复装置中的网闸进行内外网处理状态切换,将外网处理状态切换为内网处理状态,在内网中利用目标管理接口协议,通过远程运维管理指令对应用服务器进行远程运维管理。After the remote recovery device temporarily caches the remote operation and maintenance management instructions in the exchange area memory of the remote recovery device, it can switch the processing state of the internal and external network through the gatekeeper in the remote recovery device, and switch the processing state of the external network to the processing state of the internal network. In the intranet, the target management interface protocol is used to perform remote operation and maintenance management on the application server through remote operation and maintenance management commands.

上述的内外网处理状态切换可以是将外网处理器状态切换到内网处理状态,也可以是将内网处理状态切换到外网处理状态。The aforementioned switching of the internal and external network processing states may be switching the external network processor state to the internal network processing state, or switching the internal network processing state to the external network processing state.

在本实施例中,可以通过客户端向远程恢复装置发起对应用服务器的远程运维管理命令,然后通过带有网闸的远程恢复装置,利用目标管理接口协议对应用服务器进行远程运维管理,避免了运维管理人员需要到现场对应用服务器运维管理,尤其是处于企业内网的应用服务器的运维管理情况,从而实现了提高应用服务器的运维管理效率的技术效果。进而解决了相关技术中难以通过远程处理方式对服务器进行运维管理的技术问题。In this embodiment, the remote operation and maintenance management command for the application server can be initiated by the client to the remote recovery device, and then the remote operation and maintenance management of the application server can be performed by using the target management interface protocol through the remote recovery device with a gatekeeper. It avoids the need for operation and maintenance managers to go to the site to manage the operation and maintenance of the application server, especially the operation and maintenance management of the application server in the intranet of the enterprise, thereby achieving the technical effect of improving the efficiency of the operation and maintenance management of the application server. Furthermore, the technical problem in the related art that it is difficult to manage the operation and maintenance of the server through remote processing is solved.

为了保证远程恢复装置在外网的数据处理的准确性,在本实施例中,通过远程恢复装置接收客户端发送的远程运维管理指令,在远程恢复装置为外网处理状态的情况下,存储远程运维管理指令,还包括以下内容:接收客户端发送的远程运维管理指令,在远程恢复装置为外网处理状态的情况下,将远程运维管理指令存放至远程恢复装置的外网硬盘中,并通过外网处理器对外网硬盘中的远程运维管理指令进行指令验证;在指令验证通过的情况下,将远程运维管理指令存入远程恢复装置的交换区存储器中。In order to ensure the accuracy of data processing by the remote recovery device on the external network, in this embodiment, the remote operation and maintenance management command sent by the client is received by the remote recovery device, and when the remote recovery device is in the processing state of the external network, the remote The operation and maintenance management command also includes the following content: receive the remote operation and maintenance management command sent by the client, and store the remote operation and maintenance management command in the external network hard disk of the remote recovery device when the remote recovery device is in the external network processing state , and perform instruction verification on the remote operation and maintenance management instruction in the external network hard disk through the external network processor; if the instruction verification is passed, store the remote operation and maintenance management instruction in the exchange area memory of the remote recovery device.

在本实施例中,客户端发送的远程运维管理指令可以通过数据包的形式进行发送,接收客户端发送包括远程运维管理指令的数据包后,可以将包括远程运维管理指令的数据包存放至远程恢复装置的外网硬盘中,数据包中还可包括对数字签名,发送远程运维管理指令的客户端信息。还可以通过外网处理器对外网硬盘中的远程运维管理指令进行指令验证,指令验证可以包括但不限于验证数字签名,在指令验证通过的情况下,可以将远程运维管理指令存入远程恢复装置的交换区存储器中。In this embodiment, the remote operation and maintenance management instruction sent by the client can be sent in the form of a data packet. After receiving the data packet including the remote operation and maintenance management instruction from the client, the data packet including the remote operation and maintenance management instruction can be sent Stored in the external network hard disk of the remote recovery device, the data packet can also include digital signatures and client information for sending remote operation and maintenance management instructions. Instruction verification can also be performed on remote operation and maintenance management instructions in the external network hard disk through the external network processor. Instruction verification can include but not limited to verification of digital signatures. restore the device's swap memory.

具体的,在远程恢复装置中,外网处理器S2收到客户端1发送的数据包(指令、数据、数字签名、客户端信息)存放在外网硬盘S8中,外网处理器S2将验证数字签名,如果不正确,删除数据包,并向客户端返回错误信息;如果数字签名正确,则将外网硬盘S8拆包后拷贝至交换区存储器S5。Specifically, in the remote recovery device, the external network processor S2 receives the data packet (command, data, digital signature, client information) sent by the client 1 and stores it in the external network hard disk S8, and the external network processor S2 will verify the digital If the signature is incorrect, delete the data packet and return an error message to the client; if the digital signature is correct, copy the external network hard disk S8 to the exchange area storage S5 after unpacking.

将外网硬盘S8拆包后拷贝至交换区存储器S5后,还可以将“阻塞”状态信息写入外网硬盘S8的“引导状态区”(确保外网处理器S2下次重启时调用日志处理程序),并通过信号线P1.5向网闸S3发送“外网切换到内网”的信号,实现了提高远程恢复装置在外网的数据处理的准确性的技术效果。After unpacking the external network hard disk S8 and copying it to the swap area memory S5, the "blocking" status information can also be written into the "boot status area" of the external network hard disk S8 (to ensure that the external network processor S2 calls the log processing when it restarts next time program), and send a signal of "switching from the external network to the internal network" to the network gatekeeper S3 through the signal line P1.

为了保证远程恢复装置在内网对应用服务器进行运维管理的准确性,在本实施例中,利用目标管理接口协议,通过远程运维管理指令对应用服务器进行远程运维管理,还包括以下内容:通过目标管理接口协议将运维管理指令重新打包,得到目标运维管理指令,并将目标运维管理指令发送至远程恢复装置的内网硬盘中;通过远程恢复装置的内网处理器调用内网硬盘中的目标运维管理指令,对应用服务器进行远程运维管理。In order to ensure the accuracy of the operation and maintenance management of the application server by the remote recovery device on the intranet, in this embodiment, the target management interface protocol is used to perform remote operation and maintenance management on the application server through remote operation and maintenance management instructions, and the following content is also included : Repackage the operation and maintenance management instructions through the target management interface protocol to obtain the target operation and maintenance management instructions, and send the target operation and maintenance management instructions to the intranet hard disk of the remote recovery device; The target operation and maintenance management command in the network hard disk is used for remote operation and maintenance management of the application server.

例如:内网处理器S1将交换区存储器S5中的数据进行按IPMI接口规范重新打包,存储到内网硬盘S7中,同时清除交换区存储器S5的数据。内网处理器S1调用内网硬盘S7上服务器运维程序,解析维护人员的远程运维指令和数据包,并通过RJ45接口S7向服务器管理口发送指令实现运维操作,实现了提高远程恢复装置在内网对应用服务器进行运维管理的准确性的技术效果。For example: the internal network processor S1 repackages the data in the exchange area storage S5 according to the IPMI interface specification, stores them in the internal network hard disk S7, and clears the data in the exchange area storage S5 at the same time. The intranet processor S1 calls the server operation and maintenance program on the intranet hard disk S7, analyzes the remote operation and maintenance instructions and data packets of the maintenance personnel, and sends instructions to the server management port through the RJ45 interface S7 to realize the operation and maintenance operation, and realizes the improvement of the remote recovery device. The technical effect of the accuracy of the operation and maintenance management of the application server on the intranet.

为了保证远程恢复装置对应用服务器进行远程运维管理的数据安全性,通过远程恢复装置接收客户端发送的远程运维管理指令,在远程恢复装置为外网处理状态的情况下,利用目标管理接口协议存储远程运维管理指令之前,包括:接收目标对象触发的远程运维管理指令,通过客户端对目标对象进行身份认证;在身份认证通过后,对远程运维管理指令进行安全检测,其中,安全检测至少包括:病毒检测;在安全检测通过后,将远程运维管理指令发送给远程恢复装置。In order to ensure the data security of the remote operation and maintenance management of the application server by the remote recovery device, the remote operation and maintenance management command sent by the client is received through the remote recovery device, and when the remote recovery device is in the external network processing state, the target management interface is used Before the protocol stores the remote operation and maintenance management instruction, it includes: receiving the remote operation and maintenance management instruction triggered by the target object, and performing identity authentication on the target object through the client; after passing the identity authentication, performing security detection on the remote operation and maintenance management instruction, among which The safety detection at least includes: virus detection; after the safety detection is passed, the remote operation and maintenance management instruction is sent to the remote recovery device.

上述的身份认证可以是安全实名认证,认证手段可以包括但不限于如人脸、指纹等生物识别方式,或采用预留密码识别、短信识别、动态密码识别等功能来进行认证目标对象的身份,其中,目标对象可以是运维技术人员。身份认证通过后,客户端1通过电信运营商通信网络(如5G网络)与远程恢复装置2建立连接。运维技术人员可通过客户端1发送远程运维管理指令(检测、重启、恢复等)和数据(恢复系统的脚本文件、程序、系统备份文件等)给远程恢复装置。The above-mentioned identity authentication can be secure real-name authentication, and the authentication means can include but not limited to biometric methods such as face and fingerprint, or use reserved password identification, SMS identification, dynamic password identification and other functions to authenticate the identity of the target object, Among them, the target object may be operation and maintenance technicians. After the identity authentication is passed, the client 1 establishes a connection with the remote recovery device 2 through the telecom operator's communication network (such as a 5G network). The operation and maintenance technicians can send remote operation and maintenance management instructions (detection, restart, recovery, etc.) and data (script files, programs, system backup files, etc. of the recovery system) to the remote recovery device through the client 1.

通过客户端1发送远程运维管理指令过程中,客户端1还可以自身安全检测程序和病毒库数据对远程运维管理指令和数据进行安全检测,如:进行安全分析和病毒检测,通过检测后对可以对远程运维管理指令和数据的信息进行数字签名,然后将指令、数据、数字签名、客户端信息(用于运维命令执行结束之后的服务器日志推送)一并发往远程恢复装置2,实现了提高远程恢复装置对应用服务器进行远程运维管理的数据安全性的技术效果。During the process of sending remote operation and maintenance management instructions through client 1, client 1 can also perform security inspections on remote operation and maintenance management instructions and data with its own security inspection program and virus database data, such as: performing security analysis and virus detection, after passing the inspection Digitally sign the information that can be used for remote operation and maintenance management instructions and data, and then send the instructions, data, digital signature, and client information (for server log push after the execution of the operation and maintenance command) to the remote recovery device 2 The technical effect of improving the data security of the remote operation and maintenance management of the application server by the remote recovery device is realized.

为了保证远程运维管理的操作数据的完整性以及日志安全性,在本实施例中,对应用服务器进行远程运维管理之后,包括:通过远程恢复装置的内网处理器,获取远程运维管理的操作日志,并将操作日志发送至交换区存储器中,其中,操作日志至少包括:远程运维管理的运维结果;远程恢复装置通过网闸进行内外网处理状态切换,将内网处理状态切换为外网处理状态;通过远程恢复装置的外网处理器读取交换区存储器中的操作日志,并将操作日志进行加密,得到目标操作日志;将目标操作日志存储至外网硬盘中,并向客户端推送目标操作日志,实现了保证远程运维管理的操作数据的完整性。In order to ensure the integrity of operation data and log security of remote operation and maintenance management, in this embodiment, after performing remote operation and maintenance management on the application server, it includes: obtaining the remote operation and maintenance management information through the intranet processor of the remote recovery device. operation log, and send the operation log to the storage in the exchange area, wherein the operation log at least includes: the operation and maintenance results of remote operation and maintenance management; processing status for the external network; read the operation log in the memory of the exchange area through the external network processor of the remote recovery device, and encrypt the operation log to obtain the target operation log; store the target operation log in the external network hard disk, and send to The client pushes the target operation log to ensure the integrity of the operation data for remote operation and maintenance management.

在本实施例中,对应用服务器进行远程运维管理之后,也即是远程运维管理指令运行完成后,内网处理器S1将内网硬盘的日志文件解码后拷贝到交换区存储器S5,并向网闸S5发送“内网切换到外网”指令,将内网处理状态切换为外网处理状态,网闸S3向看门狗芯片内置的E2PROM写入网闸S3“内网切换到外网”的状态数据。然后,网闸S3向内网处理器S1发送“阻塞”指令,并控制内网硬盘失电,向外网硬盘供电,同时向已处于“阻塞”状态的外网处理器S2发送重启指令,外网处理器S2读取外网硬盘S8的“引导状态区”中的状态信息重启,由于内网硬盘失电,外网处理器S2只能识别和访问到外网硬盘和交换区存储器。In this embodiment, after remote operation and maintenance management is performed on the application server, that is, after the operation of the remote operation and maintenance management command is completed, the intranet processor S1 decodes the log file of the intranet hard disk and copies it to the exchange area storage S5, and Send the "intranet to external network" command to the gatekeeper S5 to switch the internal network processing state to the external network processing state, and the gatekeeper S3 writes the "internal network to external network switch" command to the gatekeeper S3 to the E2PROM built in the watchdog chip. " status data. Then, the gatekeeper S3 sends a "blocking" command to the internal network processor S1, and controls the internal network hard disk to lose power, supplies power to the external network hard disk, and at the same time sends a restart command to the external network processor S2 that is already in the "blocking" state, and the external network The network processor S2 reads the state information in the "boot status area" of the external network hard disk S8 and restarts. Since the internal network hard disk is powered off, the external network processor S2 can only identify and access the external network hard disk and the storage in the swap area.

将内网处理状态切换为外网处理状态后,外网处理器S2可以读取交换区存储器的日志文件,解析日志文件,获得客户端信息和服务器日志,由于服务器日志文件中含有服务器和网络配置信息等敏感信息,还可以将日志(对应于上述的操作日志)进行加密处理,然后打包形成新的日志文件(对应于上述的目标操作日志),拷贝到外网硬盘上,并清除交换区存储器内容。外网处理器S2向客户端1发起日志重连返传请求。After the internal network processing state is switched to the external network processing state, the external network processor S2 can read the log files of the storage in the exchange area, parse the log files, and obtain client information and server logs. Since the server log files contain server and network configuration For sensitive information such as information, the log (corresponding to the above-mentioned operation log) can also be encrypted, and then packaged to form a new log file (corresponding to the above-mentioned target operation log), copied to the external network hard disk, and clear the storage in the exchange area content. The external network processor S2 initiates a log reconnection return request to the client 1.

外网处理器S2向客户端1发起日志重连返传请求之后,客户端1接收连接请求,下载日志文件后,可解密查看,如果确认本次运维成功,可退出登陆,释放客户端与远程恢复装置2的连接。由于远程恢复装置2在处理服务器的恢复过程中需要多次切换网络和重启内网处理器S1和外网处理器S2来实现内外网隔离,因此,本实施例可以支持单任务模式,即同一时间只能由单用户对单台服务器进行运维操作。After the external network processor S2 initiates a log reconnection request to client 1, client 1 receives the connection request, downloads the log file, and can decrypt and view it. If it is confirmed that the operation and maintenance is successful, it can log out and release the client and log file. The connection of the device 2 is restored remotely. Since the remote recovery device 2 needs to switch the network multiple times and restart the internal network processor S1 and the external network processor S2 to realize the isolation of the internal and external network during the recovery process of the processing server, this embodiment can support the single task mode, that is, at the same time Only a single user can operate and maintain a single server.

实现了保证远程运维管理的操作数据的完整性以及日志安全性的技术效果。The technical effect of ensuring the integrity of the operation data of the remote operation and maintenance management and the security of the log is realized.

为了保证内网和外网的物理隔离,保证数据安全性,在本实施例中,通过网闸对远程恢复装置的内网处理状态、外网处理状态进行内外网处理状态切换,包括:通过网闸向远程恢复装置中的看门狗写入内外网处理状态的状态数据,并通过看门狗监测状态数据,其中,在所述看门狗用于依据所述状态数据确定所述网闸的工作状态是否异常,在所述网闸的工作状态异常的情况下,向所述网闸发送复位信号;在网闸接收到复位信号的情况下,读取看门狗中的状态数据;依据状态数据,向内网处理器发送阻塞指令,并向外网处理器发送启动指令,将内网处理状态切换为外网处理状态;或,依据状态数据,向外网处理器发送阻塞指令,并向内网处理器发送启动指令,将外网处理状态切换为内网处理状态。In order to ensure the physical isolation between the internal network and the external network and ensure data security, in this embodiment, the internal network processing state and the external network processing state of the remote recovery device are switched between the internal network processing state and the external network processing state through the gatekeeper, including: The gate writes the status data of the internal and external network processing status to the watchdog in the remote recovery device, and monitors the status data through the watchdog, wherein the watchdog is used to determine the status of the gatekeeper based on the status data Whether the working state is abnormal, when the working state of the network gatekeeper is abnormal, send a reset signal to the network gatekeeper; when the network gatekeeper receives the reset signal, read the state data in the watchdog; according to the state Data, send a blocking command to the internal network processor, and send a start command to the external network processor, switch the internal network processing state to the external network processing state; or, according to the state data, send a blocking command to the external network processor, and send a blocking command to the external network processor The internal network processor sends a start command to switch the external network processing state to the internal network processing state.

上述的看门狗可以采用X5045芯片,在此对看门狗所采用的芯片不作限定,看门狗S4(X5045芯片)主要可以为网闸S3(AT89S51芯片)提供复位脉冲,当网闸S3发起由外网处理状态切换到内网处理状态的状态数据后,网闸S3可以通过SPI总线控制向看门狗芯片中内置的E2PROM写入网闸S3工作的状态数据,如果在此后的运行过程中,看门狗如果检测到网闸工作异常,即看门狗芯片中的状态数据与实际运行的状态数据不同后,将可以向网闸发送RST(复位)信号重启,网闸重启时将读入看门狗芯片中内置的E2PROM的状态数据,确保网闸自身处于正确的工作状态,并且外网处理器S2可以发送“阻塞”的信号,外网处理器S2将中断与客户端的会话连接,进入于“阻塞”状态,并不再对外提供服务。中断客户端的会话、停止对外服务,可以有效减少远程恢复装置2在外网暴露收到攻击的风险;在远程运维管理指令完成后,外网服务器2通过上次会话中数据包中客户端信息可以主动发起连接,避免IP胁持等网络攻击。The above-mentioned watchdog can adopt the X5045 chip, and the chip adopted by the watchdog is not limited here. The watchdog S4 (X5045 chip) can mainly provide reset pulses for the gatekeeper S3 (AT89S51 chip). After switching from the external network processing state to the state data of the internal network processing state, the gatekeeper S3 can write the working state data of the gatekeeper S3 to the E2PROM built in the watchdog chip through the SPI bus control. , if the watchdog detects that the gatekeeper is working abnormally, that is, the state data in the watchdog chip is different from the actual running state data, it will be able to send a RST (reset) signal to the gatekeeper to restart, and the gatekeeper will read in The state data of E2PROM built in the watchdog chip ensures that the gatekeeper itself is in the correct working state, and the external network processor S2 can send a "blocking" signal, and the external network processor S2 will interrupt the session connection with the client and enter In the "blocked" state, and no longer provide external services. Interrupting the session of the client and stopping the external service can effectively reduce the risk of the remote recovery device 2 being exposed to attacks on the external network; after the remote operation and maintenance management command is completed, the external network server 2 can access the Actively initiate connections to avoid network attacks such as IP duress.

当网闸S3由内网处理状态切换到外网处理时,状态切换的原理与外网处理状态切换到内网处理状态的切换原理相同,网闸S3向看门狗芯片内置的E2PROM写入网闸S3“内网处理状态切换到外网处理状态”的状态数据。随后,网闸S3向内网处理器S1发送“阻塞”指令,并控制内网硬盘失电,向外网硬盘供电,同时向已处于“阻塞”状态的外网处理器S2发送重启指令,外网处理器S2读取外网硬盘S8的“引导状态区”中的状态信息重启,由于内网硬盘失电,外网处理器S2只能识别和访问到外网硬盘和交换区存储器。When the gatekeeper S3 switches from the internal network processing state to the external network processing state, the principle of state switching is the same as that of switching from the external network processing state to the internal network processing state. The status data of gate S3 "Switching from internal network processing state to external network processing state". Subsequently, the gatekeeper S3 sends a "blocking" command to the internal network processor S1, and controls the internal network hard disk to lose power, supplies power to the external network hard disk, and at the same time sends a restart command to the external network processor S2 that is already in the "blocked" state. The network processor S2 reads the state information in the "boot status area" of the external network hard disk S8 and restarts. Since the internal network hard disk is powered off, the external network processor S2 can only identify and access the external network hard disk and the storage in the swap area.

通过网闸进行内外网处理状态的切换,实现了对内网和外网的进行物理隔离,保证数据安全性的技术效果。Switching the processing state of the internal and external network through the gatekeeper realizes the physical isolation of the internal network and the external network and ensures the technical effect of data security.

实施例三Embodiment three

本实施例提供了一种可选的服务器的远程处理方法,服务器的远程恢复方法可以通过远程恢复装置中的网闸对内网和外网进行物理隔离,保证内网数据的安全性,通过无线网络通信技术与服务器远程管理端口,实现对内网的应用服务器进行远程运维和系统恢复。This embodiment provides an optional remote processing method for the server. The remote recovery method for the server can physically isolate the internal network and the external network through the gatekeeper in the remote recovery device to ensure the security of the internal network data. Network communication technology and server remote management port realize remote operation and maintenance and system recovery of application servers in the intranet.

远程恢复装置中有“外网服务”和“内网处理”两种运行模式,也即是有内网处理状态和外网处理状态两种处理状态。两种运行模式切换由网闸S3完成。其中,外网服务模式用于收发和处理运维技术人员通过客户端1提交的运维指令和数据(恢复系统的脚本文件、程序、系统备份文件等),在内网处理模式下,对应用服务器进行运维管理。The remote recovery device has two operating modes of "external network service" and "intranet processing", that is, there are two processing states of internal network processing state and external network processing state. The switching between the two operating modes is completed by the gatekeeper S3. Among them, the external network service mode is used to send, receive and process the operation and maintenance instructions and data submitted by the operation and maintenance technicians through the client 1 (recovery system script files, programs, system backup files, etc.). Server operation and maintenance management.

图7是根据本发明实施例的一种可选的网闸的电路连接原理图,网闸的电路连接原理如图7所示,下面结合图7对两种运行模式进行说明。在外网服务模式下,内网处理器S1阻塞,内网硬盘S7失电,外网处理器S2运行,但只能访问通电的外网硬盘S8和交换区存储器S5进行数据处理。在“内网处理”运行模式中,外网处理器S2阻塞,外网硬盘S8失电,内网处理器S1运行,但只能访问通电的内网硬盘S7和交换区存储器S5进行数据处理。FIG. 7 is a schematic diagram of a circuit connection of an optional gatekeeper according to an embodiment of the present invention. The circuit connection principle of the gatekeeper is shown in FIG. 7 . The two operating modes will be described below in conjunction with FIG. 7 . In the external network service mode, the internal network processor S1 is blocked, the internal network hard disk S7 is powered off, and the external network processor S2 is running, but can only access the powered external network hard disk S8 and the swap area storage S5 for data processing. In the "intranet processing" operating mode, the external network processor S2 is blocked, the external network hard disk S8 is powered off, and the internal network processor S1 is running, but can only access the powered internal network hard disk S7 and the swap area storage S5 for data processing.

图7中AT89S51芯片为网闸S3,相应X5045为看门狗S4,两个IRFB4410芯片和电路组成硬盘电源控制模块S10。网闸的P1.6、P1.7端分别用于控制外网硬盘电源、内网硬盘电源。当网闸工作状态为外网处理状态时,P1.6输出为0(低电平)、P1.7输出为1(高电平)、此时接外网硬盘电源的IRFB4410导通,接内网硬盘电源的IRFB4410截止,外网硬盘S8电源通电,内网硬盘S7失电;网闸工作状态为内网处理状态时,P1.6输出为1(高电平),P1.7输出为0(低电平),此时接内网硬盘S7电源的IRFB4410导通,接外网硬盘S8电源的IRFB4410截止,内网硬盘电源通电,外网硬盘电源失电。In Figure 7, the AT89S51 chip is the gatekeeper S3, the corresponding X5045 is the watchdog S4, and two IRFB4410 chips and circuits form the hard disk power control module S10. The P1.6 and P1.7 ports of the gatekeeper are used to control the hard disk power supply of the external network and the hard disk power supply of the internal network respectively. When the gatekeeper is in the external network processing state, the output of P1.6 is 0 (low level), and the output of P1.7 is 1 (high level). The IRFB4410 of the network hard disk power supply is cut off, the external network hard disk S8 is powered on, and the internal network hard disk S7 is powered off; when the gatekeeper is in the internal network processing state, the output of P1.6 is 1 (high level), and the output of P1.7 is 0 (low level), at this time, the IRFB4410 connected to the internal network hard disk S7 power supply is turned on, and the IRFB4410 connected to the external network hard disk S8 power supply is turned off, the internal network hard disk power supply is powered on, and the external network hard disk power supply is powered off.

看门狗S4(X5045芯片)主要是为网闸S3(AT89S51芯片)提供复位脉冲,主要工作原理是:当网闸S3由外网状态切换到内网状态后,网闸S3通过SPI总线控制向看门狗芯片中内置的E2PROM写入网闸S3的工作状态数据,如果在此后的运行过程中,看门狗如果检测到网闸工作异常,将向其发送RST信号重启,网闸重启时将读入看门狗芯片中内置的E2PROM的状态参数,确保自身处于正确的工作状态;当网闸S3由内网状态切换到外网的过程也是如此。The watchdog S4 (X5045 chip) mainly provides reset pulses for the gatekeeper S3 (AT89S51 chip). The E2PROM built in the watchdog chip writes the working status data of the gatekeeper S3. If the watchdog detects that the gatekeeper is working abnormally during the subsequent operation, it will send an RST signal to it to restart, and the gatekeeper will restart when it restarts. Read in the state parameters of the built-in E2PROM in the watchdog chip to ensure that it is in the correct working state; the same is true when the gatekeeper S3 switches from the state of the internal network to the external network.

在网闸S3进行内外的处理状态切换时,还可以通过P1.4和P1.5与外网处理器S2和内网处理器S1进行通信,控制其分时工作。When the gatekeeper S3 switches between internal and external processing states, it can also communicate with the external network processor S2 and the internal network processor S1 through P1.4 and P1.5 to control its time-sharing work.

图8是根据本发明实施例的一种可选的服务器的远程运维的工作流程图,下面结合图8对本实施例的服务器的远程处理方法的工作流程进行说明。FIG. 8 is a work flow chart of an optional remote operation and maintenance of a server according to an embodiment of the present invention. The work flow of the server remote processing method in this embodiment will be described below in conjunction with FIG. 8 .

(1)客户端认证。(1) Client authentication.

客户端1是应用服务器3进行远程运维管理的运维技术人员使用的IT终端(如手机、电脑、PAD等)。终端能进行安全实名认证,认证手段包含且不限于如人脸、指纹等生物识别方式,或采用预留密码识别、短信识别、动态密码识别等功能来进行认证运维技术人员的身份。The client 1 is an IT terminal (such as a mobile phone, a computer, a PAD, etc.) used by an operation and maintenance technician who uses the application server 3 to perform remote operation and maintenance management. Terminals can perform secure real-name authentication. Authentication means include but are not limited to biometric methods such as face and fingerprint, or use reserved password identification, SMS identification, dynamic password identification and other functions to authenticate the identity of operation and maintenance technicians.

(2)发送运维指令(对应于上述的远程运维管理指令)。(2) Sending an operation and maintenance instruction (corresponding to the above-mentioned remote operation and maintenance management instruction).

认证通过后,客户端1通过电信运营商通信网络(如5G网络)与远程恢复装置2建立连接。运维技术人员可通过客户端1发送指令(检测、重启、恢复等)和数据(恢复系统的脚本文件、程序、系统备份文件等)进行远程运维。After the authentication is passed, the client 1 establishes a connection with the remote recovery device 2 through the telecom operator's communication network (such as a 5G network). The operation and maintenance technicians can send instructions (detection, restart, recovery, etc.) and data (script files, programs, system backup files, etc. of the recovery system) through the client 1 for remote operation and maintenance.

(3)指令数据检测。(3) Command data detection.

客户端1会调用自身安全检测程序和病毒库数据对指令和数据进行安全分析和病毒检测,通过检测后对信息进行数字签名,将指令、数据、数字签名、客户端信息(用于运维命令执行结束之后的服务器日志推送)一并发往远程恢复装置2。Client 1 will call its own security detection program and virus database data to conduct security analysis and virus detection on instructions and data, and digitally sign the information after passing the detection, and send instructions, data, digital signatures, and client information (for operation and maintenance commands to After the execution, the server log push) is sent to the remote recovery device 2 together.

(4)指令接收验证。(4) Instruction acceptance verification.

外网处理器S2收到客户端1发送的数据包(指令、数据、数字签名、客户端信息)存放在外网硬盘S8中,外网处理器S2将验证数字签名,如果不正确,删除数据包,并向客户端返回错误信息;如果数字签名正确,则将外网硬盘S8拆包后拷贝至交换区存储器S5,然后将“阻塞”状态信息写入外网硬盘S8的“引导状态区”(确保外网处理器S2下次重启时调用日志处理程序),并通过信号线P1.5向网闸S3发送“外网切换到内网”的信号。The external network processor S2 receives the data packet (command, data, digital signature, client information) sent by the client 1 and stores it in the external network hard disk S8, and the external network processor S2 will verify the digital signature, and delete the data packet if it is incorrect , and return an error message to the client; if the digital signature is correct, the external network hard disk S8 is unpacked and then copied to the exchange area memory S5, and then the "blocking" status information is written into the "boot status area" of the external network hard disk S8 ( Ensure that the external network processor S2 calls the log processing program when it restarts next time), and sends a signal of "switching from the external network to the internal network" to the gatekeeper S3 through the signal line P1.5.

(4)外网切换到内网(对应于上述的外网处理状态切换到内网处理状态)。(4) Switching from the external network to the internal network (corresponding to the above-mentioned switching from the processing state of the external network to the processing state of the internal network).

网闸S3向看门狗芯片内置的E2PROM写入网闸S3“外网切换到内网(对应于上述的外网处理状态切换到内网处理状态)”的状态数据(该数据用于网闸S3故障重启后保持正确状态),并外网处理器S2发送“阻塞”的信号,外网处理器S2将中断与客户端的会话连接,进入于“阻塞”状态,并不再对外提供服务。中断客户端的会话、停止对外服务能有效减少远程恢复装置2在外网暴露收到攻击的风险;在远程运维指令完成后,外网服务器2通过上次会话中数据包中客户端信息主动发起连接,避免IP胁持等网络攻击。The gatekeeper S3 writes the state data of gatekeeper S3 "switching from the external network to the internal network (corresponding to the switching from the external network processing state to the internal network processing state)" of the gatekeeper S3 to the built-in E2PROM of the watchdog chip (this data is used for the gatekeeper S3 maintains the correct state after the fault restarts), and the external network processor S2 sends a "blocking" signal, and the external network processor S2 will interrupt the session connection with the client, enter the "blocking" state, and no longer provide external services. Interrupting the session of the client and stopping external services can effectively reduce the risk of the remote recovery device 2 being exposed to attacks on the external network; after the remote operation and maintenance command is completed, the external network server 2 actively initiates a connection through the client information in the data packet in the previous session , to avoid network attacks such as IP duress.

网闸S3向P1.6输出为1(高电平),P1.7输出为0(低电平),此时接内网硬盘S7电源通电,外网硬盘S8电源失电。The gatekeeper S3 outputs 1 (high level) to P1.6, and the output of P1.7 is 0 (low level). At this time, the internal network hard disk S7 is powered on, and the external network hard disk S8 is powered off.

网闸S3向内网处理器S1发送“激活”信号,处于“阻塞”状态的内网处理器S1重启。The gatekeeper S3 sends an "activation" signal to the intranet processor S1, and the intranet processor S1 in the "blocked" state restarts.

(5)指令运行。(5) Command operation.

内网处理器S1将交换区存储器S5中的数据进行按IPMI接口规范重新打包,存储到内网硬盘S7中,同时清除交换区存储器S5的数据。内网处理器S1调用内网硬盘S7上服务器运维程序,解析维护人员的远程运维指令和数据包,并通过RJ45接口S7向服务器管理口发送指令实现运维操作。The internal network processor S1 repackages the data in the exchange area storage S5 according to the IPMI interface specification, stores them in the internal network hard disk S7, and clears the data in the exchange area storage S5 at the same time. The intranet processor S1 calls the server operation and maintenance program on the intranet hard disk S7, analyzes the remote operation and maintenance instructions and data packets of the maintenance personnel, and sends instructions to the server management port through the RJ45 interface S7 to realize the operation and maintenance operation.

运维操作指令按照IPMI智能平台管理接口规范来实现对服务器的运维。IPMI可以控制服务器电源的开机、关机、重启,远程重装服务器操作系统,并可监视服务器的物理健康特征,如温度、电压、风扇工作状态、电源状态等等功能。简单来说,远程管理端口是高级别的远程KVM系统,能对无网络支持的服务器进行远程控制,可将服务器反馈信息重定向到日志文件中保存,也可以将远程控制端的光盘镜像、文件夹作为虚拟光驱映射并加载到服务器中。The operation and maintenance operation instructions implement the operation and maintenance of the server according to the IPMI intelligent platform management interface specification. IPMI can control the power on, off, and restart of the server, remotely reinstall the server operating system, and monitor the physical health characteristics of the server, such as temperature, voltage, fan working status, power status, and other functions. To put it simply, the remote management port is a high-level remote KVM system, which can remotely control servers without network support, redirect server feedback information to log files for storage, and also save CD images and folders on the remote control terminal. It is mapped and loaded into the server as a virtual CD-ROM drive.

常用的运维指令举例如下:Examples of commonly used operation and maintenance instructions are as follows:

①服务器状态检查,远程运维指令将检查服务器的物理健康特征,如温度、电压、风扇工作状态、电源状态、网卡状态等。①Server status check, the remote operation and maintenance command will check the physical health characteristics of the server, such as temperature, voltage, fan working status, power status, network card status, etc.

②服务器重启,远程运维指令将重启应用服务器3操作系统。运维人员可以在操作系统将应用程序设置为开机自启动,这样服务器重启后能自动启动应用程序,恢复生产系统。②The server is restarted, and the remote operation and maintenance command will restart the operating system of the application server 3. The operation and maintenance personnel can set the application program to start automatically in the operating system, so that the application program can be automatically started after the server is restarted, and the production system can be restored.

③服务器备份恢复,如果操作系统或应用程序损坏,上步骤中的服务器重启也不能解决问题,可使用服务器备份恢复功能。应用服务器3可使用维护人员通过客户端上传的服务器系统备份文件(如ISO镜像问题)来重建系统,完成后自动重启服务器,恢复生产应用。③Server backup recovery, if the operating system or application program is damaged, and the server restart in the previous step cannot solve the problem, you can use the server backup recovery function. The application server 3 can rebuild the system by using the server system backup file (such as the ISO image problem) uploaded by the maintenance personnel through the client, and automatically restart the server after completion to restore the production application.

运维指令运行时,输入脚本和输出结果被重定向内网硬盘的日志文件,日志文件中包含客户端1的外网IP地址信息,用于将日志文件的推送。When the operation and maintenance command is run, the input script and output result are redirected to the log file of the internal network hard disk. The log file contains the external network IP address information of client 1, which is used to push the log file.

(6)内网切换到外网(对应于上述的内网处理状态切换到外网处理状态)(6) Switch from internal network to external network (corresponding to the above-mentioned internal network processing state switching to external network processing state)

运维指令运行完成后,内网处理器S1将内网硬盘的日志文件解码后拷贝到交换区存储器S5,并向网闸S5发送“内网切换到外网”指令,网闸S3向看门狗芯片内置的E2PROM写入网闸S3“内网切换到外网”的状态数据。随后,网闸S3向内网处理器S1发送“阻塞”指令,并控制内网硬盘失电,向外网硬盘供电,同时向已处于“阻塞”状态的外网处理器S2发送重启指令,外网处理器S2读取外网硬盘S8的“引导状态区”中的状态信息重启,由于内网硬盘失电,外网处理器S2只能识别和访问到外网硬盘和交换区存储器。After the operation and maintenance command is completed, the internal network processor S1 decodes the log file of the internal network hard disk and copies it to the storage area S5 in the exchange area, and sends the "switch from internal network to external network" command to the gatekeeper S5, and the gatekeeper S3 sends a message to the gatekeeper. The built-in E2PROM of the dog chip writes the status data of the gatekeeper S3 "switching from the internal network to the external network". Subsequently, the gatekeeper S3 sends a "blocking" command to the internal network processor S1, and controls the internal network hard disk to lose power, supplies power to the external network hard disk, and at the same time sends a restart command to the external network processor S2 that is already in the "blocked" state. The network processor S2 reads the state information in the "boot status area" of the external network hard disk S8 and restarts. Since the internal network hard disk is powered off, the external network processor S2 can only identify and access the external network hard disk and the storage in the swap area.

(7)日志推送。(7) Log push.

外网处理器S2读取交换区存储器的日志文件,解析日志文件,获得客户端信息和服务器日志,由于日志文件中含有服务器和网络配置信息等敏感信息,需要将日志进行加密处理,然后打包形成新的日志文件,拷贝到外网硬盘上,并清除交换区存储器内容。外网处理器S2向客户端1发起日志重连返传请求。The external network processor S2 reads the log files of the storage in the exchange area, parses the log files, and obtains client information and server logs. Since the log files contain sensitive information such as server and network configuration information, the logs need to be encrypted and then packaged to form Copy the new log file to the hard disk on the external network, and clear the memory content of the swap area. The external network processor S2 initiates a log reconnection return request to the client 1.

(8)释放连接。(8) Release the connection.

客户端1接收连接请求,下载日志文件后,可解密查看,如果确认本次运维成功,可退出登陆,释放客户端与远程恢复装置2的连接。Client 1 receives the connection request, downloads the log file, and can decrypt it for viewing. If it is confirmed that the operation and maintenance is successful, it can log out and release the connection between the client and the remote recovery device 2.

由于远程恢复装置2在处理服务器的恢复过程中需要多次切换网络和重启内网处理器S1和外网处理器S2来实现内外网隔离,因此只支持单任务模式,即同一时间只能由单用户对单台服务器进行运维操作。Since the remote recovery device 2 needs to switch the network multiple times and restart the internal network processor S1 and the external network processor S2 to realize the isolation of the internal and external network during the recovery process of the server, it only supports single-task mode, that is, only a single task can be performed at the same time. Users perform O&M operations on a single server.

本实施例通过无线网络通信技术(IPMI)与服务器远程管理端口,实现对应用服务器的进行远程运维和系统恢复,解决了相关技术中对应用服务器进行远程运维管理缺乏网络支撑的问题,实现了降低了生产应用的恢复时间和运维人员工作压力的技术效果。本实施例中的远程恢复装置在硬件层面实现了内外网存储器、处理器和网络连接的部件冗余、物理隔离、分时切换,确保了数据的存储和处理过程的完全隔离。This embodiment realizes the remote operation and maintenance and system recovery of the application server through the wireless network communication technology (IPMI) and the remote management port of the server, which solves the problem of lack of network support in the remote operation and maintenance management of the application server in the related technology, and realizes The technical effect of reducing the recovery time of production applications and the work pressure of operation and maintenance personnel. The remote recovery device in this embodiment realizes component redundancy, physical isolation, and time-sharing switching of internal and external network storage, processors, and network connections at the hardware level, ensuring complete isolation of data storage and processing.

另外,本实施例中客户端采用多重认证方式保证远程操作人员的合法性,对指令和数据进行安全分析、病毒检测和数字签名,确保传输指令和数据的安全性;远程恢复装置在运维指令运行期间分时切换、信息加密传输、日志重连返传等机制,有效减少外网向内网的渗透和攻击;在数据管理上,内网硬盘和外网存储器的数据格式不相同,交换区存储器中程序文件也被设置为无“运行”权限,进一步保护了内网的安全性。In addition, in this embodiment, the client adopts multiple authentication methods to ensure the legitimacy of remote operators, and conducts security analysis, virus detection and digital signatures on instructions and data to ensure the security of transmission instructions and data; Mechanisms such as time-sharing switching, encrypted information transmission, and log reconnection and return during operation can effectively reduce the penetration and attacks from the external network to the internal network; in terms of data management, the data formats of the internal network hard disk and external network storage are different, and the exchange area The program files in the memory are also set to have no "run" permission, which further protects the security of the intranet.

上述存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。The above-mentioned memory may include non-permanent memory in computer-readable media, forms such as random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM), and the memory includes at least a memory chip.

根据本发明实施例的另一方面,还提供了一种电子设备,包括:处理器;以及存储器,用于存储处理器的可执行指令;其中,处理器配置为经由执行可执行指令来执行上述任意一项的服务器的远程处理方法。According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the above-mentioned Any one of the server's remoting methods.

根据本发明实施例的另一方面,还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,其中,在计算机程序运行时控制计算机可读存储介质所在设备执行上述任意一项的服务器的远程处理方法。According to another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, and the computer-readable storage medium stores a computer program, wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned The remoting method for the item's server.

图9是根据本发明实施例的一种电子设备的示意图,如图9所示,本发明实施例提供了一种电子设备90,电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现上述任意一项的服务器的远程处理方法。FIG. 9 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 9 , an embodiment of the present invention provides an electronic device 90, the electronic device includes a processor, a memory, and a memory stored on the memory and can process The program running on the server implements the remote processing method of any one of the above servers when the processor executes the program.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be realized in other ways. Wherein, the device embodiments described above are only illustrative. For example, the division of the units can be a logical function division. In actual implementation, there can be another division method. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple units. Part or all of the units can 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 invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes. .

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (10)

1. A remote processing device for a server, comprising:
the client is a user terminal for performing remote operation and maintenance management on the application server, and is used for initiating a remote operation and maintenance management instruction, wherein the remote operation and maintenance management instruction at least comprises one of the following instructions: switching on and off, restarting and operating system backup recovery;
the remote recovery device at least comprises a network gate, is connected with the client, receives the remote operation and maintenance management instruction, switches the internal network processing state and the external network processing state of the remote recovery device through the network gate, and performs remote operation and maintenance management on the application server by using a target management interface protocol.
2. The remote processing device of claim 1, wherein the remote recovery device further comprises:
a hard disk, wherein the hard disk comprises at least: the intranet hard disk is used for storing intranet data of the remote operation and maintenance management, and the extranet hard disk is used for storing extranet data of the remote operation and maintenance management;
a processor, wherein the processor comprises at least: the intranet processor is used for processing intranet data, the extranet processor is used for processing extranet data, the network gate is connected with the intranet processor and the extranet processor and used for controlling the availability of the intranet hard disk through the intranet processor and controlling the availability of the extranet hard disk through the extranet processor, carrying out physical isolation on the intranet and the extranet and controlling the intranet processor and the extranet processor to work in a time-sharing mode;
and the switching area memory is connected with the internal network processor and the external network processor and is used for providing a buffer area for data exchange for the internal network data and the external network data.
3. The remote processing device of claim 1, wherein the remote recovery device further comprises:
a plurality of communication interfaces, wherein the plurality of communication interfaces includes at least: an intranet communication interface and an extranet communication interface;
a plurality of data interfaces, wherein the plurality of data interfaces are used for performing maintenance management on the remote recovery device, and the maintenance management at least comprises: upgrading device programs and detecting and debugging devices.
4. A remote processing method of a server, applied to the remote processing apparatus of any one of claims 1 to 3, comprising:
receiving a remote operation and maintenance management instruction sent by a client through a remote recovery device, and storing the remote operation and maintenance management instruction under the condition that the remote recovery device is in an extranet processing state;
and after the remote operation and maintenance management instruction is stored, switching the internal and external network processing states through a network gate in the remote recovery device, switching the external network processing state into the internal network processing state, and performing remote operation and maintenance management on an application server through the remote operation and maintenance management instruction by using a target management interface protocol.
5. The remote processing method according to claim 4, wherein the receiving, by a remote recovery device, a remote operation and maintenance management command sent by a client, and in a case that the remote recovery device is in an extranet processing state, storing the remote operation and maintenance management command comprises:
receiving a remote operation and maintenance management instruction sent by a client, storing the remote operation and maintenance management instruction into an external network hard disk of the remote recovery device under the condition that the remote recovery device is in an external network processing state, and performing instruction verification on the remote operation and maintenance management instruction in the external network hard disk through an external network processor;
and storing the remote operation and maintenance management instruction into a switching area memory of the remote recovery device under the condition that the instruction passes verification.
6. The remote processing method according to claim 5, wherein the performing remote operation and maintenance management on the application server through the remote operation and maintenance management instruction by using a target management interface protocol comprises:
repackaging the operation and maintenance management instruction through the target management interface protocol to obtain a target operation and maintenance management instruction, and sending the target operation and maintenance management instruction to an intranet hard disk of the remote recovery device;
and calling the target operation and maintenance management instruction in the intranet hard disk through an intranet processor of the remote recovery device, and performing remote operation and maintenance management on the application server.
7. The remote processing method according to claim 4, wherein the receiving, by the remote recovery device, the remote operation and maintenance management command sent by the client, and in a case that the remote recovery device is in an extranet processing state, before storing the remote operation and maintenance management command by using a target management interface protocol, the method includes:
receiving the remote operation and maintenance management instruction triggered by a target object, and performing identity authentication on the target object through the client;
after the identity authentication is passed, performing security detection on the remote operation and maintenance management instruction, wherein the security detection at least comprises: virus detection;
and after the safety detection is passed, sending the remote operation and maintenance management instruction to the remote recovery device.
8. The remote processing method according to claim 6, wherein after performing the remote operation and maintenance management on the application server, the method comprises:
acquiring an operation log of the remote operation and maintenance management through an intranet processor of the remote recovery device, and sending the operation log to the swap area memory, wherein the operation log at least comprises: operation and maintenance results of the remote operation and maintenance management;
the remote recovery device switches the internal network processing state and the external network processing state through the network gate;
reading the operation log in the memory of the exchange area through an extranet processor of the remote recovery device, and encrypting the operation log to obtain a target operation log;
and storing the target operation log into the external network hard disk, and pushing the target operation log to the client.
9. The remote processing method according to claim 4, wherein switching the intranet processing state and the extranet processing state of the remote recovery apparatus by the gatekeeper comprises:
writing state data of an internal and external network processing state into a watchdog in the remote recovery device through the gatekeeper, and monitoring the state data through the watchdog, wherein the watchdog is used for determining whether the working state of the gatekeeper is abnormal according to the state data, and sending a reset signal to the gatekeeper under the condition that the working state of the gatekeeper is abnormal;
reading the status data in the watchdog when the gatekeeper receives the reset signal;
according to the state data, sending a blocking instruction to the internal network processor, sending a starting instruction to the external network processor, and switching the internal network processing state into the external network processing state; or the like, or, alternatively,
and sending a blocking instruction to the outer network processor according to the state data, sending a starting instruction to the inner network processor, and switching the outer network processing state into the inner network processing state.
10. An electronic device comprising one or more processors and memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the remote processing method of the server of any of claims 4 to 9.
CN202211214640.3A 2022-09-30 2022-09-30 Remote processing device and method of server and electronic equipment Pending CN115604315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211214640.3A CN115604315A (en) 2022-09-30 2022-09-30 Remote processing device and method of server and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211214640.3A CN115604315A (en) 2022-09-30 2022-09-30 Remote processing device and method of server and electronic equipment

Publications (1)

Publication Number Publication Date
CN115604315A true CN115604315A (en) 2023-01-13

Family

ID=84845287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211214640.3A Pending CN115604315A (en) 2022-09-30 2022-09-30 Remote processing device and method of server and electronic equipment

Country Status (1)

Country Link
CN (1) CN115604315A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116578311A (en) * 2023-07-13 2023-08-11 海马云(天津)信息技术有限公司 System recovery method and device, server device and storage medium
CN119211981A (en) * 2024-11-26 2024-12-27 浙江大华技术股份有限公司 Remote operation and maintenance method, device and computer equipment for low-power equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060031447A1 (en) * 2004-06-29 2006-02-09 Graham Holt System and method for consolidating, securing and automating out-of-band access to nodes in a data network
CN102891899A (en) * 2012-11-08 2013-01-23 山东中孚信息产业股份有限公司 System and monitoring method of remote monitoring isolation equipment
CN105656883A (en) * 2015-12-25 2016-06-08 冶金自动化研究设计院 Unidirectional transmission internal and external network secure isolating gateway applicable to industrial control network
CN107181769A (en) * 2017-07-28 2017-09-19 山东超越数控电子有限公司 A kind of network intrusion prevention system and method
CN109634686A (en) * 2018-12-17 2019-04-16 郑州云海信息技术有限公司 A kind of method and system by BMC remote configuration server state
CN111147615A (en) * 2019-12-12 2020-05-12 加弘科技咨询(上海)有限公司 Method and system for taking over IP address, computer readable storage medium and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060031447A1 (en) * 2004-06-29 2006-02-09 Graham Holt System and method for consolidating, securing and automating out-of-band access to nodes in a data network
CN102891899A (en) * 2012-11-08 2013-01-23 山东中孚信息产业股份有限公司 System and monitoring method of remote monitoring isolation equipment
CN105656883A (en) * 2015-12-25 2016-06-08 冶金自动化研究设计院 Unidirectional transmission internal and external network secure isolating gateway applicable to industrial control network
CN107181769A (en) * 2017-07-28 2017-09-19 山东超越数控电子有限公司 A kind of network intrusion prevention system and method
CN109634686A (en) * 2018-12-17 2019-04-16 郑州云海信息技术有限公司 A kind of method and system by BMC remote configuration server state
CN111147615A (en) * 2019-12-12 2020-05-12 加弘科技咨询(上海)有限公司 Method and system for taking over IP address, computer readable storage medium and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116578311A (en) * 2023-07-13 2023-08-11 海马云(天津)信息技术有限公司 System recovery method and device, server device and storage medium
CN116578311B (en) * 2023-07-13 2023-10-03 海马云(天津)信息技术有限公司 System recovery method and device, server device and storage medium
CN119211981A (en) * 2024-11-26 2024-12-27 浙江大华技术股份有限公司 Remote operation and maintenance method, device and computer equipment for low-power equipment

Similar Documents

Publication Publication Date Title
US10616194B2 (en) Secure data destruction in a distributed environment using key protection mechanisms
US10754955B2 (en) Authenticating a boot path update
US10078754B1 (en) Volume cryptographic key management
US11886595B2 (en) Computer boot method, controller, storage medium, and system
US8862803B2 (en) Mediating communciation of a univeral serial bus device
US10178077B2 (en) Preventing persistent storage of cryptographic information using signaling
US11829478B2 (en) Full server recovery architecture for cloud bare metal instances
KR20100087336A (en) Computer storage device having separate read-only space and read-write space, removable media component, system management interface, and network interface
CN109583212B (en) A firmware file protection method and system based on Intel Whitley platform
CN115604315A (en) Remote processing device and method of server and electronic equipment
CN113127896B (en) Data processing method and device based on independent encryption chip
CN110536042A (en) Image forming apparatus and its control method, storage medium
CN110990124A (en) Cloud host recovery method and device
WO2024131018A1 (en) Verification method and apparatus for server
WO2020144961A1 (en) Electronic data management device, electronic data management system, program therefor, and recording medium
WO2025179881A1 (en) Fault diagnosis driver loading method and apparatus, electronic device, and storage medium
US12067121B2 (en) Trusted boot method and apparatus, electronic device, and readable storage medium
WO2024045909A1 (en) Storage device with built-in independent data
US10223538B1 (en) Preventing persistent storage of cryptographic information
WO2025161452A1 (en) Code sharing method and apparatus, switch, multi-host system, device and medium
CN118138340A (en) Data processing method and device and electronic equipment
US20120174206A1 (en) Secure computing environment
CN115904516A (en) Trust root based baseboard management controller starting method and related components thereof
CN114327969A (en) Information collection method, device, computer equipment and computer storage medium
WO2020259285A1 (en) Image forming apparatus and securty control system for image forming apparatus

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