[go: up one dir, main page]

CN102479168A - Data processing system and data processing method - Google Patents

Data processing system and data processing method Download PDF

Info

Publication number
CN102479168A
CN102479168A CN2010105683105A CN201010568310A CN102479168A CN 102479168 A CN102479168 A CN 102479168A CN 2010105683105 A CN2010105683105 A CN 2010105683105A CN 201010568310 A CN201010568310 A CN 201010568310A CN 102479168 A CN102479168 A CN 102479168A
Authority
CN
China
Prior art keywords
disk
data
computer
usb
computers
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.)
Pending
Application number
CN2010105683105A
Other languages
Chinese (zh)
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.)
Peking University
Founder International Beijing Co Ltd
Original Assignee
Peking University
Founder International Beijing 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 Peking University, Founder International Beijing Co Ltd filed Critical Peking University
Priority to CN2010105683105A priority Critical patent/CN102479168A/en
Publication of CN102479168A publication Critical patent/CN102479168A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种数据处理系统和数据处理方法,用以解决现有技术中在没有网络的支持的情况下计算机之间互相传送数据较为不便的问题。该数据处理系统包括:USB闪存盘(U盘);2台以上计算机;其中,所述U盘有多个读取模块和多个USB插头;每台所述计算机的USB端口与所述U盘的一个USB插头连接,其中的第一计算机用于将数据写入所述U盘,其余的计算机用于从所述U盘中读取数据。

Figure 201010568310

The present invention discloses a data processing system and a data processing method, which are used to solve the problem in the prior art that it is inconvenient to transmit data between computers without the support of a network. The data processing system comprises: a USB flash disk (U disk); two or more computers; wherein the U disk has multiple reading modules and multiple USB plugs; the USB port of each computer is connected to a USB plug of the U disk, wherein the first computer is used to write data into the U disk, and the remaining computers are used to read data from the U disk.

Figure 201010568310

Description

一种数据处理系统和数据处理方法A data processing system and data processing method

技术领域 technical field

本发明涉及一种数据处理系统和数据处理方法。The invention relates to a data processing system and a data processing method.

背景技术 Background technique

U盘,全称“USB闪存盘”,英文名“USB flash disk”。它是一个USB接口的无需物理驱动器的微型高容量移动存储产品,可以通过USB接口与计算机连接,实现即插即用。U-disk, the full name is "USB flash drive", and the English name is "USB flash disk". It is a miniature high-capacity mobile storage product with a USB interface that does not require a physical drive, and can be connected to a computer through a USB interface to achieve plug-and-play.

U盘的一种常见的使用方式是在计算机之间转移数据。在第一台计算机将数据写入U盘之后拔下U盘插到第二台计算机上,第二台计算机就可以从U盘中读取第一台计算机写入的数据,从而实现数据从第一台计算机转移到第二台计算机。可以看出使用这种方式在计算机之间转移数据时需要频繁插拔U盘。One common use of USB drives is to transfer data between computers. After the first computer writes the data into the U disk, unplug the U disk and insert it into the second computer, the second computer can read the data written by the first computer from the U disk, so that the data can be transferred from the second computer to the U disk. One computer transfers to a second computer. It can be seen that when using this method to transfer data between computers, it is necessary to frequently plug and unplug the U disk.

还可以通过计算机网络进行计算机之间互相传送数据,该网络可以是广域网,也可以是局域网,可以是有线网络,也可以是无线网络,但不论哪种情况,都需要有网络架构的支持。It is also possible to transmit data between computers through a computer network. The network can be a wide area network, a local area network, a wired network, or a wireless network, but in either case, the support of the network architecture is required.

现有技术中,在没有网络的支持的情况下计算机之间互相传送数据较为不便,对于该问题,目前尚未提出有效解决方案。In the prior art, it is inconvenient for computers to transmit data to each other without the support of the network, and no effective solution has been proposed for this problem.

发明内容 Contents of the invention

本发明的主要目的是提供一种数据处理系统和数据处理方法,用以解决现有技术中在没有网络的支持的情况下计算机之间互相传送数据较为不便的问题。The main purpose of the present invention is to provide a data processing system and a data processing method to solve the problem in the prior art that it is inconvenient to transmit data between computers without the support of the network.

为解决上述问题,根据本发明的一个方面,提供了一种数据处理系统。To solve the above problems, according to one aspect of the present invention, a data processing system is provided.

本发明的数据处理系统包括:U盘;2台以上计算机;其中,所述U盘有多个读取模块和多个USB插头;每台所述计算机的USB端口与所述U盘的一个USB插头连接,其中的第一计算机用于将数据写入所述U盘,其余的计算机用于从所述U盘中读取数据。The data processing system of the present invention comprises: U disk; More than 2 computers; Wherein, described U disk has a plurality of reading modules and a plurality of USB plugs; plug connection, wherein the first computer is used to write data into the U disk, and the rest of the computers are used to read data from the U disk.

进一步地,所述第一计算机还用于判断所述U盘当前的剩余空间是否足够写入需要的数据,若是则将该数据写入所述U盘。Further, the first computer is also used to judge whether the current remaining space of the USB disk is enough to write the required data, and if so, write the data into the USB disk.

进一步地,所述其余的计算机还用于监视所述U盘中是否被所述第一计算机写入新数据,若是,则从所述U盘中读取所述新数据。Further, the other computers are also used to monitor whether new data is written into the USB disk by the first computer, and if so, read the new data from the USB disk.

进一步地,第一计算机还用于依据设定删除的时间、读取计数、或者读取日志,确认需要删除所述新数据。Further, the first computer is further configured to confirm that the new data needs to be deleted according to the set deletion time, reading count, or reading log.

为解决上述问题,根据本发明的另一方面,提供了一种数据处理方法。To solve the above problems, according to another aspect of the present invention, a data processing method is provided.

本发明的数据处理方法采用本发明中的U盘,该方法包括:所述第一计算机将数据写入所述U盘;所述其余的计算机在监测到所述U盘被写入新数据时,从所述U盘中读取该新数据。The data processing method of the present invention adopts the USB flash disk in the present invention, and the method includes: the first computer writes data into the USB flash disk; when the other computers detect that the USB flash disk is written into new data , read the new data from the USB disk.

进一步地,所述第一计算机将数据写入所述U盘之前,还包括:确认所述U盘当前的剩余空间足够写入需要的数据。Further, before the first computer writes the data into the USB disk, it also includes: confirming that the current remaining space of the USB disk is sufficient to write the required data.

进一步地,从所述U盘中读取该新数据之后,所述方法还包括:所述第一计算机从所述U盘中删除该新数据。Further, after reading the new data from the USB disk, the method further includes: the first computer deletes the new data from the USB disk.

进一步地,从所述U盘中删除该新数据之前还包括:所述第一计算机依据设定删除的时间、读取计数、或者读取日志,确认需要删除所述新数据。Further, before deleting the new data from the USB flash drive, the first computer confirms that the new data needs to be deleted according to the set deletion time, read count, or read log.

根据本发明的技术方案,采用具有多个读取模块以及USB插头的U盘将多台计算机连接,能够在没有网络支持的情况下方便地实现计算机之间的数据传递,并且不用反复插拔U盘,对用户来说使用十分方便。本实施例的技术方案中实际上是建立了临时的共享硬盘,多台计算机共同识别同一个存储空间并通过该存储空间进行数据交换,特别适用于多个服务器互相交换配置数据或其他数据的情况。According to the technical solution of the present invention, multiple computers are connected by using U disks with multiple reading modules and USB plugs, which can conveniently realize data transfer between computers without repeatedly plugging and unplugging U disks without network support. It is very convenient for users to use. In the technical solution of this embodiment, a temporary shared hard disk is actually established, and multiple computers jointly identify the same storage space and exchange data through this storage space, which is especially suitable for the situation where multiple servers exchange configuration data or other data with each other .

附图说明 Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的一种U盘的主要组成部分示意图;Fig. 1 is a schematic diagram of the main components of a USB flash drive according to an embodiment of the present invention;

图2是根据本发明实施例的数据处理系统的基本结构示意图;2 is a schematic diagram of the basic structure of a data processing system according to an embodiment of the present invention;

图3是根据本发明实施例的一种数据处理方法的示意图;以及Fig. 3 is a schematic diagram of a data processing method according to an embodiment of the present invention; and

图4是根据本发明实施例的另一种数据处理方法的示意图。Fig. 4 is a schematic diagram of another data processing method according to an embodiment of the present invention.

具体实施方式 Detailed ways

下面将参考附图并结合实施例,来详细说明本发明。The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

图1是根据本发明实施例的一种U盘的主要组成部分示意图。如图1所示,U盘10中包含有多个(图中示出了2个)USB插头14,多个(图中示出了2个)读取模块12,以及存储模块13,它们都与主控模块11连接。Fig. 1 is a schematic diagram of main components of a USB flash drive according to an embodiment of the present invention. As shown in Figure 1, multiple (2 are shown in the figure) USB plugs 14 are included in the U disk 10, multiple (2 are shown in the figure) reading modules 12, and storage modules 13, they all Connect with the main control module 11.

在应用中,图1所示的U盘可以按图2所示的状态与计算机连接从而构成一种数据处理系统。图2是根据本发明实施例的数据处理系统的基本结构示意图。如图2所示,具有U盘10结构的U盘的U盘主体21上具有两个USB插头,分别是USB插头23和USB插头24,它们分别与第一计算机22以及第二计算机25连接。In application, the U disk shown in FIG. 1 can be connected to a computer in the state shown in FIG. 2 to form a data processing system. FIG. 2 is a schematic diagram of a basic structure of a data processing system according to an embodiment of the present invention. As shown in FIG. 2 , the U disk body 21 of the U disk having the structure of the U disk 10 has two USB plugs, namely a USB plug 23 and a USB plug 24 , which are respectively connected to the first computer 22 and the second computer 25 .

一般地,在U盘具有多个读取模块以及多个USB插头的情况下,可以利用该U盘连接多个计算机,并且每台计算机的USB端口与U盘的一个USB插头连接,其中的第一计算机用于将数据写入U盘,其余的计算机用于从U盘中读取数据。在这种情况下,第一计算机还可以用于判断U盘当前的剩余空间是否足够写入需要的数据,若是则将该数据写入U盘。这样其余的计算机还可以监视U盘中是否被第一计算机写入新数据,若是,则从U盘中读取新数据。第一计算机还可以用于在所述其余的计算机都完成从U盘读取新数据之后从U盘中删除该新数据。Generally, in the case that the U disk has multiple reading modules and multiple USB plugs, the U disk can be used to connect multiple computers, and the USB port of each computer is connected to a USB plug of the U disk, wherein the first One computer is used to write data into the U disk, and the other computers are used to read data from the U disk. In this case, the first computer can also be used to judge whether the current remaining space of the U disk is enough to write the required data, and if so, write the data into the U disk. Other computers can also monitor whether new data is written by the first computer in the USB flash disk like this, if so, then read new data from the USB flash disk. The first computer can also be used to delete the new data from the USB flash drive after the remaining computers have finished reading the new data from the USB flash drive.

上述的数据可以是服务器之间的数据交换包,并且计算机中可以包含目录监视工具以完成上述的数据读写。其中第一计算机的目录监视工具用于监视共享U盘剩余存储空间是否满足数据交换包大小要求,如满足,则向U盘写入数据;其余的计算机的目录监视工具用于监视共享U盘是否存在完整的数据交换包,如存在则复制,并由其中一台执行删除该文件的操作。The above-mentioned data may be a data exchange package between servers, and a directory monitoring tool may be included in the computer to complete the above-mentioned data reading and writing. Wherein the directory monitoring tool of the first computer is used to monitor whether the remaining storage space of the shared U disk meets the data exchange packet size requirement, and if so, writes data to the U disk; the directory monitoring tools of the remaining computers are used to monitor whether the shared U disk is There is a complete data exchange package, if it exists, it will be copied, and one of them will delete the file.

在图2所示的系统运行时,可以根据图3或图4的方式进行。图3是根据本发明实施例的一种数据处理方法的示意图。如图3所示,本发明实施例的这种数据处理方法主要包括如下步骤:When the system shown in FIG. 2 is running, it can be performed according to the manner shown in FIG. 3 or FIG. 4 . Fig. 3 is a schematic diagram of a data processing method according to an embodiment of the present invention. As shown in Figure 3, this data processing method in the embodiment of the present invention mainly includes the following steps:

步骤S31:第一计算机将数据写入U盘;Step S31: the first computer writes data into the U disk;

步骤S32:其余计算机监测到所述U盘被写入新数据;Step S32: other computers detect that new data is written into the U disk;

步骤S33:其余计算机从所述U盘读取该新数据。Step S33: other computers read the new data from the USB disk.

图4是根据本发明实施例的另一种数据处理方法的示意图。如图4所示,本发明实施例的这种数据处理方法主要包括如下步骤:Fig. 4 is a schematic diagram of another data processing method according to an embodiment of the present invention. As shown in Figure 4, this data processing method in the embodiment of the present invention mainly includes the following steps:

步骤S41:第一计算机检查U盘当前剩余空间;Step S41: the first computer checks the current remaining space of the U disk;

步骤S42:判断U盘当前剩余空间是否足够写入需要的数据;若是,则进入步骤S43,否则在延时之后返回步骤S41;Step S42: Determine whether the current remaining space of the U disk is sufficient to write the required data; if so, enter step S43, otherwise return to step S41 after a delay;

步骤S43:第一计算机将数据写入U盘;Step S43: the first computer writes data into the U disk;

步骤S44:其余计算机监测到所述U盘被写入新数据;Step S44: other computers detect that new data is written into the U disk;

步骤S45:其余计算机从所述U盘读取该新数据;Step S45: other computers read the new data from the U disk;

步骤S46:第一计算机从所述U盘中删除该新数据。Step S46: The first computer deletes the new data from the USB disk.

从以上的描述中可以看出,本实施例中采用具有多个读取模块以及USB插头的U盘将多台计算机连接,能够在没有网络支持的情况下方便地实现计算机之间的数据传递,并且不用反复插拔U盘,对用户来说使用十分方便。本实施例的技术方案中实际上是建立了临时的共享硬盘,多台计算机共同识别同一个存储空间并通过该存储空间进行数据交换,特别适用于多个服务器互相交换配置数据或其他数据的情况。As can be seen from the above description, in this embodiment, a U disk with multiple reading modules and USB plugs is used to connect multiple computers, so that data transfer between computers can be easily realized without network support. And there is no need to repeatedly plug and unplug the U disk, which is very convenient for users. In the technical solution of this embodiment, a temporary shared hard disk is actually established, and multiple computers jointly identify the same storage space and exchange data through this storage space, which is especially suitable for the situation where multiple servers exchange configuration data or other data with each other .

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (8)

1. A data processing system, comprising:
a U disk;
more than 2 computers; wherein,
the USB flash disk is provided with a plurality of reading modules and a plurality of USB plugs;
the USB port of each computer is connected with a USB plug of the USB flash disk, wherein the first computer is used for writing data into the USB flash disk, and the rest computers are used for reading data from the USB flash disk.
2. The system according to claim 1, wherein the first computer is further configured to determine whether the current remaining space of the usb disk is sufficient for writing the required data, and if so, write the data to the usb disk.
3. The system of claim 1, wherein the remaining computers are further configured to monitor whether new data is written to the USB flash drive by the first computer, and if so, to read the new data from the USB flash drive.
4. The system of claim 1, wherein the first computer is further configured to confirm that the new data needs to be deleted based on a time at which deletion is set, a read count, or a read log.
5. A data processing method applied to the system of any one of claims 1 to 4, comprising:
the first computer writes data into the U disk;
and when the other computers monitor that the U disk is written with new data, reading the new data from the U disk.
6. The method of claim 5, wherein before the first computer writes data to the USB flash disk, further comprising: and confirming that the current remaining space of the U disk is enough to write the needed data.
7. The method according to claim 5 or 6, wherein after reading the new data from the U disk, the method further comprises: and the first computer deletes the new data from the U disk.
8. The method according to claim 7, further comprising, before deleting the new data from the U disk: and the first computer confirms that the new data needs to be deleted according to the set deletion time, the read count or the read log.
CN2010105683105A 2010-11-30 2010-11-30 Data processing system and data processing method Pending CN102479168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105683105A CN102479168A (en) 2010-11-30 2010-11-30 Data processing system and data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105683105A CN102479168A (en) 2010-11-30 2010-11-30 Data processing system and data processing method

Publications (1)

Publication Number Publication Date
CN102479168A true CN102479168A (en) 2012-05-30

Family

ID=46091819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105683105A Pending CN102479168A (en) 2010-11-30 2010-11-30 Data processing system and data processing method

Country Status (1)

Country Link
CN (1) CN102479168A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572104A (en) * 2016-10-28 2017-04-19 鄢碧珠 Safe mobile data storage method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103235A1 (en) * 2002-11-27 2004-05-27 Pei-Chung Liu USB based terminal device
CN1558305A (en) * 2004-01-19 2004-12-29 中国科学院计算技术研究所 A bus type universal serial bus multiplexer
CN1987858A (en) * 2005-12-19 2007-06-27 国际商业机器公司 Method and equipment for sharing computer data among computers
US20100223402A1 (en) * 2009-02-27 2010-09-02 Chen Johnny Hsiang-Yu Netbook synchronization chip device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103235A1 (en) * 2002-11-27 2004-05-27 Pei-Chung Liu USB based terminal device
CN1558305A (en) * 2004-01-19 2004-12-29 中国科学院计算技术研究所 A bus type universal serial bus multiplexer
CN1987858A (en) * 2005-12-19 2007-06-27 国际商业机器公司 Method and equipment for sharing computer data among computers
US20100223402A1 (en) * 2009-02-27 2010-09-02 Chen Johnny Hsiang-Yu Netbook synchronization chip device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572104A (en) * 2016-10-28 2017-04-19 鄢碧珠 Safe mobile data storage method

Similar Documents

Publication Publication Date Title
US10339079B2 (en) System and method of interleaving data retrieved from first and second buffers
US9239808B2 (en) Serial interface for FPGA prototyping
US8438332B2 (en) Apparatus and method to maintain write operation atomicity where a data transfer operation crosses a data storage medium track boundary
EP2713275A1 (en) Virtual tape library device and data restoration method
TWI342644B (en) Connector with usb and esata interface
US8006019B2 (en) Method and system for transferring stored data between a media player and an accessory
WO2019071887A1 (en) Connector, nvme storage device and computer device
US20050223181A1 (en) Integrated circuit capable of copy management
US20180039411A1 (en) Method and Apparatus for Providing Data Storage and Network Communication Using an Auxiliary Plug
CN115129249A (en) SAS link topology identification management method, system, terminal and storage medium
CN104615577A (en) Big data server
CN106406750A (en) Data operation method and system
CN102681790A (en) Data dump device and method and system for data dump by same
WO2015074260A1 (en) Data synchronization method and data synchronization system
CN102479168A (en) Data processing system and data processing method
CN106527962A (en) Internal data transfer method and device using the same
CN108073533A (en) Interface adapter device
US7418545B2 (en) Integrated circuit capable of persistent reservations
CN207020672U (en) A kind of computer internal USB transmits safety governor
CN107506319A (en) A kind of integrated storage system
CN109976953A (en) A kind of data back up method
KR101569049B1 (en) Pass through storage devices
CN104035524B (en) A kind of cold storage server
CN108038069A (en) A kind of hard disk backboard and its design method for RSSD exploitations
CN104615384A (en) Disk array and data storage method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120530