Patent Publication Number: US-2015066432-A1

Title: Computing device and method for managing warning information of the computing device

Description:
BACKGROUND 
     1. Technical Field 
     Embodiments of the present disclosure relate to a computing device and a method for managing warning information of the computing device. 
     2. Description of Related Art 
     Warning information is generated during a working process of a computing device to prompt that a equipment of the computing device is faulty. For example, a normal humidity range of a working environment of the computing device is 10%-40%. Warning information may be generated if the humidity detected by a humidity sensor is 41% or above. However, the detected humidity may float between 41% and 39%, which generates too many warning information many times. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is a block diagram of one embodiment of a computing device having a warning information management system. 
         FIG. 2  is a block diagram of one embodiment of function modules of the warning information management system of  FIG. 1 . 
         FIG. 3  is a flowchart of one embodiment of a method for managing warning information of the computing device of  FIG. 1 . 
     
    
    
     DETAILED DESCRIPTION 
     The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.” 
     In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. In one embodiment, the program language may be Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, flash memory, and hard disk drives. 
       FIG. 1  is a block diagram of one embodiment of a computing device  1  including a warning information management system  10 . The computing device  1  comprises a storage device  12 , and at least one processor  14 . In the embodiment, the computing device  1  may be a personal computer, a sever, a notebook computer, a cellular phone, a master production scheduler (MPS) machine, or a personal digital assistant (PDA), for example. 
     In one embodiment, the storage device  12  (non-transitory storage device) may be an internal storage system, such as a random access memory (RAM) for the temporary storage of information, and/or a read only memory (ROM) for the permanent storage of information. In some embodiments, the storage device  12  may be an external storage system, such as an external hard disk, a storage card, or a data storage medium. 
     The processor  14  may include a processor unit, a microprocessor, an application-specific integrated circuit, and a field programmable gate array, for example. 
     In one embodiment, the warning information reducing system  10  includes a plurality of function modules which include computerized codes or instructions that can be stored in the storage device  12  and executed by the processor  14  to provide a method for managing warning information of the computing device  1 . 
       FIG. 2  is a block diagram of one embodiment of function modules of the warning information management system  10 . In the embodiment, the warning information management system  10  includes a definition module  100 , a recoding module  102 , a determination module  104 , a warning module  106 , a counting module  108 , and a computing module  110 . The modules may comprise computerized codes in the form of one or more programs that are stored in the storage device  12  and executed by the processor  14  to provide functions for implementing the warning information management system  10 . The functions of the function modules are illustrated in  FIG. 3  and described below. 
       FIG. 3  illustrates a flowchart of one embodiment of a method for managing warning information of the computing device  1  of  FIG. 1 . Depending on the embodiment, additional steps may be added, others removed, and the ordering of the steps may be changed. 
     In step S 10 , the definition module  100  assigns a unique identification code to each type of equipment fault of the computing device  1 , creates a list to record the types of equipment faults that occur during a time period, and assigns a counter to each equipment fault to record how many times each type of equipment fault occurs during the time period. The time period is set by a user. In one embodiment, the unique identification code is composed of an equipment number and an equipment fault number. The equipment number and the equipment fault number may be composed of letters or numerals, and may be predefined by the user of the computing device  1 . The equipment fault is defined as an error of a hardware component of the computing device  1 , such as a CPU error, or a memory error, that occurs during the time period while the computing device  1  is running 
     In step S 11 , the determination module  104  determines whether or not the recording module  102  records the unique identification code of a currently detected equipment fault in the list. If the recording module records the unique identification code of the currently detected equipment fault in the list, step S 13  is implemented. Otherwise, if the recording module does not record the unique identification code of the currently detected equipment fault in the list, step S 12  is implemented. In the embodiment, if the recording module  102  records the equipment number and equipment fault number of the currently detected equipment fault in the list, the determination module  100  determines that the recording module records the unique identification code of the currently detected equipment fault in the list. Otherwise, if the recording module  102  does not record the equipment number and equipment fault number of the currently detected equipment fault in the list, the determination module  104  determines that the recording module  102  does not record the unique identification code of the currently detected equipment fault in the list. 
     In step S 12 , the warning module  106  generates warning information to prompt that an equipment fault occurs in the computing device  1 . 
     In step S 13 , the counting module  108  controls the counter of the currently detected equipment fault to add a number “1,” i.e., i=i+1, where the parameter “i” represents the value of the counter of the currently detected equipment fault. 
     In step S 14 , the computing module  110  computes a frequency of occurrences of the currently detected equipment fault according to a value of the counter of the equipment fault. In the embodiment, the frequency of occurrences of the currently detected equipment fault equals the value of the counter of the currently detected equipment fault divided by the time period. 
     In step S 15 , the determination module  104  determines whether or not the frequency of occurrences of the currently detected equipment fault exceeds a preset threshold. If the frequency of occurrences of the currently detected equipment fault exceeds the preset threshold, step S 16  is implemented. Otherwise, if the frequency of occurrences of the currently detected equipment fault does not exceed the preset threshold, step S 12  is repeated. In the embodiment, the preset threshold is set by the user of the computing device  1 . 
     In step S 16 , the warning module  106  stops generating the warning information. 
     Although certain disclosed embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.