WO2015196727A1 - 文件传输方法、装置、终端、可穿戴设备及存储介质 - Google Patents

文件传输方法、装置、终端、可穿戴设备及存储介质 Download PDF

Info

Publication number
WO2015196727A1
WO2015196727A1 PCT/CN2014/092203 CN2014092203W WO2015196727A1 WO 2015196727 A1 WO2015196727 A1 WO 2015196727A1 CN 2014092203 W CN2014092203 W CN 2014092203W WO 2015196727 A1 WO2015196727 A1 WO 2015196727A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
electronic device
transmission
hardware
detection result
Prior art date
Application number
PCT/CN2014/092203
Other languages
English (en)
French (fr)
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 US15/320,758 priority Critical patent/US20170163715A1/en
Priority to EP14896104.8A priority patent/EP3160110B1/en
Publication of WO2015196727A1 publication Critical patent/WO2015196727A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/385Transceivers carried on the body, e.g. in helmets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present invention relates to the field of file transmission control, and in particular, to a file transmission method, device, terminal, wearable device, and computer storage medium.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories.
  • existing wearable device products include smart watches, smart glasses, smart bracelets and the like.
  • information transfer and sharing between the wearable device and the mobile terminal is a function that users often use.
  • Almost all wearable devices have the ability to communicate with mobile phones, and related communications are typically implemented via Bluetooth, wireless fidelity wifi, or near field communication nfc.
  • the user interface of the wearable device is affected by the area of the display area and the shape of the device. It is usually not convenient for the user to directly operate manually.
  • the existing Google glass is operated by voice control, while the existing smart watches are more Operate with the touch screen and the buttons on the side of the watch.
  • each file transfer reflects the user's own requirements for the file to a certain extent, although the user can quickly find the file to be transferred on the touch screen or keyboard of the mobile phone, but on the wearable device. Due to limitations of the screen and the operation interface, the cumbersome file path confirmation operation often causes the user to feel headache and inefficiency, and is easy to make mistakes and the user experience is poor.
  • an embodiment of the present invention provides a file transmission side.
  • the method, the device, the terminal, the wearable device and the computer storage medium can realize the automatic transmission of the file, and solve the problem of inefficiency and poor user experience due to the cumbersome operation of the file path confirmation operation.
  • An embodiment of the present invention provides a file transmission method, which is applied to a first electronic device, where the method includes:
  • the first detection result is used to indicate that the automatic transmission file condition is satisfied between the first electronic device and the second electronic device, the first file having the predetermined file attribute is selected, and the first file is transmitted.
  • the condition that the automatic transmission file is satisfied is that the first electronic device and the second electronic device are connected by using a first communication manner;
  • the predetermined file attribute is in a preset first position or a preset first file type.
  • the method when the first detection result is used to indicate that the automatic transmission file condition is satisfied between the first electronic device and the second electronic device, the method further includes:
  • the first file having the predetermined file attribute is selected, and the first file is transmitted such that the first file starts transmission between the first electronic device and the second electronic device.
  • the first hardware is a first button or a light sensor preset for the first electronic device to initiate file transmission.
  • the method when the first detection result is used to indicate that the automatic transmission file condition is satisfied between the first electronic device and the second electronic device, the method further includes:
  • the second hardware characterizing the second electronic device is in a second state preset for initiating file transfer
  • the method further includes:
  • the first file having the predetermined file attribute is directly selected, and the first file is transmitted in the first transmission direction.
  • the third hardware is a light sensor, a screen of the first electronic device, or at least one of the second buttons used by the first electronic device to set the first transmission direction.
  • the method further includes:
  • the embodiment of the invention further provides a file transmission device, which is applied to a first electronic device, the device comprising:
  • a first detecting module configured to detect whether an automatic transmission file condition is met between the first electronic device and the second electronic device, and obtain a first detection result
  • a file transmission module configured to: when the first detection result generated by the first detection module is used to indicate that the automatic transmission file condition is satisfied between the first electronic device and the second electronic device, select a file having a predetermined file attribute a file and transmitting the first file.
  • the automatic transmission file condition is connected by using the first communication method
  • the predetermined file attribute is in a preset first position or a preset first file type.
  • the device further includes:
  • a second detecting module configured to detect whether the first hardware of the first electronic device is in a first state of a preset startup file transmission, and obtain a second detection result
  • the file transmission module includes: a first transmission submodule configured to select a first file having a predetermined file attribute when the second detection result is used to indicate that the first hardware is in the first state And transfer the first file.
  • the first hardware is a first button or a light sensor preset for the first electronic device to initiate file transmission.
  • the device further includes:
  • a first receiving module configured to receive a third detection result sent by the second electronic device, where the third detection result is used to indicate that the second hardware of the second electronic device is in a preset setting for starting file transmission Two states
  • the file transmission module includes:
  • a second transmission submodule configured to: after receiving the third detection result, select a first file having a predetermined file attribute, and transmit the first file.
  • the device further includes:
  • a determining module configured to determine, according to the third state of the third hardware on the first electronic device, a first transmission direction for transmitting the first file
  • the file transmission module includes: a third transmission submodule configured to select a first file having a predetermined file attribute, and transmit the first file according to the first transmission direction.
  • the third hardware is a light sensor, a screen of the first electronic device, or at least one of the second buttons used by the first electronic device to set the first transmission direction.
  • the device further includes:
  • a second receiving module configured to receive, by the second electronic device, transmission direction information that carries a first transmission direction, where the first transmission direction is according to a fourth state of the fourth hardware disposed on the second electronic device determine;
  • the file transmission module includes: a fourth transmission submodule configured to select a first file having a predetermined file attribute, and transmit the first file according to the first transmission direction carried in the transmission direction information.
  • An embodiment of the present invention further provides a terminal, where the terminal includes the foregoing file transmission device.
  • the embodiment of the invention further provides a wearable device, which comprises the aforementioned file transmission device.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing file transmission method.
  • the file in the first location or the file in the first file type is pre-specified as the first file that satisfies the predetermined file attribute, and when the automatic transmission file condition is met between the two electronic devices, the automatic transmission is started. a file.
  • FIG. 1 is a schematic flowchart of a file transmission method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of another file transmission method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a method for implementing file transmission by an optical sensor according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a synchronization data type selection and a post-synchronization processing interface according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a file transmission apparatus according to an embodiment of the present invention.
  • An embodiment of the present invention provides a file transmission method, which is applied to a first electronic device.
  • the method is as shown in FIG. 1 and includes:
  • Step 11 Detect whether an automatic transmission file condition is met between the first electronic device and the second electronic device, and obtain a first detection result
  • Step 12 When the first detection result is used to indicate that the automatic transmission file condition is satisfied between the first electronic device and the second electronic device, selecting a first file having a predetermined file attribute, and transmitting the first file .
  • the first file automatically transmitted here is not temporarily specified during transmission, but is a file that has been set in advance and has predetermined file attributes, as long as the first electronic device and the second electronic device satisfy the automatic
  • the first file is automatically transferred when the file condition is transferred. Users no longer need to find files to be transferred, which can automatically complete automatic file transfer and improve user experience.
  • the first electronic device is a terminal
  • the second electronic device is a wearable device
  • the first electronic device is a wearable device
  • the second electronic device is a terminal
  • the two electronic devices are both terminals, or the same Wear the device.
  • the automatic transfer file condition is connected by the first communication method
  • the predetermined file attribute is in a preset first position or is a preset first file type.
  • the first communication method it may be Bluetooth, wifi or near field communication.
  • other communication methods may be used as long as the communication function between the first electronic device and the second electronic device can be performed for file transmission.
  • the first file having the predetermined file attribute may be preset in the first electronic device (or The file on the first location of the two electronic devices, for example, the file previously specified on the desktop of the first electronic device (or the second electronic device) is the first file that can be automatically transferred.
  • the first file having the predetermined file attribute may also be a file of a first file type specified in advance, and the first file type may be at least one of a business card, a picture, an audio, a video, a short message, or a call record.
  • the first position of the first file to be transmitted may be preset by the user, or the first file type may be selected or edited.
  • the user here is preferably a user who holds both the first electronic device and the second electronic device.
  • file transmission may be initiated by the user to perform some shortcut operations on the electronic device.
  • the first file having the predetermined file attribute is selected, and the selected first file is transmitted to the second electronic device. This can be achieved in the following two ways.
  • the user initiates file transfer by using the first electronic device, that is, the method further includes:
  • the first hardware is a first button or a light sensor preset for the first electronic device to initiate file transmission.
  • the user can preset the start condition of the file transfer, such as when a button is pressed and held, that the button is pressed for a certain length of time, or the light sensor disposed on the first electronic device is continuously blocked. Two light senses determine that a file transfer needs to be initiated. So, the first A state may be that the first button is in a long hold state, or the light sensor may be in a state of being continuously blocked twice in a light sense, selecting a first file having a predetermined file attribute, and transmitting the first file to make it The transmission begins between the first electronic device and the second electronic device.
  • the first button may be multiplexed with an original button in the first electronic device, such as a volume adjustment button, a display interface back button, or the like, or an additional button may be added as the first button.
  • boot file transfer it may also be determined whether to initiate file transfer by detecting whether other hardware of the first electronic device is in a designated first state. After the two electronic devices are connected by the first communication mode, the first electronic device detects that the first hardware is in the first state, and then starts transmitting the first file between the two electronic devices.
  • the transmission of the file can be initiated by the second electronic device being activated.
  • the specific method is as follows:
  • the user initiates the file transfer by using the second electronic device, and the first electronic device needs to be notified to start the file transfer after the startup, that is, the method further includes:
  • the first file having the predetermined file attribute is selected, and the first file is transmitted to the second electronic device.
  • the second electronic device detects the state of its second hardware and determines that the first electronic device is notified after the file transfer needs to be initiated.
  • the user can preset which electronic device initiates file transfer.
  • the second hardware and the second state of the second electronic device may refer to the foregoing first electronic device.
  • the first hardware and the first state are understood; at the same time, the method for the second electronic device to detect that the second hardware of the second device is in the predetermined second state may refer to the foregoing first electronic device to detect that the first hardware of the user is in the predetermined first state. The way to understand.
  • the direction of file transfer in addition to starting the file transfer by detecting the state of the electronic device hardware, can also be automatically controlled.
  • the control of the file transfer direction can also be determined by the first electronic device or the second electronic device.
  • the method further includes:
  • the selected first file having the predetermined file attribute is transmitted according to the first transmission direction.
  • the third hardware is a light sensor, a screen or at least one second button for characterizing the first transmission direction; the second button may be multiplexed with a volume adjustment button in the first electronic device, and may additionally be set Multiple buttons for characterizing different directions of transmission.
  • the transmission direction of the file may be determined according to a screen activation state on the first electronic device, a sensing state of the light sensor, or a specific state of the second button.
  • the state of the corresponding device is first detected by the first electronic device before the file is transmitted. Specifically, it may be detected whether the screen of the first electronic device itself is in a lighting state, the size of the light illumination value obtained by the light sensor is detected, or whether the second button is long pressed or the like is detected.
  • the status information is converted into a control code transmission, and the first electronic device knows whether it needs to actively transmit the file or passively wait for reception.
  • the first electronic device is a terminal, it is also possible to determine the first file transfer direction by whether the stylus is pulled out.
  • the file transfer direction can also be determined by the second electronic device. The details are as follows.
  • the method further includes:
  • the fourth hardware and the fourth state of the second electronic device may be understood by referring to the third hardware and the third state of the foregoing first electronic device, and the process of determining the file transmission direction by the second electronic device is determined by the foregoing first electronic device.
  • the file transfer direction is similar and will not be described here. After the second electronic device determines the first file transmission direction, the first electronic device is notified, so that the first electronic device determines whether it needs to actively transmit the file or passively waits for the reception.
  • the above file transmission method will be described in detail below by taking the first electronic device as the terminal and the second electronic device as the wearable device as an example.
  • the first electronic device determines whether to initiate file transfer, and the second electronic device determines a file transfer direction, and the specific file transfer method includes:
  • Step 21 Detect whether the first electronic device and the second electronic device are connected by using the first communication manner
  • Step 22 When the first electronic device and the second electronic device are connected by using the first communication manner, file transmission is started on the first electronic device (terminal), and the startup file transmission is different from the transmission of the existing selected file.
  • the startup mode does not need to select a file, and can be implemented very simply and conveniently by a one-touch operation or a predetermined operation of a specific first key;
  • Step 23 After receiving the information about the transmission of the startup file sent by the first electronic device (terminal), the second electronic device (the wearable device) first queries the state of the hardware of the device, for example, queries the set light sensor to the external light. Sensing value, whether the screen is lit, whether a button is operated by the user within a specified time, etc.;
  • Step 24 it is determined whether the detected hardware is in a corresponding predetermined state, if yes, step 25 is performed, otherwise step 26 is performed;
  • Step 25 The first electronic device (terminal) sends a first file of a specified type and/or a first file at a specified location to the second electronic device (the wearable device);
  • Step 26 the second electronic device (wearable device) sends a first file of a specified type and a first file at a specified location to the first electronic device (terminal);
  • step 27 the automatic transfer of the file ends.
  • a specified type and/or a file at a specified location is a first file that satisfies a predetermined file attribute, and when two electronic devices satisfy an automatic transfer file condition, that is, when connected by the first communication method, It is also possible to determine whether the automatic transmission of the startup file is required by detecting the state of a certain hardware of any one of the two electronic devices. Further, the direction of the file transmission is determined by the state of the designated hardware of any electronic device, thereby being faster, Conveniently complete automatic file transfer to enhance user experience.
  • whether the startup of the file transfer or the selection of the transfer direction can be completed by a simple one-button operation, and can be completed by a plurality of different hardware (devices).
  • an exemplary embodiment of the function is accomplished by means of a light sensor.
  • the wearable device 32 On the mobile terminal 31, there are side keys 33, a light sensor 34 and a screen 35; the wearable device 32 has a button 36, a light sensor 37 and a screen 38.
  • the side button 33 on the mobile terminal 31 is pressed and simultaneously
  • the sensor 34 is blocked (according to normal usage habits, generally used
  • the side button the light sensor is not hidden by unintentional misoperation, so in this embodiment, both can occur as a user's conscious operation, and the mobile terminal 31 considers that the user initiates the file transfer operation.
  • a file transfer request is sent to the wearable device 32.
  • the wearable device 32 After receiving the file transmission request sent by the mobile terminal 31, the wearable device 32 checks whether its own light sensor 37 is occluded within a time range, and if the light sensor 37 is occluded, it determines that the file transmission direction is from the mobile terminal 31. To the wearable device 32, the corresponding control code is transmitted to the mobile terminal 31; conversely, if the light sensor 37 of the wearable device is not occluded, it is determined that the file transfer direction is from the wearable device 32 to the mobile terminal 31.
  • the transmitting party transmits the specific file location and/or the specific type of file to the recipient according to a prior agreement.
  • some predetermined files such as audio, images, text, business cards, information, and the like
  • the operation is very simple. For example, the user only needs to place the mobile terminal and the surface of the wearable device face to face, so that the light sensor of both sides is blocked by the other party, and then press the corresponding button on the terminal to realize the specific file from the mobile terminal to the
  • the synchronization of the wearable device is very convenient.
  • the light sensor can still sense the external light source, and the synchronization of the specific file from the wearable device to the mobile terminal can be quickly realized.
  • the direction of file transmission may also be determined according to the state of other devices, for example, according to whether the screen is activated: if the first electronic device initiates file transmission, the screen of the second electronic device is activated.
  • the direction of file transfer is transmitted from the second electronic device to the first electronic device, and when the screen of the second electronic device is in the inactive state, the file transfer direction is transmitted from the first electronic device to the second electronic device.
  • This method is simpler, and if the user needs to transfer a specific file from the first electronic device to the second electronic device, it is not necessary to perform any operation on the second electronic device.
  • FIG. 4 is a diagram showing a user operation interface for setting which file is automatically transmitted before file transmission occurs in the embodiment of the present invention, and an embodiment of the processing interface after transmission.
  • the pedometer is a common feature on many wearable devices, especially smart watches, wristbands and the like. Sometimes the user needs to synchronize such work data of the wearable device to the mobile phone terminal for further operation and sharing. Therefore, in the embodiment, the pedometer, the body temperature, the pulse, and other pictures and audios can be synchronized to the file type of the mobile terminal 42 by the method provided by the embodiment of the present invention.
  • FIG. 4 is selected by default. Pedometer data.
  • the wearable device may Automatically send your own pedometer work record to the specified folder of the mobile terminal.
  • the mobile terminal After the mobile terminal receives the pedometer record, it can share it, edit the short message, generate a walking route, and the like, which is very convenient.
  • the embodiment of the present invention further provides a file transmission device, which is applied to a first electronic device.
  • the device as shown in FIG. 5, includes: a first detection module 51 and a file transmission module 52;
  • the first detecting module 51 is configured to detect whether an automatic transmission file condition is met between the first electronic device and the second electronic device, and obtain a first detection result;
  • the file transmission module 52 is configured to: when the first detection result generated by the first detection module 50 is used to indicate that the automatic transmission file condition is satisfied between the first electronic device and the second electronic device, the selection has a predetermined The first file of the file attribute, and the first file is transferred.
  • the automatic transfer file condition is connected by the first communication method
  • the predetermined file attribute is a preset first file type or a preset first file type.
  • the device further includes:
  • a second detecting module configured to detect whether the first hardware of the first electronic device is in a first state of a preset startup file transmission, and obtain a second detection result
  • the file transmission module 52 further includes a first transmission submodule
  • the first transmission submodule is configured to select, when the second detection result generated by the second detection module is used to indicate that the first hardware is in the first state, select a first file attribute a file and transmitting the first file.
  • the first hardware is a first button or a photo sensor preset for the first electronic device to initiate file transfer.
  • the device further includes:
  • a first receiving module configured to receive a third detection result sent by the second electronic device, where the third detection result is used to indicate that the second hardware of the second electronic device is in a preset setting for starting file transmission Two states
  • the file transfer module 52 further includes:
  • a second transmission submodule configured to: after receiving the third detection result, select a first file having a predetermined file attribute, and output the first file, so that the first file is in the first electronic device The transmission starts with the second electronic device.
  • the device further includes:
  • a determining module configured to determine, according to the third state of the third hardware on the first electronic device, a first transmission direction for transmitting the first file
  • the file transfer module 52 further includes:
  • a third transmission submodule configured to select a first file having a predetermined file attribute, and transmit the first file according to the first file transmission direction, so that the first file is in the first electronic The transmission starts between the device and the second electronic device.
  • the third hardware is a light sensor, a screen of the first electronic device, or at least one of the first electronic device for setting a second button in the first transmission direction .
  • the device further includes:
  • a second receiving module configured to receive, by the second electronic device, transmission direction information that carries a first transmission direction, where the first transmission direction is according to a fourth state of the fourth hardware disposed on the second electronic device determine;
  • the file transfer module 52 further includes:
  • a fourth transmission sub-module configured to select a first file having a predetermined file attribute, and transmit the first file according to the first transmission direction carried in the transmission direction information, so that the first file is in the first electronic device The transmission starts with the second electronic device.
  • the first detecting module 51 and the file transfer module 52 may be configured by a central processing unit (CPU), or a digital signal processing (DSP), or a microprocessor (MPU, Micro). Processor Unit), or Field Programmable Gate Array (FPGA), etc.; the CPU, DSP, MPU, and FPGA can be built in a terminal or a wearable device.
  • CPU central processing unit
  • DSP digital signal processing
  • MPU microprocessor
  • FPGA Field Programmable Gate Array
  • the embodiment of the present invention further provides a terminal, where the terminal includes the file transmission device according to any one of the above items.
  • the embodiment of the invention further provides a wearable device, comprising the file transmission device according to any one of the preceding claims.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing file transmission method.
  • embodiments of the present invention can be provided as a method, system, Or a computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the automatic transmission file condition when the automatic transmission file condition is satisfied between two electronic devices, The automatic transmission of the file in the first position or the file of the first file type is automatically transmitted, and the automatic transmission of the file is realized, which solves the problem of inefficiency and poor user experience due to the cumbersome operation of the file path confirmation operation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供了一种文件传输方法、装置、终端、可穿戴设备和计算机存储介质,其中,所述方法包括:检测所述第一电子设备与第二电子设备之间是否满足自动传输文件条件,获得第一检测结果;当所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,选择具有预定文件属性的第一文件,并传输所述第一文件。

Description

文件传输方法、装置、终端、可穿戴设备及存储介质 技术领域
本发明涉及文件传输控制领域,尤其涉及一种文件传输方法、装置、终端、可穿戴设备及计算机存储介质。
背景技术
可穿戴设备是一种直接穿在身上,或是整合到用户衣服或配件上的便携式设备。目前在穿戴式技术领域中,现有的可穿戴设备产品包括智能手表、智能眼镜、智能手环等。作为常用的两种便携式电子设备,可穿戴设备与手机终端之间的信息传递与共享是用户会常常使用到的功能。几乎所有的可穿戴设备都具有与手机进行通信的功能,相关的通信通常通过蓝牙、无线保真wifi或近场通信nfc而实现。
可穿戴设备的用户操作界面受到显示区域面积以及设备形状的影响,通常不便于用户直接手动操作,例如在智能眼镜上,已有的谷歌glass采用声控的方式进行操作,而现有智能手表则多借助触控屏与手表侧面的按键进行操作。
在利用可穿戴设备进行文件传输时,通常是先对传输文件进行选择,再将文件进行传输。这种方式的优点在于每次文件传输均在一定程度上反映了用户自身对文件的需求,虽然用户可以在手机的触控屏或键盘上可快速找到需要传输的文件,但在可穿戴设备上,由于屏幕和操作界面的限制,繁琐的文件路径确认操作常常会令用户感到头疼且效率低下,而且容易出错,用户体验较差。
发明内容
为解决现有存在的技术问题,本发明实施例在于提供一种文件传输方 法、装置、终端、可穿戴设备及计算机存储介质,可实现文件的自动传输,解决由于文件路径确认操作繁琐而导致的效率低下,用户体验度较差的问题。
本发明实施例提供了一种文件传输方法,应用于第一电子设备中,所述方法包括:
检测所述第一电子设备与第二电子设备之间是否满足自动传输文件条件,获得第一检测结果;
当所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,选择具有预定文件属性的第一文件,并传输所述第一文件。
上述方案中,所述满足所述自动传输文件条件为检测为所述第一电子设备与第二电子设备之间通过第一通信方式连接;
所述预定文件属性为处于预先设定的第一位置或预先设定的第一文件类型。
上述方案中,当所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,所述方法还包括:
检测所述第一电子设备的第一硬件是否处于预先设定的用于启动文件传输的第一状态,获得第二检测结果;
选择具有预定文件属性的第一文件,传输所述第一文件,以使第一文件在所述第一电子设备与第二电子设备之间开始传输。
上述方案中,所述第一硬件为所述第一电子设备预先设定的用于启动文件传输的第一按键或光传感器。
上述方案中,当所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,所述方法还包括:
接收所述第二电子设备发送的第三检测结果,所述第三检测结果用于 表征第二电子设备的第二硬件处于预先设定的用于启动文件传输的第二状态;
在接收到所述第三检测结果后,选择具有预定文件属性的第一文件,以使第一文件在所述第一电子设备与第二电子设备之间开始传输。
上述方案中,所述方法还包括:
根据所述第一电子设备上第三硬件的第三状态,确定传输所述第一文件的第一传输方向;
直接选择具有预定文件属性的第一文件,按照所述第一传输方向传输第一文件。
上述方案中,所述第三硬件为光传感器、所述第一电子设备的屏幕或所述第一电子设备用于设定所述第一传输方向的第二按键中的至少一个。
上述方案中,所述方法还包括:
接收所述第二电子设备发送的携带第一传输方向的传输方向信息,所述第一传输方向根据设置在所述第二电子设备上的第四硬件的第四状态确定;
选择具有预定文件属性的第一文件,按照所述传输方向信息中携带的所述第一传输方向传输第一文件。
本发明实施例还提供了一种文件传输装置,应用于第一电子设备中,所述装置包括:
第一检测模块,配置为检测所述第一电子设备与第二电子设备之间是否满足自动传输文件条件,获得第一检测结果;
文件传输模块,配置为当所述第一检测模块所生成的第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,选择具有预定文件属性的第一文件,并传输所述第一文件。
上述方案中,所述自动传输文件条件为通过第一通信方式连接;
所述预定文件属性为处于预先设定的第一位置或预先设定的第一文件类型。
上述方案中,所述装置还包括:
第二检测模块,配置为检测所述第一电子设备的第一硬件是否处于预先设定的启动文件传输的第一状态,获得第二检测结果;
相应的,所述文件传输模块包括:第一传输子模块,配置为当所述第二检测结果用于表征所述第一硬件处于所述第一状态时,选择具有预定文件属性的第一文件,并传输第一文件。
上述方案中,所述第一硬件为所述第一电子设备预先设定的用于启动文件传输的第一按键或光传感器。
上述方案中,所述装置还包括:
第一接收模块,配置为接收所述第二电子设备发送的第三检测结果,所述第三检测结果用于表征第二电子设备的第二硬件处于预先设定的用于启动文件传输的第二状态;
相应的,所述文件传输模块,包括:
第二传输子模块,配置为在接收到所述第三检测结果后,选择具有预定文件属性的第一文件,并传输第一文件。
上述方案中,所述装置还包括:
确定模块,配置为根据所述第一电子设备上第三硬件的第三状态,确定传输所述第一文件的第一传输方向;
相应的,所述文件传输模块,包括:第三传输子模块,配置为选择具有预定文件属性的第一文件,按照所述第一传输方向传输第一文件。
上述方案中,所述第三硬件为光传感器、所述第一电子设备的屏幕或所述第一电子设备用于设定所述第一传输方向的第二按键中的至少一个。
上述方案中,所述装置还包括:
第二接收模块,配置为接收所述第二电子设备发送的携带第一传输方向的传输方向信息,所述第一传输方向根据设置在所述第二电子设备上的第四硬件的第四状态确定;
相应的,所述文件传输模块,包括:第四传输子模块,配置为选择具有预定文件属性的第一文件,并按照所述传输方向信息中携带的所述第一传输方向传输第一文件。
本发明实施例还提供了一种终端,所述终端包括前述的文件传输装置。
本发明实施例还提供了一种可穿戴设备,所述设备包括前述的文件传输装置。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的文件传输方法。
在本发明实施例中,预先指定处于第一位置的文件或第一文件类型的文件为满足预定文件属性的第一文件,当两个电子设备之间满足自动传输文件条件时,开始自动传输第一文件。且在本发明实施例中,可以通过检测两个电子设备中任一个的某一硬件的状态判断是否需要启动文件的自动传输,进一步地,还可以通过任一电子设备的指定硬件的状态确定文件传输的方向,从而更快速、便捷地完成文件自动传输,提升用户体验。
附图说明
图1为本发明实施例提供的一种文件传输方法的流程示意图;
图2为本发明实施例提供的另一种文件传输方法的流程示意图;
图3为本发明实施例提供的光传感器实现文件传输时的示意图;
图4为本发明实施例提供的同步数据类型选择以及同步后处理界面的示意图;
图5为本发明实施例提供的文件传输装置的结构示意图。
具体实施方式
为使本发明实施例要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
本发明实施例提供了一种文件传输方法,应用于第一电子设备中,所述方法如图1所示,包括:
步骤11,检测所述第一电子设备与第二电子设备之间是否满足自动传输文件条件,获得第一检测结果;
步骤12,当所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,选择具有预定文件属性的第一文件,并传输所述第一文件。
在本发明实施例中,这里自动传输的第一文件并非传输时临时指定的,而是事先设定好的、具有预定文件属性的文件,只要第一电子设备与第二电子设备之间满足自动传输文件条件时,就自动传输第一文件。不再需要用户查找待传输的文件,能够快速地完成文件自动传输,提升用户体验。
优选地,第一电子设备为终端、第二电子设备为可穿戴设备,或者第一电子设备为可穿戴设备、第二电子设备为终端,也可以两个电子设备同为终端,或者同为可穿戴设备。
在上述的文件传输方法中,所述自动传输文件条件为通过第一通信方式进行连接;
所述预定文件属性为处于预先设定的第一位置或为预先设定的第一文件类型。
对于第一通信方式,可以为蓝牙、wifi或近场通信等方式。当然,也可以是其他的通信方式,只要能够执行第一电子设备与第二电子设备之间的通信功能,以便进行文件传输即可。
具有预定文件属性的第一文件可以是预先设定在第一电子设备(或第 二电子设备)的第一位置上的文件,例如预先指定在第一电子设备(或第二电子设备)的桌面上的文件为可以进行自动传输的第一文件。
具有预定文件属性第一文件还可以是预先指定的第一文件类型的文件,第一文件类型可以为名片、图片、音频、视频、短信或通话记录中的至少一种。
当然,在检测第一电子设备与第二电子设备是否满足自动文件传输条件之前,可以由用户预先设定要传输的第一文件的第一位置,或对第一文件类型进行选择或者编辑等。这里的用户优选为同时持有第一电子设备与第二电子设备的用户。
另外,为了进一步地提升用户体验,在本发明实施例中,可以通过用户对电子设备的一些快捷操作启动文件传输。在确定用户需要启动文件传输时,才选择具有预定文件属性的第一文件,并传输所选择出的第一文件至第二电子设备。具体可以通过以下两种方式实现。
<方式一>
用户通过第一电子设备启动文件传输,即所述方法还包括:
当检测到所述第一电子设备与第二电子设备之间满足自动传输文件条件时,进一步检测所述第一电子设备的第一硬件是否处于预先设定的用于启动文件传输的第一状态,获得第二检测结果;
当所述第二检测结果用于表征所述第一硬件处于所述第一状态时,选择具有预定文件属性的第一文件,传输所述第一文件至第二电子设备。
其中,所述第一硬件为所述第一电子设备预先设定的用于启动文件传输的第一按键或光传感器。
在实际应用中,用户可以预先设定文件传输的启动条件,如某一按键被长按住即该按键的被按压时长超出一定时长,或者设置在第一电子设备上的光传感器被连续遮住两次光感,则确定需要启动文件传输。如此,第 一状态可以为第一按键处于被长按住状态,或者可以为光传感器处于被连续遮住两次光感的状态,选择具有预定文件属性的第一文件,传输第一文件,使其在所述第一电子设备与第二电子设备之间开始进行传输。所述第一按键可以与第一电子设备中的原有按键如音量调节键、显示界面后退按键等进行复用,也可以额外增加一个按键作为第一按键。
以上情况仅仅是对启动文件传输的一种举例说明。在实际应用中,还可以通过检测第一电子设备的其他硬件是否处于指定的第一状态来确定是否启动文件传输。当两个电子设备通过第一通信方式连接后,第一电子设备又检测到第一硬件处于第一状态,则在两个电子设备之间开始传输第一文件。
当然,在设定第一硬件启动文件传输的第一状态时,应当优选选择快捷、简单的操作作为启动文件传输的操作,不应设定过于复杂的操作。
与方式一相对应地,可以通过第二电子设备启动来启动文件的传输。具体方式如下:
<方式二>
用户通过第二电子设备启动文件传输,启动后需要告知第一电子设备开始进行文件传输,即所述方法还包括:
接收所述第二电子设备发送的第三检测结果,所述第三检测结果用于表征第二电子设备的第二硬件处于预先设定的用于启动文件传输的第二状态;
选择具有预定文件属性的第一文件,传输所述第一文件至第二电子设备。
第二电子设备检测自身的第二硬件的状态,确定需要启动文件传输后,告知所述第一电子设备。用户可以预先设定由哪一个电子设备启动文件传输。其中,第二电子设备的第二硬件、第二状态可参照前述第一电子设备 的第一硬件、第一状态而理解;同时,第二电子设备检测自身的第二硬件处于预定的第二状态的方法可参照前述第一电子设备检测自身的第一硬件处于预定的第一状态的方法而理解。
在本发明实施例中,除了可以通过检测电子设备硬件的状态来启动文件传输外,还可以自动控制文件传输的方向。文件传输方向的控制同样可以由第一电子设备或第二电子设备确定。具体实现方式如下:
<第一方式>
所述方法还包括:
根据所述第一电子设备上第三硬件的第三状态,确定传输所述第一文件的第一传输方向;
相应的,按照所述第一传输方向对选择出的具有预定文件属性的第一文件进行传输。
其中,所述第三硬件为光传感器、屏幕或用于表征第一传输方向的至少一个第二按键;所述第二按键可以与第一电子设备中的音量调节键复用,还可以额外设置多个按键,用于表征不同的传输方向。可以根据第一电子设备上的屏幕激活状态、光感传感器的感应状态或第二按键的特定状态来确定文件的传输方向。
在本发明实施例中,文件传输之前首先由第一电子设备检测自身对应器件的状态。具体地,可以通过检测第一电子设备自身的屏幕是否处于点亮状态、检测光传感器得到的光照亮值大小、或检测第二按键是否被长按住等。将状态信息转换为控制码传输,第一电子设备据此得知自己需要主动传输文件还是被动等待接收。
如果第一电子设备为终端,还可以通过手写笔是否被拔出确定第一文件传输方向。
当然,以上情况是对确定文件传输方向的一种举例说明。用户可以通 过预先设定某些按键的状态来确定文件传输方向。
除了通过第一电子设备确定文件传输方向外,还可以通过第二电子设备确定文件传输方向。具体说明如下。
<第二方式>
所述方法还包括:
接收所述第二电子设备发送的携带第一传输方向的传输方向信息,所述第一传输方向根据设置在所述第二电子设备上的第四硬件的第四状态确定;
按照所述传输方向信息中携带的所述第一传输方向将所选择出的具有预定文件属性的第一文件进行传输。
第二电子设备的第四硬件、第四状态可参照前述第一电子设备的第三硬件、第三状态而理解,同时,第二电子设备确定文件传输方向的过程与前述的第一电子设备确定文件传输方向相类似,这里不再赘述。当第二电子设备确定了第一文件传输方向后,告知第一电子设备,以便第一电子设备确定自己需要主动传输文件还是被动等待接收。
下面以第一电子设备为终端、第二电子设备为可穿戴设备为例,对上述文件传输方法进行详细说明。
如图2所示,第一电子设备确定是否启动文件传输,第二电子设备确定文件传输方向,具体的文件传输方法包括:
步骤21,检测第一电子设备与第二电子设备是否通过第一通信方式连接;
步骤22,当第一电子设备与第二电子设备通过第一通信方式连接时,在第一电子设备(终端)上启动文件传输,所述的启动文件传输与现有的选中文件进行传输不同,其启动方式不必选中文件,可以非常简单便捷的通过一键式操作或对特定的第一按键的预定操作来实现;
步骤23,第二电子设备(可穿戴设备)在收到了来自第一电子设备(终端)发送的启动文件传输的信息后,首先查询自身硬件的状态,例如查询设置的光感传感器对外界光线的感应值、屏幕是否点亮、某个按键是否在规定时间内被用户操作等;
步骤24,判断所检测的硬件是否处于相应的预定状态,如果是则执行步骤25,否则执行步骤26;
步骤25,第一电子设备(终端)向第二电子设备(可穿戴设备)发送某种指定类型的第一文件和/或处于指定位置的第一文件;
步骤26,第二电子设备(可穿戴设备)向第一电子设备(终端)发送某种指定类型的第一文件和或处于指定位置的第一文件;
步骤27,文件自动传输结束。
在上述过程中,某种指定的类型与/或处于指定位置的文件为满足预定文件属性的第一文件,当两个电子设备之间满足自动传输文件条件,即通过第一通信方式连接时,还可以通过检测两个电子设备中任一个的某一硬件的状态来判断是否需要启动文件的自动传输,进一步地,通过任一电子设备的指定硬件的状态确定文件传输的方向,从而更快速、便捷地完成文件自动传输,提升用户体验。
在本发明实施例中,无论是文件传输的启动还是传输方向的选择都可以通过简单的一键式操作来完成,并且可以通过多种不同的硬件(器件)完成。如图3所示,就是借助光感传感器完成所述功能的一个典型实施例。
在移动终端31上具有侧键33,光感传感器34和屏幕35;可穿戴设备32上具有按键36,光感传感器37和屏幕38。
当移动终端31与可穿戴设备32处于第一通信方式连接状态下(例如wifi,近场通信nfc,蓝牙或红外等近距离通信状态),移动终端31上的侧键33被按住,同时光感传感器34被遮挡时(根据正常使用习惯,一般用 户在按侧键的时候不会无意识的误操作而遮住光感传感器,因此在该实施例中两者同时发生可以认为是用户有意识的操作),移动终端31认为用户启动了文件传输操作,向所述可穿戴设备32发送文件传输请求。
可穿戴设备32接收到移动终端31发送的文件传输请求后,在一个时间范围内检查自身的光感传感器37是否受到遮挡,如果光感传感器37受到遮挡,则判断文件传输方向为从移动终端31到可穿戴设备32,并将对应控制码传递给移动终端31;反之,如果可穿戴设备的光感传感器37没有受到遮挡,则判断文件传输方向为从可穿戴设备32到移动终端31。
在双方明确文件传输的传输方和接收方之后,传输方根据事先的协议将特定文件位置与/或特定类型的文件传输给接收方。
在本发明实施例中,在可穿戴设备与移动终端之间能够迅速同步一些预定的文件,例如音频,图像,文本,名片,信息等内容。且操作非常简单,例如用户只需把移动终端与可穿戴设备的表面面对面放置,使双方的光感传感器都被对方遮挡,再按住终端上对应的按键即可实现特定文件从移动终端向可穿戴设备的同步,非常方便。
反之,如果使可穿戴设备的表面未被遮挡,光感传感器仍然能够感受到外界光源,则会快速实现特定文件从可穿戴设备向移动终端的同步。
同样的,在本发明实施例中,还可以根据其它器件的状态来决定文件传输的方向,例如根据屏幕是否激活:如果第一电子设备启动了文件传输后,第二电子设备的屏幕处于激活状态,则文件传输的方向从第二电子设备传输向第一电子设备,反之当第二电子设备的屏幕处于未激活状态,则文件传输方向从第一电子设备传输向第二电子设备。
这种方式更加简单,如果用户需要从第一电子设备向第二电子设备传输特定的文件时,甚至无需对第二电子设备进行任何操作即可完成。
类似的,也可以通过手写笔拔出状态,解锁状态,特定按键的操作状 态等等器件作为判断传输方向的依据,因实施例较多并且主要思想大致相同,这里不再一一列举。
图4是本发明实施例中在发生文件传输之前,设置何种文件进行自动传输的用户操作界面,以及传输后的处理界面实施例说明。
如图4所示,计步器是不少可穿戴设备,特别是智能手表,手环等设备上的常见功能。有时用户需要将可穿戴设备的这种工作数据同步到手机终端上以进行进一步的操作和分享。因此本实施例在智能手表41的界面上设置了计步器,体温,脉搏,以及其它图片和音频四种可以通过本发明实施例提供的方法同步到移动终端42的文件类型,图4默认选中了计步器数据。
在图4所示的选择状态下,一旦按照本发明实施例的技术方案发生了移动终端与可穿戴设备之间的数据传输,并且传输方向是从可穿戴设备到移动终端,则可穿戴设备会自动的将自己的计步器工作记录发送到移动终端的指定文件夹。
移动终端接收到所述的计步器记录之后,可以对其进行分享,编辑短信,生成步行路线等等对应操作,非常方便。
本发明实施例还提供了一种文件传输装置,应用于第一电子设备中,所述装置如图5所示,包括:第一检测模块51、文件传输模块52;其中,
第一检测模块51,配置为检测所述第一电子设备与第二电子设备之间是否满足自动传输文件条件,获得第一检测结果;
文件传输模块52,配置为当所述第一检测模块50所生成的所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,选择具有预定文件属性的第一文件,并传输所是第一文件。
在上述的文件传输装置中,所述自动传输文件条件为通过第一通信方式连接;
所述预定文件属性为预先设定的处于第一位置或预先设定的第一文件类型。
上述的文件传输装置中,所述装置还包括:
第二检测模块,配置为检测所述第一电子设备的第一硬件是否处于预先设定的启动文件传输的第一状态,获得第二检测结果;
所述文件传输模块52还包括第一传输子模块;
相应的,第一传输子模块,配置为当所述第二检测模块所生成的所述第二检测结果用于表征所述第一硬件处于所述第一状态时,选择具有预定文件属性的第一文件,并传输所述第一文件。
在上述文件传输装置中,所述第一硬件为所述第一电子设备预先设定的用于启动文件传输的第一按键或光传感器。
在上述的文件传输装置中,所述装置还包括:
第一接收模块,配置于接收所述第二电子设备发送的第三检测结果,所述第三检测结果用于表征第二电子设备的第二硬件处于预先设定的用于启动文件传输的第二状态;
所述文件传输模块52还包括:
第二传输子模块,配置为在接收到所述第三检测结果后,选择具有预定文件属性的第一文件,并出传输所述第一文件,以使得第一文件在所述第一电子设备与第二电子设备之间开始传输。
在上述的文件传输装置中,所述装置还包括:
确定模块,配置为根据所述第一电子设备上第三硬件的第三状态,确定传输所述第一文件的第一传输方向;
所述文件传输模块52还包括:
第三传输子模块,配置为选择具有预定文件属性的第一文件,并按照所述第一文件传输方向传输所述第一文件,以使第一文件在所述第一电子 设备与第二电子设备之间开始传输。
在上述的文件传输装置中,所述第三硬件为光传感器、所述第一电子设备的屏幕或所述第一电子设备用于设定所述第一传输方向的第二按键中的至少一个。
在上述的文件传输装置中,所述装置还包括:
第二接收模块,配置为接收所述第二电子设备发送的携带第一传输方向的传输方向信息,所述第一传输方向根据设置在所述第二电子设备上的第四硬件的第四状态确定;
所述文件传输模块52还包括:
第四传输子模块,配置为选择具有预定文件属性的第一文件,按照所述传输方向信息中携带的所述第一传输方向传输第一文件,以使得第一文件在所述第一电子设备与第二电子设备之间开始传输。
在实际应用中,所述第一检测模块51、文件传输模块52均可由中央处理单元(CPU,Central Processing Unit)、或数字信号处理(DSP,Digital Signal Processor)、或微处理器(MPU,Micro Processor Unit)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等来实现;所述CPU、DSP、MPU、FPGA均可内置于终端或可穿戴设备中。
本发明实施例还提供了一种终端,所述终端包括上述任一项所述的文件传输装置。
本发明实施例还提供了一种可穿戴设备,所述设备包括上述任一项所述的文件传输装置。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的文件传输方法。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、 或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
在本发明实施例中,当两个电子设备之间满足自动传输文件条件时, 开始自动传输预先指定处于第一位置的文件或第一文件类型的文件,实现了文件的自动传输,解决了由于文件路径确认操作繁琐而导致的效率低下,用户体验度较差的问题。同时,可以通过检测两个电子设备中任一个的某一硬件的状态判断是否需要启动文件的自动传输,进一步地,还可以通过任一电子设备的指定硬件的状态确定文件传输的方向,从而更快速、便捷地完成文件自动传输,提升用户体验。

Claims (19)

  1. 一种文件传输方法,应用于第一电子设备中,所述方法包括:
    检测所述第一电子设备与第二电子设备之间是否满足自动传输文件条件,获得第一检测结果;
    当所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,选择具有预定文件属性的第一文件,并传输所述第一文件。
  2. 如权利要求1所述的文件传输方法,其中,所述满足所述自动传输文件条件为检测为所述第一电子设备与第二电子设备之间通过第一通信方式连接;
    所述预定文件属性为处于预先设定的第一位置或预先设定的第一文件类型。
  3. 如权利要求2所述的文件传输方法,其中,当所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,所述方法还包括:
    检测所述第一电子设备的第一硬件是否处于预先设定的用于启动文件传输的第一状态,获得第二检测结果;
    选择具有预定文件属性的第一文件,传输所述第一文件,以使第一文件在所述第一电子设备与第二电子设备之间开始传输。
  4. 如权利要求3所述的文件传输方法,其中,所述第一硬件为所述第一电子设备预先设定的用于启动文件传输的第一按键或光传感器。
  5. 如权利要求2所述的文件传输方法,其中,当所述第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,所述方法还包括:
    接收所述第二电子设备发送的第三检测结果,所述第三检测结果用于 表征第二电子设备的第二硬件处于预先设定的用于启动文件传输的第二状态;
    在接收到所述第三检测结果后,选择具有预定文件属性的第一文件,以使第一文件在所述第一电子设备与第二电子设备之间开始传输。
  6. 如权利要求3或5所述的文件传输方法,其中,所述方法还包括:
    根据所述第一电子设备上第三硬件的第三状态,确定传输所述第一文件的第一传输方向;
    直接选择具有预定文件属性的第一文件,按照所述第一传输方向传输第一文件。
  7. 如权利要求6所述的文件传输方法,其中,所述第三硬件为光传感器、所述第一电子设备的屏幕或所述第一电子设备用于设定所述第一传输方向的第二按键中的至少一个。
  8. 如权利要求3或5所述的文件传输方法,其中,所述方法还包括:
    接收所述第二电子设备发送的携带第一传输方向的传输方向信息,所述第一传输方向根据设置在所述第二电子设备上的第四硬件的第四状态确定;
    选择具有预定文件属性的第一文件,按照所述传输方向信息中携带的所述第一传输方向传输第一文件。
  9. 一种文件传输装置,应用于第一电子设备中,所述装置包括:
    第一检测模块,配置为检测所述第一电子设备与第二电子设备之间是否满足自动传输文件条件,获得第一检测结果;
    文件传输模块,配置为当所述第一检测模块所生成的第一检测结果用于表征所述第一电子设备与第二电子设备之间满足自动传输文件条件时,选择具有预定文件属性的第一文件,并传输所述第一文件。
  10. 如权利要求9所述的文件传输装置,其中,所述自动传输文件条 件为通过第一通信方式连接;
    所述预定文件属性为处于预先设定的第一位置或预先设定的第一文件类型。
  11. 如权利要求10所述的文件传输装置,其中,所述装置还包括:
    第二检测模块,配置为检测所述第一电子设备的第一硬件是否处于预先设定的启动文件传输的第一状态,获得第二检测结果;
    相应的,所述文件传输模块包括:第一传输子模块,配置为当所述第二检测结果用于表征所述第一硬件处于所述第一状态时,选择具有预定文件属性的第一文件,并传输第一文件。
  12. 如权利要求11所述的文件传输装置,其中,所述第一硬件为所述第一电子设备预先设定的用于启动文件传输的第一按键或光传感器。
  13. 如权利要求10所述的文件传输装置,其中,所述装置还包括:
    第一接收模块,配置为接收所述第二电子设备发送的第三检测结果,所述第三检测结果用于表征第二电子设备的第二硬件处于预先设定的用于启动文件传输的第二状态;
    相应的,所述文件传输模块,包括:
    第二传输子模块,配置为在接收到所述第三检测结果后,选择具有预定文件属性的第一文件,并传输第一文件。
  14. 如权利要求11或13所述的文件传输装置,其中,所述装置还包括:
    确定模块,配置为根据所述第一电子设备上第三硬件的第三状态,确定传输所述第一文件的第一传输方向;
    相应的,所述文件传输模块,包括:第三传输子模块,配置为选择具有预定文件属性的第一文件,按照所述第一传输方向传输第一文件。
  15. 如权利要求14所述的文件传输装置,其中,所述第三硬件为光传 感器、所述第一电子设备的屏幕或所述第一电子设备用于设定所述第一传输方向的第二按键中的至少一个。
  16. 如权利要求11或13所述的文件传输装置,其中,所述装置还包括:
    第二接收模块,配置为接收所述第二电子设备发送的携带第一传输方向的传输方向信息,所述第一传输方向根据设置在所述第二电子设备上的第四硬件的第四状态确定;
    相应的,所述文件传输模块,包括:第四传输子模块,配置为选择具有预定文件属性的第一文件,并按照所述传输方向信息中携带的所述第一传输方向传输第一文件。
  17. 一种终端,所述终端包括权利要求9至16任一项所述的文件传输装置。
  18. 一种可穿戴设备,所述设备包括权利要求9至16任一项所述的文件传输装置。
  19. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至8任一项所述的文件传输方法。
PCT/CN2014/092203 2014-06-23 2014-11-25 文件传输方法、装置、终端、可穿戴设备及存储介质 WO2015196727A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/320,758 US20170163715A1 (en) 2014-06-23 2014-11-25 File Transmission Method and Apparatus, Terminal, Wearable Device and Storage Medium
EP14896104.8A EP3160110B1 (en) 2014-06-23 2014-11-25 File transmission method, apparatus and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410283714.8A CN105208062A (zh) 2014-06-23 2014-06-23 一种文件传输方法、装置、终端和可穿戴设备
CN201410283714.8 2014-06-23

Publications (1)

Publication Number Publication Date
WO2015196727A1 true WO2015196727A1 (zh) 2015-12-30

Family

ID=54936651

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092203 WO2015196727A1 (zh) 2014-06-23 2014-11-25 文件传输方法、装置、终端、可穿戴设备及存储介质

Country Status (4)

Country Link
US (1) US20170163715A1 (zh)
EP (1) EP3160110B1 (zh)
CN (1) CN105208062A (zh)
WO (1) WO2015196727A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160122501A (ko) * 2015-04-14 2016-10-24 엘지전자 주식회사 디스플레이 장치, 웨어러블 장치를 포함하는 동기화 시스템 및 제어 방법
CN105892911A (zh) * 2016-03-28 2016-08-24 联想(北京)有限公司 信息处理的方法和装置
CN105791305B (zh) * 2016-03-31 2019-03-29 努比亚技术有限公司 一种数据处理方法及设备
US10721303B2 (en) * 2017-07-27 2020-07-21 At&T Intellectual Property I, L.P. System and method to enable sensory data for any devices connected to a phone in a 5G network
CN108282532B (zh) * 2018-01-24 2020-09-01 维沃移动通信有限公司 一种文件传输的方法、发送设备、接收设备及终端
CN109361727B (zh) * 2018-08-30 2021-12-07 Oppo广东移动通信有限公司 信息共享方法、装置、存储介质及穿戴式设备
AU2018443268B2 (en) * 2018-09-30 2022-12-01 Huawei Technologies Co., Ltd. File transfer method and electronic device
WO2020111346A1 (en) * 2018-11-30 2020-06-04 Samsung Electronics Co., Ltd. Interaction method, system, and device for information
CN111935539A (zh) * 2020-07-20 2020-11-13 杭州安恒信息技术股份有限公司 一种视频检测的方法、系统、电子装置和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964671A (zh) * 2009-07-22 2011-02-02 鸿富锦精密工业(深圳)有限公司 电子产品蓝牙功能的自动测试方法
CN103220019A (zh) * 2013-04-28 2013-07-24 上海斐讯数据通信技术有限公司 一种蓝牙传输数据的实现方法及移动终端
CN103713739A (zh) * 2013-12-25 2014-04-09 北京握奇数据系统有限公司 一种运动数据的采集处理方法及系统
CN103729125A (zh) * 2013-12-30 2014-04-16 宇龙计算机通信科技(深圳)有限公司 一种数据共享操作方法及终端

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5933478A (en) * 1994-09-28 1999-08-03 Hitachi, Ltd. Data transfer system and handheld terminal device used therefor
US8294569B2 (en) * 2007-12-12 2012-10-23 Sony Mobile Communications Ab Communication between devices based on device-to-device physical contact
US20100257239A1 (en) * 2009-04-02 2010-10-07 Qualcomm Incorporated Method and apparatus for establishing a social network through file transfers
CN102857269A (zh) * 2011-06-28 2013-01-02 德信智能手机技术(北京)有限公司 移动电话之间的数据传输方法和移动电话
CN103108007B (zh) * 2011-11-14 2016-03-30 联想(北京)有限公司 终端设备及其文件接收方法
US9967388B2 (en) * 2012-02-21 2018-05-08 Qualcomm Incorporated Mirrored interface navigation of multiple user interfaces
CN103200697A (zh) * 2013-03-29 2013-07-10 深圳桑菲消费通信有限公司 一种文件传输方法和装置
US9389691B2 (en) * 2013-06-21 2016-07-12 Blackberry Limited Devices and methods for establishing a communicative coupling in response to a gesture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964671A (zh) * 2009-07-22 2011-02-02 鸿富锦精密工业(深圳)有限公司 电子产品蓝牙功能的自动测试方法
CN103220019A (zh) * 2013-04-28 2013-07-24 上海斐讯数据通信技术有限公司 一种蓝牙传输数据的实现方法及移动终端
CN103713739A (zh) * 2013-12-25 2014-04-09 北京握奇数据系统有限公司 一种运动数据的采集处理方法及系统
CN103729125A (zh) * 2013-12-30 2014-04-16 宇龙计算机通信科技(深圳)有限公司 一种数据共享操作方法及终端

Also Published As

Publication number Publication date
EP3160110A1 (en) 2017-04-26
EP3160110B1 (en) 2019-05-22
EP3160110A4 (en) 2017-08-16
US20170163715A1 (en) 2017-06-08
CN105208062A (zh) 2015-12-30

Similar Documents

Publication Publication Date Title
WO2015196727A1 (zh) 文件传输方法、装置、终端、可穿戴设备及存储介质
JP6246739B2 (ja) マルチユーザ・インタフェースのミラー・インタフェース・ナビゲーション
US9742977B2 (en) Camera remote control
US10382677B2 (en) Method and system for remote control of photo-taking by a Bluetooth smart watch, a smart terminal and SPP thereof
US20150350406A1 (en) Method and device for calendar reminding
KR102345649B1 (ko) 휴대용 장치가 웨어러블 장치를 통하여 정보를 표시하는 방법 및 그 장치
US9609465B2 (en) Multi-role Bluetooth device and Bluetooth connection method thereof
JP2017504922A (ja) 通知情報の表示方法、その装置、プログラム、及び記録媒体
KR101704957B1 (ko) 데이터 전송 방법, 장치, 기기, 프로그램 및 기록매체
KR20150072764A (ko) 전자기기에서 해상도 레벨을 제어하기 위한 방법 및 장치
KR102405113B1 (ko) 디바이스 간의 복사하기 및 붙이기
EP2750449A1 (en) Method of receiving connection information from mobile communication device, computer-readable storage medium having recorded thereon the method, and digital image-capturing apparatus
KR20130111749A (ko) 더미 장치와의 연동 방법 및 그 전자 장치
JP2017506403A (ja) タッチボタン及び指紋認証を実現する装置、方法、端末機器、並びにプログラム及び記録媒体
JP6195680B2 (ja) 推薦情報取得方法、端末、サーバー、プログラム及び記録媒体
CN110109608B (zh) 文本显示方法、装置、终端及存储介质
WO2018166102A1 (zh) 一种多设备无线连接方法和设备
CN105228084A (zh) 穿戴式智能设备检测数据处理方法和穿戴式智能设备
CN114647350A (zh) 应用共享方法、电子设备和存储介质
WO2018130048A1 (zh) 一种添加联系人方法、电子设备及服务器
CN105323383A (zh) 手机铃声音量的调整方法和装置
CN104468706A (zh) 音频文件传输方法及装置
KR20140099007A (ko) 단말기 제어방법
JP2018503149A (ja) 情報入力方法、装置、プログラム及び記録媒体
WO2015184788A1 (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: 14896104

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014896104

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014896104

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15320758

Country of ref document: US