CN113114783A - Computer data migration device and method - Google Patents

Computer data migration device and method Download PDF

Info

Publication number
CN113114783A
CN113114783A CN202110476225.4A CN202110476225A CN113114783A CN 113114783 A CN113114783 A CN 113114783A CN 202110476225 A CN202110476225 A CN 202110476225A CN 113114783 A CN113114783 A CN 113114783A
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.)
Granted
Application number
CN202110476225.4A
Other languages
Chinese (zh)
Other versions
CN113114783B (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

Images

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]

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

The invention discloses a computer data migration device and a method, wherein the device comprises a data migration circuit, a first USB deconcentrator in the data migration circuit is directly connected with a first USB line or is connected with the first USB line 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 a 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 is directly connected with the second network card through a network cable. The method comprises the steps of firstly connecting two computers with a data migration device, then pairing migration programs at a storage source computer and a target computer, then determining the working mode of the computers, starting data migration, and after data verification and report export are completed. The invention has simple structure and high stability; the method has the advantages of simplicity, easy use, cross-platform use, no drive, corresponding reset of file positions 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
At present, the computer industry is developed rapidly, computer equipment basically covers the aspects of daily life and office work of people, the computer technology is changed day by day, a CPU and an operating system are divided into a plurality of different technical routes, and the replacement of new equipment and old equipment is more and more frequent. The data volume stored on a computer is increasingly large, a large amount of data files on old equipment need to be migrated to new equipment in the process of equipment replacement every time, the problem of large data volume migration needs to be solved urgently, wherein the phenomena of data migration across different CPU architectures and different operating systems are increasingly large, the file system formats of the different operating systems are different, and great troubles are caused to the data migration process. .
At present, the most common data migration method is to copy data of old equipment to a U disk or a mobile hard disk artificially, and then copy the data to new equipment through the U disk or the mobile hard disk, in the process, multiple file moving operations need to be performed artificially, the situations of file missing copying and repeated copying are very easy to occur in the whole process, in addition, the situation of file damage is also possible to occur in the copying process, the damaged files are very difficult to be checked out under the condition of large file quantity, in addition, file sorting needs to be performed manually aiming at different operating systems after the copying is completed, the process is complex and time-consuming, and the migration effect is not ideal.
Disclosure of Invention
In order to overcome the above problems, the present invention aims 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 purpose, the invention adopts the following technical scheme:
a 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 line and extends out of the shell, or is connected with the first USB line through a 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 a 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 is directly connected with the second network card through a network cable.
Further, when the USB connector of the first USB splitter is directly connected to the first USB cable and extends to the outside of the housing, the first USB cable is a single-bus-head USB cable, and a protection buckle is disposed at a contact position of the first USB cable and the housing; when the USB joint 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 public head USB line, and a protective buckle is arranged at the contact position of the second USB line and the shell.
Furthermore, when the USB connector of the first USB splitter is connected to a first USB cable through a first USB female connector disposed on the housing, the first USB cable is a dual male USB cable, and the first USB female connector is connected to the first USB cable in a freely pluggable manner; when the USB joint of the second USB deconcentrator is connected with a second USB line through a second USB female head arranged on the shell, the second USB line is a double male-head USB line, and the second USB female head is connected with the second USB line in a free plug-in manner.
Furthermore, when the USB joint of the first USB deconcentrator is directly connected with the first USB wire and extends out of the shell, the contact position of the shell and the first USB wire is provided with a mark for marking the connection source computer; when the USB joint of the second USB deconcentrator is directly connected with the second USB line and extends out of the shell, the contact position of the shell and the second USB line is provided with a mark for marking the connection target computer.
Furthermore, when the USB connector of the first USB splitter is connected to the first USB cable through the first USB female connector disposed on the housing, a mark is disposed at a connection position between the housing and the first USB female connector for marking a connection source computer; when the USB joint of the second USB deconcentrator is connected with a second USB line through a second USB female head arranged on the shell, the joint of the shell and the second USB female head is provided with a mark for marking the connection with a target computer.
Furthermore, the first network card and the second network card are both ethernet cards; the source computer refers to a computer from which data is migrated, and the target computer refers to a computer from which data is received.
Furthermore, when the USB connector of the first USB splitter is directly connected to the first USB cable and extends to the outside of the housing, and the USB connector of the second USB splitter is directly connected to the second USB cable and extends to the outside of the housing, the first USB splitter, the second USB splitter, the memory a, the memory B, the first network card, and the second network card are all integrated on the PCB board and installed in the housing; when the USB joint of the first USB deconcentrator is connected with a first USB line through a first USB female head arranged on the shell, the USB joint of the second USB deconcentrator is connected with a second USB line through a second USB female head arranged on the shell; the first USB female head, 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 head are integrated on the PCB and are arranged in the shell, and the first USB female head and the second USB female head are fixed on the shell.
A data migration method using a computer data migration apparatus, comprising the steps of:
(1) 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 a USB storage device, and respectively connecting the source computer and the target computer with the computer data migration device through a first USB line and a second USB line;
(2) connection pairing: before data migration begins, 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 to be started through a BIOS (basic input/output system) as a USB flash disk, then restarting the source computer and the target computer, starting a source computer side migration program on a storage A and a target computer side migration program on a storage B along with the source computer side migration program and the target computer side migration program, and displaying a random connection code and a connection password on data migration interfaces of the source computer and the target computer, wherein the two migration programs are bound with a fixed port through a TCP (transmission control protocol) protocol and wait for connection; then inputting a connection code and a connection password of another computer into 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 (transmission control protocol) after pairing is successful, 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 an equipment mode determining stage, and options determined by the equipment mode are displayed on data migration interfaces 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, the TCP channel established in the step (2) is used for informing the other computer, and the other computer automatically works in the other mode;
(4) data migration: after the working modes of the two migration programs are determined, a data migration stage is entered, at this time, a target computer side migration program working in a target computer mode enters a waiting state, a source computer side migration program working in a source computer mode enters a file selection state, a user selects and confirms a file to be migrated on a source computer, and then sends a migration instruction through a TCP channel established in the step (2), 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, the migration program of the target computer side analyzes the list file and stores the list file in a temporary folder for data comparison in the data migration process and the later period after receiving the list migration, and then a data migration interface on the target computer pops up a dialog box for selecting the storage position of the file, after the storage position is selected, clicking a confirmation button to start entering a data migration state, in the data migration process, verifying the integrity of each piece of data by a migration program, retransmitting files with errors in migration, and entering the next stage after all files are migrated;
(5) data verification and report export: and after the data migration is finished, comparing and verifying the data by the migration program at the target computer end, retransmitting the missing and error-compared data, and after the transmission is finished, exporting a migration report by the migration program at the target computer end to finish the data migration.
Further, the migration list comprises a list of data to be migrated, a file name and an md5 value corresponding to each piece of data, and a data size; and in the data migration process, the file with the migration error is retransmitted, and the retransmission is abandoned after three transmission attempts fail.
Furthermore, after the data migration is completed, the migration program at the target computer terminal compares and verifies the migrated data according to the file list on the migration list received before the data transmission and the md5 value of each file; the migration report comprises statistical information including a list of files which are successfully migrated, a list of files which are unsuccessfully migrated, and the amount of data migrated.
The invention is suitable for the 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 starting system and the migration program are arranged in the two computers in the migration device, so that data or file migration operation can be carried out under the condition that the original operating system of the computer is not started, the influence on the data or file migration when the original system operates is effectively eliminated, the use is simple, and the whole migration process is very stable and reliable.
2. And correspondingly resetting the file position: in the migration operation, the migration software program can automatically arrange the files and the folders migrated to the target computer correspondingly according to the storage positions of the files and the folders in the source computer, so that the storage positions of the files before and after migration are basically the same, a user can use the files according to the original storage position conveniently, and the files and the folders are convenient to 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 transfer device can be repeatedly used, and one set of transfer device can finish multiple transfer works.
5. Data verification: the migration device can carry out integrity verification on data in the migration process and after the migration is finished, and can automatically carry out alarm prompt or retransmission on files with migration errors.
6. Drive-free: the invention does not need any additional program or driver installed on the computer by the user in the whole migration implementation process.
Drawings
Fig. 1 is a schematic structural view of embodiment 1 of the present invention.
Fig. 2 is a schematic structural diagram of embodiment 2 of the present invention.
Fig. 3 is a diagram showing the use of the data migration apparatus in embodiment 3 of the present invention.
In the figure, 1-a first USB deconcentrator, 2-a second USB deconcentrator, 3-a memory, 4-a memory, B, 5-a first network card, 6-a second network card, 7-a first USB female head, 8-a second USB female head, 9-a first USB line, 10-a second USB line, and 11-a shell.
Detailed Description
The technical solution of the present invention is further illustrated by the following specific examples. It should be understood by those skilled in the art that the specific embodiments are only for the understanding of the present invention and should not be construed as the specific limitations of the present invention.
Example 1
As shown in fig. 1, a computer data migration apparatus 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 start system and a migration program of a source computer, a memory B4 for storing a start system and a migration program of a destination computer, a first network card 5, and a second network card 6; the USB connector of the first USB splitter 1 is directly connected to the first USB cable 9 and extends to the outside of the housing 11, and the memory a3 and the first network card 5 are both connected to the first USB splitter 1; the USB connector of the second USB splitter 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 splitter 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 both single male USB lines and are respectively used for connecting a source computer and a target computer. Respectively arranging protective buckles at the contact positions of the first USB wire 9 and the second USB wire 10 with the shell 11, and respectively fixing the first USB wire 9 and the second USB wire 10 on the shell 11; a mark is arranged beside the contact position of the shell 11 and the first USB line 9 and is used for marking a connection source computer; the contact position of the case 11 and the second USB cable 10 is provided with a mark for identifying the connection target computer. A first USB deconcentrator 1, a second USB deconcentrator 2, a memory A3, a memory B4, a first network card 5 and a second network card 6 in the data migration circuit are integrated on a PCB and are installed in a shell 11.
Example 2
As shown in fig. 2, a computer data migration apparatus 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 start system and a migration program of a source computer, a memory B4 for storing a start system and a migration program of a destination computer, a first network card 5, and a second network card 6; the USB joint of the first USB deconcentrator 1 is connected with a first USB cable 9 through a first USB female joint 7 arranged on a shell 11, and a memory A3 and a first network card 5 are both connected on the first USB deconcentrator 1; the USB connector of the second USB splitter 2 is connected to a second USB cable 10 through a second USB female connector 8 disposed on the housing 11, and the memory B4 and the second network card 6 are both connected to the second USB splitter 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 both double male USB lines, 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 line 9 in a free plug-in manner; the wiring end of the second USB female head 8 is connected with the second USB deconcentrator 2, and the female head end of the second USB female head 8 is connected with the second USB line 10 in a free plug-in mode. A mark is arranged at the joint of the shell 11 and the first USB female head 7 and is used for marking a connection source computer; and a mark is arranged at the joint of the shell and the second USB female head and is used for marking and connecting a target computer. The first USB splitter 1, the second USB splitter 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 board and installed in the housing 11.
In the above embodiments, the source computer refers to a computer from which data is migrated, and the target computer refers to a computer from which data is received. The first USB line 9 and the second USB line 10 are used for connecting a source computer and a target computer.
The starting system of the source computer and the target computer stored in the memory A and the memory B is an open-source free Linux operating system, and the migration program is used for driving the 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) 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 equipment on the source computer and the target computer, and respectively connecting the source computer and the target computer with the computer data migration device through a first USB wire 9 and a second USB wire 10;
(2) connection pairing: before data migration begins, setting a source computer and a target computer to be started through a USB flash disk respectively, then restarting the source computer and the target computer, starting a source computer side migration program on a storage A3 and a target computer side migration program on a storage B4, and displaying a random connection code and a connection password on data migration interfaces of the source computer and the target computer in a waiting pairing state, wherein the two migration programs are bound with a fixed port through a TCP protocol and wait for connection; then, selecting a data migration interface of a source computer or a target computer, inputting 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 (transmission control protocol) after pairing is successful, 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 an equipment mode determining stage, and options determined by the equipment mode are displayed on data migration interfaces 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, the TCP channel established in the step (2) is used for informing the other computer, and the other computer automatically works in the other mode;
(4) data migration: after the working modes of the two migration programs are determined, a data migration stage is entered, at this time, a target computer side migration program working in a target computer mode enters a waiting state, a source computer side migration program working in a source computer mode enters a file selection state, a user sends a migration instruction through the TCP channel established in the step (2) after selecting and confirming a file to be migrated on a source computer, 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, and the migration list comprises a list of data to be migrated, a file name and an md5 value corresponding to each piece of data and the size of the data; after receiving the migration list, the migration program at the target computer end analyzes the list file and stores the list file in a temporary folder for comparison and use of data in the data migration process and the 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, the data migration state is started, in the data migration process, the migration program can verify the integrity of each piece of data, the file with the migration error is retransmitted, the retransmission is given up after the transmission failure of three times of attempts, and the next stage is started after all files are migrated;
(5) data verification and report export: after the data migration is completed, the migration program at the target computer terminal compares and verifies the data, specifically, the migrated data is compared and verified 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 the compared and errored data again, and after the transmission is finished, exporting a migration report by a migration program at the target computer end to finish the data migration. The migration report comprises statistical information including a file list of successful migration, a file list of failed migration and a data volume of migration.
By using the data migration method of the invention, a user only needs to simply set, and the migration device can automatically start the migration work of the data or the file, 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 unplugged, and then connecting the source computer and the target computer to the corresponding ends of the computer data migration device, wherein the connection between the data migration device and the two computers is shown in FIG. 3;
(2) setting the PC-A as a USB flash disk for starting: pressing the power button of PC-A, then pressing DEL key (F2 key in part of computer) on PC-A keyboard to enter bios, setting PC-A to boot from USB flash disk, and then restarting PC-A;
(3) setting the PC-B as a USB flash disk for starting: setting the disk PC-B as a slave USB disk to be started in the same step (2), and restarting the PC-B;
(4) at the moment, the two computers respectively start a starting system on a memory A and a starting system on a memory B in the data migration device, after the starting systems are successfully started, a data migration interface of a client migration program appears on the two computer hosts, the pairing operation and the 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 to be in a target computer mode, and the migration program on the PC-B is set to be in a source computer mode;
(5) at the moment, the migration program on the PC-B enters a file selection state, the migration program defaults to help the user select the file to be migrated (defaults to full-disk migration), the user can also selectively check the file to be migrated according to own will, and after all settings are finished, a 'start migration' button is clicked in a data migration interface of the client migration program on the PC-B, at the moment, the client migration program on the PC-A pops up a migration confirmation dialog box, and after the user clicks the 'confirm start' button and selects the storage position of the migrated file, the source computer and the target computer start a full-automatic migration process;
(6) the whole migration process is full-automatic, a user does not need to be attended during the period, after the file migration is completed, the migration program can automatically carry out integrity check on all files and retransmit the file with the error, and after the whole process is completed, the client migration programs on the PC-A and the PC-B can derive a migration report form in which detailed information about the migration is displayed.
(7) The whole migration process is completed, and then after the PC-A and the PC-B are shut down and the USB extension lines of the migration devices are pulled down, the original systems in the computer can be normally used after the PC-A and the PC-B are restarted.

Claims (10)

1. A computer data migration apparatus, characterized in that: 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 line and extends out of the shell, or is connected with the first USB line through a 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 a 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 is directly connected with the second network card through a network cable.
2. The computer data migration apparatus according to claim 1, wherein: when the USB joint of the first USB deconcentrator is directly connected with a first USB line and extends out of the shell, the first USB line is a single public head USB line, and a protective buckle is arranged at the contact position of the first USB line and the shell; when the USB joint 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 public head USB line, and a protective buckle is arranged at the contact position of the second USB line and the shell.
3. The computer data migration apparatus according to claim 1, wherein: when the USB joint of the first USB deconcentrator is connected with a first USB line through a first USB female head arranged on the shell, the first USB line is a double male-head USB line, and the first USB female head is connected with the first USB line in a free plug-in manner; when the USB joint of the second USB deconcentrator is connected with a second USB line through a second USB female head arranged on the shell, the second USB line is a double male-head USB line, and the second USB female head is connected with the second USB line in a free plug-in manner.
4. The computer data migration apparatus according to claim 1, wherein: when the USB joint of the first USB deconcentrator is directly connected with the first USB line and extends out of the shell, the contact position of the shell and the first USB line is provided with a mark for marking a connection source computer; when the USB joint of the second USB deconcentrator is directly connected with the second USB line and extends out of the shell, the contact position of the shell and the second USB line is provided with a mark for marking the connection target computer.
5. The computer data migration apparatus according to claim 1, wherein: when the USB joint of the first USB deconcentrator is connected with a first USB line through a first USB female head arranged on the shell, a mark is arranged at the joint of the shell and the first USB female head and used for marking the connection source computer; when the USB joint of the second USB deconcentrator is connected with a second USB line through a second USB female head arranged on the shell, the joint of the shell and the second USB female head is provided with a mark for marking the connection with a target computer.
6. The computer data migration apparatus according to claim 1, wherein: the first network card and the second network card are both Ethernet cards; the source computer refers to a computer from which data is migrated, and the target computer refers to a computer from which data is received.
7. The computer data migration apparatus according to claim 1, wherein: when the USB joint of the first USB deconcentrator is directly connected with the first USB line and extends out of the shell, and the USB joint of the second USB deconcentrator is directly connected with the second USB line and extends 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 all integrated on the PCB and are arranged in the shell; when the USB joint of the first USB deconcentrator is connected with a first USB line through a first USB female head arranged on the shell, the USB joint of the second USB deconcentrator is connected with a second USB line through a second USB female head arranged on the shell; the first USB female head, 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 head are integrated on the PCB and are arranged in the shell, and the first USB female head and the second USB female head are fixed on the shell.
8. A data migration method using the computer data migration apparatus according to any one of claims 1 to 7, characterized in that: the data migration method comprises the following steps:
(1) 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 a USB storage device, and respectively connecting the source computer and the target computer with the computer data migration device through a first USB line and a second USB line;
(2) connection pairing: before data migration begins, setting a source computer and a target computer to be started through a BIOS (basic input/output System) as a USB (Universal Serial bus) flash disk, restarting the source computer and the target computer, starting a source computer end migration program on a memory A and a target computer end migration program on a memory B along with the starting of the source computer end migration program and the target computer end migration program, displaying a random connection code and a connection password on data migration interfaces of the source computer and the target computer in a waiting pairing state, and binding fixed ports of the two migration programs through a TCP (Transmission control protocol) protocol to wait for connection; then inputting a connection code and a connection password of another computer into 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 (transmission control protocol) after pairing is successful, 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 an equipment mode determining stage, and options determined by the equipment mode are displayed on data migration interfaces 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, the TCP channel established in the step (2) is used for informing the other computer, and the other computer automatically works in the other mode;
(4) data migration: after the working modes of the two migration programs are determined, a data migration stage is entered, at this time, a target computer side migration program working in a target computer mode enters a waiting state, a source computer side migration program working in a source computer mode enters a file selection state, a user selects and confirms a file to be migrated on a source computer, and then sends a migration instruction through a TCP channel established in the step (2), 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, the migration program of the target computer side analyzes the list file and stores the list file in a temporary folder for data comparison in the data migration process and the later period after receiving the list migration, and then a data migration interface on the target computer pops up a dialog box for selecting the storage position of the file, after the storage position is selected, clicking a confirmation button to start entering a data migration state, in the data migration process, verifying the integrity of each piece of data by a migration program, retransmitting files with errors in migration, and entering the next stage after all files are migrated;
(5) data verification and report export: and after the data migration is finished, comparing and verifying the data by the migration program at the target computer end, retransmitting the missing and error-compared data, and after the transmission is finished, exporting a migration report by the migration program at the target computer end to finish the data migration.
9. The computer data migration method according to claim 8, wherein: the migration list comprises a to-be-migrated data list, a file name and an md5 value corresponding to each piece of data and the size of the data; and in the data migration process, the file with the migration error is retransmitted, and the retransmission is abandoned after three transmission attempts fail.
10. The computer data migration method according to claim 8, wherein: after the data migration is completed, the migration program at the target computer terminal compares and verifies the migrated data according to the file list on the migration list received before the data transmission and the md5 value of each file; the migration report comprises statistical information including a list of files which are successfully migrated, a list of files which are unsuccessfully migrated, 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 true CN113114783A (en) 2021-07-13
CN113114783B 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
CN113114783B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN111694760B (en) Server system, flash memory module and method for updating firmware mapping file
CN111008033A (en) Universal DSP (digital signal processor) online upgrading system and upgrading method based on serial port
CN105183515A (en) Cloud deck firmware updating method and device
CN109002310A (en) firmware upgrade method
CN109976767A (en) Software method for burn-recording and device
CN106775610A (en) A kind of electronic equipment starts method and a kind of electronic equipment
CN108768709A (en) A kind of serial ports remote upgrade method of the network equipment
CN108170457A (en) Firmware upgrade method, device and VR head-mounted displays
CN109308274A (en) A kind of switching device and SSD hard disk develop debugging system
WO2014082275A1 (en) Method and apparatus for detecting cable connection condition
CN113778739B (en) System repair method, system, equipment and storage medium of all-in-one machine
CN108572847B (en) Method for upgrading single chip microcomputer software version through USB port
CN113114783A (en) Computer data migration device and method
US6351826B1 (en) Method and apparatus for automatically verifying communication software
CN111367556A (en) Device and method for flashing BMC (baseboard management controller) Flash
CN109582334B (en) Upgrading method and device for programmable logic device
Cisco RSM DRAM Upgrade and Flash Disk Install Note
CN113114784B (en) Multifunctional computer data storage and migration device and method
CN110134423A (en) Update method, device and the computer readable storage medium of firmware
CN104536789A (en) Data burning method and data burning device
CN109062627A (en) A kind of configuration method of Linux server system kdump service
CN109783031B (en) Method, device, terminal and storage medium for checking drive letter and slot number of RAID card
WO2001029657A1 (en) Method of updating program and communication terminal
Cisco Cisco 7304 Quick Start Guide
Cisco Maintaining the Cisco 7206

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