CN105812402A - File transmission method and device based on Internet of things - Google Patents

File transmission method and device based on Internet of things Download PDF

Info

Publication number
CN105812402A
CN105812402A CN201410837173.9A CN201410837173A CN105812402A CN 105812402 A CN105812402 A CN 105812402A CN 201410837173 A CN201410837173 A CN 201410837173A CN 105812402 A CN105812402 A CN 105812402A
Authority
CN
China
Prior art keywords
file
server
network access
account
corresponding
Prior art date
Application number
CN201410837173.9A
Other languages
Chinese (zh)
Inventor
常青
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CN201410837173.9A priority Critical patent/CN105812402A/en
Publication of CN105812402A publication Critical patent/CN105812402A/en

Links

Abstract

The invention provides a file transmission method and device based on the Internet of things. The method comprises the steps of receiving a login request sent by network access equipment and carrying an equipment account and an equipment password, and establishing a first long connection channel with the network access equipment after the login is authorized; receiving and storing a first file uploaded by a user terminal; generating a first index identifier corresponding to the stored first file and returning the first index identifier to the user terminal; receiving a first file transmission request sent by the user terminal and carrying the equipment account and the first index identifier; sending the first file transmission request to the network access equipment via the first long connection channel corresponding to the equipment account; receiving a download request sent by the network access equipment and carrying the first index identifier; and searching the first file corresponding to the first index identifier and transmitting the first file to the network access equipment. The file transmission method and device based on the Internet of things solve the problem that a file cannot be directly transmitted in the absence of a public network address.

Description

基于物联网的文件传输方法和装置 Document transmission method and apparatus based on things

技术领域 FIELD

[0001] 本发明设及物联网技术领域,特别是设及一种基于物联网的文件传输方法和装置。 Invention is provided [0001] The physical networking technology, and in particular is provided and a file transfer method and apparatus based on things.

背景技术 Background technique

[0002] 物联网是新一代信息技术的重要组成部分,其英文名称是"The Internet Of things",是指物物相连的互联网。 [0002] Things is an important part of a new generation of information technology, its English name is "The Internet Of things", referring to things objects connected to the Internet. 物联网的核屯、和基础仍然是互联网,是在互联网基础上的延伸和扩展的网络,物联网使得基于用户终端的互联网延伸和扩展到了物品与物品之间的信息交换和通信。 Things nuclear Tun, and is still based on the Internet, is extended with a network based on the Internet, so that the things to the extension and expansion of communication and exchange of information between the article and the article web-based user terminals. 通过物联网,用户可W通过手机等控制终端来远程控制家里的网络接入设备,W实现远程控制。 By networking, the user can control terminal W via the mobile phone and the like to remotely control the home network access device, remote control W.

[0003] 网络接入设备与用户终端接入基于物联网可W有两种方式,包括直接接入公网W 及通过内网连接到公网。 [0003] The network access device and the user terminal based on the access things W can be in two ways, including direct access to the public network through the W and connected to a public network. 公网内的节点之间可W随意互相访问。 W may be a public network between the nodes in each random access. 目前的物联网实现方案, 需要网络接入设备直接接入公网,具有公网网络地址,运样用户终端才可W通过网络接入设备的公网网络地址寻找到该网络接入设备并与其通信,实现对网络接入设备的控制。 Current implementations of things, required network access device directly connected to the public network, the public network having a network address, the user terminal before the sample transport W Looking to the network access device through a public network address of the network access device and its communication, to achieve control of the network access device. 类似地,若网络接入设备需要与用户终端连接通信,也需要用户终端直接接入公网并具有公网网络地址,网络接入设备才能通过用户终端的公网网络地址与用户终端连接通信。 Similarly, if the network access device communicating with the user terminal needs to be connected, the user terminal need direct access to the public network and having a public network address, the network access device connected to the communication network via the public network address of the user terminal and the user terminal.

[0004] 然而,公网网络地址的资源是有限的,为每个网络接入设备W及用户终端各自分配公网网络地址成本太高,也是不切实际的。 [0004] However, public network address resources are limited, the network access device for each W and each user terminal assigned public network address is too costly and impractical. 合理的情形是,网络接入设备与用户终端都通过各自的网关接入公网的,网络接入设备与用户终端分别处于各自的内网中。 Reasonable case that the network access device and the user terminal through the network access device to the user each public network gateway access terminals respectively in the respective internal network. 运样网络接入设备和用户终端如何寻找到对方并进行通信就成为一个难题,难W实现在网络接入设备与用户终端之间传输文件。 The sample transport network access equipment and user terminals how to find each other and communicate becomes a problem, it is difficult to achieve W to transfer files between a network access device and the user terminal.

发明内容阳〇化]基于此,有必要针对目前网络接入设备与用户终端分别处于各自的内网中,难W 实现文件传输的问题,提供一种基于物联网的文件传输方法和装置。 Summary of the male square] Based on this, it is necessary for the current network access device and the user terminal in question are the respective network, the file transfer is difficult W is provided a document transmission method and apparatus based on the IOT.

[0006] 一种基于物联网的文件传输方法,所述方法包括: [0006] A method of file transfer based on things, the method comprising:

[0007] 接收网络接入设备发来的携带有设备账号和设备密码的登录请求,据W完成登录授权后建立与所述网络接入设备间的第一长连接通道; [0007] The receiving apparatus sent by the network access device carries a device password and account login request, according to W after completion of the establishment with the network access login authorization long connection channel between the first device;

[0008] 接收用户终端上传的第一文件并存储; [0008] receiving a first file and storing the uploaded user terminal;

[0009] 生成与存储的第一文件对应的第一索引标识并返回给所述用户终端; [0009] generating a first file corresponding to the stored first identifier and returns the index to the user terminal;

[0010] 接收所述用户终端发送的携带有设备账号和所述第一索引标识的第一文件传输请求; [0010] carries the first index device and an account identifier of the first user receiving the file transmission request sent by the terminal;

[0011] 通过所述设备账号所对应的所述第一长连接通道向所述网络接入设备发送所述第一文件传输请求; [0011] The account by the device corresponding to a first long connection channel transmitting the file transmission request to the first network access device;

[0012] 接收所述网络接入设备响应于所述第一文件传输请求发来的携带有所述第一索引标识的下载请求; [0012] The network access device receives the response to the first index label carries the first download request sent to the file transfer request;

[0013] 根据所述下载请求,查询到所述第一索引标识所对应的所述第一文件并传输给所述网络接入设备。 [0013] According to the download request, the first query to the index corresponding to a first identification file and transmitted to the network access device.

[0014] 一种基于物联网的文件传输装置,所述装置包括: [0014] A document transmission apparatus based on things, the apparatus comprising:

[0015] 登录处理模块,用于接收网络接入设备发来的携带有设备账号和设备密码的登录请求,据W完成登录授权后建立与所述网络接入设备间的第一长连接通道; [0015] Log processing module for carrying equipment and device password account login request sent by the receiving network access device, it is established after completion of log W authorizing access to the first network connection channel length between devices;

[0016] 文件处理模块,用于接收用户终端上传的第一文件并存储;生成与存储的第一文件对应的第一索引标识并返回给所述用户终端; [0016] The processing module, for receiving a first file and storing the uploaded user terminal; a first file to generate a first index corresponding to the stored identifier, and returns to the user terminal;

[0017] 文件传输请求处理模块,用于接收所述用户终端发送的携带有设备账号和所述第一索引标识的第一文件传输请求;通过所述设备账号所对应的所述第一长连接通道向所述网络接入设备发送所述第一文件传输请求; [0017] The file transfer request processing module, for receiving the first user terminal transmits a file transmission request carries the first index device and an account identifier; the account by the device corresponding to a first long link channel to the network access device sends the first file transfer request;

[0018] 下载请求处理模块,用于接收所述网络接入设备响应于所述第一文件传输请求发来的携带有所述第一索引标识的下载请求;根据所述下载请求,查询到所述第一索引标识所对应的所述第一文件并传输给所述网络接入设备。 [0018] The download request processing module, for receiving the network access device in response to the first index carries a download request identifying a first file to said transmission request sent; according to the download request, the queried the said first identifier corresponding to the first index file and transmitted to the network access device.

[0019] 上述基于物联网的文件传输方法和装置,根据网络接入设备主动发起的登录请求进行登录授权,保证安全性的同时,也可W获知网络接入设备在网络中的通信位置。 While [0019] The file-based transmission method and apparatus of things, according to the authorization log login request initiated by the network access device actively, to ensure safety, the location may be a communication network known W in the network access equipment. 建立与网络接入设备间的第一长连接通道,运样可W维持与网络接入设备间通信的有效性,避免网络接入设备因网络位置发生变化而导致无法通信。 Establishing a connection between the channel and the length of the first network access device, the sample transport W can maintain the effectiveness of the communication between network access devices and to avoid network access device due to a change in position caused by the network can not communicate. 第一文件的上传是用户终端主动发起的,运样就可W获知用户终端在网络中的通信位置,从而将第一索引标识返回给用户终端。 The first file upload is initiated by the user terminal actively, the sample transport W can know the position of a user terminal in a communication network, so as to return the first index ID to the user terminal. 而且通过第一长连接通道,可W直接将用户终端发起的第一文件传输请求再发送给网络接入设备,使得网络接入设备做出响应W下载第一文件。 And the first connection channel length, W may be directly initiated by the user terminal to the first file transfer request then sent to the network access device, the network access device that makes the first response W downloaded file. 运样无论网络接入设备是否直接连接到公网,W及其内网环境如何变化,都可W寻找到网络接入设备,实现用户终端向网络接入设备传输第一文件。 Whether the sample transport network access device is connected directly to the public network, W and how changes in the network environment, can find the network access device W, the user terminal to achieve a first file transfer to the network access device.

[0020] 一种基于物联网的文件传输方法,所述方法包括: [0020] A method of file transfer based on things, the method comprising:

[0021] 将第一文件上传到服务器存储,W生成存储的第一文件所对应的第一索引标识; [0021] The first file uploaded to the storage server, generating a first file stored in W corresponding to a first identification index;

[0022] 接收所述服务器所返回的所述第一索引标识; [0022] The server receiving the identification returned by a first index;

[0023] 向所述服务器发送携带有设备账号和所述第一索引标识的第一文件传输请求,W 使所述服务器通过与所述设备账号对应的网络接入设备间的第一长连接通道传递所述第一文件传输请求,并使所述网络接入设备响应于所述第一文件传输请求而从所述服务器下载所述第一索引标识所对应的所述第一文件。 [0023] transmits to the server device carrying an account identifier and the first index file of the first transmission request, W server through the connection channel between the first length of the device corresponding to the account to the network access device transmitting said first file transmission request, and the network access device in response to the first file to the first file transfer request from the server to download the first index corresponding to the identifier.

[0024] 一种基于物联网的文件传输装置,所述装置包括: [0024] A document transmission apparatus based on things, the apparatus comprising:

[00巧]上传模块,用于将第一文件上传到服务器存储,W生成存储的第一文件所对应的第一索引标识; [00 Qiao] uploading means for uploading to the file server stores the first, to generate a first file stored in W corresponding to a first identification index;

[00%] 接收模块,用于接收所述服务器所返回的所述第一索引标识; [00%] receiving module, configured to receive the first index returned by the server identifier;

[0027] 发送模块,用于向所述服务器发送携带有设备账号和所述第一索引标识的第一文件传输请求,W使所述服务器通过与所述设备账号对应的网络接入设备间的第一长连接通道传递所述第一文件传输请求,并使所述网络接入设备响应于所述第一文件传输请求而从所述服务器下载所述第一索引标识所对应的所述第一文件。 [0027] transmitting means for transmitting to the server a first file transfer request carries the account number and the device has first identification index, W between the server apparatus via the network access device corresponding to the account a first connecting passage communicating the first long file transmission request, and the network device in response to the access to the first file transfer request from the server to download the first index corresponding to the first identifier file.

[0028] 上述基于物联网的文件传输方法和装置,主动将第一文件上传到服务器存储,并且主动向服务器发起第一文件传输请求,运样服务器也可W与本地进行通信。 [0028] The file-based transmission method and apparatus of the IOT, the first active upload files to the server memory, and initiates the file transfer request to the first server, the sample transport server may also communicate with the local W. 而且服务器与网络接入设备间维持第一长连接通道,运样服务器就可W通过该第一长连接通道与网络接入设备通信,W将第一文件传输请求传递给网络接入设备。 And between the server and the network access device to maintain a first connection channel length, W the sample transport server may communicate with the first connecting passage length by the network access device, the first W file transfer request to the network access device. 网络接入设备就可W对第一文件传输请求做出响应W下载第一文件,实现了通过服务器向网络接入设备传输第一文件。 Network access device responds W W can download the first file a first file transmission request, to implement the transmission to the network access device through the first file server. 运样无论网络接入设备是否直接连接到公网,W及其内网环境如何变化,服务器都可W 寻找到网络接入设备,实现用户终端向网络接入设备传输第一文件。 Whether the sample transport network access device is connected directly to the public network, W and how changes in the network environment, the server can find the network access device W, the user terminal to achieve a first file transfer to the network access device.

[0029] 一种基于物联网的文件传输方法,所述方法包括: [0029] A method of file transfer based on things, the method comprising:

[0030] 当用户终端将携带有设备账号的第一文件传输请求发送给所述服务器后,接收所述服务器通过所述设备账号所对应的第一长连接通道发来的所述第一文件传输请求; [0030] When a user carrying the terminal apparatus of the first account file transfer request to the server, the server receives the account number corresponding to the device through a first connecting passage length sent by said first file transfer request;

[0031] 响应于所述第一文件传输请求,W从所述服务器下载所述第一文件传输请求所携带的第一索引标识所对应的第一文件;所述第一索引标识根据所述用户终端上传到所述服务器存储的第一文件生成。 [0031] The first file in response to the transmission request, W from the first server downloading the file transmission request carried by a first identification file corresponding to the first index; the first index according to the user identifier uploaded to the server terminal first storage file generation.

[0032] 一种基于物联网的文件传输装置,所述装置包括: [0032] A document transmission apparatus based on things, the apparatus comprising:

[0033] 接收单元,用于当用户终端将携带有设备账号的第一文件传输请求发送给所述服务器后,接收所述服务器根据所述设备账号而通过第一长连接通道发来的所述第一文件传输请求; [0033] a receiving unit, configured to, when the user carries the terminal apparatus has a first file transfer request after the account is sent to the server, the server receives the account according to the device through the first connecting channel sent by the long The first file transfer request;

[0034] 下载单元,用于响应于所述第一文件传输请求,从所述服务器下载所述第一文件传输请求所携带的第一索引标识所对应的第一文件;所述第一索引标识根据所述用户终端上传到所述服务器存储的第一文件生成。 [0034] The download unit, in response to the first file transfer request from the first server downloading the file index identifying the first transmission request corresponding to a first document carried; the first identification index generating a first user terminal to upload the file to the storage server.

[0035] 上述基于物联网的文件传输方法和装置,与服务器维持第一长连接通道,运样在用户终端向服务器发送了第一文件传输请求,服务器就可W通过该第一长连接通道与本地通信,从而使得本地接收到第一文件传输请求并做出响应,W从服务器下载第一文件,该第一文件是用户终端上传到服务器存储的。 [0035] The file-based transmission method and apparatus of things, the server maintains a first connection channel length, the sample transport in the above-described first user terminal transmits the file transmission request to the server, the server W can be connected through the first channel length local communication, so that the local receiving a first file transfer request and respond, W download the file from the first server, the first file is uploaded to the server terminal user storage. 运样无论本地是否连接到公网,W及本地所在内网网络环境如何变化,服务器都可W寻找到文件传输的接收者,实现了接收到用户终端借助服务器传输的第一文件。 Whether locally sample transport is connected to the public network, how the network where W and local network environment changes, the server W can find the file transfer to the recipient, to achieve the first document received by the server to the user terminal transmission.

附图说明 BRIEF DESCRIPTION

[0036] 图1为一个实施例中基于物联网的文件传输系统的环境图; [0036] Figure 1 is a networked environment of FIG was based file transfer system in the embodiment;

[0037] 图2为一个实施例中图1中的服务器的内部结构示意图; [0037] Figure 2 is a schematic view of an internal configuration of the server illustrated in Figure 1 embodiment;

[0038] 图3为另一个实施例中基于物联网的文件传输系统的环境图; [0038] FIG. 3 is a networked environment of FIG was based file transfer system according to another embodiment;

[0039] 图4为一个实施例中图1中的用户终端的内部结构示意图; [0039] FIG. 4 is a schematic diagram of an internal configuration of a user terminal illustrated in Figure 1 embodiment;

[0040] 图5为一个实施例中图1中的网络接入设备的内部结构示意图; [0040] FIG. 5 is a schematic view of internal structure illustrated in Figure 1 network access equipment embodiment;

[0041] 图6为一个实施例中基于物联网的文件传输方法的流程示意图; [0041] FIG. 6 is a file transfer method based IOT schematic flow diagram in one embodiment;

[0042] 图7为一个实施例中根据来自网络接入设备的第二文件传输请求W向用户终端传输第二文件的步骤的流程示意图; [0042] FIG. 7 is a process embodiment W terminal step of transmitting a second file a second file transfer request from the network access device according to a schematic embodiment of a user;

[0043] 图8为一个实施例中用户终端采集声音和/或图像W形成第一文件的步骤的流程示意图; [0043] FIG. 8 is one embodiment of the user terminal acquired sound and / or the step of forming a first image file W schematic flow diagram of embodiment;

[0044] 图9为一个实施例中通过设备账号所对应的第一长连接通道向网络接入设备发送第一文件传输请求的步骤的流程示意图; [0044] FIG. 9 is a schematic diagram of a process by the device corresponding to the account to the first step of transmitting a first connection passage long file transmission request to a network access device of the embodiment;

[0045] 图10为另一个实施例中基于物联网的文件传输方法的流程示意图; [0045] FIG. 10 is a file transfer method based IOT flow schematic diagram of another embodiment;

[0046] 图11为一个实施例中接收网络接入设备所传输的第二文件的步骤的流程示意图; [0046] FIG. 11 is a process step in the second embodiment receives a file transmitted by the network access device a schematic embodiment;

[0047] 图12为再一个实施例中基于物联网的文件传输方法的流程示意图; [0047] FIG. 12 is a further embodiment of the method of file transfer process based on a schematic view of things;

[0048] 图13为一个实施例中向用户终端传输第二文件的步骤的流程示意图; [0048] FIG. 13 is a schematic flow chart of a second embodiment, the terminal step of transmitting a file to a user embodiment;

[0049] 图14为一个实施例中网络接入设备采集声音和/或图像W形成第二文件的步骤的流程示意图; [0049] FIG. 14 is a flow steps in a network access device collecting a sound and / or image W is formed of a second embodiment of a schematic document;

[0050] 图15为一个实施例中基于物联网的文件传输装置的结构框图; [0050] FIG. 15 is a block diagram showing a file-based transmission apparatus of things in one embodiment;

[0051] 图16为另一个实施例中基于物联网的文件传输装置的结构框图; [0051] FIG. 16 is a block diagram showing a file-based transmission apparatus according IOT another embodiment;

[0052] 图17为再一个实施例中基于物联网的文件传输装置的结构框图; [0052] FIG. 17 is a block diagram showing a file-based transmission apparatus according to the IOT a further embodiment;

[0053] 图18为一个实施例中基于物联网的文件传输装置的结构框图; [0053] FIG. 18 is a block diagram showing a file-based transmission apparatus of things in one embodiment;

[0054] 图19为另一个实施例中基于物联网的文件传输装置的结构框图; [0054] FIG. 19 is a block diagram showing a file-based transmission apparatus according IOT another embodiment;

[0055] 图20为再一个实施例中基于物联网的文件传输装置的结构框图。 [0055] FIG. 20 is a block diagram showing a file-based transmission apparatus according to the IOT a further embodiment.

具体实施方式 Detailed ways

[0056] 为了使本发明的目的、技术方案及优点更加清楚明白,W下结合附图及实施例,对本发明进行进一步详细说明。 [0056] To make the objectives, technical solutions and advantages of the present invention will become more apparent from, the accompanying drawings and embodiments W, of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用W解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only used to explain the present invention W, not intended to limit the present invention.

[0057] 如图1所示,在一个实施例中,提供了一种基于物联网的文件传输系统100,包括服务器102、至少一个用户终端104和至少一个网络接入设备106。 [0057] Figure 1, in one embodiment, a file transfer system based IOT 100 includes a server 102, 104 at least one user terminal and at least one network access device 106. 服务器102用于提供对物联网服务的支持,可W用独立的一个服务器实现,也可W包括多个服务器,且每个服务器分别实现部分功能。 Server 102 to provide support for things and services, a server may be implemented with a separate W, W may also comprise a plurality of servers, and each server respectively, to achieve some functions.

[0058] 在一个实施例中,图1中的服务器102的内部结构如图2所示,该服务器102包括通过系统总线连接的处理器、存储介质、内存和网络接口。 [0058] In one embodiment, the internal structure of the server 102 in FIG. 1 as shown in FIG 2, the server 102 includes a processor, storage media, memory, and a network interface connected via a bus system. 其中,该服务器102的存储介质存储有操作系统、数据库和一种基于物联网的文件传输装置,该基于物联网的文件传输装置用于实现一种基于物联网的文件传输方法。 Wherein, the server storage medium 102 stores an operating system, a database and a file transfer apparatus based on things, the document transmission apparatus for implementing things based on a file transfer method based on things. 该服务器102的处理器被配置为执行一种基于物联网的文件传输方法。 The server processor 102 is configured to perform a file transfer method based on things. 服务器102具有公网网络地址。 Server 102 has a public network address. 在另一个实施例中,如图3所示,服务器102包括消息服务器和文件存储服务器。 In another embodiment, as shown in Figure 3, message server 102 includes a file server and storage servers.

[0059] 在一个实施例中,图1中的用户终端104的内部结构如图4所示,该用户终端104 通过其网关连接到公网,可根据服务器102的公网网络地址连接到服务器102。 [0059] In one embodiment, the internal structure of the user terminal 104 in FIG. 1 FIG. 4, the user terminal 104 is connected to the public network through which the gateway server 102 may be connected to the public network server according to the network address 102 . 公网是指不需要经由路由器或者交换机就可W直接连接到互联网的网络,连接到公网的节点可W被互联网中其它节点直接访问。 Refers to the public network can not required W are connected via a router or a network switch directly to the Internet, the public network is connected to node W may be directly accessible to other nodes in the Internet. 内网则是需要通过路由器或者交换机连接到互联网的子网络, 内网中的节点共享公网网络地址,内网中的节点难W被互联网中的其它节点主动发现。 The network is required to connect to the Internet via a router or switch sub-network, the network nodes in the shared public network address, the network node W is difficult to discover other active nodes in the Internet. W60] 该用户终端104包括通过系统总线连接的处理器、存储介质、内存、网络接口、显示屏幕和输入设备。 W60] The user terminal 104 includes a processor connected by a bus system, a storage medium, a memory, a network interface, a display screen and an input device. 其中,用户终端104的存储介质存储有操作系统和一种基于物联网的文件传输装置,该基于物联网的文件传输装置用于实现一种基于物联网的文件传输方法。 Wherein the storage medium stores the user terminal 104 operating system and a file transfer apparatus based on things, the document transmission apparatus of things based on a file transfer method based on the Internet of Things. 该用户终端104的处理器被配置为执行一种基于物联网的文件传输方法。 The user terminal processor 104 is configured to perform a file transfer method based on things. 用户终端104直接面向用户,可W是台式计算机也可W是移动终端,移动终端比如可W是智能手机、平板电脑化及PDA(个人数字助理)等。 The user terminal 104 directly to the user, can be a desktop computer W W may also be a mobile terminal, the mobile terminal can be such as W smart phones, tablet computers, and of a PDA (Personal Digital Assistant) or the like.

[0061] 图1中的网络接入设备106是指可W接入物联网并可通过物联网进行控制的设备。 In [0061] FIG. 1 is a network access device 106 refers to the access things W can be controlled by IOT device. 网络接入设备106与用户终端104不同。 Network access device 106 and the user terminal 104 differ. 网络接入设备106可通过网关W连接到公网,并可根据服务器102的公网网络地址连接到服务器102。 Network access device 106 may be connected to the public network via a gateway W, and may be connected to the public network server 102. The address server 102. 在一个实施例中网络接入设备106的内部结构如图5所示。 In one embodiment, the internal structure of the network access device 106 is shown in FIG. 网络接入设备106包括控制忍片、存储介质和工作功能机构。 Network access device 106 includes a control chip tolerance, and the work function of the storage medium means. 控制忍片具有网络连接功能,存储介质存储有一种基于物联网的文件传输装置,用于实现一种基于物联网的文件传输方法。 Tolerance control sheet having a network connection function, the storage medium stores a file transfer apparatus based on things, a method for implementing a file transfer based on things. 网络接入设备106可W是网络摄像头、智能电视机W 及打印机等。 W network access device 106 may be a network camera, a smart television W and printers. 对于网络摄像头其工作功能机构至少具有捕捉影像的功能,对于智能电视则其工作功能机构至少具有接收电视节目信号W及播放电视节目的功能,W此类推。 For the webcam of its work function means having at least an image capture function, for which the work function of the smart TV mechanism having at least a function of receiving television signals of the television programs and W, W forth.

[0062] 如图6所示,在一个实施例中,提供了一种基于物联网的文件传输方法,本实施例W该方法应用于上述图1中的服务器102来举例说明。 [0062] As shown in FIG 6, in one embodiment, there is provided a method of file transfer is based on things, the method is applied in Example W server 102 in FIG. 1 described above to illustrate the present embodiment. 该方法具体包括W下步骤: W The method comprises the steps of:

[0063] 步骤602,接收网络接入设备发来的携带有设备账号和设备密码的登录请求,据W 完成登录授权后建立与网络接入设备间的第一长连接通道。 [0063] Step 602, the receiving devices sent by the network access device carries a device password and account login request, according to the authorization log is completed after establishing a first length W connection channel between the network access device.

[0064] 设备账号是指可W唯一标识出一个网络接入设备的字符串,可W包括数字、字母W及符号中的至少一种,比如设备账号可W是"123456789"。 [0064] W refers to devices account a unique string identifying a network access device, W may include numbers, letters, symbols W and at least one device such as the account may be W "123456789." 设备账号可W采用网络接入设备的序列号或者MAC(Media Access Control介质访问控制)地址,还可W由设备厂商按照自定义编码方式生成。 W device serial number of the account may be a network access device or a MAC (Media Access Control Media Access Control) address, W may also be generated by equipment manufacturers in accordance with custom coding. 设备账号可由网络接入设备的生成厂商固化在网络接入设备中,在需要时读取;设备账号也可W通过服务器注册获得。 Device account, readable by the network access device generates a network access device manufacturers cured when required; W register device account may be obtained by the server. 阳0化]设备密码与设备账号对应,是服务器进行鉴权的依据,可W包括数字、字母W及符号中的至少一种,比如设备密码可W是"abcdefg"。 Of male 0] device device password corresponding to the account, is based on the server for authentication, W may include at least one of numbers, letters and symbols W, W may be for example a device password "abcdefg". 设备密码可W随机生成,也可W采用默认字符串。 Device password may be generated randomly W, W may be the default string. 设备密码可由网络接入设备的生成厂商固化在网络接入设备中,在需要时读取; 设备密码也可W通过服务器注册设备账号时一并获得。 Device password generated by the network access device manufacturers cure the network access device, the read when needed; together W device password may be obtained by the apparatus registration server account. 服务器可W应用户终端的请求来修改网络接入设备的设备密码,并通知网络接入设备,使网络接入设备更新网络接入设备上存储的设备密码。 W server may request of the user terminal device password to modify the network access device, and notifies the network access device, so the device password stored on the network access device to update a network access device.

[0066] 服务器会对应存储网络接入设备的设备账号和设备密码,还会对应记录表示该存储的账号和密码分别为网络接入设备的设备账号和设备密码的类型标识。 [0066] The server device corresponding to the device ID and password are stored in the network access device, also showing the corresponding record stored in the account and password are types of identification devices and device password account network access device. 比如,服务器存储的网络接入设备的设备账号和设备密码可如表一所示,其中device是类型标识,表示其相应的账号和密码分别为网络接入设备的设备账号和设备密码;mobile是另一种类型标识,表示其相应的账号和密码分别为终端账号和终端密码。 For example, the device password account, and the network access device stored in the server device may be as shown in Table I, wherein the device is a type identifier representing the corresponding account number and account number and password are equipment device password network access equipment; Mobile is another type of identifier, which indicates the corresponding account number and password of the account and the terminal are the terminal password.

[0067] 表一; [0067] Table I;

[0068] [0068]

Figure CN105812402AD00091

[0069] 网络接入设备内置有服务器的公网网络地址,或者,内置有可W查询到该公网网络地址的服务器域名,运样网络接入设备在通电后可立即根据服务器的公网网络地址向服务器发送登录请求,或者网络接入设备可W在预定义的时间点自动触发向服务器发送登录请求,或者网络接入设备还可W在检测到用户触发的登录操作指令后,触发根据服务器的公网网络地址向服务器发送登录请求。 [0069] The network access device built public network address of the server, or W may be built into the server domain name queries the public network address of the sample transport network access device immediately after power according to the public network server sending a login request to the address server, a network access device may automatically trigger W transmits a login request to the server, the network access device or W may also be triggered by detecting the user logon operation instruction included in a predefined point in time, according to trigger server the public network address to send login request to the server. 该登录请求携带有网络接入设备内置的设备账号和设备密码。 The login request carries a built-in network access equipment devices and equipment account password.

[0070] 服务器在接收到网络接入设备发来的登录请求后,根据服务器上对应记录的设备账号和设备密码对该登录请求中的设备账号和设备密码进行验证W实现鉴权,验证通过则完成对于网络接入设备的登录授权。 [0070] server in the network access device after receiving the login request sent by the apparatus according to the corresponding recording device password and account number on the server to authenticate the device W account number and password in the login request device authentication implemented, verified by the Log in to complete the authorization for network access equipment. 然后服务器与网络接入设备之间建立起第一长连接通道。 And then establish a connection channel between the first long server and the network access device. 该第一长连接通道是与该设备账号对应的。 The first channel is a long connection to the device corresponding to the account.

[0071] 网络接入设备要与服务器保持该第一长连接通道。 [0071] The network access device for retaining the first long connection channel with the server. 长连接的概念是相对于短连接而言的,所谓短连接就是一次很短暂的请求和回应,比如到某网站上下载一个网页,或者到某个网站提交一份订单。 The concept is relative to the long connection of the short connection in terms of the so-called short connection time is very short requests and responses, such as on a Web site to download a web page or a website to submit an order. 然而长连接则不同,长连接要求网络接入设备与服务器一直保持一个连接状态,运样服务器才可W在有任何信息要通知给网络接入设备时,能够及时下发给网络接入设备。 However, the longer connector is different, a long connection with the network access equipment of a server remains connected state, before the sample transport server W is to be notified when any information to the network access device, the ability to send the network access device.

[0072] 步骤604,接收用户终端上传的第一文件并存储。 [0072] Step 604, the user terminal receiving a first file and storing the uploaded.

[0073] 具体地,用户终端可W根据服务器的公网网络地址,将需要传输给网络接入设备的第一文件上传到服务器存储。 [0073] Specifically, the user terminal may be W The public network address of the server, the file will be transmitted to the first network access device is uploaded to the server storage. 若服务器包括消息服务器和文件存储服务器,则在文件存储服务器上存储第一文件。 If the message server includes a server and file storage server, the file is stored on a first file storage server. 运里第一文件中第一的描述,用于与下述第二文件区分开,第一、第二的描述并不限定发生先后顺序。 The first operation in the first file is described separately for the region below the second file, the first, second description is not limited to the order occurs.

[0074] 用户终端可W提供用户交互界面,根据用户作用于该用户交互界面所触发的文件选择指令选定第一文件,从而自动或者在接收到用户触发的确认上传的指令后,将第一文件上传到服务器存储。 After the [0074] user terminal may provide a user interface W, the first selection instruction files based on the selected user interface to the user action triggered, automatically or upon receipt of a user instruction confirms the upload trigger, the first files uploaded to the server storage. 第一文件可W是纯文本文件,也可W是多媒体文件。 The first file is a plain text file W may also be W is a multimedia file. 多媒体文件比如可W是包括音频数据、视频数据W及图片的文件,或者可W是音频数据、视频数据W及图片中的至少一种与文本信息共同构成的文件。 Multimedia files such as W may include audio data, video data and image files of W, or W may be audio data, video data W and at least one picture file and text information together constitute.

[0075] 在一个实施例中,用户终端可W检测第一文件的文件大小,若大于预设阔值,则将第一文件上传到服务器;若小于预设阔值,则生成包括该第一文件的消息而通过服务器传输给网络接入设备。 [0075] In one embodiment, the user terminal can detect the file size W of the first file, if the width is greater than the predetermined value, the first file uploaded to the server; if the value is less than the predetermined width, comprising generating the first message file to be transmitted through the network access server device. 本实施例中,若需要传输的第一文件很小,则可W直接将其加入消息中而通过服务器传输给网络接入设备,运样效率更高。 In this embodiment, if the first file to be transmitted is small, W may be added directly to the message transmitted to the server through the network access device, the sample transport more efficient.

[0076] 步骤606,生成与存储的第一文件对应的第一索引标识并返回给用户终端。 [0076] Step 606, generates a first file corresponding to the stored first identifier and returns the index to the user terminal.

[0077] 具体地,服务器在存储第一文件后,对应生成并记录用W标识出该第一文件的存储位置的第一索引标识。 [0077] Specifically, after storing the first file server, a corresponding record is generated and the storage location identified by the first W of the first index file identification. 运里第一索引标识中第一的描述用于与下述的第二索引标识区分开来。 In a first operation identifier in the first index is described below for the separate identification of the region second index. 在数据库中第一索引标识与第一文件的存储位置的信息可W分别用键化ey)和相应的值(value)来表示。 The information stored in the database index identifies the position of the first file with the first key may be respectively of W EY) and the corresponding value (value) is represented.

[0078] 用户终端上传第一文件时会携带有源地址,运样服务器就可W根据该源地址确定用户终端在网络中的位置,从而向该用户终端返回生成的第一索引标识。 [0078] The active user terminal carries the address file upload first sample transport server W can be determined that the user terminal location in the network based on the source address, so that the user terminal returns to the first identification index generated. 或者在一个实施例中,服务器可W预先接收用户终端发来的携带有终端账号和终端密码的登录请求,据W 完成登录授权后建立与用户终端的第二长连接通道。 Or In one embodiment, the server may request carries the terminal W login account and password previously received user terminal sent by the terminal, establishing a connection with the second passage of the long terminal user login authorization data W is completed. 该第二长连接通道是与终端账号对应的。 The second channel is a long connection to the terminal corresponding to the account. 用户终端在上传第一文件时可携带终端账号,从而在步骤606中,服务器可W通过该终端账号所对应的第二长连接通道而向用户终端返回上述生成的第一索引标识。 When the user terminal to upload the first portable terminal an account file, and in step 606, the server may return to the first W identifier of the generated index to the user terminal through the second terminal corresponding to the account long connection channel.

[0079] 步骤608,接收用户终端发送的携带有设备账号和第一索引标识的第一文件传输请求。 [0079] Step 608, and carries a first device an account identifier of the first index file transmission request sent by the receiving user terminal.

[0080] 具体地,用户终端在获取到第一索引标识后,自动或者响应于用户触发的请求触发指令,W向服务器发送携带有设备账号和第一索引标识的第一文件传输请求。 [0080] Specifically, the user terminal after obtaining the first identification index, triggering instruction automatically or in response to a request triggered by the user, W transmitting the file transmission request carrying a first device has a first index and the account identifier to the server. 服务器具有公网网络地址,用户终端可W随时根据该服务器的公网网络地址与该服务器连接通信。 Public network address with the server, the user terminal can be connected at any time in communication with the W server according to the public network address of the server. 若服务器包括消息服务器和文件存储服务器,则消息服务器接收用户终端发送的携带有设备账号和第一索引标识的第一文件传输请求。 If the message server includes a server and file storage server, a message server receives a first user terminal transmits a file transmission request carries the first device and the account identifier of the index.

[0081] 该第一文件传输请求是一个消息,该消息具有表示该消息是一个文件传输请求的消息类型标识。 [0081] The first file transfer request is a message that indicates that the message is a message having a type identifier of the file transfer request. 第一文件传输请求的描述用于与下述的第二文件传输请求区别开,第一、第二的描述并不限定发生先后顺序。 Description of the first transmission request for the file and a second file transfer request below distinguished, the first, second description is not limited to the order occurs.

[0082] 步骤610,通过设备账号所对应的第一长连接通道向网络接入设备发送第一文件传输请求。 [0082] Step 610, the account by the device corresponding to a first transmission channel connecting a first length of a file transfer request to a network access device.

[0083] 具体地,设备账号所对应的第一长连接通道,也就是该设备账号所对应的网络接入设备和该服务器之间的第一长连接通道。 [0083] Specifically, the account number corresponding to the device connected to the first channel length, i.e. length between the first apparatus corresponding account network access device and the server connection channel. 服务器通过该第一长连接通道可W随时与相应的网络接入设备连接通信。 The server through the first connection passage length W can be connected at any time in communication with a respective network access device. 若服务器包括消息服务器和文件存储服务器,则消息服务器可通过设备账号所对应的第一长连接通道向网络接入设备发送第一文件传输请求。 If the message server includes a server and file storage server, the message server account number corresponding to the device via a first transmission path connecting a first length of a file transfer request to a network access device.

[0084] 在一个实施例中,服务器存储有设备账号和终端账号的关联关系,服务器在接收到用户终端发送的第一文件传输请求后,检查第一文件传输请求所携带的设备账号和终端账号是否存在关联关系,若是则执行步骤610,若否则无动作或者向用户终端返回无访问权限的通知。 [0084] In the terminal equipment and an account in the account server after receiving the first file transfer request sent by a user terminal, a first file transfer request checks carried one embodiment, the server device stores a relationship account and the account of the terminal, whether there is a relationship, if step 610 is executed, otherwise if no action without notice or return access to the user terminal. 上述关联关系中终端账号所对应的用户终端具有解除该关联关系的权限,该关联关系被接触后,其它用户终端可W建立新的关联关系。 It said user terminal the account relationship corresponding to the terminal having the permission to release the association, the association is in contact with the other user terminals W may establish a new association.

[00化]步骤612,接收网络接入设备响应于第一文件传输请求发来的携带有第一索引标识的下载请求。 [Of 00] Step 612, carries a first index label receiving a download request to the first network access device in response to the file transfer request is sent.

[0086] 具体地,网络接入设备在接收到第一文件传输请求后,可W响应于第一文件传输请求,自动向服务器发送携带有第一索引标识的下载请求,由服务器接收。 [0086] Specifically, the network access device after receiving the first file transfer request, W may be the first file in response to the transmission request, automatically sending a first index label carrying the download request to the server, received by the server.

[0087] 在一个实施例中,网络接入设备在接收到第一文件传输请求后,可W响应于第一文件传输请求而触发提示操作,并在接收到用户确认指令后向服务器发送携带有第一索引标识的下载请求,由服务器接收。 [0087] In one embodiment, the network access device after receiving the first file transfer request, W may be the first file in response to the transmission request triggered prompts, and transmits to the server carries the user after receiving the confirmation instruction has downloaded first index identifies a request received by the server.

[0088] 举例来说,网络接入设备在接收到第一文件传输请求后,可W语音播报、指示灯闪烁等形式提示接收到第一文件传输请求,W待用户做进一步确认。 [0088] For example, network access device after receiving the first file transfer request, W may be voice broadcast, other forms of indicator light flashes to prompt a first file transfer request is received, the user be W for further confirmation. 直到接收到用户确认指令后,比如用户点击了网络接入设备上的确认下载的按键后,或者通过声控方式确认下载操作后,网络接入设备向服务器发送携带有第一索引标识的下载请求。 Until receiving the user confirmation instruction, such as the user clicks on the confirmation of the download button network access device, or confirm the download operation using a voice mode, the network access device sends to the server carries a first download request identification index.

[0089] 在一个实施例中,网络接入设备在触发提示操作后开始计时,当计时达到预设时长且未检测到用户确认指令时,根据预定义策略取消提示操作或者触发向服务器发送携带有第一索引标识的下载请求。 When [0089] In one embodiment, the network access device operation start time after an alert is triggered, when the time reaches the predetermined length is detected and no user confirmation command, to cancel or trigger prompts accordance with a predefined policy to the server carrying the first download request identification index. 本实施例中,当进行提示操作后,用户若不及时处理,可W根据预定义策略来进行处理,可W及时对第一文件传输请求做出响应。 In this embodiment, when the operation prompts the user if not in time, W can be processed according to predefined policies, W can be promptly respond to the first file transfer request.

[0090] 步骤614,根据下载请求,查询到第一索引标识所对应的第一文件并传输给网络接入设备。 [0090] Step 614, according to the download request, a first query to identify a first index file and transmitted to the corresponding network access device.

[0091] 具体地,服务器在接收到下载请求后做出响应,查询第一索引标识所对应的第一文件,若查询到则将查询到的第一文件传输给网络接入设备;若未查询到则可W向用户终端反馈传输失败的反馈消息。 [0091] Specifically, the server makes the download request is received in response to a query identifying a first file corresponding to the first index, if the query to a query to the first document will be transmitted to the network access device; if not query to the user terminal W may feedback message transmission failed.

[0092] 上述基于物联网的文件传输方法,根据网络接入设备主动发起的登录请求进行登录授权,保证安全性的同时,也可W获知网络接入设备在网络中的通信位置。 While [0092] The file transfer method based things, according to the authorization log login request initiated by the network access device actively, to ensure safety, the location may be a communication network known W in the network access equipment. 建立与网络接入设备间的第一长连接通道,运样可W维持与网络接入设备间通信的有效性,避免网络接入设备因网络位置发生变化而导致无法通信。 Establishing a connection between the channel and the length of the first network access device, the sample transport W can maintain the effectiveness of the communication between network access devices and to avoid network access device due to a change in position caused by the network can not communicate. 第一文件的上传是用户终端主动发起的,运样就可W获知用户终端在网络中的通信位置,从而将第一索引标识返回给用户终端。 The first file upload is initiated by the user terminal actively, the sample transport W can know the position of a user terminal in a communication network, so as to return the first index ID to the user terminal. 而且通过第一长连接通道,可W直接将用户终端发起的第一文件传输请求再发送给网络接入设备,使得网络接入设备做出响应W下载第一文件。 And the first connection channel length, W may be directly initiated by the user terminal to the first file transfer request then sent to the network access device, the network access device that makes the first response W downloaded file. 运样无论网络接入设备是否直接连接到公网,W及其内网环境如何变化,都可W寻找到网络接入设备,实现用户终端向网络接入设备传输第一文件。 Whether the sample transport network access device is connected directly to the public network, W and how changes in the network environment, can find the network access device W, the user terminal to achieve a first file transfer to the network access device.

[0093] 如图7所示,在一个实施例中,该基于物联网的文件传输方法还包括根据来自网络接入设备的第二文件传输请求W向用户终端传输第二文件的步骤,具体包括如下步骤: [0093] As shown in FIG. 7, in one embodiment, the file transfer method was based on the second network further comprises a file transfer request from the network access device to the user terminal transmission step W according to a second document, including the specific the steps of:

[0094] 步骤702,接收用户终端发来的携带有终端账号和终端密码的登录请求,据W完成登录授权后建立与用户终端的第二长连接通道。 [0094] Step 702, the receiving user terminal sent by the terminal carries a terminal ID and password of the login request, W is established according to the authorization log is completed with a second long connecting passage user terminal.

[0095] 具体地,终端账号是指可W标识出一个用户终端的字符串,可W包括数字、字母W 及符号中的至少一种。 [0095] Specifically, the terminal refers to the account identifying one user terminal W string W may include at least one of numbers, letters and symbols W. 若用户终端是手机,则终端账号可W是手机号,终端账号也可W采用用户在社交网络中的账号,比如即时通信账号。 If the user terminal is a mobile phone, the account may be the terminal W is a phone number, an account may be the terminal W using the user account in a social network, such as instant messaging account.

[0096] 用户终端的交互能力要强于网络接入设备,用户终端可W提供用户交互界面,该用户交互界面提供终端账号输入框和终端密码输入框,于是用户终端可W获取用户在终端账号输入框中输入的信息作为终端账号,并将终端密码输入框中输入的信息作为终端密码,在接收到用户触发的登录触发指令后,触发向服务器发送携带有终端账号和终端密码的登录请求。 Interactive capability [0096] the user terminal is stronger than the network access device, the user terminal may provide a user interface W, there is provided a terminal box and the terminal enters the account number of the user password input box interface, then the user terminal may obtain the user in the W terminal enters the account number information input terminal box as account information input terminal and a terminal password as the password input box, after receiving the login user trigger a trigger command, the server sends a trigger terminal carrying the account and password of the login request terminal.

[0097] 用户终端内置有服务器的公网网络地址,或者,内置有可W查询到该公网网络地址的服务器域名,运样用户终端可W随时根据该公网网络地址与服务器连接通信。 [0097] The terminal has a user public network address of the server, or W may be built into the server domain name queries the public network address of the sample transport W can be connected at any time the user terminal based on the communication with the public network address of the server.

[0098] 服务器会对应存储终端账号和终端密码,还会对应记录表示该存储的账号和密码分别为终端账号和终端密码的类型标识。 [0098] The server stores the terminal corresponding to the terminal ID and password, but also indicates that the record corresponding to the account and password are stored in the terminal password account and the terminal type identifier. 比如上述表一中的"mobile",就表示相应的账号是终端账号,相应的密码是终端密码。 For example in the above table a "mobile", it indicates that the corresponding account number is the account the terminal, the corresponding terminal password is the password.

[0099] 服务器在接收到用户终端发来的登录请求后,根据服务器上对应记录的终端账号和终端密码来对该登录请求中的终端账号和终端密码进行验证W实现鉴权,验证通过则完成对于该用户终端的登录授权。 [0099] server after receiving the user login request sent from the terminal to the terminal and the terminal password account login request terminal according to the corresponding account number and a password recorded on a terminal server for authentication W implemented authentication, verification is completed by Registration Authority for the user terminal. 然后服务器与用户终端之间建立起第二长连接通道并保持。 Then established between a server and a user terminal connected to a second passage and kept long. 该第二长连接通道是与终端账号对应的。 The second channel is a long connection to the terminal corresponding to the account. 步骤702可W在步骤602之前或之后。 Step 702 may be W before or after step 602.

[0100] 步骤704,接收网络接入设备所上传的第二文件并存储。 [0100] Step 704, the network access device receiving a second file uploaded and stored. 阳101] 具体地,网络接入设备可W根据服务器的公网网络地址,将需要传输给用户终端的第二文件上传到服务器存储。 Male second file 101] Specifically, the network access device may according to public network address of W server, will be transmitted to the user terminal is uploaded to the server storage. 若服务器包括消息服务器和文件存储服务器,则在文件存储服务器上存储第二文件。 If the message server includes a server and file storage server, the second file is stored on a file server memory. 阳102] 步骤706,生成与存储的第二文件对应的第二索引标识并返回给网络接入设备。 Male 102] Step 706, generates a second file corresponding to the stored second identifier and returns the index to the network access device. 阳103] 具体地,服务器在存储第二文件后,对应生成并记录用W标识出该第二文件的存储位置的第二索引标识。 Male 103] Specifically, after storing the second file server, a corresponding record is generated and identified by the storage location of the second W of the second index file identification. 在数据库中第二索引标识与第二文件的存储位置的信息可W分别用键和相应的值来表示。 The information stored in a database location the second index identifies the second document can be W, respectively with the key and the corresponding values ​​are indicated. 网络接入设备上传第二文件时会携带有源地址,运样服务器就可W根据该源地址确定网络接入设备在网络中的位置,从而向该网络接入设备返回生成的第二索引标识。 The second network access device carries index when uploading the second file source address, the sample transport server W can determine the location of the network access devices in a network based on the source address, so that the device returns to the network access identifier generated . 服务器也可W通过上述第一长连接通道向网络接入设备返回生成的第二索引标识。 W may be returned to the second server identifies the generated index to a network access device through the first connecting passage length.

[0104] 步骤708,接收网络接入设备发送的携带有终端账号和第二索引标识的第二文件传输请求。 [0104] Step 708, the network access device receiving the transmitted account number and a terminal carrying a second identification of the second index file transfer requests.

[0105] 具体地,网络接入设备在获取到第二索引标识后,自动或者响应于用户触发的请求触发指令,W向服务器发送携带有终端账号和第二索引标识的第二文件传输请求。 [0105] Specifically, the network access device after obtaining the second index identifies, either automatically or in response to a request triggered by the user triggering instruction, W transmitting the file transmission request carrying the second terminal has a second index and the account identifier to the server. 服务器具有公网网络地址,网络接入设备可W随时根据该服务器的公网网络地址与该服务器连接通信。 The server having a public network address, the network access device may be connected at any time W in communication with the server according to the public network address of the server. 若服务器包括消息服务器和文件存储服务器,则消息服务器接收网络接入设备发送的携带有终端账号和第二索引标识的第二文件传输请求。 If the message server includes a server and file storage server, a message server receives the network access device a second file transfer request sent by the terminal carries the account number and the second index mark. 该第二文件传输请求是一个消息,该消息具有表示该消息是一个文件传输请求的消息类型标识。 The second file transfer request is a message that indicates that the message is a message having a type identifier of the file transfer request.

[0106] 步骤710,通过终端账号所对应的第二长连接通道向用户终端发送第二文件传输请求。 [0106] Step 710, the account corresponding to the terminal through a second transmission path connecting a second length of the file transmission request to the user terminal.

[0107] 具体地,终端账号所对应的第二长连接通道,也就是该终端账号所对应的用户终端和该服务器之间的第二长连接通道。 [0107] Specifically, the terminal corresponding to the account to the second connection channel length, i.e. length between the second terminal of the corresponding account user terminal and the server connection channel. 服务器通过该第二长连接通道可W随时与相应的用户终端连接通信。 Server connection channel through which the second length W can be connected at any time in communication with the respective user terminal. 若服务器包括消息服务器和文件存储服务器,则消息服务器可通过终端账号所对应的第二长连接通道向用户终端发送第二文件传输请求。 If the message server includes a server and file storage server, the message server account number corresponding to the terminal through the second transmission channel connecting a second length of the file transmission request to the user terminal.

[0108] 步骤712,接收用户终端响应于第二文件传输请求发来的携带有第二索引标识的下载请求。 [0108] Step 712, the user terminal in response to receiving a second index label carries a second download request sent to the file transfer request.

[0109] 具体地,用户终端在接收到第二文件传输请求后,可W响应于第二文件传输请求, 自动向服务器发送携带有第二索引标识的下载请求,由服务器接收。 [0109] Specifically, the user terminal after receiving a second file transfer request, W may be in response to a second file transfer request, automatically sending a second index label carrying the download request to the server, received by the server.

[0110] 在一个实施例中,用户终端在接收到第二文件传输请求后,可W响应于第二文件传输请求而触发提示操作,并在接收到用户确认指令后向服务器发送携带有第二索引标识的下载请求,由服务器接收。 [0110] In one embodiment, the user terminal after receiving a second file transfer request, file transfer may be W to the second request in response to prompts trigger, and sends to the server carries the user after receiving the confirmation instruction with a second index identifies download request received by the server. 阳111] 在一个实施例中,用户终端在触发提示操作后开始计时,当计时达到预设时长且未检测到用户确认指令时,根据预定义策略取消提示操作或者触发向服务器发送携带有第二索引标识的下载请求。 Start time, when the time reaches a preset length of time a user confirmation command is not detected, cancel or trigger prompts accordance with a predefined policy to the server message carrying the male 111] In one embodiment, the user terminal prompts the trigger a second Download the index identifies the request.

[0112] 步骤714,根据下载请求,查询到第二索引标识所对应的第二文件并传输给用户终JLjJU 乂而。 [0112] Step 714, according to the download request, a second query to identify the second index file and transmitted to the corresponding user terminal and JLjJU qe.

[0113] 具体地,服务器在接收到下载请求后做出响应,查询第二索引标识所对应的第二文件,若查询到则将查询到的第二文件传输给用户终端;若未查询到则可W向网络接入设备反馈传输失败的反馈消息。 [0113] Specifically, the server makes the download request is received in response to a query identifying a second file corresponding to the second index, if the query to a query to the second file will be transmitted to the user terminal; if not the queried feedback message transmission failure may be fed back to the network access device W.

[0114] 本实施例中,用户终端和网络接入设备之间可W借助服务器实现双向传输文件, 适用于各种需要双向传输文件的场景。 [0114] In this embodiment, between the user terminal and the network access device may be a server W by means of two-way file transfer, the need for a variety of bidirectional file transfer scenario.

[0115] 在一个实施例中,第一文件为多媒体文件;第一文件根据用户终端所采集的声音和/或图像生成。 [0115] In one embodiment, the first file is a multimedia file; a first file and / or images generated from a sound collected user terminal. 比如第一文件可W是语音留言文件、录像文件等。 W is the first such document may voicemail files, video files and so on. 参照图8, W下具体说明用户终端采集声音和/或图像W形成第一文件的详细步骤: Referring to FIG. 8, described in detail under the user terminal W capture sound and / or image W detailed steps of the first file is formed:

[0116] 步骤802,检测录制触发指令。 [0116] Step 802, the detection record triggering instruction.

[0117] 录制触发指令是指触发录制操作的指令,可W通过按压用户终端上的机械按键或者点击用户终端所提供的用户交互界面中的特定控件来触发该录制触发指令。 [0117] triggering instruction to record the recording operation triggering instruction means can be a mechanical key W by pressing or clicking on the user terminal the terminal user interface provided by the user specific control to activate the recording triggering instruction.

[0118] 步骤804,根据录制触发指令开始采集环境声音和/或图像,直到预设时长后或者直到检测到录制结束指令后停止采集。 [0118] Step 804, according to an instruction to start recording trigger collecting ambient sound and / or image, or the length of time until the preset stop capture until detecting the recording end instruction.

[0119] 具体地,运里环境声音和/或图像,是指用户终端所处环境中的声音和/或图像, 具体用户终端可W通过用户终端的麦克风来采集环境声音,通过用户终端的摄像头采集图像。 [0119] Specifically, transported in ambient sound and / or image, means that the user terminal is located in the environment sound and / or image, a specific user terminal may W to capture ambient sound through a microphone of the user terminal, a camera user terminal image acquisition. 预设时长可W是任意时长,比如可W是5-10秒。 W is preset length may be any length of time, such as may be W is 5-10 seconds. 若录制触发指令的触发动作是持续按压,那么录制结束指令的触发动作就可W是停止按压。 If the recording trigger action trigger instruction is continuously depressed, the recording end instruction to trigger action can stop W is pressed. 或者上述特定控件的一次点击用来触发录制触发指令,再一次点击则用来触发录制结束指令。 Or one-click control for the specific trigger recording trigger command, then click again to trigger the recording end instruction.

[0120] 步骤806,根据采集的声音和/或图像生成第一文件。 [0120] Step 806, according to the collected sound and / or image to generate a first file. 阳121] 具体地,可W将采集的声音的数据形成音频数据,将该音频数据作为第一文件;可W将采集的图像的数据形成视频数据,将该视频数据作为第一文件;还可W按照各自的时间戳将音频数据合并到视频数据中,从而形成第一文件。 Male 121] Specifically, W can be acquired sound data forming the audio data, the audio data as the first file; W can be acquired image data forming the video data, the video data as a first file; also W combined in accordance with respective time stamps to the video data, audio data, thereby forming a first file.

[0122] 本实施例中,用户终端可W实时采集多媒体数据形成多媒体文件并传输给网络接入设备,增加了用户终端与网络接入设备间的互动方式。 [0122] In this embodiment, the user terminal can collect real-time multimedia data W multimedia files formed and transferred to the network access device, the user increases the interaction between the terminal and the network access device.

[0123] 在一个实施例中,第二文件为多媒体文件;第二文件根据网络接入设备所采集的声音和/或图像生成。 [0123] In one embodiment, the second file is a multimedia file; network access device according to a second document acquired sound and / or image generation. 本实施例中网络接入设备可W采用上述步骤802~步骤806来实现采集声音和/或图像W生成第二文件。 806 achieved capture sound and / or generating a second image file 802 W to Step embodiment W may be a network access device of the present embodiment using the above procedure.

[0124] 如图9所示,在一个实施例中,步骤610具体包括如下步骤: [0124] As shown in FIG 9, in one embodiment, step 610 includes the following steps:

[01巧]步骤902,检测设备账号是否对应在线状态。 [Qiao 01] Step 902, detecting whether the account corresponding to the online device. 若是则执行步骤904,若否则执行步骤906。 If step 904 is executed, if otherwise step 906.

[01%] 具体地,在线状态是指网络接入设备登录服务器后表示登录有效的状态,瑞对应在线状态,则相应的网络接入设备具有登录后的各种权限。 [01%] Specifically, the line state refers to a network access device showing a state after a valid login login server, the corresponding Swiss-line state, the corresponding network access device permissions having various log. 服务器可W通过检测服务器与设备账号所对应的网络接入设备间的第一长连接通道是否有效来检测该设备账号是否对应在线状态。 Whether by server W can be connected to the long passage between the first detecting device and the server account corresponding to the network access device of the apparatus effective to detect whether the account corresponding to the online state.

[0127] 步骤904,通过与设备账号所对应的网络接入设备间的第一长连接通道而向网络接入设备传递第一文件传输请求。 [0127] Step 904, the file transmission request is transmitted to the first network access device through the first connecting passage length between the device and the account number corresponding to the network access device.

[0128] 具体地,在检测到设备账号对应在线状态后,服务器可直接通过第一长连接通道向网络接入设备传递第一文件传输请求。 [0128] Specifically, upon detecting the device corresponding to the account online, the server can be directly transmitted to the first file transfer request to a network access device connected via a first channel length.

[0129] 步骤906,缓存第一文件传输请求,直至检测到设备账号对应在线状态时,通过与设备账号所对应的网络接入设备间的第一长连接通道而向网络接入设备传递缓存的第一文件传输请求。 [0129] Step 906, the cache file of the first transmission request, until when the device is detected corresponding to the account online, the cache is transmitted to the network access device through the first connecting passage length between the device and the account number corresponding to the network access device The first file transfer requests.

[0130] 具体地,若检测到设备账号不对应在线状态,则服务器可W先缓存该第一文件传输请求,并继续检测直到检测到设备账号对应在线状态后,再将缓存的第一文件传输请求传输给网络接入设备。 [0130] Specifically, if the device detects that the account does not correspond to an online state, then the first cache server W the first file transfer request, and continues until the detection device detects the presence state corresponding to the account, then the first cache file transfer It transmits a request to the network access device. 阳131] 举例说明,服务器可W维护一个离线消息表,将缓存的第一文件传输请求记录在该离线消息表中。 Male 131] illustrated, W server may maintain a table off-line message, the first cache file recorded in the offline transmission request message table. 该离线消息表可表示为如表二所示: 阳132] 表二: 阳1;33] The offline message table may be represented as shown in Table II: male 132] Table II: 1 male; 33]

Figure CN105812402AD00141

阳134」 参脫上还表二,君N络接入巧备对应 Male 134 "off the further reference Table II, Jun N skillfully prepared corresponding to the access network

Figure CN105812402AD00151

的巧备账号刃"123油Cde",当服务器粒测到设备账号"123abcde"对应离线状态后,会将文件传输请求作为离线消息对应设备账号存储到表二所示的离线消息表中。 Preparation of skillful edge account "the Cde Oil 123", when the server device detected particles account "123ABCDE" corresponding to the offline state, will request a file transfer as an offline message stored in the account corresponding to the device offline message table shown in Table II. 当服务器继续检测直到检测到设备账号"123油Cde"对应在线状态后,从该离线消息表中提取出设备账号所对应的离线消息,从而将提取出的离线消息传输给网络接入设备。 When the device is detected until the account "the Cde Oil 123" continues to be detected corresponding to the presence server, the offline message is extracted from an offline messaging device table corresponding to the account to the extracted off-line message to the network access device. 提取出的离线消息包括上述第一文件传输请求。 Extracted offline message comprises the first file transfer request.

[0135] 本实施例中,通过检测网络接入设备的在线状态,在检测到网络接入设备对应在线状态时才发送第一文件传输请求,可W防止文件传输请求丢失。 [0135] In this embodiment, the line state detecting network access device, transmitting a first file transfer request when the network access device corresponding to the detected line state, W can be prevented from missing file transfer request.

[0136] 在一个实施例中,网络接入设备或者用户终端保持与服务器间的长连接通道的方式有两种,第一种是保持与服务器的TCP (Transmission Control Protocol,传输控制协议)连接,第二种则是定时向服务器发送屯、跳包。 [0136] In one embodiment, the network access device or user terminal holding two ways with long connecting channels between the server, the first server maintains a TCP (Transmission Control Protocol, Transmission Control Protocol) connection, the second is regularly sent to the server Tun, packet hop. TCP连接本身就是面向连接的协议,一旦完成=次握手就可W保持连接。 TCP is connection-oriented protocol connection itself, and upon completion of W = handshake can remain connected. 网络接入设备或者用户终端定时发送的屯、跳包可W维持其在线状态,而且可W定时上报网络接入设备或者用户终端的网络地址,使得服务器可W随时与网络接入设备或用户终端进行通信。 Tun network access device or the user terminal periodically sends the jump packets may maintain its online W, and W may be reported at regular network address of the network access device or user terminal, so that at any time the server W the user terminal or the network access device communicate. 而且由于目前的路由器MT(网络地址转换)模块存在通信限制,只有当内网中的某节点A向内网外部的另一节点B发送了消息之后的一段时间内,另一节点B到内网中的节点A的消息才是被允许的,称为MT穿越。 And due to the current router MT (Network Address Translation) there is a communication restriction module, only when a node of another node A in the external network transmits the web B inwardly over a period of time after the message, another node B to the network message node a is allowed, called MT crossing. 运样定时发送屯、跳包可W维持网络接入设备与服务器之间的MT穿越状态,使得服务器可W随时与网络接入设备通信。 Tun sample transport timing of transmission, packet hop count may be maintained MT W between the network access device and a server through state so that the server can communicate with the network at any time W access device.

[0137] 如图10所示,在一个实施例中,提供了另一种基于物联网的文件传输方法,本实施例W该方法应用于上述图1中的用户终端104来举例说明。 [0137] As shown in FIG 10, in one embodiment, there is provided another file transfer method based on things, the present embodiment of the method applied to the above embodiment W in FIG. 1 to illustrate the user terminal 104. 该方法具体包括如下步骤: The method includes the following steps:

[0138] 步骤1002,将第一文件上传到服务器存储,W生成存储的第一文件所对应的第一索引标识。 [0138] Step 1002, the storage server to upload the first file, the first file W generated corresponding to the stored first identification index.

[0139] 具体地,用户终端可W根据服务器的公网网络地址,将需要传输给网络接入设备的第一文件上传到服务器存储。 [0139] Specifically, the user terminal may be W The public network address of the server, the file will be transmitted to the first network access device is uploaded to the server storage. 若服务器包括消息服务器和文件存储服务器,则在文件存储服务器上存储第一文件。 If the message server includes a server and file storage server, the file is stored on a first file storage server.

[0140] 用户终端可W提供用户交互界面,根据用户作用于该用户交互界面所触发的文件选择指令选定第一文件,从而自动或者在接收到用户触发的确认上传的指令后,将第一文件上传到服务器存储。 After the [0140] user terminal may provide a user interface W, the first selection instruction files based on the selected user interface to the user action triggered, automatically or upon receipt of a user instruction confirms the upload trigger, the first files uploaded to the server storage. 第一文件可W是纯文本文件,也可W是多媒体文件。 The first file is a plain text file W may also be W is a multimedia file. 多媒体文件比如可W是包括音频数据、视频数据W及图片的文件,或者可W是音频数据、视频数据W及图片中的至少一种与文本信息共同构成的文件。 Multimedia files such as W may include audio data, video data and image files of W, or W may be audio data, video data W and at least one picture file and text information together constitute. 阳141] 在一个实施例中,用户终端可W检测第一文件的文件大小,若大于预设阔值,则将第一文件上传到服务器;若小于预设阔值,则生成包括该第一文件的消息而通过服务器传输给网络接入设备。 Male 141] In one embodiment, the user terminal can detect the file size W of the first embodiment of the file, if the width is greater than the predetermined value, the first file uploaded to the server; if the value is less than the predetermined width, comprising generating the first message file to be transmitted through the network access server device. 阳142] 服务器在存储第一文件后,对应生成并记录用W标识出该第一文件的存储位置的第一索引标识。 Male 142] After storing a first file server, a corresponding record is generated and the storage location identified by the first W of the first index file identification. 在数据库中第一索引标识与第一文件的存储位置的信息可W分别用键和相应的值来表示。 The information stored in the database index identifies the position of the first file with the first key, respectively and W may be a value corresponding to FIG.

[0143] 在步骤1002之前,网络接入设备可向服务器发送携带有设备账号和设备密码的登录请求,W使服务器完成登录授权,建立网络接入设备与服务器之间的第一长连接通道。 [0143] Prior to step 1002, the network access device may send a login request to the server with a device carrying the device password and account number, W login authorization server completes so, establishing a first connection channel length between the server and the network access device. 用户终端也可W向服务器发送携带有终端账号和终端密码的登录请求,W使服务器完成登录授权,建立用户终端与服务器之间的第二长连接通道。 The user terminal may send to the server W has a terminal registration request carries the account number and password of the terminal, so that the server W completes the login authorization, establishing a second length between a user terminal and a server connection channel.

[0144] 步骤1004,接收服务器所返回的第一索引标识。 [0144] Step 1004, the first received index identifier returned by the server.

[0145] 用户终端上传第一文件时会携带有源地址,运样服务器就可W根据该源地址确定用户终端在网络中的位置,从而向该用户终端返回生成的第一索引标识。 [0145] The active user terminal carries the address of the first file upload sample transport server W can be determined that the user terminal location in the network based on the source address, so that the user terminal returns to the first identification index generated. 或者在一个实施例中,服务器可W预先接收用户终端发来的携带有终端账号和终端密码的登录请求,据W 完成登录授权后建立与用户终端的第二长连接通道。 Or In one embodiment, the server may request carries the terminal W login account and password previously received user terminal sent by the terminal, establishing a connection with the second passage of the long terminal user login authorization data W is completed. 该第二长连接通道是与终端账号对应的。 The second channel is a long connection to the terminal corresponding to the account. 用户终端在上传第一文件时可携带终端账号,从而在步骤1004中,服务器可W通过该终端账号所对应的第二长连接通道而向用户终端返回上述生成的第一索引标识。 When the user terminal to upload the first portable terminal an account file, so at step 1004, through the terminal server W may account corresponding to a second long link index identifies a first return passage thus generated to the user terminal. 阳146] 步骤1006,向服务器发送携带有设备账号和第一索引标识的第一文件传输请求, W使服务器通过与设备账号对应的网络接入设备间的第一长连接通道传递第一文件传输请求,并使网络接入设备响应于第一文件传输请求而从服务器下载第一索引标识所对应的第一文件。 Male 146] Step 1006, sends the server a first file transfer request carrying the equipment has an account and identification of the first index, W so that the first file transfer server by transmitting the first long connection channel between devices corresponding to the account to the network access device request, and the network access device in response to the first file transfer download request identifying a first file corresponding to the first index from the server. 阳147] 具体地,用户终端在获取到第一索引标识后,自动或者响应于用户触发的请求触发指令,W向服务器发送携带有设备账号和第一索引标识的第一文件传输请求。 Male 147] Specifically, the user terminal after obtaining the first identification index, automatically or in response to a user trigger a trigger request instruction, W transmitting the file transmission request carrying a first device has a first index and the account identifier to the server. 服务器具有公网网络地址,用户终端可W随时根据该服务器的公网网络地址与该服务器连接通信。 Public network address with the server, the user terminal can be connected at any time in communication with the W server according to the public network address of the server. 若服务器包括消息服务器和文件存储服务器,则消息服务器接收用户终端发送的携带有设备账号和第一索引标识的第一文件传输请求。 If the message server includes a server and file storage server, a message server receives a first user terminal transmits a file transmission request carries the first device and the account identifier of the index. 该第一文件传输请求是一个消息,该消息具有表示该消息是一个文件传输请求的消息类型标识。 The first file transfer request is a message that indicates that the message is a message having a type identifier of the file transfer request.

[0148] 设备账号所对应的第一长连接通道,也就是该设备账号所对应的网络接入设备和该服务器之间的第一长连接通道。 [0148] Equipment account corresponding to a first long connecting passage, namely a first connection passage between the length of the device corresponding to the account and the network access device to the server. 服务器通过该第一长连接通道可W随时与相应的网络接入设备连接通信。 The server through the first connection passage length W can be connected at any time in communication with a respective network access device. 若服务器包括消息服务器和文件存储服务器,则消息服务器可通过设备账号所对应的第一长连接通道向网络接入设备发送第一文件传输请求。 If the message server includes a server and file storage server, the message server account number corresponding to the device via a first transmission path connecting a first length of a file transfer request to a network access device.

[0149] 在一个实施例中,服务器存储有设备账号和终端账号的关联关系,服务器在接收到用户终端发送的第一文件传输请求后,检查第一文件传输请求所携带的设备账号和终端账号是否存在关联关系,若是则执行步骤610,若否则无动作或者向用户终端返回无访问权限的通知。 [0149] In the terminal equipment and an account in the account server after receiving the first file transfer request sent by a user terminal, a first file transfer request checks carried one embodiment, the server device stores a relationship account and the account of the terminal, whether there is a relationship, if step 610 is executed, otherwise if no action without notice or return access to the user terminal. 上述关联关系中终端账号所对应的用户终端具有解除该关联关系的权限,该关联关系被接触后,其它用户终端可W建立新的关联关系。 It said user terminal the account relationship corresponding to the terminal having the permission to release the association, the association is in contact with the other user terminals W may establish a new association.

[0150] 网络接入设备在接收到第一文件传输请求后,可W响应于第一文件传输请求,自动向服务器发送携带有第一索引标识的下载请求,由服务器接收。 [0150] Network access device after receiving the first file transfer request, W may be the first file in response to the transmission request, automatically sending a first index label carrying the download request to the server, received by the server. 阳151] 在一个实施例中,网络接入设备在接收到第一文件传输请求后,可W响应于第一文件传输请求而触发提示操作,并在接收到用户确认指令后向服务器发送携带有第一索引标识的下载请求,由服务器接收。 Male 151] In one embodiment, the network access device after receiving the first file transfer request, W may be the first file in response to the transmission request triggered prompts, and transmits to the server carries the user after receiving the confirmation instruction has downloaded first index identifies a request received by the server.

[0152] 在一个实施例中,网络接入设备在触发提示操作后开始计时,当计时达到预设时长且未检测到用户确认指令时,根据预定义策略取消提示操作或者触发向服务器发送携带有第一索引标识的下载请求。 When [0152] In one embodiment, the network access device operation start time after an alert is triggered, when the time reaches the predetermined length is detected and no user confirmation command, to cancel or trigger prompts accordance with a predefined policy to the server carrying the first download request identification index. 阳153] 服务器在接收到下载请求后做出响应,查询第一索引标识所对应的第一文件,若查询到则将查询到的第一文件传输给网络接入设备;若未查询到则可W向用户终端反馈传输失败的反馈消息。 Male 153] After receiving the server to make in response to the download request, the query identifying a first file corresponding to the first index, if the query to the first file transfer to the network access device is queried; if no query to be W transmission failure feedback message feedback to the user terminal.

[0154] 上述基于物联网的文件传输方法,主动将第一文件上传到服务器存储,并且主动向服务器发起第一文件传输请求,运样服务器也可W与本地进行通信。 [0154] The file transfer method based things, a first active upload files to the server memory, and initiates the file transfer request to the first server, the sample transport server may also communicate with the local W. 而且服务器与网络接入设备间维持第一长连接通道,运样服务器就可W通过该第一长连接通道与网络接入设备通信,W将第一文件传输请求传递给网络接入设备。 And between the server and the network access device to maintain a first connection channel length, W the sample transport server may communicate with the first connecting passage length by the network access device, the first W file transfer request to the network access device. 网络接入设备就可W对第一文件传输请求做出响应W下载第一文件,实现了通过服务器向网络接入设备传输第一文件。 Network access device responds W W can download the first file a first file transmission request, to implement the transmission to the network access device through the first file server. 运样无论网络接入设备是否直接连接到公网,W及其内网网络环境如何变化,服务器都可W寻找到网络接入设备,实现用户终端向网络接入设备传输第一文件。 Whether the sample transport network access device is connected directly to the public network, W and how changes in the network environment within the network, the server can find the network access device W, the user terminal to implement the network access device transmitting a first file.

[0K5] 如图11所示,在一个实施例中,该基于物联网的文件传输方法还包括接收网络接入设备所传输的第二文件的步骤,具体包括W下步骤: 阳156] 步骤1102,当网络接入设备将携带有终端账号的第二文件传输请求发送给服务器后,接收服务器通过终端账号所对应的第二长连接通道发来的第二文件传输请求。 [0K5] 11, in one embodiment, the File Transfer method further comprises the step of IOT a second network access device receiving the file transmitted, W comprises the steps of: male 156] Step 1102 when carrying the network access device a second account the terminal transmits a file transmission request to the server, the server receives the account corresponding to the terminal through a second connection channel length sent by a second file transfer request.

[0157] 具体地,网络接入设备可W根据服务器的公网网络地址,将需要传输给用户终端的第二文件上传到服务器存储。 Second file [0157] Specifically, the network access device may according to public network address of W server, will be transmitted to the user terminal is uploaded to the server storage. 若服务器包括消息服务器和文件存储服务器,则在文件存储服务器上存储第二文件。 If the message server includes a server and file storage server, the second file is stored on a file server memory.

[0158] 服务器在存储第二文件后,对应生成并记录用W标识出该第二文件的存储位置的第二索引标识。 [0158] After storing the second file server, a corresponding record is generated and identified by the storage location of the second W of the second index file identification. 在数据库中第二索引标识与第二文件的存储位置的信息可W分别用键和相应的值来表示。 The information stored in a database location the second index identifies the second document can be W, respectively with the key and the corresponding values ​​are indicated. 网络接入设备上传第二文件时会携带有源地址,运样服务器就可W根据该源地址确定网络接入设备在网络中的位置,从而向该网络接入设备返回生成的第二索引标识。 The second network access device carries index when uploading the second file source address, the sample transport server W can determine the location of the network access devices in a network based on the source address, so that the device returns to the network access identifier generated . 服务器也可W通过上述第一长连接通道向网络接入设备返回生成的第二索引标识。 W may be returned to the second server identifies the generated index to a network access device through the first connecting passage length.

[0159] 网络接入设备在获取到第二索引标识后,自动或者响应于用户触发的请求触发指令,W向服务器发送携带有终端账号和第二索引标识的第二文件传输请求。 [0159] After acquiring the network access device to the second index identifies, either automatically or in response to a request triggered by the user triggering instruction, W transmitting the file transmission request carrying the second terminal has a second index and the account identifier to the server. 服务器具有公网网络地址,网络接入设备可W随时根据该服务器的公网网络地址与该服务器连接通信。 The server having a public network address, the network access device may be connected at any time W in communication with the server according to the public network address of the server. 若服务器包括消息服务器和文件存储服务器,则消息服务器接收网络接入设备发送的携带有终端账号和第二索引标识的第二文件传输请求。 If the message server includes a server and file storage server, a message server receives the network access device a second file transfer request sent by the terminal carries the account number and the second index mark. 该第二文件传输请求是一个消息,该消息具有表示该消息是一个文件传输请求的消息类型标识。 The second file transfer request is a message that indicates that the message is a message having a type identifier of the file transfer request.

[0160] 终端账号所对应的第二长连接通道,也就是该终端账号所对应的用户终端和该服务器之间的第二长连接通道。 The second length [0160] corresponding to the account to the terminal connecting channel, i.e. between the second elongated passage connected to the terminal corresponding to the account to the user terminal and the server. 服务器通过该第二长连接通道可W随时与相应的用户终端连接通信。 Server connection channel through which the second length W can be connected at any time in communication with the respective user terminal. 若服务器包括消息服务器和文件存储服务器,则消息服务器可通过终端账号所对应的第二长连接通道向用户终端发送第二文件传输请求。 If the message server includes a server and file storage server, the message server account number corresponding to the terminal through the second transmission channel connecting a second length of the file transmission request to the user terminal. 阳161] 步骤1104,响应于第二文件传输请求,W从服务器下载第二文件传输请求所携带的第二索引标识所对应的第二文件;第二索引标识根据网络接入设备上传到服务器存储的第二文件生成。 Male 161] Step 1104, transmission request response to the second file, the second file server W from the second file transfer download request carries a second index corresponding to the identification; second index identifies the uploaded to the server according to the network access storage device the second file is generated.

[0162] 具体地,用户终端响应于第二文件传输请求而向服务器发送携带有第二索引标识的下载请求,接收服务器根据下载请求查询到并返回的第二索引标识所对应的第二文件。 [0162] Specifically, the user terminal transmits a response carrying the identifier of the second index to the second request to the server to download the file transmission request, the server receives the query and returns the second file according to the download request corresponding to the second index identifier.

[0163] 用户终端在接收到第二文件传输请求后,可W响应于第二文件传输请求,自动向服务器发送携带有第二索引标识的下载请求,由服务器接收。 [0163] In the user terminal after receiving the second file transfer request, W may be in response to a second file transfer request, automatically sending a second index label carrying the download request to the server, received by the server. 在一个实施例中,用户终端在接收到第二文件传输请求后,可W响应于第二文件传输请求而触发提示操作,并在接收到用户确认指令后向服务器发送携带有第二索引标识的下载请求,由服务器接收。 In one embodiment, the user terminal after receiving a second file transfer request, W may be a second file transfer request in response to prompts triggered, and after receiving the transmission instruction to the server to confirm the user carries the identification of the second index download request received by the server. 在一个实施例中,用户终端在触发提示操作后开始计时,当计时达到预设时长且未检测到用户确认指令时,根据预定义策略取消提示操作或者触发向服务器发送携带有第二索引标识的下载请求。 In one embodiment the embodiment, the user terminal prompts the start trigger timing, when the time reaches the predetermined length is not detected that the user confirmation command, prompts cancellation policy according to a predefined trigger or transmitted to the server identified by the second index carrying download requests.

[0164] 服务器在接收到下载请求后做出响应,查询第二索引标识所对应的第二文件,若查询到则将查询到的第二文件传输给用户终端;若未查询到则可W向网络接入设备反馈传输失败的反馈消息。 [0164] After receiving the server to make in response to the download request, the query identifying the second file corresponding to the second index, if the query to a query to the second file will be transmitted to the user terminal; failure can be queried to W feedback network access equipment feedback message transmission failure.

[0165] 本实施例中,用户终端和网络接入设备之间可W借助服务器实现双向传输文件, 适用于各种需要双向传输文件的场景。 [0165] In this embodiment, between the user terminal and the network access device may be a server W by means of two-way file transfer, the need for a variety of bidirectional file transfer scenario.

[0166] 在一个实施例中,第一文件为多媒体文件;第一文件根据用户终端所采集的声音和/或图像生成。 [0166] In one embodiment, the first file is a multimedia file; a first file and / or images generated from a sound collected user terminal. 比如第一文件可W是语音留言文件、录像文件等。 W is the first such document may voicemail files, video files and so on. 参照图8, W下具体说明用户终端采集声音和/或图像W形成第一文件的详细步骤: Referring to FIG. 8, described in detail under the user terminal W capture sound and / or image W detailed steps of the first file is formed:

[0167] 步骤802,检测录制触发指令。 [0167] Step 802, the detection record triggering instruction.

[0168] 录制触发指令是指触发录制操作的指令,可W通过按压用户终端上的机械按键或者点击用户终端所提供的用户交互界面中的特定控件来触发该录制触发指令。 [0168] triggering instruction to record the recording operation triggering instruction means can be a mechanical key W by pressing or clicking on the user terminal the terminal user interface provided by the user specific control to activate the recording triggering instruction.

[0169] 步骤804,根据录制触发指令开始采集环境声音和/或图像,直到预设时长后或者直到检测到录制结束指令后停止采集。 [0169] Step 804, according to an instruction to start recording trigger collecting ambient sound and / or image, or the length of time until the preset stop capture until detecting the recording end instruction.

[0170] 具体地,运里环境声音和/或图像,是指用户终端所处环境中的声音和/或图像, 具体用户终端可W通过用户终端的麦克风来采集环境声音,通过用户终端的摄像头采集图像。 [0170] Specifically, transported in ambient sound and / or image, means that the user terminal is located in the environment sound and / or image, a specific user terminal may W to capture ambient sound through a microphone of the user terminal, a camera user terminal image acquisition. 预设时长可W是任意时长,比如可W是5-10秒。 W is preset length may be any length of time, such as may be W is 5-10 seconds. 若录制触发指令的触发动作是持续按压,那么录制结束指令的触发动作就可W是停止按压。 If the recording trigger action trigger instruction is continuously depressed, the recording end instruction to trigger action can stop W is pressed. 或者上述特定控件的一次点击用来触发录制触发指令,再一次点击则用来触发录制结束指令。 Or one-click control for the specific trigger recording trigger command, then click again to trigger the recording end instruction. 阳171] 步骤806,根据采集的声音和/或图像生成第一文件。 Male 171] Step 806, according to the collected sound and / or image to generate a first file.

[0172] 具体地,可W将采集的声音的数据形成音频数据,将该音频数据作为第一文件;可W将采集的图像的数据形成视频数据,将该视频数据作为第一文件;还可W按照各自的时间戳将音频数据合并到视频数据中,从而形成第一文件。 [0172] Specifically, W can be acquired sound data forming the audio data, the audio data as the first file; W can be acquired image data forming the video data, the video data as a first file; also W combined in accordance with respective time stamps to the video data, audio data, thereby forming a first file.

[0173] 本实施例中,用户终端可W实时采集多媒体数据形成多媒体文件并传输给网络接入设备,增加了用户终端与网络接入设备间的互动方式。 [0173] In this embodiment, the user terminal can collect real-time multimedia data W multimedia files formed and transferred to the network access device, the user increases the interaction between the terminal and the network access device.

[0174] 在一个实施例中,步骤1006中使服务器通过与设备账号对应的网络接入设备间的第一长连接通道传递第一文件传输请求的步骤,具体包括:使服务器检测设备账号是否对应在线状态;若是则通过服务器与设备账号所对应的网络接入设备间的第一长连接通道而向网络接入设备传递第一文件传输请求;若否则缓存第一文件传输请求,直至检测到设备账号对应在线状态时,通过服务器与设备账号所对应的网络接入设备间的第一长连接通道而向网络接入设备传递缓存的第一文件传输请求。 [0174] In one embodiment, step 1006 manipulation transmission request server by a first step of the first long file transmission channel between the connecting device corresponding to the account to the network access device, comprises: detecting whether the device corresponding to the server account to make online state; if the first file transfer request is transmitted to the network access device through the first connecting passage length between the device and the server account corresponding to the network access device; otherwise, if the first cache file transmission request, until detecting device when the corresponding account online, the cache is transmitted to the network access device through the first connecting passage length between the device and the server account corresponding to the network access device of the first file transfer request.

[01巧]具体地,在检测到设备账号对应在线状态后,服务器可直接通过第一长连接通道向网络接入设备传递第一文件传输请求。 [Qiao 01] Specifically, upon detecting the device corresponding to the account online, the server can be directly connected via a first passage length to the network access device transmitting a first file transfer request. 若检测到设备账号不对应在线状态,则服务器可W先缓存该第一文件传输请求,并继续检测直到检测到设备账号对应在线状态后,再将缓存的第一文件传输请求传输给网络接入设备。 If the account number does not correspond to the device detected online, the server may cache the first file W first transmission request, and continues until the detection device detects the presence state corresponding to the account, then the cached file transmission request is transmitted to the first network access device. 服务器可W维护一个离线消息表,将缓存的第一文件传输请求记录在该离线消息表中。 W server may maintain a table off-line message, the first cache file recorded in the offline transmission request message table. 当服务器继续检测直到检测到设备账号对应在线状态后,从该离线消息表中提取出设备账号所对应的离线消息,从而将提取出的离线消息传输给网络接入设备。 When the server detects that the device continues to be detected until the line corresponding to the account state, the offline message is extracted from an offline messaging device table corresponding to the account to the extracted off-line message to the network access device. 提取出的离线消息包括上述第一文件传输请求。 Extracted offline message comprises the first file transfer request.

[0176] 本实施例中,通过检测网络接入设备的在线状态,在检测到网络接入设备对应在线状态时才发送第一文件传输请求,可W防止文件传输请求丢失。 [0176] In this embodiment, the line state detecting network access device, transmitting a first file transfer request when the network access device corresponding to the detected line state, W can be prevented from missing file transfer request.

[0177] 在一个实施例中,网络接入设备或者用户终端保持与服务器间的长连接通道的方式有两种,第一种是保持与服务器的TCP连接,第二种则是定时向服务器发送屯、跳包。 [0177] In one embodiment, the network access device or user terminal holding manner long connecting channels between the server, there are two, the first one is to maintain the TCP connection with the server, the second server is transmitted to the timing Tuen, jump pack. TCP 连接本身就是面向连接的协议,一旦完成=次握手就可W保持连接。 TCP is connection-oriented protocol connection itself, and upon completion of W = handshake can remain connected. 网络接入设备或者用户终端定时发送的屯、跳包可W维持其在线状态,而且可W定时上报网络接入设备或者用户终端的网络地址,使得服务器可W随时与网络接入设备或用户终端进行通信。 Tun network access device or the user terminal periodically sends the jump packets may maintain its online W, and W may be reported at regular network address of the network access device or user terminal, so that at any time the server W the user terminal or the network access device communicate. 而且由于目前的路由器MT模块存在通信限制,只有当内网中的某节点A向内网外部的另一节点B发送了消息之后的一段时间内,另一节点B到内网中的节点A的消息才是被允许的,称为MT 穿越。 Because of the current limitations and communication modules MT router, only when the node A period of time a node to another node external to the network A network inwardly B after sending the message, another node B to the network of the the message is allowed, called MT crossing. 运样定时发送屯、跳包可W维持网络接入设备与服务器之间的MT穿越状态,使得服务器可W随时与网络接入设备通信。 Tun sample transport timing of transmission, packet hop count may be maintained MT W between the network access device and a server through state so that the server can communicate with the network at any time W access device.

[0178] 如图12所示,在一个实施例中,提供了另一种基于物联网的文件传输方法,本身实施例W该方法应用于上述图1中的网络接入设备106来举例说明。 [0178] 12, in one embodiment, there is provided another file transfer method based things, the network access device itself in the method of Example 1 W is applied to the above-described embodiment 106 illustrated in FIG. 该方法具体包括如下步骤: The method includes the following steps:

[0179] 步骤1202,当用户终端将携带有设备账号的第一文件传输请求发送给服务器后, 接收服务器通过设备账号所对应的第一长连接通道发来的第一文件传输请求。 [0179] Step 1202, when the user carrying the terminal apparatus of the first account file transmission request sent to the server, the server by the receiving apparatus corresponding to the first account long connection channel sent by a first file transfer request.

[0180] 具体地,用户终端可W根据服务器的公网网络地址,将需要传输给网络接入设备的第一文件上传到服务器存储。 [0180] Specifically, the user terminal may be W The public network address of the server, the file will be transmitted to the first network access device is uploaded to the server storage. 若服务器包括消息服务器和文件存储服务器,则在文件存储服务器上存储第一文件。 If the message server includes a server and file storage server, the file is stored on a first file storage server. 阳181] 用户终端可W提供用户交互界面,根据用户作用于该用户交互界面所触发的文件选择指令选定第一文件,从而自动或者在接收到用户触发的确认上传的指令后,将第一文件上传到服务器存储。 After the male 181] The user terminal may provide a user interface W, the first selection instruction files based on the selected user interface to the user action triggered, automatically or upon receipt of a user instruction confirms the upload trigger, the first files uploaded to the server storage. 第一文件可W是纯文本文件,也可W是多媒体文件。 The first file is a plain text file W may also be W is a multimedia file. 多媒体文件比如可W是包括音频数据、视频数据W及图片的文件,或者可W是音频数据、视频数据W及图片中的至少一种与文本信息共同构成的文件。 Multimedia files such as W may include audio data, video data and image files of W, or W may be audio data, video data W and at least one picture file and text information together constitute. 阳182] 在一个实施例中,用户终端可W检测第一文件的文件大小,若大于预设阔值,则将第一文件上传到服务器;若小于预设阔值,则生成包括该第一文件的消息而通过服务器传输给网络接入设备。 Male 182] In one embodiment, the user terminal can detect the file size W of the first file, if the width is greater than the predetermined value, the first file uploaded to the server; if the value is less than the predetermined width, comprising generating the first message file to be transmitted through the network access server device.

[0183] 在步骤1202之前,网络接入设备可向服务器发送携带有设备账号和设备密码的登录请求,W使服务器完成登录授权,建立网络接入设备与服务器之间的第一长连接通道。 [0183] Prior to step 1202, the network access device may send a login request to the server with a device carrying the device password and account number, W login authorization server completes so, establishing a first connection channel length between the server and the network access device. 用户终端也可W向服务器发送携带有终端账号和终端密码的登录请求,W使服务器完成登录授权,建立用户终端与服务器之间的第二长连接通道。 The user terminal may send to the server W has a terminal registration request carries the account number and password of the terminal, so that the server W completes the login authorization, establishing a second length between a user terminal and a server connection channel.

[0184] 服务器在存储第一文件后,对应生成并记录用W标识出该第一文件的存储位置的第一索引标识。 [0184] After storing the first file server, a corresponding record is generated and the storage location identified by the first W of the first index file identification. 在数据库中第一索引标识与第一文件的存储位置的信息可W分别用键和相应的值来表示。 The information stored in the database index identifies the position of the first file with the first key, respectively and W may be a value corresponding to FIG. 阳化5] 用户终端上传第一文件时会携带有源地址,运样服务器就可W根据该源地址确定用户终端在网络中的位置,从而向该用户终端返回生成的第一索引标识。 5 of the male carries] a first user terminal to upload the file source address, the sample transport server W can be determined that the user terminal location in the network based on the source address, so that the user terminal returns to the first identification index generated. 或者在一个实施例中,服务器可W预先接收用户终端发来的携带有终端账号和终端密码的登录请求,据W 完成登录授权后建立与用户终端的第二长连接通道。 Or In one embodiment, the server may request carries the terminal W login account and password previously received user terminal sent by the terminal, establishing a connection with the second passage of the long terminal user login authorization data W is completed. 该第二长连接通道是与终端账号对应的。 The second channel is a long connection to the terminal corresponding to the account. 用户终端在上传第一文件时可携带终端账号,从而服务器可W通过该终端账号所对应的第二长连接通道而向用户终端返回上述生成的第一索引标识。 When the user terminal to upload the first portable terminal an account file, so W can be through the terminal server account corresponding to the second elongated passageway connected to return said generated first identification index to the user terminal.

[0186]用户终端在获取到第一索引标识后,自动或者响应于用户触发的请求触发指令, W向服务器发送携带有设备账号和第一索引标识的第一文件传输请求。 [0186] After obtaining the user terminal first identification index, triggering instruction automatically or in response to a request triggered by the user, W transmitting the file transmission request carrying a first device has a first index and the account identifier to the server. 服务器具有公网网络地址,用户终端可W随时根据该服务器的公网网络地址与该服务器连接通信。 Public network address with the server, the user terminal can be connected at any time in communication with the W server according to the public network address of the server. 若服务器包括消息服务器和文件存储服务器,则消息服务器接收用户终端发送的携带有设备账号和第一索引标识的第一文件传输请求。 If the message server includes a server and file storage server, a message server receives a first user terminal transmits a file transmission request carries the first device and the account identifier of the index. 该第一文件传输请求是一个消息,该消息具有表示该消息是一个文件传输请求的消息类型标识。 The first file transfer request is a message that indicates that the message is a message having a type identifier of the file transfer request. 阳187] 设备账号所对应的第一长连接通道,也就是该设备账号所对应的网络接入设备和该服务器之间的第一长连接通道。 Male 187] corresponding to a first device account long connecting passage, namely a first connection passage between the length of the device corresponding to the account network access device and the server. 服务器通过该第一长连接通道可W随时与相应的网络接入设备连接通信。 The server through the first connection passage length W can be connected at any time in communication with a respective network access device. 若服务器包括消息服务器和文件存储服务器,则消息服务器可通过设备账号所对应的第一长连接通道向网络接入设备发送第一文件传输请求。 If the message server includes a server and file storage server, the message server account number corresponding to the device via a first transmission path connecting a first length of a file transfer request to a network access device.

[0188] 在一个实施例中,服务器存储有设备账号和终端账号的关联关系,服务器在接收到用户终端发送的第一文件传输请求后,检查第一文件传输请求所携带的设备账号和终端账号是否存在关联关系,若是则执行步骤610,若否则无动作或者向用户终端返回无访问权限的通知。 [0188] In the terminal equipment and an account in the account server after receiving the first file transfer request sent by a user terminal, a first file transfer request checks carried one embodiment, the server device stores a relationship account and the account of the terminal, whether there is a relationship, if step 610 is executed, otherwise if no action without notice or return access to the user terminal. 上述关联关系中终端账号所对应的用户终端具有解除该关联关系的权限,该关联关系被接触后,其它用户终端可W建立新的关联关系。 It said user terminal the account relationship corresponding to the terminal having the permission to release the association, the association is in contact with the other user terminals W may establish a new association.

[0189] 步骤1204,响应于第一文件传输请求,W从服务器下载第一文件传输请求所携带的第一索引标识所对应的第一文件;第一索引标识根据用户终端上传到服务器存储的第一文件生成。 [0189] Step 1204, transmission request response to the first file, the first file server W from the first file transfer download request carries a first index corresponding to the identifier; identifier of the first server stores the first index according to a user terminal to upload a file generation.

[0190] 具体地,网络接入设备在接收到第一文件传输请求后,可W响应于第一文件传输请求,自动向服务器发送携带有第一索引标识的下载请求,由服务器接收。 [0190] Specifically, the network access device after receiving the first file transfer request, W may be the first file in response to the transmission request, automatically sending a first index label carrying the download request to the server, received by the server. 阳191] 在一个实施例中,网络接入设备在接收到第一文件传输请求后,可W响应于第一文件传输请求而触发提示操作,并在接收到用户确认指令后向服务器发送携带有第一索引标识的下载请求,由服务器接收。 Male 191] In one embodiment, the network access device after receiving the first file transfer request, W may be the first file in response to the transmission request triggered prompts, and transmits to the server carries the user after receiving the confirmation instruction has downloaded first index identifies a request received by the server.

[0192] 在一个实施例中,网络接入设备在触发提示操作后开始计时,当计时达到预设时长且未检测到用户确认指令时,根据预定义策略取消提示操作或者触发向服务器发送携带有第一索引标识的下载请求。 When [0192] In one embodiment, the network access device operation start time after an alert is triggered, when the time reaches the predetermined length is detected and no user confirmation command, to cancel or trigger prompts accordance with a predefined policy to the server carrying the first download request identification index. 阳193] 服务器在接收到下载请求后做出响应,查询第一索引标识所对应的第一文件,若查询到则将查询到的第一文件传输给网络接入设备;若未查询到则可W向用户终端反馈传输失败的反馈消息。 Male 193] After receiving the server to make in response to the download request, the query identifying a first file corresponding to the first index, if the query to the first file transfer to the network access device is queried; if no query to be W transmission failure feedback message feedback to the user terminal.

[0194] 上述基于物联网的文件传输方法,与服务器维持第一长连接通道,运样在用户终端向服务器发送了第一文件传输请求,服务器就可W通过该第一长连接通道与本地通信, 从而使得本地接收到第一文件传输请求并做出响应,W从服务器下载第一文件,该第一文件是用户终端上传到服务器存储的。 [0194] The method of file transfer based things, the server maintains a first connection channel length, the sample transport in the above-described first user terminal transmits the file transmission request to the server, the server W can be connected to the first elongated passage through the local communication so that the local file received first transmission request and respond, W from the first server to download a file, the file is first uploaded to the server terminal user storage. 运样无论本地是否连接到公网,W及本地所在内网网络环境如何变化,服务器都可W寻找到文件传输的接收者,实现了接收到用户终端借助服务器传输的第一文件。 Whether locally sample transport is connected to the public network, how the network where W and local network environment changes, the server W can find the file transfer to the recipient, to achieve the first document received by the server to the user terminal transmission.

[0195] 如图13所示,在一个实施例中,该基于物联网的文件传输方法还包括向用户终端传输第二文件的步骤,具体包括W下步骤: 阳196] 步骤1302,将第二文件上传到服务器存储,W生成存储的第二文件所对应的第二索引标识。 [0195] 13, in one embodiment, the file transfer method of things based on the user terminal further comprises the step of transmitting a second file, W comprises the steps of: male 196] Step 1302, the second files uploaded to the storage server, generating a second index W stored in a second file corresponding to the identifier.

[0197] 具体地,网络接入设备可W根据服务器的公网网络地址,将需要传输给用户终端的第二文件上传到服务器存储。 Second file [0197] Specifically, the network access device may according to public network address of W server, will be transmitted to the user terminal is uploaded to the server storage. 若服务器包括消息服务器和文件存储服务器,则在文件存储服务器上存储第二文件。 If the message server includes a server and file storage server, the second file is stored on a file server memory.

[0198] 服务器在存储第二文件后,对应生成并记录用W标识出该第二文件的存储位置的第二索引标识。 [0198] After storing the second file server, a corresponding record is generated and identified by the storage location of the second W of the second index file identification. 在数据库中第二索引标识与第二文件的存储位置的信息可W分别用键和相应的值来表示。 The information stored in a database location the second index identifies the second document can be W, respectively with the key and the corresponding values ​​are indicated.

[0199] 步骤1304,接收服务器所返回的第二索引标识。 [0199] Step 1304, receives the second index returned by the server identifier. 阳200] 网络接入设备上传第二文件时会携带有源地址,运样服务器就可W根据该源地址确定网络接入设备在网络中的位置,从而向该网络接入设备返回生成的第二索引标识。 Male 200] Network access device carries a second source address when upload files, the sample transport server W can determine the location of the source address of the network access devices in a network according to return to the network access device generates the first two index identifier. 月良务器也可W通过上述第一长连接通道向网络接入设备返回生成的第二索引标识。 May good works W may also be returned to the second index identifies the generated network access device through the first connecting passage length. 阳201] 步骤1306,向服务器发送携带有终端账号和第二索引标识的第二文件传输请求, W使服务器通过与终端账号对应的用户终端间的第二长连接通道传递第二文件传输请求, 并使用户终端响应于第二文件传输请求而从服务器下载第二索引标识所对应的第二文件。 Male 201] Step 1306, the server sends the file transmission request carrying a second terminal identifier of the second index and the account, W so that the server transfer the second file transfer request through a second elongated connecting channel between the terminal and the user terminal corresponding to the account, and a second user terminal in response to a second file transfer request to download a file identifier corresponding to the second index from the server. 阳202] 网络接入设备在获取到第二索引标识后,自动或者响应于用户触发的请求触发指令,W向服务器发送携带有终端账号和第二索引标识的第二文件传输请求。 Male 202] After acquiring the network access device to the second index identifies, either automatically or in response to a user trigger a trigger request instruction, W transmitting the file transmission request carrying the second terminal has a second index and the account identifier to the server. 服务器具有公网网络地址,网络接入设备可W随时根据该服务器的公网网络地址与该服务器连接通信。 The server having a public network address, the network access device may be connected at any time W in communication with the server according to the public network address of the server. 若服务器包括消息服务器和文件存储服务器,则消息服务器接收网络接入设备发送的携带有终端账号和第二索引标识的第二文件传输请求。 If the message server includes a server and file storage server, a message server receives the network access device a second file transfer request sent by the terminal carries the account number and the second index mark. 该第二文件传输请求是一个消息,该消息具有表示该消息是一个文件传输请求的消息类型标识。 The second file transfer request is a message that indicates that the message is a message having a type identifier of the file transfer request. 阳203] 终端账号所对应的第二长连接通道,也就是该终端账号所对应的用户终端和该服务器之间的第二长连接通道。 Male 203] corresponding to the account to the terminal connected to a second channel length, i.e. the second length of the connecting channel between the terminal corresponding to the account to the user terminal and the server. 服务器通过该第二长连接通道可W随时与相应的用户终端连接通信。 Server connection channel through which the second length W can be connected at any time in communication with the respective user terminal. 若服务器包括消息服务器和文件存储服务器,则消息服务器可通过终端账号所对应的第二长连接通道向用户终端发送第二文件传输请求。 If the message server includes a server and file storage server, the message server account number corresponding to the terminal through the second transmission channel connecting a second length of the file transmission request to the user terminal. 阳204] 用户终端响应于第二文件传输请求而向服务器发送携带有第二索引标识的下载请求,接收服务器根据下载请求查询到并返回的第二索引标识所对应的第二文件。 A second file corresponding to the second index identifies the male 204] The user terminal transmits a response to the second file transfer request carries the second index identifies the download request to the server, the server receives the query and returns in accordance with the download request. 阳205]用户终端在接收到第二文件传输请求后,可W响应于第二文件传输请求,自动向服务器发送携带有第二索引标识的下载请求,由服务器接收。 Male 205] user terminal after receiving a second file transfer request, W may be in response to a second file transfer request, automatically sending a second index label carrying the download request to the server, received by the server. 在一个实施例中,用户终端在接收到第二文件传输请求后,可W响应于第二文件传输请求而触发提示操作,并在接收到用户确认指令后向服务器发送携带有第二索引标识的下载请求,由服务器接收。 In one embodiment, the user terminal after receiving a second file transfer request, W may be a second file transfer request in response to prompts triggered, and after receiving the transmission instruction to the server to confirm the user carries the identification of the second index download request received by the server. 在一个实施例中,用户终端在触发提示操作后开始计时,当计时达到预设时长且未检测到用户确认指令时,根据预定义策略取消提示操作或者触发向服务器发送携带有第二索引标识的下载请求。 In one embodiment the embodiment, the user terminal prompts the start trigger timing, when the time reaches the predetermined length is not detected that the user confirmation command, prompts cancellation policy according to a predefined trigger or transmitted to the server identified by the second index carrying download requests. 阳206] 服务器在接收到下载请求后做出响应,查询第二索引标识所对应的第二文件,若查询到则将查询到的第二文件传输给用户终端;若未查询到则可W向网络接入设备反馈传输失败的反馈消息。 Male 206] After receiving the server to make in response to the download request, the query identifying the second file corresponding to the second index, if the query to a query to the second file will be transmitted to the user terminal; failure can be queried to W feedback network access equipment feedback message transmission failure. 阳207] 本实施例中,用户终端和网络接入设备之间可W借助服务器实现双向传输文件, 适用于各种需要双向传输文件的场景。 Male 207] In this embodiment, between the user terminal and the network access device may be a server W by means of two-way file transfer, the need for a variety of bidirectional file transfer scenario. 阳20引在一个实施例中,第一文件为多媒体文件;第一文件根据用户终端所采集的声音和/或图像生成。 In one embodiment the male lead 20 embodiment, the first file is a multimedia file; a first file and / or images generated from a sound collected user terminal. 比如第一文件可W是语音留言文件、录像文件等。 W is the first such document may voicemail files, video files and so on. 具体地,用户终端检测录制触发指令;用户终端根据录制触发指令开始采集环境声音和/或图像,直到预设时长后或者直到检测到录制结束指令后停止采集;用户终端根据采集的声音和/或图像生成第一文件。 Specifically, the user terminal detects the recording trigger instruction; user terminal triggering instruction according to recording start collecting ambient sound and / or image, after a long time until the preset or until the detected stop capture recording end instruction; user terminal according to the collected sound and / or generating a first image file. 阳209] 在一个实施例中,第二文件为多媒体文件;第二文件根据网络接入设备所采集的声音和/或图像生成。 Male 209] In one embodiment, the second file is a multimedia file; network access device according to a second document acquired sound and / or image generation. 参照图14, W下具体说明网络接入设备采集声音和/或图像W形成第二文件的详细步骤: Referring to FIG. 14, described in detail under the W access device to capture sound and / or image W is formed of the second file detailed steps:

[0210] 步骤1402,检测录制触发指令。 [0210] Step 1402, the recording trigger command is detected. 阳211] 录制触发指令是指触发录制操作的指令,可W通过按压网络接入设备上的机械按键来触发该录制触发指令。 211 male] recording instruction means triggering command triggers the recording operation can be pressing mechanical button W on the network access device to trigger the recording by triggering instruction.

[0212] 步骤1404,根据录制触发指令开始采集环境声音和/或图像,直到预设时长后或者直到检测到录制结束指令后停止采集。 [0212] Step 1404, in accordance with an instruction to start recording trigger collecting ambient sound and / or image, or the length of time until the preset stop capture until detecting the recording end instruction.

[0213] 具体地,运里环境声音和/或图像,是指网络接入设备所处环境中的声音和/或图像,具体网络接入设备可W通过网络接入设备的麦克风来采集环境声音,通过网络接入设备的摄像头采集图像。 [0213] Specifically, in operation ambient sound and / or image, the environment refers to a network access device, the sound and / or image, particularly a network access device W can be collected by a network access device microphone ambient sound , image acquisition by the camera of the network access device. 预设时长可W是任意时长,比如可W是5-10秒。 W is preset length may be any length of time, such as may be W is 5-10 seconds. 若录制触发指令的触发动作是持续按压,那么录制结束指令的触发动作就可W是停止按压。 If the recording trigger action trigger instruction is continuously depressed, the recording end instruction to trigger action can stop W is pressed.

[0214] 步骤1406,根据采集的声音和/或图像生成第一文件。 [0214] Step 1406, according to the collected sound and / or image to generate a first file.

[0215] 具体地,可W将采集的声音的数据形成音频数据,将该音频数据作为第一文件;可W将采集的图像的数据形成视频数据,将该视频数据作为第一文件;还可W按照各自的时间戳将音频数据合并到视频数据中,从而形成第一文件。 [0215] Specifically, W can be acquired sound data forming the audio data, the audio data as the first file; W can be acquired image data forming the video data, the video data as a first file; also W combined in accordance with respective time stamps to the video data, audio data, thereby forming a first file.

[0216] 本实施例中,网络接入设备可W实时采集多媒体数据形成多媒体文件并传输给用户终端,增加了用户终端与网络接入设备间的互动方式。 [0216] In this embodiment, the network access device may be real-time collection of multimedia data W is formed, and a multimedia file transmitted to the user terminal, the user increases the interaction between the terminal and the network access device.

[0217] 在一个实施例中,步骤1202中接收服务器通过设备账号所对应的第一长连接通道发来的第一文件传输请求的步骤,具体包括:当服务器检测到设备账号对应在线状态后, 接收服务器通过设备账号所对应的第一长连接通道发来的第一文件传输请求;或者,当服务器在检测到设备账号不对应在线状态并缓存第一文件传输请求后,接收服务器在继续检测直至检测到设备账号对应在线状态时而通过设备账号所对应的第一长连接通道发来的缓存的第一文件传输请求。 The step of transmitting a request [0217] In one embodiment, the step of receiving by the server apparatus 1202 in the account corresponding to the first long connection channel sent by the first file, specifically comprises: when the server apparatus detects a state corresponding to the account online, receiving a server a first file transfer request corresponding to the account by the device connected to the first long channel sent; alternatively, when the server does not correspond to the line state detecting device and the account file cache of the first transmission request, the receiver continues to be detected until the server corresponding to the account apparatus detected by the apparatus sometimes online account corresponding to the first long connection channel sent by the first transmission request file cache.

[0218] 具体地,在检测到设备账号对应在线状态后,服务器可直接通过第一长连接通道向网络接入设备传递第一文件传输请求。 [0218] Specifically, upon detecting the device corresponding to the account online, the server can be directly transmitted to the first file transfer request to a network access device connected via a first channel length. 若检测到设备账号不对应在线状态,则服务器可W先缓存该第一文件传输请求,并继续检测直到检测到设备账号对应在线状态后,再将缓存的第一文件传输请求传输给网络接入设备。 If the account number does not correspond to the device detected online, the server may cache the first file W first transmission request, and continues until the detection device detects the presence state corresponding to the account, then the cached file transmission request is transmitted to the first network access device. 服务器可W维护一个离线消息表,将缓存的第一文件传输请求记录在该离线消息表中。 W server may maintain a table off-line message, the first cache file recorded in the offline transmission request message table.

[0219] 本实施例中,通过检测网络接入设备的在线状态,在检测到网络接入设备对应在线状态时才发送第一文件传输请求,可W防止文件传输请求丢失。 [0219] In this embodiment, the line state detecting network access device, transmitting a first file transfer request when the network access device corresponding to the detected line state, W can be prevented from missing file transfer request.

[0220] 在一个实施例中,网络接入设备或者用户终端保持与服务器间的长连接通道的方式有两种,第一种是保持与服务器的TCP连接,第二种则是定时向服务器发送屯、跳包。 [0220] In one embodiment, the network access device or user terminal holding manner long connecting channels between the server, there are two, the first one is to maintain the TCP connection with the server, the second server is transmitted to the timing Tuen, jump pack. TCP 连接本身就是面向连接的协议,一旦完成=次握手就可W保持连接。 TCP is connection-oriented protocol connection itself, and upon completion of W = handshake can remain connected. 网络接入设备或者用户终端定时发送的屯、跳包可W维持其在线状态,而且可W定时上报网络接入设备或者用户终端的网络地址,使得服务器可W随时与网络接入设备或用户终端进行通信。 Tun network access device or the user terminal periodically sends the jump packets may maintain its online W, and W may be reported at regular network address of the network access device or user terminal, so that at any time the server W the user terminal or the network access device communicate. 而且由于目前的路由器MT模块存在通信限制,只有当内网中的某节点A向内网外部的另一节点B发送了消息之后的一段时间内,另一节点B到内网中的节点A的消息才是被允许的,称为MT 穿越。 Because of the current limitations and communication modules MT router, only when the node A period of time a node to another node external to the network A network inwardly B after sending the message, another node B to the network of the the message is allowed, called MT crossing. 运样定时发送屯、跳包可W维持网络接入设备与服务器之间的MT穿越状态,使得服务器可W随时与网络接入设备通信。 Tun sample transport timing of transmission, packet hop count may be maintained MT W between the network access device and a server through state so that the server can communicate with the network at any time W access device. 阳221] 如图15所示,在一个实施例中,提供了一种基于物联网的文件传输装置1500,具有实现上述适用于服务器102的任意实施例的基于物联网的文件传输方法的功能。 Male 221] As shown in FIG 15, in one embodiment, a document transmitting apparatus 1500 based on things, based on the file transfer method having a function of things to achieve the above embodiments apply to any server 102. 该基于物联网的文件传输装置1500包括:登录处理模块1502、文件处理模块1504、文件传输请求处理模块1506和下载请求处理模块1508。 The document conveying device 1500 comprises IOT based: Log processing module 1502, file processing module 1504, a file transfer request processing module 1506 and the download request processing module 1508. 该基于物联网的文件传输装置1500所包括的各个模块可W部署在一个或者多个实体服务器上。 The document conveying device each module of things based on 1500 W may include one or more deployed on physical server. 阳222] 登录处理模块1502,用于接收网络接入设备发来的携带有设备账号和设备密码的登录请求,据W完成登录授权后建立与网络接入设备间的第一长连接通道。 Male 222] Log processing module 1502, account number and the device carrying the device for receiving a password login request sent by the network access device, according to a first length W establish connection channel between the network access device after completion of login authorization. 阳223] 文件处理模块1504,用于接收用户终端上传的第一文件并存储;生成与存储的第一文件对应的第一索引标识并返回给用户终端。 Male 223] file processing module 1504, a user terminal for receiving a first file and storing the uploaded; generating a first file corresponding to the stored first identifier and returns the index to the user terminal.

[0224] 文件传输请求处理模块1506,用于接收用户终端发送的携带有设备账号和第一索引标识的第一文件传输请求;通过设备账号所对应的第一长连接通道向网络接入设备发送第一文件传输请求。 [0224] File transfer request processing module 1506, a first terminal for receiving a user file transmission request carries a first index device and an account identifier; account by the device corresponding to a first long connection channel sent to the network access device The first file transfer requests.

[02巧]下载请求处理模块1508,用于接收网络接入设备响应于第一文件传输请求发来的携带有第一索引标识的下载请求;根据下载请求,查询到第一索引标识所对应的第一文件并传输给网络接入设备。 [02 Qiao] download request processing module 1508, configured to receive a network access device in response to the first file transfer request sent by a first index label carries a download request; according to the download request, the first query to the index corresponding to the identification and a first file transfer to the network access device. 阳226] 在一个实施例中,登录处理模块1502还用于接收用户终端发来的携带有终端账号和终端密码的登录请求,据W完成登录授权后建立与用户终端的第二长连接通道。 Yang login request 226] In one embodiment, log processing module 1502 is further configured to receive a user terminal sent by the terminal carries the account number and password of the terminal, according to W after completion of the establishment of the second long connection channel login authorization of the user terminal. 阳227] 文件处理模块1504还用于接收网络接入设备所上传的第二文件并存储;生成与存储的第二文件对应的第二索引标识并返回给网络接入设备。 Male 227] file processing module 1504 is further configured to access a second network device receiving the files uploaded and stored; generating a second file corresponding to the stored second identifier and returns the index to the network access device. 阳22引文件传输请求处理模块1506还用于接收网络接入设备发送的携带有终端账号和第二索引标识的第二文件传输请求;通过终端账号所对应的第二长连接通道向用户终端发送第二文件传输请求。 22 male index file transfer request processing module 1506 is also used for a second file transfer request carries the account number and the second index identifies the terminal transmitting the receiving network access device; account via a terminal connected to the corresponding second elongated channel sent to the user terminal The second file transfer requests.

[0229] 下载请求处理模块1508还用于接收用户终端响应于第二文件传输请求发来的携带有第二索引标识的下载请求;根据下载请求,查询到第二索引标识所对应的第二文件并传输给用户终端。 [0229] download request processing module 1508 is further configured to receive a user carries the terminal in response to a download request identifies the second index to the second request sent to the file transfer; according to the download request, a second query to identify a file corresponding to the second index and transmitted to the user terminal.

[0230] 在一个实施例中,第一文件为多媒体文件;第一文件根据用户终端所采集的声音和/或图像生成。 [0230] In one embodiment, the first file is a multimedia file; a first file and / or images generated from a sound collected user terminal. 阳231] 在一个实施例中,第二文件为多媒体文件;第而文件根据网络接入设备所采集的声音和/或图像生成。 Male 231] In one embodiment, the second file is a multimedia file; of the document and / or image generation. The network access device acquired sound. 阳232] 在一个实施例中,文件传输请求处理模块1506还用于检测设备账号是否对应在线状态;若是则通过与设备账号所对应的网络接入设备间的第一长连接通道而向网络接入设备传递第一文件传输请求;若否则缓存第一文件传输请求,直至检测到设备账号对应在线状态时,通过与设备账号所对应的网络接入设备间的第一长连接通道而向网络接入设备传递缓存的第一文件传输请求。 Male 232] In one embodiment, the file transfer request processing module 1506 is further configured to detect whether the device corresponding to line status of the account; and if the access to the network via a long connection channel between the first device and the account number corresponding to the network access device the first file delivery transmission request device; otherwise, if the first cache file transmission request until the device detects the presence state corresponding to the account, the first connection channel length between the device and the account number corresponding to the network access device connected to the network a first transfer device into the cache file transmission request. 阳233] 上述基于物联网的文件传输装置1500,根据网络接入设备主动发起的登录请求进行登录授权,保证安全性的同时,也可W获知网络接入设备在网络中的通信位置。 Male 233] The 1500 performs login authorization request to the network access device according to the login initiate file transfer means based on things, to ensure safety at the same time, the location may be a communication network known W in the network access equipment. 建立与网络接入设备间的第一长连接通道,运样可W维持与网络接入设备间通信的有效性,避免网络接入设备因网络位置发生变化而导致无法通信。 Establishing a connection between the channel and the length of the first network access device, the sample transport W can maintain the effectiveness of the communication between network access devices and to avoid network access device due to a change in position caused by the network can not communicate. 第一文件的上传是用户终端主动发起的,运样就可W获知用户终端在网络中的通信位置,从而将第一索引标识返回给用户终端。 The first file upload is initiated by the user terminal actively, the sample transport W can know the position of a user terminal in a communication network, so as to return the first index ID to the user terminal. 而且通过第一长连接通道,可W直接将用户终端发起的第一文件传输请求再发送给网络接入设备,使得网络接入设备做出响应W下载第一文件。 And the first connection channel length, W may be directly initiated by the user terminal to the first file transfer request then sent to the network access device, the network access device that makes the first response W downloaded file. 运样无论网络接入设备是否直接连接到公网,W及其内网环境如何变化,都可W寻找到网络接入设备,实现用户终端向网络接入设备传输第一文件。 Whether the sample transport network access device is connected directly to the public network, W and how changes in the network environment, can find the network access device W, the user terminal to achieve a first file transfer to the network access device.

[0234] 如图16所示,在一个实施例中,提供了另一种基于物联网的文件传输装置1600, 具有实现上述适用于用户终端104的各个实施例的基于物联网的文件传输方法的功能。 [0234] As shown in FIG 16, in one embodiment, there is provided another file transfer apparatus 1600 based on things having to achieve the above applies to each user based on the file transfer method of an embodiment of the IOT terminal 104 Features. 该基于物联网的文件传输装置1600包括:上传模块1602、接收模块1604和发送模块1606。 The document transmitting apparatus 1600 based on the IOT comprising: uploading module 1602, a receiving module 1604 and transmission module 1606. 阳235] 上传模块1602,用于将第一文件上传到服务器存储,W生成存储的第一文件所对应的第一索引标识。 Male 235] upload module 1602, a first file for uploading to the storage server, generating a first file stored in W corresponding to a first identification index.

[0236] 接收模块1604,用于接收服务器所返回的第一索引标识。 [0236] a receiving module 1604 for receiving a first index ID returned by the server. 阳237] 发送模块1606,用于向服务器发送携带有设备账号和第一索引标识的第一文件传输请求,W使服务器通过与设备账号对应的网络接入设备间的第一长连接通道传递第一文件传输请求,并使网络接入设备响应于第一文件传输请求而从服务器下载第一索引标识所对应的第一文件。 Male 237] sending module 1606, configured to send to the server a first file transfer request carrying the equipment has an account and identification of the first index, W transmitted by the first server so that the first long connection channel between devices corresponding to the account to the network access device a file transfer request, and the network access device in response to the first file transfer download request identifying a first file corresponding to the first index from the server.

[0238] 如图17所示,在一个实施例中,该基于物联网的文件传输装置1600还包括下载模块1608。 [0238] 17, in one embodiment, the document transmission apparatus 1600 further includes things based on the download module 1608. 阳239] 接收模块1604还用于当网络接入设备将携带有终端账号的第二文件传输请求发送给服务器后,接收服务器通过终端账号所对应的第二长连接通道发来的第二文件传输请求。 Male 239] The receiving module 1604 is further configured to access the network when the terminal device carries the account transfer request to the second file server, the server receives the account corresponding to the second terminal connected to the long passage sent to a second file transfer request.

[0240] 下载模块1608用于响应于第二文件传输请求,W从服务器下载第二文件传输请求所携带的第二索引标识所对应的第二文件;第二索引标识根据网络接入设备上传到服务器存储的第二文件生成。 [0240] The download module 1608 in response to a second file transfer request, W download a second file of the second file corresponding to the second index identifies the transmission requests carried from the server; The second index identifies the network access device to upload the second generation of file server storage. 阳241] 如图18所示,在一个实施例中,第一文件为多媒体文件,该基于物联网的文件传输装置1600还包括采集模块1610,用于检测录制触发指令;根据录制触发指令开始采集环境声音和/或图像,直到预设时长后或者直到检测到录制结束指令后停止采集;根据采集的声音和/或图像生成第一文件。 Male 241] As shown in FIG. 18, in one embodiment, the first file is a multimedia file, the file transmission apparatus 1600 further includes things based acquisition module 1610, a trigger for detecting a recording command; recording start trigger in accordance with an instruction acquisition ambient sound and / or image, until the predetermined length is detected or until a recording end instruction to stop the post-acquisition; and / or image generated according to the collected sound file first. 阳242] 在一个实施例中,发送模块1606还用于使服务器检测设备账号是否对应在线状态;若是则通过服务器与设备账号所对应的网络接入设备间的第一长连接通道而向网络接入设备传递第一文件传输请求;若否则缓存第一文件传输请求,直至检测到设备账号对应在线状态时,通过服务器与设备账号所对应的网络接入设备间的第一长连接通道而向网络接入设备传递缓存的第一文件传输请求。 Male 242] In one embodiment, the transmission module 1606 is further configured to cause the server device detecting whether the account corresponding to the online state; if the length of the first connection channel between the account server and the device corresponding to the network access devices connected to the network the first file delivery transmission request device; otherwise, if the first cache file transmission request, until detecting device corresponding to the account online, via a long connection channel between the first server and the device corresponding to the account and the network access device to the network cache access device transmitting a first file transfer request. 阳243] 上述基于物联网的文件传输装置1600,主动将第一文件上传到服务器存储,并且主动向服务器发起第一文件传输请求,运样服务器也可W与本地进行通信。 Male 243] said document transmitting apparatus 1600 based on things, a first active upload files to the server memory, and initiates the file transfer request to the first server, the sample transport server may also communicate with the local W. 而且服务器与网络接入设备间维持第一长连接通道,运样服务器就可W通过该第一长连接通道与网络接入设备通信,W将第一文件传输请求传递给网络接入设备。 And between the server and the network access device to maintain a first connection channel length, W the sample transport server may communicate with the first connecting passage length by the network access device, the first W file transfer request to the network access device. 网络接入设备就可W对第一文件传输请求做出响应W下载第一文件,实现了通过服务器向网络接入设备传输第一文件。 Network access device responds W W can download the first file a first file transmission request, to implement the transmission to the network access device through the first file server. 运样无论网络接入设备是否直接连接到公网,W及其内网环境如何变化,服务器都可W寻找到网络接入设备,实现用户终端向网络接入设备传输第一文件。 Whether the sample transport network access device is connected directly to the public network, W and how changes in the network environment, the server can find the network access device W, the user terminal to achieve a first file transfer to the network access device.

[0244] 如图19所示,在一个实施例中,提供了一种基于物联网的文件传输装置1900,具有实现上述适用于网络接入设备106的各个实施例的基于物联网的文件传输方法的功能。 [0244] As shown in FIG 19, in one embodiment, a document transmitting apparatus 1900 based on things, various embodiments with file transfer method of the network access device based on the embodiment of the IOT 106 is suitable for achieving the above function. 该基于物联网的文件传输装置1900包括接收单元1902和下载单元1904。 The document transmitting apparatus 1900 based IOT includes a receiving unit 1902 and downloading unit 1904.

[0245] 接收单元1902,用于当用户终端将携带有设备账号的第一文件传输请求发送给服务器后,接收服务器根据设备账号而通过第一长连接通道发来的第一文件传输请求。 [0245] The receiving unit 1902, configured to, when the user carries the terminal apparatus has a first file transfer request after the account is sent to the server, the server apparatus receives the account through a first connecting passage length sent by a first file transfer request. 阳246] 下载单元1904,用于响应于第一文件传输请求,从服务器下载第一文件传输请求所携带的第一索引标识所对应的第一文件;第一索引标识根据用户终端上传到服务器存储的第一文件生成。 Male 246] The download unit 1904, in response to the first file transfer request, a first identifier corresponding to the first index file from the server to download the first file transfer request carried; index identifying a first user terminal according to upload to the server storage the first file is generated. 阳247] 如图20所示,在一个实施例中,该基于物联网的文件传输装置1900还包括上传单元1906和发送单元1908。 Male 247] shown in Figure 20, in one embodiment, the document transmission apparatus 1900 further includes things based uploading unit 1906 and transmitting unit 1908.

[0248] 上传单元1906,用于将第二文件上传到服务器存储,W生成存储的第二文件所对应的第二索引标识。 [0248] 1906 upload unit for uploading a file to a second storage server, a second file storing the generated W corresponding to a second identification index.

[0249] 接收单元1902还用于接收服务器所返回的第二索引标识。 [0249] The receiving unit 1902 further receives a second index identifier returned by the server. 阳巧0] 发送单元1908,用于向服务器发送携带有终端账号和第二索引标识的第二文件传输请求,W使服务器通过与终端账号对应的用户终端间的第二长连接通道传递第二文件传输请求,并使用户终端响应于第二文件传输请求而从服务器下载第二索引标识所对应的第二文件。 Yang Qiao 0] sending unit 1908, configured to send to the server with a file transfer request carries a second terminal and a second index account identifier, W so that the server is connected by a second elongated channel between the terminal and the user terminal corresponding to the account to transfer a second file transfer request, and in response to a second user terminal to download the file transmission request identifying a second file corresponding to the second index from the server. 阳251] 在一个实施例中,第一文件为多媒体文件;第一文件根据用户终端所采集的声音和/或图像生成。 Male 251] In one embodiment, the first file is a multimedia file; a first file and / or images generated from a sound collected user terminal. 阳252] 在一个实施例中,第二文件为多媒体文件;第二文件根据网络接入设备所采集的声音和/或图像生成。 Male 252] In one embodiment, the second file is a multimedia file; network access device according to a second document acquired sound and / or image generation. 阳巧3] 在一个实施例中,接收单元1902还用于当服务器检测到设备账号对应在线状态后,接收服务器通过设备账号所对应的第一长连接通道发来的第一文件传输请求;或者,接收单元1902还用于当服务器在检测到设备账号不对应在线状态并缓存第一文件传输请求后,接收服务器在继续检测直至检测到设备账号对应在线状态时而通过设备账号所对应的第一长连接通道发来的缓存的第一文件传输请求。 Qiao male 3] In one embodiment, the receiving unit 1902 is further configured to detect when the server device corresponding to the account to the online state, the receiving apparatus via the server account corresponding to the first long connection channel sent by a first file transfer request; or the receiving unit 1902 is further configured to detect when the server device after the account status and cache line does not correspond to the first file transfer request, the server receives the device continues to be detected until detecting a first length corresponding to the account by the apparatus sometimes online account corresponding connecting channel sent by a first cache file transmission request. 阳巧4] 上述基于物联网的文件传输装置1900,与服务器维持第一长连接通道,运样在用户终端向服务器发送了第一文件传输请求,服务器就可W通过该第一长连接通道与本地通信,从而使得本地接收到第一文件传输请求并做出响应,W从服务器下载第一文件,该第一文件是用户终端上传到服务器存储的。 Yang Qiao 4] The IOT based file transfer apparatus 1900, the server maintains a first connection channel length, the sample transport user terminal transmits a first transmission request to the file server, the server W can be connected through the first channel length local communication, so that the local receiving a first file transfer request and respond, W download the file from the first server, the first file is uploaded to the server terminal user storage. 运样无论本地是否连接到公网,W及本地所在内网网络环境如何变化,服务器都可W寻找到文件传输的接收者,实现了接收到用户终端借助服务器传输的第一文件。 Whether locally sample transport is connected to the public network, how the network where W and local network environment changes, the server W can find the file transfer to the recipient, to achieve the first document received by the server to the user terminal transmission. 阳巧5] 在一个实施例中,下载单元1904还用于响应于第一文件传输请求,自动从服务器下载第一文件传输请求所携带的第一索引标识所对应的第一文件;或者,下载单元1904还用于响应于第一文件传输请求而触发提示操作,并在接收到用户确认指令后从服务器下载第一索引标识所对应的第一文件。 Yang Qiao 5] In one embodiment, the unit 1904 is further configured to download the first file in response to a transmission request, the first file is automatically downloaded from the server a first file transfer request carried by a first index corresponding to the identifier; or downloads unit 1904 is also responsive to a first trigger a file transfer request instructions, and a first index file downloaded first identifier from the server corresponding to the user after receiving the confirmation instruction. 阳256] 本领域普通技术人员可W理解实现上述实施例方法中的全部或部分流程,是可W 通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 Male 256] Those of ordinary skill in the art can understand that the above embodiments W method all or part of the process, W is instructing relevant hardware through a computer program, the program may be stored in a computer readable storage medium, when the program is executed, the processes of the foregoing method embodiments. 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体巧eacH3nly Memo巧,ROM)或随机存储记忆体(Random Access Memoir, RAM)等。 Wherein the storage medium may be a magnetic disk, an optical disk, read-only memory eacH3nly Memo Qiao Qiao, a ROM) or a random access memory (Random Access Memoir, RAM) and the like. 阳巧7] W上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。 Yang Qiao 7] W on the expression of several embodiment examples are only embodiments of the present invention, and detailed description thereof is more specific, but can not therefore be understood as limiting the scope of the present invention. 应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可W做出若干变形和改进,运些都属于本发明的保护范围。 It should be noted that those of ordinary skill in the art, without departing from the inventive concept premise, W may make various modifications and improvements fall within the protection scope of some operation of the present invention. 因此,本发明专利的保护范围应W所附权利要求为准。 Therefore, the protection scope of the present invention shall W appended claims.

Claims (15)

1. 一种基于物联网的文件传输方法,所述方法包括: 接收网络接入设备发来的携带有设备账号和设备密码的登录请求,据以完成登录授权后建立与所述网络接入设备间的第一长连接通道; 接收用户终端上传的第一文件并存储; 生成与存储的第一文件对应的第一索引标识并返回给所述用户终端; 接收所述用户终端发送的携带有设备账号和所述第一索引标识的第一文件传输请求; 通过所述设备账号所对应的所述第一长连接通道向所述网络接入设备发送所述第一文件传输请求; 接收所述网络接入设备响应于所述第一文件传输请求发来的携带有所述第一索引标识的下载请求; 根据所述下载请求,查询到所述第一索引标识所对应的所述第一文件并传输给所述网络接入设备。 A file transfer method was based on networking, the method comprising: receiving a network access device that carries equipment sent and device password account login request, login authorization according to established after the completion of the network access device long connection between the first passage; receiving a first file and storing the uploaded user terminal; generating a first file corresponding to the stored first identifier and returns the index to the user terminal; receiving the transmitted user terminal device carries the first file transfer request and the account identifier of the first index; the account by the device corresponding to the first connection channel length of the first network transmits the file transmission request to the access device; receiving the network carries the access device in response to the first index of the download request identifying a first file transfer request sent; according to the download request, the first query to identify a file corresponding to the first index and transmission to the network access device.
2. 根据权利要求1所述的方法,其特征在于,所述方法还包括: 接收用户终端发来的携带有终端账号和终端密码的登录请求,据以完成登录授权后建立与所述用户终端的第二长连接通道; 接收网络接入设备所上传的第二文件并存储; 生成与存储的第二文件对应的第二索引标识并返回给所述网络接入设备; 接收所述网络接入设备发送的携带有终端账号和所述第二索引标识的第二文件传输请求; 通过所述终端账号所对应的所述第二长连接通道向所述用户终端发送所述第二文件传输请求; 接收所述用户终端响应于所述第二文件传输请求发来的携带有所述第二索引标识的下载请求; 根据所述下载请求,查询到所述第二索引标识所对应的所述第二文件并传输给所述用户终端。 2. The method according to claim 1, wherein said method further comprises: receiving a user terminal sent by the terminal carries a terminal ID and password of the login request, according to established after the completion of the user login authorization terminal a second elongated connecting passage; a second network access device receiving the files uploaded and stored; generating a second file corresponding to the stored second identifier and returns the index to the network access device; receiving the network access transmission terminal apparatus carries the account number and the second index identifying a second file transfer request; by the account of the terminal corresponding to the second elongated passage connected to the user terminal transmits the second file transfer request; receiving the user terminal in response to the download request carries the second index identifies the transmission request sent to a second file; according to the download request, the second query to the index corresponding to the second identification file and transmitted to the user terminal.
3. 根据权利要求1所述的方法,其特征在于,所述第一文件为多媒体文件;所述第一文件根据所述用户终端所采集的声音和/或图像生成。 3. The method according to claim 1, wherein the first file is a multimedia file; the first file according to the user terminal acquired sound and / or image generation.
4. 根据权利要求1所述的方法,其特征在于,所述通过所述设备账号所对应的所述第一长连接通道向所述网络接入设备发送所述第一文件传输请求,包括: 检测所述设备账号是否对应在线状态; 若是则通过与所述设备账号所对应的网络接入设备间的第一长连接通道而向所述网络接入设备传递所述第一文件传输请求; 若否则缓存所述第一文件传输请求,直至检测到所述设备账号对应在线状态时,通过与所述设备账号所对应的网络接入设备间的第一长连接通道而向所述网络接入设备传递所述缓存的第一文件传输请求。 4. The method according to claim 1, characterized in that the length through the first connection passage network access device first transmits the file transmission request to the account corresponding to the device, comprising: detecting whether the device corresponding to line status of the account; if connected through a first passage length between the device and the account number corresponding to the network access device and a transmission request is transmitted to the network access device of the first file; if otherwise, the first cache file transmission request, until when the device is detected corresponding to the account to the online state, the first connection channel length between the device and the account number corresponding to the network access equipment to the network access device transmitting the buffered first file transfer request.
5. -种基于物联网的文件传输方法,所述方法包括: 将第一文件上传到服务器存储,以生成存储的第一文件所对应的第一索引标识; 接收所述服务器所返回的所述第一索引标识; 向所述服务器发送携带有设备账号和所述第一索引标识的第一文件传输请求,以使所述服务器通过与所述设备账号对应的网络接入设备间的第一长连接通道传递所述第一文件传输请求,并使所述网络接入设备响应于所述第一文件传输请求而从所述服务器下载所述第一索引标识所对应的所述第一文件。 5. - The method of file transfer species based things, the method comprising: uploading a file to the first storage server to generate a first file storing the identification corresponding to the first index; receiving the returned by the server a first identification index; sending to the server a first file transfer request carries the account number and the apparatus has a first index of identification, so that the length between the first server by the device corresponding to the account to the network access device a first connecting passage communicating the file transmission request, and the network access device in response to the first file to the first file transfer request from the server to download the first index corresponding to the identifier.
6. 根据权利要求5所述的方法,其特征在于,所述方法还包括: 当所述网络接入设备将携带有终端账号的第二文件传输请求发送给所述服务器后,接收所述服务器通过所述终端账号所对应的第二长连接通道发来的第二文件传输请求; 响应于所述第二文件传输请求,以从所述服务器下载所述第二文件传输请求所携带的第二索引标识所对应的第二文件;所述第二索引标识根据所述网络接入设备上传到所述服务器存储的第二文件生成。 6. The method according to claim 5, characterized in that the method further comprises: after the network access device to a terminal carrying a second account file transfer request to the server, the server receives account of the terminal by a second length corresponding to a second connection channel sent to the file transfer request; in response to the second file transmission request, to download the file from the second server a second transmission request carried identifying a second file corresponding to the index; identifying the second index according to the network access device to upload a second file to generate the server storage.
7. 根据权利要求1所述的方法,其特征在于,所述第一文件为多媒体文件;所述方法还包括: 检测录制触发指令; 根据所述录制触发指令开始采集环境声音和/或图像,直到预设时长后或者直到检测到录制结束指令后停止采集; 根据所述采集的声音和/或图像生成所述第一文件。 7. The method according to claim 1, wherein the first file is a multimedia file; the method further comprising: detecting a triggering instruction recorded; triggering instruction according to the recording start collecting ambient sound and / or image, until the preset length or until the stop recording end instruction after collection; according to the collected sound and / or generate the first image file.
8. 根据权利要求1所述的方法,其特征在于,所述使所述服务器通过与所述设备账号对应的网络接入设备间的第一长连接通道传递所述第一文件传输请求,包括: 使所述服务器检测所述设备账号是否对应在线状态; 若是则通过所述服务器与所述设备账号所对应的网络接入设备间的第一长连接通道而向所述网络接入设备传递所述第一文件传输请求; 若否则缓存所述第一文件传输请求,直至检测到所述设备账号对应在线状态时,通过所述服务器与所述设备账号所对应的网络接入设备间的第一长连接通道而向所述网络接入设备传递所述缓存的第一文件传输请求。 8. The method according to claim 1, wherein said first file server according to the transmission request transmitted by the first long connection channel between the device corresponding to the account to the network access device, comprising : causing the server apparatus detects whether the account corresponding to the line state; is transmitted to the network access device if the first connection channel length between the device and the server account corresponding to the network through the access device said first file transfer request; otherwise, if the first cache file transmission request, until when the device is detected corresponding to the account online, the first between the server and the device via the account corresponding to the network access device the first file transfer request and the length of the connecting channel to the buffer delivery network access device.
9. 一种基于物联网的文件传输方法,所述方法包括: 当用户终端将携带有设备账号的第一文件传输请求发送给所述服务器后,接收所述服务器通过所述设备账号所对应的第一长连接通道发来的所述第一文件传输请求; 响应于所述第一文件传输请求,以从所述服务器下载所述第一文件传输请求所携带的第一索引标识所对应的第一文件;所述第一索引标识根据所述用户终端上传到所述服务器存储的第一文件生成。 A file transfer method was based on networking, the method comprising: when the user terminal apparatus carrying the first account file transfer request to the server, the server receives corresponding account by the device a first connecting passage length sent by said first file transfer request; first file in response to the transmission request, from the first server to download the first file transfer request identifier carried by a first index corresponding to a file; identifying the first index according to the user terminal to upload the file server stores the first generation.
10. 根据权利要求9所述的方法,其特征在于,所述方法还包括: 将第二文件上传到服务器存储,以生成存储的第二文件所对应的第二索引标识; 接收所述服务器所返回的所述第二索引标识; 向所述服务器发送携带有终端账号和所述第二索引标识的第二文件传输请求,以使所述服务器通过与所述终端账号对应的用户终端间的第二长连接通道传递所述第二文件传输请求,并使所述用户终端响应于所述第二文件传输请求而从所述服务器下载所述第二索引标识所对应的所述第二文件。 10. The method according to claim 9, characterized in that, said method further comprising: uploading the second file to the storage server to generate a second file storing the identification corresponding to the second index; receiving by the server returns the identifier of the second index; sending to the server with a file transfer request carries a second terminal and an account identifier of the second index, so that the server between the first terminal and corresponding to the account to the user terminal through two long connecting passage communicating the second file transfer request, and the user terminal in response to the second request to download the file transfer the second file corresponding to the second index identifier from the server.
11. 根据权利要求9所述的方法,其特征在于,所述第一文件为多媒体文件;所述第一文件根据所述用户终端在开始采集环境声音和/或图像后直到预设时长后或者直到检测到录制结束指令后所采集的声音和/或图像生成。 After the first file according to the user terminal at the beginning or after collecting ambient sound and / or image until the preset duration; 11. The method according to claim 9, wherein the first file is a multimedia file until a recording end instruction is detected after the acquired sound and / or image generation.
12. 根据权利要求9所述的方法,其特征在于,所述接收所述服务器通过所述设备账号所对应的第一长连接通道发来的所述第一文件传输请求,包括: 当所述服务器检测到所述设备账号对应在线状态后,接收所述服务器通过所述设备账号所对应的第一长连接通道发来的所述第一文件传输请求;或者, 当所述服务器在检测到所述设备账号不对应在线状态并缓存所述第一文件传输请求后,接收所述服务器在继续检测直至检测到所述设备账号对应在线状态时而通过所述设备账号所对应的第一长连接通道发来的所述缓存的第一文件传输请求。 12. The method according to claim 9, wherein the receiving the server account number corresponding to the device through a first connecting passage length sent by said first file transfer request, comprising: when the after detecting that the server device corresponding to the account online, the server receives the account number corresponding to the device through a first connecting passage length sent by said first file transfer request; or, when the server detects the described later, the device does not correspond to the account of the first cache line status and file transmission request, the server continues to receive the detected until the device detects the presence state corresponding to the account from time to time by the device corresponding to a first long link channel, with the account the first file transfer requests to the cache.
13. -种基于物联网的文件传输装置,其特征在于,所述装置包括: 登录处理模块,用于接收网络接入设备发来的携带有设备账号和设备密码的登录请求,据以完成登录授权后建立与所述网络接入设备间的第一长连接通道; 文件处理模块,用于接收用户终端上传的第一文件并存储;生成与存储的第一文件对应的第一索引标识并返回给所述用户终端; 文件传输请求处理模块,用于接收所述用户终端发送的携带有设备账号和所述第一索引标识的第一文件传输请求;通过所述设备账号所对应的所述第一长连接通道向所述网络接入设备发送所述第一文件传输请求; 下载请求处理模块,用于接收所述网络接入设备响应于所述第一文件传输请求发来的携带有所述第一索引标识的下载请求;根据所述下载请求,查询到所述第一索引标识所对应的所述第一文件并传 13 - document conveying device types based on things, characterized in that said apparatus comprising: a registration processing module, configured to receive a login request sent by the network access device carrying apparatus and equipment account password to complete the logon data authorization is established between a first connection channel length of the network access device; processing module, for receiving a first file and storing the uploaded user terminal; generating a first file corresponding to the stored first identifier and returns the index to the user terminal; file transfer request processing module, for receiving a first file transfer request sent by the user terminal equipment carries the first index and the account identifier; the first account by the device corresponding to a long connection channel to the network access device sends the first file transfer request; download request processing module, for receiving the network access device in response to the first file transfer request is sent carries the first index download request identifier; according to the download request, the first query to identify a file corresponding to the first index and transmission 给所述网络接入设备。 To the network access device.
14. 一种基于物联网的文件传输装置,其特征在于,所述装置包括: 上传模块,用于将第一文件上传到服务器存储,以生成存储的第一文件所对应的第一索引标识; 接收模块,用于接收所述服务器所返回的所述第一索引标识; 发送模块,用于向所述服务器发送携带有设备账号和所述第一索引标识的第一文件传输请求,以使所述服务器通过与所述设备账号对应的网络接入设备间的第一长连接通道传递所述第一文件传输请求,并使所述网络接入设备响应于所述第一文件传输请求而从所述服务器下载所述第一索引标识所对应的所述第一文件。 14. A document transmission apparatus based on things, characterized in that said apparatus comprises: uploading means for uploading a file to a first storage server to generate a first file storing the identification corresponding to the first index; a receiving module, configured to receive the first index returned by the server identifier; transmitting means for transmitting the file transmission request carrying a first device has an account identifier and the first index to the server, so that the said first server via a long connection channel between the access device and the network device corresponding to the account file is transmitted to the first transmission request, and the network access device in response to the first request from the file transfer the first server downloading said identification index corresponding to the first file.
15. -种基于物联网的文件传输装置,其特征在于,所述装置包括: 接收单元,用于当用户终端将携带有设备账号的第一文件传输请求发送给所述服务器后,接收所述服务器根据所述设备账号而通过第一长连接通道发来的所述第一文件传输请求; 下载单元,用于响应于所述第一文件传输请求,从所述服务器下载所述第一文件传输请求所携带的第一索引标识所对应的第一文件;所述第一索引标识根据所述用户终端上传到所述服务器存储的第一文件生成。 15 - document conveying device types based on things, characterized in that said apparatus comprises: a receiving unit, configured to, when a user terminal sends a request to the server with a file transfer apparatus carries the first account after receiving the the account server apparatus through the first connection passage length sent by said first file transfer request; downloading unit, in response to the first file transfer request from the first server downloading the file transfer a first request carrying a first file corresponding to the index label; identifying the first index according to the user terminal to upload the file server stores the first generation.
CN201410837173.9A 2014-12-29 2014-12-29 File transmission method and device based on Internet of things CN105812402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410837173.9A CN105812402A (en) 2014-12-29 2014-12-29 File transmission method and device based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410837173.9A CN105812402A (en) 2014-12-29 2014-12-29 File transmission method and device based on Internet of things

Publications (1)

Publication Number Publication Date
CN105812402A true CN105812402A (en) 2016-07-27

Family

ID=56980774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410837173.9A CN105812402A (en) 2014-12-29 2014-12-29 File transmission method and device based on Internet of things

Country Status (1)

Country Link
CN (1) CN105812402A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150484A (en) * 2006-09-21 2008-03-26 伟 周 Method and system for remotely playing slide photos by using computer background
CN101964785A (en) * 2010-09-19 2011-02-02 中兴通讯股份有限公司 Method, terminal and system for transmitting file between SIP (Session Initiation Protocol) terminals in NAT (Network Address Translation) network
CN102821057A (en) * 2011-06-09 2012-12-12 腾讯科技(深圳)有限公司 File sending method, device and system
US9037740B2 (en) * 2000-05-18 2015-05-19 Facebook, Inc. Preference based transferring of files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9037740B2 (en) * 2000-05-18 2015-05-19 Facebook, Inc. Preference based transferring of files
CN101150484A (en) * 2006-09-21 2008-03-26 伟 周 Method and system for remotely playing slide photos by using computer background
CN101964785A (en) * 2010-09-19 2011-02-02 中兴通讯股份有限公司 Method, terminal and system for transmitting file between SIP (Session Initiation Protocol) terminals in NAT (Network Address Translation) network
CN102821057A (en) * 2011-06-09 2012-12-12 腾讯科技(深圳)有限公司 File sending method, device and system

Similar Documents

Publication Publication Date Title
US9866925B2 (en) Relevancy improvement through targeting of information based on data gathered from a networked device associated with a security sandbox of a client device
US10136172B2 (en) Apparatus and methods for content delivery and message exchange across multiple content delivery networks
US9009265B2 (en) System and method for automatic transfer of data from one device to another
JP4349365B2 (en) Method of transmitting control information, the relay server, and the control device
EP2801181B1 (en) Consolidated data services apparatus and method
US7536709B2 (en) Access control apparatus
CN1898936B (en) Connected communication terminal, connecting communication terminal, session management server, and trigger server
CA2327847C (en) System for transmitting and verifying alarm signals
US20010032335A1 (en) Picture communications system and associated network services
CN102821109B (en) Method, associated equipment and system for realizing data sharing in instant communication application
CN101170523B (en) File transmission system, method and file forward decision server
CN1988489A (en) Intelligent system and method for monitoring house
CN102571726B (en) Multimedia data sharing method, system and server state determination
CN102664871B (en) A method for processing intelligent terminal address book
US8230488B2 (en) Network system, direct-access method, network household electrical appliance, and program
CN105408944A (en) System and method for scalable video cloud services
US8015253B1 (en) System and method for controlling inter-device media exchanges
CN101291429A (en) Network video monitoring method and system
US8301691B2 (en) Server apparatus, network system, data transfer method, and program
EP2053779A1 (en) A system and method for authenticating the accessing request for the home network
CN103098441A (en) Communications equipment
CN102368764B (en) For performing communication via multiple points of a method, system and client
CN103067340A (en) Authentication method for remote control network information domestic appliance, and system and internet domestic gateway
US20060173997A1 (en) Method and apparatus for remote management of a monitoring system over the internet
US9125049B2 (en) Configuring secure wireless networks

Legal Events

Date Code Title Description
C06 Publication
SE01