WO2016131383A1 - Method and device for running maintenance process of system - Google Patents

Method and device for running maintenance process of system Download PDF

Info

Publication number
WO2016131383A1
WO2016131383A1 PCT/CN2016/073314 CN2016073314W WO2016131383A1 WO 2016131383 A1 WO2016131383 A1 WO 2016131383A1 CN 2016073314 W CN2016073314 W CN 2016073314W WO 2016131383 A1 WO2016131383 A1 WO 2016131383A1
Authority
WO
WIPO (PCT)
Prior art keywords
cpu core
dedicated cpu
maintenance process
operating system
original operating
Prior art date
Application number
PCT/CN2016/073314
Other languages
French (fr)
Chinese (zh)
Inventor
蒋彪
王亮
谢宝友
蔡衢
谈虎
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016131383A1 publication Critical patent/WO2016131383A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine

Definitions

  • This document relates to, but is not limited to, the field of computer operating system technology, and in particular, to a system maintenance process running method and device.
  • the maintenance process of the system plays a crucial role in judging the failure of the system and the analysis of the system failure.
  • the system log is recorded by the logging process.
  • the logging process records the log by writing to the disk.
  • the log cannot be reliably written to the disk.
  • the main reasons include: 1)
  • the logging process requires a fairly complicated process for writing disk operations. Taking the Linux operating system as an example, it may involve caching, block device layers in the kernel, and IO (input and output, referred to as IO) scheduling layer.
  • IO input and output
  • the log record process write disk operation depends on the process schedule in the system. If the process schedule is abnormal, the user process responsible for logging may not be scheduled at this time, and thus the log cannot be recorded. There are many exceptions that cause the process to be dispatched. For example, when the CPU load of the system is too heavy, or when a process with a higher priority on the current CPU continues to occupy the CPU, the log record process responsible for logging may not be scheduled.
  • the embodiment of the invention provides a method and a device for running a maintenance process of a system, which solves the technical problem that the maintenance process of the system in the related art cannot be reliably operated, and the system failure cannot be correctly analyzed when a system failure occurs.
  • the embodiment of the invention provides a method for running a maintenance process of a system, including:
  • allocating corresponding hardware resources to the maintenance process of the system includes:
  • the isolating the allocated hardware resources from the original operating system includes:
  • the allocated dedicated CPU core is removed from the process scheduling module of the original operating system
  • loading the corresponding operating environment for the dedicated CPU core includes:
  • the maintenance process of the system includes: a logging process of the system and/or a monitoring process of the system;
  • Allocating corresponding hardware resources for the maintenance process of the system includes: allocating corresponding hardware resources to the logging process and/or the monitoring process;
  • the controlling the maintenance process to run within the hardware resource comprises: controlling the logging process and/or the monitoring process to run within the corresponding hardware resource.
  • controlling the logging process to run in the corresponding hardware resource includes:
  • the original operating system records the log information in a dedicated data hardware resource
  • the original operating system writes the log information in the data hardware resource in a fixed format to a corresponding position in the data hardware resource reserved by the communication between the original operating system and the corresponding dedicated CPU core;
  • the disk operation interface is called to directly write the log information in the corresponding data hardware resource to the specified disk sector range.
  • controlling the monitoring process to run in the corresponding hardware resource includes:
  • the monitoring information should be read at a location
  • Whether the original operating system is operating normally is determined according to the update status of the monitoring information.
  • the embodiment of the invention further provides a maintenance process running device of the system, comprising:
  • the resource management module is configured to allocate corresponding hardware resources to the maintenance process of the system
  • a resource isolation module configured to isolate the allocated hardware resources from the original operating system
  • control module configured to control the maintenance process to run within the hardware resource.
  • the resource management module includes:
  • a dedicated CPU allocation sub-module is set to allocate a corresponding dedicated CPU core for the maintenance process of the system
  • a memory resource allocation submodule configured to allocate a dedicated CPU memory resource to the dedicated CPU core
  • a hardware resource allocation sub-module configured to allocate dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system
  • the operating environment loads the submodule, and is set to load the corresponding running environment for the dedicated CPU core.
  • the resource isolation module includes:
  • the process culling submodule is set to remove the allocated dedicated CPU core from the process scheduling module of the original operating system
  • Interrupting the culling submodule configured to remove the dedicated CPU core from the interrupt routing module
  • the time interrupt cancel submodule is set to cancel the periodic clock interrupt on the dedicated CPU core
  • the maintenance process of the system includes: a logging process of the system and/or a monitoring process of the system;
  • the resource management module is configured to allocate corresponding hardware resources to the logging process and/or the monitoring process;
  • the control module is configured to control the logging process and/or the monitoring process to run within the corresponding hardware resource.
  • control module when the maintenance process of the system is a logging process of the system, the control module includes:
  • the information recording sub-module is set to record the log information in the dedicated data hardware resource by the original operating system
  • the first information is written into the sub-module, and the original operating system is configured to write the log information in the data hardware resource in a fixed format into the data hardware resources reserved for communication between the original operating system and the corresponding dedicated CPU core. Corresponding position
  • a first information reading submodule configured to read log information of a corresponding data hardware resource from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
  • the control submodule is configured to call the disk operation interface to write the log information in the corresponding data hardware resource into the specified disk sector range.
  • control module when the maintenance process of the system is a monitoring process of the system, the control module includes:
  • a second information writing submodule configured to write monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
  • a second information reading submodule configured to read the monitoring information from a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
  • the management submodule is configured to determine whether the original operating system is operating normally according to the update status of the monitoring information.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the maintenance process running method and device of the system provided by the embodiment of the present invention allocates corresponding hardware resources to the maintenance process of the system, and isolates the allocated hardware resources from the original operating system; and then controls the maintenance process to run in the allocated hardware resources. .
  • the solution specifically allocates corresponding hardware resources for the maintenance process of the system, and closes the task of performing the maintenance process, and can provide a highly reliable system without requiring additional hardware devices and being affected by other running processes in the system.
  • the maintenance process runs.
  • FIG. 1 is a schematic flowchart of a method for running a maintenance process of a system according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of allocating corresponding hardware resources in a maintenance process of a system according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of a specific method for loading a corresponding operating environment by a dedicated CPU core according to Embodiment 1 of the present invention
  • FIG. 4 is a schematic flowchart of a method for isolating the allocated hardware resources from an original operating system according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic flowchart of a method for controlling the log recording process to run in the corresponding hardware resource according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic flowchart of a method for controlling the monitoring process to run in the corresponding hardware resource according to Embodiment 1 of the present invention
  • FIG. 7 is a schematic block diagram of a system maintenance process running device according to Embodiment 1 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the maintenance process running method of the system includes:
  • S102 Isolate the allocated hardware resource from the original operating system
  • the step S101 allocates corresponding hardware resources to the maintenance process of the system, including:
  • S201 Allocating a corresponding dedicated CPU core for the maintenance process of the system, and isolating the dedicated CPU core from the original operating system, so that the task on the original operating system does not occupy the dedicated CPU core and does not interact with the same (for example: inter-core interrupts), thereby isolating the effects;
  • S202 Allocating a dedicated CPU memory resource to the dedicated CPU core, and similarly, isolating the allocated CPU memory resources from the original operating system to ensure that the original operating system does not manage and use the allocated physical memory, thereby preventing the original operating system.
  • Memory exceptions affect the tasks running on the dedicated CPU core;
  • S203 Allocating dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system; to implement monitoring of the original operating system or logging of the original operating system on the dedicated CPU core, it is necessary to understand The running state of the original operating system can be realized by means of shared memory. This requires a dedicated memory resource to be allocated for this purpose. The memory resources of the original operating system are visible to the original operating system and the dedicated CPU core. For the sake of reliability, Control the access rights of the part of the memory, such as: the original operating system has only writeable rights to the part, so that the dedicated CPU has only readable rights to the part of the memory;
  • S204 Load a corresponding running environment for the dedicated CPU core.
  • loading the corresponding operating environment for the dedicated CPU core includes the following steps:
  • S301 Write a program corresponding to the running environment module in the original operating system to a specified storage medium in advance, for example, in a specified sector range of the disk device;
  • the corresponding functions that the running environment module needs to complete include: initializing Using the hardware environment related to the CPU core; loading the maintenance process of the corresponding system; reading the program corresponding to the maintenance process of the system from the specified storage medium, loading it into the memory allocated for the dedicated CPU core; jumping to the system The program entry corresponding to the maintenance process starts execution.
  • the hardware environment related to initializing the dedicated CPU core includes: initializing the CPU-related registers, causing the dedicated CPU core to run in real mode; initializing the CPU's IDTR register to point to the BIOS-initiated interrupt descriptor table; thus, the CPU can be passed
  • the way of interrupting directly utilizes the functions provided by the BIOS (because the interrupt service routine is implemented in the BIOS), such as the function of disk access; complete memory-related initialization. For example, initialization of a physical memory area reserved for a dedicated CPU core.
  • step S102 isolates the allocated hardware resources from the original operating system, including the following steps:
  • S401 The allocated dedicated CPU core is removed from the process scheduling module of the original operating system; ensuring that processes in the original operating system are not scheduled to the dedicated CPU core.
  • S402 The dedicated CPU core is removed from the interrupt routing module; ensuring that external peripheral interrupts are not routed to the dedicated CPU.
  • S403 Set an inter-core interrupt mask bit corresponding to the dedicated CPU core; prevent an inter-core interrupt from another CPU from being sent to the CPU.
  • S405 Cancel the CPU task of all the original operating systems on the dedicated CPU core. It is forbidden to run similar tasks on this dedicated CPU.
  • the maintenance process of the system includes: a logging process of the system and/or a monitoring process of the system; and the step S101 is to allocate corresponding hardware resources to the maintenance process of the system, including: The recording process and/or the monitoring process allocate corresponding hardware resources; the step S103 controlling the maintenance process to run in the hardware resource comprises: controlling the logging process and/or monitoring process in the corresponding hardware resource run.
  • the logging process running within the corresponding hardware resource includes:
  • the original operating system writes the log information in the data hardware resource in a fixed format into a corresponding position in a data hardware resource reserved by communication between the original operating system and the corresponding dedicated CPU core;
  • S503 Read log information of a corresponding data hardware resource from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
  • S504 Calling the disk operation interface to directly write the log information in the corresponding data hardware resource to the specified disk sector range.
  • the disk operation interface provided by the BIOS is called to directly write information in the corresponding data hardware resource into the specified disk sector range.
  • the interface provided by the BIOS is usually an interrupt interface, such as the INT 13H.
  • controlling the monitoring process to run in the corresponding hardware resource includes:
  • S601 Write monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core; the monitoring information may be heartbeat information;
  • S602 Read the monitoring information from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
  • S603 Determine whether the original operating system runs normally according to the update status of the monitoring information. For example, when the monitoring information is heartbeat information, the system monitoring program determines whether the heartbeat information is updated. If the heartbeat information is not updated within the specified period, it indicates that the original operating system has an abnormality; if the heartbeat information exists within the specified period Update, the original operating system is normal. When the system monitor monitors the abnormality of the original operating system, it initiates corresponding operations, such as: directly resetting the hardware; or collecting the current memory mirror information for subsequent fault analysis and positioning, and then resetting.
  • the system monitor monitors the abnormality of the original operating system, it initiates corresponding operations, such as: directly resetting the hardware; or collecting the current memory mirror information for subsequent fault analysis and positioning, and then resetting.
  • the operating environment module needs to provide a running environment for the maintenance process of the system
  • the corresponding running environment is provided for the foregoing logging process and the system monitoring process, and needs to be run in the real mode, so as to use the BIOS interface.
  • the implementation needs to be independent of the original operating system. There are many options for the specific implementation, including but not limited to the following:
  • DOS operating system disk operating system
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a maintenance process running device of the system, as shown in FIG. 7, including:
  • the resource management module is configured to allocate corresponding hardware resources to the maintenance process of the system
  • a resource isolation module configured to isolate the allocated hardware resources from the original operating system
  • control module configured to control the maintenance process to run within the hardware resource.
  • the resource management module includes:
  • a dedicated CPU allocation sub-module is set to allocate a corresponding dedicated CPU core for the maintenance process of the system
  • a memory resource allocation submodule configured to allocate a dedicated CPU memory resource to the dedicated CPU core
  • a hardware resource allocation sub-module configured to allocate dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system
  • the operating environment loads the submodule, and is set to load the corresponding running environment for the dedicated CPU core.
  • the resource isolation module includes:
  • the process culling submodule is set to remove the allocated dedicated CPU core from the process scheduling module of the original operating system
  • Interrupting the culling submodule configured to remove the dedicated CPU core from the interrupt routing module
  • the time interrupt cancel submodule is set to cancel the periodic clock interrupt on the dedicated CPU core
  • the maintenance process of the system can be truly operated independently of the operation of the original operating system, so that the operation of the corresponding maintenance process can be prevented from being interfered by the operation of the original operating system, ensuring
  • the normal and reliable operation of the maintenance process provides convenience for system maintenance personnel and users to find system faults and detect the system.
  • the maintenance process of the foregoing system includes: a logging process of the system and/or a monitoring process of the system;
  • the resource management module is configured to allocate corresponding hardware resources to the logging process and/or the monitoring process;
  • the control module is configured to control the logging process and/or the monitoring process to run within the corresponding hardware resource.
  • a dedicated CPU core is allocated to the operation of the logging process and the monitoring process, and the dedicated CPU core is isolated from the operation of the original operating system.
  • control module When the maintenance process of the system is a logging process of the system, the control module includes:
  • the first information is written into the sub-module, and the original operating system is configured to write the log information in the data hardware resource in a fixed format into the data hardware resources reserved for communication between the original operating system and the corresponding dedicated CPU core. Corresponding position
  • a first information reading submodule configured to read log information of a corresponding data hardware resource from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
  • the control submodule is configured to call the disk operation interface to write the log information in the corresponding data hardware resource into the specified disk sector range.
  • control module When the maintenance process of the system is a monitoring process of the system, the control module includes:
  • a second information writing submodule configured to write monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
  • a second information reading submodule configured to read the monitoring information from a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
  • the management submodule is configured to determine whether the original operating system is operating normally according to the update status of the monitoring information.
  • the solution specifically allocates corresponding hardware resources for the maintenance process of the system, and closes the task of performing the maintenance process, and can provide a highly reliable system without requiring additional hardware devices and being affected by other running processes in the system. Maintenance process operation;
  • the maintenance process of the system is a logging process
  • reliable logging of the system log and monitoring of the running state of the system can be implemented, which can greatly improve the maintainability of the system
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the above technical solution can provide a maintenance process of a highly reliable system without requiring additional hardware devices and being affected by other running processes in the system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A method and device for running a maintenance process of a system. The method for running a maintenance process of a system comprises the following steps: allocating a corresponding hardware resource to the maintenance process of the system; separating the allocated hardware resource from an original operating system; and controlling the maintenance process to run within the hardware resource. The above-mentioned technical solution solves the problem in the related art that a system fault cannot be analysed correctly when the system fault occurs, which is caused by the case where a maintenance process of a system cannot run reliably. The above-mentioned technical solution realizes that the running of a maintenance process of a high-reliability system can be provided without needing an extra hardware device and being influenced by other running processes in the system.

Description

一种系统的维护进程运行方法及装置Method and device for running maintenance process of system 技术领域Technical field
本文涉及但不限于计算机操作系统技术领域,尤其涉及一种系统的维护进程运行方法及装置。This document relates to, but is not limited to, the field of computer operating system technology, and in particular, to a system maintenance process running method and device.
背景技术Background technique
承载着关键业务的操作系统通常也承载着巨大的业务压力和负荷,这种情况下,一方面对系统的可靠性是一种严峻的考验,另一方面对系统的可维护性也有越来越高的要求。实际应用场景中,系统故障难以避免,但对于系统故障的分析定位却一直是困扰系统用户和系统开发人员的一大难题,主要原因还在于系统故障时的关键信息(如系统日志等)无法获取,从而无法判断系统的具体故障。Operating systems that carry critical services often carry huge business pressures and loads. In this case, on the one hand, the reliability of the system is a severe test, on the other hand, the maintainability of the system is also increasing. High requirements. In actual application scenarios, system faults are difficult to avoid, but the analysis and location of system faults has always been a major problem for system users and system developers. The main reason is that critical information (such as system logs) cannot be obtained during system failure. Therefore, it is impossible to judge the specific failure of the system.
系统的维护进程对于判断系统的故障及对系统故障的分析有着至关重要的作用。例如,对于系统的日志记录进程,系统日志由日志记录进程负责记录,日志记录进程通过写磁盘来记录日志,但这样的日志记录方式在系统出现异常情况时,无法保证日志能可靠写入磁盘。其主要原因包括:1)日志记录进程写磁盘操作需要经过相当复杂的流程,以Linux操作系统为例,可能涉及缓存、内核中的块设备层、IO(输入输出,本文简称IO)调度层、SCSI层、以及磁盘驱动等模块的处理过程,期间可能会因为各种原因导致阻塞,比如:内存紧张导致内核流程中分配内存时阻塞,进而导致写磁盘操作阻塞;或者系统IO繁忙导致IO阻塞,进而导致写磁盘操作阻塞;2)日志记录进程写磁盘操作依赖于系统中进程调度,如果进程调度出现异常,此时可能无法调度负责记录日志的用户进程,进而也就无法记录日志。导致进程调度出现异常的情况也比较多,比如:当系统CPU负荷过重时、或当前CPU上有更高优先级的进程持续占用CPU时,都可能导致负责记录日志的日志记录进程无法得到调度或产生调度延迟;另外,对于系统的监控进程针对操作系统运行状态的监控,如软件看门狗,通过软件之间的交互来达到监控系统运 行状态的目的,其主要缺点在于:由于软件受进程调度、进程间通信、系统资源等因素的影响,其可靠性无法得到保证;还有,在对于系统运行状态的监控中,也可以使用硬件看门狗进行监控,但其需要额外增加一个硬件设备,适用范围有限,不具备通用性。The maintenance process of the system plays a crucial role in judging the failure of the system and the analysis of the system failure. For example, for the system's logging process, the system log is recorded by the logging process. The logging process records the log by writing to the disk. However, when the system is abnormal, the log cannot be reliably written to the disk. The main reasons include: 1) The logging process requires a fairly complicated process for writing disk operations. Taking the Linux operating system as an example, it may involve caching, block device layers in the kernel, and IO (input and output, referred to as IO) scheduling layer. The processing of modules such as the SCSI layer and the disk drive may be blocked for various reasons. For example, if the memory is tight, the memory is blocked when the memory is allocated in the kernel process, and the write disk operation is blocked; or the system IO is busy, causing IO blocking. In turn, the write disk operation is blocked. 2) The log record process write disk operation depends on the process schedule in the system. If the process schedule is abnormal, the user process responsible for logging may not be scheduled at this time, and thus the log cannot be recorded. There are many exceptions that cause the process to be dispatched. For example, when the CPU load of the system is too heavy, or when a process with a higher priority on the current CPU continues to occupy the CPU, the log record process responsible for logging may not be scheduled. Or generate scheduling delay; in addition, for the monitoring process of the system for the monitoring of the operating state of the operating system, such as software watchdog, through the interaction between software to achieve monitoring system operation The main disadvantage of the purpose of the row state is that the reliability of the software cannot be guaranteed due to factors such as process scheduling, inter-process communication, system resources, etc. Also, hardware can be used in monitoring the operating state of the system. The watchdog is monitored, but it requires an additional hardware device that is limited in scope and not universal.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种系统的维护进程运行方法及装置,解决相关技术中系统的维护进程无法可靠地运行,导致出现系统故障时不能对系统故障进行正确分析的技术问题。The embodiment of the invention provides a method and a device for running a maintenance process of a system, which solves the technical problem that the maintenance process of the system in the related art cannot be reliably operated, and the system failure cannot be correctly analyzed when a system failure occurs.
本发明实施例提供一种系统的维护进程运行方法,包括:The embodiment of the invention provides a method for running a maintenance process of a system, including:
为原操作系统的维护进程分配对应的硬件资源;Allocating corresponding hardware resources to the maintenance process of the original operating system;
将所述分配的硬件资源与原操作系统隔离;Isolating the allocated hardware resources from the original operating system;
控制所述维护进程在所述硬件资源内运行。Controlling the maintenance process to run within the hardware resource.
在本发明的一种实施方式中,为系统的维护进程分配对应的硬件资源包括:In an embodiment of the present invention, allocating corresponding hardware resources to the maintenance process of the system includes:
为系统的维护进程分别分配对应的专用CPU核;Allocating corresponding dedicated CPU cores for the maintenance process of the system;
为所述专用CPU核分配专用的CPU内存资源;Allocating dedicated CPU memory resources for the dedicated CPU core;
为所述专用CPU核与原操作系统之间进行通信和数据交互分配专用的数据硬件资源;Allocating dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system;
为所述专用CPU核加载对应的运行环境。Loading a corresponding operating environment for the dedicated CPU core.
在本发明的一种实施方式中,将所述分配的硬件资源与原操作系统隔离包括:In an embodiment of the present invention, the isolating the allocated hardware resources from the original operating system includes:
将分配的专用CPU核从原操作系统的进程调度模块中剔除;The allocated dedicated CPU core is removed from the process scheduling module of the original operating system;
将所述专用CPU核从中断路由模块中剔除;Deleting the dedicated CPU core from the interrupt routing module;
设置所述专用CPU核对应的核间中断掩码位; Setting an inter-core interrupt mask bit corresponding to the dedicated CPU core;
取消所述专用CPU核上的周期性时钟中断;Deactivating a periodic clock interrupt on the dedicated CPU core;
将所述专用CPU核上原有的原操作系统的全部CPU任务取消。All CPU tasks of the original operating system on the dedicated CPU core are canceled.
在本发明的一种实施方式中,为所述专用CPU核加载对应的运行环境包括:In an embodiment of the present invention, loading the corresponding operating environment for the dedicated CPU core includes:
初始化所述专用CPU核相关的硬件环境;Initializing a hardware environment related to the dedicated CPU core;
加载每个专用CPU核对应的程序;Loading the program corresponding to each dedicated CPU core;
跳转到每个专用CPU核对应的程序入口开始执行。Jump to the program entry corresponding to each dedicated CPU core to start execution.
在本发明的一种实施方式中,所述系统的维护进程包括:系统的日志记录进程和/或系统的监控进程;In an embodiment of the present invention, the maintenance process of the system includes: a logging process of the system and/or a monitoring process of the system;
为系统的维护进程分配对应的硬件资源包括:为所述日志记录进程和/或监控进程分配对应的硬件资源;Allocating corresponding hardware resources for the maintenance process of the system includes: allocating corresponding hardware resources to the logging process and/or the monitoring process;
所述控制所述维护进程在所述硬件资源内运行包括:控制所述日志记录进程和/或监控进程在所述对应的硬件资源内运行。The controlling the maintenance process to run within the hardware resource comprises: controlling the logging process and/or the monitoring process to run within the corresponding hardware resource.
在本发明的一种实施方式中,当所述系统的维护进程为系统的日志记录进程时,控制所述日志记录进程在所述对应的硬件资源内运行包括:In an embodiment of the present invention, when the maintenance process of the system is a logging process of the system, controlling the logging process to run in the corresponding hardware resource includes:
原操作系统将日志信息记录于专用的数据硬件资源中;The original operating system records the log information in a dedicated data hardware resource;
原操作系统将所述数据硬件资源中的日志信息以固定的格式写入为原操作系统和对应的专用CPU核之间通信所保留的数据硬件资源中的对应位置;The original operating system writes the log information in the data hardware resource in a fixed format to a corresponding position in the data hardware resource reserved by the communication between the original operating system and the corresponding dedicated CPU core;
从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置中读取相应的数据硬件资源的日志信息;Reading log information of the corresponding data hardware resource from a corresponding position in the data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
调用磁盘操作接口将相应的数据硬件资源中的日志信息直接写入指定的磁盘扇区范围中。The disk operation interface is called to directly write the log information in the corresponding data hardware resource to the specified disk sector range.
在本发明的一种实施方式中,当所述系统的维护进程为系统的监控进程时,控制所述监控进程在所述对应的硬件资源内运行包括:In an embodiment of the present invention, when the maintenance process of the system is a monitoring process of the system, controlling the monitoring process to run in the corresponding hardware resource includes:
向为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置写入监控信息;Writing monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对 应位置读取所述监控信息;Pair of data hardware resources reserved for communication between the original operating system and the dedicated CPU core The monitoring information should be read at a location;
根据所述监控信息的更新情况判断原操作系统是否正常运行。Whether the original operating system is operating normally is determined according to the update status of the monitoring information.
本发明实施例还提供一种系统的维护进程运行装置,包括:The embodiment of the invention further provides a maintenance process running device of the system, comprising:
资源管理模块,设置为为系统的维护进程分配对应的硬件资源;The resource management module is configured to allocate corresponding hardware resources to the maintenance process of the system;
资源隔离模块,设置为将所述分配的硬件资源与原操作系统隔离;a resource isolation module, configured to isolate the allocated hardware resources from the original operating system;
控制模块,设置为控制所述维护进程在所述硬件资源内运行。And a control module configured to control the maintenance process to run within the hardware resource.
在本发明的一种实施方式中,所述资源管理模块包括:In an embodiment of the present invention, the resource management module includes:
专用CPU分配子模块,设置为为系统的维护进程分别分配对应的专用CPU核;A dedicated CPU allocation sub-module is set to allocate a corresponding dedicated CPU core for the maintenance process of the system;
内存资源分配子模块,设置为为所述专用CPU核分配专用的CPU内存资源;a memory resource allocation submodule configured to allocate a dedicated CPU memory resource to the dedicated CPU core;
硬件资源分配子模块,设置为为所述专用CPU核与原有操作系统之间进行通信和数据交互分配专用的数据硬件资源;a hardware resource allocation sub-module configured to allocate dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system;
运行环境加载子模块,设置为为所述专用CPU核加载对应的运行环境。The operating environment loads the submodule, and is set to load the corresponding running environment for the dedicated CPU core.
在本发明的一种实施方式中,所述资源隔离模块包括:In an embodiment of the present invention, the resource isolation module includes:
进程剔除子模块,设置为将分配的专用CPU核从原操作系统的进程调度模块中剔除;The process culling submodule is set to remove the allocated dedicated CPU core from the process scheduling module of the original operating system;
中断剔除子模块,设置为将所述专用CPU核从中断路由模块中剔除;Interrupting the culling submodule, configured to remove the dedicated CPU core from the interrupt routing module;
设置子模块,设置为设置所述专用CPU核对应的核间中断掩码位;Setting a submodule, which is set to set an inter-core interrupt mask bit corresponding to the dedicated CPU core;
时间中断取消子模块,设置为取消所述专用CPU核上的周期性时钟中断;The time interrupt cancel submodule is set to cancel the periodic clock interrupt on the dedicated CPU core;
CPU任务取消子模块,设置为将所述专用CPU核上原有的原操作系统的全部CPU任务取消。The CPU task cancels the sub-module and is set to cancel all CPU tasks of the original original operating system on the dedicated CPU core.
在本发明的一种实施方式中,所述系统的维护进程包括:系统的日志记录进程和/或系统的监控进程; In an embodiment of the present invention, the maintenance process of the system includes: a logging process of the system and/or a monitoring process of the system;
所述资源管理模块是设置为为所述日志记录进程和/或监控进程分配对应的硬件资源;The resource management module is configured to allocate corresponding hardware resources to the logging process and/or the monitoring process;
所述控制模块是设置为控制所述日志记录进程和/或监控进程在所述对应的硬件资源内运行。The control module is configured to control the logging process and/or the monitoring process to run within the corresponding hardware resource.
在本发明的一种实施方式中,当所述系统的维护进程为系统的日志记录进程时,所述控制模块包括:In an embodiment of the present invention, when the maintenance process of the system is a logging process of the system, the control module includes:
信息记录子模块,设置为原操作系统将日志信息记录于专用的数据硬件资源中;The information recording sub-module is set to record the log information in the dedicated data hardware resource by the original operating system;
第一信息写入子模块,设置为原操作系统将所述数据硬件资源中的日志信息以固定的格式写入为原操作系统和对应的专用CPU核之间通信所保留的数据硬件资源中的对应位置;The first information is written into the sub-module, and the original operating system is configured to write the log information in the data hardware resource in a fixed format into the data hardware resources reserved for communication between the original operating system and the corresponding dedicated CPU core. Corresponding position
第一信息读取子模块,设置为从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置中读取相应的数据硬件资源的日志信息;a first information reading submodule configured to read log information of a corresponding data hardware resource from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
控制子模块,设置为调用磁盘操作接口将相应的数据硬件资源中的日志信息写入指定的磁盘扇区范围中。The control submodule is configured to call the disk operation interface to write the log information in the corresponding data hardware resource into the specified disk sector range.
在本发明的一种实施方式中,当所述系统的维护进程为系统的监控进程时,所述控制模块包括:In an embodiment of the present invention, when the maintenance process of the system is a monitoring process of the system, the control module includes:
第二信息写入子模块,设置为向为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置写入监控信息;a second information writing submodule configured to write monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
第二信息读取子模块,设置为从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置读取所述监控信息;a second information reading submodule configured to read the monitoring information from a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
管理子模块,设置为根据所述监控信息的更新情况判断原操作系统是否正常运行。The management submodule is configured to determine whether the original operating system is operating normally according to the update status of the monitoring information.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。 The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明实施例提供的系统的维护进程运行方法及装置,通过为系统的维护进程分配对应的硬件资源,并将分配的硬件资源与原操作系统隔离;然后控制维护进程在分配的硬件资源内运行。本方案为系统的维护进程专门分配对应的硬件资源,封闭执行维护进程的任务,可以在不需要额外的硬件设备及不受系统中其他运行进程的影响的情况下,提供高可靠性的系统的维护进程的运行。The maintenance process running method and device of the system provided by the embodiment of the present invention allocates corresponding hardware resources to the maintenance process of the system, and isolates the allocated hardware resources from the original operating system; and then controls the maintenance process to run in the allocated hardware resources. . The solution specifically allocates corresponding hardware resources for the maintenance process of the system, and closes the task of performing the maintenance process, and can provide a highly reliable system without requiring additional hardware devices and being affected by other running processes in the system. The maintenance process runs.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例一提供的系统的维护进程运行方法流程示意图;1 is a schematic flowchart of a method for running a maintenance process of a system according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的系统的维护进程分配对应的硬件资源的流程示意图;2 is a schematic flowchart of allocating corresponding hardware resources in a maintenance process of a system according to Embodiment 1 of the present invention;
图3为本发明实施例一提供的专用CPU核加载对应的运行环境的具体方法的流程示意图;3 is a schematic flowchart of a specific method for loading a corresponding operating environment by a dedicated CPU core according to Embodiment 1 of the present invention;
图4本发明实施例一提供的将所述分配的硬件资源与原操作系统隔离的方法的流程示意图;4 is a schematic flowchart of a method for isolating the allocated hardware resources from an original operating system according to Embodiment 1 of the present invention;
图5本发明实施例一提供的控制所述日志记录进程在所述对应的硬件资源内运行的方法的流程示意图;FIG. 5 is a schematic flowchart of a method for controlling the log recording process to run in the corresponding hardware resource according to Embodiment 1 of the present invention;
图6本发明实施例一提供的控制所述监控进程在所述对应的硬件资源内运行的方法的流程示意图;FIG. 6 is a schematic flowchart of a method for controlling the monitoring process to run in the corresponding hardware resource according to Embodiment 1 of the present invention;
图7本发明实施例一提供的系统维护进程运行装置的组成模块图。FIG. 7 is a schematic block diagram of a system maintenance process running device according to Embodiment 1 of the present invention.
本发明的实施方式Embodiments of the invention
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一: Embodiment 1:
请参见图1所示,本实施例提供的系统的维护进程运行方法包括:Referring to FIG. 1 , the maintenance process running method of the system provided in this embodiment includes:
S101:为原操作系统的维护进程分配对应的硬件资源;S101: Allocating corresponding hardware resources to a maintenance process of the original operating system;
S102:将所述分配的硬件资源与原操作系统隔离;S102: Isolate the allocated hardware resource from the original operating system;
S103:控制所述维护进程在所述硬件资源内运行。S103: Control the maintenance process to run within the hardware resource.
如图2所示,步骤S101为系统的维护进程分配对应的硬件资源包括:As shown in FIG. 2, the step S101 allocates corresponding hardware resources to the maintenance process of the system, including:
S201:为系统的维护进程分配对应的专用CPU核,且将所述专用CPU核与原操作系统隔离,保证原操作系统上的任务不会占用该专用的CPU核,且不会与其进行交互(比如:核间中断),从而隔离影响;S201: Allocating a corresponding dedicated CPU core for the maintenance process of the system, and isolating the dedicated CPU core from the original operating system, so that the task on the original operating system does not occupy the dedicated CPU core and does not interact with the same ( For example: inter-core interrupts), thereby isolating the effects;
S202:为所述专用CPU核分配专用的CPU内存资源,同样地,将分配的CPU内存资源与原操作系统进行隔离,保证原操作系统不会管理和使用该分配的物理内存,防止原操作系统内存异常对专用CPU核上运行的任务造成影响;S202: Allocating a dedicated CPU memory resource to the dedicated CPU core, and similarly, isolating the allocated CPU memory resources from the original operating system to ensure that the original operating system does not manage and use the allocated physical memory, thereby preventing the original operating system. Memory exceptions affect the tasks running on the dedicated CPU core;
S203:为所述专用CPU核与原操作系统之间进行通信和数据交互分配专用的数据硬件资源;要在专用CPU核上实现对原操作系统的监控或对原操作系统的日志记录,需要了解原操作系统的运行状态,具体可以通过共享内存的方式实现,这就需要为此分配专用的内存资源,该部分内存资源对原操作系统和专用CPU核都是可见的,为可靠起见,还可以控制该部分内存的访问权限,如:使原操作系统对该部分仅有可写权限,使专用CPU对该部分内存仅有可读权限等;S203: Allocating dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system; to implement monitoring of the original operating system or logging of the original operating system on the dedicated CPU core, it is necessary to understand The running state of the original operating system can be realized by means of shared memory. This requires a dedicated memory resource to be allocated for this purpose. The memory resources of the original operating system are visible to the original operating system and the dedicated CPU core. For the sake of reliability, Control the access rights of the part of the memory, such as: the original operating system has only writeable rights to the part, so that the dedicated CPU has only readable rights to the part of the memory;
S204:为所述专用CPU核加载对应的运行环境。可选地,如图3所示,为所述专用CPU核加载对应的运行环境包括以下步骤:S204: Load a corresponding running environment for the dedicated CPU core. Optionally, as shown in FIG. 3, loading the corresponding operating environment for the dedicated CPU core includes the following steps:
S301:将原操作系统中的运行环境模块对应的程序提前写入指定的存储介质中,比如:磁盘设备的指定扇区范围中;S301: Write a program corresponding to the running environment module in the original operating system to a specified storage medium in advance, for example, in a specified sector range of the disk device;
S302:原操作系统启动后,从指定的存储介质中加载运行环境模块到为专用CPU核预先分配的内存中;S302: after the original operating system is started, loading the running environment module from the specified storage medium into a memory pre-allocated for the dedicated CPU core;
S303:使该专用CPU核的指令指针跳转到运行环境模块中的初始运行位置,开始执行运行环境模块。S303: Jump the instruction pointer of the dedicated CPU core to an initial running position in the running environment module, and start executing the running environment module.
需要说明的是,所述运行环境模块需要完成的相应功能包括:初始化专 用CPU核相关的硬件环境;加载对应的系统的维护进程;从指定存储介质中读取系统的维护进程对应的程序,将其加载到为专用CPU核预先分配的内存中;跳转到系统的维护进程对应的程序入口开始执行。初始化专用CPU核相关的硬件环境包括:初始化CPU相关的寄存器,使专用CPU核运行于实模式下;初始化CPU的IDTR寄存器,使其指向BIOS初始化的中断描述符表;如此,可以使该CPU通过中断的方式直接利用BIOS的提供的功能(因为中断服务程序在BIOS中实现),比如磁盘访问的功能;完成内存相关的初始化。比如,为专用CPU核预留的物理内存区域的初始化。It should be noted that the corresponding functions that the running environment module needs to complete include: initializing Using the hardware environment related to the CPU core; loading the maintenance process of the corresponding system; reading the program corresponding to the maintenance process of the system from the specified storage medium, loading it into the memory allocated for the dedicated CPU core; jumping to the system The program entry corresponding to the maintenance process starts execution. The hardware environment related to initializing the dedicated CPU core includes: initializing the CPU-related registers, causing the dedicated CPU core to run in real mode; initializing the CPU's IDTR register to point to the BIOS-initiated interrupt descriptor table; thus, the CPU can be passed The way of interrupting directly utilizes the functions provided by the BIOS (because the interrupt service routine is implemented in the BIOS), such as the function of disk access; complete memory-related initialization. For example, initialization of a physical memory area reserved for a dedicated CPU core.
如图4所示,步骤S102将所述分配的硬件资源与原操作系统隔离包括以下步骤:As shown in FIG. 4, step S102 isolates the allocated hardware resources from the original operating system, including the following steps:
S401:将分配的专用CPU核从原操作系统的进程调度模块中剔除;保证原操作系统中的进程不会被调度到该专用CPU核上。S401: The allocated dedicated CPU core is removed from the process scheduling module of the original operating system; ensuring that processes in the original operating system are not scheduled to the dedicated CPU core.
S402:将所述专用CPU核从中断路由模块中剔除;保证来自外部的外设中断不会被路由到该专用CPU上。S402: The dedicated CPU core is removed from the interrupt routing module; ensuring that external peripheral interrupts are not routed to the dedicated CPU.
S403:设置所述专用CPU核对应的核间中断掩码位;避免来自其它CPU的核间中断被发送到该CPU上。S403: Set an inter-core interrupt mask bit corresponding to the dedicated CPU core; prevent an inter-core interrupt from another CPU from being sent to the CPU.
S404:取消所述专用CPU核上的周期性时钟中断;避免时钟中断对该其产生影响。S404: cancel the periodic clock interrupt on the dedicated CPU core; prevent the clock interrupt from affecting it.
S405:将所述专用CPU核上原有的全部原操作系统的CPU任务取消。禁止类似任务在该专用CPU上运行。S405: Cancel the CPU task of all the original operating systems on the dedicated CPU core. It is forbidden to run similar tasks on this dedicated CPU.
上述将分配的硬件资源与原操作系统隔离的实现保证了专用CPU核使用的硬件资源的独立性。The above-described implementation of isolating the allocated hardware resources from the original operating system ensures the independence of the hardware resources used by the dedicated CPU core.
可选地,在实际应用中,所述系统的维护进程包括:系统的日志记录进程和/或系统的监控进程;所述步骤S101为系统的维护进程分配对应的硬件资源包括:为所述日志记录进程和/或监控进程分配对应的硬件资源;所述步骤S103控制所述维护进程在所述硬件资源内运行包括:控制所述日志记录进程和/或监控进程在所述对应的硬件资源内运行。Optionally, in a practical application, the maintenance process of the system includes: a logging process of the system and/or a monitoring process of the system; and the step S101 is to allocate corresponding hardware resources to the maintenance process of the system, including: The recording process and/or the monitoring process allocate corresponding hardware resources; the step S103 controlling the maintenance process to run in the hardware resource comprises: controlling the logging process and/or monitoring process in the corresponding hardware resource run.
当所述系统的维护进程为系统的日志记录进程时,如图5所示,所述控 制所述日志记录进程在所述对应的硬件资源内运行包括:When the maintenance process of the system is a logging process of the system, as shown in FIG. 5, the control is performed. The logging process running within the corresponding hardware resource includes:
S501:原操作系统将日志信息记录于专用的数据硬件资源中;S501: The original operating system records the log information in a dedicated data hardware resource;
S502:原操作系统将所述数据硬件资源中的日志信息以固定的格式写入为原操作系统和对应的专用CPU核之间通信所保留的数据硬件资源中的对应位置;S502: The original operating system writes the log information in the data hardware resource in a fixed format into a corresponding position in a data hardware resource reserved by communication between the original operating system and the corresponding dedicated CPU core;
S503:从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置中读取相应的数据硬件资源的日志信息;S503: Read log information of a corresponding data hardware resource from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
S504:调用磁盘操作接口将相应的数据硬件资源中的日志信息直接写入指定的磁盘扇区范围中。可选地,调用BIOS提供的磁盘操作接口将相应数据硬件资源中的信息直接写入指定的磁盘扇区范围中。BIOS提供的接口通常为中断接口,比如INT 13H。S504: Calling the disk operation interface to directly write the log information in the corresponding data hardware resource to the specified disk sector range. Optionally, the disk operation interface provided by the BIOS is called to directly write information in the corresponding data hardware resource into the specified disk sector range. The interface provided by the BIOS is usually an interrupt interface, such as the INT 13H.
当所述系统的维护进程为系统的监控进程时,如图6所示,控制所述监控进程在所述对应的硬件资源内运行包括:When the maintenance process of the system is a monitoring process of the system, as shown in FIG. 6, controlling the monitoring process to run in the corresponding hardware resource includes:
S601:向为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置写入监控信息;所述监控信息可以为心跳信息;S601: Write monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core; the monitoring information may be heartbeat information;
S602:从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置读取所述监控信息;S602: Read the monitoring information from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
S603:根据所述监控信息的更新情况判断原操作系统是否正常运行。例如,当所述监控信息为心跳信息时,系统监控程序中判断心跳信息是否更新,如果指定周期内,心跳信息一直未更新,则表明原操作系统已发生异常;如果指定周期内,心跳信息存在更新,原操作系统正常。当系统监控程序监控到原操作系统发生异常,则发起相应的操作,比如:直接复位硬件;或者先搜集当前的内存镜像信息用于后续的故障分析定位,然后再进行复位。S603: Determine whether the original operating system runs normally according to the update status of the monitoring information. For example, when the monitoring information is heartbeat information, the system monitoring program determines whether the heartbeat information is updated. If the heartbeat information is not updated within the specified period, it indicates that the original operating system has an abnormality; if the heartbeat information exists within the specified period Update, the original operating system is normal. When the system monitor monitors the abnormality of the original operating system, it initiates corresponding operations, such as: directly resetting the hardware; or collecting the current memory mirror information for subsequent fault analysis and positioning, and then resetting.
需要说明的是,在上述运行环境模块需要为系统的维护进程提供运行环境时,针对上述日志记录进程及系统监控进程提供对应的运行环境,需要在实模式中运行,以便于使用BIOS接口,其实现需要独立于原操作系统,具体的实现方式可以有多种选择,包括但不局限于以下几种: It should be noted that, when the operating environment module needs to provide a running environment for the maintenance process of the system, the corresponding running environment is provided for the foregoing logging process and the system monitoring process, and needs to be run in the real mode, so as to use the BIOS interface. The implementation needs to be independent of the original operating system. There are many options for the specific implementation, including but not limited to the following:
1)完全重新实现,不提供操作系统环境。由于专用CPU运行于实模式中,同时其实现的功能简单、独立,可以考虑将日志记录进程和系统的监控进程实现的功能串行化,并使用固定内存的方式,如此,可以考虑直接编写相应的代码,实现硬件初始化、日志记录进程和系统的监控进程加载及运行的功能,而不考虑实现进程调度、内存管理、输入输出等复杂的功能;1) Completely re-implemented, no operating system environment is provided. Since the dedicated CPU runs in real mode and its functions are simple and independent, you can consider serializing the functions of the logging process and the monitoring process of the system, and using fixed memory. So, you can consider writing the corresponding directly. The code implements hardware initialization, logging process, and system monitoring process loading and running functions, regardless of complex functions such as process scheduling, memory management, input and output, etc.
2)对原操作系统进行改造。改造原操作系统的初始化流程,在完成硬件初始化后,使其不进入保护模式,不重新初始化中断描述符表(IDT),而直接使用BIOS的中断描述符表(从而可以直接使用BIOS提供的中断接口),并在此之后实现日志记录进程和系统的监控进程加载及运行的功能。如此设计可以利用原操作系统硬件初始化流程,减小设计的复杂度;2) Transform the original operating system. Reform the initialization process of the original operating system, after completing the hardware initialization, it does not enter the protection mode, does not re-initialize the interrupt descriptor table (IDT), and directly uses the BIOS interrupt descriptor table (so that the interrupt provided by the BIOS can be directly used Interface), and after that, implement the function of loading and running the logging process and the monitoring process of the system. This design can use the original operating system hardware initialization process to reduce the complexity of the design;
3)直接使用相关的可以运行在实模式中的操作系统,比如DOS操作系统(磁盘操作系统)。如此,可以直接将相关操作系统中实现的相关功能(比如:进程调度、内存管理等)应用在专用CPU核上,实现更为复杂的功能。3) Directly use related operating systems that can run in real mode, such as DOS operating system (disk operating system). In this way, related functions (such as process scheduling, memory management, etc.) implemented in the relevant operating system can be directly applied to the dedicated CPU core to implement more complicated functions.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
实施例二:Embodiment 2:
本实施例提供了系统的维护进程运行装置,如图7所示,包括:This embodiment provides a maintenance process running device of the system, as shown in FIG. 7, including:
资源管理模块,设置为为系统的维护进程分配对应的硬件资源;The resource management module is configured to allocate corresponding hardware resources to the maintenance process of the system;
资源隔离模块,设置为将所述分配的硬件资源与原操作系统隔离;a resource isolation module, configured to isolate the allocated hardware resources from the original operating system;
控制模块,设置为控制所述维护进程在所述硬件资源内运行。And a control module configured to control the maintenance process to run within the hardware resource.
可选地,所述资源管理模块包括:Optionally, the resource management module includes:
专用CPU分配子模块,设置为为系统的维护进程分别分配对应的专用CPU核;A dedicated CPU allocation sub-module is set to allocate a corresponding dedicated CPU core for the maintenance process of the system;
内存资源分配子模块,设置为为所述专用CPU核分配专用的CPU内存资源;a memory resource allocation submodule configured to allocate a dedicated CPU memory resource to the dedicated CPU core;
硬件资源分配子模块,设置为为所述专用CPU核与原操作系统之间进行通信和数据交互分配专用的数据硬件资源; a hardware resource allocation sub-module configured to allocate dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system;
运行环境加载子模块,设置为为所述专用CPU核加载对应的运行环境。The operating environment loads the submodule, and is set to load the corresponding running environment for the dedicated CPU core.
可选地,所述资源隔离模块包括:Optionally, the resource isolation module includes:
进程剔除子模块,设置为将分配的专用CPU核从原操作系统的进程调度模块中剔除;The process culling submodule is set to remove the allocated dedicated CPU core from the process scheduling module of the original operating system;
中断剔除子模块,设置为将所述专用CPU核从中断路由模块中剔除;Interrupting the culling submodule, configured to remove the dedicated CPU core from the interrupt routing module;
设置子模块,设置为设置所述专用CPU核对应的核间中断掩码位;Setting a submodule, which is set to set an inter-core interrupt mask bit corresponding to the dedicated CPU core;
时间中断取消子模块,设置为取消所述专用CPU核上的周期性时钟中断;The time interrupt cancel submodule is set to cancel the periodic clock interrupt on the dedicated CPU core;
CPU任务取消子模块,设置为将所述专用CPU核上原有的全部原操作系统的CPU任务取消。The CPU task cancels the sub-module and is set to cancel the CPU tasks of all the original operating systems originally on the dedicated CPU core.
通过本实施例中各个模块对应功能的执行,使得所述系统的维护进程能够真正独立与原操作系统的运行进行运行,从而使得对应的维护进程的运行能够不受原操作系统运行的干扰,确保了维护进程的正常可靠地运行,为系统维护人员及用户查找系统故障及对系统的检测提供了方便。Through the execution of the corresponding functions of the modules in the embodiment, the maintenance process of the system can be truly operated independently of the operation of the original operating system, so that the operation of the corresponding maintenance process can be prevented from being interfered by the operation of the original operating system, ensuring The normal and reliable operation of the maintenance process provides convenience for system maintenance personnel and users to find system faults and detect the system.
可选的,上述系统的维护进程包括:系统的日志记录进程和/或系统的监控进程;Optionally, the maintenance process of the foregoing system includes: a logging process of the system and/or a monitoring process of the system;
所述资源管理模块是设置为为所述日志记录进程和/或监控进程分配对应的硬件资源;The resource management module is configured to allocate corresponding hardware resources to the logging process and/or the monitoring process;
所述控制模块是设置为控制所述日志记录进程和/或监控进程在所述对应的硬件资源内运行。The control module is configured to control the logging process and/or the monitoring process to run within the corresponding hardware resource.
通过对日志记录进程及监控进程的运行分配专用的CPU核,并将该专用CPU核与原操作系统的运行进行隔离。A dedicated CPU core is allocated to the operation of the logging process and the monitoring process, and the dedicated CPU core is isolated from the operation of the original operating system.
当所述系统的维护进程为系统的日志记录进程时,所述控制模块包括:When the maintenance process of the system is a logging process of the system, the control module includes:
信息记录子模块,设置为原操作系统将日志信息记录于专用的数据硬件 资源中;Information record sub-module, set to the original operating system to record log information in dedicated data hardware In resources
第一信息写入子模块,设置为原操作系统将所述数据硬件资源中的日志信息以固定的格式写入为原操作系统和对应的专用CPU核之间通信所保留的数据硬件资源中的对应位置;The first information is written into the sub-module, and the original operating system is configured to write the log information in the data hardware resource in a fixed format into the data hardware resources reserved for communication between the original operating system and the corresponding dedicated CPU core. Corresponding position
第一信息读取子模块,设置为从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置中读取相应的数据硬件资源的日志信息;a first information reading submodule configured to read log information of a corresponding data hardware resource from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
控制子模块,设置为调用磁盘操作接口将相应的数据硬件资源中的日志信息写入指定的磁盘扇区范围中。The control submodule is configured to call the disk operation interface to write the log information in the corresponding data hardware resource into the specified disk sector range.
当所述系统的维护进程为系统的监控进程时,所述控制模块包括:When the maintenance process of the system is a monitoring process of the system, the control module includes:
第二信息写入子模块,设置为向为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置写入监控信息;a second information writing submodule configured to write monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
第二信息读取子模块,设置为从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置读取所述监控信息;a second information reading submodule configured to read the monitoring information from a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
管理子模块,设置为根据所述监控信息的更新情况判断原操作系统是否正常运行。The management submodule is configured to determine whether the original operating system is operating normally according to the update status of the monitoring information.
本方案为系统的维护进程专门分配对应的硬件资源,封闭执行维护进程的任务,可以在不需要额外的硬件设备及不受系统中其他运行进程的影响的情况下,提供高可靠性的系统的维护进程的运行;The solution specifically allocates corresponding hardware resources for the maintenance process of the system, and closes the task of performing the maintenance process, and can provide a highly reliable system without requiring additional hardware devices and being affected by other running processes in the system. Maintenance process operation;
进一步地,当所述系统的维护进程为日志记录进程时,可实现可靠记录系统日志并对系统运行状态进行监控,能大大提高系统的可维护性;Further, when the maintenance process of the system is a logging process, reliable logging of the system log and monitoring of the running state of the system can be implemented, which can greatly improve the maintainability of the system;
进一步地,当所述系统的维护进程为监控进程时,不需额外硬件设备,也不需特殊的硬件设计支持,具有很强的通用性。Further, when the maintenance process of the system is a monitoring process, no additional hardware equipment is required, and special hardware design support is not required, which has strong versatility.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能 认定本发明的具体实施只局限于这些说明。The above content is a further detailed description of the present invention in combination with specific embodiments, and cannot be It is to be understood that the specific embodiments of the invention are limited only by the description.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
上述技术方案可以在不需要额外的硬件设备及不受系统中其他运行进程的影响的情况下,提供高可靠性的系统的维护进程的运行。 The above technical solution can provide a maintenance process of a highly reliable system without requiring additional hardware devices and being affected by other running processes in the system.

Claims (14)

  1. 一种系统的维护进程运行方法,包括:A system maintenance process running method includes:
    为原操作系统的维护进程分配对应的硬件资源;Allocating corresponding hardware resources to the maintenance process of the original operating system;
    将所述分配的硬件资源与原操作系统隔离;Isolating the allocated hardware resources from the original operating system;
    控制所述维护进程在所述硬件资源内运行。Controlling the maintenance process to run within the hardware resource.
  2. 如权利要求1所述的系统的维护进程运行方法,其中,为系统的维护进程分配对应的硬件资源包括:The maintenance process running method of the system of claim 1 , wherein allocating corresponding hardware resources to the maintenance process of the system comprises:
    为系统的维护进程分别分配对应的专用CPU核;Allocating corresponding dedicated CPU cores for the maintenance process of the system;
    为所述专用CPU核分配专用的CPU内存资源;Allocating dedicated CPU memory resources for the dedicated CPU core;
    为所述专用CPU核与原操作系统之间进行通信和数据交互分配专用的数据硬件资源;Allocating dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system;
    为所述专用CPU核加载对应的运行环境。Loading a corresponding operating environment for the dedicated CPU core.
  3. 如权利要求2所述的系统的维护进程运行方法,其中,将所述分配的硬件资源与原操作系统隔离包括:The maintenance process running method of the system of claim 2, wherein the isolating the allocated hardware resource from the original operating system comprises:
    将分配的专用CPU核从原操作系统的进程调度模块中剔除;The allocated dedicated CPU core is removed from the process scheduling module of the original operating system;
    将所述专用CPU核从中断路由模块中剔除;Deleting the dedicated CPU core from the interrupt routing module;
    设置所述专用CPU核对应的核间中断掩码位;Setting an inter-core interrupt mask bit corresponding to the dedicated CPU core;
    取消所述专用CPU核上的周期性时钟中断;Deactivating a periodic clock interrupt on the dedicated CPU core;
    将所述专用CPU核上原有的原操作系统的全部CPU任务取消。All CPU tasks of the original operating system on the dedicated CPU core are canceled.
  4. 如权利要求3所述的系统的维护进程运行方法,其中,为所述专用CPU核加载对应的运行环境包括:The maintenance process running method of the system of claim 3, wherein loading the corresponding operating environment for the dedicated CPU core comprises:
    初始化所述专用CPU核相关的硬件环境;Initializing a hardware environment related to the dedicated CPU core;
    加载每个专用CPU核对应的程序;Loading the program corresponding to each dedicated CPU core;
    跳转到每个专用CPU核对应的程序入口开始执行。Jump to the program entry corresponding to each dedicated CPU core to start execution.
  5. 如权利要求2-4任一项所述的系统的维护进程运行方法,其中,A maintenance process operation method of a system according to any one of claims 2 to 4, wherein
    所述系统的维护进程包括:系统的日志记录进程和/或系统的监控进程; The maintenance process of the system includes: a logging process of the system and/or a monitoring process of the system;
    为系统的维护进程分配对应的硬件资源包括:为所述日志记录进程和/或监控进程分配对应的硬件资源;Allocating corresponding hardware resources for the maintenance process of the system includes: allocating corresponding hardware resources to the logging process and/or the monitoring process;
    所述控制所述维护进程在所述硬件资源内运行包括:控制所述日志记录进程和/或监控进程在所述对应的硬件资源内运行。The controlling the maintenance process to run within the hardware resource comprises: controlling the logging process and/or the monitoring process to run within the corresponding hardware resource.
  6. 如权利要求5所述的系统的维护进程运行方法,其中,当所述系统的维护进程为系统的日志记录进程时,控制所述日志记录进程在所述对应的硬件资源内运行包括:The maintenance process running method of the system of claim 5, wherein when the maintenance process of the system is a logging process of the system, controlling the log recording process to run in the corresponding hardware resource comprises:
    原操作系统将日志信息记录于专用的数据硬件资源中;The original operating system records the log information in a dedicated data hardware resource;
    原操作系统将所述数据硬件资源中的日志信息以固定的格式写入为原操作系统和对应的专用CPU核之间通信所保留的数据硬件资源中的对应位置;The original operating system writes the log information in the data hardware resource in a fixed format to a corresponding position in the data hardware resource reserved by the communication between the original operating system and the corresponding dedicated CPU core;
    从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置中读取相应的数据硬件资源的日志信息;Reading log information of the corresponding data hardware resource from a corresponding position in the data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
    调用磁盘操作接口将相应的数据硬件资源中的日志信息直接写入指定的磁盘扇区范围中。The disk operation interface is called to directly write the log information in the corresponding data hardware resource to the specified disk sector range.
  7. 如权利要求5所述的系统的维护进程运行方法,其中,当所述系统的维护进程为系统的监控进程时,控制所述监控进程在所述对应的硬件资源内运行包括:The maintenance process running method of the system of claim 5, wherein when the maintenance process of the system is a monitoring process of the system, controlling the monitoring process to run in the corresponding hardware resource comprises:
    向为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置写入监控信息;Writing monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
    从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置读取所述监控信息;Reading the monitoring information from a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
    根据所述监控信息的更新情况判断原操作系统是否正常运行。Whether the original operating system is operating normally is determined according to the update status of the monitoring information.
  8. 一种系统的维护进程运行装置,包括:A system maintenance process running device, comprising:
    资源管理模块,设置为为系统的维护进程分配对应的硬件资源;The resource management module is configured to allocate corresponding hardware resources to the maintenance process of the system;
    资源隔离模块,设置为将所述分配的硬件资源与原操作系统隔离;a resource isolation module, configured to isolate the allocated hardware resources from the original operating system;
    控制模块,设置为控制所述维护进程在所述硬件资源内运行。And a control module configured to control the maintenance process to run within the hardware resource.
  9. 如权利要求8所述的系统的维护进程运行装置,其中,所述资源管理 模块包括:A maintenance process running device of a system according to claim 8, wherein said resource management Modules include:
    专用CPU分配子模块,设置为为系统的维护进程分别分配对应的专用CPU核;A dedicated CPU allocation sub-module is set to allocate a corresponding dedicated CPU core for the maintenance process of the system;
    内存资源分配子模块,设置为为所述专用CPU核分配专用的CPU内存资源;a memory resource allocation submodule configured to allocate a dedicated CPU memory resource to the dedicated CPU core;
    硬件资源分配子模块,设置为为所述专用CPU核与原操作系统之间进行通信和数据交互分配专用的数据硬件资源;a hardware resource allocation sub-module configured to allocate dedicated data hardware resources for communication and data interaction between the dedicated CPU core and the original operating system;
    运行环境加载子模块,设置为为所述专用CPU核加载对应的运行环境。The operating environment loads the submodule, and is set to load the corresponding running environment for the dedicated CPU core.
  10. 如权利要求9所述的系统维护进程的运行装置,其中,所述资源隔离模块包括:The operating device of the system maintenance process of claim 9, wherein the resource isolation module comprises:
    进程剔除子模块,设置为将分配的专用CPU核从原操作系统的进程调度模块中剔除;The process culling submodule is set to remove the allocated dedicated CPU core from the process scheduling module of the original operating system;
    中断剔除子模块,设置为将所述专用CPU核从中断路由模块中剔除;Interrupting the culling submodule, configured to remove the dedicated CPU core from the interrupt routing module;
    设置子模块,设置为设置所述专用CPU核对应的核间中断掩码位;Setting a submodule, which is set to set an inter-core interrupt mask bit corresponding to the dedicated CPU core;
    时间中断取消子模块,设置为取消所述专用CPU核上的周期性时钟中断;The time interrupt cancel submodule is set to cancel the periodic clock interrupt on the dedicated CPU core;
    CPU任务取消子模块,设置为将所述专用CPU核上原有的原操作系统的全部CPU任务取消。The CPU task cancels the sub-module and is set to cancel all CPU tasks of the original original operating system on the dedicated CPU core.
  11. 如权利要求9或10所述的系统维护进程的运行装置,其中,所述系统的维护进程包括:系统的日志记录进程和/或系统的监控进程;The operating device of the system maintenance process according to claim 9 or 10, wherein the maintenance process of the system comprises: a logging process of the system and/or a monitoring process of the system;
    所述资源管理模块,是设置为为所述日志记录进程和/或监控进程分配对应的硬件资源;The resource management module is configured to allocate corresponding hardware resources to the logging process and/or the monitoring process;
    所述控制模块,是设置为控制所述日志记录进程和/或监控进程在所述对应的硬件资源内运行。The control module is configured to control the logging process and/or the monitoring process to run within the corresponding hardware resource.
  12. 如权利要求11所述的系统维护进程的运行装置,其中,当所述系统的维护进程为系统的日志记录进程时,所述控制模块包括:The operating device of the system maintenance process of claim 11, wherein when the maintenance process of the system is a logging process of the system, the control module comprises:
    信息记录子模块,设置为原操作系统将日志信息记录于专用的数据硬件 资源中;Information record sub-module, set to the original operating system to record log information in dedicated data hardware In resources
    第一信息写入子模块,设置为原操作系统将所述数据硬件资源中的日志信息以固定的格式写入为原操作系统和对应的专用CPU核之间通信所保留的数据硬件资源中的对应位置;The first information is written into the sub-module, and the original operating system is configured to write the log information in the data hardware resource in a fixed format into the data hardware resources reserved for communication between the original operating system and the corresponding dedicated CPU core. Corresponding position
    第一信息读取子模块,设置为从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置中读取相应的数据硬件资源的日志信息;a first information reading submodule configured to read log information of a corresponding data hardware resource from a corresponding position in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
    控制子模块,设置为调用磁盘操作接口将相应的数据硬件资源中的日志信息写入指定的磁盘扇区范围中。The control submodule is configured to call the disk operation interface to write the log information in the corresponding data hardware resource into the specified disk sector range.
  13. 如权利要求11所述的系统维护进程的运行装置,其中,当所述系统的维护进程为系统的监控进程时,所述控制模块包括:The operating device of the system maintenance process of claim 11, wherein when the maintenance process of the system is a monitoring process of the system, the control module comprises:
    第二信息写入子模块,设置为向为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置写入监控信息;a second information writing submodule configured to write monitoring information to a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
    第二信息读取子模块,设置为从为原操作系统和专用CPU核之间通信所保留的数据硬件资源中的对应位置读取所述监控信息;a second information reading submodule configured to read the monitoring information from a corresponding location in a data hardware resource reserved for communication between the original operating system and the dedicated CPU core;
    管理子模块,设置为根据所述监控信息的更新情况判断原操作系统是否正常运行。The management submodule is configured to determine whether the original operating system is operating normally according to the update status of the monitoring information.
  14. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~7中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1-7.
PCT/CN2016/073314 2015-07-16 2016-02-03 Method and device for running maintenance process of system WO2016131383A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510419050.8A CN106354560B (en) 2015-07-16 2015-07-16 System maintenance process operation method and device
CN201510419050.8 2015-07-16

Publications (1)

Publication Number Publication Date
WO2016131383A1 true WO2016131383A1 (en) 2016-08-25

Family

ID=56688657

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073314 WO2016131383A1 (en) 2015-07-16 2016-02-03 Method and device for running maintenance process of system

Country Status (2)

Country Link
CN (1) CN106354560B (en)
WO (1) WO2016131383A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947713A (en) * 2017-10-31 2019-06-28 北京国双科技有限公司 A kind of monitoring method and device of log

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762999A (en) * 2018-05-23 2018-11-06 郑州云海信息技术有限公司 A kind of kernel failure collection method and device
CN112181626A (en) * 2020-10-16 2021-01-05 华东计算技术研究所(中国电子科技集团公司第三十二研究所) System, method and medium for scheduling CPU (Central processing Unit) without Android operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770390A (en) * 2008-12-29 2010-07-07 北京联想软件有限公司 Display isolation method of computer and operation systems
CN103309720A (en) * 2012-03-07 2013-09-18 上海聚耘信息科技有限公司 Virtual machine management system for maintaining virtual data center
CN103778368A (en) * 2014-01-23 2014-05-07 重庆邮电大学 Safe progress isolating method based on system virtualization technology
CN104331659A (en) * 2014-10-30 2015-02-04 浪潮电子信息产业股份有限公司 Design method for system resource application isolation of critical application host

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7992144B1 (en) * 2005-04-04 2011-08-02 Oracle America, Inc. Method and apparatus for separating and isolating control of processing entities in a network interface
CN101661381B (en) * 2009-09-08 2012-05-30 华南理工大学 Data sharing and access control method based on Xen
CN102402395B (en) * 2010-09-16 2014-07-16 中标软件有限公司 Quorum disk-based non-interrupted operation method for high availability system
US20150143375A1 (en) * 2013-11-18 2015-05-21 Unisys Corporation Transaction execution in systems without transaction support

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770390A (en) * 2008-12-29 2010-07-07 北京联想软件有限公司 Display isolation method of computer and operation systems
CN103309720A (en) * 2012-03-07 2013-09-18 上海聚耘信息科技有限公司 Virtual machine management system for maintaining virtual data center
CN103778368A (en) * 2014-01-23 2014-05-07 重庆邮电大学 Safe progress isolating method based on system virtualization technology
CN104331659A (en) * 2014-10-30 2015-02-04 浪潮电子信息产业股份有限公司 Design method for system resource application isolation of critical application host

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947713A (en) * 2017-10-31 2019-06-28 北京国双科技有限公司 A kind of monitoring method and device of log
CN109947713B (en) * 2017-10-31 2021-08-10 北京国双科技有限公司 Log monitoring method and device

Also Published As

Publication number Publication date
CN106354560A (en) 2017-01-25
CN106354560B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US9619308B2 (en) Executing a kernel device driver as a user space process
US9396013B2 (en) Method for controlling a virtual machine and a virtual machine system
US10509686B2 (en) Distributable computational units in a continuous computing fabric environment
US7774647B2 (en) Method for counting instructions for logging and replay of a deterministic sequence of events
US8612937B2 (en) Synchronously debugging a software program using a plurality of virtual machines
US20100205603A1 (en) Scheduling and dispatching tasks in an emulated operating system
WO2006035728A1 (en) Information processing device, interrupt processing control method, and computer program
JP2007226413A (en) Memory dump method, memory dump program and computer system
US8533390B2 (en) Circular buffer in a redundant virtualization environment
US20170285985A1 (en) Providing service address space for diagnostics collection
US20140143372A1 (en) System and method of constructing a memory-based interconnect between multiple partitions
US10241829B2 (en) Information processing device, information processing method, recording medium, calculation processing device, calculation processing method
WO2016131383A1 (en) Method and device for running maintenance process of system
WO2014081611A2 (en) Error recovery in securely partitioned virtualization system with dedicated resources
US10545788B2 (en) Physical to virtual scheduling system and method
WO2014081608A1 (en) Optimized execution of virtualized software using securely partitioned virtualization system with dedicated resources
US9959225B2 (en) Computer apparatus and control method of computer apparatus
US8200918B2 (en) Tracking ownership of memory in a data processing system through use of a memory monitor
US9009422B2 (en) Information processing apparatus and interrupt control method
US11216372B2 (en) Execution manager for binary objects operating across private address spaces
US10528391B1 (en) Execution manager for binary objects operating across private address spaces
US20230236906A1 (en) Information processing device, information processing method, and program
US20240012736A1 (en) Real-time application log collection and log analytics using a single runtime entry-point
Oikawa et al. Simultaneous logging and replay for recording evidences of system failures
CN108415788A (en) For the data processing equipment and method to being made a response without response processing circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16751914

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16751914

Country of ref document: EP

Kind code of ref document: A1