CN113114784B - Multifunctional computer data storage and migration device and method - Google Patents
Multifunctional computer data storage and migration device and method Download PDFInfo
- Publication number
- CN113114784B CN113114784B CN202110476271.4A CN202110476271A CN113114784B CN 113114784 B CN113114784 B CN 113114784B CN 202110476271 A CN202110476271 A CN 202110476271A CN 113114784 B CN113114784 B CN 113114784B
- Authority
- CN
- China
- Prior art keywords
- migration
- computer
- data
- usb
- mode
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种多功能计算机数据存储及迁移装置和方法,该装置的数据迁移电路和多档位切换开关集成在NAS主板上,两个USB母口及USB分线器、存储器A和B、第一和二以太网卡组成数据迁移电路用于数据迁移;第一USB母口、第一USB分线器、第三和第四以太网卡、NAS主板组成存储电路用于数据迁移中的备份;两个无线迁移卡用于无线数据迁移;该方法是先将多档位切换开关置于USB迁移器、NAS+USB迁移器和NAS+无线迁移器档位中的任一档,将两台计算机与数据迁移装置连接,经过迁移程序配对,确定计算机的工作模式,再开始数据迁移和备份,完成后对数据验证及报表导出。本发明结构简单,兼具NAS功能和数据迁移器功能。
The invention discloses a multifunctional computer data storage and migration device and method. The data migration circuit and multi-position switching switch of the device are integrated on the NAS mainboard. Two USB female ports, a USB splitter, memories A and B , the first and second Ethernet cards form a data migration circuit for data migration; the first USB female port, the first USB splitter, the third and fourth Ethernet cards, and the NAS motherboard form a storage circuit for backup during data migration; Two wireless migration cards are used for wireless data migration; the method is to first set the multi-position switch to any of the USB migrator, NAS+USB migrator and NAS+wireless migrator positions, and then connect the two computers to The data migration device is connected, paired with the migration program, and the working mode of the computer is determined. Then the data migration and backup are started. After completion, the data is verified and the report is exported. The invention has a simple structure and has both NAS function and data migration function.
Description
技术领域Technical field
本发明涉及计算机技术领域,具体涉及一种多功能计算机数据存储及迁移装置和方法。The invention relates to the field of computer technology, and in particular to a multifunctional computer data storage and migration device and method.
背景技术Background technique
现如今计算机产业发展迅猛,计算机设备基本上已经覆盖到了人们日常生活和办公的方方面面,电脑技术日新月异,CPU和操作系统分出了多种不同的技术路线,新老设备的更替也越来越频繁。人们在电脑上存储的数据量越来越大,在每一次设备更替的过程中,我们都需要将旧设备上的大量数据文件迁移到新设备上,大数据量的迁移问题亟需解决,其中跨不同CPU架构、不同操作系统之间的数据迁移现象也越来越多,不同操作系统的文件系统格式也不相同,这给数据迁移过程也造成了较大困扰。Nowadays, the computer industry is developing rapidly. Computer equipment has basically covered every aspect of people's daily life and office work. Computer technology is changing with each passing day. CPUs and operating systems have developed a variety of different technical routes, and new and old equipment are replaced more and more frequently. . The amount of data people store on their computers is increasing. During every device replacement, we need to migrate a large number of data files on the old device to the new device. The problem of large data migration needs to be solved urgently. Among them There are more and more data migrations across different CPU architectures and different operating systems. The file system formats of different operating systems are also different, which also causes great troubles in the data migration process.
目前最常用的数据迁移方法是将旧设备的数据人为拷贝到U盘或移动硬盘,然后再将数据通过U盘或移动硬盘拷贝到新设备,在这个过程中需要人为地进行多次文件的挪动操作,整个过程极易出现文件漏拷和重复拷贝的情况,而且在拷贝过程中还有可能出现文件损坏的情况,在文件量比较大的情况下极难排查出受损文件,在拷贝完成后还需要针对不同操作系统手动进行文件整理,流程复杂耗时且迁移效果不太理想。Currently, the most commonly used data migration method is to manually copy the data from the old device to a USB flash drive or mobile hard drive, and then copy the data to the new device via the USB flash drive or mobile hard drive. In this process, multiple file moves are required. Operation, the whole process is prone to file leakage and repeated copying, and file damage may also occur during the copying process. When the file volume is relatively large, it is extremely difficult to detect damaged files. After the copy is completed, It is also necessary to manually organize files for different operating systems, which is a complex and time-consuming process and the migration effect is not ideal.
发明内容Contents of the invention
为了克服以上问题,本发明的目的在于提供一种多功能计算机数据存储及迁移装置和方法。该装置兼具数据存储与迁移功能,它可以提供多种工作模式,既可以当做类似NAS一样给用户提供私有云服务,也可以当作文件迁移装置用户提供文件迁移服务,应用它,人们可以在享受NAS带来的便利的同时稳定便捷地完成两台计算机之间的数据或文件的迁移。In order to overcome the above problems, the object of the present invention is to provide a multifunctional computer data storage and migration device and method. This device has both data storage and migration functions. It can provide multiple working modes. It can be used as a NAS to provide users with private cloud services, or as a file migration device to provide users with file migration services. Using it, people can Enjoy the convenience brought by NAS while migrating data or files between two computers stably and conveniently.
为实现上述目的,本发明采用了以下技术方案:In order to achieve the above objects, the present invention adopts the following technical solutions:
一种多功能计算机数据存储及迁移装置和方法,包括壳体、数据迁移电路、NAS主板、多档位模式切换开关、无线迁移卡和USB延长线,所述数据迁移电路和多档位切换开关集成在NAS主板上,NAS主板设置在壳体内;所述数据迁移电路包括第一USB母头、第一USB分线器、用于存储源计算机启动系统和迁移程序的存储器A、第一以太网卡、第二以太网卡、第三以太网卡、用于存储目标计算机启动系统和迁移程序的存储器B、第二USB分线器和第二USB母头,所述第一USB分线器的USB接头连接第一USB母头,存储器A、第一以太网卡及第三以太网卡连接在第一USB分线器上,所述第二USB分线器的USB接头连接第二USB母头,第二以太网卡和存储器B连接在第二USB分线器上,所述第一以太网卡与第二以太网卡通过网线直连;所述NAS主板上设有硬盘接口、第四以太网卡、第五以太网卡、无线网卡,所述硬盘接口与第一USB分线器连接,所述第四以太网卡与第三以太网卡通过网线直连,用于源计算机和目标计算机之间的数据迁移过程中源计算机向NAS主板同步备份迁移数据;所述无线网卡用于建立无线热点,开启无线路由功能;第五以太网卡与设置在壳体上的以太网口连接;所述多档位模式切换开关通过延长线设置在壳体上,通过选择多档位模式切换开关的不同档位,以控制第一以太网卡与第二以太网卡的数据通讯状态,第三以太网卡与第四以太网卡的数据通讯状态,硬盘接口与第一USB分线器的数据通讯状态;所述第一USB母头和第二USB母头通过延长线设置在壳体上;A multifunctional computer data storage and migration device and method, including a casing, a data migration circuit, a NAS motherboard, a multi-position mode switch, a wireless migration card and a USB extension cable, the data migration circuit and the multi-position switch Integrated on the NAS motherboard, the NAS motherboard is set in the casing; the data migration circuit includes a first USB female head, a first USB splitter, a memory A used to store the source computer startup system and migration program, and a first Ethernet card , the second Ethernet card, the third Ethernet card, the memory B used to store the target computer startup system and migration program, the second USB splitter and the second USB female head, the USB connector of the first USB splitter is connected The first USB female head, memory A, the first Ethernet card and the third Ethernet card are connected to the first USB splitter. The USB connector of the second USB splitter is connected to the second USB female head and the second Ethernet card. and memory B are connected to the second USB splitter, the first Ethernet card and the second Ethernet card are directly connected through a network cable; the NAS mainboard is provided with a hard disk interface, a fourth Ethernet card, a fifth Ethernet card, a wireless Network card, the hard disk interface is connected to the first USB splitter, the fourth Ethernet card and the third Ethernet card are directly connected through a network cable, and are used for data migration between the source computer and the target computer from the source computer to the NAS motherboard. Synchronously back up migration data; the wireless network card is used to establish a wireless hotspot and enable the wireless routing function; the fifth Ethernet card is connected to the Ethernet port provided on the casing; the multi-position mode switch is set on the casing through an extension cord On the body, by selecting different gears of the multi-position mode switch, the data communication status of the first Ethernet card and the second Ethernet card, the data communication status of the third Ethernet card and the fourth Ethernet card, and the hard disk interface and the third Ethernet card are controlled. The data communication status of a USB splitter; the first USB female head and the second USB female head are arranged on the housing through an extension cord;
所述无线迁移卡包括源计算机端和目标计算机端无线迁移卡,所述源计算机端和目标计算机端无线迁移卡通过连接NAS主板上无线网卡建立的无线热点使源计算机端和目标计算机端可以进行无线网络通信,在无线方式下进行源计算机与目标计算机之间的数据迁移;The wireless migration card includes a source computer side and a target computer side wireless migration card. The source computer side and the target computer side wireless migration card connect the wireless hotspots established by the wireless network card on the NAS motherboard so that the source computer side and the target computer side can perform operations. Wireless network communication, performing data migration between the source computer and the target computer in a wireless manner;
所述USB延长线为两个,一个与第一USB母头连接,另一个与第二USB母头连接。There are two USB extension cables, one is connected to the first USB female connector, and the other is connected to the second USB female connector.
进一步地,所述源计算机端无线迁移卡包括卡壳C,所述卡壳C内设有USB分线器C、用于存储源计算机启动系统和迁移程序的存储器C、无线网卡C及延伸至卡壳C外的USB公头C,所述USB分线器C的USB接头连接USB公头C,存储器C和无线网卡C连接在USB分线器C上;所述目标计算机端无线迁移卡包括卡壳D,所述卡壳D内设有USB分线器D、用于存储目标计算机启动系统和迁移程序的存储器D、无线网卡D及延伸至卡壳D外的USB公头D,所述USB分线器D的USB接头连接USB公头D,存储器D和无线网卡D连接在USB分线器D上。Further, the wireless migration card on the source computer side includes a card case C. The card case C is equipped with a USB splitter C, a memory C for storing the source computer startup system and migration program, a wireless network card C and a card extending to the card case C. The external USB male connector C, the USB connector of the USB splitter C is connected to the USB male connector C, the memory C and the wireless network card C are connected to the USB splitter C; the target computer wireless migration card includes a card case D, The card case D is provided with a USB splitter D, a memory D for storing the target computer startup system and migration program, a wireless network card D, and a USB male plug D extending outside the card case D. The USB splitter D The USB connector is connected to the USB male connector D, and the memory D and wireless network card D are connected to the USB splitter D.
再进一步地,所述多档位模式切换开关设有五个档位,分别为USB迁移器档位、外置硬盘盒档位、NAS档位、NAS+USB迁移器档位和NAS+无线迁移器档位,并对应于多功能计算机数据存储及迁移装置的不同工作模式。Furthermore, the multi-position mode switch is provided with five positions, namely USB migrator position, external hard disk box position, NAS position, NAS+USB migrator position and NAS+wireless migrator. gears, and correspond to different working modes of the multifunctional computer data storage and migration device.
更进一步地,当所述多档位模式切换开关位于USB迁移器档位时,所述NAS主板处于断电状态,所述数据迁移电路处于连通状态,所述多功能计算机数据存储及迁移装置仅用于数据迁移,其工作模式为USB迁移器模式。Furthermore, when the multi-position mode switch is in the USB migrator position, the NAS motherboard is in a power-off state, the data migration circuit is in a connected state, and the multi-function computer data storage and migration device only Used for data migration, its working mode is USB migrator mode.
更进一步地,当所述多档位模式切换开关位于外置硬盘盒档位时,所述第二USB母头和第二USB分线器的电路处于不连通状态,即数据迁移电路处于不连通状态,第三以太网卡与第四以太网卡处于不连通状态,第一USB分线器仅与NAS主板上的硬盘接口处于连通状态,所述多功能计算机数据存储及迁移装置工作模式为USB硬盘盒模式。Furthermore, when the multi-position mode switch is in the external hard disk box position, the circuits of the second USB female connector and the second USB splitter are in a disconnected state, that is, the data migration circuit is in a disconnected state. status, the third Ethernet card and the fourth Ethernet card are in a disconnected state, the first USB splitter is only in a connected state with the hard disk interface on the NAS motherboard, and the working mode of the multifunctional computer data storage and migration device is a USB hard disk box model.
更进一步地,当所述多档位模式切换开关位于NAS档位时,所述NAS主板处于通电状态,所述第一USB母头和第一USB分线器的电路处于不连通状态,第二USB母头和第二USB分线器的电路处于不连通状态状态,即数据迁移电路处于不连通状态,第三以太网卡与第四以太网卡处于不连通状态,NAS主板上设置的无线网卡、硬盘接口、第四以太网卡、第五以太网口处于开启状态,所述NAS主板和运行在其上的NAS操作系统提供NAS服务,所述多功能计算机数据存储及迁移装置的工作模式为NAS模式。Furthermore, when the multi-position mode switch is in the NAS position, the NAS motherboard is in a power-on state, the circuits of the first USB female connector and the first USB splitter are in a disconnected state, and the second The circuits of the USB female head and the second USB splitter are in a disconnected state, that is, the data migration circuit is in a disconnected state, the third Ethernet card and the fourth Ethernet card are in a disconnected state, and the wireless network card and hard disk set on the NAS motherboard are in a disconnected state. The interface, the fourth Ethernet card, and the fifth Ethernet port are in an open state. The NAS motherboard and the NAS operating system running on it provide NAS services. The working mode of the multifunctional computer data storage and migration device is the NAS mode.
更进一步地,当所述多档位模式切换开关位于NAS+USB迁移器档位时,所述NAS主板处于通电状态,硬盘接口与第一USB分线器之间的电路处于不连通状态,所述第三以太网卡和第四以太网口处于连通状态,所述数据迁移电路处于连通状态,用于在有线方式下进行源计算机与目标计算机之间的数据迁移;所述NAS主板和运行在其上的NAS操作系统提供NAS服务,在数据迁移的过程中,通过第三以太网卡和第四以太网卡建立的有线连接完成数据迁移过程中向NAS主板同步备份被迁移的数据;所述多功能计算机数据存储及迁移装置工作模式为NAS+USB迁移器模式。Furthermore, when the multi-position mode switch is in the NAS+USB migrator position, the NAS mainboard is in a power-on state, and the circuit between the hard disk interface and the first USB splitter is in a disconnected state, so The third Ethernet card and the fourth Ethernet port are in a connected state, and the data migration circuit is in a connected state for performing data migration between the source computer and the target computer in a wired manner; the NAS motherboard and the computer running on it The NAS operating system on the computer provides NAS services. During the data migration process, the migrated data is synchronized and backed up to the NAS motherboard through the wired connection established by the third Ethernet card and the fourth Ethernet card; the multi-function computer The working mode of the data storage and migration device is NAS+USB migrator mode.
更进一步地,当所述多档位模式切换开关位于NAS+无线迁移器档位,且使用源计算机端无线迁移卡和目标计算机端无线迁移卡时,所述NAS主板处于通电状态,所述数据迁移电路处于不连通状态,第三以太网卡与第四以太网卡处于不连通状态,所述NAS主板和其上运行的NAS操作系统提供NAS服务;此时所述NAS主板上的无线网卡用于开启无线热点,提供无线路由功能,使源计算机端和目标计算机端无线迁移卡内的无线网卡C、无线网卡D连接至NAS主板上无线网卡开启的无线热点,源计算机端和目标计算机端可以进行无线通信,在无线方式下进行源计算机与目标计算机之间的数据迁移,同时将迁移过程中的数据通过无线通信备份至NAS主板;所述多功能计算机数据存储及迁移装置工作模式为NAS+无线迁移器模式。Furthermore, when the multi-position mode switch is in the NAS+wireless migrator position, and the source computer side wireless migration card and the target computer side wireless migration card are used, the NAS motherboard is in a power-on state, and the data migration The circuit is in a disconnected state, the third Ethernet card and the fourth Ethernet card are in a disconnected state, and the NAS motherboard and the NAS operating system running on it provide NAS services; at this time, the wireless network card on the NAS motherboard is used to turn on the wireless The hotspot provides a wireless routing function, allowing the wireless network card C and wireless network card D in the wireless migration card on the source computer and the target computer to connect to the wireless hotspot turned on by the wireless network card on the NAS motherboard. The source computer and the target computer can communicate wirelessly. , perform data migration between the source computer and the target computer in a wireless manner, and at the same time back up the data during the migration process to the NAS motherboard through wireless communication; the working mode of the multifunctional computer data storage and migration device is NAS+wireless migrator mode .
更进一步地,所述两个USB延长线均为双公头线,与第一USB母头、第二USB母头的连接方式为自由插拔式连接;在所述壳体的第一USB母头、第二USB母头处设有标识,分别用于标识连接源计算机或目标计算机;所述源计算机端无线迁移卡上设有标识,用于标识连接源计算机,所述目标计算机端无线迁移卡上设有标识,用于标识连接目标计算机。Furthermore, the two USB extension cables are both double male cables, and the connection mode with the first USB female cable and the second USB female cable is a free plug-in connection; the first USB female cable on the housing is The first and second USB female headers are provided with logos, which are used to identify the connection source computer or the target computer respectively; the source computer side wireless migration card is provided with logos, used to identify the connection source computer, and the target computer side wireless migration card There is a logo on the card to identify the target computer.
更进一步地,所述USB分线器C、存储器C、无线网卡C和USB公头C采用集成电路技术集成在1#PCB板上,设置在卡壳C内,并使USB公头C延伸至卡壳C外;所述USB分线器D、存储器D、无线网卡D和USB公头D采用集成电路技术集成在2#PCB板上,设置在卡壳D内,并使USB公头D延伸至卡壳D外。Furthermore, the USB splitter C, memory C, wireless network card C and USB male connector C are integrated on the 1# PCB board using integrated circuit technology, and are arranged in the card case C, with the USB male connector C extending to the card case. In addition to C; the USB splitter D, memory D, wireless network card D and USB male head D are integrated on the 2# PCB board using integrated circuit technology, and are arranged in the card case D, with the USB male head D extending to the card case D. outside.
本发明中所述的源计算机是指数据迁出的计算机,所述目标计算机是指接收数据的计算机。The source computer mentioned in the present invention refers to the computer from which data is migrated, and the target computer refers to the computer that receives data.
利用本发明多功能计算机数据存储及迁移装置的数据迁移方法,具体如下:The data migration method using the multifunctional computer data storage and migration device of the present invention is as follows:
通过切换多档位模式切换开关的档位,使多功能计算机数据存储及迁移装置的工作模式为USB迁移器模式、NAS+USB迁移器模式和NAS+无线迁移器模式中的任一档,并在选定的模式下进行两台计算机之间的数据迁移,或数据迁移及数据备份;By switching the position of the multi-position mode switch, the working mode of the multi-functional computer data storage and migration device is any one of USB migrator mode, NAS+USB migrator mode and NAS+wireless migrator mode, and in Perform data migration between two computers, or data migration and data backup in the selected mode;
当所述多功能计算机数据存储及迁移装置的工作模式为USB迁移器模式时,所述数据迁移方法包括以下步骤:When the working mode of the multifunctional computer data storage and migration device is the USB migrator mode, the data migration method includes the following steps:
S1、档位选择及设备连接:将多档位模式切换开关的档位置于USB迁移器档位,并使源计算机和目标计算机不连接USB存储设备,将源计算机和目标计算机通过两个USB线分别与多功能计算机数据存储及迁移装置的第一USB母头和第二USB母头连接;S1. Gear selection and device connection: Set the multi-level mode switch to the USB migrator position, and make sure that the source computer and target computer are not connected to USB storage devices. Connect the source computer and target computer through two USB cables. Connect to the first USB female connector and the second USB female connector of the multifunctional computer data storage and migration device respectively;
S2、迁移程序配对:在数据开始迁移之前,分别将源计算机和目标计算机通过BIOS设置为U盘启动,再重新启动源计算机和目标计算机,存储器A上的源计算机端迁移程序与存储器B上的目标计算机端迁移程序也随之启动,处于等待配对状态,在源计算机和目标计算机的数据迁移界面上显示一个随机的连接码和一个连接密码,随后这两个迁移程序都会通过TCP协议绑定固定的端口,等待连接;然后在源计算机或目标计算机的数据迁移界面输入另一台计算机的连接码和连接密码,将两台计算机上的迁移程序进行配对,配对成功后通过TCP协议在源计算机和目标计算机之间建立稳定的连接通道,并自动关闭配对状态;S2. Migration program pairing: Before the data migration starts, set the source computer and the target computer to USB boot through BIOS, and then restart the source computer and target computer. The source computer migration program on storage A and the migration program on storage B The migration program on the target computer is also started and is waiting for pairing. A random connection code and a connection password are displayed on the data migration interface of the source computer and the target computer. Subsequently, the two migration programs will be bound and fixed through the TCP protocol. port and wait for the connection; then enter the connection code and connection password of another computer in the data migration interface of the source computer or target computer, and pair the migration programs on the two computers. After successful pairing, the source computer and the target computer use the TCP protocol. Establish a stable connection channel between the target computers and automatically close the pairing state;
S3、设备模式确定:完成两个迁移程序的配对后,两台计算机上的迁移程序进入设备模式确定阶段,在两台计算机的数据迁移界面显示设备模式确定的选项;所述源计算机端的迁移程序与目标计算机端的迁移程序有两种工作模式,分别为源机模式和目标机模式,其中,源计算机上的迁移程序应选择源机模式,目标计算机上的迁移程序应选择目标机模式;当其中一台计算机做出模式选择后,会通过步骤S2建立的TCP通道通知另一台计算机,另一台计算机会自动工作在另一种模式下;S3. Device mode determination: After completing the pairing of the two migration programs, the migration programs on the two computers enter the device mode determination stage, and the device mode determination options are displayed on the data migration interfaces of the two computers; the migration program on the source computer side The migration program on the target computer has two working modes, namely source machine mode and target machine mode. Among them, the migration program on the source computer should select the source machine mode, and the migration program on the target computer should select the target machine mode; when After one computer makes a mode selection, it will notify the other computer through the TCP channel established in step S2, and the other computer will automatically work in another mode;
S4、数据迁移:在确定了两个迁移程序的工作模式之后,就进入了数据迁移阶段,此时工作在目标机模式下的目标计算机端迁移程序进入等待状态,工作在源机模式下的源计算机端迁移程序进入文件选择状态,用户通过在源计算机上进行待迁移文件的选择和确认后,通过步骤S2建立的TCP通道发出迁移指令,源计算机端的迁移程序会根据用户选择的数据条目,自动生成一个迁移清单发送给目标计算机端的迁移程序,目标计算机端的迁移程序接收到迁移清单后会分析该清单文件并将其存储在临时文件夹供数据迁移过程和后期的数据比对使用,随后目标计算机上的数据迁移界面会弹出选择文件存储位置的对话框,存储位置选择完成后,点击确认按钮,开始进入数据迁移状态,在数据迁移的过程中,迁移程序会对每一条数据的完整性进行校验,对于迁移出错的文件,进行重新传输,待所有文件迁移完毕后,进入下一个阶段;S4. Data migration: After determining the working modes of the two migration programs, the data migration stage is entered. At this time, the migration program on the target computer working in the target machine mode enters a waiting state, and the source computer side working in the source machine mode enters a waiting state. The computer-side migration program enters the file selection state. After the user selects and confirms the files to be migrated on the source computer, the user issues a migration instruction through the TCP channel established in step S2. The source computer-side migration program will automatically Generate a migration manifest and send it to the migration program on the target computer. After receiving the migration manifest, the migration program on the target computer will analyze the manifest file and store it in a temporary folder for the data migration process and later data comparison. Then the target computer The data migration interface on the screen will pop up a dialog box for selecting the file storage location. After the storage location selection is completed, click the confirmation button to start entering the data migration state. During the data migration process, the migration program will verify the integrity of each piece of data. Verify, retransmit files with migration errors, and enter the next stage after all files are migrated;
S5、数据验证及报表导出:当数据迁移完成后,目标计算机端的迁移程序对数据进行比对和验证,对于缺失和比对出错的数据再次进行重新传输,在传输完成后,目标计算机端的迁移程序导出一份迁移报告,完成数据迁移;S5. Data verification and report export: After the data migration is completed, the migration program on the target computer compares and verifies the data, and retransmits the missing or incorrect data. After the transmission is completed, the migration program on the target computer Export a migration report to complete data migration;
当所述多功能计算机数据存储及迁移装置的工作模式为NAS+USB迁移器模式时,所述数据迁移方法包括以下步骤:When the working mode of the multifunctional computer data storage and migration device is NAS+USB migrator mode, the data migration method includes the following steps:
L1、档位选择及设备连接:将多档位模式切换开关的档位置于NAS+USB迁移器档位,开启多功能计算机数据存储及迁移装置的工作电源,并使源计算机和目标计算机不连接USB存储设备,将源计算机和目标计算机通过两个USB线分别与多功能计算机数据存储及迁移装置的第一USB母头和第二USB母头连接;L1. Gear selection and device connection: Set the multi-level mode switch to the NAS+USB migrator position, turn on the working power of the multi-function computer data storage and migration device, and make the source computer and target computer unconnected. The USB storage device connects the source computer and the target computer to the first USB female connector and the second USB female connector of the multifunctional computer data storage and migration device respectively through two USB cables;
L2、迁移程序配对:在数据开始迁移之前,分别将源计算机和目标计算机通过BIOS设置为U盘启动,再重新启动源计算机和目标计算机,存储器A上的源计算机端迁移程序与存储器B上的目标计算机端迁移程序也随之启动,处于等待配对状态,在源计算机和目标计算机的数据迁移界面上显示一个随机的连接码和一个连接密码,随后这两个迁移程序都会通过TCP协议绑定固定的端口,等待连接;然后在源计算机或目标计算机的数据迁移界面输入另一台计算机的连接码和连接密码,将两台计算机上的迁移程序进行配对,配对成功后通过TCP协议在源计算机和目标计算机之间建立稳定的连接通道,并自动关闭配对状态;L2. Migration program pairing: Before the data migration starts, set the source computer and the target computer to USB disk startup through BIOS, and then restart the source computer and target computer. The source computer migration program on storage A and the migration program on storage B The migration program on the target computer is also started and is waiting for pairing. A random connection code and a connection password are displayed on the data migration interface of the source computer and the target computer. Subsequently, the two migration programs will be bound and fixed through the TCP protocol. port and wait for the connection; then enter the connection code and connection password of another computer in the data migration interface of the source computer or target computer, and pair the migration programs on the two computers. After successful pairing, the source computer and the target computer use the TCP protocol. Establish a stable connection channel between the target computers and automatically close the pairing state;
L3、设备模式确定:完成两个迁移程序的配对后,两台计算机上的迁移程序进入设备模式确定阶段,在两台计算机的数据迁移界面显示设备模式确定的选项;所述源计算机端的迁移程序与目标计算机端的迁移程序有两种工作模式,分别为源机模式和目标机模式,其中,源计算机上的迁移程序应选择源机模式,目标计算机上的迁移程序应选择目标机模式;当其中一台计算机做出模式选择后,会通过步骤L2建立的TCP通道通知另一台计算机,另一台计算机会自动工作在另一种模式下;L3. Device mode determination: After completing the pairing of the two migration programs, the migration programs on the two computers enter the device mode determination stage, and the device mode determination options are displayed on the data migration interfaces of the two computers; the migration program on the source computer side The migration program on the target computer has two working modes, namely source machine mode and target machine mode. Among them, the migration program on the source computer should select the source machine mode, and the migration program on the target computer should select the target machine mode; when After one computer makes a mode selection, it will notify the other computer through the TCP channel established in step L2, and the other computer will automatically work in another mode;
L4、数据迁移及备份:在确定了两个迁移程序的工作模式之后,就进入了数据迁移阶段,此时工作在目标机模式下的目标计算机端迁移程序进入等待状态,工作在源机模式下的源计算机端迁移程序进入文件选择状态,用户通过在源计算机上进行待迁移文件的选择和确认后,此时在数据迁移界面出现是否将待迁移文件同步备份至NAS的复选框,用户对复选框进行勾选操作后,通过步骤L2建立的TCP通道发出迁移指令,源计算机端的迁移程序会根据用户选择的数据条目,自动生成一个迁移清单发送给目标计算机端的迁移程序,目标计算机端的迁移程序接收到迁移清单后会分析该清单文件并将其存储在临时文件夹供数据迁移过程和后期的数据比对使用,随后目标计算机上的数据迁移界面会弹出选择文件存储位置的对话框,存储位置选择完成后,点击确认按钮,开始进入数据迁移状态,在数据迁移的过程中,同步使迁移数据备份在NAS主板上,同时迁移程序会对每一条数据的完整性进行校验,对于迁移出错的文件,进行重新传输,待所有文件迁移完毕后,进入下一个阶段;L4. Data migration and backup: After determining the working modes of the two migration programs, the data migration stage is entered. At this time, the migration program on the target computer working in the target machine mode enters a waiting state and works in the source machine mode. The migration program on the source computer enters the file selection state. After the user selects and confirms the files to be migrated on the source computer, a check box appears on the data migration interface to determine whether to synchronize the files to be migrated to the NAS. After the check box is checked, a migration instruction is issued through the TCP channel established in step L2. The migration program on the source computer will automatically generate a migration list based on the data entries selected by the user and send it to the migration program on the target computer. After receiving the migration manifest, the program will analyze the manifest file and store it in a temporary folder for use in the data migration process and later data comparison. Then the data migration interface on the target computer will pop up a dialog box to select the file storage location. After the location selection is completed, click the Confirm button to start entering the data migration state. During the data migration process, the migrated data is synchronized and backed up on the NAS motherboard. At the same time, the migration program will verify the integrity of each piece of data. For migration errors, files, retransmit them, and enter the next stage after all files are migrated;
L5、数据验证及报表导出:当数据迁移完成后,目标计算机端的迁移程序对数据进行比对和验证,对于缺失和比对出错的数据再次进行重新传输,在传输完成后,目标计算机端的迁移程序导出一份迁移报告,完成数据迁移;L5. Data verification and report export: After the data migration is completed, the migration program on the target computer compares and verifies the data, and retransmits the missing or incorrect data. After the transmission is completed, the migration program on the target computer Export a migration report to complete data migration;
当所述多功能计算机数据存储及迁移装置的工作模式为NAS+无线迁移器模式时,所述数据迁移方法包括以下步骤:When the working mode of the multifunctional computer data storage and migration device is NAS+wireless migrator mode, the data migration method includes the following steps:
M1、档位选择及设备连接:将多档位模式切换开关的档位置于NAS+无线迁移器档位,开启多功能计算机数据存储及迁移装置的工作电源,并使源计算机和目标计算机不连接USB存储设备,将源计算机端和目标计算机端无线迁移卡分别插入源计算机和目标计算机的USB口;M1. Gear selection and device connection: Set the multi-level mode switch to the NAS + wireless migration position, turn on the working power of the multi-function computer data storage and migration device, and keep the source computer and target computer from connecting to USB For storage devices, insert the wireless migration cards on the source computer and the target computer into the USB ports of the source computer and target computer respectively;
M2、迁移程序配对:在数据开始迁移之前,分别将源计算机和目标计算机通过BIOS设置为U盘启动,再重新启动源计算机和目标计算机,存储器C上的源计算机端迁移程序与存储器D上的目标计算机端迁移程序也随之启动,处于等待配对状态,在源计算机和目标计算机的数据迁移界面上显示一个随机的连接码和一个连接密码,随后这两个迁移程序都会通过TCP协议绑定固定的端口,等待连接;然后在源计算机或目标计算机的数据迁移界面输入另一台计算机的连接码和连接密码,将两台计算机上的迁移程序进行配对,配对成功后通过TCP协议在源计算机和目标计算机之间建立稳定的连接通道,并自动关闭配对状态;M2. Migration program pairing: Before the data migration starts, set the source computer and target computer to USB boot through BIOS, then restart the source computer and target computer. The migration program on the source computer on storage C and the migration program on storage D The migration program on the target computer is also started and is waiting for pairing. A random connection code and a connection password are displayed on the data migration interface of the source computer and the target computer. Subsequently, the two migration programs will be bound and fixed through the TCP protocol. port and wait for the connection; then enter the connection code and connection password of another computer in the data migration interface of the source computer or target computer, and pair the migration programs on the two computers. After successful pairing, the source computer and the target computer use the TCP protocol. Establish a stable connection channel between the target computers and automatically close the pairing state;
M3、设备模式确定:完成两个迁移程序的配对后,两台计算机上的迁移程序进入设备模式确定阶段,在两台计算机的数据迁移界面显示设备模式确定的选项;所述源计算机端的迁移程序与目标计算机端的迁移程序有两种工作模式,分别为源机模式和目标机模式,其中,源计算机上的迁移程序应选择源机模式,目标计算机上的迁移程序应选择目标机模式;当其中一台计算机做出模式选择后,会通过步骤M2建立的TCP通道通知另一台计算机,另一台计算机会自动工作在另一种模式下;M3. Device mode determination: After completing the pairing of the two migration programs, the migration programs on the two computers enter the device mode determination stage, and the device mode determination options are displayed on the data migration interfaces of the two computers; the migration program on the source computer side The migration program on the target computer has two working modes, namely source machine mode and target machine mode. Among them, the migration program on the source computer should select the source machine mode, and the migration program on the target computer should select the target machine mode; when After one computer makes a mode selection, it will notify the other computer through the TCP channel established in step M2, and the other computer will automatically work in another mode;
M4、数据迁移及备份:在确定了两个迁移程序的工作模式之后,就进入了数据迁移阶段,此时工作在目标机模式下的目标计算机端迁移程序进入等待状态,工作在源机模式下的源计算机端迁移程序进入文件选择状态,用户通过在源计算机上进行待迁移文件的选择和确认后,此时在数据迁移界面出现是否将待迁移文件同步备份至NAS的复选框,用户对复选框进行勾选操作后,通过步骤M2建立的TCP通道发出迁移指令,源计算机端的迁移程序会根据用户选择的数据条目,自动生成一个迁移清单发送给目标计算机端的迁移程序,目标计算机端的迁移程序接收到迁移清单后会分析该清单文件并将其存储在临时文件夹供数据迁移过程和后期的数据比对使用,随后目标计算机上的数据迁移界面会弹出选择文件存储位置的对话框,存储位置选择完成后,点击确认按钮,开始进入数据迁移状态,在数据迁移的过程中,同步使迁移数据备份在NAS主板上,同时迁移程序会对每一条数据的完整性进行校验,对于迁移出错的文件,进行重新传输,待所有文件迁移完毕后,进入下一个阶段;M4. Data migration and backup: After determining the working modes of the two migration programs, the data migration stage is entered. At this time, the migration program on the target computer working in the target machine mode enters a waiting state and works in the source machine mode. The migration program on the source computer enters the file selection state. After the user selects and confirms the files to be migrated on the source computer, a check box appears on the data migration interface to determine whether to synchronize the files to be migrated to the NAS. After the check box is checked, a migration instruction is issued through the TCP channel established in step M2. The migration program on the source computer will automatically generate a migration list based on the data entries selected by the user and send it to the migration program on the target computer. After receiving the migration manifest, the program will analyze the manifest file and store it in a temporary folder for use in the data migration process and later data comparison. Then the data migration interface on the target computer will pop up a dialog box to select the file storage location. After the location selection is completed, click the Confirm button to start entering the data migration state. During the data migration process, the migrated data is synchronized and backed up on the NAS motherboard. At the same time, the migration program will verify the integrity of each piece of data. For migration errors, files, retransmit them, and enter the next stage after all files are migrated;
M5、数据验证及报表导出:当数据迁移完成后,目标计算机端的迁移程序对数据进行比对和验证,对于缺失和比对出错的数据再次进行重新传输,在传输完成后,目标计算机端的迁移程序导出一份迁移报告,完成数据迁移。M5. Data verification and report export: After the data migration is completed, the migration program on the target computer compares and verifies the data, and retransmits the missing or incorrect data. After the transfer is completed, the migration program on the target computer Export a migration report to complete data migration.
进一步地,所述迁移清单包括待迁移数据列表、每一条数据对应的文件名和md5值以及数据大小;所述数据迁移过程中对于迁移出错的文件进行重新传输,当尝试三次传输失败后放弃重新传输。Further, the migration list includes a list of data to be migrated, the file name and md5 value corresponding to each piece of data, and the data size; during the data migration process, files with migration errors are retransmitted, and retransmission is given up after three transmission attempts fail. .
再进一步地,所述数据迁移完成后,目标计算机端的迁移程序对迁移的数据进行比对和验证,是根据数据传输前接收到的迁移清单上的文件列表和每个文件的md5值对迁移的数据进行比对和验证;所述迁移报告的统计信息含有迁移成功的文件列表和迁移失败的文件列表以及迁移的数据量。Furthermore, after the data migration is completed, the migration program on the target computer compares and verifies the migrated data based on the file list on the migration list received before data transmission and the md5 value of each file. The data is compared and verified; the statistical information of the migration report includes a list of successfully migrated files, a list of files that failed to be migrated, and the amount of migrated data.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
1、功能丰富,一机多用:本发明的多功能计算机数据存储及迁移装置提供多种工作模式,即有NAS的功能,也有迁移器的功能,可以一机多用。1. Rich functions, one machine for multiple purposes: The multi-functional computer data storage and migration device of the present invention provides multiple working modes, including the functions of NAS and migrator, and can be used for multiple purposes in one machine.
2、简单实用,稳定性高:本发明的多功能计算机数据存储及迁移装置通过用户熟悉的USB/无线来连接两台计算机,并且迁移装置里面为两台计算机内置了文件迁移所用的启动系统和迁移程序,可以在不启动设备原有操作系统的情况下进行数据或文件迁移操作,有效地排除了原系统运行时对文件迁移的影响,使用简单,整个迁移过程也十分地稳定可靠。2. Simple and practical, with high stability: The multifunctional computer data storage and migration device of the present invention connects two computers through USB/wireless that users are familiar with, and the migration device has a built-in startup system and file migration system for the two computers. The migration program can perform data or file migration operations without starting the device's original operating system, effectively eliminating the impact of the original system running on file migration. It is easy to use and the entire migration process is very stable and reliable.
3、文件位置对应复位:在迁移操作中,迁移软件程序可自动将迁移到目标计算机的文件及文件夹,按照其在源计算机中的存储位置进行对应整理,使迁移前后的文件存储位置基本相同,便于用户按原存储位置使用,方便查找。3. Corresponding reset of file locations: During the migration operation, the migration software program can automatically organize the files and folders migrated to the target computer according to their storage locations in the source computer, so that the file storage locations before and after migration are basically the same. , convenient for users to use according to the original storage location and search.
4、跨平台:本发明的迁移装置支持多种软硬件平台,一套迁移装置就可以完成多种平台和场景下的文件迁移工作。4. Cross-platform: The migration device of the present invention supports multiple software and hardware platforms, and one set of migration devices can complete file migration work on multiple platforms and scenarios.
5、可重复使用:本发明的迁移装置可重复使用,一套迁移装置可以完成多次迁移工作。5. Reusable: The migration device of the present invention can be reused, and one set of migration devices can complete multiple migrations.
6、数据校验:本发明的迁移装置在迁移过程中和迁移完毕后会对数据进行完整性校验,对迁移出错的文件会自动进行报警提示或重新传输。6. Data verification: The migration device of the present invention will perform integrity verification on the data during the migration process and after the migration is completed, and will automatically issue an alarm or retransmit files with migration errors.
7、免驱动:本发明在整个迁移的实施过程中,不需要用户在计算机上安装任何额外的程序或者驱动。7. Driver-free: During the entire migration implementation process, the present invention does not require the user to install any additional programs or drivers on the computer.
8、远距离:本发明在无线迁移器模式下,可以使两台计算机在距离较远的情况下进行数据或文件迁移,打破了USB迁移装置的距离限制。8. Long distance: In the wireless migration mode, the present invention can enable two computers to migrate data or files at a long distance, breaking the distance limit of the USB migration device.
附图说明Description of the drawings
图1是本发明的结构示意图。Figure 1 is a schematic structural diagram of the present invention.
图2是本发明在USB迁移器模式下及NAS+USB迁移器模式下的使用接线图。Figure 2 is a wiring diagram of the present invention in USB migrator mode and NAS+USB migrator mode.
图3是本发明在USB硬盘盒模式下的使用接线图。Figure 3 is a wiring diagram of the present invention in USB hard disk box mode.
图4是本发明在NAS+无线迁移器模式下的使用接线图。Figure 4 is a wiring diagram of the present invention in NAS+wireless migrator mode.
图中,1-壳体、2-多档位模式切换开关、3-第一USB母头、4-第一USB分线器、5-存储器A、6-第一以太网卡、7-第二以太网卡、8-第三以太网卡、9-第四以太网卡、10-第五以太网卡、11-以太网口、12-存储器B、13-第二USB分线器、14-第二USB母头、15-NAS主板、16-无线网卡、17-硬盘接口、18-USB延长线、19-卡壳C、20-USB分线器C、21-存储器C、22-无线网卡C、23-USB公头C、24-卡壳D、25-USB分线器D、26-存储器D、27-无线网卡D、28-USB公头D。In the figure, 1-case, 2-multi-position mode switch, 3-first USB female connector, 4-first USB splitter, 5-memory A, 6-first Ethernet card, 7-second Ethernet card, 8-third Ethernet card, 9-fourth Ethernet card, 10-fifth Ethernet card, 11-Ethernet port, 12-memory B, 13-second USB splitter, 14-second USB mother Header, 15-NAS motherboard, 16-wireless network card, 17-hard disk interface, 18-USB extension cable, 19-casing C, 20-USB splitter C, 21-storage C, 22-wireless network card C, 23-USB Male C, 24-casing D, 25-USB splitter D, 26-storage D, 27-wireless network card D, 28-USB male D.
具体实施方式Detailed ways
下面通过具体实施例来进一步说明本发明的技术方案。本领域技术人员应该明了,所述具体实施方式仅仅是帮助理解本发明,不应视为对本发明的具体限制。The technical solution of the present invention will be further described below through specific examples. Those skilled in the art should understand that the specific embodiments are only to help understand the present invention and should not be regarded as specific limitations of the present invention.
实施例1Example 1
如图1-2所示,一种多功能计算机数据存储及迁移装置和方法,包括壳体数据迁移电路、NAS主板15、多档位模式切换开关2、无线迁移卡和USB延长线18,所述数据迁移电路和多档位模式切换开关2集成在NAS主板15上,NAS主板15设置在壳体1内且使多档位模式切换开关2固定在壳体1上;所述数据迁移电路包括第一USB母头3、第一USB分线器4、用于存储源计算机启动系统和迁移程序的存储器A5、第一以太网卡6、第二以太网卡7、第三以太网卡8、用于存储目标计算机启动系统和迁移程序的存储器B12、第二USB分线器13和第二USB母头14,所述第一USB母头3和第二USB母头14固定在壳体1上;所述第一USB分线器4的USB接头连接第一USB母头3,存储器A5、第一以太网卡6及第三以太网卡8连接在第一USB分线器4上,所述第二USB分线器13的USB接头连接第二USB母头14,第二以太网卡7和存储器B12连接在第二USB分线器13上,所述第一以太网卡6与第二以太网卡7通过网线直连;所述NAS主板15上设有硬盘接口17、第四以太网卡9、第五以太网卡10和无线网卡16,所述硬盘接口17与第一USB分线器4连接,所述第四以太网卡9与第三以太网卡7通过网线直连,用于源计算机和目标计算机之间的数据迁移过程中源计算机向NAS主板同步备份迁移数据;所述无线网卡16用于建立无线热点,开启无线路由功能;第五以太网卡10与设置在壳体1上的以太网口11连接;通过选择多档位模式切换开关2的不同档位,以控制第一以太网卡6与第二以太网卡7的数据通讯状态,第三以太网卡8与第四以太网卡9的数据通讯状态,硬盘接口17与第一USB分线器4的数据通讯状态;As shown in Fig. 1-2, a multifunctional computer data storage and migration device and method comprises a housing data migration circuit, a NAS motherboard 15, a multi-speed mode switch 2, a wireless migration card and a USB extension cable 18, wherein the data migration circuit and the multi-speed mode switch 2 are integrated on the NAS motherboard 15, the NAS motherboard 15 is arranged in the housing 1 and the multi-speed mode switch 2 is fixed on the housing 1; the data migration circuit comprises a first USB female connector 3, a first USB splitter 4, a memory A5 for storing a source computer startup system and a migration program, a first Ethernet card 6, a second Ethernet card 7, a third Ethernet card 8, a memory B12 for storing a target computer startup system and a migration program, a second USB splitter 13 and a second USB female connector 14, wherein the first USB female connector 3 and the second USB female connector 14 are fixed on the housing 1; the USB connector of the first USB splitter 4 is connected to the first USB female connector 3, the memory A5, the first Ethernet card 6 and the third Ethernet card 8 are connected to the first USB splitter 4, and the The USB connector of the second USB splitter 13 is connected to the second USB female connector 14, the second Ethernet card 7 and the memory B12 are connected to the second USB splitter 13, and the first Ethernet card 6 is directly connected to the second Ethernet card 7 through a network cable; the NAS mainboard 15 is provided with a hard disk interface 17, a fourth Ethernet card 9, a fifth Ethernet card 10 and a wireless network card 16, the hard disk interface 17 is connected to the first USB splitter 4, the fourth Ethernet card 9 is directly connected to the third Ethernet card 7 through a network cable, and is used for the source computer to synchronize and backup the migrated data to the NAS mainboard during the data migration process between the source computer and the target computer; the wireless network card 16 is used to establish a wireless hotspot and enable the wireless routing function; the fifth Ethernet card 10 is connected to the Ethernet port 11 provided on the housing 1; by selecting different gears of the multi-gear mode switching switch 2, the data communication state of the first Ethernet card 6 and the second Ethernet card 7, the data communication state of the third Ethernet card 8 and the fourth Ethernet card 9, and the data communication state of the hard disk interface 17 and the first USB splitter 4 are controlled;
所述无线迁移卡包括源计算机端和目标计算机端无线迁移卡,所述源计算机端和目标计算机端无线迁移卡通过连接NAS主板15上无线网卡16建立的无线热点使源计算机端和目标计算机端能够进行无线网络通信,在无线方式下进行源计算机与目标计算机之间的数据迁移;The wireless migration card includes a source computer side and a target computer side wireless migration card. The source computer side and the target computer side wireless migration card connect the source computer side and the target computer side through wireless hotspots established by the wireless network card 16 on the NAS motherboard 15. Able to perform wireless network communication and perform data migration between the source computer and the target computer in a wireless manner;
所述USB延长线18为两个,一个与第一USB母头3连接,另一个与第二USB母头14连接。There are two USB extension cables 18 , one is connected to the first USB female head 3 and the other is connected to the second USB female head 14 .
所述源计算机端无线迁移卡包括卡壳C19,所述卡壳C19内设有USB分线器C20、用于存储源计算机启动系统和迁移程序的存储器C21、无线网卡C22及延伸至卡壳C外的USB公头C23,所述USB分线器C20的USB接头连接USB公头C23,存储器C21和无线网卡C22连接在USB分线器C20上;所述目标计算机端无线迁移卡包括卡壳D24,所述卡壳D24内设有USB分线器D25、用于存储目标计算机启动系统和迁移程序的存储器D26、无线网卡D27及延伸至卡壳D外的USB公头D28,所述USB分线器D25的USB接头连接USB公头D28,存储器D26和无线网卡D27连接在USB分线器D25上。所述USB分线器C20、存储器C21、无线网卡C22和USB公头C23采用集成电路技术集成在1#PCB板上,设置在卡壳C19内,并使USB公头C延伸至卡壳C外;所述USB分线器D25、存储器D26、无线网卡D27和USB公头D28采用集成电路技术集成在2#PCB板上,设置在卡壳D24内,并使USB公头D延伸至卡壳D外。The source computer side wireless migration card includes a card case C19. The card case C19 is equipped with a USB splitter C20, a memory C21 for storing the source computer startup system and migration program, a wireless network card C22 and a USB extending outside the card case C. Male connector C23, the USB connector of the USB splitter C20 is connected to the USB male connector C23, the memory C21 and the wireless network card C22 are connected to the USB splitter C20; the target computer wireless migration card includes a card case D24, the card case D24 is provided with a USB splitter D25, a memory D26 for storing the target computer startup system and migration program, a wireless network card D27 and a USB male connector D28 extending outside the card case D. The USB connector of the USB splitter D25 is connected USB male connector D28, memory D26 and wireless network card D27 are connected to USB splitter D25. The USB splitter C20, memory C21, wireless network card C22 and USB male connector C23 are integrated on the 1# PCB board using integrated circuit technology, and are arranged in the card case C19, with the USB male connector C extending outside the card case C; so The USB splitter D25, memory D26, wireless network card D27 and USB male connector D28 are integrated on the 2# PCB board using integrated circuit technology, and are set in the card case D24, with the USB male connector D extending out of the card case D.
所述两个USB延长线18均为双公头线,与第一USB母头3、第二USB母头14的连接方式为自由插拔式连接;在所述壳体1的第一USB母头3、第二USB母头14处设有标识,分别用于标识连接源计算机或目标计算机;所述源计算机端无线迁移卡上设有标识,用于标识连接源计算机,所述目标计算机端无线迁移卡上设有标识,用于标识连接目标计算机。The two USB extension cables 18 are both double male cables, and the connection mode with the first USB female head 3 and the second USB female head 14 is a free plug-in connection; The head 3 and the second USB female head 14 are provided with logos, which are used to identify the connection source computer or the target computer respectively; the source computer side wireless migration card is provided with logos, used to identify the connection source computer, and the target computer side is provided with logos. There is a logo on the wireless migration card to identify the connection target computer.
所述源计算机是指数据迁出的计算机,所述目标计算机是指接收数据的计算机。The source computer refers to the computer from which the data is migrated, and the target computer refers to the computer that receives the data.
本发明在数据迁移电路的存储器A5、源计算机端无线迁移卡的存储器C21中内置源计算机启动系统和迁移程序,在存储器B12、目标计算机端无线迁移卡的存储器D26上内置目标计算机启动系统和迁移程序;所述源计算机启动系统用于启动源计算机,目标计算机启动系统均为开源免费的Linux操作系统,迁移程序用于驱动数据迁移电路进行两台计算机间的数据迁移;当多功能计算机数据存储及迁移装置通过两个USB延长线18或无线迁移卡连接至源计算机、目标计算机之后,在两台计算机的bios里面将其设置成从U盘启动,在源计算机和目标计算机启动时,会分别启动存储器A5或存储器C21,以及存储器B12或存储器D26里面的计算机启动系统,该系统启动后会给第一或第二分线器中的以太网卡绑定一个固定的IP地址,在系统启动后存储器里的迁移程序也随会之启动。In the present invention, the source computer startup system and migration program are built into the memory A5 of the data migration circuit and the memory C21 of the source computer side wireless migration card, and the target computer startup system and migration program are built into the memory B12 and the memory D26 of the target computer side wireless migration card. Program; the source computer startup system is used to start the source computer, the target computer startup system is an open source free Linux operating system, and the migration program is used to drive the data migration circuit to perform data migration between the two computers; when the multi-function computer data storage After the migration device is connected to the source computer and the target computer through two USB extension cables 18 or wireless migration cards, set them in the bios of the two computers to boot from the U disk. When the source computer and the target computer start, they will Start the computer startup system in memory A5 or memory C21, as well as memory B12 or memory D26. After the system starts, it will bind a fixed IP address to the Ethernet card in the first or second splitter. After the system starts, the memory The migration process inside will also start.
在NAS主板15的内置存储器中安装NAS操作系统、路由程序。所述路由程序通过无线网卡建立无线热点并开启无线路由功能。Install the NAS operating system and routing program in the built-in memory of the NAS motherboard 15. The routing program establishes a wireless hotspot through the wireless network card and turns on the wireless routing function.
所述多档位模式切换开关2设有五个档位,分别为USB迁移器档位、外置硬盘盒档位、NAS档位、NAS+USB迁移器档位和NAS+无线迁移器档位,并对应于多功能计算机数据存储及迁移装置的五种不同工作模式。五种工作模式的具体情况如下:The multi-position mode switch 2 is provided with five positions, which are USB migrator position, external hard disk box position, NAS position, NAS+USB migrator position and NAS+wireless migrator position. And corresponds to five different working modes of the multifunctional computer data storage and migration device. The details of the five working modes are as follows:
1、USB迁移器模式(模式一)1. USB migrator mode (mode 1)
本发明的多档位模式切换开关2默认位于第一档(USB迁移器档位),此时所述NAS主板15处于断电状态,此时迁移装置内起作用的模块是第一USB分线器4、第二USB分线器13和与其连接的第一以太网卡6、第二以太网卡7,以及存储器A和5存储器B12,所述数据迁移电路处于连通状态,所述多功能计算机数据存储及迁移装置仅用于数据迁移,其工作模式为USB迁移器模式。The multi-position mode switch 2 of the present invention is in the first position (USB migrator position) by default. At this time, the NAS mainboard 15 is in a power-off state. At this time, the active module in the migration device is the first USB branch line. 4, the second USB splitter 13 and the first Ethernet card 6 and the second Ethernet card 7 connected thereto, as well as the memories A and 5, the memory B12, the data migration circuit is in a connected state, and the multifunctional computer data storage And the migration device is only used for data migration, and its working mode is USB migrator mode.
USB迁移器模式下的数据迁移原理如下:The principle of data migration in USB migrator mode is as follows:
将迁移装置的两个USB母头通过两个延长线分别连接至源计算机和目标计算机,然后在两台计算机的BIOS里面将其设置成从U盘启动,在源计算机和目标计算机启动时,会分别存储器A5和存储器B12里面的计算机启动系统,该系统启动后会给各自端的分线器(第一分线器4、第二分线器13)中对应的以太网卡绑定一个固定的IP地址,在启动系统启动后存储器A和B内的迁移程序也会随之启动。Connect the two USB female connectors of the migration device to the source computer and the target computer respectively through two extension cables, and then set them in the BIOS of the two computers to boot from the USB disk. When the source computer and the target computer start, The computers in memory A5 and memory B12 respectively start the system. After starting, the system will bind a fixed IP address to the corresponding Ethernet card in the splitter (first splitter 4, second splitter 13) at each end. , after the boot system is started, the migration programs in memories A and B will also be started.
源计算机端的存储器A5内的迁移程序在启动的过程中会建立一个Tcp服务器(以下简称迁移服务器),目标计算机端的存储器B12内的迁移程序在启动时会建立一个Tcp客户端去连接迁移服务器,这样两台计算机之间就此后建立了连接,通过这个连接就可以完成两台计算机之间的数据或文件迁移操作。The migration program in the memory A5 of the source computer will establish a Tcp server (hereinafter referred to as the migration server) during the startup process. The migration program in the memory B12 of the target computer will establish a Tcp client to connect to the migration server during startup. In this way A connection is then established between the two computers, through which the data or file migration operation between the two computers can be completed.
USB迁移器模式下,不会启动NAS主板15,无法提供NAS服务,只能完成源计算机和目标计算机之间的数据或文件迁移,不会在NAS主板中对被迁移的数据或文件进行备份。In USB migrator mode, the NAS motherboard 15 will not start and cannot provide NAS services. It can only complete data or file migration between the source computer and the target computer. The migrated data or files will not be backed up in the NAS motherboard.
2、USB硬盘盒模式(模式二)2. USB hard disk box mode (mode 2)
多档位模式切换开关的第二档位2(外置硬盘盒档位)的模式为USB硬盘盒模式,所述第二USB母头14和第二USB分线器13的电路处于不连通状态,即数据迁移电路处于不连通状态,第三以太网卡8与第四以太网卡9处于不连通状态,第一USB分线器4仅与NAS主板15上的硬盘接口17处于连通状态,所述多功能计算机数据存储及迁移装置工作模式为USB硬盘盒模式。The mode of the second position 2 (external hard disk box position) of the multi-position mode switch is the USB hard disk box mode, and the circuits of the second USB female head 14 and the second USB splitter 13 are in a disconnected state. , that is, the data migration circuit is in a disconnected state, the third Ethernet card 8 and the fourth Ethernet card 9 are in a disconnected state, the first USB splitter 4 is only in a connected state with the hard disk interface 17 on the NAS motherboard 15, and the multiple The working mode of the functional computer data storage and migration device is USB hard disk box mode.
USB硬盘盒模式下,将源计算机端的第一USB母头3通过一个双公头USB延长线18与计算机连接,计算机便可对NAS主板15内部的硬盘进行读写,此时,迁移装置相当于一个硬盘盒。In the USB hard disk box mode, connect the first USB female connector 3 on the source computer to the computer through a double male USB extension cable 18, and the computer can read and write the hard drive inside the NAS motherboard 15. At this time, the migration device is equivalent to A hard drive case.
此模式只能完成外部设备对NAS主板15内部硬盘的访问,无法提供NAS服务,也无法提供数据或文件迁移服务。This mode can only complete the access of external devices to the internal hard disk of the NAS motherboard 15, and cannot provide NAS services, nor can it provide data or file migration services.
3、NAS模式(模式三)3. NAS mode (mode three)
多档位模式切换开关2的第三档(NAS档位)对应的模式为NAS模式,所述NAS主板15处于通电状态,所述第一USB母头3和第一USB分线器4的电路处于不连通状态,第二USB母头14和第二USB分线器13的电路处于不连通状态,即数据迁移电路处于不连通状态,第三以太网卡8与第四以太网卡9处于不连通状态,NAS主板15上设置的无线网卡16、硬盘接口17、第四以太网卡9、第五以太网口10处于开启状态,所述NAS主板15和运行在其上的NAS操作系统提供NAS服务,所述多功能计算机数据存储及迁移装置的工作模式为NAS模式。The mode corresponding to the third gear (NAS gear) of the multi-position mode switch 2 is the NAS mode, the NAS motherboard 15 is in a powered state, and the circuits of the first USB female connector 3 and the first USB splitter 4 In a disconnected state, the circuits of the second USB female head 14 and the second USB splitter 13 are in a disconnected state, that is, the data migration circuit is in a disconnected state, and the third Ethernet card 8 and the fourth Ethernet card 9 are in a disconnected state. , the wireless network card 16, hard disk interface 17, fourth Ethernet card 9, and fifth Ethernet port 10 provided on the NAS mainboard 15 are in an open state. The NAS mainboard 15 and the NAS operating system running on it provide NAS services, so The working mode of the multifunctional computer data storage and migration device is the NAS mode.
在此模式下,迁移装置将启动NAS操作系统并提供NAS功能和无线路由功能,用户可以通过多种方式连接至迁移装置中的NAS主板。In this mode, the migration device will start the NAS operating system and provide NAS functions and wireless routing functions. Users can connect to the NAS motherboard in the migration device through various methods.
NAS主板的网络模式有三种:There are three network modes for NAS motherboards:
①通过有线的方式连接至用户局域网,并通过无线网卡建立热点分享该网络(默认模式);① Connect to the user's LAN through a wired method, and establish a hotspot to share the network through a wireless network card (default mode);
②通过无线网卡连接至用户局域网并同时建立无线热点分享该网络(需要用户在连接至NAS后通过NAS客户端进行配置);②Connect to the user's LAN through a wireless network card and establish a wireless hotspot to share the network (the user needs to configure it through the NAS client after connecting to the NAS);
③不连接用户局域网,只开启无线,形成一个不连接用户网络的封闭网络。③Do not connect to the user LAN, only turn on the wireless, forming a closed network not connected to the user network.
在默认情况下,NAS操作系统在启动后会检测有线连接,在存在有线连接的情况下NAS会默认将网络模式设置为模式①,在不存在有线连接的情况下会默认将网络模式设置为模式③。By default, the NAS operating system will detect a wired connection after startup. If there is a wired connection, the NAS will set the network mode to mode ① by default. If there is no wired connection, the network mode will be set to mode by default. ③.
用户可以通过两种方式连接至NAS:①将用户的计算机接入到NAS的同一局域网中;②将用户的计算机接入到NAS开启的无线网络中,在用户的计算机连接到NAS后,便可以通过NAS客户端使用NAS的功能并对NAS进行配置。Users can connect to the NAS in two ways: ① Connect the user's computer to the same LAN as the NAS; ② Connect the user's computer to the wireless network enabled by the NAS. After the user's computer is connected to the NAS, Use the NAS functions and configure the NAS through the NAS client.
此模式只提供NAS服务和无线路由功能,不提供文件迁移服务。This mode only provides NAS services and wireless routing functions, but does not provide file migration services.
4、NAS+USB迁移器模式(模式四)4. NAS+USB migrator mode (mode four)
多档位模式切换开关2的第四档(NAS+USB迁移器档位)对应的模式为NAS+USB迁移器模式,所述NAS主板15处于通电状态,硬盘接口17与第一USB分线器4之间的电路处于不连通状态,所述第三以太网卡8和第四以太网口9处于连通状态,所述数据迁移电路处于连通状态,用于在有线方式下进行源计算机与目标计算机之间的数据迁移;所述NAS主板15和运行在其上的NAS操作系统提供NAS服务,在数据迁移的过程中,通过第三以太网卡8和第四以太网卡9建立的有线连接完成数据迁移过程中向NAS主板15同步备份被迁移的数据;所述多功能计算机数据存储及迁移装置工作模式为NAS+USB迁移器模式。The fourth position (NAS+USB migrator position) of the multi-position mode switch 2 corresponds to the NAS+USB migrator mode. The NAS mainboard 15 is in a power-on state, and the hard disk interface 17 is connected to the first USB splitter. The circuit between 4 is in a disconnected state, the third Ethernet card 8 and the fourth Ethernet port 9 are in a connected state, and the data migration circuit is in a connected state for performing wired connection between the source computer and the target computer. data migration between; the NAS motherboard 15 and the NAS operating system running on it provide NAS services. During the data migration process, the data migration process is completed through the wired connection established by the third Ethernet card 8 and the fourth Ethernet card 9 The migrated data is synchronously backed up to the NAS mainboard 15; the working mode of the multifunctional computer data storage and migration device is the NAS+USB migrator mode.
在此模式下,NAS操作系统会在NAS主板15通电后启动并提供NAS服务,除此之外,NAS操作系统中还会启动一个NAS端迁移服务器程序,该程序在此模式下的主要功能是基于NAS接收和存储源计算机端迁移程序在迁移过程中发送过来的备份。In this mode, the NAS operating system will start and provide NAS services after the NAS motherboard 15 is powered on. In addition, the NAS operating system will also start a NAS-side migration server program. The main function of this program in this mode is The NAS receives and stores the backups sent by the source computer migration program during the migration process.
在此模式下,源计算机可以通过第一USB分线器4上连接的第三以太网卡8和NAS主板15上的第四以太网卡9进行直连,NAS主板15和源计算机、目标计算机的连接方式以及存储器A5和B12中的迁移程序的工作方式和模式一是大致相同的,唯一的不同点在于源计算机端迁移程序的启动过程,此模式下的源计算机程序在启动时除了建立一个Tcp服务器外,还通过有线连接的方式建立了一个与NAS端迁移服务器程序的连接,通过此连接,可以将要迁移的数据或文件在NAS主板15上做一份备份,且整个备份文件的传输过程和存储都是加密的。In this mode, the source computer can be directly connected through the third Ethernet card 8 connected to the first USB splitter 4 and the fourth Ethernet card 9 on the NAS motherboard 15. The connection between the NAS motherboard 15, the source computer and the target computer The mode and the working mode of the migration program in memories A5 and B12 are roughly the same as Mode 1. The only difference lies in the startup process of the migration program on the source computer. When the source computer program in this mode starts, in addition to establishing a Tcp server In addition, a connection with the NAS migration server program is established through a wired connection. Through this connection, the data or files to be migrated can be backed up on the NAS motherboard 15, and the entire backup file transmission process and storage It's all encrypted.
此模式会启动NAS主板15,可以提供NAS服务,既可以完成源计算机和目标计算机之间的数据或文件迁移,也可以在NAS主板中对被迁移的文件进行备份。This mode will start the NAS motherboard 15, which can provide NAS services. It can complete data or file migration between the source computer and the target computer, and can also back up the migrated files in the NAS motherboard.
5、NAS+无线迁移器模式(模式五)5. NAS+wireless migrator mode (mode five)
多档位模式切换开关2的第五档(NAS+无线迁移器档位)对应的模式为NAS+无线迁移器模式,同时使用源计算机端无线迁移卡和目标计算机端无线迁移卡时,所述NAS主板15处于通电状态,所述数据迁移电路处于不连通状态,第三以太网卡8与第四以太网卡9处于不连通状态,所述NAS主板15和其上运行的NAS操作系统提供NAS服务;此时所述NAS主板15上的无线网卡16用于开启无线热点,提供无线路由功能,使源计算机端和目标计算机端无线迁移卡内的无线网卡C22、无线网卡D27连接至NAS主板15上无线网卡16开启的无线热点,源计算机端和目标计算机端可以进行无线通信,在无线方式下进行源计算机与目标计算机之间的数据迁移,同时将迁移过程中的数据通过无线通信备份至NAS主板15上;所述多功能计算机数据存储及迁移装置工作模式为NAS+无线迁移器模式。The fifth position of the multi-position mode switch 2 (NAS+wireless migrator position) corresponds to the NAS+wireless migrator mode. When using the source computer wireless migration card and the target computer wireless migration card at the same time, the NAS motherboard 15 is in a powered-on state, the data migration circuit is in a disconnected state, the third Ethernet card 8 and the fourth Ethernet card 9 are in a disconnected state, and the NAS motherboard 15 and the NAS operating system running on it provide NAS services; at this time The wireless network card 16 on the NAS mainboard 15 is used to turn on the wireless hotspot and provide a wireless routing function, so that the wireless network card C22 and the wireless network card D27 in the wireless migration card of the source computer and the target computer are connected to the wireless network card 16 on the NAS mainboard 15 When the wireless hotspot is turned on, the source computer and the target computer can communicate wirelessly, perform data migration between the source computer and the target computer in a wireless manner, and at the same time back up the data in the migration process to the NAS motherboard 15 through wireless communication; The working mode of the multifunctional computer data storage and migration device is NAS+wireless migrator mode.
在此模式下,NAS操作系统会在NAS主板通电后启动并提供NAS服务,除此之外,NAS主板15中还会启动一个NAS端迁移服务器程序,该程序在此模式下的主要有两个功能:①将NAS主板上的无线网卡16切换至无线迁移模式,建立无线热点供无线迁移卡连接;②基于NAS加密接收和存储源计算机端程序在迁移过程中发送的备份,此模式需要两个无线迁移卡的配合才能完成源计算机和目标计算机之间的数据或文件迁移操作。In this mode, the NAS operating system will start and provide NAS services after the NAS motherboard is powered on. In addition, the NAS motherboard 15 will also start a NAS-side migration server program. This program mainly has two functions in this mode. Functions: ① Switch the wireless network card 16 on the NAS motherboard to wireless migration mode and establish a wireless hotspot for the wireless migration card to connect; ② Based on NAS encryption, receive and store backups sent by the source computer program during the migration process. This mode requires two Only with the cooperation of the wireless migration card can the data or file migration operation between the source computer and the target computer be completed.
在NAS端迁移服务器程序启动后,会切换NAS主板15上的无线网卡16的工作状态,通过此无线网卡建立一个专供源计算机和目标计算机端无线迁移卡连接的隐藏无线热点,此时,将两个无线迁移卡分别连接至源计算机和目标计算机,然后在两台计算机的BIOS里面将其设置成从U盘启动,在源计算机和目标计算机启动时,会分别启动源计算机端和目标计算机端无线迁移卡中存储器C21和26D里面的启动系统,该系统启动后会通过各自无线迁移卡中的无线网卡C22和D27连接刚刚在迁移装置中建立的无线热点,并给无线网卡C22和D27绑定固定的IP地址,随后,在两个无线迁移卡的存储器中的迁移程序也随会之启动,其启动过程和连接架构与模式二完全相同,不同点在于此模式下的两台计算机以及NAS主板之间是通过无线进行互联的。After the NAS side migration server program is started, the working status of the wireless network card 16 on the NAS mainboard 15 will be switched, and a hidden wireless hotspot dedicated to the connection of the source computer and the target computer side wireless migration card will be established through this wireless network card. At this time, the Connect the two wireless migration cards to the source computer and the target computer respectively, and then set them to boot from the USB disk in the BIOS of the two computers. When the source computer and the target computer start, the source computer and the target computer will be started respectively. The startup system in the memories C21 and 26D in the wireless migration card. After startup, the system will connect to the wireless hotspot just established in the migration device through the wireless network cards C22 and D27 in the respective wireless migration cards, and bind the wireless network cards C22 and D27. Fixed IP address, and then the migration program in the memory of the two wireless migration cards will also be started. The startup process and connection structure are exactly the same as in mode two. The difference lies in the two computers and the NAS motherboard in this mode. They are interconnected through wireless.
此模式会启动NAS主板15,可以提供NAS服务,此模式既可以完成两台计算机之间的数据或文件迁移,也可以在NAS主板15中对被迁移的数据或文件进行备份,并且可以在两台计算机距离较远时进行文件迁移操作,此模式相比于模式一和模式二具有更高的灵活性。This mode will start the NAS motherboard 15, which can provide NAS services. This mode can not only complete data or file migration between two computers, but also back up the migrated data or files in the NAS motherboard 15, and can be used between two computers. The file migration operation is performed when the computers are far away. This mode has higher flexibility than Mode 1 and Mode 2.
实施例2Example 2
利用本发明多功能计算机数据存储及迁移装置的数据迁移方法,具体如下:The data migration method using the multifunctional computer data storage and migration device of the present invention is as follows:
通过切换多档位模式切换开关的档位,使多功能计算机数据存储及迁移装置的工作模式为USB迁移器模式、NAS+USB迁移器模式和NAS+无线迁移器模式中的任一档,并在选定的模式下进行两台计算机之间的数据迁移,或数据迁移及数据备份;By switching the position of the multi-position mode switch, the working mode of the multi-functional computer data storage and migration device is any one of USB migrator mode, NAS+USB migrator mode and NAS+wireless migrator mode, and in Perform data migration between two computers, or data migration and data backup in the selected mode;
当所述多功能计算机数据存储及迁移装置的工作模式为USB迁移器模式时,所述数据迁移方法包括以下步骤:When the working mode of the multifunctional computer data storage and migration device is the USB migrator mode, the data migration method includes the following steps:
S1、档位选择及设备连接:将多档位模式切换开关2的档位置于USB迁移器档位,并使源计算机和目标计算机不连接USB存储设备,将源计算机和目标计算机通过两个USB线分别与多功能计算机数据存储及迁移装置的第一USB母头3和第二USB母头14连接;S1. Gear selection and device connection: Set the multi-position mode switch 2 to the USB migrator position, and make sure that the source computer and target computer are not connected to USB storage devices. Connect the source computer and target computer through two USB The lines are respectively connected to the first USB female connector 3 and the second USB female connector 14 of the multifunctional computer data storage and migration device;
S2、迁移程序配对:在数据开始迁移之前,分别将源计算机和目标计算机通过BIOS设置为U盘启动,再重新启动源计算机和目标计算机,存储器A5上的源计算机端迁移程序与存储器B12上的目标计算机端迁移程序也随之启动,处于等待配对状态,在源计算机和目标计算机的数据迁移界面上显示一个随机的连接码和一个连接密码,随后这两个迁移程序都会通过TCP协议绑定固定的端口,等待连接;然后在源计算机或目标计算机的数据迁移界面输入另一台计算机的连接码和连接密码,将两台计算机上的迁移程序进行配对,配对成功后通过TCP协议在源计算机和目标计算机之间建立稳定的连接通道,并自动关闭配对状态;S2. Migration program pairing: Before data migration starts, set the source computer and target computer to USB boot through BIOS, then restart the source computer and target computer. The source computer migration program on storage A5 and the migration program on storage B12 The migration program on the target computer is also started and is waiting for pairing. A random connection code and a connection password are displayed on the data migration interface of the source computer and the target computer. Subsequently, the two migration programs will be bound and fixed through the TCP protocol. port and wait for the connection; then enter the connection code and connection password of another computer in the data migration interface of the source computer or target computer, and pair the migration programs on the two computers. After successful pairing, the source computer and the target computer use the TCP protocol. Establish a stable connection channel between the target computers and automatically close the pairing state;
S3、设备模式确定:完成两个迁移程序的配对后,两台计算机上的迁移程序进入设备模式确定阶段,在两台计算机的数据迁移界面显示设备模式确定的选项;所述源计算机端的迁移程序与目标计算机端的迁移程序有两种工作模式,分别为源机模式和目标机模式,其中,源计算机上的迁移程序应选择源机模式,目标计算机上的迁移程序应选择目标机模式;当其中一台计算机做出模式选择后,会通过步骤S2建立的TCP通道通知另一台计算机,另一台计算机会自动工作在另一种模式下;S3. Device mode determination: After completing the pairing of the two migration programs, the migration programs on the two computers enter the device mode determination stage, and the device mode determination options are displayed on the data migration interfaces of the two computers; the migration program on the source computer side The migration program on the target computer has two working modes, namely source machine mode and target machine mode. Among them, the migration program on the source computer should select the source machine mode, and the migration program on the target computer should select the target machine mode; when After one computer makes a mode selection, it will notify the other computer through the TCP channel established in step S2, and the other computer will automatically work in another mode;
S4、数据迁移:在确定了两个迁移程序的工作模式之后,就进入了数据迁移阶段,此时工作在目标机模式下的目标计算机端迁移程序进入等待状态,工作在源机模式下的源计算机端迁移程序进入文件选择状态,用户通过在源计算机上进行待迁移文件的选择和确认后,通过步骤S2建立的TCP通道发出迁移指令,源计算机端的迁移程序会根据用户选择的数据条目,自动生成一个迁移清单发送给目标计算机端的迁移程序,目标计算机端的迁移程序接收到迁移清单后会分析该清单文件并将其存储在临时文件夹供数据迁移过程和后期的数据比对使用,随后目标计算机上的数据迁移界面会弹出选择文件存储位置的对话框,存储位置选择完成后,点击确认按钮,开始进入数据迁移状态,在数据迁移的过程中,迁移程序会对每一条数据的完整性进行校验,对于迁移出错的文件,进行重新传输,待所有文件迁移完毕后,进入下一个阶段;S4. Data migration: After determining the working modes of the two migration programs, the data migration stage is entered. At this time, the migration program on the target computer working in the target machine mode enters a waiting state, and the source computer side working in the source machine mode enters a waiting state. The computer-side migration program enters the file selection state. After the user selects and confirms the files to be migrated on the source computer, the user issues a migration instruction through the TCP channel established in step S2. The source computer-side migration program will automatically Generate a migration manifest and send it to the migration program on the target computer. After receiving the migration manifest, the migration program on the target computer will analyze the manifest file and store it in a temporary folder for the data migration process and later data comparison. Then the target computer The data migration interface on the screen will pop up a dialog box for selecting the file storage location. After the storage location selection is completed, click the confirmation button to start entering the data migration state. During the data migration process, the migration program will verify the integrity of each piece of data. Verify, retransmit files with migration errors, and enter the next stage after all files are migrated;
S5、数据验证及报表导出:当数据迁移完成后,目标计算机端的迁移程序对数据进行比对和验证,对于缺失和比对出错的数据再次进行重新传输,在传输完成后,目标计算机端的迁移程序导出一份迁移报告,完成数据迁移。S5. Data verification and report export: After the data migration is completed, the migration program on the target computer compares and verifies the data, and retransmits the missing or incorrect data. After the transmission is completed, the migration program on the target computer Export a migration report to complete data migration.
当所述多功能计算机数据存储及迁移装置的工作模式为NAS+USB迁移器模式时,所述数据迁移方法包括以下步骤:When the working mode of the multifunctional computer data storage and migration device is NAS+USB migrator mode, the data migration method includes the following steps:
L1、档位选择及设备连接:将多档位模式切换开关2的档位置于NAS+USB迁移器档位,开启多功能计算机数据存储及迁移装置的工作电源,并使源计算机和目标计算机不连接USB存储设备,将源计算机和目标计算机通过两个USB线分别与多功能计算机数据存储及迁移装置的第一USB母头3和第二USB母头14连接;L1. Gear selection and device connection: Set the multi-position mode switch 2 to the NAS+USB migrator position, turn on the working power of the multi-function computer data storage and migration device, and make the source computer and target computer disconnected. Connect the USB storage device, and connect the source computer and the target computer to the first USB female connector 3 and the second USB female connector 14 of the multifunctional computer data storage and migration device through two USB cables;
L2、迁移程序配对:在数据开始迁移之前,分别将源计算机和目标计算机通过BIOS设置为U盘启动,再重新启动源计算机和目标计算机,存储器A5上的源计算机端迁移程序与存储器B12上的目标计算机端迁移程序也随之启动,处于等待配对状态,在源计算机和目标计算机的数据迁移界面上显示一个随机的连接码和一个连接密码,随后这两个迁移程序都会通过TCP协议绑定固定的端口,等待连接;然后在源计算机或目标计算机的数据迁移界面输入另一台计算机的连接码和连接密码,将两台计算机上的迁移程序进行配对,配对成功后通过TCP协议在源计算机和目标计算机之间建立稳定的连接通道,并自动关闭配对状态;L2. Migration program pairing: Before data migration starts, set the source computer and target computer to USB boot through BIOS, and then restart the source computer and target computer. The migration program on the source computer on storage A5 and the migration program on storage B12 The migration program on the target computer is also started and is waiting for pairing. A random connection code and a connection password are displayed on the data migration interface of the source computer and the target computer. Subsequently, the two migration programs will be bound and fixed through the TCP protocol. port and wait for the connection; then enter the connection code and connection password of another computer in the data migration interface of the source computer or target computer, and pair the migration programs on the two computers. After successful pairing, the source computer and the target computer use the TCP protocol. Establish a stable connection channel between the target computers and automatically close the pairing state;
L3、设备模式确定:完成两个迁移程序的配对后,两台计算机上的迁移程序进入设备模式确定阶段,在两台计算机的数据迁移界面显示设备模式确定的选项;所述源计算机端的迁移程序与目标计算机端的迁移程序有两种工作模式,分别为源机模式和目标机模式,其中,源计算机上的迁移程序应选择源机模式,目标计算机上的迁移程序应选择目标机模式;当其中一台计算机做出模式选择后,会通过步骤L2建立的TCP通道通知另一台计算机,另一台计算机会自动工作在另一种模式下;L3. Device mode determination: After completing the pairing of the two migration programs, the migration programs on the two computers enter the device mode determination stage, and the device mode determination options are displayed on the data migration interfaces of the two computers; the migration program on the source computer side The migration program on the target computer has two working modes, namely source machine mode and target machine mode. Among them, the migration program on the source computer should select the source machine mode, and the migration program on the target computer should select the target machine mode; when After one computer makes a mode selection, it will notify the other computer through the TCP channel established in step L2, and the other computer will automatically work in another mode;
L4、数据迁移及备份:在确定了两个迁移程序的工作模式之后,就进入了数据迁移阶段,此时工作在目标机模式下的目标计算机端迁移程序进入等待状态,工作在源机模式下的源计算机端迁移程序进入文件选择状态,用户通过在源计算机上进行待迁移文件的选择和确认后,此时在数据迁移界面出现是否将待迁移文件同步备份至NAS的复选框,用户对复选框进行勾选操作后,通过步骤L2建立的TCP通道发出迁移指令,源计算机端的迁移程序会根据用户选择的数据条目,自动生成一个迁移清单发送给目标计算机端的迁移程序,目标计算机端的迁移程序接收到迁移清单后会分析该清单文件并将其存储在临时文件夹供数据迁移过程和后期的数据比对使用,随后目标计算机上的数据迁移界面会弹出选择文件存储位置的对话框,存储位置选择完成后,点击确认按钮,开始进入数据迁移状态,在数据迁移的过程中,同步使迁移数据备份在NAS主板15上,同时迁移程序会对每一条数据的完整性进行校验,对于迁移出错的文件,进行重新传输,待所有文件迁移完毕后,进入下一个阶段;L4. Data migration and backup: After determining the working modes of the two migration programs, the data migration stage is entered. At this time, the migration program on the target computer working in the target machine mode enters a waiting state and works in the source machine mode. The migration program on the source computer enters the file selection state. After the user selects and confirms the files to be migrated on the source computer, a check box appears on the data migration interface to determine whether to synchronize the files to be migrated to the NAS. After the check box is checked, a migration instruction is issued through the TCP channel established in step L2. The migration program on the source computer will automatically generate a migration list based on the data entries selected by the user and send it to the migration program on the target computer. After receiving the migration manifest, the program will analyze the manifest file and store it in a temporary folder for use in the data migration process and later data comparison. Then the data migration interface on the target computer will pop up a dialog box to select the file storage location. After the location selection is completed, click the Confirm button to start entering the data migration state. During the data migration process, the migrated data will be backed up on the NAS motherboard 15 simultaneously. At the same time, the migration program will verify the integrity of each piece of data. For migration Error files will be retransmitted. After all files are migrated, enter the next stage;
L5、数据验证及报表导出:当数据迁移完成后,目标计算机端的迁移程序对数据进行比对和验证,对于缺失和比对出错的数据再次进行重新传输,在传输完成后,目标计算机端的迁移程序导出一份迁移报告,完成数据迁移。L5. Data verification and report export: After the data migration is completed, the migration program on the target computer compares and verifies the data, and retransmits the missing or incorrect data. After the transmission is completed, the migration program on the target computer Export a migration report to complete data migration.
当所述多功能计算机数据存储及迁移装置的工作模式为NAS+无线迁移器模式时,所述数据迁移方法包括以下步骤:When the working mode of the multifunctional computer data storage and migration device is NAS+wireless migrator mode, the data migration method includes the following steps:
M1、档位选择及设备连接:将多档位模式切换开关2的档位置于NAS+无线迁移器档位,开启多功能计算机数据存储及迁移装置的工作电源,并使源计算机和目标计算机不连接USB存储设备,将源计算机端和目标计算机端无线迁移卡分别插入源计算机和目标计算机的USB口;M1, gear selection and device connection: Set the multi-position mode switch 2 to the NAS + wireless migration position, turn on the working power of the multi-function computer data storage and migration device, and make the source computer and target computer unconnected USB storage device, insert the wireless migration cards on the source computer and the target computer into the USB ports of the source computer and target computer respectively;
M2、迁移程序配对:在数据开始迁移之前,分别将源计算机和目标计算机通过BIOS设置为U盘启动,再重新启动源计算机和目标计算机,存储器C20上的源计算机端迁移程序与存储器D26上的目标计算机端迁移程序也随之启动,处于等待配对状态,在源计算机和目标计算机的数据迁移界面上显示一个随机的连接码和一个连接密码,随后这两个迁移程序都会通过TCP协议绑定固定的端口,等待连接;然后在源计算机或目标计算机的数据迁移界面输入另一台计算机的连接码和连接密码,将两台计算机上的迁移程序进行配对,配对成功后通过TCP协议在源计算机和目标计算机之间建立稳定的连接通道,并自动关闭配对状态;M2. Migration program pairing: Before the data migration starts, set the source computer and the target computer to USB disk startup through BIOS, and then restart the source computer and target computer. The migration program on the source computer on the memory C20 is matched with the one on the memory D26. The migration program on the target computer is also started and is waiting for pairing. A random connection code and a connection password are displayed on the data migration interface of the source computer and the target computer. Subsequently, the two migration programs will be bound and fixed through the TCP protocol. port and wait for the connection; then enter the connection code and connection password of another computer in the data migration interface of the source computer or target computer, and pair the migration programs on the two computers. After successful pairing, the source computer and the target computer use the TCP protocol. Establish a stable connection channel between the target computers and automatically close the pairing state;
M3、设备模式确定:完成两个迁移程序的配对后,两台计算机上的迁移程序进入设备模式确定阶段,在两台计算机的数据迁移界面显示设备模式确定的选项;所述源计算机端的迁移程序与目标计算机端的迁移程序有两种工作模式,分别为源机模式和目标机模式,其中,源计算机上的迁移程序应选择源机模式,目标计算机上的迁移程序应选择目标机模式;当其中一台计算机做出模式选择后,会通过步骤M2建立的TCP通道通知另一台计算机,另一台计算机会自动工作在另一种模式下;M3. Device mode determination: After completing the pairing of the two migration programs, the migration programs on the two computers enter the device mode determination stage, and the device mode determination options are displayed on the data migration interfaces of the two computers; the migration program on the source computer side The migration program on the target computer has two working modes, namely source machine mode and target machine mode. Among them, the migration program on the source computer should select the source machine mode, and the migration program on the target computer should select the target machine mode; when After one computer makes a mode selection, it will notify the other computer through the TCP channel established in step M2, and the other computer will automatically work in another mode;
M4、数据迁移及备份:在确定了两个迁移程序的工作模式之后,就进入了数据迁移阶段,此时工作在目标机模式下的目标计算机端迁移程序进入等待状态,工作在源机模式下的源计算机端迁移程序进入文件选择状态,用户通过在源计算机上进行待迁移文件的选择和确认后,此时在数据迁移界面出现是否将待迁移文件同步备份至NAS的复选框,用户对复选框进行勾选操作后,通过步骤M2建立的TCP通道发出迁移指令,源计算机端的迁移程序会根据用户选择的数据条目,自动生成一个迁移清单发送给目标计算机端的迁移程序,目标计算机端的迁移程序接收到迁移清单后会分析该清单文件并将其存储在临时文件夹供数据迁移过程和后期的数据比对使用,随后目标计算机上的数据迁移界面会弹出选择文件存储位置的对话框,存储位置选择完成后,点击确认按钮,开始进入数据迁移状态,在数据迁移的过程中,同步使迁移数据备份在NAS主板15上,同时迁移程序会对每一条数据的完整性进行校验,对于迁移出错的文件,进行重新传输,待所有文件迁移完毕后,进入下一个阶段;M4. Data migration and backup: After determining the working modes of the two migration programs, the data migration stage is entered. At this time, the migration program on the target computer working in the target machine mode enters a waiting state and works in the source machine mode. The migration program on the source computer enters the file selection state. After the user selects and confirms the files to be migrated on the source computer, a check box appears on the data migration interface to determine whether to synchronize the files to be migrated to the NAS. After the check box is checked, a migration instruction is issued through the TCP channel established in step M2. The migration program on the source computer will automatically generate a migration list based on the data entries selected by the user and send it to the migration program on the target computer. After receiving the migration manifest, the program will analyze the manifest file and store it in a temporary folder for use in the data migration process and later data comparison. Then the data migration interface on the target computer will pop up a dialog box to select the file storage location. After the location selection is completed, click the Confirm button to start entering the data migration state. During the data migration process, the migrated data will be backed up on the NAS motherboard 15 simultaneously. At the same time, the migration program will verify the integrity of each piece of data. For migration Error files will be retransmitted. After all files are migrated, enter the next stage;
M5、数据验证及报表导出:当数据迁移完成后,目标计算机端的迁移程序对数据进行比对和验证,对于缺失和比对出错的数据再次进行重新传输,在传输完成后,目标计算机端的迁移程序导出一份迁移报告,完成数据迁移。M5. Data verification and report export: After the data migration is completed, the migration program on the target computer compares and verifies the data, and retransmits the missing or incorrect data. After the transfer is completed, the migration program on the target computer Export a migration report to complete data migration.
其中,所述迁移清单包括待迁移数据列表、每一条数据对应的文件名和md5值以及数据大小;所述数据迁移过程中对于迁移出错的文件进行重新传输,当尝试三次传输失败后放弃重新传输。The migration list includes a list of data to be migrated, the file name and md5 value corresponding to each piece of data, and the data size; during the data migration process, files with migration errors are retransmitted, and retransmission is given up after three transmission attempts fail.
所述数据迁移完成后,目标计算机端的迁移程序对迁移的数据进行比对和验证,是根据数据传输前接收到的迁移清单上的文件列表和每个文件的md5值对迁移的数据进行比对和验证;所述迁移报告的统计信息含有迁移成功的文件列表和迁移失败的文件列表以及迁移的数据量。After the data migration is completed, the migration program on the target computer compares and verifies the migrated data. It compares the migrated data based on the file list on the migration list received before data transmission and the md5 value of each file. and verification; the statistical information of the migration report includes a list of successfully migrated files, a list of files that failed to be migrated, and the amount of migrated data.
本发明的多功能计算机数据存储及迁移装置在五种工作模式下的使用方法如下所述。The usage methods of the multifunctional computer data storage and migration device of the present invention in five working modes are as follows.
本发明的多功能计算机数据存储及迁移装置通过选择多档位模式切换开关的一、二、三、四、五档位,对应五种运行模式,下面逐一说明五种模式的数据迁移方法。The multi-functional computer data storage and migration device of the present invention corresponds to five operating modes by selecting the first, second, third, fourth and fifth gears of the multi-position mode switch. The data migration methods of the five modes are explained one by one below.
1、USB迁移器模式(模式一)1. USB migrator mode (mode 1)
(1)准备好多功能计算机数据存储及迁移装置和待实施数据迁移的两台计算机(假设目标计算机为PC-A、源计算机为PC-B),确保拔下所有与PC-A和PC-B连接的USB存储设备,然后通过两个USB延长线18分别将PC-A和PC-B连接至多功能计算机数据存储及迁移装置的对应端USB母头,通过多档位模式切换开关2将迁移装置的模式切换至USB迁移器模式,迁移装置和两台计算机之间的连接如图2所示;(1) Prepare the multi-function computer data storage and migration device and the two computers to be migrated (assuming the target computer is PC-A and the source computer is PC-B). Make sure to unplug all connections between PC-A and PC-B. Connect the USB storage device, and then connect PC-A and PC-B to the corresponding USB female connector of the multi-function computer data storage and migration device through two USB extension cables 18, and switch the migration device through the multi-position mode switch 2 mode to switch to USB migrator mode, the connection between the migration device and the two computers is shown in Figure 2;
(2)设置PC-A为U盘启动:按下PC-A的电源按钮,紧接着按下PC-A键盘上的DEL键(部分机器为F2键)进入BIOS,将PC-A设置为从U盘启动,随后重启PC-A;(2) Set PC-A to boot from the USB disk: Press the power button of PC-A, then press the DEL key on the keyboard of PC-A (the F2 key on some machines) to enter the BIOS, and set PC-A to boot from the USB disk. Start the USB disk and then restart PC-A;
(3)设置PC-B为U盘启动:同步骤(3),将盘PC-B设置为从U盘启动,并重新启动PC-B;(3) Set PC-B to boot from the USB flash drive: Same as step (3), set PC-B to boot from the USB flash drive, and restart PC-B;
(4)此时两台计算机会分别启动迁移装置内部存储器A上的启动系统,启动系统启动成功后将在两台计算机主机上出现客户端程序的操作界面,在此界面完成两台电脑上迁移程序的配对操作和模式选择操作,将PC-A上的迁移程序设置为目标机模式,将PC-B上的迁移程序设置为源机模式;(4) At this time, the two computers will respectively start the startup system on the internal memory A of the migration device. After the startup system is successfully started, the operation interface of the client program will appear on the two computer hosts, and the migration on the two computers will be completed on this interface. For the pairing operation and mode selection operation of the program, set the migration program on PC-A to the target machine mode, and set the migration program on PC-B to the source machine mode;
(5)此时,PC-B(源计算机)上的迁移程序进入文件选择状态,迁移程序已经默认帮用户选择好了要迁移的文件(默认为全盘迁移),用户也可以根据自己的意愿选择性的勾选要迁移的文件,等所有设置完成之后,在PC-B上的客户端程序中点击“开始迁移”按钮,此时,PC-A(目标计算机)上的客户端程序将弹出迁移确认对话框,当用户点击“确认开始”按钮并选择迁移过来的文件在目标计算机上的存放位置之后,两台计算机就开始了全自动的迁移过程;(5) At this time, the migration program on PC-B (source computer) enters the file selection state. The migration program has already selected the files to be migrated by default for the user (the default is full disk migration). The user can also choose according to his own wishes. Select the files to be migrated. After all settings are completed, click the "Start Migration" button in the client program on PC-B. At this time, the client program on PC-A (target computer) will pop up the migration In the confirmation dialog box, when the user clicks the "Confirm Start" button and selects the storage location of the migrated files on the target computer, the two computers begin the fully automatic migration process;
(6)整个迁移过程是全自动的,在此期间不需要用户值守,等待文件迁移完成之后,迁移程序会自动对所有文件进行完整性校验并对出错的文件进行重新传输,整个过程完成后PC-A和PC-B上的客户端程序都会导出一个迁移报表,其中显示了关于本次迁移的详细信息。(6) The entire migration process is fully automatic, and no user is required to be on duty during this period. After the file migration is completed, the migration program will automatically check the integrity of all files and retransmit the erroneous files. After the entire process is completed, The client programs on PC-A and PC-B will export a migration report, which displays detailed information about this migration.
(7)至此,整个迁移过程就完成了,随后将PC-A和PC-B关机后拔下与迁移装置连接的USB延长线18后,重启PC-A和PC-B后就可以正常使用计算机里面的原系统了。(7) At this point, the entire migration process is completed. Then shut down PC-A and PC-B and unplug the USB extension cable 18 connected to the migration device. After restarting PC-A and PC-B, you can use the computer normally. The original system is inside.
2、USB硬盘盒模式(模式二)2. USB hard disk box mode (mode 2)
(1)准备好多功能计算机数据存储及迁移装置和要读取NAS硬盘的计算机(假设为PC-A),通过多档位模式开关2将迁移装置的模式切换至USB硬盘盒模式,打开PC-A的电源,然后通过USB延长线将迁移装置的源计算机端和PC-A连接起来,迁移装置和计算机之间的连接如图3所示;(1) Prepare the multifunctional computer data storage and migration device and the computer (assumed to be PC-A) to read the NAS hard disk. Use the multi-position mode switch 2 to switch the mode of the migration device to the USB hard disk box mode, and turn on the PC-A. A's power supply, and then connect the source computer side of the migration device to PC-A through a USB extension cable. The connection between the migration device and the computer is shown in Figure 3;
(2)此时PC-A便可以对NAS主板上的硬盘进行读写,在操作完成之后,在PC-A里弹出NAS硬盘,然后拔掉PC-A与迁移装置之间的USB延长线即可。(2) At this time, PC-A can read and write the hard disk on the NAS motherboard. After the operation is completed, eject the NAS hard disk in PC-A, and then unplug the USB extension cable between PC-A and the migration device. Can.
3、NAS模式(模式三)3. NAS mode (mode three)
(1)将迁移装置连接至电源后通过多档位模式开关2将迁移装置的模式切换至NAS模式,此时迁移装置中的NAS主板会通电并运行NAS操作系统,运行完成后路由程序通过NAS主板上的无线网卡16建立一个无线热点,开启无线路由功能;(1) After connecting the migration device to the power supply, switch the mode of the migration device to NAS mode through the multi-position mode switch 2. At this time, the NAS motherboard in the migration device will be powered on and run the NAS operating system. After the operation is completed, the routing program will pass through the NAS The wireless network card 16 on the motherboard establishes a wireless hotspot and turns on the wireless routing function;
(2)将用户的计算机和迁移装置连接至同一个局域网,或者连接迁移装置开启的无线热点;(2) Connect the user's computer and the migration device to the same local area network, or connect to the wireless hotspot turned on by the migration device;
(3)在用户的计算机上打开NAS客户端程序,此时NAS客户端程序会自动扫描NAS主板启动的NAS服务,扫描成功后点击连接按钮连接至NAS主板15;(3) Open the NAS client program on the user's computer. At this time, the NAS client program will automatically scan the NAS service started by the NAS motherboard. After the scan is successful, click the connect button to connect to the NAS motherboard 15;
(4)此时用户的计算机已经连接迁移装置的NAS主板15,NAS用户输入账号密码即可登录到NAS(若是首次连接,NAS会提示用户设置登录账号和口令);(4) At this time, the user's computer has been connected to the NAS motherboard 15 of the migration device, and the NAS user can log in to the NAS by inputting the account and password (if this is the first connection, the NAS will prompt the user to set the login account and password);
(5)在登录到NAS之后,用户就可以通过NAS客户端程序访问NAS,也可以修改NAS的网络模式及其他配置。(5) After logging in to the NAS, the user can access the NAS through the NAS client program, and can also modify the network mode and other configurations of the NAS.
4、NAS+USB迁移器模式(模式四)4. NAS+USB migrator mode (mode four)
(1)准备好多功能计算机数据存储及迁移装置和待实施数据迁移的源计算机和目标计算机(假设目标计算机为PC-A、源计算机为PC-B),确保拔下所有与PC-A和PC-B连接的USB存储设备,然后通过两个USB延长线18分别将PC-A和PC-B连接至多功能计算机数据存储及迁移装置的对应端USB母头,通过多档位模式切换开关2将模式切换至NAS+USB迁移器模式,多功能计算机数据存储及迁移装置和计算机之间的连接如图2所示;(1) Prepare the multifunctional computer data storage and migration device and the source and target computers to be migrated (assuming that the target computer is PC-A and the source computer is PC-B). Make sure to unplug all connections between PC-A and PC. -B connected USB storage device, and then connect PC-A and PC-B to the corresponding USB female connector of the multi-function computer data storage and migration device through two USB extension cables 18, and use the multi-position mode switch 2 to The mode is switched to NAS+USB migrator mode, and the connection between the multifunctional computer data storage and migration device and the computer is as shown in Figure 2;
(2)同模式一的第(2)步;(2) Same as step (2) in Mode 1;
(3)同模式一的第(3)步;(3) Same as step (3) in Mode 1;
(4)同模式一的第(4)步;(4) Same as step (4) in Mode 1;
(5)此时,PC-B(源计算机)上的迁移程序进入文件选择状态,迁移程序已经默认帮用户选择好了要迁移的文件(默认为全盘迁移),用户也可以根据自己的意愿选择性的勾选要迁移的文件,选择好文件之后点击下一步,此时界面上将出现一个带有“是否将待迁移文件同步备份至NAS”的复选框,用户可以根据自己的意愿对复选框进行勾选操作,等所有设置完成之后,在PC-B(源计算机)上的客户端程序中点击“开始迁移”按钮,此时,PC-A(目标计算机)上的客户端程序将弹出迁移确认对话框,当用户点击“确认开始”按钮并选择迁移过来的文件在目标计算机上的存放位置之后,两台计算机就开始了全自动的迁移过程;(5) At this time, the migration program on PC-B (source computer) enters the file selection state. The migration program has already selected the files to be migrated by default for the user (the default is full disk migration). The user can also choose according to his own wishes. Select the files to be migrated, and click Next after selecting the files. At this time, a check box with "Whether to synchronize the files to be migrated to the NAS" will appear on the interface. The user can adjust the backup according to his own wishes. Check the box. After all settings are completed, click the "Start Migration" button in the client program on PC-B (source computer). At this time, the client program on PC-A (target computer) will A migration confirmation dialog box pops up. When the user clicks the "Confirm Start" button and selects the storage location of the migrated files on the target computer, the two computers begin the fully automatic migration process;
(6)同模式一的第(6)步;(6) Same as step (6) in Mode 1;
(7)同模式一的第(7)步。(7) Same as step (7) of Mode 1.
5、NAS+无线迁移器模式(模式五)5. NAS+wireless migrator mode (mode five)
(1)准备好多功能计算机数据存储及迁移装置和待实施数据迁移的源计算机和目标计算机(假设目标计算机为PC-A、源计算机为PC-B),确保拔下所有与PC-A和PC-B连接的USB存储设备,然后将无线迁移卡插入对应的源计算机和目标计算机之上,通过多档位模式切换开关2将多功能计算机数据存储及迁移装置切换至NAS+无线迁移器模式,无线迁移卡和计算机、迁移装置之间的连接如图4所示;(1) Prepare the multifunctional computer data storage and migration device and the source and target computers to be migrated (assuming that the target computer is PC-A and the source computer is PC-B). Make sure to unplug all connections between PC-A and PC. -B connected USB storage device, then insert the wireless migration card into the corresponding source computer and target computer, and switch the multi-function computer data storage and migration device to NAS + wireless migrator mode through the multi-position mode switch 2, wireless The connection between the migration card, computer, and migration device is shown in Figure 4;
(2)同模式一的第(2)步;(2) Same as step (2) in Mode 1;
(2)同模式一的第(2)步;(2) Same as step (2) in Mode 1;
(3)同模式一的第(3)步;(3) Same as step (3) in Mode 1;
(4)同模式一的第(4)步;(4) Same as step (4) in Mode 1;
(5)同模式四的第(5)步;(5) Same as step (5) of mode 4;
(6)同模式一的第(6)步;(6) Same as step (6) in Mode 1;
(7)同模式一的第(7)步。(7) Same as step (7) of Mode 1.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110476271.4A CN113114784B (en) | 2021-04-29 | 2021-04-29 | Multifunctional computer data storage and migration device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110476271.4A CN113114784B (en) | 2021-04-29 | 2021-04-29 | Multifunctional computer data storage and migration device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113114784A CN113114784A (en) | 2021-07-13 |
CN113114784B true CN113114784B (en) | 2024-03-26 |
Family
ID=76720525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110476271.4A Active CN113114784B (en) | 2021-04-29 | 2021-04-29 | Multifunctional computer data storage and migration device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113114784B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112231303A (en) * | 2020-12-10 | 2021-01-15 | 北京蒙帕信创科技有限公司 | Data migration system and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6795835B2 (en) * | 2000-05-19 | 2004-09-21 | Centerbeam, Inc. | Migration of computer personalization information |
JP4349871B2 (en) * | 2003-09-09 | 2009-10-21 | 株式会社日立製作所 | File sharing apparatus and data migration method between file sharing apparatuses |
-
2021
- 2021-04-29 CN CN202110476271.4A patent/CN113114784B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112231303A (en) * | 2020-12-10 | 2021-01-15 | 北京蒙帕信创科技有限公司 | Data migration system and method |
Non-Patent Citations (1)
Title |
---|
基于开源KVM的服务器虚拟机迁移方案研究;李阳阳;;计算机安全(08);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113114784A (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI594600B (en) | Network switch and method of updating a device using a network switch | |
US10936295B2 (en) | Software update system | |
CN114003445B (en) | BMC I2C monitoring function test method, system, terminal and storage medium | |
CN112328440A (en) | Hard disk physical position determining method and device | |
WO2017036330A1 (en) | Service configuration method and device for network cutover | |
CN100438453C (en) | A system and method to test network card | |
CN112542206A (en) | LPDDR test method, device, readable storage medium and electronic equipment | |
CN109451098A (en) | FPGA accelerator card MAC Address configuration method, device and accelerator card | |
CN111367756A (en) | Remote viewing method, system, terminal and storage medium for hard disk serial port log | |
CN116627861B (en) | Expander-based data processing method, system, electronic device and storage medium | |
CN103138941B (en) | The communication means of server rack system | |
CN110096112B (en) | Hard disk device, hard disk adapter device, network device and hard disk connection method | |
CN102884515B (en) | Serial port redirection processing method, device and system | |
CN115562810A (en) | Full-automatic deployment method and device for shared storage cluster of database all-in-one machine | |
CN114115955B (en) | Method, system, terminal and storage medium for upgrading FPGA firmware of server resource box | |
CN113114784B (en) | Multifunctional computer data storage and migration device and method | |
CN115185675A (en) | Server cluster deployment method, system, computing device and readable storage medium | |
CN105516429B (en) | A terminal disconnection processing method and system | |
CN105760456B (en) | A kind of method and apparatus keeping data consistency | |
CN109783031B (en) | Method, device, terminal and storage medium for checking drive letter and slot number of RAID card | |
CN113114783B (en) | Computer data migration device and method | |
CN116627729A (en) | External cable, external cable presence detection device, power-on self-inspection method and system | |
CN114637669A (en) | Device management method, device, device and storage medium | |
US20150195366A1 (en) | Switching device, non-transitory computer readable medium and zoning setting method | |
CN114564237B (en) | Disk array card connection link expansion method, system, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241224 Address after: Room 601, Building A, Yuecheng, No. 36 Jumaxi Street, Changzhi City, Shanxi Province, China 046000 Patentee after: Shanxi Yunxin Technology Co.,Ltd. Country or region after: China Address before: 030000 room 906, 9 / F, block B, Hongtai international building, 75 Longcheng street, Xiaodian District, Taiyuan City, Shanxi Province Patentee before: Shanxi Yunxin New Generation Information Technology Research Institute Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |