CN100440146C - Computer working environment migration system, related device and method - Google Patents
Computer working environment migration system, related device and method Download PDFInfo
- Publication number
- CN100440146C CN100440146C CNB2004100346345A CN200410034634A CN100440146C CN 100440146 C CN100440146 C CN 100440146C CN B2004100346345 A CNB2004100346345 A CN B2004100346345A CN 200410034634 A CN200410034634 A CN 200410034634A CN 100440146 C CN100440146 C CN 100440146C
- Authority
- CN
- China
- Prior art keywords
- computer
- usb
- operating environment
- migration
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000013508 migration Methods 0.000 title claims abstract description 139
- 230000005012 migration Effects 0.000 title claims abstract description 139
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000015654 memory Effects 0.000 claims abstract description 34
- 230000006870 function Effects 0.000 claims description 39
- 230000003287 optical effect Effects 0.000 claims description 22
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000013507 mapping Methods 0.000 abstract 1
- 239000011800 void material Substances 0.000 description 12
- 239000000872 buffer Substances 0.000 description 8
- 238000009434 installation Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000003139 buffering effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 206010029412 Nightmare Diseases 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域 technical field
本发明有关一种电脑作业环境迁移系统、相关装置、方法,特别地有关于允许在两台电脑之间迁移作业环境的系统、相关装置、方法。The present invention relates to a computer operating environment migration system, related device and method, and particularly relates to a system, related device and method allowing migration of working environments between two computers.
背景技术 Background technique
传统个人电脑在使用者重新更换作业系统,或当使用者购买一套新的个人电脑,皆需要使用者花费冗长的时间,将其所想要的应用程序(applications)逐一安装,并且需要将一些设定内容或者是电子邮件的通讯录从旧系统经过特定程序拷贝至新安装的作业系统,或者,遇到不十分熟悉操作的使用者便索性将电子邮件地址于日后再慢慢地重新键入,使用者于转换作业系统之际,若没有完成相关设定与应用程序的安装,便面临陌生的作业环境,因此于已有技术中,重新安装或更换一套作业系统对于使用者而言,俨然是痛苦的梦靥与极为耗时费心的工作。When a user replaces the operating system of a traditional personal computer, or when a user purchases a new personal computer, it takes a long time for the user to install the desired applications (applications) one by one, and some The setting content or the email address book is copied from the old system to the newly installed operating system through a specific program, or, when encountering a user who is not very familiar with the operation, he simply retypes the email address slowly in the future, When the user changes the operating system, if he has not completed the installation of the relevant settings and application programs, he will face an unfamiliar operating environment. Therefore, in the prior art, reinstalling or replacing a set of operating systems is just like a waste of time for the user. It is a painful nightmare and extremely time-consuming and labor-intensive work.
通用串行总线(universal serial bus,简称USB)控制器从USB1.1演进到USB2.0,传输频宽已经从12Mbps提升到480Mbps,主要可以应用在随身光盘、读卡机、鼠标、键盘等,USB随插即用的便利性广为使用者所喜爱,目前个人电脑也都将其列为标准界面。The universal serial bus (USB) controller has evolved from USB1.1 to USB2.0, and the transmission bandwidth has been increased from 12Mbps to 480Mbps. It can be mainly used in portable CDs, card readers, mice, keyboards, etc. The convenience of USB plug-and-play is widely loved by users, and it is also listed as a standard interface for personal computers at present.
发明内容 Contents of the invention
本发明揭示一种电脑作业环境迁移方法,包含下列步骤:判断是否可识别USB装置的厂商号码以及产品号码;当所述电脑无法识别USB装置的一厂商号码以及一产品号码时,表示此电脑无法识别此USB装置控制器为USB桥接迁移装置,宣告一USB装置的第一功能为光盘驱动器;宣告该USB装置的第二功能为USB桥接迁移装置;根据第一功能而自动安装执行位于远端电脑中的驱动程序以及应用程序至本端电脑中;分析本端电脑的作业环境;以及藉由第二功能将本端电脑的作业环境迁移至远端电脑中;其中作业环境包括本端电脑中多个已经安装的应用程序、电子邮件的通讯录、浏览器中的我的喜爱数据及多封电子邮件。The invention discloses a computer operating environment migration method, which includes the following steps: judging whether the manufacturer number and product number of the USB device can be identified; when the computer cannot recognize a manufacturer number and a product number of the USB device, it means that the computer cannot Identify the USB device controller as a USB bridge migration device, declare the first function of a USB device as an optical drive; declare the second function of the USB device as a USB bridge migration device; automatically install and execute it on the remote computer according to the first function The drivers and applications in the computer are transferred to the local computer; the operating environment of the local computer is analyzed; and the operating environment of the local computer is transferred to the remote computer through the second function; the operating environment includes multiple installed applications, contacts for email, favorite data in the browser, and multiple emails.
本发明亦揭示一种电脑作业环境迁移方法,包含下列步骤:由第一电脑定期询问USB桥接迁移装置是否连接第二电脑;自动安装执行储存于第一电脑中的程序至第二电脑中,例如是应用程序及驱动程序;以及,将第一电脑的作业环境送出至第二电脑,或者,第一电脑获取第二电脑的作业环境。The present invention also discloses a computer operating environment migration method, which includes the following steps: the first computer regularly inquires whether the USB bridge migration device is connected to the second computer; automatically installs and executes the program stored in the first computer to the second computer, for example It is an application program and a driver program; and, the operating environment of the first computer is sent to the second computer, or the first computer acquires the operating environment of the second computer.
本发明进一步揭示一种USB桥接迁移装置,包含:第一USB连接器;第二USB连接器;第一USB控制器,耦接于第一USB连接器,内嵌有第一快闪存储器,其非挥发性储存第一固件程序,以运作第一USB控制器,所述第一固件程序是光盘驱动器程序;第二USB控制器,耦接于第一USB控制器及第二USB连接器,内嵌有第二快闪存储器,其非挥发性储存第二固件程序,以运作第二USB控制器,所述第二固件程序是桥接装置程序,传输电脑作业环境的数据,所述第一固件程序为该第二固件程序自动安装驱动程序及自动执行数据传送的应用程序;其中,USB桥接迁移装置可经由第一USB连接器及第二USB连接器分别耦接第一电脑及第二电脑,使得第二电脑可根据自动执行映像文件自动安装位于第一电脑中的驱动程序以及应用程序而运作USB桥接迁移装置,较佳地,第一固件程序与第二固件程序相同;而当应用程序成功地安装于第二电脑的后,应用程序可分析第二电脑的作业环境;而当于初始化USB桥接迁移装置的阶段中,USB桥接迁移装置可回报第二电脑,其为USB大容量储存类别的光盘驱动器,较佳地,内嵌的第二快闪存储器储存有目录表(table ofcontent,TOC)数据,包含光盘片的种类以及轨道的起始地址,使得USB桥接迁移装置可直接将第二快闪存储器中的TOC数据回报给第二电脑。The present invention further discloses a USB bridge migration device, comprising: a first USB connector; a second USB connector; a first USB controller, coupled to the first USB connector, embedded with a first flash memory, which The first firmware program is non-volatilely stored to operate the first USB controller, and the first firmware program is an optical disc drive program; the second USB controller is coupled to the first USB controller and the second USB connector, inside Embedded with a second flash memory, it non-volatilely stores a second firmware program to operate a second USB controller, the second firmware program is a bridge device program, and transmits data of a computer operating environment, and the first firmware program An application program for automatically installing a driver program and automatically executing data transfer for the second firmware program; wherein, the USB bridge migration device can be coupled to the first computer and the second computer through the first USB connector and the second USB connector, so that The second computer can automatically install the driver program and the application program located in the first computer according to the automatic execution image file to operate the USB bridge migration device. Preferably, the first firmware program is identical to the second firmware program; and when the application program successfully After being installed on the second computer, the application program can analyze the operating environment of the second computer; and when the USB bridge migration device is initialized, the USB bridge migration device can report to the second computer that it is a CD-ROM of the USB mass storage category The driver, preferably, the embedded second flash memory stores table of content (table of content, TOC) data, including the type of optical disc and the start address of the track, so that the USB bridge migration device can directly transfer the second flash The TOC data in the memory is reported to the second computer.
本发明还揭示一种作业环境迁移系统,包含:第一电脑;第二电脑;以及具有第一USB连接器及第二USB连接器的USB桥接迁移缆线,其包含:耦接于第一USB连接器的第一USB控制器,内嵌有第一快闪存储器,其非挥发性储存第一固件程序,以运作第一USB控制器,所述第一固件程序是光盘驱动器程序;以及耦接于第一USB控制器及第二USB连接器的第二USB控制器,内嵌有第二快闪存储器,其非挥发性储存第二固件程序,以运作第二USB控制器,所述第二固件程序是桥接装置程序,传输电脑作业环境的数据,所述第一固件程序为该第二固件程序自动安装驱动程序及自动执行数据传送的应用程序;其中,第一USB连接器及第二USB连接器分别耦接第一电脑及第二电脑,第二电脑可根据自动执行映像文件经由USB桥接迁移装置自动安装位于第一电脑中的驱动程序以及应用程序,使得第一电脑可经由USB桥接迁移装置取得第二电脑的作业环境,较佳地包含已经安装的应用程序、电子邮件的通讯录、以及浏览器中的我的喜爱数据。The present invention also discloses a working environment migration system, comprising: a first computer; a second computer; and a USB bridging migration cable having a first USB connector and a second USB connector, which includes: coupled to the first USB The first USB controller of the connector is embedded with a first flash memory, which non-volatilely stores a first firmware program to operate the first USB controller, and the first firmware program is an optical disc driver program; and coupled The first USB controller and the second USB controller of the second USB connector are embedded with a second flash memory, which non-volatile stores the second firmware program to operate the second USB controller, and the second The firmware program is a bridge device program, which transmits the data of the computer operating environment, and the first firmware program is an application program for automatically installing the driver program and automatically executing data transmission for the second firmware program; wherein, the first USB connector and the second USB The connectors are respectively coupled to the first computer and the second computer, and the second computer can automatically install the drivers and applications located in the first computer through the USB bridge migration device according to the automatic execution image file, so that the first computer can be migrated through the USB bridge The device obtains the operating environment of the second computer, preferably including installed applications, email address book, and favorite data in the browser.
本发明还揭示一种电脑可读取储存媒体,其记录有电脑可执行程序,电脑可读取储存媒体包含:定期询问装置,用以定期询问USB桥接迁移缆线是否连接远端电脑;传送装置,用以当定期询问装置确定USB桥接迁移缆线已经完成连接远端电脑时根据自动执行映像文件通过USB桥接迁移缆线传送数据至远端电脑,使得电脑安装驱动程序以及应用程序;迁移装置,用以二者择一地允许取得远端电脑的作业环境及允许传送另一作业环境给远端电脑;以及检测装置,用以检测远端电脑的作业系统的版本;其中应用程序可分析远端电脑的作业环境,使得通过USB桥接迁移缆线可取得远端电脑的作业环境。The present invention also discloses a computer-readable storage medium, which records computer-executable programs. The computer-readable storage medium includes: a regular inquiry device for regularly inquiring whether the USB bridge migration cable is connected to a remote computer; a transmission device , used to transmit data to the remote computer through the USB bridge migration cable according to the automatic execution image file when the regular inquiry device determines that the USB bridge migration cable has been connected to the remote computer, so that the computer installs the driver and the application program; the migration device, It is used to alternatively allow to obtain the operating environment of the remote computer and to allow another operating environment to be transmitted to the remote computer; and a detection device to detect the version of the operating system of the remote computer; wherein the application can analyze the remote computer The operating environment of the computer makes it possible to obtain the operating environment of the remote computer through the USB bridge migration cable.
本发明又揭示一种电脑作业环境迁移方法,包含:判断是否可识别USB装置的厂商号码以及产品号码;当所述电脑无法识别USB装置的一厂商号码以及一产品号码时,表示此电脑无法识别此USB装置控制器为USB桥接迁移装置,宣告USB装置的功能为光盘驱动器;根据该功能而自动安装执行储存于远端电脑中的驱动程序以及应用程序至本端电脑中;分析本端电脑的作业环境;以及利用特别设计的SCSI命令经由该功能的管道将本端电脑的作业环境迁移至远端电脑中。The present invention also discloses a computer operating environment migration method, including: judging whether the manufacturer number and product number of the USB device can be identified; when the computer cannot recognize a manufacturer number and a product number of the USB device, it means that the computer cannot recognize This USB device controller is a USB bridge migration device, which declares that the function of the USB device is an optical drive; according to this function, it automatically installs and executes the driver and application program stored in the remote computer to the local computer; analyzes the local computer. operating environment; and use specially designed SCSI commands to migrate the operating environment of the local computer to the remote computer through the pipeline of this function.
为进一步说明本发明的上述目的、结构特点和效果,以下将结合附图对本发明进行详细的描述。In order to further illustrate the above-mentioned purpose, structural features and effects of the present invention, the present invention will be described in detail below in conjunction with the accompanying drawings.
附图说明 Description of drawings
图1是显示根据本发明一具体实施例的USB桥接迁移缆线的示意图;1 is a schematic diagram showing a USB bridge migration cable according to an embodiment of the present invention;
图2是根据本发明的一具体实施例的电脑作业环境迁移方法流程图;Fig. 2 is a flow chart of a computer operating environment migration method according to a specific embodiment of the present invention;
图3是根据本发明的一具体实施例的电脑作业环境迁移方法流程图;以及Fig. 3 is a flowchart of a computer operating environment migration method according to a specific embodiment of the present invention; and
图4是相关于本发明的桥接迁移缆线的主程序运作流程图。FIG. 4 is a flow chart of the main program related to the bridging migration cable of the present invention.
具体实施方式 Detailed ways
图1显示根据本发明一具体实施例的USB桥接迁移缆线,USB桥接迁移缆线100用以连接两台个人电脑(未图示),本发明的USB桥接迁移缆线100包含USB桥接迁移装置110、USB连接缆线102、第一USB连接器104以及第二USB连接器106,较佳地,第一USB连接器104及第二USB连接器106皆为USB的A型插头(USB A-type plug connector),用以连接个人电脑端的USB的A型插槽(USB A-type receptacle connector),USB桥接迁移装置110包含第一USB装置控制器120藉由总线130耦接至第二USB装置控制器140,较佳地,第一USB装置控制器120与第二USB装置控制器140为硬件架构上基本相同的芯片,第一USB装置控制器120包含媒体存取控制电路122、内嵌式快闪存储器124以及USB实体层电路126,而第二USB装置控制器140包含媒体存取控制电路142、内嵌式快闪存储器144以及USB实体层电路146,内嵌式快闪存储器124(或144)是于晶片厂代工制造阶段,藉由半导体制作工序处理随同媒体存取控制电路122(或142)及USB实体层电路126(或146)一起制造于第一USB装置控制器120(或第二USB装置控制器140)中,内嵌式快闪存储器124及144的容量较小,举例而言,为32K(K=103)位元组大小,整个裸晶(die)的大小会稍微增大,但在成本上可以获得良好的控制。1 shows a USB bridge migration cable according to a specific embodiment of the present invention. The USB
虽然内嵌式快闪存储器124及144的容量小,不是很适合当作随身盘储存大量数据的用途。根据本发明的一具体实施例,假设第一USB连接器104用以连接第一台电脑(未图示),而第二USB连接器106第二台电脑(未图示),使用者欲将第二台电脑的作业环境或者部份环境转移至第一台电脑中,第一台电脑中的作业系统可以支援本发明的USB桥接迁移缆线100的运作,或者预先于第一台电脑中安装了搭配运作的应用程序及驱动程序,若是以作业系统支援本发明的USB桥接迁移缆线100的运作,此作业系统将为未来推出的新作业系统,举例而言,微软将于下一代推出的新作业系统「Longhorn」视窗作业系统,与本发明的USB桥接迁移缆线100搭配运作,以解决使用者繁琐设定与安装的困扰。Although the capacity of the embedded
于此具体实施例中,于本发明的USB桥接迁移缆线100出厂前,先于第一USB装置控制器120与第二USB装置控制器140内的内嵌式快闪存储器124以及内嵌式快闪存储器144分别非挥发式地储存对应运作的固件程序。首先,将第一台电脑(未图示)连接于第一USB连接器104,第一USB装置控制器120一开始会接收到个人电脑端USB插槽的PWR与GND两根信号线所供应的总线电源(bus power),第一USB装置控制器120于是将内嵌式快闪存储器124中的固件程序载入至媒体存取控制电路122内的随机存取存储器(未图示)中,使其与媒体存取控制电路122内的处理器(未图示,例如是8051的处理器)协同运作,并由个人电脑端发出重置(reset)命令并进行建立链结;于此具体实施例中,如先前的假设,第一台电脑可以支援本发明的USB桥接迁移缆线100的运作,例如安装了对应的应用程序或者是下一代的作业系统,第一USB装置控制器120回报其厂商号码(vendor ID,简称VID)以及产品号码(product ID,简称PID)给第一台电脑后,便可顺利运作USB桥接迁移缆线100,而需要克服的困难在第二USB装置控制器140与第二台电脑间的运作。In this specific embodiment, before the USB
第二USB装置控制器140在建立链结阶段,会将其组态回报给第二台电脑,较佳地,第二USB装置控制器140的内嵌式快闪存储器144所储存的固件程序告诉第二台电脑其逻辑单元数量(logic unit number,简称LUN)为1,而为多功能(multi-functions)的USB装置,第一种功能为光盘驱动器,第二种功能方为USB桥接迁移缆线100;第二USB装置控制器140回报给第二台电脑其为大容量储存装置类别(mass storage class)的光盘驱动器,使得第二台电脑将其视为光盘片,但实际上存储器空间可以在第一台电脑中,举例而言,硬盘或者随机存取存储器中,或者,亦可以藉由指定的文件,例如为二进位数据文件(binary datafile),例如可为img文件或者dat文件,由应用程序搭配该指定文件运作为光盘片数据,存取命令可以藉由第二USB装置控制器140中的固件,传递给第一USB装置控制器120的固件,最后交由前述的第一台电脑中的应用程序或者是作业系统进行解译,较佳地,第一台电脑中的应用程序或者是作业系统提供一段程序码,供第二台电脑执行运作对应的USB桥接迁移缆线100的应用程序及驱动程序,也储存有第二台电脑对第一台电脑看过来的光盘片可以识别的光盘片自动执行文件,举例而言,当文件名为autorun.inf的文件,此光盘片自动执行文件用以执行指定的程序码,致使第二台电脑运作第二种功能为USB桥接迁移缆线,以与第二USB装置控制器140的内嵌式快闪存储器144所储存的USB桥接迁移缆线100的固件程序协同运作。The second
前述的描述是为了解此实施例的运作,进一步探讨如下:本发明的USB桥接迁移缆线100是否有方向性,以及第一USB装置控制器120与第二USB装置控制器140的快闪存储器124与144中所储存的固件程序是否可以相同,以便利整个USB桥接迁移缆线100生产线的连续批量生产以及使用者的使用便利性;更进一步地,说明两者的固件程序可以相同,并使得USB桥接迁移缆线100没有使用方向性,基于以上实施例的应用环境,将第一USB连接器104连接第一台电脑后,第一USB装置控制器120会回报给第一台电脑有关USB桥接迁移缆线100的VID及PID,以及回报LUN为1及多功能,由于第一台电脑具有USB桥接迁移缆线100的应用程序或者是可支援USB桥接迁移缆线100的新作业系统,因此可以识别其VID及PID,以运作USB桥接迁移缆线100,而将第二USB连接器106连接第二USB装置控制器140后,同样的固件程序会回报给第二台电脑有关USB桥接迁移缆线100的VID、PID、LUN为1以及多功能,由于第二台电脑认不得USB桥接迁移缆线100的VID及PID,便会如前述实施例所叙述者,较佳地利用多功能,对第二台电脑而言,USB桥接迁移缆线100为光盘驱动器装置,以自动安装执行第一台电脑中的驱动程序及应用程序,使得第二台电脑正常地运作USB桥接迁移缆线100,较佳地,此应用程序接着会分析第二台电脑中的作业环境,包括所安装的各类应用程序、浏览器中的「我的喜爱(my favorite)」、电子邮件的通讯录、以及所有存在第二台电脑中的旧电子邮件等,并将此环境迁移(migrate)至第一台电脑中,或者可以允许使用者自由选择迁移部份作业环境至第一台电脑中。The foregoing description is to understand the operation of this embodiment, and further discussion is as follows: whether the USB
熟知本技术的人士根据前述揭示,当可做出各种可能的变化而不脱离本发明的精神范畴,举例而言,前述第二USB装置控制器140利用多功能使得第二台电脑自动安装执行第一台电脑中的驱动程序及应用程序,也可以将USB桥接迁移缆线100回报为单一功能,例如光盘驱动器,待完成自动执行程序后,再由第二USB装置控制器140发出重置命令,令其重新进行总线列举(busenumeration),使得第二台电脑可以识别其VID及PID而运作USB桥接迁移缆线100。Those who are familiar with the technology can make various possible changes without departing from the spirit of the present invention according to the aforementioned disclosure. For example, the aforementioned second
图2显示根据本发明的一具体实施例的电脑作业环境迁移方法流程图,于此方法流程图中欲将本端(local)电脑的作业环境转移至远端(remote)电脑中,此方法流程图中的远端电脑以及本端电脑可以分别参考图1的具体实施例中的第一台电脑及第二台电脑,亦即远端电脑中具有支援此流程运作的应用程序或者作业系统,其适合运作于前述的各USB装置控制器,自步骤200开始,进入步骤210,当开始供应USB总线直流电源后,便载入固件程序开始运作,当所连接的电脑可以识别USB装置控制器的VID以及PID时,前进至步骤215,成功地将USB装置控制器运作USB桥接迁移装置,否则前进至步骤220,表示此电脑并无法识别此USB装置控制器为USB桥接迁移装置;于步骤220,宣告第一功能为光盘驱动器,而第二功能为USB桥接迁移装置给所连接的电脑;于步骤230,本端电脑根据第一功能自动安装执行远端电脑中的驱动程序及应用程序,以运作第二功能为USB桥接迁移装置,举例而言,本端电脑根据第一功能将远端电脑中的一块硬盘区域或存储器映射为光盘片,或者,可以藉由指定的文件,例如为二进位数据文件(binary data file),例如可为img文件或者dat文件,由应用程序搭配该指定文件运作为光盘片数据,而此光盘片中储存有自动执行文件,例如文件名为autorun.inf的文件,以自动安装执行适当的程序码,致使本端电脑运作此USB装置控制器为USB桥接迁移装置;于步骤240,分析本端电脑的作业环境,举例而言,安装了那些应用软件、浏览器的「我的喜爱」的内容、及/或通讯录等;于步骤250,藉由USB桥接迁移装置以及分析结果,将本端电脑的作业环境迁移至远端电脑中;最后于步骤260结束此方法流程。FIG. 2 shows a flow chart of a computer operating environment migration method according to a specific embodiment of the present invention. In this method flow chart, it is desired to transfer the operating environment of the local (local) computer to a remote (remote) computer. The flow of the method The remote computer and the local computer in the figure can refer to the first computer and the second computer in the specific embodiment of FIG. It is suitable to operate on the above-mentioned USB device controllers. Start from
进一步说明图2中所述第一功能及第二功能,于USB中宣告为多功能需要硬件上的多个终端点(EndPoint)搭配,举例而言,图1中的各媒体存取控制器具有乒乓缓冲器以加速数据缓冲的效能,举例而言,乒乓缓冲器包含一对512位元组大小的缓冲器,当第一个512位元组缓冲器填满数据之后,将其往下一阶(stage)送数据,于此同时,可以利用另一个512位元组缓冲器进行接收数据以加速数据缓冲;于宣告使用多功能为包含第一功能及第二功能,硬件上应具有两对乒乓缓冲器,即两个不同的终端点,以分别对应两种不同功能的运作。To further illustrate the first function and the second function described in FIG. 2 , it is declared as multi-function in USB that multiple EndPoints (EndPoints) on the hardware are required to collocate. For example, each media access controller in FIG. 1 has Ping-pong buffers to speed up the performance of data buffering. For example, a ping-pong buffer consists of a pair of 512-byte buffers. When the first 512-byte buffer is filled with data, it is moved to the next level. (stage) to send data, at the same time, another 512-byte buffer can be used to receive data to speed up data buffering; in order to include the first function and the second function when declaring the use of multi-function, the hardware should have two pairs of ping-pong The buffer, that is, two different terminal points, respectively correspond to the operation of two different functions.
图3显示根据本发明的另一具体实施例的电脑作业环境迁移方法流程图,于此方法流程图中欲将本端电脑的作业环境迁移至远端电脑中,于此具体实施例中较佳地利用单一USB功能,相应参考图1的具体实施例中的USB桥接迁移缆线100,USB桥接迁移缆线100较佳地为对称的,亦即USB桥接迁移缆线100内的第一装置控制器120以及第二装置控制器140的硬件结构以及固件程序是相同的,应注意到,熟知本技术的人士,若将本发明的USB桥接迁移缆线100变更设计为具有方向性,或者利用外部开关决定其迁移方向等,皆不跳脱本发明的精神范畴。此具体实施例自步骤300开始,应注意到于USB桥接迁移缆线100运作之前,两边连接的电脑中至少一台已经安装完毕相关的驱动程序以及应用程序,或者已经由作业系统内建提供,进入步骤310,先尝试识别USB桥接迁移缆线100的VID以及PID;于步骤320,向所连接电脑宣告为光盘驱动器;于步骤330,在本端电脑不识得USB桥接迁移缆线100的VID以及PID的情况下,藉由步骤320所宣告的光盘驱动器,利用自动执行让远端电脑为本端电脑安装驱动程序及应用程序,举例而言,由于步骤320所宣告的光盘驱动器会让本端电脑看过去远端电脑为一台光盘驱动器,光盘光盘驱动器类别的USB装置支援自动执行,例如autorun.inf,因此本端电脑便会根据远端电脑所映射的光盘驱动器的自动执行文件(例如autorun.inf)的描述进行自动安装驱动程序及应用程序,安装完成驱动程序及应用程序使得本端电脑也可以完全支援接下来USB桥接迁移缆线100的运作,另一方面,远端电脑于一开始便识得USB桥接迁移缆线100的VID以及PID,因此,虽然USB桥接迁移缆线100向远端电脑宣告为光盘驱动器,但远端电脑可抑制自动执行映像文件的自动安装,或者允许较新版本的自动执行映像文件更新较旧版本,而不会发生错误状况,再一方面,若两端电脑在皆为新世代作业系统的支援下,则两边可根据作业系统安装的时间前后,决定USB桥接迁移缆线100的运作方向,一般而言,可预设为将较旧的作业系统环境迁移至较新作业系统中;于步骤340,分析本端电脑的作业环境,举例而言,包括但不限定于,所安装的各类应用程序、浏览器中的「我的喜爱」、电子邮件的通讯录、以及所有存在本端电脑中的旧电子邮件等;于步骤350,利用特别命令将本端电脑的作业环境,例如为特别设计的SCSI命令,藉由USB桥接迁移缆线100迁移至远端电脑中,或者,可以相应使用者的操作选择,选择性地将本端电脑的作业环境的一部分,藉由USB桥接迁移缆线100迁移至远端电脑中;然后于步骤360结束本方法流程。Fig. 3 shows a flow chart of a method for migrating a computer operating environment according to another embodiment of the present invention. In this method flow chart, it is desired to migrate the operating environment of the local computer to a remote computer, which is preferred in this embodiment Utilize single USB function effectively, referring to the USB
进一步说明图3的实施例,说明利用单一功能及特别命令也可以实施本发明,因此也可以减少硬件实施的复杂度以及成本,相应于前述说明,图1中的各媒体存取控制器仅需要一对512位元组大小的缓冲器以实施乒乓缓冲器,以实施此单一功能,而不需如图2中的多功能,需分别实施独立的硬件,以对应实施不同功能;举例而言,远端电脑一开始藉由识别VID以及PID便可识得USB桥接迁移缆线100,举例而言,可以由远端电脑定期地询问(polling)USB桥接迁移缆线100,而在本端电脑尚未准备好之前,由USB桥接迁移缆线100回复未准备(Not_Ready),直到本端电脑藉由ATAPI命令下达读取光盘片命令时,远端电脑才藉由定期询问获知,而搭配远端电脑内的应用程序与指定的二进位文件,模拟光盘片将数据回复给本端电脑。以下进一步提供虚拟程序码(pseudo code)实施例供参考说明,此段程序码较佳地是具体实施于下一代的电脑作业系统中,例如于微软下一代将推出的Longhorn视窗作业系统中:The embodiment of Fig. 3 is further described, illustrating that the present invention can also be implemented by using a single function and a special command, so the complexity and cost of hardware implementation can also be reduced. Corresponding to the foregoing description, each media access controller in Fig. 1 only needs A pair of buffers with a size of 512 bytes are used to implement a ping-pong buffer to implement this single function, instead of the multi-function as shown in Figure 2, separate hardware is required to implement different functions correspondingly; for example, The remote computer can recognize the USB bridging
main()main()
{{
//当USB桥接迁移缆线插接于Longhorn作业系统的电脑的USB端口上//When the USB bridge migration cable is plugged into the USB port of the computer with the Longhorn operating system
while(Connection()==0){ // 检查另一端电脑是否也连接while(Connection()==0){ // Check if the computer at the other end is also connected
sleep(1000); // 延迟约一秒sleep(1000); // Delay for about one second
} // 直至另一端电脑连接于USB桥接迁移缆线} // until the other end of the computer is connected to the USB bridge migration cable
SendAutorunImage(); // 送出autorun image至另一端SendAutorunImage(); // Send the autorun image to the other end
if(DoorClose()){ // 另一端是否也是Longhornif(DoorClose()){ // Whether the other end is also Longhorn
if(SourceSystem()){ // 确认是否为来源端if(SourceSystem()){ // Confirm whether it is the source
SendMigrationData(); // 将作业环境迁移至目的端(另一端)SendMigrationData(); // Migrate the job environment to the destination (the other end)
}else GetMigrationData(); // 获得作业环境}else GetMigrationData(); // Get the working environment
}else // 另一端是XP/2000/ME}else // The other end is XP/2000/ME
GetMigrationData(); // 从另一端获取作业环境GetMigrationData(); // Get the job environment from the other end
}}
int Connection(void)int Connection(void)
{{
SCSI_Connection() //Issue a SCSI command via USB storage class.SCSI_Connection() //Issue a SCSI command via USB storage class.
//Return 0 if the other side is not connected or does not issue read autorun imagecommand.//Return 0 if the other side is not connected or does not issue read autorun imagecommand.
//Return 1 if the other side is connected and issue read autorun image command.//Return 1 if the other side is connected and issue read autorun image command.
}}
void SendAutorunImage(void)void SendAutorunImage(void)
{{
SCSI_BulkOutAutorunImage()//Issue a SCSI command via USB storage class.SCSI_BulkOutAutorunImage()//Issue a SCSI command via USB storage class.
//Send autorun image to the other side via bulk out pipe.//Send autorun image to the other side via bulk out pipe.
//Some autorun information may be stored in firmware code flash.//Some autorun information may be stored in firmware code flash.
}}
void SendMigrationData(void)void SendMigrationData(void)
{{
SCSI_BulkOutMigrationData()//Issue a SCSI command via USB storage classSCSI_BulkOutMigrationData()//Issue a SCSI command via USB storage class
//Send migration data to the other side via bulk out//Send migration data to the other side via bulk out
pipepipe
}void GetMigrationData(void)}void GetMigrationData(void)
{{
SCSI_BulkInMigrationData()//Issue a SCSI command via USB storage classSCSI_BulkInMigrationData()//Issue a SCSI command via USB storage class
//Get migration data from the other side via bulk inpipe//Get migration data from the other side via bulk inpipe
}}
int DoorClose(void)int DoorClose(void)
{{
SCSI_DoorClose()//Issue a SCSI command via USB storage to detect CD-ROMSCSI_DoorClose()//Issue a SCSI command via USB storage to detect CD-ROM
//Return 0 if CD-ROM door opens(CD medium is not OK)//Return 0 if CD-ROM door opens(CD medium is not OK)
//Return 1 if CD-ROM door close(CD medium is OK)//Return 1 if CD-ROM door close(CD medium is OK)
}}
以上虚拟程序码实施例是参考图3的流程概念实施,欲将本端电脑的作业环境迁移至远端电脑,而将叙述重点集中于远端电脑上,其相关于桥接迁移缆线100的主程序运作流程如图4所示,于步骤400开始,假设远端电脑上安装有Longhorn作业系统(于此称为Longhorn电脑),此Longhorn作业系统中较佳地包含以上虚拟程序码,于本端电脑中较佳地是安装XP/2000/ME的作业系统,可参考步骤310,于Longhorn电脑识别到本发明的桥接迁移缆线的VID与PID,并进行总线列举(bus enumeration),而唤醒此段主程序main(),每隔约一秒钟便藉由子程序Connection()经由USB储存类别管道发出特别的SCSI命令,询问(polling)本发明的桥接迁移缆线的另一端是否已经连接,另一方面,本发明的桥接迁移缆线中的两个控制器则在另一端尚未连接或者尚未发出读取自动执行映像文件的情形下将值0返回(return),否则将值1返回,以检测是否连接于本端电脑,其如步骤410。The above embodiment of the virtual program code is implemented with reference to the flow concept of FIG. The program operation process is shown in Figure 4. It begins at
在Longhorn电脑确认本发明的桥接迁移缆线也连接于另一端电脑上完成总线列举,且本端电脑也发出ATAPI读取自动执行映像文件的命令,Longhorn电脑藉由子程序SendAutorunImage()将储存于硬盘中指定的二进位文件,例如映像文件或者数据文件等,藉由大量输出管道(bulk out pipe),输出至另一端电脑,以回应于该ATAPI读取自动执行映像文件的命令,其如步骤420;其中,自动执行映像文件的部份数据量可以非挥发性地储存于桥接迁移缆线内的快闪存储器内,较佳地,非挥发性地储存于桥接迁移缆线内USB控制器内的内嵌快闪存储器内,举例而言,可以将由USB控制器回复本身为大容量储存装置的光盘驱动器,以及接着主机端(host)会来询问的TOC(table of content)等信息储存于桥接迁移缆线内USB控制器内,以加速桥接迁移缆线的回应速度,其中TOC数据包含光盘片的种类以及轨道(track)的起始地址等信息。Confirm at Longhorn computer that the bridge migration cable of the present invention is also connected to the other end computer to complete bus enumeration, and this end computer also sends ATAPI to read the command of automatic execution image file, and Longhorn computer will be stored in hard disk by subroutine SendAutorunImage (). The specified binary file, such as image file or data file, etc., is output to the other end computer through a large number of output pipelines (bulk out pipe), in response to the command of the ATAPI reading automatic execution image file, which is as in
Longhorn电脑可藉由DoorClose()所传回的值判断另一端电脑是否也为Longhorn作业系统,因为只有安装新一代作业系统或者对应运作的应用程序的电脑,由于本身储存有指定的自动执行映像文件,才会允许回复其DoorClose()的状态设为1,代表有光盘片在里面,以供另一端下达读取自动执行映像文件的命令。The Longhorn computer can use the value returned by DoorClose() to determine whether the other computer is also a Longhorn operating system, because only computers with a new generation of operating systems or corresponding running applications are stored with a specified automatic execution image file. , the status of its DoorClose () will be allowed to reply and be set to 1, which means that there is a CD in it for the other end to issue an order to read the automatic execution image file.
若是两端都是Longhorn作业系统,SourceSystem()可以允许使用者藉由应用程序选择要当作来源或者目的地,或选择作业环境的迁移方式与迁移内容,其如步骤420,或者由作业系统的版本或安装日期,预设作业环境的迁移方向;GetMigrationData()则是向另一端索取作业环境,其如步骤440所示;而SendMigrationData(),允许Longhorn电脑将作业环境(或称迁移数据,migrationdata)送出,其如步骤450所示,最后于步骤460结束本方法流程。以上Longhorn电脑作业系统中的主程序最末段在藉由DoorClose()判断出另一端为旧作业系统的状况下,便可直接获取其作业环境。If both ends are Longhorn operating systems, SourceSystem () can allow the user to select as the source or destination through the application program, or select the migration method and migration content of the operating environment, which is as in
以上的描述是为便利本技术领域的人士对于本发明有更佳的了解,而非欲限制本发明,举例而言,判断DoorClose()以及SendAutorunImage()(传送自动执行映像文件),可以变化为检查作业系统或者应用程序版本,然后允许由较新的自动执行映像文件去更新较旧的自动执行映像文件,诸多可能变化仍应属于本发明的发明范畴。The above description is to facilitate those skilled in the art to have a better understanding of the present invention, and is not intended to limit the present invention. For example, the judgment of DoorClose () and SendAutorunImage () (transmitting the automatic execution image file) can be changed to Check the version of the operating system or application program, and then allow the newer automatic execution image file to update the older automatic execution image file. Many possible changes should still belong to the scope of the invention of the present invention.
相对于以上的Longhorn作业系统内的相关于本发明桥接迁移缆线运作的主程序,以下还举例桥接迁移缆线内对应运作的固件程序的具体实施例,以便利了解本发明的实施运作,但并不欲以此限制本发明:With respect to the main program related to the operation of the bridge migration cable of the present invention in the above Longhorn operating system, the specific embodiment of the firmware program corresponding to the operation in the bridge migration cable is also given below to facilitate understanding of the implementation and operation of the present invention, but It is not intended to limit the invention in this way:
int DoorClsA,DoorClsB;//Reset to 0 when bus reset or hardware reset occursint DoorClsA,DoorClsB; //Reset to 0 when bus reset or hardware reset occurs
int EnumA,EnumB; //Reset to 0 when bus reset or hardware reset occursint EnumA, EnumB; //Reset to 0 when bus reset or hardware reset occurs
//Set to 1 when enumeration completes//Set to 1 when enumeration completes
int ReadCmdA,ReadCmdB; // Reset to 0 when bus reset or hardware reset occursint ReadCmdA,ReadCmdB; // Reset to 0 when bus reset or hardware reset occurs
// Set to 1 when reading a CD-ROM image// Set to 1 when reading a CD-ROM image
int ConnectionA(void) //回应Longhorn所发出的SCSI_Connection()int ConnectionA(void) //Respond to the SCSI_Connection() sent by Longhorn
{{
if(DoorClsA==0)if(DoorClsA==0)
DoorClsB=1;DoorClsB=1;
if(EnumB==0)return 0; //检查另一端是否完成enumerationif(EnumB==0) return 0; //Check if the other end has completed enumeration
if(ReadCmdB==0)return 0;//检查另一端是否发出ATAPI读取自动执行映像文件命令if(ReadCmdB==0) return 0;//Check whether the other end sends ATAPI to read the automatic execution image file command
else return 1;else return 1;
}}
int ConnectionB(void) //回应Longhorn所发出的SCSI_Connection()int ConnectionB(void) //Response to SCSI_Connection() issued by Longhorn
{{
if(DoorClsB==0)if(DoorClsB==0)
DoorClsA=1;DoorClsA=1;
if(EnumA==0)return 0; //检查另一端是否完成enumerationif(EnumA==0) return 0; //Check if the other end has completed enumeration
if(ReadCmdA==0)return 0;//检查另一端是否发出ATAPI读取自动执行映像文件命令if(ReadCmdA==0) return 0;//Check whether the other end sends ATAPI to read the automatic execution image file command
else return 1;else return 1;
}}
int DoorCloseA(void) //回应Longhorn所发出的SCSI_DoorClose()int DoorCloseA(void) //Response to SCSI_DoorClose() issued by Longhorn
{{
return DoorClsA;return DoorClsA;
}}
int DoorCloseB(void) //回应Longhorn所发出的SCSI_DoorClose()int DoorCloseB(void) //Response to SCSI_DoorClose() issued by Longhorn
{{
return DoorClsB;return DoorClsB;
}}
以上说明Longhorn电脑所发出的特别的SCSI命令由固件适当地回应运作,举例而言,由Longhorn电脑发出的SCSI_Connection()命令,较佳地由固件检查另一端是否完成总线列举以及下达ATAPI读取自动执行映像文件命令,才回应完成连接,允许Longhorn电脑跳出定期询问,而送出自动执行映像文件。The above shows that special SCSI commands issued by the Longhorn computer are properly responded to by the firmware. For example, the SCSI_Connection() command issued by the Longhorn computer preferably has the firmware check whether the other end has completed the bus enumeration and issue the ATAPI read automatically. Execute the image file command before responding to complete the connection, allowing the Longhorn computer to jump out of regular inquiries and send out the image file for automatic execution.
以下亦举例Longhorn内自动执行映像文件实施例,以便利了解本发明的实施运作,但并不欲以此限制本发明:The following also give an example of the automatic execution image file embodiment in Longhorn, so as to facilitate understanding of the implementation and operation of the present invention, but do not intend to limit the present invention with this:
AutorunImageAutorunImage
main()main()
{{
if(OSVersion()==LONGHORN) //Only executed on XP/2000/MEexit(0);if(OSVersion()==LONGHORN) //Only executed on XP/2000/MEexit(0);
else SendMigrationData(); //Send migration data to the other sideelse SendMigrationData(); //Send migration data to the other side
}}
纵上所述,本发明揭示一种电脑作业环境迁移方法,包含下列步骤:判断是否可识别USB装置的厂商号码以及产品号码;宣告一USB装置的第一功能为光盘驱动器;宣告该USB装置的第二功能为USB桥接迁移装置;根据第一功能而自动安装执行位于远端电脑中的驱动程序以及应用程序至本端电脑中;分析本端电脑的作业环境;以及藉由第二功能将本端电脑的作业环境迁移至远端电脑中;其中作业环境包括本端电脑中多个已经安装的应用程序、电子邮件的通讯录、浏览器中的我的喜爱数据及多封电子邮件。In summary, the present invention discloses a computer operating environment migration method, comprising the following steps: judging whether the manufacturer number and product number of the USB device can be identified; declaring that the first function of a USB device is an optical disc drive; declaring the USB device's The second function is a USB bridge migration device; according to the first function, the driver program and application program located in the remote computer are automatically installed and executed in the local computer; the operating environment of the local computer is analyzed; The operating environment of the terminal computer is migrated to the remote computer; the operating environment includes multiple installed applications on the local computer, email address book, my favorite data in the browser, and multiple emails.
本发明还揭示一种电脑作业环境迁移方法,包含下列步骤:由第一电脑定期询问USB桥接迁移装置是否连接第二电脑;自动安装执行储存于第一电脑中的程序至第二电脑中,例如是应用程序及驱动程序;以及,将第一电脑的作业环境送出至第二电脑,或者,第一电脑获取第二电脑的作业环境。The present invention also discloses a computer operating environment migration method, which includes the following steps: the first computer regularly inquires whether the USB bridge migration device is connected to the second computer; automatically installs and executes the program stored in the first computer to the second computer, for example It is an application program and a driver program; and, the operating environment of the first computer is sent to the second computer, or the first computer acquires the operating environment of the second computer.
本发明进一步揭示一种USB桥接迁移装置,包含:第一USB连接器;第二USB连接器;第一USB控制器,耦接于第一USB连接器,内嵌有第一快闪存储器,其非挥发性储存第一固件程序,以运作第一USB控制器;第二USB控制器,耦接于第一USB控制器及第二USB连接器,内嵌有第二快闪存储器,其非挥发性储存第二固件程序,以运作第二USB控制器;其中,USB桥接迁移装置可经由第一USB连接器及第二USB连接器分别耦接第一电脑及第二电脑,使得第二电脑可根据自动执行映像文件自动安装位于第一电脑中的驱动程序以及应用程序而运作USB桥接迁移装置,较佳地,第一固件程序与第二固件程序是相同的;而当应用程序成功地安装于第二电脑后,应用程序可分析第二电脑的作业环境;而当于初始化USB桥接迁移装置的阶段中,USB桥接迁移装置可回报第二电脑其为USB大容量储存类别的光盘驱动器,较佳地,内嵌的第二快闪存储器储存有TOC数据,包含光盘片的种类以及轨道的起始地址,使得USB桥接迁移装置可直接将第二快闪存储器中的TOC数据回报给第二电脑。The present invention further discloses a USB bridge migration device, comprising: a first USB connector; a second USB connector; a first USB controller, coupled to the first USB connector, embedded with a first flash memory, which The first firmware program is non-volatilely stored to operate the first USB controller; the second USB controller is coupled to the first USB controller and the second USB connector, and has a second flash memory embedded in it, which is non-volatile permanently store the second firmware program to operate the second USB controller; wherein, the USB bridge migration device can be coupled to the first computer and the second computer through the first USB connector and the second USB connector, so that the second computer can According to the automatic execution image file, the driver program and the application program in the first computer are automatically installed to operate the USB bridge migration device. Preferably, the first firmware program is the same as the second firmware program; and when the application program is successfully installed in After the second computer, the application program can analyze the operating environment of the second computer; and when initializing the USB bridge migration device, the USB bridge migration device can report that the second computer is an optical disc drive of the USB mass storage category, preferably Specifically, the embedded second flash memory stores TOC data, including the type of the optical disc and the start address of the track, so that the USB bridge migration device can directly report the TOC data in the second flash memory to the second computer.
本发明还揭示一种作业环境迁移系统,包含:第一电脑;第二电脑;以及具有第一USB连接器及第二USB连接器的USB桥接迁移缆线,其包含:耦接于第一USB连接器的第一USB控制器,内嵌有第一快闪存储器,其非挥发性储存第一固件程序,以运作第一USB控制器;以及耦接于第一USB控制器及第二USB连接器的第二USB控制器,内嵌有第二快闪存储器,其非挥发性储存第二固件程序,以运作第二USB控制器;其中,第一USB连接器及第二USB连接器分别耦接第一电脑及第二电脑,第二电脑可根据自动执行映像文件经由USB桥接迁移装置自动安装位于第一电脑中的驱动程序以及应用程序,使得第一电脑可经由USB桥接迁移装置取得第二电脑的作业环境,较佳地包含已经安装的应用程序、电子邮件的通讯录、以及浏览器中的我的喜爱数据。The present invention also discloses a working environment migration system, comprising: a first computer; a second computer; and a USB bridging migration cable having a first USB connector and a second USB connector, which includes: coupled to the first USB The first USB controller of the connector is embedded with a first flash memory, which non-volatile stores the first firmware program to operate the first USB controller; and is coupled to the first USB controller and the second USB connection The second USB controller of the device is embedded with a second flash memory, which non-volatilely stores the second firmware program to operate the second USB controller; wherein, the first USB connector and the second USB connector are respectively coupled Connect the first computer and the second computer, and the second computer can automatically install the drivers and applications located in the first computer through the USB bridge migration device according to the automatic execution image file, so that the first computer can obtain the second computer through the USB bridge migration device. The operating environment of the computer preferably includes installed applications, email address book, and favorite data in the browser.
本发明又揭示一种电脑可读取储存媒体,其记录有电脑可执行程序,电脑可读取储存媒体包含:定期询问装置,用以定期询问USB桥接迁移缆线是否连接远端电脑;传送装置,用以当定期询问装置确定USB桥接迁移缆线已经完成连接远端电脑的时根据自动执行映像文件通过USB桥接迁移缆线传送数据至远端电脑,使得电脑安装驱动程序以及应用程序;迁移装置,用以二者择一地允许取得远端电脑的作业环境及允许传送另一作业环境给远端电脑;以及检测装置,用以检测远端电脑的作业系统的版本;其中应用程序可分析远端电脑的作业环境,使得通过USB桥接迁移缆线可取得远端电脑的作业环境。The present invention also discloses a computer-readable storage medium, which is recorded with computer-executable programs. The computer-readable storage medium includes: a regular inquiry device for regularly inquiring whether the USB bridge migration cable is connected to a remote computer; a transmission device , when the device is regularly inquired to determine that the USB bridge migration cable has been connected to the remote computer, the data is transmitted to the remote computer through the USB bridge migration cable according to the automatic execution image file, so that the computer installs the driver program and the application program; the migration device , used to alternatively allow to obtain the operating environment of the remote computer and allow another operating environment to be transmitted to the remote computer; and a detection device, used to detect the version of the operating system of the remote computer; wherein the application program can analyze the operating environment of the remote computer. The operating environment of the end computer, so that the operating environment of the remote computer can be obtained through the USB bridge migration cable.
本发明还揭示一种电脑作业环境迁移方法,包含:判断是否可识别USB装置的厂商号码以及产品号码;宣告USB装置的功能为光盘驱动器;根据该功能而自动安装执行储存于远端电脑中的驱动程序以及应用程序至本端电脑中;分析本端电脑的作业环境;以及利用特别设计的SCSI命令经由该功能的管道将本端电脑的作业环境迁移至远端电脑中。The present invention also discloses a computer operating environment migration method, including: judging whether the manufacturer number and product number of the USB device can be identified; declaring that the function of the USB device is a CD drive; automatically installing and executing the file stored in the remote computer according to the function The driver and the application program are transferred to the local computer; the operating environment of the local computer is analyzed; and the operating environment of the local computer is migrated to the remote computer through the channel of this function by using specially designed SCSI commands.
虽然本发明已参照当前的具体实施例来描述,但是本技术领域中的普通技术人员应当认识到,以上的实施例仅是用来说明本发明,在没有脱离本发明精神的情况下还可作出各种等效的变化或替换,因此,只要在本发明的实质精神范围内对上述实施例的变化、变型都将落在本申请的权利要求书的范围内。Although the present invention has been described with reference to the current specific embodiments, those of ordinary skill in the art should recognize that the above embodiments are only used to illustrate the present invention, and other modifications can be made without departing from the spirit of the present invention. Various equivalent changes or substitutions, therefore, as long as the changes and modifications to the above embodiments are within the spirit of the present invention, they will all fall within the scope of the claims of the present application.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100346345A CN100440146C (en) | 2004-04-13 | 2004-04-13 | Computer working environment migration system, related device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100346345A CN100440146C (en) | 2004-04-13 | 2004-04-13 | Computer working environment migration system, related device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1684037A CN1684037A (en) | 2005-10-19 |
CN100440146C true CN100440146C (en) | 2008-12-03 |
Family
ID=35263396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100346345A Expired - Fee Related CN100440146C (en) | 2004-04-13 | 2004-04-13 | Computer working environment migration system, related device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100440146C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100498709C (en) * | 2006-04-25 | 2009-06-10 | 扬智科技股份有限公司 | System Installation Architecture |
CN108683717B (en) * | 2018-04-26 | 2021-11-09 | 宝牧科技(天津)有限公司 | Data dump downloading method without occupying local disk space |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1438528A (en) * | 1996-10-29 | 2003-08-27 | 日本电气株式会社 | Active-matrix liquid-crystal displaying screen |
-
2004
- 2004-04-13 CN CNB2004100346345A patent/CN100440146C/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1438528A (en) * | 1996-10-29 | 2003-08-27 | 日本电气株式会社 | Active-matrix liquid-crystal displaying screen |
Also Published As
Publication number | Publication date |
---|---|
CN1684037A (en) | 2005-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5140100B2 (en) | Multifunctional semiconductor memory device | |
KR100450080B1 (en) | Portable storage medium based on Universal Serial Bus standard and Control Method therefor | |
CN100458699C (en) | Method and system for updating fastener | |
KR100781926B1 (en) | Computer system and control method of the same | |
US8266611B2 (en) | Hard disk drive with disk embedded DOS boot image and firmware download method | |
US20050223145A1 (en) | System, apparatus and method for migrating computer environment and associated computer readable recording medium | |
US7613862B2 (en) | Embedded driver for bus-connected device | |
US20090006831A1 (en) | Methods and apparatuses for configuring add-on hardware to a computing platform | |
JP2008532161A (en) | Driver installation | |
US20050066129A1 (en) | Portable data storage device allowing dynamic setting of disk type and the method of dynamically setting disk type thereof | |
CN108132899A (en) | A kind of transmission mode configuration method, apparatus and system | |
CN102736861B (en) | Memory configuration method, memory controller and memory storage device | |
CN100440146C (en) | Computer working environment migration system, related device and method | |
US20080301358A1 (en) | Electronic device that Downloads Operational Firmware from an External Host | |
JP4663577B2 (en) | Data storage device and initialization method thereof | |
CN102023873B (en) | Application program execution method and system, storage media controller and storage device | |
CN101114230A (en) | Method for reading and selecting ROM program code from storage device | |
TWI390399B (en) | External device having a virtual storage device | |
CN101944034B (en) | File Execution Method and System | |
CN102236608B (en) | Data access method and system, storage medium controller and storage system | |
CN101154144B (en) | Peripheral device, peripheral-device recognizing method, and computer product | |
CN101782873B (en) | External storage device with built-in security function | |
CN100385396C (en) | Plug-and-play device and method for automatically installing driving program | |
CN102339226B (en) | Application program execution method, system and external storage device | |
JP4856584B2 (en) | External drive system, external drive operation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081203 |