Abstract:
Method for controlling mobile hard disk through mobile device is disclosed, in which, control software installed on a computer is used to detect whether APP control software exists in the same IP address segment with the computer, if exists, control software sends a key confirmation signal to APP control software, which accordingly sends back a feedback signal; when the feedback signal is to use an intelligent mobile device as a key of the mobile hard disk, control software generates a key signal and sends it to APP control software and a hidden sector of the mobile hard disk to save it therein. Through the process, the intelligent mobile device installed with APP control software may be used as the key of the mobile hard disk, then while using which, the key is needed instead of a password, thus the unnecessary loss may be prevented from the oblivion of the password.

Description:
TECHNICAL FIELD 
       [0001]    A method for controlling a mobile hard disk through a mobile device is related. 
       BACKGROUND 
       [0002]    A mobile hard disk is a data storage device, and has become an indispensable tool in daily activities and works nowadays. To use the mobile hard disk safely, most people may set a password which needs to be remembered, and then they can use the mobile hard disk after inputting the password correctly. 
         [0003]    However, if the user forgets the password, it will make the mobile hard disk unable to be accessed, and make the data in the mobile hard disk unable to be used, which may lead to some severe consequences. Meanwhile, when the mobile hard disk needs to be borrowed, it needs to tell the password to others, which causes inconvenience to the owner. 
       SUMMARY 
       [0004]    The object is to provide a method for controlling a mobile hard disk through a mobile device, so as to solve at least one aspect of the problems above. 
         [0005]    According to one aspect of the invention, a method for controlling a mobile hard disk through a mobile device is provided, comprising the following steps: 
         [0006]    S 101 : installing control software of the mobile hard disk on a computer; 
         [0007]    S 102 : downloading and installing APP control software corresponding to the control software on the mobile device; 
         [0008]    S 103 : connecting the mobile hard disk to the computer, and using the control software to detect a mobile device with the APP control software in an IP address segment same with the computer; 
         [0009]    performing step S 1041  when the APP control software is detected; 
         [0010]    S 1041 : using the control software to send a key confirmation signal to the APP control software, and then performing step S 105 ; 
         [0011]    when the APP control software is not detected, performing step S 1042 ; 
         [0012]    S 1042 : continuously using the control software to detect whether the APP control software exists in the IP address segment same with the computer; 
         [0013]    S 105 : using the APP control software to send a feedback signal to the control software after the APP control software receives the key confirmation signal; 
         [0014]    performing step S 1061  when the mobile device is selected as the key of a mobile hard disk; 
         [0015]    S 1061 : using the control software to generate a key signal according to the feedback signal, and then performing step S 107 ; 
         [0016]    performing step S 1062  when the mobile device is not selected as the key of the mobile hard disk; 
         [0017]    S 1062 : the control software performs no subsequent operation hereafter; and 
         [0018]    S 107 : using the control software to send the key signal to the APP control software and a hidden sector of the mobile hard disk respectively to save it therein. 
         [0019]    According to the present invention, the control software installed on the computer is used to detect whether a mobile device with the APP control software exists in an IP address segment same with the computer, when the APP control software is detected, a key confirmation signal is sent to the APP control software by the control software, and then the feedback signal is sent back to the control software by the APP control software; when the mobile device is determined to be used as the key of the mobile hard disk, a key signal is generated by the control software, and sent to the APP control software and the hidden sector of the mobile hard disk to save it therein. Through the process above, a mobile device installed with the APP control software is used as the key of the mobile hard disk, and then the key is needed to open the mobile hard disk while using the mobile hard disk, thus it is not necessary to remember the password, and the unnecessary loss may not be caused by forgetting the password. 
         [0020]    In some embodiments, the method further comprises the steps of using the mobile device to decrypt: 
         [0021]    S 108 : shifting out the mobile hard disk from the computer and then reconnecting the mobile hard disk to the computer; 
         [0022]    S 109 : the control software detects whether the APP control software exists in the IP address segment same with the computer; 
         [0023]    when the APP control software is detected, performing step S 1101 ; 
         [0024]    S 1101 ; the control software detects the key signal sent by the APP control software and the key signal saved in the hidden sector of the mobile hard disk, and then step S 111  is performed; 
         [0025]    when the APP control software is not detected, performing step S 1102 ; 
         [0026]    S 1102 : the control software continuously detects whether the APP control software exists in the IP address segment same with the computer; 
         [0027]    S 111 : when the key signal sent by the APP control software is consistent with the key signal saved in the hidden sector of the mobile hard disk, the control software decrypts the mobile hard disk; and 
         [0028]    S 112 : when the key signal sent by the APP control software is not consistent with the key signal of the hidden sector of the mobile hard disk, the control software performs no subsequent operation. 
         [0029]    In this way, the mobile hard disk may be decrypted through the steps above, and when the key signal of the APP control software is inconsistent with the key signal saved in the hidden sector of the mobile hard disk, the control software cannot decrypt the mobile hard disk, so that the mobile hard disk cannot be accessed, which results in the effect of confidentiality. Meanwhile, when the encrypted mobile hard disk is needed to be used, the mobile hard disk may be accessed and the data stored in the mobile hard disk may be read without needing to remember the password, as long as the mobile device installed with the APP control software exists and the mobile device has already been set as the key of the mobile hard disk. 
         [0030]    In some embodiments, the method further comprises steps for backup and restoration after the steps of using the mobile device to decrypt: 
         [0031]    S 113 : setting and saving the backup catalogue information of the mobile device through the APP control software after the control software decrypts the mobile hard disk via step S 111 ; 
         [0032]    S 114 : The APP control software sends a backup information signal to the control software; and 
         [0033]    S 115 : The control software generates a backup signal according to the backup catalogue information signal and controls the mobile hard disk to perform backup. 
         [0034]    In this way, catalogues in the mobile device for backup may be selected through step S 113 ; and certainly, the date for backup may also be selected through the APP control software, or automatic check for updating and backup are performed during connection in each time. 
         [0035]    In some embodiments, the method further comprises restoration steps: 
         [0036]    S 116 : the control software detects the information backed up through the mobile hard disk; and 
         [0037]    S 117 : The control software generates a restoration signal according to the information backed up and sends the restoration signal to the APP control software, by which the restoration is performed. 
         [0038]    In this way, the information backed up may be restored to the APP control software through the restoration steps. That is, the information backed up may be restored to the mobile device. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0039]      FIG. 1  is a schematic diagram of a method for controlling a mobile hard disk through a mobile device according to an embodiment of the present invention; 
           [0040]      FIG. 2  is a flow chart of the method for controlling a mobile hard disk through a mobile device shown in  FIG. 1 ; 
           [0041]      FIG. 3  is a flow chart of decrypting through the mobile device in the method for controlling a mobile hard disk through a mobile device shown in  FIG. 1 ; 
           [0042]      FIG. 4  is a flow chart of backup in the method for controlling a mobile hard disk through a mobile device shown in  FIG. 1 ; and 
           [0043]      FIG. 5  is a flow chart of restoration in the method for controlling a mobile hard disk through a mobile device shown in  FIG. 1 . 
       
    
    
     DETAILED DESCRIPTION 
       [0044]    The present invention is further described hereafter with reference to the drawings. 
         [0045]      FIG. 1  schematically shows the principle of a method for controlling a mobile hard disk through a mobile device according to one embodiment of the present invention. 
         [0046]      FIG. 2  to  FIG. 4  schematically show the flow of a method for controlling a mobile hard disk through a mobile device according to one embodiment of the present invention. 
         [0047]    As shown in  FIG. 1  and  FIG. 2 , the principle and flow of the method for controlling a mobile hard disk through a mobile device are as follows. 
         [0048]    In S 101 , a user installs a control software  1 , which can decrypt an encrypted mobile hard disk  4  and access it, on a computer. 
         [0049]    In S 102 , the user installs an APP control software  2  corresponding to the control software  1  on a mobile device, and the APP control software  2  can be downloaded in advance. 
         [0050]    The mobile device may be a smart phone, a tablet personal computer, or the like. 
         [0051]    The APP control software  2  may perform data transmission with the control software  1 , and both the APP control software  2  and the control software  1  are programs configured in advance. 
         [0052]    In S 103 , the mobile hard disk  4  is connected to the computer through a data interface (such as a USB data interface), and as they are connected, the control software  1  enables a detection program, and detects whether the APP control software  2  exists in the same IP address segment with the computer (being in the same IP address segment is to detect the mobile devices  3  in the same local area network with the computer only, instead of detecting other mobile devices). In this case, two conditions may occur. 
         [0053]    Condition I: an APP control software  2  is detected in the same IP address segment with the computer by the control software  1 , in this case, step S 1041  is performed. 
         [0054]    To detect whether the APP control software  2  exists is namely to detect whether a certain mobile device  3  is installed with the APP control software  2 . 
         [0055]    In S 1041 , the control software  1  sends a key confirmation signal to the APP control software  2 , and then step S 105  is performed. 
         [0056]    Condition II: step S 1042  is performed when the APP control software  2  is not detected. 
         [0057]    In S 1042 , the control software  1  continuously detects whether the APP control software  2  exists in the same IP address segment (i.e. the same local area network) with the computer. 
         [0058]    In the foregoing step S 1042 , the control software  1  will repeat the detection all the time when the APP control software  2  is not detected. 
         [0059]    In S 105 , the APP control software  2  may display the key confirmation signal through a display screen of the mobile device  3  when a key confirmation signal is received, for example, the information may be displayed as “whether to use the mobile device as the key”, “yes” and “no”, or the like. And the user can operate the mobile device  3  according to the requirement thereof, to control the APP control software  2  to send a feedback signal to the control software  1 . 
         [0060]    Certainly, the information displayed by the mobile device may also be information similar to “whether to use the mobile device as the key”, such as “being used as the key or not”, etc., as long as the user can operate the mobile device to independently select whether to use the mobile device as the key of the mobile hard disk, the information displayed will be accepted. 
         [0061]    If the user selects the mobile device  3  as the key of the mobile hard disk  4  (i.e., selecting “yes”), step S 1061  will then be performed. 
         [0062]    In S 1061 , the control software  1  generates a key signal according to the feedback signal, and then step S 107  is performed. 
         [0063]    If the mobile device  3  is not selected as the key of the mobile hard disk  4  (i.e., selecting “no”), then step S 1062  will be performed. 
         [0064]    In S 1062 , the control software  1  does not perform a subsequent operation hereafter. 
         [0065]    In S 107 , the control software  1  respectively sends the key signal to the APP control software  2  and a hidden sector of the mobile hard disk  4 , so that the signal can be saved therein when “yes” is selected. 
         [0066]    The mobile hard disk  4  may be decrypted using the key signal saved in the APP control software  2  and the key signal saved in the mobile hard disk  4 . 
         [0067]    As shown in  FIG. 3 , the flow of using the mobile device  3  to decrypt the mobile hard disk  4  is as follows. 
         [0068]    In S 108 , the mobile hard disk  4  is shifted out from the computer and then is reconnected to the computer. 
         [0069]    Step S 108  is necessary if the mobile hard disk  4  is set with the key for the first time, for the control software  1  cannot enable a subsequent step S 109  if step S 108  is not performed, which is to say, the control software  1  may not detect whether the APP control software  2  exists in the same IP address segment with the computer. If the mobile hard disk  4  is not set with the key for the first time (which means the mobile hard disk has already been set with a key before it is connected to the computer), step S 108  can be unnecessary. 
         [0070]    In S 109 , the control software  1  detects whether the APP control software  2  exists in the same IP address segment with the computer. 
         [0071]    Because the mobile device  3  is already set as the key in step S 107  above, step S 1041  or step S 1042  may not be performed here. 
         [0072]    In S 1101 , the control software  1  detects the key signal of the APP control software  2  and the key signal of the hidden sector of the mobile hard disk  4 , and step S 111  is then performed. 
         [0073]    In step S 1101 , it is possible that there is no key saved in the APP control software  2  itself, and in this case, the key signal of the APP control software  2  detected by the control soft ware  1  will be certainly different with the key signal of the hidden sector of the mobile hard disk  4 . 
         [0074]    Step S 1102  is performed when the APP control software  2  is not detected. 
         [0075]    In S 1102 , the control software  1  continuously detects whether the APP control software  2  exists in the same IP address segment with the computer. 
         [0076]    In S 111 , the control software  1  decrypts the mobile hard disk  4  if the key signal of the APP control software  2  is consistent with the key signal of the hidden sector of the mobile hard disk  4 . 
         [0077]    In S 112 , the control software  1  does not perform a subsequent operation if the key signal sent by the APP control software  2  is not consistent with the key signal of the hidden sector of the mobile hard disk  4 . That is to say, the control software  1  will not decrypt the mobile hard disk  4 . 
         [0078]    As shown in  FIG. 4 , a backup flow is as follows. 
         [0079]    In S 113 , the backup catalogue information of the mobile device  3  is set via the APP control software  2  (that is to say, an item to be backed up is selected through the APP control software  2 ) and saved after the control software  1  decrypts the mobile hard disk  4  by performing step S 111 . 
         [0080]    In S 114 , the APP control software  2  sends a backup catalogue information signal to the control software  1 . 
         [0081]    In S 115 , the control software  1  generates a control signal according to the backup catalogue signal to control the mobile hard disk  4  to perform a backup. 
         [0082]    In step S 113 , the catalogue necessary in the mobile device  3  may be selected and backed up, or the backup may also be performed according to the date, or automatic check for updating and backup may be performed during connection in each time. 
         [0083]    During the automatic check for updating and backup, the control software  1  compares the information backed up by the mobile device  3  with the backup catalogue information of the APP control software  2 , and when the backup catalogue information is consistent with the information backed up by the mobile device  3 , the backup is not performed; otherwise, the backup is performed. 
         [0084]    As shown in  FIG. 5 , a restoration flow is as follows. 
         [0085]    In S 116 , the control software  1  detects the information backed up through the mobile hard disk  4 . 
         [0086]    In S 117 , the control software  1  generates a restoration signal according to the information backed up and sends the restoration signal to the APP control software  2 , and then a restoration is performed by the APP control software  2 . 
         [0087]    Certainly, the information backed up may be saved in the control software  1 , and when some information, which has been backed up, in the mobile device  3  is lost, the mobile device  3  may be connected to the computer through step S 116 , and the information backed up will be restored to the mobile device  3  through the control software  1 . During restoration, the control software  1  detects the information backed up by the mobile hard disk  4 , and generates restoration information according to the information backed up to perform an restoration operation to the APP control software  2 . For example, when address information in the mobile device  3  is lost, the control software  1  may send the restoration information of the address backed up by the mobile hard disk  4  to the APP control software  2 , and the APP control software  2  saves the address information, so that the restoration is finished. 
         [0088]    The contents above are only some embodiments of the present invention. Those skilled in the art may also make a plurality of deformations and improvements without departing from the conception of the present invention, which shall all fall within the protection scope of the present invention.