Monitoring unit control method, system, terminal equipment and storage medium

文档序号:1504223 发布日期:2020-02-07 浏览:21次 中文

阅读说明:本技术 一种监控单元控制方法、系统、终端设备及存储介质 (Monitoring unit control method, system, terminal equipment and storage medium ) 是由 冼剑锋 刘全仲 于 2019-09-16 设计创作,主要内容包括:本发明适用于监控技术领域,提供了一种监控单元控制方法、系统、终端设备及存储介质,包括接收到预设的停机信息后,将主机控制权限切换至备用处理器,所述停机信息为主机系统的CPU停止工作的信息;将监控单元的各个模组切换至所述备用处理器的通路;根据预设规则或控制指令控制所述备用处理器启用所述监控单元的相应模组。本发明提供的一种监控单元控制方法、系统、终端设备及存储介质,使得主机在关机后,依然能保持监控单元开启,从而无需另外安装摄像头即可实现监控功能,最大化的利用了主机资源,且通过主机的监控单元进行监控时,主机只有监控单元运行,耗能低。(The invention is suitable for the technical field of monitoring, and provides a monitoring unit control method, a monitoring unit control system, terminal equipment and a storage medium, wherein the monitoring unit control method comprises the steps of switching the control authority of a host to a standby processor after receiving preset shutdown information, wherein the shutdown information is information for stopping the work of a CPU (central processing unit) of a host system; switching each module of the monitoring unit to a path of the standby processor; and controlling the standby processor to start the corresponding module of the monitoring unit according to a preset rule or a control instruction. According to the monitoring unit control method, the monitoring unit control system, the terminal device and the storage medium, the monitoring unit can still be kept on after the host is shut down, so that the monitoring function can be realized without additionally installing a camera, the host resource is utilized to the maximum extent, and only the monitoring unit of the host runs when the monitoring unit of the host monitors, and the energy consumption is low.)

1. A monitoring unit control method, comprising:

after receiving preset shutdown information, switching the host control authority to a standby processor, wherein the shutdown information is information for stopping the CPU of the host system;

switching each module of the monitoring unit to a path of the standby processor;

and controlling the standby processor to start the corresponding module of the monitoring unit according to a preset rule or a control instruction.

2. The monitoring unit control method of claim 1, further comprising, before receiving the preset shutdown information:

receiving a host shutdown instruction transmitted by a front end;

interrupting data communication between the CPU and each module according to the host shutdown instruction, and controlling the CPU to stop running;

and transmitting the information that the CPU stops working to the standby processor.

3. The monitor cell control method of claim 1, wherein after switching the monitor cell to the path of the standby processor, further comprising:

acquiring user login information of a control system;

and if the user login information meets a preset condition, granting the control system to control the standby processor.

4. The monitoring unit control method according to claim 3, wherein the controlling the standby processor to enable the corresponding module according to a preset rule or a remote control instruction comprises:

when the control instruction sent by the control system is not received, controlling the standby processor to start a corresponding module of the monitoring unit according to the preset rule;

and after the control instruction sent by the control system is received, controlling the standby processor to start a corresponding module of the monitoring unit according to the control instruction.

5. The monitoring unit control method according to any one of claims 1 to 4, wherein after controlling the standby processor to enable the corresponding module according to a preset rule or a control instruction, the method further comprises:

after the CPU is detected to be started, switching the host control authority to the CPU;

and switching the monitoring unit to a path of the CPU, and restoring the monitoring unit to a preset default state.

6. A supervisory unit control system, comprising:

the detection module is used for switching the host control authority to the standby processor after detecting that the CPU of the host system stops working;

the switching module is used for switching each module of the monitoring unit to a path of the standby processor;

and the control module is used for controlling the standby processor to start the corresponding module of the monitoring unit according to a preset rule or a control instruction, and the priority of the control instruction is higher than that of the preset rule.

7. The supervisory unit control system of claim 6, further comprising:

the receiving unit is used for receiving a host shutdown instruction transmitted by the front end;

the control unit is used for interrupting the data communication between the CPU and each module according to the host shutdown instruction and controlling the CPU to stop running;

and the transmission unit is used for transmitting the information that the CPU stops working to the standby processor.

8. The supervisory unit control system of claim 6, further comprising:

the acquisition module is used for acquiring user login information of the control system;

and the judging module is used for granting the control system with the permission to control the standby processor when the user login information meets the preset condition.

9. A terminal device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the steps of the monitoring unit control method according to any of claims 1 to 5 when executing said computer program.

10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the monitoring unit control method according to any one of claims 1 to 5.

Technical Field

The invention belongs to the technical field of monitoring, and particularly relates to a monitoring unit control method, a monitoring unit control system, terminal equipment and a storage medium.

Background

The monitoring unit of the current host computer can be started only when necessary, and the monitoring unit must be started through corresponding software, and when the monitoring unit is started, the host computer must be operated at full power; and after the host computer is shut down, all the modules of the host computer stop working.

Disclosure of Invention

In view of this, embodiments of the present invention provide a monitoring unit control method, system, terminal device and storage medium, so as to solve the problem in the prior art that the host resource is not completely utilized.

A first aspect of an embodiment of the present invention provides a monitoring unit control method, including:

after receiving preset shutdown information, switching the host control authority to a standby Processor, wherein the shutdown information is information that a Central Processing Unit (CPU) of a host system stops working;

switching each module of the monitoring unit to a path of the standby processor;

and controlling the standby processor to start the corresponding module of the monitoring unit according to a preset rule or a control instruction.

In one embodiment, before receiving the preset shutdown information, the method further comprises:

receiving a host shutdown instruction transmitted by a front end;

interrupting data communication between the CPU and each module according to the host shutdown instruction, and controlling the CPU to stop running;

and transmitting the information that the CPU stops working to the standby processor.

In one embodiment, after the switching the monitoring unit to the path of the standby processor, the method further includes:

acquiring user login information of a control system;

and if the user login information meets a preset condition, granting the control system to control the standby processor.

In one embodiment, the controlling the standby processor to enable the corresponding module according to the preset rule or the remote control instruction includes:

when the control instruction sent by the control system is not received, controlling the standby processor to start a corresponding module of the monitoring unit according to the preset rule;

and after the control instruction sent by the control system is received, controlling the standby processor to start a corresponding module of the monitoring unit according to the control instruction.

In one embodiment, after the controlling the standby processor to enable the corresponding module according to the preset rule or the control instruction, the method further includes:

after the CPU is detected to be started, switching the host control authority to the CPU;

and switching the monitoring unit to a path of the CPU, and restoring the monitoring unit to a preset default state.

A second aspect of an embodiment of the present invention provides a monitoring unit control system, including:

the detection module is used for switching the host control authority to the standby processor after detecting that the CPU of the host system stops working;

the switching module is used for switching each module of the monitoring unit to a path of the standby processor;

and the control module is used for controlling the standby processor to start the corresponding module of the monitoring unit according to a preset rule or a control instruction, and the priority of the control instruction is higher than that of the preset rule.

In one embodiment, further comprising:

the receiving unit is used for receiving a host shutdown instruction transmitted by the front end;

the control unit is used for interrupting the data communication between the CPU and each module according to the host shutdown instruction and controlling the CPU to stop running;

and the transmission unit is used for transmitting the information that the CPU stops working to the standby processor.

In one embodiment, further comprising:

the acquisition module is used for acquiring user login information of the control system;

and the judging module is used for granting the control system with the permission to control the standby processor when the user login information meets the preset condition.

A third aspect of an embodiment of the present invention provides a terminal device, including:

memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the monitoring unit control method according to the aforementioned first aspect are implemented when the processor executes the computer program.

A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the monitoring unit control method according to the first aspect.

Compared with the prior art, the embodiment of the invention has the following beneficial effects:

the embodiment provides a monitoring unit control method, a monitoring unit control system, a terminal device and a storage medium, wherein a standby processor is additionally arranged in a host, and the monitoring unit is continuously kept on after the host is shut down, so that the monitoring function can be realized without additionally installing a camera, the host resources are utilized to the maximum extent, and when monitoring is carried out through the monitoring unit of the host, only the monitoring unit of the host runs, and the energy consumption is low.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.

Fig. 1 is a schematic flowchart of a monitoring unit control method according to an embodiment of the present invention;

FIG. 2 is a flowchart illustrating host shutdown information processing according to an embodiment of the present invention;

FIG. 3 is a schematic flow chart of user information detection provided by the embodiment of the present invention;

FIG. 4 is a flowchart illustrating controlling the standby processor to enable corresponding modules according to preset rules or remote control commands according to an embodiment of the present invention;

FIG. 5 is a flowchart illustrating a processing procedure after the host is powered on according to an embodiment of the present invention;

FIG. 6 is a schematic diagram of a monitoring unit control system provided by an embodiment of the present invention;

fig. 7 is a schematic diagram of a terminal device according to an embodiment of the present invention.

Detailed Description

In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于马尔科夫决策过程的高能效任务调度算法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!