CN103873543A - A data transmission system and its transmission method - Google Patents
A data transmission system and its transmission method Download PDFInfo
- Publication number
- CN103873543A CN103873543A CN201310130061.5A CN201310130061A CN103873543A CN 103873543 A CN103873543 A CN 103873543A CN 201310130061 A CN201310130061 A CN 201310130061A CN 103873543 A CN103873543 A CN 103873543A
- Authority
- CN
- China
- Prior art keywords
- data
- receiving terminal
- data transmission
- access server
- entity file
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种数据传输系统及方法,特别涉及一种多个电子装置的数据传输系统及方法。The present invention relates to a data transmission system and method, in particular to a data transmission system and method for multiple electronic devices.
背景技术Background technique
一般在联网的电子装置间进行数据的传递,主要通过几种传输模式来实现,诸如文件传送协议(File Transfer Protocol,FTP)、云端储存空间以及STUN(Session Traversal Utilities for NAT)协议。Generally, data transfer between networked electronic devices is mainly realized through several transmission modes, such as File Transfer Protocol (File Transfer Protocol, FTP), cloud storage space, and STUN (Session Traversal Utilities for NAT) protocol.
然而使用文件传送协议具有诸多限制,其次,将文件完整存放在云端储存空间,存在数据外泄的风险;再者,部分路由器无法通过STUN协议来建立两个电子装置建立联机。However, there are many limitations in using the file transfer protocol. Secondly, the complete storage of files in the cloud storage space has the risk of data leakage. Furthermore, some routers cannot establish a connection between two electronic devices through the STUN protocol.
由此可见,所述现有的方式,显然仍存在不便与缺陷,而有待改进;为了解决所述问题,相关领域莫不费尽心思来谋求解决之道,但长久以来仍未发展出适当的解决方案。It can be seen that the existing method obviously still has inconvenience and defects, and needs to be improved; in order to solve the problem, the relevant fields have tried their best to seek a solution, but a suitable solution has not been developed for a long time. plan.
发明内容Contents of the invention
本发明提供一种数据传输系统及方法,用以改善传统采用文件传送协议、云端储存空间及STUN协议所存在的问题。The present invention provides a data transmission system and method, which are used to improve the problems existing in traditional file transfer protocol, cloud storage space and STUN protocol.
本发明关于一种数据传输系统,其包含多个电子装置、验证服务器以及至少一存取服务器;验证服务器耦接于多个电子装置,其中电子装置通过验证服务器进行身份验证,通过验证的电子装置形成数据传输群组,数据传输群组中其中一个电子装置作为接收端,接收端送出命令至验证服务器,验证服务器接收并传送命令至数据传输群组中的剩余电子装置;至少一存取服务器耦接于电子装置,其中当剩余的电子装置接收到命令时,输出元数据至存取服务器,接收端即可通过存取服务器取得元数据,剩余电子装置中的其中之一作为传送端,接收端依据元数据向传送端要求与元数据相关的实体文件,并由传送端传送实体文件至存取服务器,存取服务器再传送至实体文件至接收端。The present invention relates to a data transmission system, which includes a plurality of electronic devices, a verification server, and at least one access server; the verification server is coupled to a plurality of electronic devices, wherein the electronic devices perform identity verification through the verification server, and the verified electronic devices A data transmission group is formed, one of the electronic devices in the data transmission group is used as a receiving end, and the receiving end sends a command to the verification server, and the verification server receives and transmits the command to the remaining electronic devices in the data transmission group; at least one access server is coupled Connected to the electronic device, wherein when the remaining electronic devices receive the command, output the metadata to the access server, the receiving end can obtain the metadata through the access server, one of the remaining electronic devices acts as the transmitting end, and the receiving end According to the metadata, the entity file related to the metadata is requested from the transmitting end, and the entity file is transmitted from the transmitting end to the access server, and then the access server transmits the entity file to the receiving end.
本发明关于一种数据传输方法应用于数据传输系统,所述数据传输系统包括多个电子装置、验证服务器及至少一存取服务器;所述数据传输方法包含以下步骤:验证服务器对数据传输系统的所述这些电子装置进行身份验证,而由通过验证的所述这些电子装置形成数据传输群组,所述这些电子装置彼此分享内部的元数据;当任一电子装置依据元数据要求实体文件时,判断数据传输系统操作于互联网或局域网络;当数据传输系统操作于互联网时,数据传输群组的其中之一电子装置作为传送端,并上传与元数据相关的实体文件至存取服务器,数据传输群组的剩余电子装置作为接收端,经由存取服务器下载实体文件;以及当数据传输系统操作于局域网络时,传送端直接传送与元数据相关的实体文件至接收端。The present invention relates to a data transmission method applied to a data transmission system. The data transmission system includes a plurality of electronic devices, a verification server, and at least one access server; the data transmission method includes the following steps: The electronic devices perform identity verification, and the electronic devices that have passed the verification form a data transmission group, and the electronic devices share internal metadata with each other; when any electronic device requires a physical file according to the metadata, Judging that the data transmission system operates on the Internet or a local area network; when the data transmission system operates on the Internet, one of the electronic devices in the data transmission group acts as the transmitting end, and uploads the entity file related to the metadata to the access server, and the data transmission The rest of the electronic devices in the group serve as the receiving end to download the entity file via the access server; and when the data transmission system operates in the local area network, the transmitting end directly transmits the entity file related to the metadata to the receiving end.
附图说明Description of drawings
图1所示为依据本发明第一实施例的一种数据传输系统的示意图;FIG. 1 is a schematic diagram of a data transmission system according to a first embodiment of the present invention;
图2所示为依据本发明第二实施例的一种数据传输系统的示意图;FIG. 2 is a schematic diagram of a data transmission system according to a second embodiment of the present invention;
图3所示为依据本发明第三实施例的一种数据传输方法的传输流程图;FIG. 3 is a transmission flowchart of a data transmission method according to a third embodiment of the present invention;
图4所示为依据本发明第四实施例的一种数据传输方法的传输流程图;FIG. 4 is a transmission flowchart of a data transmission method according to a fourth embodiment of the present invention;
图5所示为依据本发明第五实施例的一种数据传输方法的接收流程图。FIG. 5 is a flow chart of receiving a data transmission method according to a fifth embodiment of the present invention.
具体实施方式Detailed ways
为了使本公开内容的叙述更加详尽与完备,下文针对了本发明的具体实施例提出了说明性地描述;但这并非实施或运用本发明具体实施例的唯一形式;实施方式中涵盖了多个具体实施例的特征以及用以建构与操作这些具体实施例的方法步骤与其顺序;然而,亦可利用其他具体实施例来达成相同或均等的功能与步骤顺序。In order to make the narration of the present disclosure more detailed and complete, the following provides an illustrative description for the specific embodiments of the present invention; but this is not the only form of implementing or using the specific embodiments of the present invention; multiple Features of specific embodiments and method steps and sequences thereof for constructing and operating those embodiments; however, other embodiments can be utilized to achieve the same or equivalent functions and step sequences.
除非本说明书另有定义,此处所用的科学与技术词汇的含义与本发明所属技术领域中具有通常知识者所理解与惯用的意义相同。此外,在不和上下文冲突的情形下,本说明书所用的单数名词涵盖该名词的复数型;而所用的复数名词时亦涵盖该名词的单数型。Unless otherwise defined in this specification, the meanings of scientific and technical terms used herein are the same as those commonly understood and commonly used by those skilled in the art to which this invention belongs. In addition, the singular nouns used in this specification include the plural forms of the nouns, and the plural nouns used also include the singular forms of the nouns, unless the context conflicts with the context.
为解决背景技术中存在的问题,本发明提供一种数据传输系统,在此,例示性地列举两种实现方案,分别绘示于图1与图2中,其中,数据传输系统100的详细实现方式将分别于后文图1与图2中介绍。In order to solve the problems existing in the background technology, the present invention provides a data transmission system. Here, two implementation schemes are exemplarily listed, which are shown in FIG. 1 and FIG. 2 respectively, wherein the detailed implementation of the
首先,图1为本发明第一实施例的一种数据传输系统100的示意图;如图所示,数据传输系统100包含多个电子装置112、114、116、验证服务器120以及多个存取服务器130、140。在本实施例中,验证服务器120可通过互联网900通信耦接于多个电子装置112-116,此外,存取服务器130、140可通过互联网900通信耦接于多个电子装置112-116。First, FIG. 1 is a schematic diagram of a
其次,图2为本发明第二实施例的一种数据传输系统200的示意图;相比于图1中的数据传输系统100,在本图中的数据传输系统200不包含多个存取服务器130、140;在本实施例中,验证服务器220可通过互联网900以及集线器250通信耦接于多个电子装置212-216;此外,多个电子装置212-216彼此通过集线器250而相互通信耦接,换言之,多个电子装置212-216可通过局域网络(local lan)的联机方式进行耦接,本发明不以此为限。Next, FIG. 2 is a schematic diagram of a
综合图1与图2所述,多个电子装置112-116或212-216可通过互联网(Internet)也可通过局域网络(local lan)的联机方式进行耦接,且每个电子装置112-116或212-216可各自安装一群组化应用程序(application,APP),用户利用这些电子装置112-116或212-216安装群组化应用程序来进行数据交换,其中,每台有安装群组化应用程序的电子装置都具有一组身份验证的账号与密码。1 and 2, a plurality of electronic devices 112-116 or 212-216 can be coupled through the Internet (Internet) or local area network (local lan), and each electronic device 112-116 Or 212-216 can each install a group application program (application, APP), and the user utilizes these electronic devices 112-116 or 212-216 to install the group application program for data exchange, wherein each has an installation group All electronic devices with integrated application programs have a set of account numbers and passwords for identity verification.
因此,用户可通过一组账号密码,同时登录多台不同的电子装置,当用户登录账号密码时,每台电子装置都会自动联机到验证服务器120进行身份验证。当电子装置112-116通过身份验证后,电子装置112-116或212-216之间即可通过(Internet)或局域网络(local lan)的联机方式形成数据传输群组110或210,本发明不以此为限。Therefore, the user can log in multiple different electronic devices at the same time through a set of account passwords. When the user logs in the account password, each electronic device will automatically connect to the
在操作上,数据传输群组110或210中的数据传输方式如下所述:请同时参照图1与图2,在数据传输群组110或210中,任何一个电子装置都可作为传送端,可传送其内部的文件(包括:影片文件、照片文件或任何其他类型的实体文件…)给其他任何一台在同一数据传输群组110或210内的其他电子装置;同时,任何一台在数据传输群组110或210内的电子装置也可以成为接收端,而能接收来自同一数据传输群组110或210内的其他电子装置所送出的文件。本发明通过群组分享的方式可在不同的电子装置之间进行数据传输和分享的动作。In operation, the data transmission mode in the
在此,上面介绍的多个电子装置112-116通过互联网(Internet)以进行耦接的实现方式。请参考图1,首先,电子装置112-116必须先联机至验证服务器120进行身份验证,通过验证后,电子装置112-116成为数据传输群组110,其中,电子装置116可作为一接收端,通过验证服务器120转送命令,向数据传输群组110内的剩余电子装置(例如:电子装置112、114)要求元数据,剩余电子装置(例如:电子装置112、114)可将其内部所要分享的实体文件(图像文件、照片文件、音乐文件等)转换为元数据(meta data),再将元数据传送至存取服务器130,接收端(例如:电子装置116)即可从存取服务器130取得剩余电子装置(例如:电子装置112、114)送出的元数据。Here, the multiple electronic devices 112 - 116 described above are implemented by being coupled through the Internet. Please refer to FIG. 1. First, the electronic devices 112-116 must first connect to the
在本实施例中,接收端(例如:电子装置116)可取得元数据,用户可通过接收端(例如:电子装置116)在其屏幕上观看到剩余电子装置(例如:电子装置112、114)所要分享的实体文件的元数据(meta data),元数据是与这些实体文件相关联的描述数据。In this embodiment, the receiving end (for example: electronic device 116) can obtain the metadata, and the user can view the rest of the electronic devices (for example:
在本实施例中,剩余电子装置(例如:电子装置112、114)其中之一可作为传送端,实际上,元数据中包括有:指定传送端(例如:电子装置112)传送实体文件至特定的存取服务器130,因此,当传送端(例如:电子装置112)收到接收端送出的要求后,传送端(例如:电子装置112)会将实体文件先上传至存取服务器130,再经由存取服务器130传送实体文件至所述接收端(电子装置116);通过此传送方式,用户可同时使用多个电子装置,并可通过群组化应用程序(APP)以进行自动联机,而能简易的在电子装置之间相互传送和分享实体文件(包括:图像文件、照片文件或音乐文件等)。In this embodiment, one of the remaining electronic devices (for example:
其次,实体文件仅通过所述数据传输系统100内指定的存取服务器130、140来进行传输,当接收端收到实体文件后,存取服务器130、140并不会保留这些实体文件,而会自行删除避免数据外泄的问题。Secondly, the physical files are only transmitted through the designated
在本实施例中,数据传输系统100可采用免费的云端硬盘作为存取服务器130、140,而能达到节省成本之目的。所述云端硬盘可为Google云端硬盘、Dropbox、SugarSync、SkyDrive等,然而各种云端硬盘所能储存的文件类型有限,因此,数据传输系统100的传送端可用以修改实体文件的扩展名,使得实体文件的文件类型能被存取服务器130、140所储存。In this embodiment, the
本发明在进行文件传输时,会依据文件的特性或是云端空间的大小,提供用户建议,让用户选择一个当前最佳的存取服务器进行上传,此机制如下所述:所述数据传输系统100还包括第二存取服务器140,其通信耦接于电子装置112-116,其中传送端(例如:电子装置112)会根据存取服务器130与另一存取服务器140的可允许上传容量、上传速度或剩余容量,以决定传送实体文件至存取服务器130或另一存取服务器140;所谓可允许上传容量为存取服务器所能提供用户的容量,例如采用Dropbox为存取服务器时,其提供用户的容量为2GB,此2GB称为可允许上传容量;所谓上传速度指传送端上传实体文件至存取服务器的速度。所谓剩余容量是指所述提供用户的容量2GB中,当1GB被使用了,剩下的1GB则称为剩余容量。When the present invention transmits files, it will provide user suggestions based on the characteristics of the files or the size of the cloud space, allowing the user to select a current best access server for uploading. This mechanism is as follows: the
通过本发明实施例所提供的所述机制,得以使实体文件上传至最佳的云端服务器,进而便于用户上传文件。Through the mechanism provided by the embodiment of the present invention, the physical file can be uploaded to the best cloud server, thereby facilitating the user to upload the file.
在此,将继续介绍多个电子装置212-216通过局域网络(local lan)以进行耦接的实现方式。请参照图2,在本发明的第二实施例中,电子装置212及电子装置216可通过局域网络进行耦接,其与通过所述互联网进行耦接的电子装置112-116的不同之处在于,数据传输群组210中的传送端(例如电子装置212)会直接传送实体文件至接收端(例如电子装置216),而不会通过所述存取服务器130、140,因此,在本实施例中,数据传输系统200不需存取服务器130、140。Here, the implementation manner of coupling the multiple electronic devices 212-216 through a local area network (local lan) will continue to be introduced. Please refer to FIG. 2, in the second embodiment of the present invention, the
除了所述图1所示的文件分享方式之外,本发明的数据传输系统也可有另外一种不同的文件分享和传输方式。为详细介绍此种不同的文件分享和传输方式,请参照图2,在此,电子装置212-216通过验证服务器220进行身份验证,而形成数据传输群组210后,数据传输群组210其中一个电子装置(例如:电子装置216)作为联机接收端,联机接收端通过验证服务器220发出双向联机要求至数据传输群组210中剩余的电子装置(例如:电子装置212),当剩余电子装置接收到所述要求后,与联机接收端建立双向联机,此时,联机接收端即可通过双向联机向剩余电子装置要求取得元数据,如此一来,用户可通过接收端在其屏幕上观看到剩余电子装置(例如:电子装置212)所要分享的文件信息(图像文件、照片文件或音乐文件等),但看到的内容并非实体的文件信息,只是与这些实体文件相关联的元数据(metadata)。In addition to the file sharing method shown in FIG. 1 , the data transmission system of the present invention may also have another different file sharing and transmission method. To introduce this different file sharing and transmission methods in detail, please refer to FIG. The electronic device (for example: electronic device 216) acts as the connection receiving end, and the online receiving end sends a two-way connection request to the remaining electronic devices (for example: electronic device 212) in the
随后,剩余电子装置(例如:电子装置212)作为传送端,联机接收端依据元数据向传送端要求与元数据相关的实体文件,而由传送端传送实体文件至联机接收端。Subsequently, the rest of the electronic devices (for example, the electronic device 212 ) act as the transmitting end, and the online receiving end requests the entity file related to the metadata from the transmitting end according to the metadata, and the transmitting end transmits the entity file to the online receiving end.
在本实施例中,数据传输系统200操作于Windows的操作系统时,操作系统会对传输数据有所限制,举例而言,若服务器与客户端之间要进行数据传输,当客户端的应用程序操作于背景模式时,服务器传送实体文件至客户端,则客户端会被唤醒以进行后续数据处理。然而,当客户端要传送实体文件至服务器,而服务器的应用程序操作于背景模式时,服务器不会被唤醒,导致客户端传送实体文件的程序失败。In this embodiment, when the
为解决所述问题,本发明提出传送端通过双向联机机制传送实体文件至联机接收端的做法;详细而言,当传送端建立第一联机至联机接收端,以传送实体文件至联机接收端时,联机接收端建立第二联机至传送端,第一联机与第二联机作为相反且单向的数据,形成循环的数据流循环。如此一来,即可改善数据传输系统200操作于Windows 操作系统的环境下有所限制的问题,并确保传送端或接收端所使用的应用程序处于背景模式时,在接收到数据后皆可被唤醒。In order to solve the above problems, the present invention proposes that the transmitting end transmits the physical file to the online receiving end through a two-way connection mechanism; in detail, when the transmitting end establishes a first connection to the online receiving end to transmit the physical file to the online receiving end, The connection receiving end establishes a second connection to the transmitting end, and the first connection and the second connection serve as opposite and unidirectional data, forming a circular data flow cycle. In this way, the problem that the
以上实施例分别介绍多个电子装置112-116或212-216通过互联网(Internet)或局域网络(local lan)以进行耦接的实现方式中,各自特有的实现方式,而后文的实施例则例示性地在介绍所述两者共通的实现方式。The above-mentioned embodiments respectively introduce the implementation methods unique to each of the multiple electronic devices 112-116 or 212-216 to be coupled through the Internet (Internet) or a local area network (local lan), and the following embodiments illustrate It is a general introduction to the common implementation of the two.
在多个电子装置通过互联网(Internet)以及局域网络(local lan)以进行耦接的共通实现方式中,实际上,元数据的内容可包括有文件名、目录名称、文件时间、文件大小、标签、专辑名称、地理坐标、缩图以及截图其中至少一者;除此之外,所述的文件时间可以是文件的建立时间或最近的修改时间,例如对于图片文件而言,文件时间可以是该图片的拍摄时间。专辑名称是指音乐文件所属的音乐专辑的名称。地理坐标可以是经度和纬度,例如有些相机可在拍摄的图片中加入经纬度信息;所述的缩图是指图片文件的缩图,而所述的截图是指影片文件的截图。In the common implementation of multiple electronic devices coupled through the Internet (Internet) and local area network (local lan), in fact, the content of metadata can include file name, directory name, file time, file size, tag , album name, geographic coordinates, thumbnail, and screenshot; in addition, the file time can be the creation time or the latest modification time of the file, for example, for a picture file, the file time can be the The time the picture was taken. The album name refers to the name of the music album to which the music file belongs. Geographical coordinates can be longitude and latitude. For example, some cameras can add latitude and longitude information in the pictures taken; the thumbnail refers to the thumbnail of the picture file, and the screenshot refers to the screenshot of the video file.
所述元数据可显示于电子装置的屏幕上,在显示元数据时,可依据文件的类型以分页方式分别进行显示(例如可将图片、影片、音乐与文件这四种文件的元数据分别用各自的页面显示),也可将全部的元数据合并在同一页面中同时显示;这些元数据可代表各自所属的实体文件的描述与说明,以供电子装置的用户浏览。The metadata can be displayed on the screen of the electronic device. When displaying the metadata, it can be displayed in a paged manner according to the type of the file (for example, the metadata of the four files of pictures, videos, music and documents can be respectively used Each metadata can be displayed on a separate page), and all the metadata can be combined and displayed simultaneously on the same page; these metadata can represent the description and description of the entity files to which they belong, and can be browsed by the user of the electronic device.
在一实施例中,当接收端取得元数据后,剩余电子装置可作为传送端,接收端可依据元数据向传送端要求与元数据相关的实体文件;再者,接收端更能用以搜寻元数据,接收端可将用户输入的搜寻条件和元数据比对,以搜寻符合的实体文件,并提示符合搜寻的实体文件,由接收端向传送端要求符合搜寻的实体文件;用户可在接收端输入文件名,然后接收端将所述的文件的元数据和用户输入的文件名比对,搜寻出名称符合的实体文件。In one embodiment, after the receiving end obtains the metadata, the rest of the electronic device can be used as the transmitting end, and the receiving end can ask the transmitting end for entity files related to the metadata according to the metadata; moreover, the receiving end can be used for searching Metadata, the receiving end can compare the search conditions entered by the user with the metadata to search for matching entity files, and prompt the entity files that meet the search, and the receiving end requests the sending end for the entity files that meet the search; the user can receive The end inputs the file name, and then the receiving end compares the metadata of the file with the file name input by the user, and searches for a physical file whose name matches.
另外,用户也可在接收端输入目录名称或输入卷标信息,然后接收端将所述的文件的元数据和用户输入的目录名称或输入的卷标信息进行比对,搜寻出含有此目录名称或有此卷标信息的实体文件。In addition, the user can also input a directory name or input label information at the receiving end, and then the receiving end compares the metadata of the file with the directory name or the input label information entered by the user, and searches for files containing the directory name. Or a physical file with this volume label information.
此外,用户也可利用在接收端输入专辑名称,将此专辑的音乐文件全部搜寻出来;再者,用户也可通过接收端,选取图片文件或影片文件的所述元数据其中的缩图或截图之中的一个对象,例如人脸;然后接收端可将所述的缩图与截图和用户选取的对象进行比对,搜寻出包括所述对象的图片文件和/或影片文件。In addition, the user can also search for all the music files of this album by inputting the album name at the receiving end; moreover, the user can also select the thumbnail or screenshot in the metadata of the picture file or video file through the receiving end One of the objects, such as a human face; then the receiving end can compare the thumbnail with the screenshot and the object selected by the user, and search out the picture file and/or video file including the object.
另外,有些相机可在拍摄的图片中加入地理坐标,例如经纬度信息;所述的地名搜寻是通过地理坐标与地址信息之间的转换,让用户可通过输入地址信息以搜寻在某一地点拍摄的图片文件;目前已经有些服务可供公众使用,可将地理坐标与地址信息互相转换,例如谷歌地图应用程序编程接口(Googlemap application programming interface,简称为Google map API);所述的地址信息可以是城市与街道地址,例如「台北市罗斯福路二段」;所述的地址信息也可以是著名的地标,例如「台北101大楼」。In addition, some cameras can add geographic coordinates, such as longitude and latitude information, to the pictures taken; the place name search is through the conversion between geographic coordinates and address information, allowing users to search for photos taken at a certain location by inputting address information Image files; currently there are some services available to the public that can convert geographic coordinates and address information, such as the Google map application programming interface (Google map API for short); the address information can be a city and a street address, such as "Roosevelt Road Section 2, Taipei City"; the address information may also be a famous landmark, such as "Taipei 101 Building".
所述的地名搜寻有两种方式,第一种是用户在接收端输入地址信息,接收端将所述地址信息转换为地理坐标,例如经度和纬度,并且在用户的图片文件之中,搜寻出文件本身包含的地理坐标符合所述转换所产生的地理坐标的文件;接收端可估算所述转换所产生的地理坐标和一个图片文件所包含的地理坐标之间的距离,若该距离小于一个门坎值,则接收端可判定这两组地理坐标是符合的。There are two ways to search for place names. The first is that the user inputs address information at the receiving end, and the receiving end converts the address information into geographical coordinates, such as longitude and latitude, and searches out the The geographic coordinates contained in the file itself conform to the geographic coordinates generated by the transformation; the receiving end can estimate the distance between the geographic coordinates generated by the transformation and the geographic coordinates contained in an image file, if the distance is less than a threshold value, the receiving end can determine that the two sets of geographic coordinates are consistent.
所述的第二种地名搜寻是用户在接收端输入地址信息,接收端将所述元数据中每一个图片文件的地理坐标转换为地址信息,并且在用户的图片文件中,搜寻出文件本身的地址信息符合用户输入的地址信息的文件。The second type of place name search is that the user inputs address information at the receiving end, and the receiving end converts the geographical coordinates of each picture file in the metadata into address information, and searches out the location information of the file itself in the user's picture file. A file where the address information matches the address information entered by the user.
接着,用户在接收端输入时间信息,接收端将所述时间信息转换为对应的时间或时间区间,并且在所述的元数据中,搜寻出文件时间符合所述转换所产生的时间或时间区间的文件;例如,若用户输入的时间信息是「圣诞节」,则可转换为12月25日的时间,可搜寻出在12月25日拍摄的图片文件或影片文件;若用户输入的时间信息是「春天」,则可转换为3月1日至5月31日的时间区间,可搜寻出在此时间区间拍摄的图片文件或影片文件。Next, the user inputs time information at the receiving end, and the receiving end converts the time information into a corresponding time or time interval, and in the metadata, finds out that the file time matches the time or time interval generated by the conversion files; for example, if the time information entered by the user is "Christmas", it can be converted to the time of December 25th, and the picture file or video file taken on December 25th can be searched; if the time information entered by the user If it is "spring", it can be converted to the time interval from March 1 to May 31, and the image files or video files taken during this time interval can be searched.
所述的文件名搜寻、目录名称搜寻、卷标搜寻、专辑搜寻、图片搜寻、地名搜寻、以及时间搜寻可以组合使用,以提供更精准的搜寻;例如用「春天」做时间搜寻,不管哪一年春天拍摄的图片都会被搜寻出来,如果用「2008春天台北」做搜寻,就只会搜寻出2008年春天在台北市拍摄的图片。The above-mentioned file name search, directory name search, label search, album search, image search, place name search, and time search can be used in combination to provide a more precise search; for example, use "spring" for time search, no matter which The pictures taken in the spring of 2008 will be searched. If you use "2008 Spring Taipei" to search, you will only find the pictures taken in Taipei in the spring of 2008.
图3所示为本发明第三实施例一种数据传输方法300的传输流程示意图,其中,数据传输方法300可应用于所述数据传输系统100、200中,其中,数据传输系统100、200的内部组件已于上文描述中介绍,在此不作赘述。FIG. 3 is a schematic diagram of a transmission process of a
如图3所示,数据传输方法300包含以下步骤,首先,请参见步骤310,验证服务器120、220对数据传输系统100、200的这些电子装置112-116、212-216进行身份验证,而由通过验证的这些电子装置112-116、212-216形成数据传输群组110、210,所述这些电子装置112-116、212-216彼此分享内部的元数据。As shown in FIG. 3 , the
随后,请参见步骤320,当任一电子装置依据元数据要求实体文件时,可通过任一电子装置以判断数据传输系统100、200操作于互联网或局域网络;接着,于步骤330中,当判定数据传输系统100操作于互联网时,数据传输群组110的其中一个电子装置作为传送端,并上传与元数据相关的实体文件至多个存取服务器130、140其中之一,数据传输群组110的剩余电子装置作为接收端,经由存取服务器130、140其中之一下载实体文件。Then, please refer to step 320, when any electronic device requires the entity file according to the metadata, it can be determined by any electronic device that the
此外,在步骤340中,当判定数据传输系统200操作于局域网络时,传送端直接传送与元数据相关的实体文件至接收端;在此,由于数据传输系统100、200中的内部组件的操作方式已于图1及图2的论述中提及,为使本发明说明简洁,在此不作赘述。In addition, in
如上所述,通过所述数据传输方法300,得以快速判断数据传输系统操作于何种网络架构,而能适应性地提供数据传输系统妥当的数据传输方式,便于用户传送数据。As mentioned above, through the
图4为依据本发明第四实施例的一种数据传输方法的传输流程示意图;图5为依据本发明第五实施例的一种数据传输方法的接收流程示意图。FIG. 4 is a schematic diagram of a transmission process of a data transmission method according to a fourth embodiment of the present invention; FIG. 5 is a schematic diagram of a reception process of a data transmission method according to a fifth embodiment of the present invention.
为使本发明实施例的数据传输方法更易于理解,在此一并例示性地介绍图1与图4;首先,传送端提供数据(步骤410),所述数据包括基本数据;随后,验证服务器对数据传输系统的多个电子装置进行身份验证,而由通过验证的电子装置形成数据传输群组(步骤415)。传送端将数据分割成多个数据片段,并计算数据片段的核对和(checksum)(步骤420),并对数据片段进行加密(步骤430)。In order to make the data transmission method of the embodiment of the present invention easier to understand, Fig. 1 and Fig. 4 are exemplarily introduced together here; first, the transmitting end provides data (step 410), and the data includes basic data; subsequently, the verification server Identity verification is performed on a plurality of electronic devices in the data transmission system, and the verified electronic devices form a data transmission group (step 415 ). The transmitting end divides the data into multiple data segments, calculates a checksum of the data segments (step 420 ), and encrypts the data segments (step 430 ).
接着,判断数据传输系统操作于互联网或局域网络(步骤440);当数据传输系统操作于互联网时,数据传输群组的传送端传送实体文件片段至存取服务器(步骤450)。在此需说明的是,由于一般将文件上传至存取服务器时,并无一适当的机制来告知使用者,当有多个存取服务器同时存在时,如何选择一个最佳的存取服务器来进行文件上传,据此,本发明提供一种机制来解决所述不便,此机制如下所述。当有多个存取服务器时,数据传输群组的传送端会根据多个存取服务器的可允许上传容量、上传速度或剩余容量,以决定传送实体文件至多个存取服务器的其中之一;如此一来,通过本发明实施例所提供的机制,得以使实体文件上传至最佳的存取服务器,进而便于使用者上传文件。Next, it is determined that the data transmission system is operating on the Internet or a local area network (step 440); when the data transmission system is operating on the Internet, the sending end of the data transmission group sends the entity file segment to the access server (step 450). What needs to be explained here is that when uploading files to the access server, there is no appropriate mechanism to inform the user how to choose an optimal access server to upload files when multiple access servers exist at the same time. File upload is carried out, whereby the present invention provides a mechanism to solve said inconvenience, which mechanism is as follows. When there are multiple access servers, the sending end of the data transmission group will decide to send the physical file to one of the multiple access servers according to the allowable upload capacity, upload speed or remaining capacity of the multiple access servers; In this way, through the mechanism provided by the embodiment of the present invention, the physical file can be uploaded to the best access server, thereby facilitating the user to upload the file.
此外,当数据传输系统操作于局域网络时,传送端直接传送实体文件片段至接收端(步骤460);再者,判断经加密的数据片段是否传输完成(步骤470)。若经加密的数据片段已传送完成,则判断经加密的数据片段是否存在错误(步骤480);若经加密的数据片段尚未传送完成,则回到步骤420。In addition, when the data transmission system operates on a local area network, the transmitting end directly transmits the physical file segment to the receiving end (step 460); furthermore, it is determined whether the encrypted data segment has been transmitted (step 470). If the encrypted data segment has been transmitted, it is determined whether there is an error in the encrypted data segment (step 480); if the encrypted data segment has not been transmitted, then return to step 420.
接续步骤480,当经加密的数据片段其中之一错误,则重新传送错误的数据片段(步骤490);而当经加密的数据片段皆无错误,则结束本数据传输方法的传输流程。Continuing with step 480, when one of the encrypted data segments is wrong, the wrong data segment is retransmitted (step 490); and when none of the encrypted data segments is error-free, the transmission process of the data transmission method is ended.
为使本发明实施例的数据传输方法更易于理解,在此一并例示性地介绍图1与图5;首先,接收端会接收数据的基本数据(步骤510);接着,判断数据传输系统操作于互联网或局域网络(步骤520);若数据传输系统操作于互联网,存取服务器传送实体文件至数据传输群组的接收端(步骤522);若数据传输系统操作于局域网络,则接收端接收数据片段(步骤526);在一实施例中,传送端上传数据至存取服务器,而接收端自存取服务器下载数据,当接收端自存取服务器下载数据完成后,存取服务器删除数据(步骤524)。In order to make the data transmission method of the embodiment of the present invention easier to understand, Figure 1 and Figure 5 are exemplarily introduced here together; first, the receiving end will receive the basic data of the data (step 510); then, determine the operation of the data transmission system On the Internet or local area network (step 520); if the data transmission system operates on the Internet, the access server sends the entity file to the receiving end of the data transmission group (step 522); if the data transmission system operates on the local area network, the receiving end receives Data segment (step 526); in one embodiment, the transmitting end uploads data to the access server, and the receiving end downloads data from the access server, and when the receiving end downloads data from the access server, the access server deletes the data ( Step 524).
再者,可接收端对经加密的数据片段进行解密(步骤530);接着,判断经加密的数据片段的核对和是否正确(步骤540);若经加密的数据片段的核对和不正确,则重新下载不正确的数据片段(步骤542);若经加密的数据片段的核对和正确,将经加密的数据片段写入接收端(步骤544)。Furthermore, the receiving end decrypts the encrypted data segment (step 530); then, judges whether the checksum of the encrypted data segment is correct (step 540); if the encrypted data segment checksum is incorrect, then Re-download the incorrect data segment (step 542); if the checksum of the encrypted data segment is correct, write the encrypted data segment to the receiving end (step 544).
随后,判断经加密的数据片段是否接收完成(步骤550);若经加密的数据片段已接收完成,判断数据是否传输完成(步骤552);若经加密的数据片段尚未接收完成,则回到步骤520。Subsequently, it is judged whether the encrypted data segment has been received (step 550); if the encrypted data segment has been received, it is judged whether the data transmission is completed (step 552); if the encrypted data segment has not been received yet, then return to step 520.
接续步骤552,若数据传输尚未完成,则回到步骤520;若数据传输已完成,则结束数据传输方法的接收流程。Continuing with
如上所述的数据传输方法皆可由软件、硬件和/或固件来执行;举例来说,若以执行速度及精确性为首要考虑,则基本上可选用硬件和/或固件为主;若以设计弹性为首要考虑,则基本上可选用软件为主;或者,可同时采用软件、硬件及固件协同作业;应了解到,以上所举的这些例子并没有所谓孰优孰劣之分,亦并非用以限制本发明,本领域的技术人员可视当时需要进行弹性设计。The above-mentioned data transmission methods can all be implemented by software, hardware and/or firmware; If flexibility is the primary consideration, software can basically be used as the main choice; or, software, hardware and firmware can be used at the same time to work together; In order to limit the present invention, those skilled in the art can make flexible design according to the needs at that time.
再者,本领域的普通技术人员当可明白,数据传输方法中的各步骤依其执行功能予以命名,仅是为了让本发明的技术更加明显易懂,并非用以限定这些步骤。将各步骤予以整合成同一步骤或分拆成多个步骤,或者将任一步骤更换到另一步骤中执行,均应属于本公开内容的实施方式。Furthermore, those of ordinary skill in the art should understand that the steps in the data transmission method are named according to their functions, just to make the technology of the present invention more obvious and understandable, not to limit these steps. Integrating each step into the same step or splitting it into multiple steps, or replacing any step with another step for execution should all belong to the embodiments of the present disclosure.
综上所述,本发明的技术方案与现有技术相比具有明显的优点和有益效果。本发明提出的数据传输系统传输方法可解决文件传送协议的文件提供端需要公开的固定网际网址地址的问题;另外,在传送的过程中,相较于传统的文件传送协议(FTP),可在多个电子装置之间,透过群组化应用程序以自动进行联机,提供使用者更直观的使用体验;且用户不需将实体文件完整地存放在云端储存空间,因而减少数据外泄的可能性;也可应用免费的云端硬盘来作为存取服务器,而能达到节省成本之目的。In summary, compared with the prior art, the technical solution of the present invention has obvious advantages and beneficial effects. The data transmission system transmission method proposed by the present invention can solve the problem that the file provider of the file transfer protocol needs to disclose the fixed Internet address; in addition, in the process of transmission, compared with the traditional file transfer protocol (FTP), it can be Multiple electronic devices are automatically connected through grouped applications, providing users with a more intuitive experience; and users do not need to completely store physical files in cloud storage space, thereby reducing the possibility of data leakage Sex; You can also use the free cloud hard disk as an access server, which can save costs.
虽然本发明已以较佳实施例公开如上,然其并非用以限定本发明,任何本领域的普通技术人员,在不脱离本发明的精神和范围内,当可作些许的变动与润饰,因此本发明的保护范围当视权利要求书所界定者为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore The scope of protection of the present invention should be defined by the claims.
Claims (29)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201261736496P | 2012-12-12 | 2012-12-12 | |
| US61/736,496 | 2012-12-12 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103873543A true CN103873543A (en) | 2014-06-18 |
Family
ID=50911664
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310130061.5A Pending CN103873543A (en) | 2012-12-12 | 2013-04-15 | A data transmission system and its transmission method |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103873543A (en) |
| TW (1) | TWI488481B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105721515A (en) * | 2014-12-02 | 2016-06-29 | 鸿富锦精密工业(深圳)有限公司 | Cloud agent device, cloud storage and file transfer method |
| US10187469B2 (en) | 2014-12-02 | 2019-01-22 | Nanning Fugui Precision Industrial Co., Ltd. | Cloud agent device, cloud storage and file transferring method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050066033A1 (en) * | 2003-09-24 | 2005-03-24 | Cheston Richard W. | Apparatus, system, and method for dynamic selection of best network service |
| US20060259957A1 (en) * | 2004-11-04 | 2006-11-16 | Tam Chung M | System and method for creating a secure trusted social network |
| US20070289022A1 (en) * | 2006-06-08 | 2007-12-13 | Erland Wittkotter | Apparatus and method for the protected distribution of electronic documents |
| CN102045294A (en) * | 2009-10-23 | 2011-05-04 | 宏碁股份有限公司 | Data transmission method and system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004302543A (en) * | 2003-03-28 | 2004-10-28 | Ntt Docomo Inc | Receiver and program |
| TW200913609A (en) * | 2007-09-07 | 2009-03-16 | Guan-Ru Lin | Electronic file sharing system |
-
2013
- 2013-04-15 TW TW102113327A patent/TWI488481B/en active
- 2013-04-15 CN CN201310130061.5A patent/CN103873543A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050066033A1 (en) * | 2003-09-24 | 2005-03-24 | Cheston Richard W. | Apparatus, system, and method for dynamic selection of best network service |
| US20060259957A1 (en) * | 2004-11-04 | 2006-11-16 | Tam Chung M | System and method for creating a secure trusted social network |
| US20070289022A1 (en) * | 2006-06-08 | 2007-12-13 | Erland Wittkotter | Apparatus and method for the protected distribution of electronic documents |
| CN102045294A (en) * | 2009-10-23 | 2011-05-04 | 宏碁股份有限公司 | Data transmission method and system |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105721515A (en) * | 2014-12-02 | 2016-06-29 | 鸿富锦精密工业(深圳)有限公司 | Cloud agent device, cloud storage and file transfer method |
| US10187469B2 (en) | 2014-12-02 | 2019-01-22 | Nanning Fugui Precision Industrial Co., Ltd. | Cloud agent device, cloud storage and file transferring method |
| CN105721515B (en) * | 2014-12-02 | 2019-06-07 | 鸿富锦精密工业(深圳)有限公司 | The method of cloud agent equipment, cloud disk and archives transfer |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201424325A (en) | 2014-06-16 |
| TWI488481B (en) | 2015-06-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9628563B2 (en) | Sharing and synchronizing data across users of cloud computing systems | |
| US8825598B2 (en) | Media file synchronization | |
| US8756247B2 (en) | System and method for sharing online storage services among multiple users | |
| CN102299954B (en) | For the context-specific network resource addressing system and method for Distributed Services | |
| EP2922273A1 (en) | Resource sharing method, apparatus, system, and terminal, and resource management center | |
| US20100082725A1 (en) | Control terminal for giving content reproduction command, content relay device and remote content reproduction system | |
| EP2753047A1 (en) | Method of sharing contents by using personal cloud device, and electronic device and personal cloud system using the same | |
| US20130060855A1 (en) | Publishing Assets of Dynamic Nature in UPnP Networks | |
| US20090150570A1 (en) | Sharing Assets Between UPnP Networks | |
| US20090150481A1 (en) | Organizing And Publishing Assets In UPnP Networks | |
| KR20140057617A (en) | Network connected media gateway for communication networks | |
| CN102272747A (en) | Method and apparatus for managing state information of remote user interface | |
| US10789375B2 (en) | Unified storage management | |
| CN104348848B (en) | Manage method, terminal device and the server of picture | |
| WO2018107719A1 (en) | Data sharing method, apparatus, terminal device and server | |
| BR112012002388B1 (en) | CONTENT DELIVERY METHOD AND CONTENT SHARING SYSTEM WITH A NETWORK STORAGE DEVICE AND A CONTENT PROVISION DEVICE | |
| US20090150520A1 (en) | Transmitting Assets In UPnP Networks To Remote Servers | |
| WO2009073566A1 (en) | Organizing and publishing assets in upnp networks | |
| CN103973772B (en) | File read/write method and device | |
| CN106027632A (en) | Data transmission method and device | |
| US20130054691A1 (en) | Flexible rule based multi-protocol peer-to-peer caching | |
| CN103873543A (en) | A data transmission system and its transmission method | |
| US10735514B2 (en) | Remote application configuration on network-attached storage | |
| JP2017503274A (en) | Method for providing on-demand digital images to mobile devices at other geographic locations | |
| US20140164573A1 (en) | Data transmission system and 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 | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140618 |
|
| WD01 | Invention patent application deemed withdrawn after publication |