CN110764603A - Monitoring unit control method, system, terminal equipment and storage medium - Google Patents

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

Info

Publication number
CN110764603A
CN110764603A CN201910869897.4A CN201910869897A CN110764603A CN 110764603 A CN110764603 A CN 110764603A CN 201910869897 A CN201910869897 A CN 201910869897A CN 110764603 A CN110764603 A CN 110764603A
Authority
CN
China
Prior art keywords
monitoring unit
host
control
module
standby processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910869897.4A
Other languages
Chinese (zh)
Inventor
冼剑锋
刘全仲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN ZHONGDIAN CHANGCHENG INFORMATION SAFETY SYSTEM Co Ltd
Original Assignee
SHENZHEN ZHONGDIAN CHANGCHENG INFORMATION SAFETY SYSTEM Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN ZHONGDIAN CHANGCHENG INFORMATION SAFETY SYSTEM Co Ltd filed Critical SHENZHEN ZHONGDIAN CHANGCHENG INFORMATION SAFETY SYSTEM Co Ltd
Priority to CN201910869897.4A priority Critical patent/CN110764603A/en
Publication of CN110764603A publication Critical patent/CN110764603A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3293Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Power Sources (AREA)

Abstract

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.

Description

Monitoring unit control method, system, terminal equipment and storage medium
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.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
Example one
As shown in fig. 1, a monitoring unit control method provided in this embodiment includes:
s101: and after receiving preset shutdown information, switching the host control authority to the standby processor, wherein the shutdown information is information for stopping the CPU of the host system.
In application, after receiving an instruction of stopping working, the CPU starts the standby processor, switches the control authority of the host to the standby processor, then stops working, and stops working for other modules except the monitoring unit; wherein, the monitoring unit includes camera module, network module, display module, audio frequency module, storage module.
The standby processor is preferably an ARM architecture chip with low power consumption and is matched with a corresponding embedded operating system, so that the monitoring unit has low energy consumption during monitoring.
In one embodiment, as shown in fig. 2, before S101, the method further includes:
s201: and receiving a host shutdown instruction transmitted by the front end.
In application, when the host is not powered off, the corresponding module of the monitoring unit can be started only by starting corresponding software, the monitoring unit is controlled by the CPU at the moment, the control authority does not need to be switched to the standby processor, but after the traditional host is powered off, the CPU is powered off, the camera loses the capability of receiving video data, and the monitoring unit can still be used for monitoring after the host is powered off by correspondingly transforming the host.
The host computer can be shut down manually by a user, or periodically by an operating system, or remotely and wirelessly.
Specifically, after the host enters the sleep mode or enters the sleep mode for a period of time, the specific time is specified by the user, the host control authority is switched to the standby processor, the monitoring unit is started, for example, after the host enters the sleep mode for 10 minutes, the host control authority is switched to the standby processor if an instruction for starting the host is not detected, and the monitoring unit is started. The user can choose not to start the monitoring unit in the sleep mode, or preset the time for starting the monitoring unit after entering the sleep mode, and after the start time is reached, the monitoring unit is closed, and the host control authority is switched to the CPU.
S202: and interrupting the data communication between the CPU and each module according to the host shutdown instruction, and controlling the CPU to stop running.
In application, after receiving a shutdown instruction of the host, the CPU interrupts data communication with each module and switches the control authority to the standby processor, and at the moment, the standby processor obtains the data communication authority of each module of the monitoring unit and can send or receive a corresponding control instruction through data connection.
S203: and transmitting the information that the CPU stops working to the standby processor.
In application, after the standby processor receives the information that the CPU stops working, the standby processor is started, acquires the control authority of the host, is in control connection with the monitoring unit, and starts the camera module.
S102: and switching each module of the monitoring unit to the path of the standby processor.
In application, in a startup state of a computer, each module of the monitoring unit is in data communication with the CPU, the access of each module of the monitoring unit is the CPU access, after the computer is shut down, the host control authority is switched to the standby processor, the standby processor needs to control each module of the monitoring unit through data communication, and therefore each module of the monitoring unit needs to be switched to the standby processor access to be in data communication with the standby processor.
In one embodiment, as shown in fig. 3, after S102, the method further includes:
s301: and acquiring user login information of the control system.
In application, the standby processor can receive a control instruction of a user through the network module, wherein the control instruction is sent through the control system, login information of the user needs to be acquired in order to confirm whether the user has the control authority of the corresponding host, corresponding host information is acquired, whether the login information of the user is matched with the host information is detected, and if the login information of the user is matched with the host information, the user can control the monitoring unit of the corresponding host in real time and can acquire the monitoring information of the corresponding host in real time.
A user may have control of multiple hosts, and a single host may also be controlled by multiple users.
S302: and if the user login information meets a preset condition, granting the control system to control the standby processor.
In the application, user information with the control authority of the host is recorded in a cloud server of the control system, after the user logs in the control system, the control system receives login information of the user, compares the login information of the user with the user information in the cloud server to obtain host information which can be controlled by the user, and grants the control system to control the authority of the corresponding host of the user, so that the user can control the corresponding host through the control system.
S103: and controlling the standby processor to start the corresponding module of the monitoring unit according to a preset rule or a control instruction.
In application, a user can preset a preset rule, and after the host is powered off, the monitoring unit monitors according to the preset rule, for example, the user preset the rule that after the host is powered off, the camera module is started, the audio module is started, the display module is not started, the network module is started, and video data and the audio module shot by the camera module are stored in the appointed storage module.
The control instruction is an instruction sent by a user through a control system, and the priority of the control instruction is higher than that of a preset rule.
In one embodiment, as shown in fig. 4, S103 includes:
s401: and when the control instruction sent by the control system is not received, controlling the standby processor to start the corresponding module of the monitoring unit according to the preset rule.
S402: 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 application, if a control instruction sent by a user through a control system is not received, the standby processor controls the corresponding module of the monitoring unit according to a rule preset by the user, after the control instruction is received, the standby processor controls the corresponding module according to the control instruction, because the priority of the control instruction is higher, when the control instruction conflicts with the preset rule, the requirement of the control instruction is the first priority, for example, the preset rule is that the camera module is always started after the host is shut down, and after the control instruction for closing the camera module is received, the requirement of the control instruction is the first priority, and the camera module is closed.
In the shutdown state, the network module can be always in a connection state with the control system, the standby processor is remotely controlled through a network, and monitoring data can be received in real time through wireless network signals or historical monitoring data of the storage module can be called.
In one embodiment, as shown in fig. 5, after S103, the method further includes:
s501: and after the CPU is detected to be started, switching the host control authority to the CPU.
In application, the standby processor is mainly used for controlling the monitoring unit, when a user needs to use the host, the standby processor cannot control modules except the monitoring unit, so that the control authority of the host needs to be switched to the CPU, and the user can normally use the host.
S502: and switching the monitoring unit to a path of the CPU, and restoring the monitoring unit to a preset default state.
In application, after the control authority of the host is switched to the CPU, in order for a user to use the corresponding function of the monitoring unit after the host is turned on, each module of the monitoring unit also needs to be switched to the CPU channel, and meanwhile, each module of the monitoring unit also needs to be switched to a default state; wherein the default state is: the camera module is closed, the recording module of the audio module is closed, the display module is started, the network module is started, the states are default states, and a user can reset the default states through setting.
In this embodiment, a standby processor is added in a host, and after the host is turned off, the monitoring unit continues to be turned on, so that a monitoring function can be realized without additionally installing a camera, host resources are utilized to the maximum extent, and when monitoring is performed by the monitoring unit of the host, only the monitoring unit of the host runs, and energy consumption is low.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example two
As shown in fig. 6, an embodiment of the present invention provides a monitoring unit control system, configured to execute the method steps in the first embodiment, where the monitoring unit control system includes: a detection module 61, a switching module 62 and a control module 63.
The detection module 61 is used for switching the host control authority to the standby processor after detecting that the CPU of the host system stops working;
a switching module 62, configured to switch each module of the monitoring unit to a path of the standby processor;
and the control module 63 is configured to control the standby processor to start the corresponding module of the monitoring unit according to a preset rule or a control instruction, where the priority of the control instruction is higher than the preset rule.
In one embodiment, the supervisory unit control system comprises:
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, the supervisory unit control system further comprises:
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.
In one embodiment, the control module 63 includes:
the first judging unit is used for controlling the standby processor to start the corresponding module of the monitoring unit according to the preset rule when the control instruction sent by the control system is not received;
and the second judgment unit is used for controlling the standby processor to start the corresponding module of the monitoring unit according to the control instruction after receiving the control instruction sent by the control system.
In one embodiment, the supervisory unit control system further comprises:
the starting detection module is used for switching the host control authority to the CPU after the CPU is detected to be started;
and the restoring module is used for switching the monitoring unit to the path of the CPU and restoring the monitoring unit to a preset default state.
This embodiment provides a monitoring unit control system, and this embodiment adds the standby processor in the host computer, and after the host computer shuts down, continues to keep the monitoring unit to open to need not to install the camera in addition and can realize the monitoring function, the maximize has utilized the host computer resource, and when monitoring through the monitoring unit of host computer, the host computer only monitors the unit operation, and the power consumption is low.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
EXAMPLE III
As shown in fig. 7, the terminal device 7 of this embodiment includes: a processor 70, a memory 71, and a computer program 72, such as a host shutdown detection program, stored in the memory 71 and operable on the processor 70. The processor 70, when executing the computer program 72, implements the steps in the various monitoring unit control method embodiments described above, such as S101 to S103 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of each module/unit in each device embodiment described above, for example, the functions of the modules 61 to 63 shown in fig. 6.
Illustratively, the computer program 72 may be partitioned into one or more modules/units that are stored in the memory 71 and executed by the processor 70 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 72 in the terminal device 7. For example, the computer program 72 may be divided into a detection module, a switching module, and a control module, and the specific functions of each module are as follows:
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.
The terminal device 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of a terminal device 7 and does not constitute a limitation of the terminal device 7 and may comprise more or less components than shown, or some components may be combined, or different components, for example the terminal device may further comprise input output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a spare Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or a memory of the terminal device 7. The memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used for storing the computer program and other programs and data required by the terminal device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

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.
CN201910869897.4A 2019-09-16 2019-09-16 Monitoring unit control method, system, terminal equipment and storage medium Pending CN110764603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910869897.4A CN110764603A (en) 2019-09-16 2019-09-16 Monitoring unit control method, system, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910869897.4A CN110764603A (en) 2019-09-16 2019-09-16 Monitoring unit control method, system, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110764603A true CN110764603A (en) 2020-02-07

Family

ID=69329737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910869897.4A Pending CN110764603A (en) 2019-09-16 2019-09-16 Monitoring unit control method, system, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110764603A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5220671A (en) * 1990-08-13 1993-06-15 Matsushita Electric Industrial Co., Ltd. Low-power consuming information processing apparatus
CN101458642A (en) * 2007-12-10 2009-06-17 鸿富锦精密工业(深圳)有限公司 Computer monitoring terminal and monitoring method
CN101893926A (en) * 2009-05-20 2010-11-24 联想(北京)有限公司 Method, device and terminal for controlling switching of dual processor
CN102237709A (en) * 2010-04-27 2011-11-09 上海华建电力设备股份有限公司 Rapid standby power supply switching apparatus
CN104898620A (en) * 2015-05-19 2015-09-09 西安晨宇环境工程有限公司 Ethernet-based redundancy control system and control method
CN105828252A (en) * 2016-03-14 2016-08-03 联想(北京)有限公司 Distribution method for microphone control and electronic equipment
CN106444354A (en) * 2015-08-11 2017-02-22 南京理工大学 Double-CPU redundant controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5220671A (en) * 1990-08-13 1993-06-15 Matsushita Electric Industrial Co., Ltd. Low-power consuming information processing apparatus
CN101458642A (en) * 2007-12-10 2009-06-17 鸿富锦精密工业(深圳)有限公司 Computer monitoring terminal and monitoring method
CN101893926A (en) * 2009-05-20 2010-11-24 联想(北京)有限公司 Method, device and terminal for controlling switching of dual processor
CN102237709A (en) * 2010-04-27 2011-11-09 上海华建电力设备股份有限公司 Rapid standby power supply switching apparatus
CN104898620A (en) * 2015-05-19 2015-09-09 西安晨宇环境工程有限公司 Ethernet-based redundancy control system and control method
CN106444354A (en) * 2015-08-11 2017-02-22 南京理工大学 Double-CPU redundant controller
CN105828252A (en) * 2016-03-14 2016-08-03 联想(北京)有限公司 Distribution method for microphone control and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
石路辉: "《一种基于PLC和WinCC的综合自动化监控系统设计与实现》", 《中国优秀硕士学位论文全文数据库 (信息科技II缉)》 *

Similar Documents

Publication Publication Date Title
EP3173926A1 (en) Dual-system electronic apparatus and terminal
KR102026315B1 (en) Image forming apparatus, host apparatus, image forming system with them and method for controlling power source thereof
US9529412B2 (en) System for reducing energy consumption of a device and a method therefor
EP3920528B1 (en) Information processing apparatus, image pickup apparatus, information processing system, information processing method, and program
CN108366114B (en) Application addiction prevention method and device, terminal and computer readable storage medium
EP3065475A1 (en) Transmitting power control and processing method and device, and terminal
CN104932653A (en) Computer startup management control system
CN112764817A (en) Equipment function awakening method and device
US9582069B2 (en) Electronic apparatus and wake-up method thereof
CN104506923A (en) Multimedia processing device, server and method
CN111064737B (en) Power supply switch control method and device and terminal equipment
KR100621399B1 (en) System and method for controlling electric power and main-device and sub-device applied to the same
CN111142900A (en) Program updating method and device and terminal equipment
CN104699647A (en) Method and system for operating a dual chipset network interface controller
CN111262737B (en) Port configuration management method and device, storage medium and terminal
CN110764603A (en) Monitoring unit control method, system, terminal equipment and storage medium
US11765047B2 (en) Control device, control method, and control program
CN109240790B (en) Multi-window management method and system and android terminal
CN107292142B (en) Business operation processing method, business operation processing device and business terminal
US10931121B2 (en) Controlling battery utilization using discharge pattern when system is powered off
CN114546612A (en) System mode switching method and electronic equipment
CN102354524B (en) Prevent the apparatus and method that the abnormal ROM in portable terminal upgrades
CN109918257B (en) Hard disk exception handling method and device
EP2957984A1 (en) Method for power management and corresponding apparatus
JP6717200B2 (en) Power control system, power management device, power monitoring control device, power control method, and program therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207