[go: up one dir, main page]

CN111176958A - Information monitoring method, system and storage medium - Google Patents

Information monitoring method, system and storage medium Download PDF

Info

Publication number
CN111176958A
CN111176958A CN201911368665.7A CN201911368665A CN111176958A CN 111176958 A CN111176958 A CN 111176958A CN 201911368665 A CN201911368665 A CN 201911368665A CN 111176958 A CN111176958 A CN 111176958A
Authority
CN
China
Prior art keywords
information
displayed
monitoring
state
hardware
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.)
Granted
Application number
CN201911368665.7A
Other languages
Chinese (zh)
Other versions
CN111176958B (en
Inventor
刘海彬
吴会军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911368665.7A priority Critical patent/CN111176958B/en
Publication of CN111176958A publication Critical patent/CN111176958A/en
Application granted granted Critical
Publication of CN111176958B publication Critical patent/CN111176958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses an information monitoring method, an information monitoring system and a storage medium, wherein hardware related information of electronic equipment is monitored through a target controller, information to be displayed is generated based on the hardware related information, and the information to be displayed is displayed in response to a display instruction. The hardware associated information is acquired by the target controller of the electronic equipment, and the target controller can operate in the power-on state of the electronic equipment, so that the monitoring of the full life cycle of the hardware associated information of the electronic equipment is realized.

Description

Information monitoring method, system and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information monitoring method, system, and storage medium.
Background
Along with the popularization of electronic device applications, users increasingly pay more attention to the state information of electronic devices so as to adjust the applications of the electronic devices and enable the electronic devices to be in an optimal use state.
However, the state monitoring process for the electronic device in the prior art can only be performed in a specific period, or additional monitoring software is required, which aggravates the operation load of the electronic device. Therefore, the prior art has the problems that the real-time monitoring of the state information of the electronic equipment cannot be realized, and the cost of hardware or software of the electronic equipment needs to be increased, so that the experience effect of a user in the process of obtaining the state information of the electronic equipment is poor.
Disclosure of Invention
In view of this, the present application provides the following technical solutions:
an information monitoring method, comprising:
monitoring hardware associated information of electronic equipment, wherein the hardware associated information is acquired by a target controller of the electronic equipment, and the target controller can operate in a power-on state of the electronic equipment;
generating information to be displayed based on the hardware correlation information;
and responding to a display instruction, and displaying the information to be displayed.
Optionally, the power-on state of the electronic device includes a first state, where the first state represents a state between the electronic device being started and entering an operating system, and the displaying the information to be displayed in response to the display instruction includes:
determining a display time of the electronic equipment in a first state;
and displaying the information to be displayed at the display time.
Optionally, the power-on state of the electronic device includes a second state, where the second state represents a state after the electronic device enters an operating system, and the displaying the information to be displayed in response to the display instruction includes:
receiving a display instruction in response to the electronic equipment being in a second state;
and displaying the information to be displayed according to the display instruction.
Optionally, the power-on state of the electronic device includes a third state, where the third state indicates that the electronic device enters a power-off state, and the displaying the information to be displayed in response to the display instruction includes:
responding to a display instruction, and acquiring target information in the information to be displayed;
and sending the target information to a preset program, so that the preset program generates display information of the target information and displays the display information.
Optionally, the responding to a display instruction, and displaying the information to be displayed includes:
judging whether the information to be displayed meets an early warning condition, if so, generating a display instruction, wherein the early warning condition represents that the parameter of the monitored hardware-related information reaches an early warning parameter threshold;
and displaying the information to be displayed meeting the early warning condition based on the display instruction.
Optionally, the monitoring hardware related information of the electronic device includes:
and monitoring hardware related information of the electronic equipment based on the pre-created monitoring condition.
Optionally, the monitoring condition includes a monitoring time condition, and the monitoring hardware related information of the electronic device based on the pre-created monitoring condition includes:
monitoring hardware related information of the electronic equipment in a monitoring period meeting the monitoring time condition;
the responding to the display instruction, displaying the information to be displayed, including:
and displaying the information to be displayed in a target time period matched with the monitoring period.
Optionally, the method further comprises:
and generating a monitoring log for the information to be displayed which is not displayed, so that the hardware running state of the electronic equipment can be obtained based on the monitoring log.
An information monitoring system, comprising:
the target controller is used for monitoring hardware related information of the electronic equipment and can operate in a power-on state of the electronic equipment; generating information to be displayed based on the hardware correlation information;
and the display device is used for responding to a display instruction and displaying the information to be displayed.
A storage medium having stored thereon a computer program which, when executed by a processor, implements an information monitoring method as claimed in any one of the preceding claims.
According to the technical scheme, the application discloses an information monitoring method, an information monitoring system and a storage medium, wherein hardware related information of electronic equipment is monitored through a target controller, information to be displayed is generated based on the hardware related information, and the information to be displayed is displayed in response to a display instruction. The hardware associated information is acquired by the target controller of the electronic equipment, and the target controller can run in the power-on state of the electronic equipment, so that the full life cycle of the hardware associated information of the electronic equipment is monitored, the target controller belongs to one of the controllers of the electronic equipment, and the hardware information is detected without installing additional software, so that the real-time monitoring is realized, and the monitoring cost of the electronic equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
FIG. 1 is a display diagram of a BIOS Setup interface;
fig. 2 is a schematic flow chart illustrating an information monitoring method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating an information monitoring method when an electronic device is in a first state according to an embodiment of the present application;
fig. 4 shows a flowchart of an information monitoring method when an electronic device is in a second state according to an embodiment of the present application;
fig. 5 is a flowchart illustrating an information monitoring method when an electronic device is in a third state according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating monitoring of battery power information according to an embodiment of the present disclosure;
fig. 7 shows a schematic structural diagram of an information monitoring system provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the 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 application.
The information monitoring method provided in the embodiment of the application is a method for monitoring information of electronic equipment. The electronic device represents a device having a computer system, such as a personal computer, a palm computer, a desktop computer, an all-in-one machine, and the like, and the structure of the electronic device is not particularly limited in the present application. The computer system consists of two parts: hardware (Hardware) and Software (Software) are Hardware, wherein the Hardware is composed of electronic devices and electromechanical element devices, and comprises a controller, an arithmetic unit, a memory, an input device and an output device, which are physical entity parts in a computer system. The software is system software, support software and application software.
BIOS is the abbreviation of basic input/output system (basic input/output system), called Firmware of computer system, stored in ROM type memory, located at the top of 1M memory (0FE000 ~ 0FFFFFF), is the first section of instruction code executed when the microcomputer is powered on and starts working, and the common operating system of microcomputer, no matter DOS or Windows NT, is booted by it. After BIOS in the computer system is started, the BIOS enters a BIOS Setup interface, and the hardware information of the current computer equipment is read from the nonvolatile storage medium. For example, the hardware status information, including the voltage detection information, the temperature detection information, and the fan speed information, is read out one by one through the LPC interface, and then displayed to the BIOS Setup interface through the BIOS interfacing language. The display interface can be seen in fig. 1, and fig. 1 shows a display schematic diagram of a BIOS Setup interface, which shows monitoring of hardware information. The monitoring information includes CPU (central processing unit) temperature, system temperature, power supply temperature, fan temperature adjustment, CPU fan speed, chassis wind speed, power supply fan speed, voltage monitoring information, and the like. Correspondingly, a mode of installing independent software in a computer system can be adopted when the hardware information is obtained, and the mode needs to be matched with the installation environment and the compatible characteristic of the software.
It can be seen that, in the monitoring mode of the computer hardware shown in fig. 1, the monitoring mode can only be performed in a POST (power on Self Test) stage of the computer, and the monitoring information cannot be obtained in real time and displayed in real time. When the detection is performed by using the specific software, the problems of compatibility, resource load and the like of the computer need to be considered. Therefore, the hardware related information of the electronic equipment is monitored through the target controller, and real-time monitoring and displaying of the hardware related information of the electronic equipment are achieved.
Referring to fig. 2, a schematic flow chart of an information monitoring method provided in an embodiment of the present application is shown, where the method may include the following steps:
s101, monitoring hardware related information of the electronic equipment.
And acquiring hardware related information of the electronic equipment through a target controller of the electronic equipment. The target controller is capable of operating in a powered-on state of the electronic device. The power-on state of the electronic device represents a state that the electronic device is powered on or a power storage device in the electronic device can supply power, for example, a power connection line of a computer with a desktop computer or an all-in-one machine structure is powered on, namely, when the computer is in a powered state, the computer is in a corresponding power-on state; for another example, because the notebook computer is provided with a battery for supplying power to the notebook computer, even if the notebook computer is not connected with a power line, the notebook computer is in a power-on state as long as the battery is ensured to store electric quantity. Namely, the target controller can operate when the electronic equipment is in any state, and real-time monitoring of the hardware associated information is realized. For example, the monitoring of the hardware-related information of the electronic device may be implemented by an EC (embedded controller). An EC is a control system for performing specified independent control functions and having the ability to process data in a complex manner. It is an electronic device or apparatus controlled by embedded microelectronic technology chip (including a series of microelectronic devices such as microprocessor chip, timer, sequencer or controller), and can complete various automatic processing tasks such as monitoring and control. Namely, the embedded controller is mainly used for controlling, monitoring, managing or assisting other equipment to operate in real time. It consists of microprocessor chip, software solidified in the chip and other components. Therefore, the embedded controller belongs to a part of the electronic device, and no additional hardware or software is required to be installed for monitoring the hardware related information.
The hardware of the electronic device refers to all physical parts, and for this purpose, the software for distinguishing data included in or executed by the hardware and providing instructions for the hardware to complete tasks mainly comprises: the computer system comprises a case, a mainboard, a bus, a power supply, hardware, a storage controller, an interface card, a portable storage device, a built-in memory, an input device, an output device, a CPU fan, a buzzer and the like. The hardware-related information of the electronic device in the embodiment of the application is related to the attribute characteristics, the monitoring environment and the monitoring purpose of the monitored electronic device. In different monitoring scenes or testing scenes, the monitored hardware information can be different, and the application does not limit the monitoring and testing scenes. Generally, the hardware-related information of the electronic device represents information that can obtain the hardware state of the electronic device, such as fan speed, system temperature, CPU temperature, power consumption, critical voltage, and the like.
And S102, generating information to be displayed based on the hardware related information.
After the hardware associated information of the electronic device is acquired through the target controller, the information to be displayed can be generated according to the information attribute characteristics of the hardware associated information. For example, after the information is classified according to the hardware type contained in the hardware-related information, the information to be displayed is generated; or generating the information to be displayed according to the monitoring time. The generated information to be displayed can be displayed in a display area of a display device of the electronic equipment.
And S103, responding to the display instruction, and displaying the information to be displayed.
The target controller can acquire the hardware associated information of the electronic equipment in real time, so that the generated information to be displayed can be displayed in real time. Further, in order to reduce the occupation of processing resources of a target controller in the process of displaying information, or the occupation of excessive display resources of the electronic device. The information to be displayed is usually displayed after the display instruction is obtained. Namely, after the target controller obtains the hardware related information through monitoring, the target controller generates information to be displayed in real time according to the hardware related information of the electronic equipment, and then displays the information to be displayed according to the display instruction, so that the displayed hardware related information is part of the monitored hardware related information in a display device of the electronic equipment or a display module related to the electronic equipment.
The display instruction may be determined according to a display mode pre-stored in the electronic device or the target controller, or may be determined according to a user instruction received by the electronic device, or obtained according to monitored hardware-related information, and this process will be described in detail in the following embodiments. Therefore, the display information is obtained by screening or extracting the information to be displayed in response to the display instruction, and the display information is displayed on the electronic device. The display information may be displayed in a form of a display menu, or may be displayed by specific icon information, which is not limited in this application.
The embodiment of the application provides an information monitoring method, which comprises the steps of monitoring hardware associated information of electronic equipment through a target controller, generating information to be displayed based on the hardware associated information, responding to a display instruction, and displaying the information to be displayed. The hardware associated information is acquired by the target controller of the electronic equipment, and the target controller can run in the power-on state of the electronic equipment, so that the full life cycle of the hardware associated information of the electronic equipment is monitored, the target controller belongs to one of the controllers of the electronic equipment, and the hardware information is detected without installing additional software, so that the real-time monitoring is realized, and the monitoring cost of the electronic equipment is reduced.
The information monitoring method according to the embodiment of the present application is further described below according to the state of the electronic device.
For convenience of explanation, in the embodiment of the present application, the states of the electronic device are divided into three types, including a first state, a second state, and a third state. The first state represents a state that the electronic equipment is started to enter an operating system; the second state represents the state of the electronic equipment after entering the operating system; the third state characterizes the electronic device entering a shutdown state. It should be noted that the states of the electronic device may be distinguished in detail according to other state classification methods, but all power-on states of the electronic device are included in the three states proposed in the embodiments of the present application.
The first state is a state before the electronic device enters the operating system, that is, a state after the electronic device enters the operating system operable by the user by triggering the power-on key of the electronic device. Taking the whole starting process of the computer in the BIOS starting mode as an example, the process includes four phases. The first stage is BIOS stage, which includes hardware self-test and initialization program, CMOS setting program, system automatic loading program, main I/O driver and interrupt service; a second stage Master Boot Record stage, reading MBR (Master Boot Record) of the starting device from a floppy disk, a hard disk or a mobile device according to a specified Boot sequence and placing the MBR into a specified position memory; the third phase is the hard disk boot phase, where it is understood that control of the computer is transferred to a partition of the hard disk. The fourth phase is the operating system phase, i.e., control is transferred to the operating system. The first, second, and third stages described above are the first states of the embodiments of the present application. Referring to fig. 3, which shows a flowchart of an information monitoring method when an electronic device is in a first state according to an embodiment of the present application, the method may include the following steps:
s201, monitoring hardware related information of the electronic equipment;
s202, generating information to be displayed based on the hardware correlation information;
s203, determining the display time of the electronic equipment in the first state;
and S204, displaying the information to be displayed in the display time.
The target controller can obtain the hardware associated information of the electronic equipment in real time, so that the information to be displayed corresponding to the monitored hardware information can be displayed at any time when the electronic equipment is in the first state. However, in order to facilitate displaying the to-be-monitored hardware information, the display instruction may be associated with the corresponding display time, for example, the electronic device may be set to display the monitored hardware information at a certain time in the first state. If the BIOS is used for monitoring during the boot stage, the BIOS is required to enter the BIOS operation, and the operating system is also required to be limited. Similarly, in the stage of starting up the ground hole, if the target controller is used for monitoring, the BIOS operation is not required to be entered, the operating system is not limited, and the operation can be performed under a DOS (disk operating system) for example. The display time determined at this time may be a time that can be sensed by the user, for example, in the process of starting up, due to the setting of some startup programs, reading some information is faster, and if the monitoring information is displayed at this time, the experience effect of the user is poor. Therefore, it is necessary to determine a time that can be sensed by the user for displaying, for example, to display before reminding the user to input the boot password when entering the operating system, so that the hardware-related information of the electronic device sensed by the user is coherent with the boot operation subsequently executed by the user, and the experience effect of the user is improved.
In another possible implementation manner, if the monitored hardware related information needs to be displayed at the power-on POST stage of the BIOS, and if the BIOS cannot monitor the complete hardware information or cannot obtain the hardware monitoring information at this time, the target controller may monitor and acquire the hardware related information of the electronic device. At this time, after the target controller obtains the hardware associated information, the display interface of the hardware information of the BIOS during power-on self-test is called, and the associated information of the hardware is displayed through the display interface, so that the target controller can generate the display information conveniently, and the waste of processing resources is reduced. In the scene, only the display time of the display program or the display application which needs to be called needs to be determined, and then the information to be displayed is displayed in the corresponding display time, so that the purpose of associating the time with the display instruction is achieved.
Referring to fig. 4, a schematic flowchart of an information monitoring method in a second state of an electronic device according to an embodiment of the present application is shown, where the method includes:
s301, monitoring hardware related information of the electronic equipment;
s302, generating information to be displayed based on the hardware correlation information;
s303, receiving a display instruction;
and S304, displaying the information to be displayed according to the display instruction.
When the electronic device is in the second state, that is, the electronic device has entered its corresponding operating system, the user may operate the electronic device or an application of the electronic device based on the operating system. In the process, no matter what operation is performed by a user or what operation interface is in, monitoring and acquisition of hardware related information of the electronic equipment by the target controller cannot be influenced, and display of information to be displayed generated according to the hardware related information cannot be influenced. Therefore, the operation information of the user can be processed through the CPU, the participation of the CPU and an operation system is not needed in the monitoring and displaying process of the hardware associated information of the electronic equipment, the system resource is not occupied, and a CPU terminal is not needed.
The display instruction is associated with specific operation information of the user. May be a display instruction generated when a user designates a shortcut key by an operation or starts an application in the electronic device. For example, when a user starts a specific application, in order to observe or test the influence of the application on the hardware of the electronic device, the hardware-related information of the electronic device may be displayed at the moment. Therefore, the display instruction is associated with the user operation, and the process of monitoring the hardware state of the electronic equipment is adaptive to the real-time requirement of the user.
Referring to fig. 5, which shows a flowchart of an information monitoring method in a third state at an electronic device according to an embodiment of the present application, the method may include the following steps:
s401, monitoring hardware related information of the electronic equipment;
s402, generating information to be displayed based on the hardware correlation information;
s403, responding to the display instruction, and acquiring target information in the information to be displayed;
s404, sending the target information to a preset program, enabling the preset program to generate display information of the target information, and displaying the display information.
And when the electronic equipment is in the third state, namely the electronic equipment enters a shutdown state. Even when the electronic device is in a power-off state, the target controller may obtain hardware-related information of the electronic device by monitoring, and may generate information to be displayed. At this time, a display instruction is acquired, and target information is acquired from the information to be displayed. It should be noted that all the information to be displayed or the information to be displayed corresponding to the current time may also be used as the target information. However, since the monitoring process is real-time, the amount of generated information to be displayed is large. Therefore, the display instruction may include attribute features or identification information of information to be displayed, for example, different types of hardware-related information may be represented by setting different shortcut keys, specifically, shortcut key a may represent display of battery power, and shortcut key B may represent display of CPU temperature. Namely, when the user triggers the shortcut key A, the corresponding display instruction is to display the battery power.
When the electronic equipment is in the power-off state, no corresponding display interface exists. If the target information is displayed after the electronic equipment is controlled to be started, on one hand, the power consumption of the electronic equipment is wasted, and on the other hand, the user can feel that the electronic equipment is started under the condition that the electronic equipment is not expected to be started. In this scenario, the target controller may call a preset program, so that the target information is sent to the preset program, the target program generates display information from the target information, and the display information is displayed. For example, the target program is a BIOS program, and after receiving the target information sent by the target controller, the BIOS program of the electronic device maintains the power-off state of the electronic device, that is, the BIOS program of the electronic device does not trigger the electronic device to be powered on, and outputs the display information corresponding to the target information to the display interface by calling the display interface.
Referring to fig. 6, which is a schematic diagram illustrating monitoring of battery level information according to an embodiment of the present application, when a user selects a shortcut key a on a laptop 500, a display instruction, that is, an instruction for displaying the battery level, is generated. At this time, the embedded controller 501 of the notebook computer sends the target information to the BIOS program 502, the BIOS program 502 generates the target information into display information, that is, the current battery power information generates a power icon 503 matched with the battery power display, and the power icon 503 is displayed on the display screen of the notebook computer 500. Therefore, the user can obtain the current electric quantity of the notebook computer even in the state that the notebook computer is not started, the user can be helped to analyze whether to carry a power supply charger and the like, and the use experience effect of the user is improved.
In the above embodiments, when the electronic device is in different states, the target controller obtains the monitored hardware-related information, generates the information to be displayed, and describes the process of displaying according to the information to be displayed. In the above embodiments, the display instruction is determined according to the set information, such as time information, status information, instruction information, and the like, so as to display the hardware-related information.
In another possible implementation manner of the present application, the display instruction may also be determined according to a hardware state of the representative of the hardware-related information of the electronic device obtained by monitoring. Correspondingly, in the embodiment of the present application, in response to the display instruction, displaying the information to be displayed includes:
s601, judging whether the information to be displayed meets an early warning condition, if so, executing S602;
s602, generating a display instruction;
and S603, displaying the information to be displayed meeting the early warning condition based on the display instruction.
The hardware related information of the electronic equipment monitored by the target controller can be used for obtaining the hardware state of the electronic equipment. If the hardware-related information is to be displayed in real time, the display burden of the display device of the electronic device is increased, and on the other hand, the user experience effect is poor. Therefore, when the abnormal information is monitored, the monitored hardware related information can be displayed, or early warning information corresponding to the hardware related information at the moment can be generated. Specifically, the time for displaying the information can be determined by setting an early warning condition, where the early warning condition represents that the parameter of the monitored hardware-related information reaches an early warning parameter threshold. Taking the CPU temperature as an example, if the monitored CPU temperature is 70 degrees and the temperature early warning threshold is 65 degrees, and the CPU temperature exceeds the temperature early warning threshold at this time, a display instruction is generated at this time, and the display instruction is used to display the current CPU temperature, and may also be used to instruct and display the early warning information corresponding to the current CPU temperature. For example, the display information is "the CPU temperature is 70 degrees", or "please note that the CPU temperature is too high".
The following specifically describes the embodiments of the present application with the target controller as EC. The EC monitors the hardware state of the electronic device, and specifically, the hardware related information of the electronic device includes, but is not limited to, a fan speed, a system temperature, a CPU temperature, power consumption, a critical voltage, and the like. The EC sends the collected hardware-related information to a display processing chip (for example, a display processing firmware Scaler FW in an all-in-one computer) through an SMBus (System Management Bus), and the display processing chip draws a hardware information display menu. And real-time hardware associated information transmitted by the EC is displayed for each user through the display menu, and the user can check the hardware state information of the electronic equipment through the display menu at any time.
Correspondingly, when the EC monitors that the hardware is abnormal, such as the fan is abnormal and the temperature is too high, the EC triggers the display menu to pop up corresponding early warning information, so that a user can backup data and repair faults in time, and an abnormal crash shutdown event is avoided.
Therefore, the hardware state of the electronic equipment is detected by the EC, the whole-process real-time monitoring can be realized, the defect that hardware diagnosis information can be obtained only in the POST stage of the BIOS is avoided, the limitation of an operating system is avoided, system resources are not occupied, and a CPU terminal is not needed. Diagnostics may be performed even in the event of an operating system failure, as long as the EC and display are operating properly. Additional hardware and software do not need to be installed, so that the hardware and software cost is not increased.
Since the target controller is capable of operating in a powered-on state of the electronic device, in some embodiments, the hardware state of the electronic device may be monitored based on the monitoring conditions. That is, the monitoring of the hardware-related information of the electronic device according to the embodiment may include:
and monitoring hardware related information of the electronic equipment based on the pre-created monitoring condition.
The monitoring condition may represent a condition when certain hardware or software of the electronic device is started or operated, or may be set to a certain time period.
Taking the example that the monitoring condition includes the monitoring time condition, the monitoring process may include: and monitoring hardware related information of the electronic equipment in a monitoring period meeting a monitoring time condition. And then displaying the information to be displayed in the target time period matched with the monitoring period. If the monitoring period represents a predetermined time period of an application of the electronic device, the hardware of the electronic device is monitored in the time period, and the monitoring information is displayed in a target time period corresponding to the time period, such as displaying at the end time, or displaying the monitoring information when the application is started for ten minutes.
In some embodiments, the information to be displayed, which is not displayed, is generated into a monitoring log, so that the hardware running state of the electronic device can be obtained based on the monitoring log.
In order to reduce the information amount of the stored information, information to be displayed, which is not displayed, may be stored to obtain a monitoring log. For example, the target controller can call a memory interface, and the information to be displayed, which is not displayed, is output to the memory in real time, so that the hardware running state before the electronic equipment can be obtained through the monitoring log subsequently, and the electronic equipment can be conveniently tested. Of course, the detection log may be stored in the memory after the hardware-related information is obtained, regardless of whether display is required.
There is also provided in an embodiment of the present application an information monitoring system, see fig. 7, comprising:
a target controller 701, configured to monitor hardware related information of an electronic device, where the target controller operates in a power-on state of the electronic device; generating information to be displayed based on the hardware correlation information;
and the display device 702 is configured to respond to a display instruction and display the information to be displayed.
On the basis of the above embodiment, the target controller 701 includes a monitoring unit and a generating unit, where the monitoring unit is used for monitoring hardware related information of the electronic device; and the generating unit is used for generating the information to be displayed based on the hardware correlation information.
When the power-on state of the electronic device includes a first state, the first state represents a state between the electronic device being started and entering an operating system, and the display device is specifically configured to:
determining a display time of the electronic equipment in a first state;
and displaying the information to be displayed in the display time.
When the power-on state of the electronic device includes a second state, the second state representing a state after the electronic device enters an operating system, the display device is specifically configured to:
receiving a display instruction in response to the electronic equipment being in a second state;
and displaying the information to be displayed according to the display instruction.
When the power-on state of the electronic device includes a third state, the third state indicates that the electronic device enters a power-off state, and the display device is specifically configured to:
responding to a display instruction, and acquiring target information in the information to be displayed;
and sending the target information to a preset program, so that the preset program generates display information of the target information and displays the display information.
On the basis of the above embodiment, the display device includes:
the judging unit is used for judging whether the information to be displayed meets an early warning condition or not, if so, a display instruction is generated, and the early warning condition represents that the parameter of the monitored hardware associated information reaches an early warning parameter threshold value;
and the display unit is used for displaying the information to be displayed meeting the early warning condition based on the display instruction.
On the basis of the above embodiment, the monitoring unit includes:
and the condition monitoring subunit is used for monitoring the hardware related information of the electronic equipment based on the pre-created monitoring condition.
On the basis of the foregoing embodiment, when the monitoring condition includes a monitoring time condition, the condition monitoring unit is specifically configured to:
monitoring hardware related information of the electronic equipment in a monitoring period meeting the monitoring time condition;
the responding to the display instruction, displaying the information to be displayed, including:
and displaying the information to be displayed in a target time period matched with the monitoring period.
On the basis of the above embodiment, the target controller further includes:
and the log generation unit is used for generating a monitoring log of the information to be displayed which is not displayed so as to obtain the hardware running state of the electronic equipment based on the monitoring log.
There is also provided in an embodiment of the present application an electronic device, including:
a memory for storing a program;
a processor configured to execute the program, the program specifically configured to:
monitoring hardware associated information of electronic equipment, wherein the hardware associated information is acquired by a target controller of the electronic equipment, and the target controller can operate in a power-on state of the electronic equipment;
generating information to be displayed based on the hardware correlation information;
and responding to a display instruction, and displaying the information to be displayed.
Correspondingly, the program is also used for executing the information monitoring method described in any one of the above embodiments, and the method and steps associated with the information monitoring method.
In an embodiment of the present application, a storage medium is further provided, where the storage medium stores computer program code, and the computer program code implements the information monitoring method as described in any one of the above items when executed.
The storage medium refers to a computer storage medium that may contain a propagated data signal with computer program code embodied therewith, for example, on a baseband or as part of a carrier wave. The propagated signal may take any of a variety of forms, including electromagnetic, optical, etc., or any suitable combination. A computer storage medium may be any computer-readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code located on a computer storage medium may be propagated over any suitable medium, including radio, cable, fiber optic cable, RF, or the like, or any combination of the preceding.
The emphasis of each embodiment in the present specification is on the difference from the other embodiments, and the same and similar parts among the various embodiments may be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information monitoring method, comprising:
monitoring hardware associated information of electronic equipment, wherein the hardware associated information is acquired by a target controller of the electronic equipment, and the target controller can operate in a power-on state of the electronic equipment;
generating information to be displayed based on the hardware correlation information;
and responding to a display instruction, and displaying the information to be displayed.
2. The method of claim 1, wherein the power-on state of the electronic device comprises a first state, the first state represents a state between the electronic device starting to enter an operating system, and the displaying the information to be displayed in response to the display instruction comprises:
determining a display time of the electronic equipment in a first state;
and displaying the information to be displayed in the display time.
3. The method of claim 1, wherein the power-on state of the electronic device includes a second state, the second state represents a state after the electronic device enters an operating system, and the displaying the information to be displayed in response to the display instruction includes:
receiving a display instruction in response to the electronic equipment being in a second state;
and displaying the information to be displayed according to the display instruction.
4. The method according to claim 1, wherein the power-on state of the electronic device includes a third state, the third state indicates that the electronic device enters a power-off state, and the displaying the information to be displayed in response to the display instruction includes:
responding to a display instruction, and acquiring target information in the information to be displayed;
and sending the target information to a preset program, so that the preset program generates display information of the target information and displays the display information.
5. The method of claim 1, wherein the displaying the information to be displayed in response to a display instruction comprises:
judging whether the information to be displayed meets an early warning condition, if so, generating a display instruction, wherein the early warning condition represents that the parameter of the monitored hardware associated information reaches an early warning parameter threshold value;
and displaying the information to be displayed meeting the early warning condition based on the display instruction.
6. The method of claim 1, the monitoring hardware associated information of an electronic device, comprising:
and monitoring hardware related information of the electronic equipment based on the pre-created monitoring condition.
7. The method of claim 6, the monitoring condition comprising a monitoring time condition, the monitoring hardware association information of an electronic device based on a pre-created monitoring condition comprising:
monitoring hardware related information of the electronic equipment in a monitoring period meeting the monitoring time condition;
the responding to the display instruction, displaying the information to be displayed, including:
and displaying the information to be displayed in a target time period matched with the monitoring period.
8. The method of claim 1, further comprising:
and generating a monitoring log for the information to be displayed which is not displayed, so that the hardware running state of the electronic equipment can be obtained based on the monitoring log.
9. An information monitoring system, comprising:
the target controller is used for monitoring hardware related information of the electronic equipment and operates in a power-on state of the electronic equipment; generating information to be displayed based on the hardware correlation information;
and the display device is used for responding to a display instruction and displaying the information to be displayed.
10. A storage medium having stored thereon a computer program which, when executed by a processor, implements the information monitoring method according to any one of claims 1 to 8.
CN201911368665.7A 2019-12-26 2019-12-26 Information monitoring method, system and storage medium Active CN111176958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911368665.7A CN111176958B (en) 2019-12-26 2019-12-26 Information monitoring method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911368665.7A CN111176958B (en) 2019-12-26 2019-12-26 Information monitoring method, system and storage medium

Publications (2)

Publication Number Publication Date
CN111176958A true CN111176958A (en) 2020-05-19
CN111176958B CN111176958B (en) 2023-11-21

Family

ID=70646462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911368665.7A Active CN111176958B (en) 2019-12-26 2019-12-26 Information monitoring method, system and storage medium

Country Status (1)

Country Link
CN (1) CN111176958B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306822A (en) * 2020-11-30 2021-02-02 联想(北京)有限公司 Control method and device and electronic equipment
CN114328104A (en) * 2021-12-25 2022-04-12 深圳市锐宝智联信息有限公司 Industrial control complete machine health state monitoring method, system, equipment and storage medium
CN115626056A (en) * 2022-10-29 2023-01-20 重庆长安汽车股份有限公司 Vehicle-mounted information display management method and device, instrument, equipment and medium to be displayed

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2651843Y (en) * 2003-09-09 2004-10-27 宏碁股份有限公司 Host real-time monitoring device
JP2008158718A (en) * 2006-12-22 2008-07-10 Toshiba Corp Information processing apparatus and information processing method
CN102521109A (en) * 2011-12-31 2012-06-27 曙光信息产业股份有限公司 Method for monitoring states of server
CN105068915A (en) * 2015-08-10 2015-11-18 合肥联宝信息技术有限公司 Power supply management device and method
CN105528273A (en) * 2014-09-30 2016-04-27 中国移动通信集团浙江有限公司 A server host hardware monitoring method and device and an electronic apparatus
CN106326075A (en) * 2016-11-25 2017-01-11 湖南长城银河科技有限公司 Electronic equipment, operating system and state monitoring platform and method of electronic equipment
CN110308959A (en) * 2019-06-27 2019-10-08 联想(北京)有限公司 Content displaying method and device, electronic equipment and readable storage medium storing program for executing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2651843Y (en) * 2003-09-09 2004-10-27 宏碁股份有限公司 Host real-time monitoring device
JP2008158718A (en) * 2006-12-22 2008-07-10 Toshiba Corp Information processing apparatus and information processing method
CN102521109A (en) * 2011-12-31 2012-06-27 曙光信息产业股份有限公司 Method for monitoring states of server
CN105528273A (en) * 2014-09-30 2016-04-27 中国移动通信集团浙江有限公司 A server host hardware monitoring method and device and an electronic apparatus
CN105068915A (en) * 2015-08-10 2015-11-18 合肥联宝信息技术有限公司 Power supply management device and method
CN106326075A (en) * 2016-11-25 2017-01-11 湖南长城银河科技有限公司 Electronic equipment, operating system and state monitoring platform and method of electronic equipment
CN110308959A (en) * 2019-06-27 2019-10-08 联想(北京)有限公司 Content displaying method and device, electronic equipment and readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
施云波: "《无线传感器网络技术概论》", 30 September 2017, pages: 265 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306822A (en) * 2020-11-30 2021-02-02 联想(北京)有限公司 Control method and device and electronic equipment
CN112306822B (en) * 2020-11-30 2023-05-02 联想(北京)有限公司 Control method and device and electronic equipment
CN114328104A (en) * 2021-12-25 2022-04-12 深圳市锐宝智联信息有限公司 Industrial control complete machine health state monitoring method, system, equipment and storage medium
CN114328104B (en) * 2021-12-25 2023-05-16 深圳市锐宝智联信息有限公司 Method, system, equipment and storage medium for monitoring health state of industrial control complete machine
CN115626056A (en) * 2022-10-29 2023-01-20 重庆长安汽车股份有限公司 Vehicle-mounted information display management method and device, instrument, equipment and medium to be displayed

Also Published As

Publication number Publication date
CN111176958B (en) 2023-11-21

Similar Documents

Publication Publication Date Title
US10866623B2 (en) Information handling system and method to detect and recover from no power/no post failures
US10592254B2 (en) Technologies for fast low-power startup of a computing device
US9367446B2 (en) Computer system and data recovery method for a computer system having an embedded controller
US20160116967A1 (en) Firmware Update Method and Power System Thereof
CN115756372B (en) Quick start device and method of server, electronic device and storage medium
CN111176958B (en) Information monitoring method, system and storage medium
US10776128B2 (en) Method and device for low power power-on processing
CN112437914A (en) System recovery method and device
CN102647515B (en) Terminal state displaying control method and device
JP7368552B1 (en) Information processing device and control method
CN104156050A (en) Task monitoring method and electronic device
CN106292989A (en) A kind of information processing method and electronic equipment
CN113608939A (en) Server starting timing method, device, terminal and storage medium in performance test
CN109582505B (en) BIOS option default value recovery system, method and device
JPH11191026A (en) Apparatus and method for isolating power supply and hardware failure
CN107678871B (en) Electronic equipment starting method and electronic equipment
CN110347558A (en) A kind of server apparatus method for diagnosing faults and device and equipment
CN106293796B (en) A kind of information processing method and electronic equipment
US11086371B2 (en) Heat suppression in an information processing device in an initial setting mode
CN108228279B (en) BIOS operation method and electronic equipment
CN106055392B (en) The processing method, testing method and terminal after the application enters the background
US20070214345A1 (en) System and method for porting an operating system
CN117093238A (en) Upgrade method and terminal equipment based on input and output system BIOS
CN115718628A (en) Low-temperature power-on self-starting method, system, device and medium of edge server
US20230030973A1 (en) Change of firmware settings

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant