CN105101056A - File transmission method and mobile terminal - Google Patents

File transmission method and mobile terminal Download PDF

Info

Publication number
CN105101056A
CN105101056A CN201510401554.7A CN201510401554A CN105101056A CN 105101056 A CN105101056 A CN 105101056A CN 201510401554 A CN201510401554 A CN 201510401554A CN 105101056 A CN105101056 A CN 105101056A
Authority
CN
China
Prior art keywords
mobile terminal
vibration
parameters
corresponding
detected
Prior art date
Application number
CN201510401554.7A
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 CN201510401554.7A priority Critical patent/CN105101056A/en
Publication of CN105101056A publication Critical patent/CN105101056A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

Embodiments of the invention provide a file transmission method and a mobile terminal. The method can comprise: opening a corresponding folder according to a detected shaking parameter; determining a file to be sent from the corresponding folder according to a selection operation of a user; detecting the vibration parameter of a contact object, and establishing a wireless communication connection with another mobile terminal according to the detected vibration parameter, wherein the other mobile terminal is in contact with the contact object; and sending the file to be sent to the other mobile terminal through the wireless communication connection. By adopting the file transmission method in the embodiments of the invention, the user can open the folder of the mobile terminal through a simple shaking operation and only needs to strike or beat on an object touching both of the mobile terminal and the other mobile terminal after selecting the file, to make the object vibrate, the mobile terminal can automatically establish connection with the other mobile terminal according to the vibration parameter, and the user does not need to input complex operations, so that the file transmission efficiency and interest can be improved.

Description

一种文件传输的方法及移动终端 A method and mobile terminal for file transfer

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及一种文件传输的方法及移动终端。 [0001] The present invention relates to communication technologies, particularly to a method and mobile terminal for file transfer.

背景技术 Background technique

[0002] 随着电子技术和终端技术的发展,市场上出现了各种各样的终端设备,例如手机、平板电脑、笔记本电脑、智能手环等。 [0002] With the development of electronic technology and terminal technology, there has been a wide variety of terminal devices on the market, such as mobile phones, tablet computers, laptops, smart hand ring. 利用这些终端设备,用户不仅可以工作、娱乐,还可以和其他用户进行文件传输、语音聊天、视频聊天等各种通信活动。 With these terminal devices, the user can not only work, play, can also file transfer, voice chat, video chat and other communications activity and other users.

[0003] 当两台终端设备距离较近且需要进行文件传输时,现有技术通常使用蓝牙方式进行文件传输。 [0003] When the two are close to the terminal apparatus and the file transfer is required, the prior art typically used Bluetooth file transfer mode. 然而蓝牙传输方式需要两台终端设备都打开蓝牙并搜索对方的蓝牙信号,双方用户手动输入约定的验证信息,验证通过后发送方才能向接收方传输文件。 However, Bluetooth approach requires two terminal devices to turn on Bluetooth and search for each other's Bluetooth signal, the user manually input the two sides agreed verification information to verify the sender to the recipient to transfer files after the adoption. 可见目前的蓝牙传输需要通过繁琐的操作过程来建立无线通信连接,用户体验度较低。 See the current Bluetooth transmission needs to establish a wireless communication connection through the tedious process of operation, low user experience.

发明内容 SUMMARY

[0004] 本发明实施例提供一种文件传输的方法及移动终端,可提高文件传输的效率和趣味性。 The method and mobile terminal according [0004] The present invention provides a file transfer efficiency can be improved and interesting file transfer.

[0005] 本发明实施例第一方面提供一种文件传输的方法,可包括: [0005] to provide a file transfer method of the first aspect of the present invention embodiment, may include:

[0006] 根据检测到的晃动参数打开对应的文件夹; [0006] The open folder corresponding to the detected fluctuation of the parameters;

[0007] 根据用户的选择操作从所述对应的文件夹中确定待发送文件; [0007] determined to be sent from the corresponding file folder in accordance with the selection operation of the user;

[0008] 检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,其中所述另一移动终端与所述所接触物体相接触; [0008] The detection of exposure to vibration parameters of the object, and the detected vibration parameters connection establishing radio communication with another mobile terminal, wherein the mobile terminal further contacted with the object in contact;

[0009] 通过所述无线通信连接向所述另一移动终端发送所述待发送文件。 [0009] connected to the transmission file to be transmitted to the other mobile terminal through the wireless communication.

[0010] 结合第一方面,在第一种可行的实现方式中,所述根据检测到的晃动参数打开对应的文件夹之前,所述方法还包括: [0010] with the first aspect, in a first possible implementation, according to the fluctuation parameter detected before the corresponding folder is opened, the method further comprising:

[0011] 为至少一个文件夹设置对应的晃动参数,所述晃动参数包括晃动方向、晃动幅度或晃动频率中至少一种; [0011] at least one folder is provided corresponding to the fluctuation parameter, said shaking comprises shaking a direction parameter, shaking or vibration amplitude of at least one frequency;

[0012] 所述根据检测到的晃动参数打开对应的文件夹,包括: [0012] According to the fluctuation parameter corresponding to the detected open folder, comprising:

[0013] 根据检测到的晃动方向、晃动幅度或晃动频率中至少一种,确定对应的文件夹; [0013] According to the detected shake direction, shaking or vibration amplitude of at least one frequency is determined corresponding to the folder;

[0014] 打开所述对应的文件夹。 [0014] open file corresponding to the clip.

[0015] 结合第一方面,在第二种可行的实现方式中,所述根据检测到的振动参数与另一移动终端建立无线通信连接,包括: [0015] with the first aspect, in a second possible implementation, according to the detected vibration parameters to establish a wireless communication connection with another mobile terminal comprising:

[0016] 根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为蓝牙连接; [0016] The detected vibration parameters, determining the parameters corresponding to the detected vibration wireless communication connection is a Bluetooth connection type;

[0017] 将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立蓝牙连接。 [0017] The detected vibration parameters as authentication parameters, establishing a Bluetooth connection with the other mobile terminal.

[0018] 结合第一方面,在第三种可行的实现方式中,所述根据检测到的振动参数与另一移动终端建立无线通信连接,包括: [0018] with the first aspect, in a third possible implementation, according to the detected vibration parameters to establish a wireless communication connection with another mobile terminal comprising:

[0019] 根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为WLAN直连; [0019] The vibration parameters detected, determining a type of the wireless communication connection parameter corresponding to the detected vibration is directly connected to WLAN;

[0020] 将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立WLAN直连。 [0020] The detected vibration parameters as authentication parameters, and the other mobile terminal establishes a direct connection WLAN.

[0021] 结合第一方面的第二或第三种可行的实现方式中的任一项,在第四种可行的实现方式中,所述检测所接触物体的振动参数之前,所述方法还包括: Any one possible implementation of the second or third [0021] connection with the first aspect, in a fourth possible implementation, the detected vibration parameters before contacting the object, said method further comprising :

[0022] 设置至少一个振动参数以及所述至少一个振动参数对应的无线通信连接类型,其中所述至少一个振动参数中的每个振动参数包括振动时长、振动节奏或振动强度中至少一种,所述对应的无线通信连接类型包括蓝牙连接、无线局域网WLAN直连或近场通信NFC连接。 [0022] providing at least one vibration parameter and the at least one vibration parameter corresponding to the type of wireless communication connection, wherein each of said at least one vibration parameter of the vibration parameters includes a vibration length of time, or the rhythm of the vibration at least one of vibration intensity, the said corresponding connection types of wireless communication comprises a Bluetooth connection, a wireless local area network WLAN linear or near-field communication NFC connection.

[0023] 本发明实施例第二方面提供了一种移动终端,可包括: There is provided a mobile terminal of the second aspect, an embodiment [0023] of the present invention, comprising:

[0024] 打开模块,用于根据检测到的晃动参数打开对应的文件夹; [0024] opening module for opening the corresponding parameters according to the detected fluctuation of the folder;

[0025] 确定模块,用于根据用户的选择操作从所述对应的文件夹中确定待发送文件; [0025] determining means for determining a file to be transmitted from the corresponding folder in accordance with the selection operation of the user;

[0026] 无线连接模块,用于检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,其中所述另一移动终端与所述所接触物体相接触; [0026] The wireless connection module, a contact for detecting the vibration parameters of the object, and the detected vibration parameters connection establishing radio communication with another mobile terminal, wherein the mobile terminal further contacted with the object in contact;

[0027] 发送模块,用于通过所述无线通信连接向所述另一移动终端发送所述待发送文件。 [0027] The transmission module, used to send the file to be sent to the other mobile terminal through the wireless communication.

[0028] 结合第二方面,在第一种可行的实现方式中,所述移动终端还包括: [0028] combination with the second aspect, in a first possible implementation, the mobile terminal further comprises:

[0029] 第一设置模块,用于为至少一个文件夹设置对应的晃动参数,所述晃动参数包括晃动方向、晃动幅度或晃动频率中至少一种; [0029] a first setting means for setting clip fluctuation parameter corresponding to the at least one file, said shaking comprises shaking a direction parameter, shaking or vibration amplitude of at least one frequency;

[0030] 所述打开模块,包括: [0030] The opening module, comprising:

[0031] 第一确定单元,用于根据检测到的晃动方向、晃动幅度或晃动频率中至少一种,确定对应的文件夹; [0031] The first determining unit according to the detected shake direction, shaking or vibration amplitude of at least one frequency is determined corresponding to the folder;

[0032] 打开单元,用于打开所述对应的文件夹。 [0032] The opening means for opening the corresponding folder.

[0033] 结合第二方面,在第二种可行的实现方式中,所述无线连接模块,包括: [0033] combination with the second aspect, in a second possible implementation, the wireless connection module, comprising:

[0034] 第二确定单元,用于根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为蓝牙连接; [0034] The second determining unit, according to the detected vibration parameters, determining the type of wireless communication connection to a detection vibration corresponding to Bluetooth connection parameters;

[0035] 蓝牙连接单元,用于将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立蓝牙连接。 [0035] Bluetooth connection means for vibrating said detected parameters as authentication parameters, establishing a Bluetooth connection with the other mobile terminal.

[0036] 结合第二方面,在第三种可行的实现方式中, [0036] combination with the second aspect, in a third possible implementation,

[0037] 所述无线连接模块,包括: [0037] the wireless connection module, comprising:

[0038] 第三确定单元,用于根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为WLAN直连; [0038] The third determining unit, according to the detected vibration parameters, determining a type of the wireless communication connection vibration parameters corresponding to the detected WLAN is directly connected;

[0039] WLAN直连单元,用于将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立WLAN直连。 [0039] WLAN Direct means for vibrating said detected parameters as authentication parameters, the other mobile terminal and establish a WLAN Direct.

[0040] 结合第二方面的第二或第三种可行的实现方式,在第四种可行的实现方式中,所述移动终端还包括: [0040] The second or third binding feasible implementation of the second aspect, in a fourth possible implementation, the mobile terminal further comprises:

[0041] 第二设置模块,用于设置至少一个振动参数以及所述至少一个振动参数对应的无线通信连接类型,其中所述至少一个振动参数中的每个振动参数包括振动时长、振动节奏或振动强度中至少一种,所述对应的无线通信连接类型包括蓝牙连接、无线局域网WLAN直连或近场通信NFC连接。 [0041] The second setting means for setting the at least one vibration parameter and the at least one wireless communications connection type vibration parameters corresponding to each of the at least one vibration parameter vibration parameter comprising duration wherein said vibration, vibration or vibration rhythm at least one of the intensity, the type of the corresponding wireless communication connection comprises a Bluetooth connection, a wireless local area network WLAN linear or near-field communication NFC connection.

[0042] 本发明实施例中,移动终端根据检测到的晃动参数打开对应的文件夹,根据用户的选择操作从所述对应的文件夹中确定待发送文件,检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,把待发送文件发送给所述另一移动终端。 Embodiment [0042] In the present invention, the mobile terminal is opened in accordance with the detected fluctuation parameter corresponding to the folder, according to the user's selection operation is determined to be sent from the corresponding file folder, the vibration parameters detected object in contact, and vibration parameters to establish a wireless communication connection with another mobile terminal according to the detection, sending a file to be transmitted to the other mobile terminal. 采用本发明实施例,用户通过简单的晃动操作即可打开移动终端的文件夹,选中文件之后,只需在与移动终端和另一移动终端均有接触的物体上敲击或击打,使该物体发生振动,移动终端即可根据振动参数自动与另一移动终端建立连接,无需用户输入繁复的操作,可提高文件传输的效率和趣味性。 Embodiment of the present invention, the user can operate by simply shaking the mobile terminal is opened folder, then select files, or simply tap on the object striking both in contact with the mobile terminal and another mobile terminal, so that the objects vibrates, the mobile terminal can automatically establish a connection with another mobile terminal according to the vibration parameter, without user input operation complicated, and can improve the efficiency interesting file transfer.

附图说明 BRIEF DESCRIPTION

[0043] 为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, briefly describes the accompanying drawings required for describing the embodiments used in the following embodiments will be apparent in the following description of the accompanying drawings show some embodiments of the present invention. , those of ordinary skill in the art is concerned, without any creative effort, and may also obtain other drawings based on these drawings.

[0044]图1是本发明实施例提供的文件传输方法的一实施方式的流程示意图; [0044] FIG. 1 is a schematic diagram of an embodiment of the process of document transmission method according to an embodiment of the present invention;

[0045]图2是本发明实施例提供的文件传输方法的另一实施方式的流程示意图; [0045] FIG. 2 is a schematic view of another embodiment of the process of document transmission method according to an embodiment of the present invention;

[0046]图3是本发明实施例提供的文件传输方法的又一实施方式的流程示意图; [0046] FIG. 3 is a schematic view of still another embodiment of the process of document transmission method according to an embodiment of the present invention;

[0047]图4是本发明实施例提供的移动终端的一实施方式的结构示意图; [0047] FIG. 4 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention;

[0048]图5是本发明实施例提供的移动终端的另一实施方式的结构示意图; [0048] FIG. 5 is a block diagram of another embodiment of a mobile terminal according to an embodiment of the present invention;

[0049]图6是本发明实施例提供的移动终端中打开模块的一实施方式的结构示意图; [0049] FIG. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, in one embodiment of the open module;

[0050]图7是本发明实施例提供的移动终端中无线连接模块的一实施方式的结构示意图; [0050] FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention is a wireless connection module embodiment;

[0051]图8是本发明实施例提供的移动终端中无线连接模块的另一实施方式的结构示意图。 [0051] FIG. 8 is a schematic structural diagram of another embodiment of a wireless connection module of the mobile terminal according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0052] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0052] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are part of the embodiments of the present invention rather than all embodiments . 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention.

[0053] 本发明实施例公开了一种文件传输的方法及移动终端,可提高文件传输的效率和趣味性。 Example discloses a method and a mobile terminal of a file transfer efficiency can be improved and interesting file transfer [0053] of the present invention.

[0054] 本发明实施例中,移动终端可为任何移动或便携式电子设备,包括但不限于手机、笔记本电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等电子设备。 [0054] The embodiments of the present invention, the mobile terminal may be any mobile or portable electronic device, including but not limited to cell phones, laptops, tablet computers, personal digital assistants (Personal Digital Assistant, PDA) and other electronic devices.

[0055] 请参阅图1,图1是本发明实施例提供的文件传输方法的一实施方式的流程示意图。 [0055] Referring to FIG. 1, FIG. 1 is a schematic flow diagram of an embodiment of document transmission method according to an embodiment of the present invention. 本发明实施例的方法可通过移动终端来执行。 Example of the present invention may be performed by the mobile terminal. 如图1所示,所述文件传输的方法可以包括以下步骤: As illustrated, the file transfer method can include a step of:

[0056] S101,根据检测到的晃动参数打开对应的文件夹。 [0056] S101, based on the detected fluctuation parameter corresponding to the open folder.

[0057] 具体实施中,可预先设置至少一个晃动参数及每个晃动参数对应的文件夹。 [0057] In particular embodiments, it may be pre-set and the at least one shaking parameter fluctuation parameter corresponding to each folder. 可选地,每个晃动参数可包括晃动方向、晃动幅度或晃动频率中的一种或多种。 Alternatively, each parameter may include a shake shake direction, or one or more shaking amplitude fluctuation frequencies. 例如Is时间内向右晃动I次对应打开音乐库,Is时间内来回晃动I次对应打开图库等。 Is the time right for example shaking within the corresponding time I open the music library, I shake back and forth within a time corresponding to the open gallery Is time.

[0058] 具体地,可利用陀螺仪或角速度传感器检测移动终端的晃动。 [0058] Specifically, using a gyro or angular velocity sensor detects shaking of the mobile terminal.

[0059] 在一些可行的实施方式中,晃动参数及对应的文件夹可由移动终端的用户自行设置。 [0059] In some possible embodiments, the user and the shaking parameters corresponding folders provided by the mobile terminal itself. 当用户以预先设置的某一晃动参数来晃动移动终端,即可打开该文件夹。 When a user to pre-set parameters shaking shaking the mobile terminal, to open the folder.

[0060] S102,根据用户的选择操作从所述对应的文件夹中确定待发送文件。 [0060] S102, according to the selection operation of the user from the folder corresponding to the file to be transmitted is determined.

[0061] 在一些可行的实施方式中,打开的文件夹中包含有至少一个文件。 [0061] In some possible embodiments, the open folder contains at least one file. 若用户在文件夹中选择了一个或多个文件,则将用户选择的一个或多个文件作为待发送文件。 If the user selects one or more files in a folder, the user is to select one or more files to be sent as a file.

[0062] 可选地,用户的选择操作可以包括触摸控制屏上的点击操作、滑动操作或悬浮触控操作,也可以包括语音选择操作,例如用户读出文件的名称,移动终端的语音识别模块识别出用户所读的名称,则该名称对应的文件即待发送文件。 [0062] Alternatively, the user's selection operation may include a click operation on the touch control panel, the slide operation or touch operation suspensions may also include a voice selection operation, for example, the user reads out the file name, the speech recognition module of the mobile terminal identifies the read name of the user, the file name corresponds to the file that is to be transmitted.

[0063] S103,检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,其中所述另一移动终端与所述所接触物体相接触。 [0063] S103, a contact detection vibration parameters of the object, and the detected vibration parameters connection establishing radio communication with another mobile terminal, wherein the mobile terminal further contacted with the object in contact.

[0064] 在一些可行的实施方式中,移动终端与另一移动终端同时与某一物体相接触,例如移动终端与另一移动终端放置在同个桌面或架子上。 [0064] In some possible embodiments, the mobile terminal while being in contact with an object and another mobile terminal, such as a mobile terminal and another mobile terminal is placed on the same shelf or desktops. 若上述物体发生振动,与其接触的移动终端和另一移动终端均可检测到振动参数。 If the object is vibrated, its mobile terminal and another mobile terminal of the contact can be detected vibration parameters. 具体实现中,用户可敲击或击打该物体,使之发生振动。 In particular implementations, the user can tap or strike the object, making it vibrate.

[0065] 可选地,本发明实施例中的振动参数可包括振动时长、振动节奏、振动强度中的一种或多种。 [0065] Alternatively, long vibration parameters embodiment may include a vibration embodiment of the present invention, one or more rhythm vibrations, the vibration strength.

[0066] 可选地,本发明实施例的无线通信连接可包括蓝牙连接、无线局域网(WirelessLocal Area Networks, WLAN)直连或近场通信(Near Field Communicat1n, NFC)连接。 [0066] Alternatively, the wireless communication embodiments of the present invention may comprise connecting a Bluetooth connection, wireless local area network (WirelessLocal Area Networks, WLAN) straight or a near field communication (Near Field Communicat1n, NFC) connection.

[0067] S104,通过所述无线通信连接向所述另一移动终端发送所述待发送文件。 [0067] S104, the connection to send a file to be transmitted to the other mobile terminal through the wireless communication.

[0068] 具体实现中,确定待发送的文件并与另一移动通信终端建立无线通信连接之后,可通过建立的无线通信连接件待发送文件发送给另一移动终端。 After [0068] In specific implementation, the file is determined to be transmitted and the wireless communication connection is established with another mobile communication terminal, a file can be transmitted via wireless communication connection establishment is transmitted to another mobile terminal.

[0069] 本发明实施例中,移动终端根据检测到的晃动参数打开对应的文件夹,根据用户的选择操作从所述对应的文件夹中确定待发送文件,检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,把待发送文件发送给所述另一移动终端。 Embodiment [0069] In the present invention, the mobile terminal is opened in accordance with the detected fluctuation parameter corresponding to the folder, according to the user's selection operation is determined to be sent from the corresponding file folder, the vibration parameters detected object in contact, and vibration parameters to establish a wireless communication connection with another mobile terminal according to the detection, sending a file to be transmitted to the other mobile terminal. 采用本发明实施例,用户通过简单的晃动操作即可打开移动终端的文件夹,选中文件之后,只需在与移动终端和另一移动终端均有接触的物体上敲击或击打,使该物体发生振动,移动终端即可根据振动参数自动与另一移动终端建立连接,无需用户输入繁复的操作,可提高文件传输的效率和趣味性。 Embodiment of the present invention, the user can operate by simply shaking the mobile terminal is opened folder, then select files, or simply tap on the object striking both in contact with the mobile terminal and another mobile terminal, so that the objects vibrates, the mobile terminal can automatically establish a connection with another mobile terminal according to the vibration parameter, without user input operation complicated, and can improve the efficiency interesting file transfer.

[0070] 请参阅图2,图2是本发明实施例提供的文件传输方法的另一实施方式的流程示意图。 [0070] Please refer to FIG. 2, FIG. 2 is a schematic flow diagram of another embodiment of a file transfer method according to an embodiment of the present invention. 本发明实施例的方法可通过移动终端来执行。 Example of the present invention may be performed by the mobile terminal. 如图2所示,所述文件传输的方法可以包括以下步骤: As shown, the file transfer method shown in FIG. 2 may comprise the steps of:

[0071] S201,为至少一个文件夹设置对应的晃动参数,所述晃动参数包括晃动方向、晃动幅度或晃动频率中至少一种。 [0071] S201, at least one folder is provided corresponding to the fluctuation parameter, said shaking comprises shaking a direction parameter, shaking or vibration amplitude of at least one frequency.

[0072] 在一些可行的实施方式中,晃动参数及对应的文件夹可由移动终端的用户自行设置。 [0072] In some possible embodiments, the user and the shaking parameters corresponding folders provided by the mobile terminal itself. 具体实施中,用户可通过移动终端为至少一个文件夹设置对应的晃动参数,其中晃动参数可包括晃动方向、晃动幅度或晃动频率中的一种或多种。 In particular embodiments, the user can set the folder corresponding to the at least one shaking parameter by the mobile terminal, wherein the shaking parameters may include one or more of the sway direction, the fluctuation in the amplitude or frequency of the shaking. 例如:音乐库对应的晃动参数为预设时间内向右晃动I次,图库对应的晃动参数为预设时间内来回晃动I次,安装包文件夹对应的晃动参数为连续晃动超过2s等。 For example: shaking music library corresponding parameters are preset amount of time I shake right times, shaking gallery corresponding parameters within a preset time once I shake back and forth, shaking the installation package folder parameters corresponding to continuous shaking more than 2s and so on.

[0073] S202,根据检测到的晃动方向、晃动幅度或晃动频率中至少一种,确定对应的文件夹。 [0073] S202, according to the detected shake direction, shaking or vibration amplitude of at least one frequency, determining the corresponding folder.

[0074] 具体地,移动终端可利用陀螺仪或角速度传感器检测晃动参数,包括检测晃动方向、晃动幅度和晃动频率。 [0074] Specifically, the mobile terminal may use a gyroscope or an angular velocity sensor detects vibration parameters, including shake detection direction, the fluctuation amplitude and frequency of the shaking. 根据检测到的晃动参数和预先设置的文件夹对应的晃动参数,可确定检测到的晃动参数对应的文件夹。 Shake according to the detected parameter and a preset clip file corresponding to a parameter fluctuation, may determine whether the detected fluctuation parameter corresponding to the folder.

[0075] S203,打开所述对应的文件夹。 [0075] S203, the corresponding folder is opened.

[0076] 本发明实施例中,检测到晃动参数,且存在与检测到的晃动参数相对应的文件夹时,可自动打开该对应的文件夹,以供用户对文件夹内的文件进行选择或其他操作。 [0076] The embodiments of the present invention, detection of the shaking parameters, and there is the fluctuation parameter detected corresponding folder can automatically open the corresponding folder for the user to the file folder is selected or other operations.

[0077] S204,根据用户的选择操作从所述对应的文件夹中确定待发送文件。 [0077] S204, according to the selection operation of the user from the folder corresponding to the file to be transmitted is determined.

[0078] 在一些可行的实施方式中,打开的文件夹中包含有至少一个文件。 [0078] In some possible embodiments, the open folder contains at least one file. 若用户在文件夹中选择了一个或多个文件,则将用户选择的一个或多个文件作为待发送文件。 If the user selects one or more files in a folder, the user is to select one or more files to be sent as a file.

[0079] 可选地,用户的选择操作可以包括触摸控制屏上的点击操作、滑动操作或悬浮触控操作,也可以包括语音选择操作,例如用户读出文件的名称,移动终端的语音识别模块识别出用户所读的名称,则该名称对应的文件即待发送文件。 [0079] Alternatively, the user's selection operation may include a click operation on the touch control panel, the slide operation or touch operation suspensions may also include a voice selection operation, for example, the user reads out the file name, the speech recognition module of the mobile terminal identifies the read name of the user, the file name corresponds to the file that is to be transmitted.

[0080] S205,设置至少一个振动参数以及所述至少一个振动参数对应的无线通信连接类型。 [0080] S205, at least one vibration parameter and a wireless communication connection type of the parameter corresponding to the at least one vibration.

[0081 ] 本发明实施例中,所述至少一个振动参数中的每个振动参数包括振动时长、振动节奏或振动强度中至少一种,所述对应的无线通信连接类型包括蓝牙连接、无线局域网WLAN直连或近场通信NFC连接。 [0081] The embodiments of the present invention, each of the at least one vibration parameter of the vibration parameters includes a vibration duration, rhythm or vibration intensity of the vibration in at least one of the corresponding connection types of wireless communication comprises a Bluetooth connection, a WLAN linear or near-field communication NFC connection.

[0082] 在一些可行的实施方式中,振动参数及对应的无线通信连接类型可由移动终端的用户自行设置。 [0082] In some possible embodiments, a wireless communication connection type vibration parameters and the corresponding user may set up their own mobile terminal. 具体实施中,在设置界面可提醒用户对移动终端的接触物进行敲击或击打,移动终端检测到接触物的振动参数并保存,然后提醒用户在移动终端支持的无线通信连接类型中选择一种作为与设置的振动参数相对应的无线通信连接类型。 In particular embodiments, the interface may be provided to alert the user to the contact of the mobile terminal was knocking or striking, the mobile terminal detects a vibration parameter and the contact was saved and then alert the user to select a type of the mobile wireless communication terminal connected to the support species provided as vibration parameters corresponding to the type of wireless communication connection.

[0083] S206,检测所接触物体的振动参数,根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为蓝牙连接。 [0083] S206, the vibration parameters for detecting contact with an object, according to the detected vibration parameters, determining a type of the wireless communication connection corresponding to the detected vibration parameters for the Bluetooth connection.

[0084] 具体实施中,用户预先设置了至少一个振动参数及其对应的无线通信连接类型。 [0084] In particular embodiments, the user sets in advance the wireless communication connection type and the at least one vibration parameter corresponds. 在用户选择一个或多个文件后,若检测到与移动终端相接触的物体的振动,且其振动参数为预先设置的振动参数之一,则可根据预先设置的振动参数及其对应的无线通信连接类型。 After the user selects one or more files, if an object is detected in contact with the vibration of the mobile terminal, and which is one of vibration parameters pre-set parameters of vibration, the vibration can be pre-set parameters and corresponding wireless communication Connection Type.

[0085] 本发明实施例中,检测到的所接触物体的振动参数所对应的无线通信连接类型为蓝牙连接。 [0085] Example embodiments of the present invention, the wireless communication connection type vibration parameters of the object corresponding to the detected contact is a Bluetooth connection.

[0086] S207,将所述检测到的振动参数作为鉴权参数,与另一移动终端建立蓝牙连接,其中所述另一移动终端与所述所接触物体相接触。 [0086] S207, the detected vibration parameters as authentication parameters, to establish a Bluetooth connection with another mobile terminal, wherein the mobile terminal further contacted with the object in contact.

[0087] 在一些可行的实施方式中,移动终端与另一移动终端同时与某一物体相接触,例如移动终端与另一移动终端放置在同个桌面或架子上。 [0087] In some possible embodiments, the mobile terminal while being in contact with an object and another mobile terminal, such as a mobile terminal and another mobile terminal is placed on the same shelf or desktops. 若上述物体发生振动,与其接触的移动终端和另一移动终端均可检测到振动参数。 If the object is vibrated, its mobile terminal and another mobile terminal of the contact can be detected vibration parameters. 具体实现中,用户可敲击或击打该物体,使之发生振动。 In particular implementations, the user can tap or strike the object, making it vibrate.

[0088] 当该物体发生振动时,上述移动终端和上述另一移动终端检测相同的振动节奏和相近的振动时长,振动强度与振动源的距离有关,可能相近或相差较大。 [0088] When the object is vibrated, said mobile terminal and said another mobile terminal detects the same rhythm and vibrations similar to vibrations long, the vibration from the vibration source intensity related may be similar or quite different. 在一些可行的实施方式中,可将检测到的振动参数按照一定规律转化成鉴权参数,再将该鉴权参数用于蓝牙连接的验证。 In some possible embodiments, may be detected vibration is converted into parameters according to certain rules authentication parameters, authentication parameters and then used to verify the Bluetooth connection. 例如,若检测到接触物有节奏的依次振动了I次、4次、5次、7次、2次,则可将振动参数转换为鉴权参数“ 14572”,上述移动终端和上述另一移动终端验证双方的鉴权参数是否均为“ 14572”,若是,则上述移动终端和上述另一移动终端可建立蓝牙连接。 For example, if the contact was detected sequentially rhythmic vibration of I times, four times, five times, seven times, 2 times, it can be converted to vibration parameters authentication parameter "14572", to the mobile terminal and said another mobile terminal authentication parameters to verify whether the two sides are "14572", and if so, to the mobile terminal and the other mobile terminal can establish a Bluetooth connection.

[0089] S208,通过建立的蓝牙连接向所述另一移动终端发送所述待发送文件。 [0089] S208, the connection to send a file to be transmitted to the other mobile terminal is established via Bluetooth.

[0090] 具体实现中,确定待发送的文件并与另一移动通信终端建立蓝牙连接之后,可通过建立的蓝牙连接将待发送文件发送给另一移动终端。 After [0090] In specific implementation, the file is determined to be transmitted, and establishing a Bluetooth connection to another mobile communication terminal, a Bluetooth connection can be established to be transmitted to another mobile terminal to send the file.

[0091] 本发明实施例中,移动终端为至少一个文件夹设置对应的晃动参数,根据检测到的晃动参数打开对应的文件夹,根据用户的选择操作从所述对应的文件夹中确定待发送文件,检测所接触物体的振动参数,根据检测到的振动参数确定对应的无线通信连接类型为蓝牙连接,与另一移动终端建立蓝牙连接,并通过蓝牙连接把待发送文件发送给所述另一移动终端。 Embodiment [0091] In the present invention, the mobile terminal clamp disposed fluctuation parameter corresponding to at least one file, the corresponding folder open according to the detected fluctuation parameter, determined to be transmitted from the corresponding folder according to the user's selection operation document, the contact detecting vibration parameters of the object, based on the detected vibration parameters determining the type of wireless communication connection to a corresponding Bluetooth connection, establishing a Bluetooth connection with another mobile terminal through the Bluetooth connection and send a file to be transmitted to the other the mobile terminal. 采用本发明实施例,用户通过简单的晃动操作即可打开移动终端的文件夹,选中文件之后,只需在与移动终端和另一移动终端均有接触的物体上敲击或击打,使该物体发生振动,移动终端即可根据振动参数自动与另一移动终端建立蓝牙连接,无需用户输入繁复的操作,可提高文件传输的效率和趣味性。 Embodiment of the present invention, the user can operate by simply shaking the mobile terminal is opened folder, then select files, or simply tap on the object striking both in contact with the mobile terminal and another mobile terminal, so that the objects vibrates, the mobile terminal can automatically establish a Bluetooth connection with another mobile terminal according to the vibration parameter, without user input operation complicated, and can improve the efficiency interesting file transfer.

[0092] 请参阅图3,图3是本发明实施例提供的文件传输方法的另一实施方式的流程示意图。 [0092] Please refer to FIG. 3, FIG. 3 is a schematic flow diagram of another embodiment of a file transfer method according to an embodiment of the present invention. 本发明实施例的方法可通过移动终端来执行。 Example of the present invention may be performed by the mobile terminal. 如图3所示,所述文件传输的方法可以包括以下步骤: As illustrated, the file transfer method 3 may include the steps of:

[0093] S301,为至少一个文件夹设置对应的晃动参数,所述晃动参数包括晃动方向、晃动幅度或晃动频率中至少一种。 [0093] S301, at least one folder is provided corresponding to the fluctuation parameter, said shaking comprises shaking a direction parameter, shaking or vibration amplitude of at least one frequency.

[0094] 在一些可行的实施方式中,晃动参数及对应的文件夹可由移动终端的用户自行设置。 [0094] In some possible embodiments, the user and the shaking parameters corresponding folders provided by the mobile terminal itself. 具体实施中,用户可通过移动终端为至少一个文件夹设置对应的晃动参数,其中晃动参数可包括晃动方向、晃动幅度或晃动频率中的一种或多种。 In particular embodiments, the user can set the folder corresponding to the at least one shaking parameter by the mobile terminal, wherein the shaking parameters may include one or more of the sway direction, the fluctuation in the amplitude or frequency of the shaking. 例如:音乐库对应的晃动参数为预设时间内向右晃动I次,图库对应的晃动参数为预设时间内来回晃动I次,安装包文件夹对应的晃动参数为连续晃动超过2S等。 Example: Music Library fluctuation parameter corresponding to a preset time fluctuation I the right times, corresponding to the fluctuation parameter library is within a preset time shaking back and forth I th, the installation package folder corresponding to the fluctuation parameter is exceeded 2S continuous shaking and the like.

[0095] S302,设置至少一个振动参数以及所述至少一个振动参数对应的无线通信连接类型。 [0095] S302, at least one vibration parameter and a wireless communication connection type of the parameter corresponding to the at least one vibration.

[0096] 本发明实施例中,所述至少一个振动参数中的每个振动参数包括振动时长、振动节奏或振动强度中至少一种,所述对应的无线通信连接类型包括蓝牙连接、无线局域网WLAN直连或近场通信NFC连接。 [0096] Example embodiments of the present invention, each of the at least one vibration parameter of the vibration parameters includes a vibration duration, rhythm or vibration intensity of the vibration in at least one of the corresponding connection types of wireless communication comprises a Bluetooth connection, a WLAN linear or near-field communication NFC connection.

[0097] 在一些可行的实施方式中,振动参数及对应的无线通信连接类型可由移动终端的用户自行设置。 [0097] In some possible embodiments, a wireless communication connection type vibration parameters and the corresponding user may set up their own mobile terminal. 具体实施中,在设置界面可提醒用户对移动终端的接触物进行敲击或击打,移动终端检测到接触物的振动参数并保存,然后提醒用户在移动终端支持的无线通信连接类型中选择一种作为与设置的振动参数相对应的无线通信连接类型。 In particular embodiments, the interface may be provided to alert the user to the contact of the mobile terminal was knocking or striking, the mobile terminal detects a vibration parameter and the contact was saved and then alert the user to select a type of the mobile wireless communication terminal connected to the support species provided as vibration parameters corresponding to the type of wireless communication connection.

[0098] S303,根据检测到的晃动方向、晃动幅度或晃动频率中至少一种,确定对应的文件夹。 [0098] S303, according to the detected shake direction, shaking or vibration amplitude of at least one frequency, determining the corresponding folder.

[0099] 具体地,移动终端可利用陀螺仪或角速度传感器检测晃动参数,包括检测晃动方向、晃动幅度和晃动频率。 [0099] Specifically, the mobile terminal may use a gyroscope or an angular velocity sensor detects vibration parameters, including shake detection direction, the fluctuation amplitude and frequency of the shaking. 根据检测到的晃动参数和预先设置的文件夹对应的晃动参数,可确定检测到的晃动参数对应的文件夹。 Shake according to the detected parameter and a preset clip file corresponding to a parameter fluctuation, may determine whether the detected fluctuation parameter corresponding to the folder.

[0100] S304,打开所述对应的文件夹。 [0100] S304, the corresponding folder is opened.

[0101] 本发明实施例中,检测到晃动参数,且存在与检测到的晃动参数相对应的文件夹时,可自动打开该对应的文件夹,以供用户对文件夹内的文件进行选择或其他操作。 [0101] embodiment of the present invention, detection of the shaking parameters, and there is the fluctuation parameter detected corresponding folder can automatically open the corresponding folder for the user to the file folder is selected or other operations.

[0102] S305,根据用户的选择操作从所述对应的文件夹中确定待发送文件。 [0102] S305, according to the selection operation of the user from the folder corresponding to the file to be transmitted is determined.

[0103] 在一些可行的实施方式中,打开的文件夹中包含有至少一个文件。 [0103] In some possible embodiments, the open folder contains at least one file. 若用户在文件夹中选择了一个或多个文件,则将用户选择的一个或多个文件作为待发送文件。 If the user selects one or more files in a folder, the user is to select one or more files to be sent as a file.

[0104] 可选地,用户的选择操作可以包括触摸控制屏上的点击操作、滑动操作或悬浮触控操作,也可以包括语音选择操作,例如用户读出文件的名称,移动终端的语音识别模块识别出用户所读的名称,则该名称对应的文件即待发送文件。 [0104] Alternatively, the user's selection operation may include a click operation on the touch control panel, the slide operation or touch operation suspensions may also include a voice selection operation, for example, the user reads out the file name, the speech recognition module of the mobile terminal identifies the read name of the user, the file name corresponds to the file that is to be transmitted.

[0105] S306,检测所接触物体的振动参数,根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为WLAN直连,其中所述另一移动终端与所述所接触物体相接触。 [0105] S306, a contact detection of vibration parameters of the object, in accordance with the detected vibration parameters, determining the type of wireless communication connection parameter corresponding to the detected vibration is directly connected to the WLAN, wherein the mobile terminal and the other the the contact object in contact.

[0106] 具体实施中,用户预先设置了至少一个振动参数及其对应的无线通信连接类型。 [0106] In particular embodiments, the user sets in advance the wireless communication connection type and the at least one vibration parameter corresponds. 在用户选择一个或多个文件后,若检测到与移动终端相接触的物体的振动,且其振动参数为预先设置的振动参数之一,则可根据预先设置的振动参数及其对应的无线通信连接类型。 After the user selects one or more files, if an object is detected in contact with the vibration of the mobile terminal, and which is one of vibration parameters pre-set parameters of vibration, the vibration can be pre-set parameters and corresponding wireless communication Connection Type.

[0107] 本发明实施例中,检测到的所接触物体的振动参数所对应的无线通信连接类型为WLAN直连。 Embodiment [0107] of the present invention, a wireless communication connection type vibration parameters of the object corresponding to the detected WLAN is directly connected to the contact.

[0108] S307,将所述检测到的振动参数作为鉴权参数,与另一移动终端建立WLAN直连,其中所述另一移动终端与所述所接触物体相接触。 [0108] S307, the detected vibration parameters as authentication parameters, with another mobile terminal establishes direct WLAN, wherein the other mobile terminal is in contact with the object in contact.

[0109] 在一些可行的实施方式中,移动终端与另一移动终端同时与某一物体相接触,例如移动终端与另一移动终端放置在同个桌面或架子上。 [0109] In some possible embodiments, the mobile terminal while being in contact with an object and another mobile terminal, such as a mobile terminal and another mobile terminal is placed on the same shelf or desktops. 若上述物体发生振动,与其接触的移动终端和另一移动终端均可检测到振动参数。 If the object is vibrated, its mobile terminal and another mobile terminal of the contact can be detected vibration parameters. 具体实现中,用户可敲击或击打该物体,使之发生振动。 In particular implementations, the user can tap or strike the object, making it vibrate.

[0110] 当该物体发生振动时,上述移动终端和上述另一移动终端检测相同的振动节奏和相近的振动时长,振动强度与振动源的距离有关,可能相近或相差较大。 [0110] When the object is vibrated, said mobile terminal and said another mobile terminal detects the same rhythm and vibrations similar to vibrations long, the vibration from the vibration source intensity related may be similar or quite different. 在一些可行的实施方式中,可将检测到的振动参数按照一定规律转化成鉴权参数,再将该鉴权参数用于蓝牙连接的验证。 In some possible embodiments, may be detected vibration is converted into parameters according to certain rules authentication parameters, authentication parameters and then used to verify the Bluetooth connection. 例如,若检测到接触物有节奏的依次振动了I次、4次、5次、7次、2次,则可将振动参数转换为鉴权参数“ 14572”,上述移动终端和上述另一移动终端验证双方的鉴权参数是否均为“ 14572”,若是,则上述移动终端和上述另一移动终端可建立WLAN直连。 For example, if the contact was detected sequentially rhythmic vibration of I times, four times, five times, seven times, 2 times, it can be converted to vibration parameters authentication parameter "14572", to the mobile terminal and said another mobile terminal authentication parameters to verify whether the two sides are "14572", and if so, to the mobile terminal and the other mobile terminal can establish a direct connection WLAN.

[0111] S308,通过建立的WLAN直连向所述另一移动终端发送所述待发送文件。 [0111] S308, direct transmission to the other mobile terminal via the established WLAN file to be transmitted.

[0112] 具体实现中,确定待发送的文件并与另一移动通信终端建立WLAN直连之后,可通过建立的WLAN直连将待发送文件发送给另一移动终端。 After [0112] In specific implementation, the file is determined to be transmitted and to establish direct connection with another mobile WLAN communication terminal, may transmit the file to be directly connected via the established WLAN transmitted to another mobile terminal.

[0113] 本发明实施例中,移动终端为至少一个文件夹设置对应的晃动参数,根据检测到的晃动参数打开对应的文件夹,根据用户的选择操作从所述对应的文件夹中确定待发送文件,检测所接触物体的振动参数,根据检测到的振动参数确定对应的无线通信连接类型为WLAN直连,与另一移动终端建立WLAN直连,并通过WLAN直连把待发送文件发送给所述另一移动终端。 Embodiment [0113] In the present invention, the mobile terminal clamp disposed fluctuation parameter corresponding to at least one file, the corresponding folder open according to the detected fluctuation parameter, determined to be transmitted from the corresponding folder according to the user's selection operation vibration parameter file, detecting a contact object, a wireless communication connection type parameter according to the detected vibration is determined corresponding to the WLAN is directly connected with another mobile terminal establish a WLAN is directly connected to a direct attached to the document to be transmitted through the WLAN said another mobile terminal. 采用本发明实施例,用户通过简单的晃动操作即可打开移动终端的文件夹,选中文件之后,只需在与移动终端和另一移动终端均有接触的物体上敲击或击打,使该物体发生振动,移动终端即可根据振动参数自动与另一移动终端建立WLAN直连,无需用户输入繁复的操作,可提高文件传输的效率和趣味性。 Embodiment of the present invention, the user can operate by simply shaking the mobile terminal is opened folder, then select files, or simply tap on the object striking both in contact with the mobile terminal and another mobile terminal, so that the objects vibrates, the mobile terminal and another mobile terminal to automatically establish a WLAN direct vibration parameters, without user input operation complicated, and can improve the efficiency interesting file transfer.

[0114] 请参阅图4,图4是本发明实施例提供的移动终端的一实施方式的结构示意图。 [0114] Please refer to FIG. 4, FIG. 4 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention. 如图4所示,所述移动终端可包括:打开模块401、确定模块402、无线连接模块403和发送模块404,其中: As shown, the mobile terminal 4 may comprise: opening module 401, a determining module 402, a wireless connection module 403 and a sending module 404, wherein:

[0115] 打开模块401,用于根据检测到的晃动参数打开对应的文件夹。 [0115] 401 opening module for opening the corresponding parameters according to the detected shake folder.

[0116] 具体实施中,可预先设置至少一个晃动参数及每个晃动参数对应的文件夹。 [0116] In particular embodiments, it may be pre-set and the at least one shaking parameter fluctuation parameter corresponding to each folder. 可选地,每个晃动参数可包括晃动方向、晃动幅度或晃动频率中的一种或多种。 Alternatively, each parameter may include a shake shake direction, or one or more shaking amplitude fluctuation frequencies. 例如Is时间内向右晃动I次对应打开音乐库,Is时间内来回晃动I次对应打开图库等。 Is the time right for example shaking within the corresponding time I open the music library, I shake back and forth within a time corresponding to the open gallery Is time.

[0117] 具体地,可利用陀螺仪或角速度传感器检测移动终端的晃动。 [0117] Specifically, using a gyro or angular velocity sensor detects shaking of the mobile terminal.

[0118] 在一些可行的实施方式中,晃动参数及对应的文件夹可由移动终端的用户自行设置。 [0118] In some possible embodiments, the user and the shaking parameters corresponding folders provided by the mobile terminal itself. 当用户以预先设置的某一晃动参数来晃动移动终端,即可打开该文件夹。 When a user to pre-set parameters shaking shaking the mobile terminal, to open the folder.

[0119] 确定模块402,用于根据用户的选择操作从所述对应的文件夹中确定待发送文件。 [0119] determination module 402, according to user's selection operation is determined to be sent from the corresponding file folder.

[0120] 在一些可行的实施方式中,打开的文件夹中包含有至少一个文件。 [0120] In some possible embodiments, the open folder contains at least one file. 若用户在文件夹中选择了一个或多个文件,则将用户选择的一个或多个文件作为待发送文件。 If the user selects one or more files in a folder, the user is to select one or more files to be sent as a file.

[0121] 可选地,用户的选择操作可以包括触摸控制屏上的点击操作、滑动操作或悬浮触控操作,也可以包括语音选择操作,例如用户读出文件的名称,移动终端的语音识别模块识别出用户所读的名称,则该名称对应的文件即待发送文件。 [0121] Alternatively, the user's selection operation may include a click operation on the touch control panel, the slide operation or touch operation suspensions may also include a voice selection operation, for example, the user reads out the file name, the speech recognition module of the mobile terminal identifies the read name of the user, the file name corresponds to the file that is to be transmitted.

[0122] 无线连接模块403,用于检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,其中所述另一移动终端与所述所接触物体相接触。 [0122] wireless connection module 403, a vibration detecting parameters of an object in contact with and connected to the detecting vibration parameters to establish radio communication with another mobile terminal, wherein the mobile terminal further contacted with the object in contact .

[0123] 在一些可行的实施方式中,移动终端与另一移动终端同时与某一物体相接触,例如移动终端与另一移动终端放置在同个桌面或架子上。 [0123] In some possible embodiments, the mobile terminal while being in contact with an object and another mobile terminal, such as a mobile terminal and another mobile terminal is placed on the same shelf or desktops. 若上述物体发生振动,与其接触的移动终端和另一移动终端均可检测到振动参数。 If the object is vibrated, its mobile terminal and another mobile terminal of the contact can be detected vibration parameters. 具体实现中,用户可敲击或击打该物体,使之发生振动。 In particular implementations, the user can tap or strike the object, making it vibrate.

[0124] 可选地,本发明实施例中的振动参数可包括振动时长、振动节奏、振动强度中的一种或多种。 [0124] Alternatively, long vibration parameters embodiment may include a vibration embodiment of the present invention, one or more rhythm vibrations, the vibration strength.

[0125] 可选地,本发明实施例的无线通信连接可包括蓝牙连接、无线局域网(WirelessLocal Area Networks, WLAN)直连或近场通信(Near Field Communicat1n, NFC)连接。 [0125] Alternatively, the wireless communication embodiments of the present invention may comprise connecting a Bluetooth connection, wireless local area network (WirelessLocal Area Networks, WLAN) straight or a near field communication (Near Field Communicat1n, NFC) connection.

[0126] 发送模块404,用于通过所述无线通信连接向所述另一移动终端发送所述待发送文件。 [0126] The sending module 404 is used to send the file to be sent to the other mobile terminal through the wireless communication.

[0127] 具体实现中,确定待发送的文件并与另一移动通信终端建立无线通信连接之后,可通过建立的无线通信连接件待发送文件发送给另一移动终端。 After [0127] In specific implementation, the file is determined to be transmitted and the wireless communication connection is established with another mobile communication terminal, a file can be transmitted via wireless communication connection establishment is transmitted to another mobile terminal.

[0128] 本发明实施例中,移动终端根据检测到的晃动参数打开对应的文件夹,根据用户的选择操作从所述对应的文件夹中确定待发送文件,检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,把待发送文件发送给所述另一移动终端。 Embodiment [0128] In the present invention, the mobile terminal is opened in accordance with the detected fluctuation parameter corresponding to the folder, according to the user's selection operation is determined to be sent from the corresponding file folder, the vibration parameters detected object in contact, and vibration parameters to establish a wireless communication connection with another mobile terminal according to the detection, sending a file to be transmitted to the other mobile terminal. 采用本发明实施例,用户通过简单的晃动操作即可打开移动终端的文件夹,选中文件之后,只需在与移动终端和另一移动终端均有接触的物体上敲击或击打,使该物体发生振动,移动终端即可根据振动参数自动与另一移动终端建立连接,无需用户输入繁复的操作,可提高文件传输的效率和趣味性。 Embodiment of the present invention, the user can operate by simply shaking the mobile terminal is opened folder, then select files, or simply tap on the object striking both in contact with the mobile terminal and another mobile terminal, so that the objects vibrates, the mobile terminal can automatically establish a connection with another mobile terminal according to the vibration parameter, without user input operation complicated, and can improve the efficiency interesting file transfer.

[0129] 请参阅图5,图5是本发明实施例提供的移动终端的另一实施方式的结构示意图。 [0129] Referring to FIG. 5, FIG. 5 is a schematic structural diagram of another embodiment of a mobile terminal according to an embodiment of the present invention. 如图5所示,所述移动终端可包括:第一设置模块501、打开模块502、确定模块503、第二设置模块504、无线连接模块505和发送模块506,其中: As shown, the mobile terminal 5 may include: a first setting module 501, opening module 502, a determining module 503, a second setting module 504, a wireless connection module 505 and a sending module 506, wherein:

[0130] 第一设置模块501,用于为至少一个文件夹设置对应的晃动参数,所述晃动参数包括晃动方向、晃动幅度或晃动频率中至少一种。 [0130] The first setting module 501, for at least one folder is provided corresponding to the fluctuation parameter, said shaking comprises shaking a direction parameter, shaking or vibration amplitude of at least one frequency.

[0131] 在一些可行的实施方式中,晃动参数及对应的文件夹可由移动终端的用户自行设置。 [0131] In some possible embodiments, the user and the shaking parameters corresponding folders provided by the mobile terminal itself. 具体实施中,用户可通过移动终端为至少一个文件夹设置对应的晃动参数,其中晃动参数可包括晃动方向、晃动幅度或晃动频率中的一种或多种。 In particular embodiments, the user can set the folder corresponding to the at least one shaking parameter by the mobile terminal, wherein the shaking parameters may include one or more of the sway direction, the fluctuation in the amplitude or frequency of the shaking. 例如:音乐库对应的晃动参数为预设时间内向右晃动I次,图库对应的晃动参数为预设时间内来回晃动I次,安装包文件夹对应的晃动参数为连续晃动超过2s等。 For example: shaking music library corresponding parameters are preset amount of time I shake right times, shaking gallery corresponding parameters within a preset time once I shake back and forth, shaking the installation package folder parameters corresponding to continuous shaking more than 2s and so on.

[0132] 打开模块502,用于根据检测到的晃动参数打开对应的文件夹; [0132] opening module 502, according to the detected fluctuation parameter corresponding to the open folder;

[0133] 作为一种可行的实施方式,请一并参阅图6,如图6所示,打开模块502可包括第一确定单元5021和打开单元5022,其中: [0133] In a feasible embodiment, Referring to FIG. 6, shown in Figure 6, opening module 502 may include a first determining unit 5021 and the opening unit 5022, wherein:

[0134] 第一确定单元5021,用于根据检测到的晃动方向、晃动幅度或晃动频率中至少一种,确定对应的文件夹。 [0134] The first determining unit 5021, according to the detected shake direction, shaking or vibration amplitude of at least one frequency, determining the corresponding folder.

[0135] 具体地,移动终端可利用陀螺仪或角速度传感器检测晃动参数,包括检测晃动方向、晃动幅度和晃动频率。 [0135] Specifically, the mobile terminal may use a gyroscope or an angular velocity sensor detects vibration parameters, including shake detection direction, the fluctuation amplitude and frequency of the shaking. 根据检测到的晃动参数和预先设置的文件夹对应的晃动参数,可确定检测到的晃动参数对应的文件夹。 Shake according to the detected parameter and a preset clip file corresponding to a parameter fluctuation, may determine whether the detected fluctuation parameter corresponding to the folder.

[0136] 打开单元5022,用于打开所述对应的文件夹。 [0136] 5022 opening unit for opening said corresponding folder.

[0137] 本发明实施例中,检测到晃动参数,且存在与检测到的晃动参数相对应的文件夹时,可自动打开该对应的文件夹,以供用户对文件夹内的文件进行选择或其他操作。 [0137] embodiment of the present invention, detection of the shaking parameters, and there is the fluctuation parameter detected corresponding folder can automatically open the corresponding folder for the user to the file folder is selected or other operations.

[0138] 确定模块503,用于根据用户的选择操作从所述对应的文件夹中确定待发送文件。 [0138] determination module 503, according to user's selection operation is determined to be sent from the corresponding file folder.

[0139] 在一些可行的实施方式中,打开的文件夹中包含有至少一个文件。 [0139] In some possible embodiments, the open folder contains at least one file. 若用户在文件夹中选择了一个或多个文件,则将用户选择的一个或多个文件作为待发送文件。 If the user selects one or more files in a folder, the user is to select one or more files to be sent as a file.

[0140] 可选地,用户的选择操作可以包括触摸控制屏上的点击操作、滑动操作或悬浮触控操作,也可以包括语音选择操作,例如用户读出文件的名称,移动终端的语音识别模块识别出用户所读的名称,则该名称对应的文件即待发送文件。 [0140] Alternatively, the user's selection operation may include a click operation on the touch control panel, the slide operation or touch operation suspensions may also include a voice selection operation, for example, the user reads out the file name, the speech recognition module of the mobile terminal identifies the read name of the user, the file name corresponds to the file that is to be transmitted.

[0141] 第二设置模块504,用于设置至少一个振动参数以及所述至少一个振动参数对应的无线通信连接类型,其中所述至少一个振动参数中的每个振动参数包括振动时长、振动节奏或振动强度中至少一种,所述对应的无线通信连接类型包括蓝牙连接、无线局域网WLAN直连或近场通信NFC连接。 [0141] The second module 504 is provided for setting the at least one vibration parameter and a wireless communication connection type corresponding to the at least one vibration parameter of each of the at least one vibration parameter of the vibration parameters includes a vibration wherein the duration, rhythm or vibration at least one vibration strength of the corresponding connection types of wireless communication comprises a Bluetooth connection, a wireless local area network WLAN linear or near-field communication NFC connection.

[0142] 在一些可行的实施方式中,振动参数及对应的无线通信连接类型可由移动终端的用户自行设置。 [0142] In some possible embodiments, a wireless communication connection type vibration parameters and the corresponding user may set up their own mobile terminal. 具体实施中,在设置界面可提醒用户对移动终端的接触物进行敲击或击打,移动终端检测到接触物的振动参数并保存,然后提醒用户在移动终端支持的无线通信连接类型中选择一种作为与设置的振动参数相对应的无线通信连接类型。 In particular embodiments, the interface may be provided to alert the user to the contact of the mobile terminal was knocking or striking, the mobile terminal detects a vibration parameter and the contact was saved and then alert the user to select a type of the mobile wireless communication terminal connected to the support species provided as vibration parameters corresponding to the type of wireless communication connection.

[0143] 无线连接模块505,用于检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,其中所述另一移动终端与所述所接触物体相接触。 [0143] wireless connection module 505, contact detection of vibration parameters for the object, and the detected vibration parameters connection establishing radio communication with another mobile terminal, wherein the mobile terminal further contacted with the object in contact .

[0144] 请一并参阅图7,如图7所示,在一些可行的实施方式中,无线连接模块505可包括第二确定单元5051和蓝牙连接单元5052,其中: [0144] Referring to FIG. 7, FIG. 7, in some possible embodiments, the wireless connection module 505 may include a second determining unit 5051 and a Bluetooth unit 5052, wherein:

[0145] 第二确定单元5051,用于根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为蓝牙连接; [0145] The second determining unit 5051, according to the detected vibration parameters, determining the parameters corresponding to the detected vibration wireless communication connection is a Bluetooth connection type;

[0146] 具体实施中,用户预先设置了至少一个振动参数及其对应的无线通信连接类型。 [0146] In particular embodiments, the user sets in advance the wireless communication connection type and the at least one vibration parameter corresponds. 在用户选择一个或多个文件后,若检测到与移动终端相接触的物体的振动,且其振动参数为预先设置的振动参数之一,则可根据预先设置的振动参数及其对应的无线通信连接类型。 After the user selects one or more files, if an object is detected in contact with the vibration of the mobile terminal, and which is one of vibration parameters pre-set parameters of vibration, the vibration can be pre-set parameters and corresponding wireless communication Connection Type.

[0147] 在一些可行的实施方式中,检测到的所接触物体的振动参数所对应的无线通信连接类型为蓝牙连接。 Vibration parameters [0147] In some possible embodiments, the detected contact with the object corresponding to the wireless communication connection is a Bluetooth connection type.

[0148] 蓝牙连接单元5052,用于将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立蓝牙连接。 [0148] Bluetooth connection unit 5052, for vibrating said detected parameters as authentication parameters, establishing a Bluetooth connection with the other mobile terminal.

[0149] 在一些可行的实施方式中,移动终端与另一移动终端同时与某一物体相接触,例如移动终端与另一移动终端放置在同个桌面或架子上。 [0149] In some possible embodiments, the mobile terminal while being in contact with an object and another mobile terminal, such as a mobile terminal and another mobile terminal is placed on the same shelf or desktops. 若上述物体发生振动,与其接触的移动终端和另一移动终端均可检测到振动参数。 If the object is vibrated, its mobile terminal and another mobile terminal of the contact can be detected vibration parameters. 具体实现中,用户可敲击或击打该物体,使之发生振动。 In particular implementations, the user can tap or strike the object, making it vibrate.

[0150] 当该物体发生振动时,上述移动终端和上述另一移动终端检测相同的振动节奏和相近的振动时长,振动强度与振动源的距离有关,可能相近或相差较大。 [0150] When the object is vibrated, said mobile terminal and said another mobile terminal detects the same rhythm and vibrations similar to vibrations long, the vibration from the vibration source intensity related may be similar or quite different. 在一些可行的实施方式中,可将检测到的振动参数按照一定规律转化成鉴权参数,再将该鉴权参数用于蓝牙连接的验证。 In some possible embodiments, may be detected vibration is converted into parameters according to certain rules authentication parameters, authentication parameters and then used to verify the Bluetooth connection. 例如,若检测到接触物有节奏的依次振动了I次、4次、5次、7次、2次,则可将振动参数转换为鉴权参数“ 14572”,上述移动终端和上述另一移动终端验证双方的鉴权参数是否均为“ 14572”,若是,则上述移动终端和上述另一移动终端可建立蓝牙连接。 For example, if the contact was detected sequentially rhythmic vibration of I times, four times, five times, seven times, 2 times, it can be converted to vibration parameters authentication parameter "14572", to the mobile terminal and said another mobile terminal authentication parameters to verify whether the two sides are "14572", and if so, to the mobile terminal and the other mobile terminal can establish a Bluetooth connection.

[0151] 请一并参阅图8,如图8所示,在一些可行的实施方式中,无线连接模块505可包括第三确定单元5053和WLAN直连单元5054,其中: [0151] Referring to FIG. 8, as shown, in some possible embodiments, the wireless connection module 505 may include a third determining unit 5053 and a WLAN Direct unit 50548, wherein:

[0152] 所述无线连接模块505,包括: [0152] 505 the wireless connection module, comprising:

[0153] 第三确定单元5053,用于根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为WLAN直连。 [0153] The third determining unit 5053, according to the detected vibration parameters, wireless communication connection type determination of the vibration parameters corresponding to the detected WLAN is directly connected.

[0154] 具体实施中,用户预先设置了至少一个振动参数及其对应的无线通信连接类型。 [0154] In particular embodiments, the user sets in advance the wireless communication connection type and the at least one vibration parameter corresponds. 在用户选择一个或多个文件后,若检测到与移动终端相接触的物体的振动,且其振动参数为预先设置的振动参数之一,则可根据预先设置的振动参数及其对应的无线通信连接类型。 After the user selects one or more files, if an object is detected in contact with the vibration of the mobile terminal, and which is one of vibration parameters pre-set parameters of vibration, the vibration can be pre-set parameters and corresponding wireless communication Connection Type.

[0155] 本发明实施例中,检测到的所接触物体的振动参数所对应的无线通信连接类型为WLAN直连。 Embodiment [0155] of the present invention, a wireless communication connection type vibration parameters of the object corresponding to the detected WLAN is directly connected to the contact.

[0156] WLAN直连单元5054,用于将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立WLAN直连。 [0156] Direct WLAN unit 5054, for vibrating said detected parameters as authentication parameters, the other mobile terminal and establish a WLAN Direct.

[0157] 在一些可行的实施方式中,移动终端与另一移动终端同时与某一物体相接触,例如移动终端与另一移动终端放置在同个桌面或架子上。 [0157] In some possible embodiments, the mobile terminal while being in contact with an object and another mobile terminal, such as a mobile terminal and another mobile terminal is placed on the same shelf or desktops. 若上述物体发生振动,与其接触的移动终端和另一移动终端均可检测到振动参数。 If the object is vibrated, its mobile terminal and another mobile terminal of the contact can be detected vibration parameters. 具体实现中,用户可敲击或击打该物体,使之发生振动。 In particular implementations, the user can tap or strike the object, making it vibrate.

[0158] 当该物体发生振动时,上述移动终端和上述另一移动终端检测相同的振动节奏和相近的振动时长,振动强度与振动源的距离有关,可能相近或相差较大。 [0158] When the object is vibrated, said mobile terminal and said another mobile terminal detects the same rhythm and vibrations similar to vibrations long, the vibration from the vibration source intensity related may be similar or quite different. 在一些可行的实施方式中,可将检测到的振动参数按照一定规律转化成鉴权参数,再将该鉴权参数用于蓝牙连接的验证。 In some possible embodiments, may be detected vibration is converted into parameters according to certain rules authentication parameters, authentication parameters and then used to verify the Bluetooth connection. 例如,若检测到接触物有节奏的依次振动了I次、4次、5次、7次、2次,则可将振动参数转换为鉴权参数“ 14572”,上述移动终端和上述另一移动终端验证双方的鉴权参数是否均为“ 14572”,若是,则上述移动终端和上述另一移动终端可建立WLAN直连。 For example, if the contact was detected sequentially rhythmic vibration of I times, four times, five times, seven times, 2 times, it can be converted to vibration parameters authentication parameter "14572", to the mobile terminal and said another mobile terminal authentication parameters to verify whether the two sides are "14572", and if so, to the mobile terminal and the other mobile terminal can establish a direct connection WLAN.

[0159] 发送模块506,用于通过所述无线通信连接向所述另一移动终端发送所述待发送文件。 [0159] The sending module 506 is used to send the file to be sent to the other mobile terminal through the wireless communication.

[0160] 具体实现中,确定待发送的文件并与另一移动通信终端建立无线通信连接之后,可通过建立的无线通信连接件待发送文件发送给另一移动终端。 After [0160] In specific implementation, the file is determined to be transmitted and the wireless communication connection is established with another mobile communication terminal, a file can be transmitted via wireless communication connection establishment is transmitted to another mobile terminal.

[0161] 本发明实施例中,移动终端根据检测到的晃动参数打开对应的文件夹,根据用户的选择操作从所述对应的文件夹中确定待发送文件,检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,把待发送文件发送给所述另一移动终端。 Embodiment [0161] In the present invention, the mobile terminal is opened in accordance with the detected fluctuation parameter corresponding to the folder, according to the user's selection operation is determined to be sent from the corresponding file folder, the vibration parameters detected object in contact, and vibration parameters to establish a wireless communication connection with another mobile terminal according to the detection, sending a file to be transmitted to the other mobile terminal. 采用本发明实施例,用户通过简单的晃动操作即可打开移动终端的文件夹,选中文件之后,只需在与移动终端和另一移动终端均有接触的物体上敲击或击打,使该物体发生振动,移动终端即可根据振动参数自动与另一移动终端建立连接,无需用户输入繁复的操作,可提高文件传输的效率和趣味性。 Embodiment of the present invention, the user can operate by simply shaking the mobile terminal is opened folder, then select files, or simply tap on the object striking both in contact with the mobile terminal and another mobile terminal, so that the objects vibrates, the mobile terminal can automatically establish a connection with another mobile terminal according to the vibration parameter, without user input operation complicated, and can improve the efficiency interesting file transfer.

[0162] 本发明实施例中,移动终端为至少一个文件夹设置对应的晃动参数,根据检测到的晃动参数打开对应的文件夹,根据用户的选择操作从所述对应的文件夹中确定待发送文件,检测所接触物体的振动参数,根据检测到的振动参数确定对应的无线通信连接类型,与另一移动终端建立无线通信连接,并通过无线通信连接把待发送文件发送给所述另一移动终端。 Embodiment [0162] In the present invention, the mobile terminal clamp disposed fluctuation parameter corresponding to at least one file, the corresponding folder open according to the detected fluctuation parameter, determined to be transmitted from the corresponding folder according to the user's selection operation vibration parameter file, detecting a contact object, determines that the wireless communication connection types, establish a connection with another mobile radio communication terminal according to the detected vibration parameters, and sends the file to be sent to the other mobile wireless communication connection terminal. 采用本发明实施例,用户通过简单的晃动操作即可打开移动终端的文件夹,选中文件之后,只需在与移动终端和另一移动终端均有接触的物体上敲击或击打,使该物体发生振动,移动终端即可根据振动参数自动与另一移动终端建立无线通信连接,无需用户输入繁复的操作,可提高文件传输的效率和趣味性。 Embodiment of the present invention, the user can operate by simply shaking the mobile terminal is opened folder, then select files, or simply tap on the object striking both in contact with the mobile terminal and another mobile terminal, so that the objects vibrates, the mobile terminal can automatically establish a connection with another mobile radio communication terminal according to the vibration parameter, without user input operation complicated, and can improve the efficiency interesting file transfer.

[0163] 以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 Example [0163] The apparatus described above is merely exemplary, as a unit wherein the separate parts may be or may not be physically separate, parts displayed as units may be or may not be physical units, i.e., it may be located in one place, or may be distributed to multiple network units. 可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。 You can select some or all of the modules according to actual needs to achieve the object of the solutions of the embodiments. 本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。 Those of ordinary skill in the art in the case without creative labor, i.e., can be understood and implemented.

[0164] 本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。 [0164] The procedure of Example of the present invention may be implemented in a method according to actual needs to adjust the order, deletion and merger.

[0165] 本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。 Example modules or units in the apparatus of Embodiment [0165] The present invention may be combined according to actual needs, division and deletion.

[0166] 本发明实施例的模块或模块,可以以通用集成电路(如中央处理器CPU),或以专用集成电路(ASIC)来实现。 Embodiment [0166] embodiment of the present invention, the module or modules, may be a universal integrated circuit (e.g., the CPU central processing unit), or application specific integrated circuit (ASIC) to achieve.

[0167] 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。 [0167] By the above described embodiments, those skilled in the art may clearly understand that the embodiments may be implemented by software plus a necessary universal hardware platform, also be implemented by hardware. 基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如R0M/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。 Based on such understanding, the technical solutions of the above or the part contributing to the prior art may be embodied in a software product out of the computer software product may be stored in a computer-readable storage medium, such as a R0M / RAM, magnetic disk, optical disk, etc., some parts of the various method embodiments or embodiment includes a plurality of instruction execution to enable a computer device (may be a personal computer, a server, or network device).

[0168] 以上所述的实施方式,并不构成对该技术方案保护范围的限定。 [0168] The embodiment described above is not intended to limit the scope of protection of the technical solution. 任何在上述实施方式的精神和原则之内所作的修改、等同替换和改进等,均应包含在该技术方案的保护范围之内。 Any modifications within the spirit and principle of the above embodiments, equivalent alterations and modifications all fall within the scope of protection of the technical solution.

Claims (10)

1.一种文件传输的方法,其特征在于,所述方法包括: 根据检测到的晃动参数打开对应的文件夹; 根据用户的选择操作从所述对应的文件夹中确定待发送文件; 检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,其中所述另一移动终端与所述所接触物体相接触; 通过所述无线通信连接向所述另一移动终端发送所述待发送文件。 1. A method of file transfer, characterized in that the method comprises: opening a folder corresponding to the detected fluctuation parameter; according to user's selection operation is determined to be sent from the corresponding file folder; detecting vibration parameters of the contact object, and the detected vibration parameters establishing radio communication with another mobile terminal according to the connection, wherein the other mobile terminal is in contact with the object in contact; via the wireless communication connection to the other the mobile terminal transmits the file to be sent.
2.根据权利要求1所述的方法,其特征在于,所述根据检测到的晃动参数打开对应的文件夹之前,所述方法还包括: 为至少一个文件夹设置对应的晃动参数,所述晃动参数包括晃动方向、晃动幅度或晃动频率中至少一种; 所述根据检测到的晃动参数打开对应的文件夹,包括: 根据检测到的晃动方向、晃动幅度或晃动频率中至少一种,确定对应的文件夹; 打开所述对应的文件夹。 2. The method according to claim 1, characterized in that, according to the previously detected fluctuation parameter corresponding to the open folder, the method further comprising: clamp disposed fluctuation parameter corresponding to the at least one file, the fluctuation parameters include at least one direction shaking, shaking or vibration amplitude frequency; open the folder corresponding to the detected fluctuation parameter, comprising: a direction according to the detected shake, shaking or vibration amplitude of at least one frequency is determined corresponding to folder; opening the corresponding folder.
3.根据权利要求1所述的方法,其特征在于,所述根据检测到的振动参数与另一移动终端建立无线通信连接,包括: 根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为蓝牙连接; 将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立蓝牙连接。 3. The method according to claim 1, characterized in that the vibration parameters according to the detected mobile terminal establishing radio communication with another connector, comprising: a parameter according to the detected vibrations, determining the detected vibration parameters corresponding wireless communications connection is a Bluetooth connection type; the detected vibration parameters as authentication parameters, establishing a Bluetooth connection with the other mobile terminal.
4.根据权利要求1所述的方法,其特征在于,所述根据检测到的振动参数与另一移动终端建立无线通信连接,包括: 根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为WLAN直连; 将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立WLAN直连。 4. The method according to claim 1, characterized in that the vibration parameters according to the detected mobile terminal establishing radio communication with another connector, comprising: a parameter according to the detected vibrations, determining the detected vibration parameters corresponding to the WLAN type wireless communication connection direct; the detected vibration parameters as authentication parameters, and the other mobile terminal establishes a direct connection WLAN.
5.根据权利要求3或4任一项所述的方法,其特征在于,所述检测所接触物体的振动参数之前,所述方法还包括: 设置至少一个振动参数以及所述至少一个振动参数对应的无线通信连接类型,其中所述至少一个振动参数中的每个振动参数包括振动时长、振动节奏或振动强度中至少一种,所述对应的无线通信连接类型包括蓝牙连接、无线局域网WLAN直连或近场通信NFC连接。 The method according to any one of claim 3 or claim 4, wherein said vibration detection parameters before contacting the object, the method further comprising: at least one vibration parameter and the parameter corresponding to the at least one vibration a wireless communication connection type, wherein each of said at least one vibration parameter of the vibration parameters includes a vibration length of time, a vibration or a vibration intensity of rhythm at least one of the corresponding type of wireless communication connection comprises a Bluetooth connection, a wireless local area network WLAN direct a near field communication or NFC connection.
6.一种移动终端,其特征在于,所述移动终端包括: 打开模块,用于根据检测到的晃动参数打开对应的文件夹; 确定模块,用于根据用户的选择操作从所述对应的文件夹中确定待发送文件; 无线连接模块,用于检测所接触物体的振动参数,并根据检测到的振动参数与另一移动终端建立无线通信连接,其中所述另一移动终端与所述所接触物体相接触; 发送模块,用于通过所述无线通信连接向所述另一移动终端发送所述待发送文件。 A mobile terminal, wherein said mobile terminal comprises: opening means for opening the corresponding parameters according to the detected shake folder; determining module, according to a selection operation by the user for the file from the corresponding determining a file folder to be transmitted; wireless connection module, a vibration detecting a contact object parameters, and is connected to the detected vibration parameters establishing radio communication with another mobile terminal, wherein the mobile terminal and the other in contact object in contact; transmitting means for transmitting the connection file to be sent to the other mobile terminal through the wireless communication.
7.根据权利要求6所述的移动终端,其特征在于,所述移动终端还包括: 第一设置模块,用于为至少一个文件夹设置对应的晃动参数,所述晃动参数包括晃动方向、晃动幅度或晃动频率中至少一种; 所述打开模块,包括: 第一确定单元,用于根据检测到的晃动方向、晃动幅度或晃动频率中至少一种,确定对应的文件夹; 打开单元,用于打开所述对应的文件夹。 The mobile terminal according to claim 6, wherein said mobile terminal further comprises: a first setting means for setting clip fluctuation parameter corresponding to the at least one file, said shaking comprises shaking direction parameter, the fluctuation or amplitude of at least one frequency fluctuation; the opening module, comprising: a first determining unit for detecting the direction of shaking, shaking or vibration amplitude of at least one frequency, determining the corresponding folder; opening unit, with corresponding to the open folder.
8.根据权利要求6所述的移动终端,其特征在于,所述无线连接模块,包括: 第二确定单元,用于根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为蓝牙连接; 蓝牙连接单元,用于将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立蓝牙连接。 Determining a second wireless communication unit, according to the detected vibration parameters, determining the detected vibration parameters corresponding to: a mobile terminal according to claim 6, wherein the wireless connection module, comprising Bluetooth connection type; Bluetooth connection means for vibrating said detected parameters as authentication parameters, establishing a Bluetooth connection with the other mobile terminal.
9.根据权利要求6所述的移动终端,其特征在于,所述无线连接模块,包括: 第三确定单元,用于根据检测到的振动参数,确定所述检测到的振动参数对应的无线通信连接类型为WLAN直连; WLAN直连单元,用于将所述检测到的振动参数作为鉴权参数,与所述另一移动终端建立WLAN直连。 The mobile terminal according to claim 6, wherein the wireless connection module, comprising: a third determining unit for detecting the vibration parameters, determining the wireless communication parameters of the detected vibration corresponding direct connection type is WLAN; WLAN direct means for vibrating said detected parameters as authentication parameters, the other mobile terminal and establish a WLAN direct.
10.根据权利要求8或9任一项所述的移动终端,其特征在于,所述移动终端还包括: 第二设置模块,用于设置至少一个振动参数以及所述至少一个振动参数对应的无线通信连接类型,其中所述至少一个振动参数中的每个振动参数包括振动时长、振动节奏或振动强度中至少一种,所述对应的无线通信连接类型包括蓝牙连接、无线局域网WLAN直连或近场通信NFC连接。 A second wireless module is provided for setting the at least one vibration parameter and the at least one vibration parameter corresponding to: a mobile terminal according to claim 8 or any one of claims 9, wherein the mobile terminal further comprises a communication connection type, wherein each of said at least one vibration parameter of the vibration parameters includes a vibration length of time, a vibration or a vibration intensity of rhythm at least one of the corresponding type of wireless communication connection comprises a Bluetooth connection, a wireless local area network WLAN linear or near field communication (NFC) connection.
CN201510401554.7A 2015-07-08 2015-07-08 File transmission method and mobile terminal CN105101056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510401554.7A CN105101056A (en) 2015-07-08 2015-07-08 File transmission method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510401554.7A CN105101056A (en) 2015-07-08 2015-07-08 File transmission method and mobile terminal

Publications (1)

Publication Number Publication Date
CN105101056A true CN105101056A (en) 2015-11-25

Family

ID=54580413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510401554.7A CN105101056A (en) 2015-07-08 2015-07-08 File transmission method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105101056A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070188323A1 (en) * 2006-01-26 2007-08-16 Microsoft Corporation Motion Detection Notification
CN101489197A (en) * 2009-01-22 2009-07-22 中国科学院计算技术研究所 Method and system for data transmission between electronic devices
WO2010023459A1 (en) * 2008-09-01 2010-03-04 Anthony Richard Hardie-Bick Apparatus and method for initiating data transfer
CN102273184A (en) * 2008-12-30 2011-12-07 摩托罗拉移动公司 A method and apparatus for the paired device
CN102710301A (en) * 2011-01-25 2012-10-03 索尼移动通信日本株式会社 Connection method for near field communication
CN103023540A (en) * 2012-12-28 2013-04-03 广东欧珀移动通信有限公司 Method and device for transferring files by Bluetooth
CN103885896A (en) * 2012-12-20 2014-06-25 联想(北京)有限公司 Method for matching equipment and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070188323A1 (en) * 2006-01-26 2007-08-16 Microsoft Corporation Motion Detection Notification
WO2010023459A1 (en) * 2008-09-01 2010-03-04 Anthony Richard Hardie-Bick Apparatus and method for initiating data transfer
CN102273184A (en) * 2008-12-30 2011-12-07 摩托罗拉移动公司 A method and apparatus for the paired device
CN101489197A (en) * 2009-01-22 2009-07-22 中国科学院计算技术研究所 Method and system for data transmission between electronic devices
CN102710301A (en) * 2011-01-25 2012-10-03 索尼移动通信日本株式会社 Connection method for near field communication
CN103885896A (en) * 2012-12-20 2014-06-25 联想(北京)有限公司 Method for matching equipment and electronic equipment
CN103023540A (en) * 2012-12-28 2013-04-03 广东欧珀移动通信有限公司 Method and device for transferring files by Bluetooth

Similar Documents

Publication Publication Date Title
CN103456306B (en) A method and apparatus for performing speech commands in the electronic device
KR20160045635A (en) Electronic device using logical channels for communication
CN102232211B (en) Handheld terminal device user interface automatic switching method and handheld terminal device
JP4944197B2 (en) Method and system for transferring data from a portable device
JP5868497B2 (en) Create custom vibration patterns according to user input
KR20140128039A (en) Method And Apparatus For Performing Communication Service
JP2004227567A (en) Implementation of second computer system as interface for first computer system
CN104335642A (en) Smart battery wear leveling for audio devices
KR101610454B1 (en) Data transmission method and apparatus, and terminal with touch screen
CN101889431A (en) Interacting with devices based on physical device-to-device contact
KR20150090155A (en) Sharing of information common to two mobile device users over a near-field communication (nfc) link
RU2667717C2 (en) Environmentally aware dialog policies and response generation
CN105138229A (en) Information processing method and electronic equipment
CN103648180A (en) Method and device for sharing files between terminal devices
RU2625266C1 (en) Multi-mode wearable wireless microphone
KR20150013860A (en) Clientless cloud computing
AU2014275251A1 (en) Task continuance across devices
CN104283843A (en) User login method, device and system
WO2015043198A1 (en) Method, device and system for controlling access to router
CN102231865B (en) Bluetooth earphone
EP3317802B1 (en) System and method for securely connecting to a peripheral device
US9082413B2 (en) Electronic transaction authentication based on sound proximity
CN104125216A (en) Method, system and terminal capable of improving safety of trusted execution environment
CN105007369A (en) Information prompting method and mobile terminal
CN106020987A (en) Method and device for determining kernel running configurations in processor

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination