WO2013182088A1 - 一种通过Wi-Fi Direct的文件传输方法和装置 - Google Patents
一种通过Wi-Fi Direct的文件传输方法和装置 Download PDFInfo
- Publication number
- WO2013182088A1 WO2013182088A1 PCT/CN2013/077638 CN2013077638W WO2013182088A1 WO 2013182088 A1 WO2013182088 A1 WO 2013182088A1 CN 2013077638 W CN2013077638 W CN 2013077638W WO 2013182088 A1 WO2013182088 A1 WO 2013182088A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- transmitted
- receiving
- multimedia
- receiving end
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims description 18
- 230000003993 interaction Effects 0.000 claims description 4
- 238000012546 transfer Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000009365 direct transmission Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/18—Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Definitions
- Embodiments of the present invention relate to the field of file transmission, and in particular, to a method for file transmission by Wi-Fi Direct, an apparatus for implementing the above method, and a file transmission system.
- Wi-Fi Direct Wireless Fidelity
- mobile phones have become an important communication tool for people's daily lives.
- the increasing functionality of mobile phones provides the foundation for innovation in mobile multimedia applications.
- mobile phones in addition to voice calls, mobile phones also have mass storage capabilities and Wi-Fi Direct communication capabilities.
- Most mobile phones have tens of megabytes of storage space, and mobile phones can even reach 1G, 2G or larger by adding additional memory cards.
- Wi-Fi Direct technology enables direct interconnection of Wi-Fi devices.
- Products with the Wi-Fi CERTIFIED Wi-Fi Direct logo can be connected to each other without joining a traditional home, office or hotspot network.
- Wi-Fi Direct devices can be connected one-to-one or multiple devices at the same time.
- Wi-Fi Direct can exchange file data between mobile phones supporting Wi-Fi Direct technology.
- the Wi-Fi Direct transmission mode is that the sender first selects a file for transmission, and the receiver receives the file, after the file is transmitted. The recipient can open the file and browse the contents of the file.
- Embodiments of the present invention provide a file transmission method and apparatus by Wi-Fi Direct, to at least solve the problem that when a user receives a file using Wi-Fi Direct in the background art, the receiving end only opens the file completely or performs an opening. After the operation, you can know whether the file type is supported, which leads to inconvenient and very poor user experience.
- a method for sending a file by using Wi-Fi Direct includes: a sending end acquires a multimedia attribute of a file to be transmitted; and the sending end sends the acquired
- the multimedia attribute includes: the multimedia attribute includes: information for the receiving end to determine whether the file to be transmitted is supported.
- the step of sending the acquired multimedia attribute includes:
- the transmitting end encapsulates the multimedia attribute into a separate data packet and transmits the data packet.
- the step of sending the acquired multimedia attribute includes:
- the transmitting end carries the multimedia attribute of the file to be transmitted in the interaction data, and when the sending end interacts with the receiving end, the multimedia attribute is transmitted.
- a method for receiving a file by using Wi-Fi Direct includes: receiving, by a receiving end, information that carries a multimedia attribute of a file to be transmitted; Receiving the information carrying the multimedia attribute to determine whether the receiving end supports the type of the file to be transmitted.
- the method further includes:
- the receiving end prompts the user according to the determination result of the step of determining whether the receiving end supports the type of the file to be transmitted.
- the step of prompting the user includes:
- the receiving end does not support the type of the file to be transmitted, send a prompt to the user to select whether to continue the file receiving, and if the user chooses to continue receiving, the file to be transmitted is The transmission continues; if the user chooses not to continue receiving, the transmission operation of the file to be transmitted is terminated.
- the step of determining whether the receiving end supports the type of the file to be transmitted includes: checking a multimedia support capability list supported by the receiving end;
- the multimedia attribute of the file to be transmitted is in the list, indicating that the receiving end supports the type of the file to be transmitted;
- the multimedia attribute of the file to be transmitted is not in the list, it indicates that the receiving end does not support the type of the file to be transmitted.
- a file transmission method by using Wi-Fi Direct includes: an obtaining step of acquiring a multimedia attribute of a file to be transmitted; and a sending step of transmitting the multimedia attribute acquired in the obtaining step And receiving, receiving the information of the multimedia attribute of the file to be transmitted; and determining, by the information of the multimedia attribute received in the receiving step, whether the receiving end supports the type of the file to be transmitted.
- a file sending apparatus by Wi-Fi Direct including: an acquiring module, configured to: acquire a multimedia attribute of a file to be transmitted; and connect a sending module to the acquiring module, configured to: send the multimedia attribute acquired by the acquiring module to the receiving end; wherein the multimedia attribute includes: information for the receiving end to determine whether to support the file to be transmitted.
- a file receiving apparatus by Wi-Fi Direct including: a receiving module, configured to: receive a multimedia attribute carrying a file to be transmitted; and connect a judging module to the receiving module, configured to: determine, by using the information of the multimedia attribute that is received by the receiving module, whether the file receiving device supports the type of the file to be transmitted; wherein the multimedia attribute includes The determining module determines whether the information of the file to be transmitted is supported.
- the determining module is configured to: check whether a multimedia attribute of the file to be transmitted is in a multimedia capability list supported by the file receiving apparatus, and determine, according to the result of the determining, whether to continue receiving the file or prompting the user information.
- the device further includes:
- the prompting module is configured to: prompt the user according to the judgment result of the determining module.
- the sender sends the file multimedia attribute of the file to be transmitted to the receiving end, and the receiving end receives the file multimedia attribute of the file to be transmitted transmitted by the Wi-Fi Direct.
- the sending end informs the receiving end of the file multimedia attribute of the file to be transmitted in advance, and ensures that the receiving end can know the multimedia attribute of the file to be transmitted before receiving the file to be transmitted, and can determine whether the file type is supported by itself, and solves the problem.
- the receiving end can know whether the file type is supported only after the file is completely received or after the opening operation is performed, thereby causing inconvenient use and improving the user experience.
- FIG. 1 is a flowchart of a file sending method according to an embodiment of the present invention
- FIG. 2 is a flowchart of a file receiving method according to an embodiment of the present invention.
- FIG. 3 is a flow chart of a file transfer method according to an embodiment of the present invention.
- FIG. 4 is a block diagram showing the structure of a file transmitting apparatus according to an embodiment of the present invention.
- FIG. 5 is a structural block diagram of a file receiving apparatus according to an embodiment of the present invention.
- FIG. 6 is a block diagram showing the structure of a file transfer system according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a file sending method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
- Obtaining step S110 the sending end acquires a file multimedia attribute of the file to be transmitted
- the sending step S120 the sending end sends the file multimedia attribute of the file to be transmitted to the receiving end.
- the sending end may send the file multimedia attribute to the receiving end in multiple sending manners.
- the signaling or message interacting between the sending end and the receiving end carries the file multimedia attribute, and the multimedia attribute is attached to the existing one as a number of fields.
- An interactive protocol data unit PDU and transmitting the multimedia attribute when interacting; or defining a dedicated data packet between the transmitting end and the receiving end for transmitting, the data packet encapsulating the multimedia attribute.
- the multimedia attribute sent by the sending end is: After receiving the content, the receiving end can obtain corresponding information to determine whether it supports the file.
- the meaning of the support includes but is not limited to opening the operation and browsing the file content.
- multimedia properties may include (but are not limited to) the following: display resolution, length, video encoding, frame rate, and audio sample rate, encoding, etc.; for audio text
- multimedia attributes may include, but are not limited to, the following: bit rate, sampling rate, audio encoding, etc.; for picture information, media attributes may include, but are not limited to, the following: picture encoding format, picture type, and the like.
- FIG. 2 is a flowchart of a file receiving method according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
- Receiving step S210 the receiving end receives the information of the multimedia attribute of the file carrying the file to be transmitted transmitted by the Wi-Fi Direct;
- the receiving end determines whether the multimedia attribute of the file is supported by the receiving end, that is, whether the receiving end supports the type of the file to be transmitted, by receiving the information of the multimedia attribute received in the receiving step.
- the method further includes: a prompting step, and prompting the user according to the judgment result of the determining step.
- the receiving end gives the user a corresponding prompt according to the result of the determination, and uses the following method:
- the receiving end receives the multimedia attribute of the file to be transmitted transmitted by the Wi-Fi Direct, checks the multimedia capability list supported by the receiving device, and checks whether the multimedia attribute of the file is In the list of multimedia support capabilities; if the receiver supports the file type, the file transfer continues; if not, the receiver does not support the file type, the user is prompted "the file type is not supported by the receiver” , Continue to receive the file? ", give the option to the user.
- FIG. 3 is a flowchart of a file transmission method according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
- the sending end sends the file multimedia attribute of the file to be transmitted to the receiving end.
- the receiving end receives the PDU data;
- the receiving end determines whether the multimedia attribute of the received file is supported by itself, which can be implemented by retrieving its own multimedia support capability list.
- the prompting step S340 makes a corresponding prompt to the user. If the file type is supported, proceed to step S341 to continue the transmission of the file, so that the receiving end normally receives the file; if the file type is not supported, proceed to step S342 to give a user-related prompt: "The file type is not Supported by the receiving end, whether to continue the file receiving? ", determined by the user, if the selection is continued, proceed to step S341, continue the file transmission, complete the file receiving; if no (ie do not continue), proceed to step S343 , discarding the file reception, terminating the file transfer operation, and the above transfer process ends.
- Embodiments of the present invention provide a file transmitting apparatus that can be used to implement the above file transmitting method.
- 4 is a block diagram showing the structure of a file transmitting apparatus according to an embodiment of the present invention.
- the file transmitting apparatus 400 includes an obtaining module 410 and a transmitting module 420.
- the obtaining module 410 is configured to: obtain a file multimedia attribute of the file to be sent; and send to the sending module 420 of the obtaining module, configured to: send the file multimedia attribute of the file to be transmitted to the receiving end.
- the multimedia attribute includes: determining whether the receiving end supports the information of the file to be transmitted.
- FIG. 5 is a structural block diagram of a file receiving apparatus 500, including a receiving module 510 and a determining module 520, according to an embodiment of the present invention.
- the receiving module 510 is configured to: receive the file multimedia attribute of the file to be transmitted transmitted by the current Wi-Fi Direct; and the determining module 520 connected to the receiving module, configured to: receive the multimedia attribute received by the receiving module.
- the information is used to determine whether the file receiving device supports the type of the file to be transmitted.
- the multimedia attribute includes: information for the determining module to determine whether to support the file to be transmitted.
- the determining module is configured to: check whether the multimedia attribute of the file to be transmitted is in the multimedia capability list supported by the file receiving device, and determine whether to continue receiving the file or prompting the user for the information according to the result of the determining. Therefore, the judging module can determine whether to continue the file receiving process according to the judgment result, or use the prompting module (not shown) to feed back the corresponding prompt to the user.
- FIG. 6 A block diagram of a file transfer system according to an embodiment of the present invention, including a file sending device 610 and a file receiving device 620, wherein the file sending device 610 includes an obtaining module 611 and a sending module 612, and the file receiving device 620 includes a receiving module 621 and Judgment module 622.
- the obtaining module 611 is configured to: obtain a file multimedia attribute of the file to be sent; the sending module 612 is connected to the obtaining module 611, and configured to: send the file multimedia attribute of the file to be transmitted to the receiving end.
- the multimedia attribute includes: determining whether the receiving end supports the information of the file to be transmitted.
- the receiving module 621 is configured to: receive the multimedia attribute of the file carrying the file to be transmitted transmitted by the current Wi-Fi Direct; and connect to the determining module 622 of the receiving module 621, which is configured to: determine the file Whether the multimedia attribute is supported by the receiving end; wherein, the multimedia attribute includes: determining whether the receiving end supports the information of the file to be transmitted.
- the determining module 622 checks whether the multimedia attribute of the file to be transmitted is in the multimedia capability list supported by the receiving end, and determines whether to continue receiving the file or prompting the user to prompt the information according to the result of the determining. Therefore, the judging module can determine whether to continue the file receiving process according to the judgment result, or use the prompting module (not shown) to feed back the corresponding prompt to the user.
- the method and apparatus provided by the embodiments of the present invention have achieved significant progress compared with the related technologies, and can determine whether the multimedia attribute of the file is supported by the receiving end before the file is received by the Wi-Fi Direct, thereby avoiding the user.
- the terminal can know whether the file type is supported only after the file is completely received or after the opening operation is performed, resulting in inconvenient and extremely poor user experience.
- the receiving end can know whether the file type is supported only after the file is completely received or after the opening operation is performed, thereby causing the problem of inconvenient use and improving the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
提供了一种通过Wi-Fi Direct的文件传输方法和装置,该方法包括:获取步骤,获取待传输文件的多媒体属性;发送步骤,发送在获取步骤中所获取的多媒体属性;接收步骤,接收待传输文件的多媒体属性的信息;判断步骤,通过在接收步骤中所接收到的多媒体属性的信息,来判断接收端是否支持所述待传输文件的类型。本发明实施例解决了接收端只有在完全接收该文件后或执行打开操作后,才能知道是否支持该文件类型,从而导致使用不方便的问题,提高了用户的体验感受。
Description
一种通过 Wi-Fi Direct的文件传输方法和装置
技术领域
本发明实施例涉及文件传输领域, 且特别涉及一种通过 Wi-Fi Direct进 行文件传输的方法, 实现上述方法的装置, 以及文件传输系统。
背景技术
随着智能手机的逐渐普及以及 Wi-Fi ( Wireless Fidelity, 无线保真)技术 的不断发展, 手机价格逐渐下降, 功能逐渐强大, 越来越多的手机具备了大 容量存储的功能和 Wi-Fi Direct ( Wi-Fi直连) 的通信功能, 手机成为人们日 常生活的重要通信工具。 手机的功能日益增强, 为手机多媒体应用的创新提 供了基础。 目前, 手机除了语音通话之外, 还拥有大容量存储功能和 Wi-Fi Direct 的通信功能。 大部分手机都拥有几十兆的存储空间, 而手机通过增加 额外的存储卡后, 存储空间甚至可以达到 1G、 2G或是更大。
Wi-Fi Direct 技术能够实现 Wi-Fi 设备的直接互联。 带有 Wi-Fi CERTIFIED Wi-Fi Direct标志的产品可以在不加入传统的家庭、 办公或热点 网络的情况下互相连接。 利用这种技术, 手机、 相机、 打印机、 PC与游戏设 备将能够互相直接连接, 实现内容的共享。 Wi-Fi Direct设备能够实现一对一 连接, 也可同时连接多部设备。
支持 Wi-Fi Direct技术的手机之间可通过 Wi-Fi Direct进行文件数据的交 换, 而目前 Wi-Fi Direct传输模式是发送方首先选取文件进行发送, 接收方 接收该文件, 待文件传输完毕后, 接收方可以打开该文件, 浏览该文件的内 容。
然而, 当所传输的文件的多媒体属性不被接收方所支持, 也就是接收方 最终无法打开该文件时, 那么之前所做的工作显示是白白浪费, 比如对方传 输了一个 500M的视频文件, 在经历了比较长时间的文件传输操作后, 接收 方选择打开该文件进行视频浏览时, 却被提示该文件不是所支持的类型, 进 而无法打开。 这种操作方法在用户体验上显然是比较差的。
针对相关技术中用户使用 Wi-Fi Direct接收文件时, 终端只有在完全接
收该文件后或执行打开操作后, 才能知道是否支持该文件类型, 从而导致使 用不方便和极差的用户体验的问题, 目前尚未提出有效的解决方案。
发明内容
本发明的实施例提供了一种通过 Wi-Fi Direct的文件传输方法和装置, 以至少解决背景技术中的用户使用 Wi-Fi Direct接收文件时, 接收端只有在 完全接收该文件后或执行打开操作后, 才能知道是否支持该文件类型, 从而 导致使用不方便和极差的用户体验的问题。
根据本发明实施例的一个方面, 提供了一种通过无线保真直连(Wi-Fi Direct )的文件发送方法, 包括: 发送端获取待传输文件的多媒体属性; 所述 发送端发送所述获取的多媒体属性; 其中, 所述多媒体属性包括: 供接收端 判断是否支持所述待传输文件的信息。
可选地, 所述发送所述获取的多媒体属性的步骤包括:
所述发送端将所述多媒体属性封装到独立的数据包中, 并发送所述数据 包。
可选地, 所述发送所述获取的多媒体属性的步骤包括:
所述发送端在交互数据中携带所述待传输文件的多媒体属性, 当所述发 送端与所述接收端进行交互时, 传输所述多媒体属性。
根据本发明实施例的另一个方面,提供了一种通过无线保真直连 ( Wi-Fi Direct )的文件接收方法, 包括: 接收端接收携带待传输文件的多媒体属性的 信息; 所述接收端通过接收到的所述携带多媒体属性的信息来判断所述接收 端是否支持所述待传输文件的类型。
可选地, 所述方法还包括:
所述接收端根据所述判断接收端是否支持所述待传输文件的类型的步骤 的判断结果, 提示用户。
可选地, 所述提示用户的步骤包括:
如果所述接收端支持所述待传输文件的类型, 则所述待传输文件的传输 继续进行;
如果所述接收端不支持所述待传输文件的类型, 则向所述用户发出选择 是否继续进行文件接收的提示, 若用户选择继续接收, 则所述待传输文件的
传输继续进行; 若用户选择不继续接收,则终止所述待传输文件的传输操作。 可选地, 所述判断接收端是否支持所述待传输文件的类型的步骤包括: 检查所述接收端所支持的多媒体支持能力列表;
如果所述待传输文件的多媒体属性在所述列表中, 表明所述接收端支持 所述待传输文件的类型;
如果所述待传输文件的多媒体属性不在所述列表中, 表明所述接收端不 支持所述待传输文件的类型。
根据本发明实施例的再一个方面, 提供了一种通过 Wi-Fi Direct的文件 传输方法, 包括: 获取步骤, 获取待传输文件的多媒体属性; 发送步骤, 发 送在获取步骤中所获取的多媒体属性; 接收步骤, 接收待传输文件的多媒体 属性的信息; 判断步骤, 通过在接收步骤中所接收到的多媒体属性的信息, 来判断接收端是否支持所述待传输文件的类型。
同时, 根据本发明实施例的一个方面, 提供了一种通过无线保真直连 ( Wi-Fi Direct )的文件发送装置, 包括: 获取模块, 其设置成: 获取待传输 文件的多媒体属性; 以及连接至所述获取模块的发送模块, 其设置成: 将所 述获取模块所获取的多媒体属性发送至接收端; 其中,所述多媒体属性包括: 供接收端判断是否支持所述待传输文件的信息。
根据本发明实施例的另一个方面,提供了一种通过无线保真直连 ( Wi-Fi Direct )的文件接收装置, 包括: 接收模块, 其设置成: 接收携带待传输文件 的多媒体属性; 以及连接至所述接收模块的判断模块, 其设置成: 通过所述 接收模块接收到的携带多媒体属性的信息来判断所述文件接收装置是否支持 所述待传输文件的类型; 其中, 所述多媒体属性包括: 供所述判断模块判断 是否支持所述待传输文件的信息。
可选地, 所述判断模块是设置成: 检查所述待传输文件的多媒体属性是 否在所述文件接收装置所支持的多媒体能力列表中, 根据判断的结果, 确定 是否继续接收文件或给用户提示信息。
可选地, 所述装置还包括:
提示模块, 其设置为: 根据所述判断模块的判断结果, 提示用户。
通过本发明的实施例, 发送端将待传输文件的文件多媒体属性发送至接 收端, 接收端接收本次 Wi-Fi Direct传输的待传输文件的文件多媒体属性。 使得发送端提前告知接收端待传输文件的文件多媒体属性, 保证接收端在接 收待传输文件前就能够获知待传输文件的文件多媒体属性, 进而可以判断出 该文件类型是否为自身所支持, 解决了接收端只有在完全接收该文件后或执 行打开操作后,才能知道是否支持该文件类型,从而导致使用不方便的问题, 提高了用户的体验感受。
附图概述
图 1是根据本发明实施例的文件发送方法的流程图;
图 2是根据本发明实施例的文件接收方法的流程图;
图 3是根据本发明实施例的文件传输方法的流程图;
图 4是根据本发明实施例的文件发送装置的结构框图;
图 5是根据本发明实施例的文件接收装置的结构框图;
图 6是根据本发明实施例的文件传输系统的结构框图。
本发明的较佳实施方式
本发明的实施例提供了一种文件发送方法, 图 1是根据本发明实施例的 文件发送方法的流程图, 如图 1所示, 包括如下的步骤:
获取步骤 S110, 发送端获取待传输文件的文件多媒体属性;
发送步骤 S120, 发送端将待传输文件的文件多媒体属性发送至接收端。 发送端将文件多媒体属性发送至接收端可以有多种发送方式, 例如, 在 发送端与接收端交互的信令或消息中携带文件多媒体属性 , 将多媒体属性作 为若干个字段附加在已有的任一交互用的协议数据单位 PDU中,并且在进行 交互时, 传输所述多媒体属性; 或者在发送端与接收端间定义专用数据包来 进行发送, 该数据包中封装该多媒体属性。
发送端发送的多媒体属性为: 接收端在接收到该信息内容后, 能够获取 到相应的信息来判断自身是否支持该文件, 这里的支持的含义包括但不限于 打开操作并浏览该文件内容。
例如对于视频文件, 多媒体属性可能包括(但不限于)如下内容: 显示 分辨率、 长度、 视频编码、 帧率, 以及音频的釆样率、 编码等; 对于音频文
件, 多媒体属性可能包括(但不限于)如下内容: 比特率、 釆样率、 音频编 码等; 对于图片信息, 媒体属性可能包括(但不限于)如下内容: 图片编码 格式、 图片类型等。
不同终端多媒体支持能力是存在差异的 , 对是否支持多媒体文件的判断 上也是存在差异的, 故在具体实现方面, 凡是通过先传输多媒体属性以让接 收端能够判断是否支持该文件的方式都可以纳入本发明的精神, 而不论具体 发送的是哪些多媒体属性。
本发明的实施例还提供了一种文件接收方法, 图 2是根据本发明实施例 的文件接收方法的流程图, 如图 2所示, 包括如下的步骤:
接收步骤 S210, 接收端接收本次 Wi-Fi Direct传输的携带待传输文件的 文件多媒体属性的信息;
判断步骤 S220, 通过在接收步骤中所接收到的携带多媒体属性的信息, 接收端判断该文件的多媒体属性是否为接收端所支持, 即接收端是否支持待 传输文件的类型。
在上述文件的接收方法中, 还包括: 提示步骤, 根据判断步骤的判断结 果, 给用户相应的提示。
接收端根据判定的结果给用户相应的提示, 使用如下办法: 接收端接收 本次 Wi-Fi Direct传输的待传输文件的文件多媒体属性, 检查自身所支持的 多媒体能力列表, 看该文件多媒体属性是否在多媒体支持能力列表中; 如果 在, 即接收端支持该文件类型, 则文件传输继续进行; 如果不在, 即接收端 不支持该文件类型, 则向用户提示 "该文件类型不被接收端所支持,是否继续 进行文件接收? ", 将选择权交到用户手上。
本发明的实施例还提供了一种文件传输方法, 图 3是根据本发明实施例 的文件传输方法的流程图, 如图 3所示, 包括如下的步骤:
获取步骤 S310, 发送端获取待传输文件的文件多媒体属性。 具体而言, 釆用将其附加在已存在的交互用的协议数据单位 PDU中 ,或独立封装打包成 一个专用的数据包, 例如, 交互用的协议数据单位 PDU中。 其中, 所述多媒 体属性包括: 用于判断接收端是否支持所述待传输文件的信息。
发送步骤 S320, 发送端将待传输文件的文件多媒体属性发送至接收端,
接收端接收上述 PDU数据;
判断步骤 S330,接收端判断所接收的文件的多媒体属性是否为自身所支 持, 这可以通过检索自身的多媒体支持能力列表来实现。
提示步骤 S340, 根据判断步骤的判断结果, 向用户做出相应提示。 若支 持该文件类型, 则进行步骤 S341 , 继续文件的传输, 从而使得接收端正常接 收到该文件; 若不支持该文件类型, 则进行步骤 S342, 给出用户相关提示: "该文件类型不被接收端所支持, 是否继续进行文件接收? ", 由用户进行确 定, 若选择继续, 则进行步骤 S341 , 继续文件的传输, 完成文件的接收; 若 选择否 (即不继续), 则进行步骤 S343 ,放弃文件接收, 终止文件传输操作, 从而上述传输流程结束。
本发明的实施例提供了一种文件发送装置, 该装置可以用于实现上述文 件发送方法。 图 4 是根据本发明实施例的文件发送装置的结构框图, 文件发 送装置 400包括获取模块 410和发送模块 420。 获取模块 410 , 其设置成: 获 取待发送文件的文件多媒体属性; 连接至获取模块的发送模块 420, 其设置 成: 将待传输文件的文件多媒体属性发送至接收端。 其中, 所述多媒体属性 包括: 判断接收端是否支持所述待传输文件的信息。
本发明实施例提供了一种文件接收装置, 该装置可以用于实现上述文件 接收方法。 图 5是根据本发明实施例的文件接收装置 500的结构框图, 包括 接收模块 510和判断模块 520。接收模块 510,其设置成:接收本次 Wi-Fi Direct 传输的待传输文件的文件多媒体属性; 连接至接收模块的判断模块 520, 其 设置成: 通过所述接收模块接收到的携带多媒体属性的信息来判断文件接收 装置是否支持所述待传输文件的类型; 其中, 所述多媒体属性包括: 供判断 模块判断是否支持所述待传输文件的信息。
上述判断模块是设置成: 检查待传输文件的多媒体属性是否在文件接收 装置所支持的多媒体能力列表中, 根据判断的结果, 确定是否继续接收文件 或给用户提示信息。 因此, 判断模块能根据判断结果确定是继续进行文件的 接收过程, 还是利用提示模块(未图示)来向用户反馈相应的提示。
本发明的实施例还提供了一种文件传输系统, 该系统包括文件发送装置 和文件接收装置, 二者通过 Wi-Fi Direct的无线通信手段进行文件传输, 图 6
是根据本发明实施例的文件传输系统的结构框图, 包括文件发送装置 610和 文件接收装置 620, 其中, 文件发送装置 610包括获取模块 611和发送模块 612, 而文件接收装置 620包括接收模块 621和判断模块 622。
对于文件发送装置 610而言, 获取模块 611 , 其设置成: 获取待发送文 件的文件多媒体属性; 发送模块 612, 连接至获取模块 611 , 其设置成: 将待 传输文件的文件多媒体属性发送至接收端。 其中, 所述多媒体属性包括: 判 断接收端是否支持所述待传输文件的信息。
对于文件接收装置 620而言, 接收模块 621 , 其设置成: 接收本次 Wi-Fi Direct传输的携带待传输文件的文件多媒体属性; 连接至接收模块 621的判 断模块 622, 其设置成: 判断文件多媒体属性是否为接收端所支持; 其中, 所述多媒体属性包括: 判断接收端是否支持所述待传输文件的信息。
上述判断模块 622, 检查待传输文件的多媒体属性是否在接收端所支持 的多媒体能力列表中, 根据判断的结果, 确定是否继续接收文件或给用户提 示信息。 因此, 判断模块能根据判断结果确定是继续进行文件的接收过程, 还是利用提示模块(未图示) 来向用户反馈相应的提示。
釆用本发明实施例提供的方法和装置, 与相关技术相比, 取得了明显进 步, 能够在文件通过 Wi-Fi Direct接收前, 提前判断该文件多媒体属性是否 为接收端所支持, 避免了用户使用 Wi-Fi Direct接收文件时, 终端只有在完 全接收该文件后或执行打开操作后, 才能知道是否支持该文件类型, 从而导 致使用不方便和极差的用户体验的问题。
以上仅为本发明的优选实施例而已, 并不限制本发明, 对于本领域的普 通技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围 之内。
工业实用 4生
通过本发明的实施例, 解决了接收端只有在完全接收该文件后或执行打 开操作后, 才能知道是否支持该文件类型, 从而导致使用不方便的问题, 提 高了用户的体验感受。
Claims
1. 一种通过无线保真直连( Wi-Fi Direct ) 的文件发送方法, 包括: 发送端获取待传输文件的多媒体属性;
所述发送端发送所述获取的多媒体属性;
其中, 所述多媒体属性包括:
供接收端判断是否支持所述待传输文件的信息。
2. 根据权利要求 1所述的文件发送方法, 其中, 所述发送所述获取的多 媒体属性的步骤包括:
所述发送端将所述多媒体属性封装到独立的数据包中, 并发送所述数据 包。
3. 根据权利要求 1所述的文件发送方法, 其中, 所述发送所述获取的多 媒体属性的步骤包括:
所述发送端在交互数据中携带所述待传输文件的多媒体属性, 当所述发 送端与所述接收端进行交互时, 传输所述多媒体属性。
4. 一种通过无线保真直连(Wi-Fi Direct ) 的文件接收方法, 包括: 接收端接收携带待传输文件的多媒体属性的信息;
所述接收端通过接收到的所述携带多媒体属性的信息来判断所述接收端 是否支持所述待传输文件的类型。
5. 根据权利要求 4所述的文件接收方法, 其还包括:
所述接收端根据所述判断接收端是否支持所述待传输文件的类型的步骤 的判断结果, 提示用户。
6. 根据权利要求 5所述的文件接收方法, 其中, 所述提示用户的步骤包 括:
如果所述接收端支持所述待传输文件的类型, 则所述待传输文件的传输 继续进行;
如果所述接收端不支持所述待传输文件的类型, 则向所述用户发出选择 是否继续进行文件接收的提示, 若用户选择继续接收, 则所述待传输文件的 传输继续进行; 若用户选择不继续接收,则终止所述待传输文件的传输操作。
7. 根据权利要求 4所述的文件接收方法, 其中, 所述判断接收端是否支 持所述待传输文件的类型的步骤包括:
检查所述接收端所支持的多媒体支持能力列表;
如果所述待传输文件的多媒体属性在所述列表中, 表明所述接收端支持 所述待传输文件的类型;
如果所述待传输文件的多媒体属性不在所述列表中, 表明所述接收端不 支持所述待传输文件的类型。
8. 一种通过无线保真直连( Wi-Fi Direct ) 的文件发送装置, 包括: 获取模块, 其设置成: 获取待传输文件的多媒体属性; 以及
连接至所述获取模块的发送模块, 其设置成: 将所述获取模块所获取的 多媒体属性发送至接收端;
其中, 所述多媒体属性包括:
供接收端判断是否支持所述待传输文件的信息。
9. 一种通过无线保真直连( Wi-Fi Direct ) 的文件接收装置, 包括: 接收模块, 其设置成: 接收携带待传输文件的多媒体属性的信息; 以及 连接至所述接收模块的判断模块, 其设置成: 通过所述接收模块接收到 的携带多媒体属性的信息来判断所述文件接收装置是否支持所述待传输文件 的类型;
其中, 所述多媒体属性包括:
供所述判断模块判断是否支持所述待传输文件的信息。
10. 根据权利要求 9所述的文件接收装置, 其中:
所述判断模块是设置成: 检查所述待传输文件的多媒体属性是否在所述 文件接收装置所支持的多媒体能力列表中, 根据判断的结果, 确定是否继续 接收文件或给用户提示信息。
11. 根据权利要求 10所述的文件接收装置, 其中, 还包括:
提示模块, 其设置为: 根据所述判断模块的判断结果, 提示用户。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP13801088.9A EP2903329B1 (en) | 2012-10-30 | 2013-06-21 | File transferring method and device through wi-fi direct |
US14/439,766 US10250669B2 (en) | 2012-10-30 | 2013-06-21 | File transferring method an device through Wi-Fi direct |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210424002.4A CN103795747A (zh) | 2012-10-30 | 2012-10-30 | 一种通过Wi-Fi Direct的文件传输方法和装置 |
CN201210424002.4 | 2012-10-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013182088A1 true WO2013182088A1 (zh) | 2013-12-12 |
Family
ID=49711398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/077638 WO2013182088A1 (zh) | 2012-10-30 | 2013-06-21 | 一种通过Wi-Fi Direct的文件传输方法和装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US10250669B2 (zh) |
EP (1) | EP2903329B1 (zh) |
CN (1) | CN103795747A (zh) |
WO (1) | WO2013182088A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811537A (zh) * | 2015-03-26 | 2015-07-29 | 努比亚技术有限公司 | 一种文件接收方法及装置 |
CN105357291A (zh) * | 2015-10-27 | 2016-02-24 | 惠州Tcl移动通信有限公司 | 一种移动终端通过蓝牙接收文件的方法及系统 |
US10791172B2 (en) | 2016-07-22 | 2020-09-29 | Tinker Pte. Ltd. | Systems and methods for interacting with nearby people and devices |
JP2018085069A (ja) * | 2016-11-25 | 2018-05-31 | 富士通株式会社 | 情報受信端末、情報配信システム、表示方法および表示プログラム |
CN115333934B (zh) * | 2022-08-15 | 2024-03-08 | 上海联影医疗科技股份有限公司 | 医学图像传输方法、电子设备和系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222521A (zh) * | 2008-01-21 | 2008-07-16 | 中兴通讯股份有限公司 | 基于会话发起协议的文件传输方法 |
WO2012115385A2 (en) * | 2011-02-21 | 2012-08-30 | Samsung Electronics Co., Ltd. | Apparatus and method for providing universal plug and play service based on wi-fi direct connection in portable terminal |
CN102707880A (zh) * | 2012-04-24 | 2012-10-03 | 华为终端有限公司 | 文件传输的方法及终端 |
CN102711175A (zh) * | 2012-05-16 | 2012-10-03 | 中兴通讯股份有限公司南京分公司 | 数据传输方法及装置 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005109904A2 (en) * | 2004-04-30 | 2005-11-17 | Vulcan, Inc. | Maintaining a graphical user interface state that is based on a selected type of content |
US20070266099A1 (en) * | 2006-03-28 | 2007-11-15 | Jyh-Chun Wang | Method and wireless communication apparatus for transmitting and receiving contact information |
CN102710872B (zh) | 2008-08-15 | 2016-03-30 | 华为技术有限公司 | 接收和下发媒体业务的方法、装置和系统及终端、服务器 |
US8086611B2 (en) * | 2008-11-18 | 2011-12-27 | At&T Intellectual Property I, L.P. | Parametric analysis of media metadata |
US8175584B2 (en) * | 2009-09-14 | 2012-05-08 | Texas Instruments Incorporated | System and method to facilitate downloading data at a mobile wireless device |
CN102668647B (zh) | 2009-11-17 | 2015-11-25 | 三星电子株式会社 | 用于调查在WiFi直连网络中的WiFi显示服务的方法和装置 |
US8789131B2 (en) * | 2010-05-14 | 2014-07-22 | Lg Electronics Inc. | Electronic device and method of sharing contents thereof with other devices |
US20120036048A1 (en) * | 2010-08-06 | 2012-02-09 | Diy Media, Inc. | System and method for distributing multimedia content |
US8510461B2 (en) * | 2011-09-12 | 2013-08-13 | Microsoft Corporation | Network selection for streaming media among multiple devices |
US20140219088A1 (en) * | 2011-09-30 | 2014-08-07 | Ozgur Oyman | Quality of experience enhancements over wireless networks |
US20140282636A1 (en) * | 2011-10-24 | 2014-09-18 | National Ict Australia Limited | Mobile Content Delivery System with Recommendation-Based Pre-Fetching |
CN102497221B (zh) * | 2011-12-13 | 2014-12-31 | 华为终端有限公司 | 终端之间传输数据的方法和终端 |
US20130204962A1 (en) * | 2012-02-02 | 2013-08-08 | Texas Instruments Incorporated | Network and peripheral interface circuits, systems and processes |
EP2696643B1 (en) | 2012-08-08 | 2020-09-30 | Samsung Electronics Co., Ltd | Apparatus and method of connecting service, according to user intention |
-
2012
- 2012-10-30 CN CN201210424002.4A patent/CN103795747A/zh active Pending
-
2013
- 2013-06-21 US US14/439,766 patent/US10250669B2/en active Active
- 2013-06-21 WO PCT/CN2013/077638 patent/WO2013182088A1/zh active Application Filing
- 2013-06-21 EP EP13801088.9A patent/EP2903329B1/en not_active Not-in-force
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222521A (zh) * | 2008-01-21 | 2008-07-16 | 中兴通讯股份有限公司 | 基于会话发起协议的文件传输方法 |
WO2012115385A2 (en) * | 2011-02-21 | 2012-08-30 | Samsung Electronics Co., Ltd. | Apparatus and method for providing universal plug and play service based on wi-fi direct connection in portable terminal |
CN102707880A (zh) * | 2012-04-24 | 2012-10-03 | 华为终端有限公司 | 文件传输的方法及终端 |
CN102711175A (zh) * | 2012-05-16 | 2012-10-03 | 中兴通讯股份有限公司南京分公司 | 数据传输方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
EP2903329A4 (en) | 2015-10-28 |
US10250669B2 (en) | 2019-04-02 |
US20150295995A1 (en) | 2015-10-15 |
EP2903329B1 (en) | 2018-11-21 |
CN103795747A (zh) | 2014-05-14 |
EP2903329A1 (en) | 2015-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014036957A1 (zh) | 设备间共享内容的方法、设备及系统 | |
CN104584490B (zh) | 数据发送方法及装置 | |
US10477030B2 (en) | LTE cellular mobile network access system and corresponding communication method | |
WO2009069989A2 (en) | Method and appratus for sharing data in near field communication network | |
WO2018120390A1 (zh) | 一种通信建立的方法及终端 | |
WO2013182088A1 (zh) | 一种通过Wi-Fi Direct的文件传输方法和装置 | |
WO2019015427A1 (zh) | 一种数据传输方法、装置、终端及计算机可读存储介质 | |
WO2011017931A1 (zh) | 一种蓝牙移动终端及其配对绑定的方法 | |
WO2014183267A1 (zh) | 消息发送方法、消息阅读通知方法、消息接收方法及装置 | |
WO2007056928A1 (fr) | Procede et systeme d'adaptation pour terminal de messagerie mobile | |
CN108810123A (zh) | 开通移动蜂窝网络服务的方法和设备 | |
JP4837038B2 (ja) | プル型デジタル情報配信機能を備えた通信端末及びプル型デジタル情報配信方法 | |
WO2012065394A1 (zh) | 一种彩信群发的方法及装置 | |
CN103634172A (zh) | 一种多终端协同信息处理方法、装置及系统 | |
CN105681260A (zh) | 传输云存储文件的方法、融合通信平台、发送端及系统 | |
WO2012083612A1 (zh) | 一种视频通话切换方法、移动终端和系统 | |
CN109691171A (zh) | 反射业务质量配置的方法及装置和信息发送方法及装置 | |
WO2014036933A1 (zh) | 一种设备间共享内容的方法、设备及系统 | |
WO2011140754A1 (zh) | 无线优盘的实现方法及系统 | |
CN101227490A (zh) | 网络存储方法及系统 | |
WO2011017960A1 (zh) | 通话记录同步方法及终端 | |
CN103684992B (zh) | 家庭网关、终端和数据共享方法 | |
WO2011009339A1 (zh) | 一种数据传输的方法、系统和装置 | |
JP4322905B2 (ja) | 通信端末装置及びファクシミリ通信方法 | |
WO2014180233A1 (zh) | 一种实现资源共享的方法、装置及终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13801088 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2013801088 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14439766 Country of ref document: US |