Abstract:
A diagnostic method executed by a processor included in an information processing device, the information processing device including an acceleration sensor and a plurality of devices and having a function of executing a diagnosis of each of the plurality of devices, the diagnostic method includes storing threshold information that is set regarding each of the plurality of devices and includes a plurality of directions and thresholds of acceleration components each corresponding to a respective one of the plurality of directions; receiving acceleration information from the acceleration sensor; calculating acceleration components each corresponding to the respective one of the plurality of directions by using the acceleration information when shock is detected from the acceleration information; extracting one or more devices having a possibility of a breakdown from the plurality of devices by comparing the acceleration components and the threshold information; and executing a diagnosis regarding the one or more devices.

Description:
CROSS-REFERENCE TO RELATED APPLICATION 
       [0001]    This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2015-145159, filed on Jul. 22, 2015, the entire contents of which are incorporated herein by reference. 
       FIELD 
       [0002]    The embodiments discussed herein are related to a diagnostic method, an information processing device, and a storage medium. 
       BACKGROUND 
       [0003]    In recent years, portable computers such as tablet terminals or notebook personal computers (PCs) have been widely used in classes at school or corporate activities carried out outside a company, such as sales and marketing activities, for example. These computers have a risk of a breakdown due to an accidental fall of the computer by a user. For this reason, a fall protection method for avoiding shock and damage due to a fall has been disclosed. Furthermore, there has been disclosed a technique for notifying a user of application of an impact force harmful to a notebook PC and warning the user of a possibility of a breakdown or causing the user to foresee a breakdown when the notebook PC is accidentally caused to fall or hit on a hard object. As related arts, Japanese Laid-open Patent Publication No. 2002-247153, Japanese Laid-open Patent Publication No. 2008-250391, and so forth have been disclosed for example. 
         [0004]    Many devices are mounted in a computer. Therefore, if a method of making a diagnosis of whether or not the computer involves a breakdown about all devices in the computer sequentially is employed, possibly it is difficult to obtain the diagnosis result in a short time. For the user, it is desirable that a diagnosis of whether or not the computer involves a breakdown can be made in a shorter time. 
       SUMMARY 
       [0005]    According to an aspect of the embodiments, a diagnostic method executed by a processor included in an information processing device, the information processing device including an acceleration sensor and a plurality of devices and having a function of executing a diagnosis of whether a breakdown is involved regarding each of the plurality of devices, the diagnostic method includes storing threshold information that is set regarding each of the plurality of devices and includes a plurality of directions and thresholds of acceleration components each corresponding to a respective one of the plurality of directions; receiving acceleration information from the acceleration sensor; calculating acceleration components each corresponding to the respective one of the plurality of directions by using the acceleration information when shock is detected from the acceleration information; extracting one or more devices having a possibility of a breakdown from the plurality of devices by comparing the acceleration components and the threshold information; and executing a diagnosis regarding the one or more devices. 
         [0006]    The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims. 
         [0007]    It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed. 
     
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         [0008]      FIG. 1  is a functional block diagram of an information processing device; 
           [0009]      FIG. 2  is a diagram illustrating one example of a hardware configuration of a front surface of an information processing device; 
           [0010]      FIG. 3  is a diagram illustrating one example of a hardware configuration of a back surface of an information processing device; 
           [0011]      FIG. 4  is a diagram illustrating one example of narrowing of diagnosis targets; 
           [0012]      FIG. 5  is a diagram illustrating a fall of an information processing device in a direction resulting from synthesis of −X direction and −Y direction; 
           [0013]      FIG. 6  is one example of a shock influence threshold definition file; 
           [0014]      FIG. 7  is a flowchart (first) illustrating one example of a diagnostic method by an information processing device; 
           [0015]      FIG. 8A ,  FIG. 8B , and  FIG. 8C  are diagrams representing one example of acceleration information at the time of a free fall; 
           [0016]      FIG. 9  is a flowchart (second) illustrating one example of a diagnostic method by an information processing device; 
           [0017]      FIG. 10  is one example of a shock influence threshold definition file; 
           [0018]      FIG. 11  is a diagram representing one example of shock values calculated regarding each fall direction; 
           [0019]      FIG. 12  is a diagram representing one example of a result of comparison between thresholds and shock values; 
           [0020]      FIG. 13  is a flowchart (third) illustrating one example of a diagnostic method by an information processing device; and 
           [0021]      FIG. 14  is a diagram illustrating a comparative example of the time taken for diagnosis. 
       
    
    
     DESCRIPTION OF EMBODIMENTS 
       [0022]    The embodiments will be described in detail below with reference to  FIG. 1  to  FIG. 14 . 
         [0023]      FIG. 1  is a functional block diagram of an information processing device. As illustrated in  FIG. 1 , an information processing device  100  includes an acceleration sensor  11 , a measuring unit  12 , a storing unit  13 , plural mounted parts  14 , an analysis unit  15 , a diagnosis unit  16 , and an output unit  17 . The information processing device  100  is a computer such as a tablet terminal, a notebook PC, a smartphone, or a mobile phone for example. 
         [0024]    Functions of the respective units configuring the information processing device  100  will be described below. 
         [0025]    The acceleration sensor  11  is a sensor for detecting the position or posture of the information processing device  100 . The acceleration sensor  11  measures the acceleration of each of X direction, Y direction, and Z direction defined on the basis of the position of the information processing device  100  at given timing or at a given sampling interval. The coordinate axes used at the time of the measurement of the acceleration will be described later. 
         [0026]    The measuring unit  12  receives acceleration information from the acceleration sensor  11 . The acceleration information is information including data of the acceleration of each of the above-described X direction, Y direction, and Z direction. The measuring unit  12  transfers the received acceleration information to the analysis unit  15 . 
         [0027]    The storing unit  13  is hardware that stores data and programs used for processing executed by the information processing device  100 . For example, in the storing unit  13 , a shock influence threshold definition file  13   a  that is used for processing executed by the analysis unit  15  and includes threshold information can be stored. Details of the shock influence threshold definition file  13   a  will be described later. It is also possible for the storing unit  13  to store a program for a diagnosis executed by the diagnosis unit  16 . 
         [0028]    The storing unit  13  is a hard disk drive (HDD), a solid state drive (SSD), a random access memory (RAM), a flash memory, or a read only memory (ROM) for example, and may be a combination of any of these media. For example, an HDD, an SSD, a RAM, and a NAND flash memory can be used for storing data. On the other hand, a NOR flash memory and a ROM can be used for storing programs. It is also possible for the storing unit  13  to include plural storing devices depending on the use purpose or the desired storage capacity. 
         [0029]    The mounted parts  14  are devices mounted in the information processing device  100  and are devices in which a breakdown is possibly caused due to a fall or shock in a specific direction. That is, the mounted parts  14  are devices that possibly become a diagnosis target in the present embodiment For example, in a computer using Windows (registered trademark) as an operating system (OS), each of devices displayed in the device manager can be cited as the mounted part  14 . Concrete examples of the mounted part  14  will be described later. The breakdown includes operation failure, breakages, and troubles such as connector unplugging. 
         [0030]    The analysis unit  15  extracts one or more suspicious devices having a possibility of a breakdown from the mounted parts  14  by using the acceleration information received from the measuring unit  12 . That is, the analysis unit  15  can carry out narrowing of the suspicious device on the basis of the acceleration information. 
         [0031]    The diagnosis unit  16  makes a diagnosis of whether or not the suspicious device has a possibility of a breakdown about each of the one or more suspicious devices identified by the analysis unit  15 . In the diagnosis, a coupling check test for checking whether or not electrical coupling with an internal circuit is kept is carried out for example. 
         [0032]    The output unit  17  is hardware that can output the diagnosis result by the diagnosis unit  16 . 
         [0033]      FIG. 2  is a diagram illustrating one example of a hardware configuration of a front surface of an information processing device. The information processing device illustrated in  FIG. 2  may be the information processing device  100  illustrated in  FIG. 1 . As illustrated in  FIG. 2 , the information processing device  100  includes a display device  21 . Each arrow in  FIG. 2  indicates a direction when coordinate axes (X-axis, Y-axis, and Z-axis) are set, with the central position of the information processing device  100  defined as the origin. The X-axis and the Y-axis are coordinate axes parallel to the plane of paper and are orthogonal to each other. The Z-axis is a coordinate axis perpendicular to the plane of paper and is orthogonal to the X-axis and the Y-axis. 
         [0034]    The display device  21  is a liquid crystal display (LCD), a plasma display panel (PDP), an organic electroluminescence (EL) display, or the like for example. It is also possible for the display device  21  to include a touch panel in addition to the above-described various kinds of displays. The display device  21  displays information about devices having a possibility of a breakdown or devices involving a breakdown on the screen and thereby can visually notify a user of this information. The display device  21  is one example of the output unit  17 . 
         [0035]      FIG. 3  is a diagram illustrating one example of a hardware configuration of a back surface of an information processing device. The information processing device illustrated in  FIG. 3  may be the information processing device  100  illustrated in  FIG. 1 . As illustrated in  FIG. 3 , the information processing device  100  includes the acceleration sensor  11 , a central processing unit (CPU)  31 , a memory  32 , an HDD  33 , a fan  34 , a battery  35 , a speaker  36 , a speaker  37 , a universal serial bus (USB) controller  38 , a secure digital (SD) card  39 , and a subscriber identity module (SIM) card  40 . Each arrow in  FIG. 3  also indicates a direction when coordinate axes (X-axis, Y-axis, and Z-axis) are set on the basis of the central position of the information processing device  100 . However, because  FIG. 3  illustrates the back surface of the information processing device  100 , the positive and negative sides of the directions of the coordinate system are opposite to those in  FIG. 2 . The acceleration sensor  11 , the CPU  31 , the memory  32 , the HDD  33 , the fan  34 , the battery  35 , the speaker  36 , the speaker  37 , the USB controller  38 , the SD card  39 , and the SIM card  40  are each one example of the mounted part  14 . 
         [0036]    The acceleration sensor  11  illustrated in  FIG. 3  corresponds to the acceleration sensor  11  illustrated in  FIG. 1  and therefore is given the same numeral. 
         [0037]    The CPU  31  is hardware that manages or executes processing of the information processing device  100 . A micro processing unit (MPU) is also one example of the CPU  31 . The CPU  31  is one example of the measuring unit  12 , the analysis unit  15 , and the diagnosis unit  16 . 
         [0038]    The memory  32  and the HDD  33  are pieces of hardware that store data and programs used for processing executed by the CPU  31 . The memory  32  and the HDD  33  are one example of the storing unit  13 . 
         [0039]    The fan  34  is a cooling device configured to cool the plural mounted parts  14  such as the CPU  31  and the HDD  33  that become a high temperature due to processing operation. The fan  34  includes blades and can cool the mounted parts  14  by a wind generated by the rotation of the blades. 
         [0040]    The battery  35  is a power supply device used for driving the information processing device  100 . For example, a lithium ion battery is used as the battery  35 . 
         [0041]    The speaker  36  and the speaker  37  are devices configured to output sound information. The speaker  36  and the speaker  37  output information about devices having a possibility of a breakdown or devices involving a breakdown by sounds and thereby can auditorily notify a user of this information. The speaker  36  and the speaker  37  are one example of the output unit  17 . 
         [0042]    The USB controller  38  is a device configured to carry out control of the USB. 
         [0043]    The SD card  39  is a storage medium that is inserted into the information processing device  100  and is for storing information on still images and moving images. An SD card reading device that is hardware for carrying out reading of the information stored in the SD card  39  or writing of information to the SD card  39  is also one example of the mounted part  14 . 
         [0044]    The SIM card  40  is a storage medium that is inserted into the information processing device  100  and is for storing information to identify the registrant and so forth. An SIM card reading device that is hardware for reading out the information stored in the SIM card  40  is also one example of the mounted part  14 . 
         [0045]    Next, a diagnostic method carried out by the information processing device  100  in the present embodiment will be described. 
         [0046]    In the present embodiment, by using the acceleration information of the information processing device  100  and the shock influence threshold definition file  13   a,  narrowing of suspicious devices having a high possibility of a breakdown, Le diagnosis targets, is carried out from the plural devices configuring the information processing device  100 . 
         [0047]      FIG. 4  is a diagram illustrating one example of narrowing of diagnosis targets. In  FIG. 4 , the reference numerals of the plural devices configuring the information processing device  100  illustrated in  FIG. 3 , i.e. the respective mounted parts  14 , are omitted. Among the plural mounted parts  14 , suspicious devices are indicated by thick frames. As illustrated in  FIG. 4 , due to the execution of narrowing processing, the suspicious devices decrease to only the HDD and the two speakers. 
         [0048]    Next, a method for narrowing the diagnosis targets will be described. First, the background to use the shock influence threshold definition file  13   a  will be described. 
         [0049]    The present inventor has found that the probability of a breakdown of each mounted part  14  mounted in the information processing device  100  differs for each of fall directions of the information processing device  100  through a fall test carried out for evaluating the durability of the information processing device  100 . Moreover, the present inventor has found that the probability of a breakdown of each mounted part  14  regarding each fall direction differs depending on the kind of the information processing device  100  and depends on the mounting environment in the information processing device  100 , such as the mounting position of the mounted part  14 , the coupling direction of a connector coupled to the mounted part  14 , or the method for mounting the mounted part  14  on a motherboard or a casing, for example. The present embodiment makes a diagnosis of whether or not a computer involves a breakdown by using the point that the device having a possibility of a breakdown differs depending on the fall direction of the information processing device  100 , i.e. the direction in which the information processing device  100  receives shock due to the fall. 
         [0050]      FIG. 5  is a diagram illustrating a fall of an information processing device in a direction resulting from synthesis of −X direction and −Y direction. The information processing device illustrated in  FIG. 5  may be the information processing device  100  illustrated in  FIG. 3 . In the following description, a direction obtained by synthesis of the −X direction and the −Y direction will be represented as “−X−Y direction.” 
         [0051]    In the present embodiment, the magnitude of the acceleration of the information processing device  100  is regarded as the magnitude of shock received by the information processing device  100 , i.e. a shock value. Furthermore, a threshold of an acceleration component serving as a criterion for determining that a diagnosis is to be made (shock influence threshold) is set for each of the mounted parts  14  and this threshold is individually set regarding each of various fall directions. 
         [0052]    The shock influence threshold definition file  13   a  is a file that indicates, by a table, the threshold set about each fall direction regarding each of the mounted parts  14  mounted in the information processing device  100 . 
         [0053]      FIG. 6  is one example of a shock influence threshold definition file. The shock influence threshold definition file illustrated in  FIG. 6  may be the shock influence threshold definition file  13   a  illustrated in  FIG. 1 . In the shock influence threshold definition file  13   a,  the fall direction, the kind of the mounted part  14 , and the threshold are registered in association with each other. As described above, the device having a possibility of a breakdown differs depending on the direction in which shock is received. Therefore, in the field of the threshold, a smaller threshold is set regarding the fall direction in which the influence due to shock is received more readily than regarding the other directions. By setting the thresholds different for each direction on the basis of whether or not the influence due to shock of a fall is present or the degree of the influence in this manner, the device having a possibility of a breakdown can be easily identified. 
         [0054]    If the shock value received at the time of a fall is equal to or smaller than the threshold, the information processing device  100  determines that the possibility that the device corresponding to this threshold normally operates is high, and excludes this device from the diagnosis targets. On the other hand, if the shock value received at the time of a fall is larger than the threshold, the information processing device  100  determines that the possibility that the device corresponding to this threshold breaks is high, and decides this device as a diagnosis target. 
         [0055]    The shock value of each direction can be calculated by obtaining the inner product of the acceleration information measured by the acceleration sensor  11  and the unit vector of the selected direction. In the following, a calculation example of the shock value will be described and an example in which the diagnosis target is decided will be described with reference to  FIG. 6 . 
         [0056]    For example, if acceleration of −3.00 G, 0, and 0 is measured in the X direction, the Y direction, and the Z-direction, respectively, by the acceleration sensor  11 , the acceleration information is represented as A 1 =(−3.00, 0, 0). In this case, the shock value of the −X direction can be calculated as A 1 ·e −X =−3.00×(−1)+0×0+0×0=3.00 [G] by using a unit vector e −X =(−1, 0, 0) of the −X direction. 
         [0057]    The shock value of the −Y direction can be calculated as A 1 ·e −Y =−3.00×0+0×(−1)+0×0=0 [G] by using a unit vector e −Y =(0, −1, 0) of the −Y direction. 
         [0058]    The shock value of the −X−Y direction can be calculated as A 1 ·e −X−Y =3.00×(−0.707)+0×(−0.707)+0×0≈2.12 [G] by using a unit vector e −X−Y =(−0.707, −0.707, 0) of the −X−Y direction. The values “−0.707” of elements of the above-described unit vector of the −X−Y direction and the shock value “2.12” of the −X−Y direction are represented with three-digit accuracy in view of easiness of explanation. 
         [0059]    Here, reference to  FIG. 6  makes it understood that the calculated shock value 3.00 G of the −X direction is smaller than a threshold 5.00 G of the battery in the −X direction and a threshold 3.11 G of the speaker in the −X direction and is larger than a threshold 2.50 G of the HDD in the −X direction. Thus, among the battery, the HDD, and the speaker, only the HDD, whose shock value surpasses the threshold, becomes a diagnosis target. 
         [0060]    On the other hand, for example if acceleration of −1.71 G, −1.41 G, and 0 is measured in the X direction, the Y direction, and the Z direction, respectively, by the acceleration sensor  11 , the acceleration information is represented as A 2 =(−1.71, −1.41, 0). In this case, by obtaining each of the inner products of the vector A 2  and the unit vectors of the respective directions similarly, the shock value of the −X direction is calculated as 1.71 G, and the shock value of the −Y direction is calculated as 1.41 G, and the shock value of the −X−Y direction is calculated as 2.21 G. 
         [0061]    Here, reference to  FIG. 6  makes it understood that the calculated shock value 2.21 G of the −X−Y direction is smaller than a threshold 2.82 G of the battery in the −X−Y direction and a threshold 3.54 G of the HDD in the −X−Y direction and is larger than a threshold 2.20 G of the speaker in the −X−Y direction. Thus, among the battery, the HDD, and the speaker, only the speaker, whose shock value surpasses the threshold, becomes a diagnosis target. 
         [0062]    A method for setting the thresholds registered in the shock influence threshold definition file  13   a  will be described below. For example, in a fall test carried out for evaluating the durability at the time of development of the information processing device  100 , the supplier of the information processing device  100  causes the information processing device  100  to fall plural times at various angles and measures the acceleration by the acceleration sensor  11  in every fall. Subsequently, the supplier uses information on the acceleration to calculate the acceleration component of each fall direction as the shock value by inner product calculation. Then, the supplier sets the maximum value among the shock values with which a breakdown is not caused as the threshold regarding each of the plural mounted parts  14 . According to the above-described method, the relationship between the fall direction of the information processing device  100  and the device that possibly breaks when the information processing device  100  falls in this fall direction can be grasped in advance and the thresholds according to the relationship can be set regarding each fall direction. 
         [0063]    On the other hand, if the information processing device  100  is a version-upgraded enhanced device, it is also possible to divert the shock influence threshold definition file stored in the information processing device of the old version as the shock influence threshold definition file  13   a  of the information processing device  100 . It is also possible to execute the above-described processing in accordance with control by a computer. In the above-described manner, the thresholds registered in the shock influence threshold definition file  13   a  are set. 
         [0064]    Next, the flow of diagnostic processing executed by the information processing device  100  will be described. 
         [0065]      FIG. 7  is a flowchart (first) illustrating one example of a diagnostic method by an information processing device. The information processing device described with reference to  FIG. 7  may be the information processing device  100  illustrated in  FIG. 1 . 
         [0066]    First, the acceleration sensor  11  measures the acceleration of the information processing device  100 .  FIG. 8A ,  FIG. 8B , and  FIG. 8C  are diagrams representing one example of time change of the acceleration at the time of a free fall. The abscissa axis indicates the time (unit: second) and the ordinate axis indicates the acceleration (unit: G).  FIG. 8A ,  FIG. 8B , and  FIG. 8C  represent time change of the acceleration in the X-axis direction, the Y-axis direction, and the Z-axis direction, respectively. As represented in  FIG. 8A ,  FIG. 8B , and  FIG. 8C , the acceleration sensor  11  measures the acceleration regarding each of the X-axis direction, the Y-axis direction, and the Z-axis direction. The measurement of the acceleration by the acceleration sensor  11  is triggered by timing when change in the acceleration is detected, such as when the change in the acceleration surpasses a change amount set in advance, for example. Alternatively, it is also possible for the acceleration sensor  11  to measure the acceleration not at the above-described irregular timing but at a given sampling interval periodically. The sampling interval at this time is approximately 0.02 to 0.10 seconds for example. 
         [0067]    Subsequently, the measuring unit  12  of the information processing device  100  receives acceleration information from the acceleration sensor  11  at a given time interval by polling (S 101 ). Then, the measuring unit  12  stores the received acceleration information in the storing unit  13  (S 102 ). The acceleration information is represented by a direction vector A(x, y, z) including the respective vectors of the X-axis, the Y-axis, and the Z-axis as elements. 
         [0068]    Subsequently, the measuring unit  12  determines whether or not shock due to a fall is detected (S 103 ). For example, the measuring unit  12  refers to the received acceleration information and determines that shock is detected if a value beyond a given threshold T or −T is detected from the respective elements of the direction vector. In the example of  FIG. 8A ,  FIG. 8B , and  FIG. 8C , the threshold is defined as T=1.75 G and the levels of T and −T are indicated by dashed lines. 
         [0069]    If it is not determined that shock due to a fall is detected (No of S 103 ), the measuring unit  12  moves to S 101  and executes the processing of S 101  and the subsequent processing again. On the other hand, if it is determined that shock due to a fall is detected (Yes of S 103 ), the processing moves to S 201  in  FIG. 9 . 
         [0070]      FIG. 9  is a flowchart (second) illustrating the one example of the diagnostic method by the information processing device  100 , 
         [0071]    If the measuring unit  12  detects shock and the positive determination is made in S 103 , the analysis unit  15  reads out the shock influence threshold definition file  13   a  from the storing unit  13  (S 201 ). 
         [0072]    FIG,  10  is one example of a shock influence threshold definition file The shock influence threshold definition file illustrated in  FIG. 10  may be the shock influence threshold definition file  13   a  illustrated in  FIG. 1 . In the example of  FIG. 10 , a unit vector e(x, y, z) of each direction is stored in the field of the fall direction. Values of “0.71,” “−0.71,” “0.58,” and “−0.58” among the elements of the unit vectors displayed in  FIG. 10  are represented with two-digit accuracy in view of easiness of reading of the table. As the fall direction, twenty six directions are employed as the subjects. That is, thresholds are set regarding not only directions parallel to the X-axis, the Y-axis, and the Z-axis but also directions obtained by combining plural coordinate axes. Due to this, the determination of whether or not to make a diagnosis can be carried out more accurately also regarding devices vulnerable to shock in the direction obtained by combining plural coordinate axes. In the following description, the fall direction will be often referred to as “(x, y, z) direction” by using the unit vector. In the example of  FIG. 1 , the shock influence threshold definition file  13   a  is stored in the storing unit  13 . However, it is also possible to store the shock influence threshold definition file  13   a  in another information processing device or storing device that is coupled to the information processing device  100  by a network and is capable of radio communications. 
         [0073]    Referring back to  FIG. 9 , after the processing of S 201 , the analysis unit  15  selects a device that has not yet been selected among the plural mounted parts  14  mounted in the information processing device  100  (S 202 ). The selected device becomes the target of analysis by the analysis unit  15 . 
         [0074]    Subsequently, the analysis unit  15  selects a direction that has not yet been selected among the plural fall directions set in the shock influence threshold definition file  13   a  (S 203 ). 
         [0075]    Subsequently, the analysis unit  15  calculates the shock value of the selected direction regarding the selected device (S 204 ). The shock value of the selected direction can be calculated by obtaining the inner product of the acceleration information measured by the acceleration sensor  11  and the unit vector of the selected direction. First, referring to  FIG. 8A   FIG. 8B , and  FIG. 8C , a direction vector A of the acceleration is acquired from the intersections of one-dot chain lines and the respective graphs For example, the acceleration information at t=1.66 seconds can be read as A=(−2.00, −1.78, 0.92) from the intersections of the one-dot chain lines and the graphs. Then, if the direction selected in S 203  is (0, −1, 0) direction, the shock value at t=1.66 seconds can be calculated as A·e=−2.00×0−1.78×(−1)+0.92×0=1.78 [G] by using the unit vector e=(0, −1, 0). 
         [0076]    After the processing of S 204 , the analysis unit  15  determines whether or not the shock value calculated in S 204  surpasses the threshold corresponding to the selected direction (S 205 ). For example, if the battery is selected as the analysis target in S 202 , the threshold corresponding to (0, −1, 0) direction is 1.67 G according to the shock influence threshold definition file  13   a  of  FIG. 10 . If the shock value calculated in S 204  is 1.78 G, this value is larger than 1.67 G. Thus, in this case, it is determined that the shock value calculated in S 204  surpasses the threshold corresponding to the selected direction. 
         [0077]    If it is determined that the shock value calculated in S 204  surpasses the threshold corresponding to the selected direction (Yes of S 205 ), the analysis unit  15  extracts the selected device as a suspicious device having a possibility of a breakdown (S 206 ). Then, the analysis unit  15  moves to S 207 . On the other hand, if it is determined that the shock value calculated in S 204  does not surpass the threshold corresponding to the selected direction (No of S 205 ), the analysis unit  15  moves to S 207 . In the example of  FIG. 9 , the analysis unit  15  executes reading out of the shock influence threshold definition file  13   a  in S 201 . However, the analysis unit  15  may execute the determination processing of S 205  with reference to the shock influence threshold definition file  13   a  stored in the storing unit  13  without executing the reading processing of S 201 . According to this method, the processing of S 201  can be omitted. 
         [0078]    Subsequently, in S 207 , the analysis unit  15  determines whether or not all directions have been selected. If it is determined that all directions have not been selected (No of S 207 ), the analysis unit  15  moves to S 203  and executes the processing of S 203  and the subsequent processing again. On the other hand, if it is determined that all directions have been selected (Yes of S 207 ), the analysis unit  15  determines whether or not all devices of the mounted parts  14  have been selected (S 208 ). If it is determined that all devices of the mounted parts  14  have not been selected (No of S 208 ), the analysis unit  15  moves to S 202  and executes the processing of S 202  and the subsequent processing again. On the other hand, if it is determined that all devices of the mounted parts  14  have been selected (Yes of S 208 ), the processing moves to S 301  in  FIG. 13 . 
         [0079]      FIG. 11  is a diagram representing one example of shock values calculated regarding each fall direction.  FIG. 11  represents the shock values that are calculated on the basis of the acceleration information A=(−2.00, −1.78, 0.92) of the information processing device  100  and affect each of the twenty six kinds of fall directions. At the stage when the series of processing illustrated in  FIG. 9  is completed, the information processing device  100  can obtain data on all shock values relating to the twenty six directions. 
         [0080]      FIG. 12  is a diagram representing one example of a result of comparison between thresholds and shock values. As represented in thick frames in  FIG. 12 , the calculated shock value of (0, −1, 0) direction surpasses the threshold corresponding to (0, −1, 0) direction of the battery. The shock value of (−0.71, −0.71, 0) direction surpasses the threshold corresponding to (−0.71, −0.71, 0) direction of the battery. The shock value of (−0.58, −0.58, −0.58) direction surpasses the threshold corresponding to (−0.58, −0.58, −0.58) direction of the battery. On the other hand, none of the calculated shock values of the respective directions surpasses the thresholds of the display device and the SIM card corresponding to a respective one of the directions. From this, in the example of  FIG. 9 , the display device and the SIM card are not extracted as the suspicious device and only the battery is extracted as the suspicious device. 
         [0081]    In the above-described manner, the information processing device  100  can extract the suspicious device from the plural mounted parts  14 . 
         [0082]      FIG. 13  is a flowchart (third) illustrating the one example of the diagnostic method by the information processing device  100 . 
         [0083]    After the extraction of the suspicious device through the series of processing illustrated in  FIG. 9 , the diagnosis unit  16  selects one suspicious device from the extracted one or more suspicious devices (S 301 ). 
         [0084]    Subsequently, the diagnosis unit  16  makes a diagnosis of whether or not there is a possibility of a breakdown regarding the selected suspicious device (S 302 ). The diagnosis is made about a test item decided in advance according to the kind of suspicious part. The test item is not limited to one kind. The diagnosis is made when the information processing device  100  is in the still state and is not made when the information processing device  100  is falling. 
         [0085]    Subsequently, the diagnosis unit  16  determines whether or not all suspicious devices have been selected (S 303 ). If it is determined that all suspicious devices have not been selected (No of S 303 ), the diagnosis unit  16  returns to S 301  and executes the processing of S 301  and the subsequent processing again. On the other hand, if it is determined that all suspicious devices have been selected (Yes of S 303 ), the diagnosis unit  16  determines whether or not a device having a possibility of a breakdown has been detected as the result of the diagnosis (S 304 ). 
         [0086]    In S 304 , the determination is made on the basis of the result of the diagnosis regarding each suspicious device, executed in S 302 . If it is determined that a device having a possibility of a breakdown has not been detected (No of S 304 ), the processing by the information processing device  100  is ended. On the other hand, if it is determined that a device having a possibility of a breakdown has been detected (Yes of S 304 ), the output unit  17  outputs a diagnosis result relating to the device having a possibility of a breakdown on the basis of an instruction by the diagnosis unit  16  (S 305 ). 
         [0087]    The output of the diagnosis result in S 305  can be carried out by the display device  21  or the speakers  36  and  37  or by the display device  21  and the speakers  36  and  37  in combination for example. In the output of the diagnosis result, it is also possible to indicate not only the device from which abnormality is detected but also the range on which the occurrence of the abnormality has an influence, a coping method, and so forth for example. Alternatively, it is also possible to indicate a warning relating to the device from which abnormality is detected. For example, if the information processing device  100  is caused to fall when the information processing device  100  is coupled to an alternating current (AC) adapter and coupling failure of a battery is detected by a diagnosis, it can be indicated that heat generation or a burnout of the battery when use of the information processing device  100  is continued is anticipated. In addition, a warning to immediately power off the information processing device  100  can be made. 
         [0088]    In the above-described manner, the diagnostic processing by the information processing device  100  is executed. 
         [0089]      FIG. 14  is a diagram illustrating a comparative example of the time taken for diagnosis.  FIG. 14  represents the diagnosis time when only a coupling check test is carried out as the diagnosis regarding the mounted parts  14 . The device group represented in  FIG. 14  indicates all mounted parts  14 . As represented in  FIG. 14 , twenty two seconds are taken as the diagnosis time if the information processing device  100  does not carry out narrowing of the mounted parts  14 , i.e. if the information processing device  100  makes the diagnosis regarding all mounted parts  14 . On the other hand, the diagnosis time is shortened to two seconds if the information processing device  100  carries out the narrowing of the mounted parts  14 , i.e. if the information processing device  100  identifies only the battery as the suspicious device and makes the diagnosis regarding only the battery. 
         [0090]    As above, according to the present embodiment, the narrowing of the suspicious devices can be carried out by using the acceleration information of the information processing device  100  and the shock influence threshold definition file  13   a.  Thus, the diagnosis of whether or not a portable computer involves a breakdown can be made in a short time compared with the method of making a diagnosis regarding all mounted parts  14 . According to the present embodiment, the suspicious device can be extracted in a short time. Thus, in the period from a fall of the information processing device  100  to picking-up of the information processing device  100 , whether or not the information processing device  100  is to be repaired or whether or not the information processing device  100  can be continuously used can be rapidly notified to the user. 
         [0091]    Although the preferred embodiment of the present disclosure is described in detail above, the present disclosure is not limited to a specific embodiment and various modifications and changes can be made. For example, in the present embodiment, the case in which the information processing device  100  is caused to fall is assumed, and description is made by using a parameter of the “fall direction.” However, techniques of the present disclosure can be applied to not only the case in which the information processing device  100  is caused to fall but also the case in which the information processing device  100  is caused to hit on a hard object for example. 
         [0092]    For example, each threshold of the acceleration component included in the shock influence threshold definition file  13   a  can be updated. For example, it is possible to carry out update such as increasing the threshold if it is determined that the present value of the threshold is not suitable on the basis of accumulated diagnosis results. Alternatively, generally the probability of the breakdown rises irrespective of the kind of device as the number of times of collision increases. Therefore, it is also possible to carry out update such as decreasing the threshold according to the number of times of collision. 
         [0093]    It is also possible to carry out update of the shock influence threshold definition file  13   a  by using an update program such as a patch. For example, if plural portable computers are centrally controlled in school or the like, it is possible to update the shock influence threshold definition files  13   a  in the computers according to need by automatically delivering an update program to these computers. Alternatively, it is a so possible that, when a computer reaches a repair center or the like of the manufacturer for repair, operation of updating the shock influence threshold definition file  13   a  in the computer to the latest file is carried out on the repair center side. 
         [0094]    A computer program that causes a computer to implement the above-described portable terminal device and control method and a non-transitory computer-readable recording medium in which the program is recorded are included in the range of the present disclosure. Here, the non-transitory computer-readable recording medium is a memory card such as an SD memory card for example. The above-described computer program is not limited to a program recorded in the above-described recording medium and may be a program transmitted via an electric communication line, a wireless or wired communication line, a network typified by the Internet, or the like. 
         [0095]    All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.