CN113114783B - Computer data migration device and method - Google Patents

Computer data migration device and method Download PDF

Info

Publication number
CN113114783B
CN113114783B CN202110476225.4A CN202110476225A CN113114783B CN 113114783 B CN113114783 B CN 113114783B CN 202110476225 A CN202110476225 A CN 202110476225A CN 113114783 B CN113114783 B CN 113114783B
Authority
CN
China
Prior art keywords
usb
migration
computer
data
shell
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
Application number
CN202110476225.4A
Other languages
Chinese (zh)
Other versions
CN113114783A (en
Inventor
王志宏
段启岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanxi Yunxin New Generation Information Technology Research Institute Co ltd
Original Assignee
Shanxi Yunxin New Generation Information Technology Research Institute Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanxi Yunxin New Generation Information Technology Research Institute Co ltd filed Critical Shanxi Yunxin New Generation Information Technology Research Institute Co ltd
Priority to CN202110476225.4A priority Critical patent/CN113114783B/en
Publication of CN113114783A publication Critical patent/CN113114783A/en
Application granted granted Critical
Publication of CN113114783B publication Critical patent/CN113114783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

The invention discloses a computer data migration device and a method, the device comprises a data migration circuit, a first USB deconcentrator in the data migration circuit is directly connected with a first USB wire or is connected with the first USB wire through a first USB female port, and a memory A and a first network card are connected to the first USB deconcentrator; the second USB deconcentrator is directly connected with the second USB line, or is connected with the second USB line through a second USB female port, and the memory B and the second network card are connected to the second USB deconcentrator; the first network card and the second network card are directly connected through a network cable. The method comprises the steps of connecting two computers with a data migration device, pairing migration programs of a source computer and a target computer, determining the working mode of the computers, starting data migration, and verifying data and exporting a report after completion. The invention has simple structure and high stability; the method has the advantages of simplicity, easiness in use, cross-platform use, driving-free, corresponding resetting of the file position and the like.

Description

Computer data migration device and method
Technical Field
The invention relates to the technical field of computers, in particular to a computer data migration device and method.
Background
The development of the computer industry is rapid nowadays, computer equipment basically covers the aspects of daily life and offices of people, computer technology is very different day by day, a CPU and an operating system separate a plurality of different technical routes, and new and old equipment is replaced more and more frequently. The data volume stored on the computer is larger and larger, and in the process of each device replacement, a large amount of data files on the old device need to be migrated to the new device, so that the problem of large data volume migration needs to be solved, wherein the phenomenon of data migration between different CPU architectures and different operating systems is more and more, and the file system formats of the different operating systems are different, so that the data migration process is also greatly plagued. .
The most commonly used data migration method at present is to manually copy the data of old equipment to a USB flash disk or a mobile hard disk, then copy the data to new equipment through the USB flash disk or the mobile hard disk, manually carry out multiple file moving operations in the process, the whole process is extremely easy to have the conditions of file missing copying and repeated copying, the situation of file damage can also occur in the copying process, the damaged file is extremely difficult to be checked under the condition of large file quantity, file arrangement is also required to be carried out manually aiming at different operating systems after the copying is completed, the process is complex, time consuming and the migration effect is not ideal.
Disclosure of Invention
In order to overcome the above problems, an object of the present invention is to provide a computer data migration apparatus and method. The invention can conveniently and stably transfer data or files between two computers.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
the data migration device of the computer comprises a shell and a data migration circuit arranged in the shell, wherein the data migration circuit comprises a first USB deconcentrator, a second USB deconcentrator, a memory A for storing a starting system and a migration program of a source computer, a memory B for storing a starting system and a migration program of a target computer, a first network card and a second network card; the USB connector of the first USB deconcentrator is directly connected with the first USB wire and extends the first USB wire out of the shell, or is connected with the first USB wire through the first USB female head arranged on the shell, and the memory A and the first network card are both connected to the first USB deconcentrator; the USB connector of the second USB deconcentrator is directly connected with the second USB wire and extends out of the shell, or is connected with the second USB wire through a second USB female head arranged on the shell, and the memory B and the second network card are both connected to the second USB deconcentrator; the first network card and the second network card are directly connected through a network cable.
Further, when the USB connector of the first USB deconcentrator is directly connected with the first USB wire and extends out of the shell, the first USB wire is a single common head USB wire, and a protection buckle is arranged at the contact position of the first USB wire and the shell; when the USB connector of the second USB deconcentrator is directly connected with the second USB line and extends out of the shell, the second USB line is a single common head USB line, and a protection buckle is arranged at the contact position of the second USB line and the shell.
Still further, when the USB connector of the first USB deconcentrator is connected to the first USB wire through the first USB female connector disposed on the housing, the first USB wire is a dual male USB wire, and the first USB female connector is connected to the first USB wire in a freely pluggable manner; when the USB connector of the second USB deconcentrator is connected with the second USB line through the second USB female connector arranged on the shell, the second USB line is a double male USB line, and the second USB female connector is connected with the second USB line in a freely pluggable mode.
Further, when the USB connector of the first USB cable splitter is directly connected to the first USB cable and extends out of the housing, a mark is provided at a contact position between the housing and the first USB cable, for marking a connection source computer; when the USB connector of the second USB deconcentrator is directly connected with the second USB wire and extends out of the shell, the contact position of the shell and the second USB wire is provided with a mark for marking the connection target computer.
Further, when the USB connector of the first USB deconcentrator is connected to the first USB cable through the first USB female connector disposed on the housing, the connection location between the housing and the first USB female connector is provided with a identifier, which is used for identifying and connecting to the source computer; when the USB connector of the second USB deconcentrator is connected with the second USB line through the second USB female connector arranged on the shell, an identifier is arranged at the joint of the shell and the second USB female connector and used for identifying the connection target computer.
Further, the first network card and the second network card are both ethernet cards; the source computer is a computer from which data is migrated, and the target computer is a computer that receives data.
Further, when the USB connector of the first USB deconcentrator is directly connected to the first USB wire and extends the first USB wire out of the housing, and the USB connector of the second USB deconcentrator is directly connected to the second USB wire and extends the second USB wire out of the housing, the first USB deconcentrator, the second USB deconcentrator, the memory a, the memory B, the first network card and the second network card are all integrated on the PCB board and are installed in the housing; when the USB connector of the first USB deconcentrator is connected with a first USB line through a first USB female connector arranged on the shell, the USB connector of the second USB deconcentrator is connected with a second USB line through a second USB female connector arranged on the shell; the first USB female connector, the first USB deconcentrator, the second USB deconcentrator, the memory A, the memory B, the first network card, the second network card and the second USB female connector are integrated on the PCB, are installed in the shell, and fix the first USB female connector and the second USB female connector on the shell.
A data migration method using a computer data migration apparatus, comprising the steps of:
(1) And (3) equipment connection: preparing a computer data migration device and a source computer and a target computer to be subjected to data migration, ensuring that the source computer and the target computer are not connected with USB storage equipment, and connecting the source computer and the target computer with the computer data migration device through a first USB line and a second USB line respectively;
(2) Connection pairing: before data starts to migrate, ensuring that a source computer and a target computer are not connected with other USB storage devices, respectively setting the source computer and the target computer as USB flash drives through BIOS (basic input output System), restarting the source computer and the target computer, starting a source computer end migration program on a storage A and a target computer end migration program on a storage B, and displaying a random connection code and a connection code on a data migration interface of the source computer and the target computer in a waiting pairing state, wherein the two migration programs are bound to fixed ports through TCP (transmission control protocol) protocol and wait for connection; then inputting a connection code and a connection password of the other computer in a data migration interface of the source computer or the target computer, pairing migration programs on the two computers, establishing a stable connection channel between the source computer and the target computer through a TCP protocol after successful pairing, and automatically closing a pairing state;
(3) Device mode determination: after the pairing of the two migration programs is completed, the migration programs on the two computers enter a device mode determining stage, and options for determining the device mode are displayed on a data migration interface of the two computers; the migration program of the source computer end and the migration program of the target computer end have two working modes, namely a source computer mode and a target computer mode, wherein the migration program on the source computer should select the source computer mode, and the migration program on the target computer should select the target computer mode; when one computer makes a mode selection, notifying the other computer through the TCP channel established in the step (2), and automatically working in the other mode by the other computer;
(4) And (3) data migration: after the working modes of the two migration programs are determined, a data migration stage is entered, at this time, the migration program of the target computer end working in the target computer mode enters a waiting state, the migration program of the source computer end working in the source computer mode enters a file selection state, after the selection and confirmation of files to be migrated are carried out on the source computer by a user, a migration instruction is sent out through the TCP channel established in the step (2), the migration program of the source computer end automatically generates a migration list according to the data item selected by the user and sends the migration program to the target computer end, the migration program of the target computer end analyzes the list file after receiving the migration list and stores the list file in a temporary folder for data comparison in a data migration process and a later stage, then a data migration interface on the target computer pops up a dialog box for selecting a file storage position, after the selection of the storage position is completed, the user clicks a confirmation button to start entering the data migration state, the migration program checks the integrity of each piece of data, retransmits the files with errors, and after all the files are migrated, and enters the next stage;
(5) Data verification and report export: after the data migration is completed, the migration program of the target computer side compares and verifies the data, the missing and comparison error data is retransmitted again, and after the transmission is completed, the migration program of the target computer side derives a migration report to complete the data migration.
Further, the migration list comprises a data list to be migrated, a file name and an md5 value corresponding to each piece of data and a data size; and retransmitting the file with the migration error in the data migration process, and discarding retransmission after three transmission attempts are failed.
Further, after the data migration is completed, the migration program of the target computer end compares and verifies the migrated data according to a file list on a migration list received before data transmission and an md5 value of each file; the statistical information included in the migration report includes a file list with successful migration, a file list with failed migration and the amount of data migrated.
The method is suitable for migration of data or files between two computers.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention has simple structure and high stability: the source computer and the target computer are connected through the USB familiar to the user, and the two computers are internally provided with the starting system and the migration program in the migration device, so that data or file migration operation can be performed under the condition that the original operating system of the computer is not started, the influence on data or file migration during the operation of the original system is effectively eliminated, the use is simple, and the whole migration process is quite stable and reliable.
2. File location corresponds to reset: in the migration operation, the migration software program can automatically migrate the files and folders to the target computer, and the files and folders are correspondingly sorted according to the storage positions of the files and folders in the source computer, so that the storage positions of the files before and after migration are basically the same, and the files and folders are convenient for a user to use according to the original storage positions and search.
3. Cross-platform: the migration device supports various software and hardware platforms, and one set of migration device can complete file migration work under various platforms and scenes.
4. Can be repeatedly used: the migration device can be reused, and one set of migration device can complete multiple migration operations.
5. And (3) data verification: the migration device can carry out integrity check on the data in the migration process and after the migration is finished, and can automatically carry out alarm prompt or retransmission on the file with the migration error.
6. Drive-free: the invention does not require the user to install any additional programs or drivers on the computer during the whole migration implementation.
Drawings
Fig. 1 is a schematic structural view of embodiment 1 of the present invention.
Fig. 2 is a schematic structural view of embodiment 2 of the present invention.
Fig. 3 is a diagram showing the use of the data migration apparatus according to embodiment 3 of the present invention.
In the figure, a 1-first USB deconcentrator, a 2-second USB deconcentrator, a 3-memory A, a 4-memory B, a 5-first network card, a 6-second network card, a 7-first USB female head, an 8-second USB female head, a 9-first USB wire, a 10-second USB wire and an 11-shell.
Detailed Description
The technical scheme of the invention is further described by the following specific examples. It should be apparent to those skilled in the art that the detailed description is merely provided to aid in understanding the invention and should not be taken as limiting the invention in any way.
Example 1
As shown in fig. 1, a computer data migration device includes a housing 11 and a data migration circuit disposed in the housing 11, where the data migration includes a first USB splitter 1, a second USB splitter 2, a memory A3 for storing a startup system and a migration program of a source computer, a memory B4 for storing a startup system and a migration program of a target computer, a first network card 5, and a second network card 6; the USB connector of the first USB deconcentrator 1 is directly connected with the first USB line 9 and extends out of the shell 11, and the memory A3 and the first network card 5 are connected to the first USB deconcentrator 1; the USB connector of the second USB deconcentrator 2 is directly connected to the second USB cable 10 and extends to the outside of the housing 11, and the memory B4 and the second network card 6 are both connected to the second USB deconcentrator 2; the first network card 5 and the second network card 6 are directly connected through a network cable.
The first USB line and the second USB line are Shan Gong USB lines and are respectively used for connecting a source computer and a target computer. Protective buckles are respectively arranged at contact positions of the first USB wire 9, the second USB wire 10 and the shell 11, and the first USB wire 9 and the second USB wire 10 are respectively fixed on the shell 11; an identifier is arranged beside the contact position of the shell 11 and the first USB line 9 and is used for identifying a connection source computer; the contact position of the housing 11 and the second USB cable 10 is provided with a mark for identifying the connection destination computer. The first USB deconcentrator 1, the second USB deconcentrator 2, the memory A3, the memory B4, the first network card 5 and the second network card 6 in the data migration circuit are all integrated on a PCB board and are installed in the housing 11.
Example 2
As shown in fig. 2, a computer data migration device includes a housing 11 and a data migration circuit disposed in the housing 11, where the data migration includes a first USB splitter 1, a second USB splitter 2, a memory A3 for storing a startup system and a migration program of a source computer, a memory B4 for storing a startup system and a migration program of a target computer, a first network card 5, and a second network card 6; the USB connector of the first USB deconcentrator 1 is connected with a first USB line 9 through a first USB female head 7 arranged on a shell 11, and a memory A3 and a first network card 5 are both connected to the first USB deconcentrator 1; the USB connector of the second USB deconcentrator 2 is connected with a second USB line 10 through a second USB female connector 8 arranged on a shell 11, and the memory B4 and the second network card 6 are connected to the second USB deconcentrator 2; the first network card 5 and the second network card 6 are directly connected through a network cable.
The first USB wire and the second USB wire are double-male-head USB wires, the wiring end of the first USB female head 7 is connected with the first USB deconcentrator 1, and the female head end of the first USB female head 7 is connected with the first USB wire 9 in a free plug-in mode; the wiring end of the second USB female connector 8 is connected with the second USB deconcentrator 2, and the female connector end of the second USB female connector 8 is connected with the second USB line 10 in a free plug-in mode. An identifier is arranged at the joint of the shell 11 and the first USB female head 7 and used for identifying a connecting source computer; the connection part of the shell and the second USB female head is provided with a mark for marking the connection target computer. The first USB deconcentrator 1, the second USB deconcentrator 2, the memory A3, the memory B4, the first network card 5 and the second network card 6 in the internal circuit are all printed on a PCB and are installed in the shell 11.
In the above embodiments, the source computer refers to a computer that migrates data, and the target computer refers to a computer that receives data. The first USB cable 9 and the second USB cable 10 are used to connect a source computer and a destination computer.
The starting systems of the source computer and the target computer stored in the memory A and the memory B are Linux operating systems free of open source, and the migration program is used for driving a data migration circuit to realize data migration between the source computer and the target computer.
Example 3
A data migration method using a computer data migration apparatus, comprising the steps of:
(1) And (3) equipment connection: preparing a computer data migration device and a source computer and a target computer to be subjected to data migration, pulling out all USB storage devices on the source computer and the target computer, and connecting the source computer and the target computer with the computer data migration device through a first USB line 9 and a second USB line 10 respectively;
(2) Connection pairing: before data starts to migrate, respectively setting a source computer and a target computer as U disk for starting through BIOS, restarting the source computer and the target computer, starting a source computer migration program on a memory A3 and a target computer migration program on a memory B4, and displaying a random connection code and a connection password on a data migration interface of the source computer and the target computer in a waiting pairing state, wherein the two migration programs are bound to fixed ports through TCP protocol and wait for connection; then selecting a data migration interface of a source computer or a target computer to input a connection code and a connection password of the other computer, pairing migration programs on the two computers, establishing a stable connection channel between the source computer and the target computer through a TCP protocol after successful pairing, and automatically closing a pairing state;
(3) Device mode determination: after the pairing of the two migration programs is completed, the migration programs on the two computers enter a device mode determining stage, and options for determining the device mode are displayed on a data migration interface of the two computers; the migration program of the source computer end and the migration program of the target computer end have two working modes, namely a source computer mode and a target computer mode, wherein the migration program on the source computer should select the source computer mode, and the migration program on the target computer should select the target computer mode; when one computer makes a mode selection, notifying the other computer through the TCP channel established in the step (2), and automatically working in the other mode by the other computer;
(4) And (3) data migration: after the working modes of the two migration programs are determined, entering a data migration stage, wherein the migration program of the target computer side working in the target computer mode enters a waiting state, the migration program of the source computer side working in the source computer mode enters a file selection state, a user sends a migration instruction through a TCP channel established in the step (2) after selecting and confirming a file to be migrated on the source computer, and the migration program of the source computer side automatically generates a migration list according to a data item selected by the user and sends the migration list to the migration program of the target computer side, wherein the migration list comprises a list of data to be migrated, file names and md5 values corresponding to each piece of data and the data size; after receiving the migration list, the migration program of the target computer end analyzes the list file and stores the list file in a temporary folder for data comparison in a data migration process and a later period, then a data migration interface on the target computer pops up a dialog box for selecting a file storage position, after the storage position is selected, a confirmation button is clicked to start entering a data migration state, in the data migration process, the migration program can verify the integrity of each piece of data, and retransmits the file with the migration error, and after three transmission attempts fail, the retransmission is abandoned, and after all the files are migrated, the next period is entered;
(5) Data verification and report export: after the data migration is completed, the migration program of the target computer end compares and verifies the data, specifically, compares and verifies the migrated data according to a file list on a migration list received before the data transmission and the md5 value of each file; and retransmitting the missing and comparison error data again, and after the transmission is completed, exporting a migration report by a migration program of the target computer end to complete data migration. The statistical information included in the migration report includes a file list with successful migration, a file list with failed migration and the amount of data migrated.
By using the data migration method of the invention, a user can automatically start the data or file migration operation only by simple setting, and the following specific data migration operation flow is as follows:
(1) Assuming that the target computer is PC-A and the source computer is PC-B, ensuring that all USB storage devices on the PC-A and the PC-B are pulled out, and then connecting the source computer and the target computer to corresponding ends of se:Sub>A computer datse:Sub>A migration device, wherein the connection between the datse:Sub>A migration device and the two computers is shown in FIG. 3;
(2) Setting PC-A as USB flash disk start: pressing the power button of PC-A, then pressing the DEL key (part of the computer is the F2 key) on the PC-A keyboard into bios, setting PC-A to be started from the U disk, and then restarting PC-A;
(3) Setting PC-B as USB flash disk start: setting the disk PC-B to be started from the U disk and restarting the PC-B in the same step (2);
(4) At this time, the two computers respectively start the starting systems on the memory A and the memory B in the datse:Sub>A migration device, after the starting systems are started successfully, se:Sub>A datse:Sub>A migration interface of se:Sub>A client migration program appears on the two computer hosts, pairing operation and mode selection operation of the migration program on the two computers are completed on the interface, the migration program on the PC-A is set as se:Sub>A target machine mode, and the migration program on the PC-B is set as se:Sub>A source machine mode;
(5) At this time, the migration program on the PC-B enters se:Sub>A file selection state, the migration program has defaults to help the user select the file to be migrated (defaults to full-disk migration), the user can also select the file to be migrated selectively according to his own wish, and after all the settings are completed, click se:Sub>A "start migration" button in the datse:Sub>A migration interface of the client migration program on the PC-B, at this time, the client migration program on the PC-se:Sub>A pops up se:Sub>A migration confirmation dialog box, and after the user clicks the "confirm start" button and selects the storage location of the migrated file, the source computer and the target computer start the full-automatic migration process;
(6) The whole migration process is fully automatic, no user is required to watch during the process, after the completion of file migration, the migration program can automatically check the integrity of all files and retransmit the files with errors, and after the completion of the whole process, the client migration programs on the PC-A and the PC-B can derive se:Sub>A migration report, wherein detailed information about the current migration is displayed.
(7) The whole migration process is finished, after the USB extension lines of the migration device are pulled out after the PC-A and the PC-B are shut down, the original system in the computer can be normally used after the PC-A and the PC-B are restarted.

Claims (3)

1. A data migration method using a computer data migration apparatus, characterized by: the computer data migration device comprises a shell and a data migration circuit arranged in the shell, wherein the data migration circuit comprises a first USB deconcentrator, a second USB deconcentrator, a memory A for storing a starting system and a migration program of a source computer, a memory B for storing a starting system and a migration program of a target computer, a first network card and a second network card; the USB connector of the first USB deconcentrator is directly connected with the first USB wire and extends the first USB wire out of the shell, or is connected with the first USB wire through the first USB female head arranged on the shell, and the memory A and the first network card are both connected to the first USB deconcentrator; the USB connector of the second USB deconcentrator is directly connected with the second USB wire and extends out of the shell, or is connected with the second USB wire through a second USB female head arranged on the shell, and the memory B and the second network card are both connected to the second USB deconcentrator; the first network card and the second network card are directly connected through a network cable;
when the USB connector of the first USB deconcentrator is directly connected with the first USB wire and extends out of the shell, the first USB wire is a single common head USB wire, and a protection buckle is arranged at the contact position of the first USB wire and the shell; when the USB connector of the second USB deconcentrator is directly connected with the second USB wire and extends out of the shell, the second USB wire is a single common head USB wire, and a protection buckle is arranged at the contact position of the second USB wire and the shell;
when the USB connector of the first USB deconcentrator is connected with a first USB wire through a first USB female connector arranged on the shell, the first USB wire is a double-male USB wire, and the first USB female connector is in free plug-in connection with the first USB wire; when the USB connector of the second USB deconcentrator is connected with a second USB line through a second USB female connector arranged on the shell, the second USB line is a double-male USB line, and the second USB female connector is in free plug-in connection with the second USB line;
when the USB connector of the first USB deconcentrator is directly connected with the first USB wire and extends out of the shell, an identifier is arranged at the contact position of the shell and the first USB wire and used for identifying the connection source computer; when the USB connector of the second USB deconcentrator is directly connected with the second USB wire and extends out of the shell, an identifier is arranged at the contact position of the shell and the second USB wire and used for identifying a connection target computer;
when the USB connector of the first USB deconcentrator is connected with a first USB line through a first USB female connector arranged on the shell, an identifier is arranged at the joint of the shell and the first USB female connector and used for identifying and connecting a source computer; when the USB connector of the second USB deconcentrator is connected with a second USB line through a second USB female connector arranged on the shell, an identifier is arranged at the joint of the shell and the second USB female connector and used for identifying a connection target computer;
the first network card and the second network card are both Ethernet cards; the source computer is a computer for data migration, and the target computer is a computer for receiving data;
when the USB connector of the first USB deconcentrator is directly connected with the first USB wire and extends the first USB wire out of the shell, and the USB connector of the second USB deconcentrator is directly connected with the second USB wire and extends the second USB wire out of the shell, the first USB deconcentrator, the second USB deconcentrator, the memory A, the memory B, the first network card and the second network card are integrated on the PCB board and are installed in the shell; when the USB connector of the first USB deconcentrator is connected with a first USB line through a first USB female connector arranged on the shell, and the USB connector of the second USB deconcentrator is connected with a second USB line through a second USB female connector arranged on the shell, the first USB female connector, the first USB deconcentrator, the second USB deconcentrator, the memory A, the memory B, the first network card, the second network card and the second USB female connector are integrated on a PCB (printed circuit board) and are arranged in the shell, and the first USB female connector and the second USB female connector are fixed on the shell;
the data migration method comprises the following steps:
(1) And (3) equipment connection: preparing a computer data migration device and a source computer and a target computer to be subjected to data migration, ensuring that the source computer and the target computer are not connected with USB storage equipment, and connecting the source computer and the target computer with the computer data migration device through a first USB line and a second USB line respectively;
(2) Connection pairing: before data starts to migrate, respectively setting a source computer and a target computer as a USB flash disk to start through BIOS, restarting the source computer and the target computer, starting a source computer migration program on a memory A and a target computer migration program on a memory B, and displaying a random connection code and a connection password on a data migration interface of the source computer and the target computer in a waiting pairing state, wherein the two migration programs are bound to fixed ports through TCP protocol to wait for connection; then inputting a connection code and a connection password of the other computer in a data migration interface of the source computer or the target computer, pairing migration programs on the two computers, establishing a stable connection channel between the source computer and the target computer through a TCP protocol after successful pairing, and automatically closing a pairing state;
(3) Device mode determination: after the pairing of the two migration programs is completed, the migration programs on the two computers enter a device mode determining stage, and options for determining the device mode are displayed on a data migration interface of the two computers; the migration program of the source computer end and the migration program of the target computer end have two working modes, namely a source computer mode and a target computer mode, wherein the migration program on the source computer should select the source computer mode, and the migration program on the target computer should select the target computer mode; when one computer makes a mode selection, notifying the other computer through the TCP channel established in the step (2), and automatically working in the other mode by the other computer;
(4) And (3) data migration: after the working modes of the two migration programs are determined, a data migration stage is entered, at this time, the migration program of the target computer end working in the target computer mode enters a waiting state, the migration program of the source computer end working in the source computer mode enters a file selection state, after the selection and confirmation of files to be migrated are carried out on the source computer by a user, a migration instruction is sent out through the TCP channel established in the step (2), the migration program of the source computer end automatically generates a migration list according to the data item selected by the user and sends the migration program to the target computer end, the migration program of the target computer end analyzes the list file after receiving the migration list and stores the list file in a temporary folder for data comparison in a data migration process and a later stage, then a data migration interface on the target computer pops up a dialog box for selecting a file storage position, after the selection of the storage position is completed, the user clicks a confirmation button to start entering the data migration state, the migration program checks the integrity of each piece of data, retransmits the files with errors, and after all the files are migrated, and enters the next stage;
(5) Data verification and report export: after the data migration is completed, the migration program of the target computer side compares and verifies the data, the missing and comparison error data is retransmitted again, and after the transmission is completed, the migration program of the target computer side derives a migration report to complete the data migration.
2. A data migration method using a computer data migration apparatus according to claim 1, wherein: the migration list comprises a data list to be migrated, a file name and an md5 value corresponding to each piece of data and a data size; and retransmitting the file with the migration error in the data migration process, and discarding the file after three transmission attempts are failed, and retransmitting the file.
3. A data migration method using a computer data migration apparatus according to claim 1, wherein: after the data migration is completed, the migration program of the target computer end compares and verifies the migrated data according to a file list on a migration list received before data transmission and the md5 value of each file; the statistical information included in the migration report includes a file list with successful migration, a file list with failed migration and the amount of data migrated.
CN202110476225.4A 2021-04-29 2021-04-29 Computer data migration device and method Active CN113114783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110476225.4A CN113114783B (en) 2021-04-29 2021-04-29 Computer data migration device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110476225.4A CN113114783B (en) 2021-04-29 2021-04-29 Computer data migration device and method

Publications (2)

Publication Number Publication Date
CN113114783A CN113114783A (en) 2021-07-13
CN113114783B true CN113114783B (en) 2024-03-26

Family

ID=76720520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110476225.4A Active CN113114783B (en) 2021-04-29 2021-04-29 Computer data migration device and method

Country Status (1)

Country Link
CN (1) CN113114783B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516183A (en) * 2015-12-30 2016-04-20 小米科技有限责任公司 Device connection method and device
CN110018978A (en) * 2019-04-15 2019-07-16 北京硬壳科技有限公司 Data transmission method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516183A (en) * 2015-12-30 2016-04-20 小米科技有限责任公司 Device connection method and device
CN110018978A (en) * 2019-04-15 2019-07-16 北京硬壳科技有限公司 Data transmission method and system

Also Published As

Publication number Publication date
CN113114783A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN105183515B (en) The method and device of holder firmware upgrade
US8332840B2 (en) Method of computer based data card software downloading and updating
EP4130953A1 (en) Device state identification method and apparatus, and smart terminal
WO2019134113A1 (en) Automated test method and system
CN106775610A (en) A kind of electronic equipment starts method and a kind of electronic equipment
CN108170457A (en) Firmware upgrade method, device and VR head-mounted displays
CN108768709A (en) A kind of serial ports remote upgrade method of the network equipment
WO2021169124A1 (en) Method and apparatus for installing software package to target host, and computer device
CN102193841B (en) Backup method and device of Subversion configuration database
CN113114783B (en) Computer data migration device and method
WO2024041283A1 (en) Client upgrading method and apparatus, terminal device, and storage medium
US6351826B1 (en) Method and apparatus for automatically verifying communication software
CN111367556A (en) Device and method for flashing BMC (baseboard management controller) Flash
CN110795112A (en) Multi-channel IC burning method, device and system
CN110888656A (en) Multifunctional programming device and programming method
Cisco RSM DRAM Upgrade and Flash Disk Install Note
CN113114784B (en) Multifunctional computer data storage and migration device and method
Cisco CIP System Error Messages
WO2001029657A1 (en) Method of updating program and communication terminal
Cisco CIP-ADAPTER to CIP-IPC_CBUS
CN109783031B (en) Method, device, terminal and storage medium for checking drive letter and slot number of RAID card
WO2016091135A1 (en) Data processing method, processor and system for external storage medium
CN112947964A (en) Chip firmware updating method, device, equipment and storage medium
TW200844730A (en) Testing system of universal serial bus device and method thereof
CN116302020A (en) FPGA logic program upgrading method, device, equipment and 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