The present invention relates to the field of an electronic device, and in particular, to an image-type notification and recording method and system of a hardware event and status of an electronic device, a recording medium, and a computer program product.
Currently, hardware of many electronic devices records events (such as various errors, exceptions, or security notifications) generated or statuses (such as temperatures, voltages, and an enabling/closing state of a switch) detected when the hardware is run, and actively or passively notifies an administrator for appropriate follow-up processing.
However, all notifications or records of the events generated by or the statuses detected by the hardware of the electronic device are displayed in a manner of literal or numeric data. Only if the administrator can recognize meaning represented by a language, a character, and a number, the administrator can understand and perform a corresponding program. When system architecture of an electronic device is large (for example, a system formed by multiple groups of servers), it definitely causes difficulty for the administrator to recognize meaning of the literal or numeric data in a large quantity, may cost much time of the administrator in searching for the meaning, and may further cause a problem such as a recognition error.
In view of the foregoing problems, the present invention is directed to provide an image-type notification and recording method and system of a hardware event and status of an electronic device, a recording medium, and a computer program product, so as to display a component in an electronic device in a manner of an image, and record and transmit, according to meaning represented by a corresponding text or digit of the component, a hardware event and status in a manner of such as color-rendering an image of the component, and by means of a dialog box or an arrow that are enough to label the component, so that an administrator can easily and quickly learn all information and prevent a recognition error from occurring.
A first aspect of the present invention provides an image-type notification and recording method of a hardware event and status of an electronic device, including the following steps:
storing at least one mainboard image and at least one piece of image data to firmware;
transmitting, by at least one component, a detected text or digit corresponding to an event or a status to a processor;
reading, by the processor, the at least one mainboard image and the at least one piece of image data in the firmware; and
displaying, by the processor, according to the text or digit corresponding to the event or the status and the at least one piece of image data, the at least one mainboard image of a warning image combined with the corresponding event or status.
A second aspect of the present invention provides an image-type notification and recording system of a hardware event and status of an electronic device, including:
an output device;
firmware, configured to store at least one mainboard image and at least one piece of image data; and a processor, configured to: receive a text or digit corresponding to an event or a status detected by at least one component, read the at least one mainboard image and the at least one piece of image data in the firmware; and display, according to the text or digit corresponding to the event or the status and the at least one piece of image data, on the output device the at least one mainboard image of a warning image combined with the corresponding event or status.
A third aspect of the present invention is a computer readable recording medium that internally stores a program, when an image-type notification and recording system of a hardware event and status of an electronic device loads and executes the program, the computer readable recording medium can complete the method according to the first aspect of the present invention.
A fourth aspect of the present invention is a computer program product that internally stores a program, when an image-type notification and recording system of a hardware event and status of an electronic device loads and executes the program, the computer program product can complete the method according to the first aspect of the present invention.
To make a person of ordinary skill in the prior art who is familiar with the present invention further understand the present invention, the following presents preferred embodiments of the present invention, and with reference to the drawings, describes in detail constituted content and efficacy to be achieved.
The ROM 14 stores at least one mainboard image and at least one piece of image data. The at least one piece of image data is relative locations or dimensions of an image of a component that cannot be or can be monitored and an image of a component that can be monitored and that are on a mainboard image. The mainboard image may be an image combined with an image that cannot be monitored or an image of a component that can be monitored, or may be a blank image of a geometric figure satisfying a dimension. The component image may be an image of a symbol or an image of a geometric figure (such as a rectangle or an ellipse) satisfying a dimension that represent the component.
The mainboard image and the at least one piece of image data are stored in the ROM 14 by using an external flash programmer, a remote server, or a cloud.
Other than a display manner in
The processor 12 receives a text or digit corresponding to an event or a status detected by at least one component (the temperature sensor, the voltage sensor, the battery capacity sensor) of an electronic device (not shown in the figure) detected by at least one component, or the processor 12 sends a request to at least one component and requires the at least one component to perform detection, and the processor 12 receives the text or digit corresponding to the event or the status that is accordingly detected and sent by the at least one component.
The processor 12 reads the mainboard image and image data in the ROM 14. The processor 12 performs combination according to a relative location or a dimension of the component image on the mainboard image, and displays on the output device 16 the mainboard image combined with an image of the component that cannot be or can be monitored, as shown in
The component in the electronic device has a corresponding component image, that is, the text or digit corresponding to the event or the status detected by the component also has a corresponding component image. The processor 12 displays, according to the text or digit received by the processor 12, on the output device 16 a mainboard image of a warning image combined with a corresponding component image. The processor 12 generates the warning image according to the relative location of the image of the component that can be monitored, on the mainboard image by means of color rendering, a dialog box, an area selection, or arrow indication that labels the image of the component that can be monitored. As shown in
The mainboard image shown in
To strengthen a warning effect of the warning image in the mainboard image, a implementation method is to prepare two images at the same time. One is an original mainboard image (which may have or not have an image of a component that can be monitored), the other is a mainboard image having a warning image. Display manners of the two images are switched in turn, so as to implement a flickering effect of the image of the component in which an event or a status occurs. Each warning image is to strengthen a warning effect in manners of different colors, different darkness of a color, grayscaling, fading-in and fading-out (fade-in, fade-out), zooming-in and zooming-out, arrow indication, area selection, and a dialog box.
In the first embodiment, first create a mainboard image shown in
Store at least one mainboard image and at least one piece of image data in the ROM 14 by using an external flash programmer, a remote server, or a cloud (step S34).
The processor 12 receives a text or digit corresponding to an event or a status detected by at least one component (the temperature sensor, the voltage sensor, the battery capacity sensor) of an electronic device (not shown in the figure) detected by at least one component, or the processor 12 sends a request to at least one component and requires the at least one component to perform detection, and the processor 12 receives the text or digit corresponding to the event or the status that is accordingly detected and sent by the at least one component (step S36).
The processor 12 reads the mainboard image (as shown in
The component in the electronic device has a corresponding component image, that is, the text or digit corresponding to the event or the status detected by the component also has a corresponding component image. The processor 12 displays, according to the text or digit received by the processor 12, on the output device 16 a mainboard image of a warning image combined with a corresponding component image.
The processor 12 generates the warning image according to the relative location and the dimension of the image of the component that can be monitored, on the mainboard image by means of color rendering, a dialog box, an area selection, or arrow indication that labels the image of the component that can be monitored.
In the second embodiment, first create a mainboard image shown in
Store at least one mainboard image shown in
The processor 12 receives a text or digit corresponding to an event or a status detected by at least one component (the temperature sensor, the voltage sensor, the battery capacity sensor) of an electronic device detected by at least one component, or the processor 12 sends a request to at least one component and requires the at least one component to perform detection, and the processor 12 receives the text or digit corresponding to the event or the status that is accordingly detected and sent by the at least one component (step S56).
The processor 12 reads the mainboard image (as shown in
The component in the electronic device has a corresponding component image, that is, the text or digit corresponding to the event or the status detected by the component also has a corresponding component image. The processor 12 reads the image of the corresponding component according to the text or digit corresponding to the event or the status. Therefore, the processor 12 only read the images of some components that can be monitored, and the processor 12 performs combination according to relative locations of the images of the some components that can be monitored, on the mainboard image, and displays on the output device 16 the mainboard image combined with the images of the some component that can be and cannot be monitored, as shown in
The processor 12 displays, according to the text or digit received by the processor 12, on the output device 16 a mainboard image of a warning image combined with the some corresponding component images.
The processor 12 generates the warning image according to the relative locations of images of some components that can be monitored, on the mainboard image by means of color rendering, a dialog box, an area selection, or arrow indication that labels the images of the some components that can be monitored.
In the third embodiment, create a mainboard image that is a blank image shown in
Store at least one mainboard image shown in
The processor 12 receives a text or digit corresponding to an event or a status detected by at least one component (the temperature sensor, the voltage sensor, the battery capacity sensor) of an electronic device detected by at least one component, or the processor 12 sends a request to at least one component and requires the at least one component to perform detection, and the processor 12 receives the text or digit corresponding to the event or the status that is accordingly detected and sent by the at least one component (step S76).
The processor 12 reads the mainboard image (as shown in
The component in the electronic device has a corresponding component image, that is, the text or digit corresponding to the event or the status detected by the component also has a corresponding component image. The processor 12 reads the image of the corresponding component that can be monitored, according to the text or digit corresponding to the event or the status. Therefore, the processor 12 only read images of some components that can be monitored, and the processor 12 performs combination according to relative locations of the images of the some components that can be monitored, on the mainboard image, and displays on the output device 16 the mainboard image combined with the images of the some components that can be and cannot be monitored, as shown in
The processor 12 displays, according to the text or digit received by the processor 12, on the output device 16 a mainboard image of a warning image combined with the some corresponding component images.
The processor 12 generates the warning image according to the relative locations of the images of the some component that can be monitored, on the mainboard image by means of color rendering, a dialog box, an area selection, or arrow indication that labels the images of the some component that can be monitored.
Writing of the image-type notification and recording method of a hardware event and status of an electronic device of the present invention may be completed in a program manner, and the program is stored in a computer readable recording medium. After the image-type notification and recording system of a hardware event and status of an electronic device loads and executes the program on the recording medium, the image-type notification and recording system can complete the methods and steps as shown in the foregoing descriptions and figures.
The image-type notification and recording method of a hardware event and status of an electronic device of the present invention may be completed by a computer program product that internally stores a program, and for example, after the image-type notification and recording system of a hardware event and status of an electronic device downloads the program from the Internet and executes the program, the image-type notification and recording system can complete the methods and steps as shown in the foregoing descriptions and figures.
The present invention provides an image-type notification and recording method and system of a hardware event and status of an electronic device, a recording medium, and a computer program product, so as to display a component in an electronic device in a manner of an image, and record and transmit, according to meaning represented by a corresponding text or digit of the component, a hardware event and status in a manner of such as color-rendering an image of the component, and by means of a dialog box or an arrow that are enough to label the component, so that an administrator can easily and quickly learn all information and prevent a recognition error from occurring.
The present invention is described above with reference to preferred embodiments and exemplary drawings, and the present invention shall not be limited thereto. Any modification, omission, and change made, about aspects and embodiment content of the present invention, by a person skilled in the prior art shall fall within the claimed scope of the claims of the present invention.
10 Image-type notification and recording system
12 Processor
14 ROM
16 Output device
Number | Date | Country | Kind |
---|---|---|---|
105111471 | Apr 2016 | TW | national |