Home
I EXECUTION SYSTEM \ I
Contents
1. 0067 As for the case where a device is reconnected to the network on detecting connection of the device the detection unit 11 transmits the identifier of the connected device to the judgement unit 14 so as to inquire about whether installation of the control software for the device is necessary or not 0068 If the response from the judgement unit 14 is not necessary the detection unit 11 does not perform an install process Such a situation i e a situation where installation of the control software is not necessary for the connected device applies to the case where a user reconnects the device which has been accidentally disconnected from the network before the control software for the device is unin stalled 0069 Conversely if the response from the judgement 14 is necessary the detection unit 11 gives the first acquisi tion unit 15 or the second acquisition unit 16 instructions to acquire the control software for the device and transmit it together with the device identifier to the install unit 17 On receiving them the install unit 17 stores the control software in the storage unit 13 while loading classes included in the software generating the class management information and storing them in the storage unit 13 specifically the class management information is stored in the class table T2 0070 As for the control software there are two cases where control software is acquired from the device itself a
2. United States Kusuda et al US 20020083430A1 a2 Patent Application Publication co Pub No US 2002 0083430 Al 43 Pub Date Jun 27 2002 54 UNINSTALL CONTROL APPARATUS WHICH CONTROLS UNINSTALLATION OF DEVICE CONTROL SOFTWARE 76 Inventors Tadao Kusuda Osaka shi JP Shigeaki Watanabe Kyoto shi JP Yoshihiro Mimura Edinburgh GB Satoru Hayama Kobe shi JP Correspondence Address PRICE AND GESS 2100 S E Main St Ste 250 Irvine CA 92614 US 21 Appl No 10 022 324 22 Filed Dec 14 2001 30 Foreign Application Priority Data Dec 26 2000 OTHER DEVICES ON THE NETWORK A 2000 396291 EXECUTION SYSTEM SERVER Publication Classification 51 Int CI GO6F 9 445 B US Ee Gemeten ede 717 174 57 ABSTRACT At the time when the detection unit 11 detects disconnection of a device the judgement unit 14 controls the timing unit 12 to start measuring elapsed time since the detection When the measured elapsed time reaches a predetermined time the uninstall process of control software for the device is started Further the uninstall process includes a plurality of stages and the judgement unit 14 executes each stage in response to the measured elapsed time If the detection unit 11 detects reconnection of the device before the uninstall process has been completed the judgement unit 14 stops the uninstall pro
3. PC via a USB cable in response to connection disconnection of the cable as a trigger 0007 The aforementioned second case ie relating to audiovisual devices includes connection between devices both of which adhere to the Home Audio Video interoper ability HAVi Specification The HAVi Specification has been developed as the architecture of a home AV network and the Specification Ver 1 0 is now available The HAVI architecture enables a usage form where a plurality of devices conforming to the IEEE 1394 are connected and one of the connected devices controls the other devices opera tions Hereafter the whole of the connected plurality of devices and connection means such as a cable will be referred to as an IEEE 1394 network for the sake of convenience In this network a controlling device master Jun 27 2002 device equipped with HAVi middleware is called Full AV device FAV while controlled devices are called Base AV devices BAV 0008 When connecting a new BAV to the IEEE 1394 network the FAV automatically acquires and installs control software for controlling the BAV this software is called a Device Control Module DCM from the storage unit inside the BAV or the Internet server Conversely when discon necting a BAV from the network the FAV automatically uninstalls the control software corresponding to the BAV 0009 However as described above installation uninstal lation of the control software is au
4. embodiment is not lim ited to the case where connecting cables are physically connected disconnected but includes all cases where the master device cannot detect its control target devices for some reason For instance assume that a system constructed so that a control target device A is connected to a master device B If another control target device C is further connected to the system then bus reset will take place Immediately after the bus reset the master device B might not detect the device A However immediately after such bus reset another bus reset will take place so that the master device becomes able to detect the device A again Therefore in this case the time length when the device A is unable to be detected is extremely short The control apparatus accord ing to this embodiment is capable of controlling uninstalla tion reinstallation of control software in response to such disconnection in the above mentioned broad sense 0050 Construction of Control Apparatus 0051 FIG 2 is a block diagram showing the construction of the control apparatus 1 according to this embodiment 0052 The control apparatus 1 includes a detection unit 11 a judgement unit 14 a first acquisition unit 15 a second acquisition unit 16 an install unit 17 and an uninstall unit 18 The detection unit 11 detects connection disconnection of a device to from a network A which becomes a trigger for installation uninstallation of softwar
5. installed without the user s trouble of setting these values Jun 27 2002 To achieve this the judgement unit 14 should store the original values of a and y so as to return the changed values to original ones and store a flag or a counter so as to apply zero for these values only once More specifically at the time when the update information is received the flag is set from OFF to ON and the values of the predetermined time and y regarding to the device are set at zero When disconnection of the device is detected the judgement unit 14 instructs the uninstall unit to execute the uninstall process according to the predetermined time in this case 0 In addition when disconnection is detected the judgement unit 14 refers to the flag In the case of the flag being ON the device s identifier is not added into the uninstall device list With this procedure when reconnection of the device is detected the judgement unit 14 immediately gives the install unit an instruction of reinstallation Then after the install process the judgement unit refers to the flag again In the case of the flag being ON the values of a p and y are returned to the stored original values and the flag is returned to OFF 0115 Unlike the above procedure where the values of a B and y are set at zero and returned to the original values other procedure may be adopted where if the flag is ON the judgement unit 14 does not control the uni
6. of the slave devices is disconnected from the system measur ing elapsed time since the disconnection of the disconnected slave device a timing control unit for controlling the timing for uninstalling control software for the disconnected slave device and an uninstall unit for uninstalling the control software for the disconnected slave device under the control of the timing control unit wherein the timing control unit controls the uninstall unit to start uninstalling if the discon nected slave device is not reconnected to the system before the measured elapsed time reaches a first predetermined time 0012 With this construction the uninstall process is started after the predetermined time has passed since the detection unit detected the disconnection of the slave device Therefore even in the case where a user accidentally dis connects the slave device the user can use the slave device again without delay simply by reconnecting the slave device to the system before the predetermined time has passed 0013 2 In above 1 the disconnection reconnection of the slave device from the system may be detected by a bus reset signal generated following the disconnection recon nection US 2002 0083430 Al 0014 With this construction the apparatus according to the invention becomes applicable not only to the cases such as physical disconnection of cables but also to all of the cases where the master device cannot detect the other s
7. of classes dele tion of control software from the storage unit and deletion of control software from the auxiliary storage unit How ever this is just one example and details of control software and the executed order of its stages vary with specifications of install uninstall processes adopted by the device to be processed For instance there is a case where the install process requires generating system registration information on the software which becomes executable as a result of the install process so that the system can refer to the system registration information when executing the software In such a case a stage of deletion of information is included in the uninstall process 0108 The above embodiment describes control software so as to be limited to DCM which is a program for controlling each device individually However control soft ware according to the invention is not limited to the DCM but includes programs e g a program called application US 2002 0083430 Al module which is used for controlling the DCM which are automatically acquired from external apparatuses such as a remote server Such programs include a program named havlet which performs interface processing including dis playing GUI to receive a designation from a user and informing the DCM of the designation 0109 Recording media used as the auxiliary storage unit 161 may be RAMs or hard disks or devices detachable to the c
8. to a state before starting of the uninstalling US 2002 0083430 Al 14 computer readable recording medium which records a program used in an uninstall control apparatus connected with a master device and for controlling a process for uninstalling control software from the master device the control software being used by the master device for con trolling one or more slave devices in a system consisting of the master device and the one or more of slave devices the program comprising a detection step for detecting disconnection of a slave device from the system a timing step for measuring elapsed time since discon nection of the disconnected slave device is detected in the detection step and an uninstall step for uninstalling control software for controlling the disconnected slave device the uninstall step being started if reconnection of the disconnected slave device is not detected before the measured elapsed time reaches a first predetermined time Jun 27 2002 15 The computer readable recording medium of claim 14 wherein the uninstall step includes a plurality of stages and each of the plurality of stages are executed when the elapsed time reaches a predetermined time preset for the stage 16 The computer readable recording medium of claim 15 the program recorded on the recording medium further comprising a restoration step for when reconnection of the discon nected slave device is detected during t
9. unin stalling control software for the disconnected slave device and uninstall means for uninstalling the control software for the disconnected slave device under the control of the timing control means wherein the timing control means controls the uninstall means to start uninstalling if the disconnected slave device is not reconnected to the system before the measured elapsed time reaches a first predetermined time US 2002 0083430 Al 2 The uninstall control apparatus of claim 1 wherein the disconnection reconnection of the slave device from the system is detected by a bus reset signal generated following the disconnection reconnection 3 The uninstall control apparatus of claim 1 wherein the uninstall process executed by the uninstall means includes a plurality of stages and the timing control means controls the uninstall means to execute each of the plurality of stages in response to the elapsed time measured by the timing means 4 The uninstall control apparatus of claim 3 further comprising restoration means for restoring data modified in the unin stall process wherein the timing control means when the reconnection of the slave device is detected before the uninstall means completes the uninstall process stops the uninstall process by the uninstall means and gives the restoration means an instruction to restore the data modified by the time when the reconnection is detected to a state before starting of t
10. unit 14 of the elapsed time three times in theuninstallprocess Thefirstelapsedtime a indicates the tim ing for deleting unloading the classes of the software from the storage unit 13 The value of a is arbitrarily preset in the range from one to five seconds The second elapsed time indicates the timing for deleting the software and the cor responding software management information stored in the software management table TI from the storage unit 13 The value of is arbitrarily preset in the range from one to ten minutes The third elapsed time y indicates the timing for deleting the software stored in the auxiliary storage unit 161 within the second acquisition unit 16 Note that y is set only for the software acquired by the second acquisition unit 16 The value of y is arbitrarily preset in the range from a few hours to a few days 0079 When the time of a has passed the judgement unit 14 transmits the identifier of the device to be processed to the uninstall unit 18 so as to delete the classes and the class management information for the device from the storage unit 13 0080 After that when the time of has passed the judgement unit 14 transmits the device identifier to the uninstall unit 18 so that the control software for the device and the software management information for the software are respectively deleted from the storage unit 13 and the software management table T1 In addition at this time the judgement un
11. The uninstall control apparatus of claim 7 further comprising acquisition means for acquiring control software and storing the control software in both auxiliary storage means and the storage means wherein Jun 27 2002 the uninstall process executed by the uninstall means includes a stage for deleting the control software from the auxiliary storage means and the timing control means controls the uninstall means to delete the control software from the auxiliary storage means when the elapsed time reaches a fifth predeter mined time 9 The uninstall control apparatus of claim 3 wherein the timing control means controls the uninstall means to execute each of the plurality of stages at a predeter mined time set for the stage wherein the uninstall control apparatus further comprises updating means for updating the first predetermined time and at least one of the predetermined times set for the plurality of stages in accordance with external desig nation 10 The uninstall control apparatus of claim 1 further comprising update information reception means for receiving update information on control software wherein when the update information reception means receives update information on control software and disconnec tion of the slave device corresponding to the control software is detected for the first time after receiving the update information the timing control means controls the uninstall means to execute th
12. VICE YES START MEASURING ELAPSED TIME t 703 ELAPSED TIME t lt N S704 66 lt EEJ La 5708 5706 5702 UNLOAD DELETE SOFTWARE DELETE SOFTWARE CLASS FROM STORAGE FROM AUXILIARY gt UNIT 13 STORAGE UNIT 161 DOES AUXILIARY STORAGE UNIT 161 STORE SOFTWARE YE S709 S P od DETECT CONNECTION OF DEVICE YES S710 RECONNECTION OR NOT YES 711 EK a 8 BSS Y ELAPSED TIME t STORE SOFTWARE LOAD CLASS m STORAGE UNIT 13 714 STOP MEASURING ELAPSED TIME US 2002 0083430 Al UNINSTALL CONTROL APPARATUS WHICH CONTROLS UNINSTALLATION OF DEVICE CONTROL SOFTWARE BACKGROUND OF THE INVENTION 0001 1 Field of the Invention 0002 The present invention relates to an uninstall control apparatus for monitoring disconnection of a device from a system consisting of a master device and other devices and controlling an uninstall process of device control software where the process is conducted by the master device in response to the disconnection 0003 2 Description of the Related Art 0004 Conventionally there is a usage form of hardware devices where a plurality of devices are connected as a system and one of the hardware devices as a master device controls the other devices Such a system is realized by that the master device controls the other devices operations such as starting stopping details of processes and timing for the operations To achieve this
13. cess and restores the control software and related infor mation to the state before the uninstall process TV RECEIVER TIMING Patent Application Publication Jun 27 2002 Sheet 1 of 7 US 2002 0083430 A1 FIG 1 NETWORK nm Patent Application Publication Jun 27 2002 Sheet 2 of 7 US 2002 0083430 A1 FIG 2 EXECUTION SYSTEM TV RECEIVER CONTROL APPARATUS INSTALL UNIT RST Ke ACQUISITION UNIT OTHER DEVICES ON THE NETWORK A PTT TTT TTT ET eee SERVER Patent Application Publication Jun 27 2002 Sheet 3 of 7 US 2002 0083430 A1 FIG 3 Ti y DEVICE IDENTIFIER ADDRESS 310 320 Patent Application Publication Jun 27 2002 Sheet 4 of 7 US 2002 0083430 A1 FIG 4 400 DEVICE IDENTIFIER Patent Application Publication Jun 27 2002 Sheet 5 of 7 US 2002 0083430 A1 FIG 5 a PRIOR TO UPDATE 500 CONNECTED DEVICE IDENTIFIER b SUBSEQUENT TO UPDATE A 500 CONNECTED DEVICE IDENTIFIER IDENTIFIER A 10 IDENTIFIER B Patent Application Publication Jun 27 2002 Sheet 6 of 7 FIG 6 US 2002 0083430 A1 DETECTION OF DISCONNECTION 4 4 4 ELAPSED TIME 0 Y DELETION OF DELETION OF DELETION OF CLASS PROGRAM FROM PROGRAM FROM STORAGE UNIT 13 AUXILIARY STORAGE UNIT 161 Patent Application Publication Jun 27 2002 Sheet 7 of 7 US 2002 0083430 A1 FIG 7 START 5701 NO DETECT DISCONNECTION OF DE
14. e The judgement unit 14 judges whether the installation uninstallation is necessary for the connection disconnection of the device and controls the timing for executing the uninstallation The first and second acquisition units 15 and 16 respectively acquires control software at the time of installation The install unit 17 performs an install process i e a process for storing software and related information into the storage unit 13 and a load process of classes included in the software The uninstall unit 18 performs an uninstall process i e a process for deleting software related information and classes from the storage unit 13 The control unit 1 further includes a timing unit 12 which operates under the judgement unit 14 Following describes main elements of these units in detail 0053 Storage Unit 13 0054 First data stored in the storage unit 13 relating to the install process will be described 0055 The storage unit 13 stores control software Pa and Pb Information on storage locations of these software i e addresses of these software is held in the software man agement table T1 Hereafter the information held in the software management table T1 is called software manage ment information 0056 FIG 3 shows one example of the construction and contents of the software management table T1 The software management table consists of a device identifier field 310 and an address field 320 The device iden
15. e judgement unit 14 judges whether the detected device is a newly added device or a device which has been discon nected just before the connection ie a device now being in the uninstall process To achieve this the judgement unit 14 checks the identifier of the connected device informed by the detection unit 11 against the uninstall device list held by the judgement unit 14 itself If the identifier is included in the list the judgement unit 14 can judge the connection to be reconnection 0083 In the case of a newly added device not recon nection the judgement unit 14 informs the detection unit 11 that the control software for the device has to be installed 0084 On the other hand in the case of reconnection the judgement unit 14 informs the detection unit 11 that instal lation is not necessary while stopping the now being executed uninstall process of the control software for the device More specifically this process includes three steps for 1 giving the timing unit 12 an instruction to stop measuring the elapsed time 2 deleting the device identifier from the uninstall device list and 3 only if the uninstall process proceeds halfway restoring the installed informa tion to the state before uninstallation Among these steps details of the step 3 varies based on the elapsed time until the uninstall process stops Following describes the details based on the elapsed time 0085 In the case of the elapsed time
16. e uninstall process without controlling the process based on the elapsed time 11 A method for controlling a process for uninstalling control software from a master device the control software being used by the master device for controlling one or more slave devices in a system consisting of the master device and the one or more of slave devices the method comprising the steps of a detection step for detecting disconnection of a slave device from the system a timing step for measuring elapsed time since discon nection of the disconnected slave device is detected in the detection step and an uninstall step for uninstalling control software for controlling the disconnected slave device the uninstall step being started if reconnection of the disconnected slave device is not detected before the measured elapsed time reaches a first predetermined time 12 The method for controlling the uninstall process of claim 11 wherein the uninstall step includes a plurality of stages and each of the plurality of stages are executed when the elapsed time reaches a predetermined time preset for the stage 13 The method for controlling the uninstall process of claim 12 further comprising a restoration step for when reconnection of the discon nected slave device is detected during the uninstall step stopping the uninstalling and restoring the data modified in the stages having been executed by the time when the reconnection is detected
17. gement information in the software management table T1 Further the install unit 17 loads the classes included in the program into the storage unit 13 and adds the class man agement information for the software in the class manage ment table T2 0087 Operations 0088 Next operations executed by the control apparatus 1 for controlling uninstallation will be described with ref erence to a flowchart 0089 FIG 7 is a flowchart showing the uninstall process by the control apparatus 1 0090 First the uninstall process starts when the detection unit 11 detects bus reset and judges that the bus reset is due to disconnection of a device The detection unit 11 informs the judgement unit 14 of the identifier of the disconnected device S701 Yes 0091 The judgement unit 14 adds the device identifier in the uninstall device list while gives the timing unit 12 an instruction to start measuring the elapsed time after discon nection of the device S702 0092 After that every time the elapsed time t becomes predetermined values a f and y the timing unit 12 informs the judgement unit 14 as such Then the judgement unit 14 conducts the following processes in response to the elapsed time 0093 When the elapsed time t reaches a S704 aSt lt p the judgement unit 14 gives the uninstall unit 18 an instruction to delete the classes and the class management information relating to the control software for the device fro
18. he uninstall step stopping the uninstalling and restoring the data modified in the stages having been executed by the time when the reconnection is detected to a state before starting of the uninstalling
19. he uninstall process 5 The uninstall control apparatus of claim 4 wherein the control software to be uninstalled is described in an object oriented language the uninstall process executed by the uninstall means includes a stage for unloading classes which was loaded at the time when the control software was installed and the timing control means controls the uninstall means to unload the classes when the elapsed time reaches a second predetermined time 6 The uninstall control apparatus of claim 4 wherein the uninstall process executed by the uninstall means includes a stage for deleting registration information on the control software being the target for the uninstall process the registration information being generated at the time when the control software was installed and the timing control means controls the uninstall means to delete the registration information when the elapsed time reaches a third predetermined time 7 The uninstall control apparatus as defined in any one of claims 4 to 6 further comprising storage means for storing installed control software wherein the uninstall process executed by the uninstall means includes a stage for deleting the control software being the target for the uninstall process from the storage means and the timing control means controls the uninstall means to delete the control software from the storage means when the elapsed time reaches a fourth predetermined time 8
20. installation of software is necessary for the disconnection Further the judgement unit 14 controls a timing for executing the uninstall process based on the elapsed time measured by the timing unit 12 0075 First the following describes the case where the judgement unit 14 is informed from the detection unit 11 that a device has been disconnected 1 the case of uninstall process In this case the judgement unit 14 makes the timing unit 12 measure the elapsed time after the discon nection while proceeding with the uninstall process which has been divided into two or three stages in response to the elapsed time 0076 At the beginning of the uninstall process the judgement unit 14 lists the device identifier received from the detection unit 11 in an uninstall device list which has been stored within the judgement unit 14 Then the judge ment unit 14 transmits a request for starting measurement to the timing unit 12 so as to start the timer Every time the elapsed time reaches one of predetermined values the timing unit 12 informs the judgement unit 14 of the elapsed time Then the judgement unit 14 proceeds with the unin stall process in response to the informed elapsed time 0077 FIG 6 shows the relation between the time lapsed since the control apparatus according to the embodiment detected disconnection of the device and the uninstall pro cess 0078 As shown in this figure the timing unit 12 informs the judgement
21. it 14 refers to the management table held by the second acquisition unit 16 so as to check whether the control software for the device is stored in the auxiliary storage unit 161 within the second acquisition unit 16 If the software is not stored therein the judgement unit 14 judges that the uninstall process has been completed then stops the measurement by the timing unit 12 and deletes the device US 2002 0083430 Al identifier from the uninstall device list stored within itself After that if the device is connected to the network A again the judgement unit judges it to be a reconnected device and performs installation of the control software 0081 Alternatively the control software for the device is stored in the auxiliary storage unit 161 also the judgement unit 14 further proceeds with the uninstallation process When the time of y has passed the judgement unit 14 transmits the device identifier to the second acquisition unit 16 so as to delete the control software for the device stored in the auxiliary storage unit 161 Then the judgement unit 14 stops the timing unit 12 measuring the elapsed time and deletes the device identifier from the uninstall device list to complete the uninstall process 0082 Next the following describes the process con ducted by the judgement unit 14 in the case that connection of a device is detected i e a process relating to judgement whether installation is necessary or not In this case th
22. lave devices in response to generation of the bus reset signal 0015 3 In above 1 the uninstall process executed by the uninstall unit may include a plurality of stages and the timing control unit controls the uninstall unit to execute each of the plurality of stages in response to the elapsed time measured by the timing unit 0016 With this construction each stage of the uninstall process can be executed based on the elapsed time measured since the detection unit detected the disconnection of the slave device As a result it becomes possible to confirm more reliably whether the disconnection of the slave device is according to the user s intention or not 0017 4 In above 3 the uninstall control apparatus may further include a restoration unit for restoring data modified in the uninstall process In such an apparatus the timing control unit when the reconnection of the slave device is detected before the uninstall unit completes the uninstall process stops the uninstall process by the uninstall unit and gives the restoration unit an instruction to restore the data modified by the time when the reconnection is detected to a state before starting of the uninstall process 0018 With this construction in the case that the discon nected slave device is reconnected to the system during the uninstall process the slave device becomes available simply by restoring the data modified by the time when the detec tion unit de
23. lave device becomes available again can be reduced by the time required for reacquiring the control software as compared with the case where the control software is deleted from the auxiliary storage unit immediately after starting of the uninstall pro cess This advantage is especially effective for the case where the software has to be transferred from the remote server to the auxiliary storage unit 0027 9 In above 3 the timing control unit may control the uninstall unit to execute each of the plurality of stages at a predetermined time set for the stage Such an apparatus may further include an updating unit for updating the first predetermined time and at least one of the prede termined times set for the plurality of stages in accordance with external designation 0028 With this construction execution timings for the uninstall process and or the plurality of stages in the unin stall process can be changed for the convenience of a user US 2002 0083430 Al 0029 10 In above 1 the uninstall control apparatus may further include an update information reception unit for receiving update information on control software In such an apparatus when the update information reception unit receives update information on control software and discon nection of the slave device corresponding to the control software is detected for the first time after receiving the update information the timing control unit controls the uninstall u
24. ling the digital camera 20 and the VTR deck 30 Installation of the control software into the TV receiver 10 enables a user to operate other devices by means of the TV receiver 10 The TV receiver 10 acquires control software used for the digital camera 20 directly from the digital camera 20 and acquires control software used for the VTR deck 30 by downloading it from the server 50 0044 The control unit controls installation uninstallation of the control software into from the TV receiver 10 Note here that control software is described in Java Java is a trademark of Sun Microsystems Inc in the U S 0045 Generally installation is a process for acquiring software generating registration information required for executing the software converting the software into the executable object and storing the software in the storage means In this embodiment however the install process does not include the process for generating registration information because the control software is described in Java Additionally the process for converting the software into the executable object is replaced by the load process of classes included in the software 0046 Therefore the install process in this embodiment consists of two stages 1 a process for acquiring device control software from outside and storing it in the storage means in this case a storage unit 13 in FIG 2 and 2 a process for loading classes included in the control
25. ly occurs as in the IEEE 1394 network 0105 Although the present invention has been fully described by way of examples with reference to the accom panying drawings it is to be noted that various changes andmodifications will be apparent to those skilled in the art Therefore unless such changes and modifications depart from the scope of the present invention they should be construed as being included therein 0106 The above described embodiment deals with an example where home electrical devices are connected on the IEEE 1394 network However connecting means and devices are not limited to such an example That is the invention is applicable to any usage forms insofar as the following two preconditions are satisfied 1 in the envi ronment where a plurality of devices are connected a master device controls other devices operations using control soft ware and 2 on detecting connection disconnection of a device the master device installs uninstalls the control soft ware for the device For instance devices may be connected via USB and other serial buses or by radio conforming to the wireless IEEE 1394 standard Also the invention is applicable to the system including a PC as the master device and peripheral devices which are connected with each other In addition the control software is not necessarily described in Java 0107 In the above described embodiment the uninstall process includes three stages of deletion
26. m the storage unit 13 S704 0094 When the elapsed time t reaches f S704 St lt y the judgement unit 14 gives the uninstall unit 18 an instruc tion to delete the control software for the device and the software management information relating to the control software from the storage unit 13 and the software manage ment table T1 respectively S706 In addition the judge ment unit 14 checks whether the control software for the device is stored in the auxiliary storage unit 161 in the second acquisition unit 16 or not In the case that the software is not stored therein S707 No the judgement unit 14 judges that the uninstall process has been completed and so stops the timing unit 12 measuring the elapsed time and deletes the identifier of the device from the uninstall device list to complete the uninstall process S714 0095 Alternatively in the case that the control software for the device is stored in the auxiliary storage unit 161 also S707 Yes the judgement unit 14 further proceeds with the uninstallation process At the time of y S704 y t the judgement unit 14 gives the second acquisition unit 16 an instruction to delete the control software for the device stored in the auxiliary storage unit 161 S708 Further the judgement unit 14 conducts the aforementioned step S714 to complete the uninstall process US 2002 0083430 Al 0096 However if the detection unit 11 detects that a device is connected to the net
27. n instruction to load the classes included in the control software for the device which is kept in the storage unit 13 into the storage unit 13 Further the judgement unit 14 instructs the install unit 17 to add the class management information for the control software in the class management table T2 S712 0099 In the case of the elapsed time not shorter than but shorter than S711 f St y the judgement unit 14 gives the install unit 17 an instruction to reacquire the control software for the device In response to the instruc tion the install unit 17 gives the second acquisition unit 16 instructions to read the software from the auxiliary storage unit 161 and transmit it to the install unit 17 Then the install unit 17 stores the software in the storage unit 13 and adds the corresponding software management information in the software management table T1 Further the install unit 17 loads the classes included in the control software into the storage unit 13 and adds the class management information for the software in the class management table T2 S713 0100 After finishing the steps S712 and S713 the judge ment unit 14 performs the above described step S714 to complete the process for reconnection 0101 Note here that in the case that the detection unit 11 detects reconnection of a device before the elapsed time reaches the predetermined time S703 Yes and S709 Yes neither the uninstall process such as f
28. nd control software has to be downloaded from the server 50 Therefore the detection unit 11 obtains information from the reconnected device on where to acquire the control software i e directly from the device or from the server In the former case the detection unit 11 gives an acquisition instruction to the first acquisition unit 15 while in the latter case giving the instruction to the second acquisition unit 16 0071 As for the latter case when acquiring the control software from the server 50 the second acquisition unit 16 transmits it to the install unit 17 while holding the same together with the management table in the auxiliary storage unit 161 This management table has the same construction as in the software management table T1 stored in the storage unit 13 See FIG 2 which consists of correspondences between storage addresses of the software in the auxiliary storage unit 161 and device identifiers corresponding to the software 0072 Alternatively in the case that the detection unit 11 detects disconnection of a device the detection unit 11 gives the judgement unit 14 an instruction to perform processes relating to uninstallation of the control software for the device 0073 Judgement Unit 14 0074 When the detection unit 11 detects connection disconnection of a device the judgement unit 14 judges Jun 27 2002 whether installation of software is necessary for the con nection and judges whether un
29. nit to execute the uninstall process without con trolling the process based on the elapsed time 0030 With this construction in the case that a user intentionally disconnects the slave device in order to down load and install the latest version of the control software the user does not need to wait longer for starting the install process of such software while the object of the invention i e to avoid unnecessary uninstallation installation follow ing unintended disconnection of a slave device can be fulfilled BRIEF DESCRIPTION OF THE DRAWINGS 0031 These and the other objects advantages and fea tures of the invention will become apparent from the fol lowing description thereof taken in conjunction with the accompanying drawings which illustrate a specific embodi ment of the invention 0032 In the drawings 0033 FIG 1 shows the construction of a network A including a control apparatus according to one embodiment of the invention 0034 FIG 2 shows the construction of the control appa ratus according to the embodiment 0035 FIG 3 shows one example of the construction and contents of the software management table according to the embodiment 0036 FIG 4 shows class management information stored in the class management table according to the embodiment 0037 FIG 5 shows one example of device list informa tion stored in the detection unit according to the embodiment and the updated information toge
30. not shorter than a but shorter than the first step deletion of the classes in the uninstall process is being executed Therefore the judge ment unit 14 transmits the device identifier to the install unit 17 so as to extract the classes from the control software stored in the storage unit 13 for the device and load the classes into the storage unit 13 Further the judgement unit 14 instructs the install unit 17 to add the class management information for the control software in the class manage ment table T2 0086 In the case of the elapsed time not shorter than f but shorter than y the second step deletion of software from the storage unit 13 is being executed Note here that the uninstall process for the software except for ones acquired from the second acquisition unit 16 includes only the first and the second stage so that the software will be processed as a newly installed software Then the judge ment unit 14 transmits the device identifier to the install unit Jun 27 2002 17 and gives the install unit 17 an instruction to reacquire the control software for the device stored in the auxiliary storage unit 161 In response to the instruction the install unit 17 gives the second acquisition unit 16 an instruction to read the software from the auxiliary storage unit 161 to acquire the software Then the install unit 17 stores the software in the storage unit 13 and adds the corresponding software man a
31. nstall process based on the elapsed time In this case the process is conducted as follows ON OFF state of the flag is set by the detection unit In the case of the flag being ON the detection unit gives the uninstall unit an instruction to execute the uninstall process After the uninstall process in the case of reconnection and in the case of the flag being ON the detection unit does not inform the judgement unit of the reconnection but gives the install unit an instruction to execute the install process On the other hand in the case of the flag being OFF the control apparatus performs the same process as in the above described embodiment In this case the uninstall install units have to inform the detection unit that the process has been completed for determining a timing for starting the install process and setting the flag OFF What is claimed is 1 An uninstall control apparatus connected with a master device and for controlling a process for uninstalling control software from the master device the control software being used by the master device for controlling one or more slave devices in a system consisting of the master device and the one or more of slave devices the uninstall control apparatus comprising timing means for if one of the slave devices is discon nected from the system measuring elapsed time since the disconnection of the disconnected slave device timing control means for controlling the timing for
32. ollable by the TV receiver 10 as the master device 0060 The install unit 17 loads classes and adds corre sponding class management information into the class man agement table T2 at the install process while the uninstall unit 18 deletes classes and corresponding class management information from the storage unit 13 at the uninstall process 0061 Detection unit 11 0062 The detection unit 11 detects connection discon nection of devices to from the network A If a device is connected disconnected to from the network A a bus reset signal is generated The detection unit 11 detects the con nection disconnection with the signal As previously described generation of the bus reset signal is not limited to the case where devices are physically connected discon nected to from the network Instead if a bus reset signal is generated the detection unit 17 always judges that connec tion disconnection of devices occurred and performs the following processes 0063 On detecting a bus reset signal the detection unit 11 transmits identifier transmission requests to all devices whose existence in the network A is detectable In response to these requests each device transmits its identifier to the detection unit 11 Then the detection unit 11 checks the transmitted identifiers against a list of connected devices stored within itself and judges that an identifier which is not included in the list indicates a reconnected device Con ve
33. ontrol apparatus 1 such as removable hard disks and memory cards 0110 above described timing unit 12 may have a plurality of timers within it so as to measure the elapsed time regarding the plurality of disconnected devices simulta neously In this case management information on the cor respondences between identifiers of the timers and device identifiers associated with the timers should be stored in the unit 0111 In the above described embodiment the predeter mined time a and y are preset However users may set these time freely or these preset times may be changed according to user s designation Further although the above described embodiment uniformly applies a set of the pre determined time to all devices a set of values of time may be set so as to be specific to each device 0112 In this case the uninstall control apparatus 1 should be further provided with a reception unit for receiving values of the predetermined time a B and y from a user and the received values are transmitted to the judgement unit 14 The judgement unit 14 stores these values and refers to them in the judgement process 0113 With this construction a user can set the predeter mined time and y so that starting timing of each stage in the uninstall process for each device if required can be freely determined based on the system environment More over this construction is convenient when a user intention ally connec
34. or deleting classes nor the restoration process for the uninstallation is performed 0102 Summary 0103 As described above on detecting disconnection of a device from the network A the control apparatus 1 in this embodiment starts the uninstallation process of the control software for the device However until a predetermined time period has passed the control apparatus 1 does not delete the Jun 27 2002 software and information relating to the software Further more even after the predetermined time period a plurality of stages of uninstall process is sequentially conducted every predetermined elapsed time As a result even if a user accidentally disconnect a device reconnection immediately after the disconnection allows the user to use the device without delay and without waiting reinstallation of the control software because the control software and related information is still kept within there Further even when some time period has passed before reconnection and the uninstall process of the control software proceeds halfway waiting time till the device becomes available again can be reduced as compared with the case required for reinstallation of the software because a portion of the software and related information is not deleted but still kept within the apparatus 0104 These advantages are especially effective for the cases where software has to be downloaded from the remote server and where bus reset frequent
35. rsely if the list includes the identifier which is not transmitted from the devices the detection unit 11 judges that the device corresponding to the identifier has been disconnected from the network Note here that an identifier is unique to each device and so capable of specifying the device 0064 In the case that the detection unit 11 judges that a device is a reconnected to the network the detection unit 11 adds the identifier of the device in the list of connected devices Conversely in the case that the detection unit 11 judges that a device has been disconnected from the net work the detection unit 11 deletes the identifier of the device from the list 0065 FIG 5 shows one example of a device list 500 stored in the detection unit 11 and the updated list together with illustrations showing the state of device connection both prior to and subsequent to the update FIGS 5 a and US 2002 0083430 Al b show the state prior to and subsequent to the update respectively These drawings illustrate the state where two devices are connected to the TV receiver 10 See FIG 5 a and the updated state where the device B VTR 30 with the identifier B is disconnected from the network See FIG 5 b In accordance with such a change the device list 500 is updated as in FIG 5 b 0066 Additionally on detecting connection disconnec tion of a device the detection unit 11 gives instructions and make inquires to from other units
36. software into the storage unit the storage unit 13 in FIG 2 In the case that the control software is acquired from the server 50 however the install process also includes a process 3 for temporarily keeping the compressed software acquired from the server 50 in the auxiliary storage means an auxiliary storage means 161 in FIG 2 before storing it in the storage means 0047 Meanwhile uninstallation is a process for sequen tially deleting software and classes stored in the storage means according to the installation process In the case of the software acquired from the server 50 uninstallation also includes a process for deleting software from the auxiliary storage means 0048 The control apparatus installs the control software at the time when a device is connected to the network A While the control apparatus starts to uninstall the control software after a predetermined time period has passed since a device was disconnected from the network A Further the control apparatus divides the uninstall process into some stages and executes each stage with the passage of time after the device is disconnected This enables the device which has accidentally disconnected from the system and then immediately connected thereto to be rapidly available again Such an uninstall process is the feature of the control apparatus US 2002 0083430 Al 0049 Note here that disconnection detected by the control apparatus according to this
37. tects the reconnection to the state before starting of the uninstall process Therefore waiting time till the slave device becomes available again can be reduced as compared with the case where the uninstall process is executed as a single process 0019 5 In above 4 the control software to be unin stalled may be described in an object oriented language the uninstall process executed by the uninstall unit may include a stage for unloading classes which was loaded at the time when the control software was installed and the timing control unit may control the uninstall unit to unload the classes when the elapsed time reaches a second predeter mined time 0020 With this construction in the environment where the control software is described in an object oriented lan guage such as Java if the slave device is reconnected to the system before the classes of the control software being the target for the uninstall process is deleted the slave device becomes available again without reloading the classes Therefore waiting time till the slave device becomes avail able again can be reduced by the time required for complet ing the reloading process as compared with the case where the classes are deleted immediately after starting of the uninstall process 0021 6 In above 4 the uninstall process executed by the uninstall unit may include a stage for deleting registra tion information on the control software being the target for
38. tem before the control software is deleted from the storage unit the slave device becomes available again without storing the control software again Therefore waiting time till the slave device becomes available again can be reduced by the time required for storing the control software in the storage unit again as compared with the case where the control software is deleted immediately after starting of the uninstall process 0025 8 In above 7 the uninstall control apparatus may further include an acquisition unit for acquiring control software and storing the control software in both auxiliary storage unit and the storage unit In such an apparatus the uninstall process executed by the uninstall unit may include a stage for deleting the control software from the auxiliary storage unit and the timing control unit may control the uninstall unit to delete the control software from the auxil iary storage unit when the elapsed time reaches a fifth predetermined time 0026 With this construction if the slave device is recon nected to the system before the control software is deleted from the auxiliary storage unit the slave device becomes available again simply by conducting a stage for transferring the control software from the auxiliary storage unit to the storage unit and following stages so that there is no need for reacquiring the control software and storing it in the auxil lary storage unit Therefore waiting time till the s
39. the master device is equipped with control software which enables control of the other devices hereafter called control target devices or slave devices Installation of the control software onto the master device is often inputted from recording media or downloaded via communication means by user s manual operations of the master device However a system in which connection disconnection of a control target device triggers the master device to automatically perform such installation uninstallation processes is becoming increasingly common 0005 As concrete examples of this kind of system there are cases where 1 a personal computer PC and peripheral devices are connected with each other and 2 audiovisual devices are connected with each other 0006 The peripheral devices in the first case 1 relating to PC include a device equipped with a function of Plug amp Play which is now becoming pervasive In the case of a notebook computer for example users can make use of a PCMCIA card simply by inserting the card into a slot provided within the computer In this case the notebook computer installs control software for the card onto itself at the time of insertion of the card Conversely on removing the card from the slot the notebook computer detects the removal and uninstalls the control software for the card by itself As another example PCs install or uninstall control software for peripheral equipment connected with the
40. the uninstall process the registration information being generated at the time when the control software was installed and the timing control unit may control the unin stall unit to delete the registration information when the elapsed time reaches a third predetermined time Jun 27 2002 0022 With this construction if the slave device is recon nected to the system before the registration information on the control software being the target for the uninstall process is deleted the slave device becomes available again without setting the registration information again Therefore waiting time till the slave device becomes available again can be reduced by the time required for completing setting the registration information again as compared with the case where the registration information is deleted immediately after starting of the uninstall process 0023 7 In any one of above 4 to 6 the uninstall control apparatus may further include a storage unit for storing installed control software In such an apparatus the uninstall process executed by the uninstall unit may include a stage for deleting the control software being the target for the uninstall process from the storage unit and the timing control unit may control the uninstall unit to delete the control software from the storage unit when the elapsed time reaches a fourth predetermined time 0024 With this construction if the slave device is recon nected to the sys
41. ther with illustrations showing device connection both prior to and subsequent to the disconnection 0038 FIG 6 shows a relation between the time lapsed since the control apparatus according to the embodiment detected disconnection of the device and the uninstall pro cess conducted by the control apparatus and 0039 FIG 7 is a flowchart showing the uninstall process by the control apparatus according to the embodiment DESCRIPTION OF THE PREFERRED EMBODIMENT 0040 The following describes an embodiment according to the control apparatus of the invention with reference to the drawings 0041 Introduction 0042 FIG 1 shows a network A including a control apparatus according to the embodiment of the invention The network A is constructed so that a plurality of devices each Jun 27 2002 including a connection means conforming to the IEEE 1394 standard are connected with one another via cables 40 and the network adheres to the HAVi Specification The con nected devices include a TV receiver 10 equipped with a function as an FAV a digital camera 20 a VTR deck 30 etc as BAVs The TV receiver 10 is further equipped with a communication means which enables the TV receiver 10 to communicate with a server 50 via a public telephone net work N The control apparatus is included in the TV receiver 10 as the FAV 0043 The TV receiver 10 as the FAV acquires and holds 1 installs control softwareprograms for control
42. tifier field 310 stores identifiers identifying devices while the address field 320 stores addresses in the storage unit 13 of control software for the device specified by the corresponding device identifier 0057 Software management information is added into the software management table T1 by the install unit 17 at the install process while deleted by the uninstall unit 18 at the uninstall process Jun 27 2002 0058 In addition at the install process classes included in the software Pa and Pb are loaded into the storage unit 13 Further a class management table T2 is also stored in the storage unit 13 In this table T2 information for distinguish ing software whose classes have been loaded into the storage unit 13 is described 0059 FIG 4 shows class management information 400 stored in the class management table T2 The class man agement information 400 indicates control software whose classes have been loaded into the storage unit 13 by means of the device identifiers of the devices corresponding to the software the device identifiers are the same as those stored in the software management table T1 FIG 4 shows that classes included in the control software for devices corre sponding to the identifiers A and B have been already loaded into the storage unit 13 These devices 1 classes included in the control software corresponding to the devices have been loaded into the storage unit 13 become contr
43. tomatically executed simply based on the connection disconnection of a device Therefore in the case that a user unintentionally and acci dentally disconnects a device from the system and immedi ately connects the device again uninstall reinstall processes will be conducted in response to the disconnection and reconnection respectively Thus the user has to wait for using the device until these processes have been completed This problem becomes especially serious when software has to be downloaded via communication means because the user has to wait longer to reinstall the software SUMMARY OF THE INVENTION 0010 In view of the aforementioned problem the object of the present invention is to provide an uninstall control apparatus which controls a process for uninstalling control software so that a user can use a device again without waiting for a long time simply by reconnecting the device to the system immediately in the case that a user unintention ally disconnects a device 0011 1 To achieve the object the uninstall control apparatus according to the invention connected with a master device and for controlling a process for uninstalling control software from the master device the control soft ware being used by the master device for controlling one or more slave devices in a system consisting of the master device and the one or more of slave devices the uninstall control apparatus is made up of a timing unit for if one
44. ts disconnects a device to from the system For instance there is a case where a user obtains update infor mation on control software for a device In order to uninstall the old version and install the latest version from the server the user intentionally disconnects the device from the sys tem According to the above mentioned embodiment how ever the user has to wait for reconnecting the device until the time of B or y has passed after disconnection of the device so as to install the latest version On the other hand with this construction a user can set the predetermined time a B and y for each device Therefore if all of the prede termined time a p and y are set at 0 before disconnection and then the device is disconnected the requested latest version can be installed immediately After that the values of B and y should be returned to the original values which avoids unnecessary uninstallation reinstallation if a user accidentally disconnects the device 0114 Alternatively in the case that update information on the control software is transmitted from the server via communication means the judgement unit 14 may acquire the update information via the second acquisition unit 16 and apply zero for the values of a B and y only when the device relating to the update information is disconnected for the first time after acquiring the information With this construction the control software in the latest version can be
45. work in the middle of above steps 5704 to S708 the judgement unit 14 operates as follows 0097 In the middle of the uninstall process on receiving a notification from the detection unit 11 that a device is connected S709 Yes the judgement unit 14 checks the identifier of the notified device against the uninstall device list held by the judgement unit 14 itself so as to judge whether the device now being in the uninstall process is reconnected or not If the case is not reconnection S710 No the judgement unit 14 informs the detection unit 11 as such Then the detection unit 11 conducts the above described install process for giving the first acquisition unit 15 or the second acquisition unit 16 an instruction to acquire the control software for the reconnected device As for the uninstall process being conducted for the device that the detection unit 11 detects the disconnection at the step 5701 the process is continued Meanwhile in the case of recon nection S710 Yes the judgement unit 14 informs the detection unit 11 that installation is not necessary In addi tion if the uninstall process proceeds halfway the judge ment unit 14 gives the install unit 17 an instruction to conduct a process for restoring the information as described in the following steps 5712 and 5713 0098 the case of the elapsed time not shorter than a but shorter than B S711 aSt lt f the judgement unit 14 gives the install unit 17 a
Download Pdf Manuals
Related Search
Related Contents
Whirlpool DU9100XT Series User's Manual Gembird NPA-AC1-GS Samsung YP-Z5FAB/ELS دليل المستخدم 取扱説明書 / OPERATION MANUAL UniColor Pro User`s Manual Gas Ranges Use and Care Guide PDF - Sub a propos de l`origine et de l`age de l`ecriture libyco-berbere 澳門理工學院學科處理系統 - Computer Service Centre Sony VGN-P530H/G Marketing Specifications Manual English Volvo IPS System Copyright © All rights reserved.
Failed to retrieve file