WO2012092896A2 - 数据传输的方法和装置 - Google Patents

数据传输的方法和装置 Download PDF

Info

Publication number
WO2012092896A2
WO2012092896A2 PCT/CN2012/070900 CN2012070900W WO2012092896A2 WO 2012092896 A2 WO2012092896 A2 WO 2012092896A2 CN 2012070900 W CN2012070900 W CN 2012070900W WO 2012092896 A2 WO2012092896 A2 WO 2012092896A2
Authority
WO
WIPO (PCT)
Prior art keywords
data transmission
data
peer device
event
module
Prior art date
Application number
PCT/CN2012/070900
Other languages
English (en)
French (fr)
Other versions
WO2012092896A3 (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 CN201280000324.4A priority Critical patent/CN102687117B/zh
Priority to PCT/CN2012/070900 priority patent/WO2012092896A2/zh
Publication of WO2012092896A2 publication Critical patent/WO2012092896A2/zh
Priority to US13/720,482 priority patent/US20130204945A1/en
Publication of WO2012092896A3 publication Critical patent/WO2012092896A3/zh

Links

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for data transmission. Background art
  • Existing communication devices usually require the user to manually connect to the peer device. For example, the user operates on the mobile phone and establishes a connection with the laptop. However, the device cannot be connected to the peer device in real time for various reasons. In this case, the device cannot be processed temporarily and does not support further operations. The user can only be prompted to find the peer device or the peer device cannot be connected. and many more. The user must wait for the peer device to communicate before the next transmission and sharing, which brings inconvenience to the user operation. Moreover, re-establishing the connection requires the user to wait and re-execute the operation, or the user environment changes after the user Recalling which files have been transferred when reconnecting, etc., greatly affects the user experience. Summary of the invention
  • a method of data transmission comprising:
  • the data transmission task is performed, and an icon representing the peer device is displayed in a second state.
  • a device for data transmission includes:
  • a display module configured to display an icon representing the peer device in a first state when the peer device is unable to connect, When the device successfully establishes a connection with the peer device, displaying the icon in a second state;
  • the detecting module is configured to detect a data transmission event between the device and the peer device;
  • a setting module configured to establish a data transmission task corresponding to the data transmission event detected by the detection module, and a transmission module, configured to execute the establishment module when the device successfully establishes a connection with the peer device The data transfer task established.
  • the technical solution provided by the embodiment of the present invention has the beneficial effects of: detecting a data transmission event between the local device and the peer device, and establishing a corresponding data transmission task, and performing the data transmission task after the peer device is successfully connected.
  • the operation of the unconnected device is realized, and the data is automatically transmitted after the device is successfully connected, and the user does not need to wait for the connection, which simplifies the interaction of data transmission in a complex environment, greatly facilitates the use of the user, and improves the user experience. Increased user shared interest and product belonging.
  • FIG. 1 is a flowchart of a method for data transmission according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of different display states of a peer device icon according to an embodiment of the present invention.
  • FIG. 3 is another flow chart of a method for data transmission provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of displaying the number of data to be transmitted according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of still another method for data transmission according to an embodiment of the present invention.
  • FIG. 6 is still another flowchart of a method for data transmission according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a play interface of a media file according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a display interface of an electronic document according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of displaying a list of data to be transmitted according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of display of a local device and a peer device according to an embodiment of the present disclosure.
  • FIG. 11 is a structural diagram of a device for data transmission according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of hardware of a local device according to an embodiment of the present invention. detailed description
  • an embodiment of the present invention provides a data transmission method, including:
  • the execution entity that cannot be connected to the peer device is detected as the local device, and the local device and the peer device can establish a wired connection or a wireless connection, and the two communicate with each other, that is, two communication or data exchange can be realized.
  • Data Device the devices participating in the communication or data exchange described herein are referred to as the local device and the peer device.
  • the peer device may be referred to as a peripheral device of the local device, and refers to a device that is within a certain range from the local device, and is usually a short-distance device.
  • any one of the local device and the peer device may be a terminal, including a wired terminal, such as a computer, a set top box, or the like, or a wireless terminal, such as a mobile phone, a notebook computer, a tablet computer, etc., which is not limited by the present invention.
  • the wired connection includes but is not limited to: USB (Universal Serial Bus) connection, network cable connection, video line connection, etc.
  • the wireless connection includes but is not limited to: Bluetooth connection, infrared connection, wifi connection, etc. The invention is not limited thereto.
  • the local device When the local device initiates data transmission, data exchange, or data communication, it is required to know whether the peer device is in a working state, or whether the communication link between the local device and the peer device is unobstructed, and if the peer device is If the communication link between the local device and the peer device is faulty or faulty, the state where the peer device is unavailable is presented to the local device on the local device.
  • the user that is, displays the icon representing the peer device in the first state.
  • the detecting a data transmission event between the local device and the peer device may be detecting a data transmission event to be started, gp, and the user initiates an output transmission request to the peer device by using the local device through the data transmission instruction.
  • the data transmission event may also be a transmission event in which data transmission is being performed, such as a sudden suspension of data transmission caused by a network failure, or a scenario in which the data transmission is abruptly terminated due to the local device removing the link range of the peer device.
  • the creation of the data transmission event may be an event of dragging data onto the icon, and determining that the user initiates transmission of the data to The request of the peer device, specifically, when the user is unable to connect to the peer device, for some reason, the pre-transmission preparation needs to be established on the local device to prepare the connection between the local device and the peer device. And transmitting the content in the pre-transmission preparation to the peer device in time.
  • the foregoing process may be implemented by the user directly by operating an icon on the local device that represents the data content to be transmitted, such as by dragging an icon representing the data to be transmitted to the representative device.
  • the position of the icon is overlapped, and the dragging process can be implemented by a mouse click or a touch control of the touch screen, which is not specifically limited herein.
  • the data transmission event in various scenarios may be to transmit data in an open state, or to transmit data in an unopened state, where the data in the open state includes but is not limited to: the media file being played. , or an electronic document being read, etc. 103: Establish a data transmission task corresponding to the detected data transmission event.
  • the preparation for data transmission is performed when the connection between the local device and the peer device is restored or the connection is successful, and the preparation includes recording an address or content of the data to be transmitted in the data transmission task, or including the data.
  • the starting point of the transmission task which is for the interruption of data transmission being performed between the local device and the peer device.
  • the preparing includes: if the data transmission event is to transmit data in an unopened state, recording an address or content of the data as a data transmission task; or if the data transmission event is transmitting data in an open state, Then, the address or content of the data is recorded, and the current playback position or page position of the data is recorded, and the entire content recorded is used as a data transmission task.
  • the first state is different from the second state, where the first state is used to indicate that the peer device is not connectable, and the second state is used to indicate that the peer device has successfully connected.
  • the first state is to display a boundary line of the icon in a broken line
  • the second state is to display a boundary line of the icon as a solid line; or, the first state is to display an icon in a specified gray scale.
  • the second state is a normal display icon; of course, the display may be performed in other manners, which is not limited by the present invention.
  • the local device has a peripheral device: device 1, displaying the icon of the device 1 on the screen, and the current device 1 is in a state in which connection is impossible. Therefore, the icon is displayed by a dotted boundary line, as shown in FIG. 2 The picture on the left shows. After a period of time, device 1 can be connected, and the icon is displayed with a solid line boundary, as shown in the right figure in Figure 2.
  • the data in the data transmission event may be data in any format, including but not limited to: a picture, a file, an electronic document, a media file, and the like, where the media file may be in a playing state.
  • the media file and the electronic document may be electronic documents in a reading state, which is not limited by the present invention.
  • the foregoing method provided in this embodiment detects a data transmission event between the local device and the peer device, and establishes a corresponding data transmission task. After the peer device is successfully connected, the data transmission task is performed, and the data transmission task is implemented.
  • the operation of connecting the device, and the automatic transmission of data after the device is successfully connected does not require the user to wait for the connection, simplifies the interaction of data transmission in a complex environment, greatly facilitates the use of the user, enhances the user experience, and enhances user sharing. Interest and product belonging.
  • another embodiment of the present invention provides a data transmission method, including:
  • 301 When the peer device cannot connect, the icon representing the peer device is displayed in the first state.
  • 302 Detect multiple data transmission events between the local device and the peer device.
  • the step may include: detecting an event that the data is moved to the icon on the local device, and if yes, determining that the local device initiates a data transmission event for transmitting the data to the peer device.
  • each data transmission event corresponds to a data transmission task, that is, the number of data transmission events is equal to the number of data transmission tasks.
  • the above method may further include:
  • the number of data transmission tasks displayed on the periphery of the icon is correspondingly reduced, thereby facilitating the user to know the change of the number of data transmission tasks in time.
  • the manner in which the number is correspondingly reduced is not specifically limited in the present invention, and may be reduced by one or the like.
  • the first state is different from the second state, so that the state of the peer device is currently detachable, which is similar to the description in the foregoing embodiment, and details are not described herein.
  • the periphery of the icon is preferably at the edge of the icon, and the edge may be at the edge of any direction of the icon.
  • the icon When the icon is a square, it may be in the upper right corner and the upper left of the square.
  • the number of data to be transmitted is displayed at any of the corner, lower left corner, or lower right corner.
  • the number of the displayed number is in the area occupied by the screen, and the icon may be partially covered, or the icon may be partially covered. Of course, the icon may not be covered, and the present invention is not limited thereto.
  • the local device has a peripheral device, which may be called a peer device, and cannot be connected at present.
  • the icon representing the peer device is displayed by a dotted boundary line, and the user is detected to drag the picture to be transmitted to the peer device.
  • the user is determined to initiate a request to transmit the picture to the peer device, so the address or content of the picture is recorded as a data transmission task, and the number of data transmission tasks is displayed in the upper right corner of the icon.
  • another embodiment of the present invention provides a data transmission method, including:
  • the step may include: detecting an event that the data is moved to the icon on the local device, and if yes, determining that the local device initiates a data transmission event for transmitting the data to the peer device.
  • 503 Record the address or content of the data if the data transmission event is to transmit data in an unopened state.
  • 504 When successfully establishing a connection with the peer device, transmitting the content of the recorded data to the peer device and displaying the icon in the second state, or acquiring the content of the data according to the recorded address of the data, The acquired content of the data is transmitted to the peer device and the icon is displayed in the second state, and the process ends.
  • FIG. 6 another embodiment of the present invention provides a data transmission method, including:
  • the step may include: detecting an event that the data is moved to the icon on the local device, and if yes, determining that the local device initiates a data transmission event for transmitting the data to the peer device.
  • the data transmission event is to transmit data in an open state, record an address or content of the data, and record a current play position or page position of the data.
  • the local device When the local device successfully establishes a connection with the peer device, the content of the recorded data and the current play position or page position of the data are transmitted to the peer device, and the icon is displayed in the second state; Or, the content of the data is obtained according to the recorded address of the data, and the content of the acquired data and the current playback position or page position of the recorded data are transmitted to the peer device, and displayed in the second state. The icon.
  • the peer device receives the content of the data and the current play position of the data, and continues to play the content of the data according to the play position; or the peer device receives the content of the data and the current data. a page location at which the content of the data continues to be displayed; the process ends.
  • the peer device may continue to play the content of the data according to the playing position of the data, thereby achieving that the user can continue playing on the peer device.
  • the effect is to achieve a good experience.
  • the data may specifically be a media file, and the media file includes a music file or a video file, which is not limited by the present invention.
  • the location information of the media file being played can be displayed on the screen, so that the user can more intuitively understand the current playback progress.
  • the left picture is a play interface of a music file, showing the start point position of the music file, the end point position of the music file, and the position where the music file is being played; wherein the right picture is the play interface of the video file.
  • the middle is the playback screen of the video.
  • the bottom of the video file shows the starting point position, the end point of the video file, and the position where the video file is playing.
  • the location where the music file is being played, or the location where the video file is being played, is transmitted to the peer device, so that the peer device can continue to play after receiving it.
  • the peer device may continue to display the content of the data according to the page position of the data, thereby achieving the effect that the user continues to read on the peer device, and Good experience.
  • the data may specifically be an electronic document such as a doc file or the like.
  • the user of the local device is reading an electronic document, and the interface displays the document. Contents, the current page information is displayed below.
  • the electronic document is transmitted to the peer device, the current page information is also transmitted to the peer device, so that the user can be at the peer device after receiving the document by the peer device. Continue reading the electronic document to achieve a good experience.
  • the method may further include the steps of: receiving a request for the user to view the data transmission task, and expanding a list of established data transmission tasks according to the request.
  • the method may include: when the user long presses the icon of the displayed peer device, a window pops up, and a list of data transmission tasks is displayed in the window.
  • the information of each data to be transmitted is displayed item by item in the list, and is usually displayed by using a file name to facilitate the user to view.
  • the location of the window can be located near the icon, such as above, below, left or right, and so on.
  • the area occupied by the window on the screen may overlap with the icon, or may be completely independent, without any overlapping portion, which is not limited by the present invention.
  • the number of objects displayed by the window by default may be set.
  • the word “other” is displayed at the bottom of the list, and the user clicks the “other” again.
  • you are in position you can view more content.
  • the number of the default display objects is not specifically limited in the present invention.
  • the icon of the peripheral device is displayed on the display of the local device with a dotted line, indicating that the peripheral device is currently not connectable.
  • the user of the local device drags 6 pieces of data onto the icon, so there is a number 6 in the upper right corner of the icon, indicating that the data to be transmitted is 6.
  • a window pops up at the lower left of the icon, and a list of data to be transmitted is displayed in the window, including information of the six data, such as each file name.
  • the number of objects displayed by default in the window may be set to three, and the rest of the information is omitted, and the current data is not displayed.
  • the user clicks the location of "other" the other data to be transmitted is further displayed.
  • the information is convenient for the user to view.
  • the method may further include the following steps: when the data transmission task is multiple, sequentially performing the multiple data transmission tasks in the order requested by the user. Or,
  • the plurality of data transmission tasks are sequentially executed in reverse in the order requested by the user;
  • the plurality of data transmission tasks are performed according to a priority of a preset transmission task.
  • the data to be transmitted includes: pictures, music files, and word documents, a total of three files.
  • the user of the local device sequentially drags the icon of each file to the icon of the peer device in this order, and the local device records the order of the request. Therefore, when the peer device can be connected, the local device can follow the request.
  • the three files are transferred in sequence: pictures, music files, and word documents.
  • it can also be configured on the local device to set the order of transmitting data to In the reverse order of the request, when the three files are transmitted, the transmission is performed in the reverse order, that is, in the order of the word document, the music file, and the picture.
  • the detecting a data transmission event between the local device and the peer device may include:
  • the foregoing various methods provided by the embodiments of the present invention detect a data transmission event between the local device and the peer device, and establish a corresponding data transmission task. After the peer device is successfully connected, the data transmission task is performed.
  • the operation of the unconnected device, and the automatic transmission of data after the device is successfully connected does not require the user to wait for the connection, simplifies the interaction of data transmission in a complex environment, greatly facilitates the user's use, enhances the user experience, and enhances User shared interests and product belongings.
  • the media file being played or the electronic document being read is transmitted, by transmitting the current playing position of the media file or the current page position of the electronic document, the peer device can continue to play or continue to display after receiving, which is greatly convenient. The user continues to play or read, which saves the trouble of user memory search and has a good experience.
  • the user of the local device can also perform synchronous transmission of data when the peer device is in the connected state.
  • the local device automatically transmits the data to the peer device synchronously. If the receiving speed of the peer device is relatively slow, and the data dragged by the user is relatively large, the number of data to be transmitted may be displayed in real time in the manner of the embodiment shown in FIG. 3 during the transmission.
  • the above various methods may also be used for display on the screen of the peer device.
  • the local device is a portable mobile device 1, such as a mobile phone
  • the peer device is a computer and a display device 2, such as a desktop computer.
  • An icon of the device 2 is displayed on the screen of the device 1, and an icon of the device 1 is displayed on the screen of the device 2, and when the two parties are not connectable, the icon is displayed by a dotted boundary line. If the two parties are connected successfully, the solid line boundary is displayed.
  • the line displays icons to make it easy for users to check the connection status.
  • another embodiment of the present invention provides an apparatus for data transmission, including:
  • the display module 1101 is configured to display an icon representing the peer device in a first state when the peer device is unable to connect, and display the icon in a second state when the device successfully establishes a connection with the peer device;
  • the detecting module 1102 is configured to detect a data transmission event between the device and the peer device;
  • the establishing module 1103 is configured to establish a data transmission task corresponding to the data transmission event detected by the detecting module 1102.
  • the transmission module 1104 is configured to perform data transmission established by the establishing module 1103 when the device successfully establishes a connection with the peer device. task.
  • the detecting module 1102 may be specifically configured to: detect multiple data transmission events between the device and the peer device; and correspondingly, the establishing module 1103 is specifically configured to: establish and detect multiple The data transfer task corresponding to the data transfer event.
  • the display module 1101 is further configured to: display, on the periphery of the icon, the number of data transmission tasks established by the establishing module 1103; or, further, to: receive a request for the user to view the data transmission task, A list of the data transfer tasks is expanded in accordance with the request.
  • the display module 1101 when the display module 1101 displays the number of data transmission tasks on the periphery of the icon, the display module 1101 is further configured to: after the transmission module 1104 completes one of the data transmission tasks, The number of displayed data transfer tasks is correspondingly reduced.
  • the detecting module 1102 is specifically configured to: detect whether an event on the device is dragged to the icon, and if yes, determine that the device initiates data transmission to the peer device. Transfer events.
  • the establishing module 1103 includes:
  • a first establishing unit configured to record an address or content of the data as a data transmission task if the data transmission event is to transmit data in an unopened state
  • a second establishing unit configured to: if the data transmission event is to transmit the data in the open state, record the address or content of the data, and record the current playing position or page position of the data, and use the entire content of the record as Data transfer task.
  • the device in any one of the foregoing embodiments, wherein the transmission module 1104 is configured to: when the data transmission task is multiple, sequentially execute the multiple data transmission tasks in the order requested by the user, or The plurality of data transfer tasks are performed in reverse.
  • the device provided in this embodiment may perform the method in any of the foregoing method embodiments. For details, refer to the description in the method embodiment, and details are not described herein.
  • the device is located in the local device, and the local device and the peer device can be wired or wirelessly connected.
  • the local device may specifically include: a controller and a memory 1201, a communication interface 1202, and a peripheral device 1203.
  • the controller and the memory 1201 specifically include: a CPU (Central Process Unit), a RAM (Random Access Memory), a ROM (Read-Only Memory), and a storage device.
  • the communication interface includes, but is not limited to, at least one of the following: a WiFi communication interface, a Bluetooth communication interface, an Ethernet communication interface, and a USB (Universal Serial Bus) communication interface.
  • the peripheral device 1203 includes, but is not limited to, at least one of the following: a keyboard, a mouse, a touch controller, a display, and a transport Motion sensing and controller.
  • the CPU and the RAM, the ROM, and the storage device are connected by an internal bus, and the controller and the memory 1201 are connected to the peripheral device 1203 and the communication interface 1202 through an I/O (input/output) port.
  • the foregoing apparatus detects a data transmission event between the device and the peer device, and establishes a corresponding data transmission task. After the peer device is successfully connected, the data transmission task is performed, and the data transmission task is implemented.
  • the operation of connecting the device, and the automatic transmission of data after the device is successfully connected does not require the user to wait for the connection, simplifies the interaction of data transmission in a complex environment, greatly facilitates the use of the user, enhances the user experience, and enhances user sharing. Interest and product belonging.
  • the peer device can continue to play or continue to display after receiving, which is greatly convenient.
  • the user continues to play or read, which saves the trouble of user memory search and has a good experience.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Description

数据传输的方法和装置 技术领域
本发明涉及通信技术领域, 特别涉及一种数据传输的方法和装置。 背景技术 说
目前,手机终端及平板电脑等已经拥有高性能处理和底层通信接口,能够实现与电脑、 机顶盒等设备的通信。 人们可以在这些设备之间进行拷贝、 分享图片等操作。 不过在设备 通信之前必须先建立连接, 包括有线连接或者无线连接, 在找到对端设备以后才能够执行 传输等操作。 书
现有的通信设备通常都需要用户手动连接对端设备, 例如, 用户在手机上进行操作, 与笔记本电脑建立连接。 但是, 会有由于各种原因不能实时连通对端设备的情况发生, 这 种情况下, 设备暂时无法处理, 不支持进一步的操作, 只能提示用户没有找到对端设备, 或者对端设备无法连通等等。 用户必须等待对端设备连通后才能进行下一步的传输和共享, 给用户操作带来了不便, 而且, 重新建立连接需要用户等待以及重新执行操作, 或者由于 用户环境发生变化当用户在一段时间以后重新进行连接时已经忘记要传输哪些文件等等, 都极大地影响用户的体验。 发明内容
为了解决现有技术的问题, 本发明实施例提供了一种数据传输的方法和装置。 所述技 术方案如下:
一方面, 一种数据传输的方法, 包括:
当对端设备无法连接时, 以第一状态显示代表所述对端设备的图标;
检测本端设备与所述对端设备之间的数据传输事件;
建立与所检测到的数据传输事件对应的数据传输任务;
当所述本端设备与所述对端设备成功建立连接时, 执行所述的数据传输任务, 并以第 二状态显示代表所述对端设备的图标。
另一方面, 一种数据传输的装置, 包括:
显示模块, 用于当对端设备无法连接时, 以第一状态显示代表所述对端设备的图标, 当所述装置与所述对端设备成功建立连接时, 以第二状态显示所述图标; 检测模块, 用于检测所述装置与所述对端设备之间的数据传输事件;
建立模块, 用于建立与所述检测模块检测到的所述数据传输事件对应的数据传输任务; 传输模块, 用于当所述装置与所述对端设备成功建立连接时, 执行所述建立模块建立 的所述数据传输任务。
本发明实施例提供的技术方案的有益效果是: 通过检测本端设备与对端设备之间的数 据传输事件, 并建立对应的数据传输任务,在对端设备连接成功后,执行该数据传输任务, 实现了对未连接设备的操作, 以及该设备连接成功后数据的自动传输,无需用户等待连接, 简化了在复杂环境下数据传输的交互动作, 极大地方便了用户使用, 提升用户的体验, 增 强了用户共享的兴趣和产品归属感。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1是本发明实施例提供的数据传输的方法一种流程图;
图 2是本发明实施例提供的对端设备图标的不同显示状态示意图;
图 3是本发明实施例提供的数据传输的方法另一种流程图;
图 4是本发明实施例提供的显示待传输数据的个数的示意图;
图 5是本发明实施例提供的数据传输的方法再一种流程图;
图 6是本发明实施例提供的数据传输的方法又一种流程图;
图 7是本发明实施例提供的媒体文件的播放界面示意图;
图 8是本发明实施例提供的电子文档的显示界面示意图;
图 9是本发明实施例提供的显示待传输数据列表的示意图;
图 10是本发明实施例提供的本端设备与对端设备的显示示意图;
图 11是本发明实施例提供的数据传输的装置结构图;
图 12是本发明实施例提供的本端设备的硬件结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。
参见图 1, 本发明一实施例提供了一种数据传输的方法, 包括:
101: 当对端设备无法连接时, 以第一状态显示代表所述对端设备的图标。
该步骤中, 检测对端设备无法连接的执行主体为本端设备, 该本端设备与对端设备可 以建立有线连接或无线连接, 二者互相通信, 即为可以实现通信或者数据交换的两个数据 设备, 为简便起见, 本文中将参与到所述的通信或者数据交换中的设备称为本端设备及对 端设备。 其中, 所述对端设备又可以称为本端设备的周边设备, 是指与本端设备的距离在 一定范围内的设备, 通常为近距离的设备。 所述本端设备和对端设备中的任一个可以为终 端, 包括有线终端, 如计算机、 机顶盒等, 或者无线终端, 如手机、 笔记本电脑、 平板电 脑等等, 本发明对此不限定。 所述有线连接包括但不限于: USB (Universal Serial Bus, 通 用串行总线) 连接、 网线连接、 视频线连接等等, 无线连接包括但不限于: 蓝牙连接、 红 外线连接、 wifi连接等等, 本发明对此不限定。 当本端设备发起数据传输、数据交换或者数 据通信时, 需要获知对端设备是否处于工作状态, 或者所述本端设备与对端设备之间的通 信链路是否通畅, 若所述对端设备处于非工作状态, 或者所述本端设备与所述对端设备之 间的通信链路存在障碍或者故障, 此时, 将在本端设备上将对端设备不可用的状态呈现给 本端设备的用户, 即, 以第一状态显示代表所述对端设备的图标。
102: 检测本端设备与所述对端设备之间的数据传输事件;
所述检测本端设备与对端设备之间的数据传输事件, 可以是检测即将启动的数据传输 事件, gp, 用户通过数据传输指令, 通过本端设备向对端设备发起输出传输请求而启动的 数据传输事件, 也可以是正在进行数据传输的传输事件, 比如网络故障导致的数据传输突 然中止等, 或者由于本端设备移出了对端设备的链接范围导致的数据传输突然中止等场景。 特别地, 当所述传输事件是由用户触发的即将启动的数据传输事件时, 所述数据传输事件 的创建, 可以是将数据拖拽到该图标上的事件, 确定该用户发起传输该数据到所述对端设 备的请求, 具体地, 当用户在对端设备无法连接时, 由于某种原因需要在本端设备上建立 预传输准备以备所述本端设备与对端设备的连接可用时, 将所述的预传输准备中的内容及 时传输给所述对端设备。 上述过程可由用户通过直接操作本端设备上的代表待传输的数据 内容的图标来实现, 比如通过将代表待传输数据的图标以拖拽的方式拖动到与所述代表所 述对端设备的图标重叠的位置, 所述拖拽的过程可以通过鼠标点击拖拽, 或者通过触摸屏 的触摸控制来实现, 在此不做具体限定。 另外, 各种场景中的数据传输事件可以为对处于 打开状态的数据进行传输, 或者为对处于未打开状态的数据进行传输, 所述处于打开状态 的数据包括但不限于: 正在播放的媒体文件, 或者正在阅读的电子文档等等。 103: 建立与所检测到的数据传输事件对应的数据传输任务。
根据所检测到的所述数据传输事件来建立起相应的数据传输任务, 该数据传输任务在 本端设备与对端设备之间的连接未成功时并不执行, 但是, 该数据传输任务已经做好了在 本端设备与对端设备之间的连接恢复或者连接成功时进行数据传输的准备, 该准备, 包括 记录所述数据传输任务中需要传输的数据的地址或者内容, 或者包括所述数据传输任务的 起始点,该场景是针对在本端设备与对端设备之间正在执行的数据传输中断的情况。或者, 该准备包括: 如果数据传输事件为对处于未打开状态的数据进行传输, 则记录所述数据的 地址或者内容作为数据传输任务; 或者如果数据传输事件为对处于打开状态的数据进行传 输, 则记录所述数据的地址或者内容, 并记录所述数据当前的播放位置或页面位置, 将记 录的全部内容作为数据传输任务。
104: 当本端设备与对端设备成功建立连接时, 执行所述的数据传输任务, 并以第二状 态显示代表对端设备的图标, 流程结束。
本发明中,所述第一状态与第二状态不同,第一状态用于表示所述对端设备不可连接, 第二状态用于表示所述对端设备已成功连接。 优选地, 所述第一状态为将图标的边界线以 虚线显示, 所述第二状态为将图标的边界线以实线显示; 或者, 所述第一状态为以指定的 灰度显示图标, 所述第二状态为正常显示图标; 当然, 也可以采用其它方式进行显示, 本 发明对此不限定。 例如, 参见图 2, 本端设备具有一个周边设备: 设备 1, 在屏幕上显示设 备 1的图标, 当前设备 1为无法连接的状态, 因此, 用虚线边界线来显示该图标, 如图 2 中的左图所示。 一段时间后, 设备 1可以连接, 则用实线边界线来显示该图标, 如图 2中 的右图所示。
本发明实施例中,所述数据传输事件中的数据可以为任何格式的数据,包括但不限于: 图片、 文件、 电子文档、 媒体文件等等, 其中, 该媒体文件可以为正在播放状态下的媒体 文件, 电子文档可以为正在阅读状态下的电子文档, 本发明对此不限定。
本实施例提供的上述方法, 通过检测本端设备与对端设备之间的数据传输事件, 并建 立对应的数据传输任务, 在对端设备连接成功后, 执行该数据传输任务, 实现了对未连接 设备的操作, 以及该设备连接成功后数据的自动传输, 无需用户等待连接, 简化了在复杂 环境下数据传输的交互动作, 极大地方便了用户使用, 提升用户的体验, 增强了用户共享 的兴趣和产品归属感。 参见图 3, 本发明又一实施例提供了一种数据传输的方法, 包括:
301: 当对端设备无法连接时, 以第一状态显示代表该对端设备的图标。 302: 检测本端设备与对端设备之间的多个数据传输事件。
本步骤可以具体包括:检测本端设备上是否有数据被移动至该图标上的事件,如果是, 则确定本端设备发起传输所述数据到对端设备的数据传输事件。
303: 建立与检测到的多个数据传输事件对应的数据传输任务, 并在该图标的***显示 数据传输任务的个数。
通常情况下, 每个数据传输事件对应有一个数据传输任务, 即, 数据传输事件的个数 与数据传输任务的个数相等。
304: 当本端设备与对端设备成功建立连接时, 执行已建立的所述数据传输任务, 并以 第二状态显示代表对端设备的图标, 流程结束。
进一歩地, 上述方法还可以包括:
305: 在执行所述数据传输任务的过程中, 每一个数据传输任务完成后, 所述图标*** 显示的数据传输任务的个数对应减少, 从而方便用户及时了解数据传输任务个数的变化。 其中, 所述个数对应减少的方式本发明不做具体限定, 如可以为减 1等等。
其中, 所述第一状态与第二状态不同, 从而可以区分对端设备当前是否为可连接的状 态, 具体同上述实施例中的描述, 此处不赘述。
本实施例中, 所述图标的***优选地为所述图标的边缘处, 且该边缘处可以为该图标 的任一个方向的边缘处, 如图标为正方形时, 可以在正方形的右上角、 左上角、 左下角或 右下角等任一处显示待传输的数据的个数。 显示的所述个数在屏幕上所占的区域, 可以有 部分覆盖该图标, 或者全部覆盖该图标, 当然, 也可以不覆盖该图标等等, 本发明对此不 限定。
例如, 参见图 4, 本端设备具有一个周边设备, 可以称为对端设备, 当前无法连接, 以 虚线边界线显示代表该对端设备的图标, 检测到用户将待传输的图片拖拽到该图标上, 则 确定用户发起传输该图片到该对端设备的请求, 因此记录该图片的地址或内容作为数据传 输任务, 并在该图标的右上角显示数据传输任务的个数为 1。
参见图 5, 本发明另一实施例提供了一种数据传输的方法, 包括:
501: 当对端设备无法连接时, 以第一状态显示代表该对端设备的图标。
502: 检测本端设备与对端设备之间的数据传输事件。
本步骤可以具体包括:检测本端设备上是否有数据被移动至该图标上的事件,如果是, 则确定本端设备发起传输所述数据到对端设备的数据传输事件。
503: 如果所述数据传输事件为对处于未打开状态的数据进行传输, 则记录所述数据的 地址或者内容。 504: 当与对端设备成功建立连接时, 传输已记录的所述数据的内容给对端设备并以第 二状态显示该图标, 或者根据记录的所述数据的地址获取所述数据的内容, 将获取的所述 数据的内容传输给对端设备并以第二状态显示该图标, 流程结束。
参见图 6, 本发明再一实施例提供了一种数据传输的方法, 包括:
601: 当对端设备无法连接时, 以第一状态显示代表该对端设备的图标。
602: 检测本端设备与对端设备之间的数据传输事件。
本步骤可以具体包括:检测本端设备上是否有数据被移动至该图标上的事件,如果是, 则确定本端设备发起传输所述数据到对端设备的数据传输事件。
603: 如果所述数据传输事件为对处于打开状态的数据进行传输, 则记录所述数据的地 址或者内容, 并记录所述数据当前的播放位置或页面位置。
604: 当本端设备与对端设备成功建立连接时, 将已记录的所述数据的内容以及所述数 据当前的播放位置或页面位置传输给对端设备, 并且以第二状态显示该图标; 或者, 根据 记录的所述数据的地址获取所述数据的内容, 将获取的所述数据的内容以及记录的所述数 据当前的播放位置或页面位置传输给对端设备, 并且以第二状态显示该图标。
605: 对端设备接收所述数据的内容和所述数据当前的播放位置, 根据所述播放位置继 续播放所述数据的内容;或者,对端设备接收所述数据的内容和所述数据当前的页面位置, 在所述页面位置处继续显示所述数据的内容; 流程结束。
本实施例中, 对端设备收到所述数据的内容和播放位置后, 可以根据该数据的播放位 置继续对该数据的内容进行播放, 从而达到了用户可以在该对端设备上继续播放的效果, 实现良好的体验。 所述数据具体地可以为媒体文件, 所述媒体文件包括音乐文件或者视频 文件, 本发明对此不限定。
本实施例中, 正在播放的媒体文件的位置信息可以在屏幕上进行显示, 以便用户更加 直观地了解当前的播放进度。 例如, 参见图 7, 其中的左图为音乐文件的播放界面, 显示有 音乐文件的开始点位置、 音乐文件的结束点位置和音乐文件正在播放的位置; 其中的右图 为视频文件的播放界面, 中间为视频的播放画面, 下方显示有视频文件的开始点位置、 视 频文件的结束点位置和视频文件正在播放的位置。 其中音乐文件正在播放的位置, 或者视 频文件正在播放的位置会传输给对端设备, 从而保证对端设备收到后能够继续进行播放。
本实施例中, 对端设备收到所述数据的内容和页面位置后, 可以根据该数据的页面位 置继续显示该数据的内容, 从而达到了用户在该对端设备上继续阅读的效果, 实现良好的 体验。 所述数据具体地可以为电子文档, 如 doc文件等等。
例如, 参见图 8, 本端设备的用户正在阅读一篇电子文档, 界面中显示的就是该文档的 内容, 下方显示有当前的页面信息, 当将该电子文档传输给对端设备时, 其中, 当前的页 面信息也传输给对端设备, 以便对端设备收到该文档后用户可以在对端设备上继续阅读该 电子文档, 实现良好的体验。
本发明中, 进一步地, 在上述提供的任一种方法中, 还可以包括以下步骤: 接收用户査看所述数据传输任务的请求, 根据该请求展开建立的数据传输任务的列表。 具体地, 可以包括: 当该用户长按已显示的对端设备的图标时, 弹出一个窗口, 在该 窗口内显示数据传输任务的列表。 其中, 所述列表中逐项显示各个待传输数据的信息, 通 常以文件名的方式进行显示, 以方便用户进行査看。 所述窗口所在的位置可以位于该图标 的附近, 如上方、 下方、 左边或右边等等。 所述窗口在屏幕上占用的区域可以与该图标有 重叠的部分, 也可以完全独立, 没有任何重叠部分, 本发明对此不限定。
另外, 还可以设置该窗口默认显示的对象的个数, 当待传输数据的个数超过该默认的 个数时, 在列表的最下方显示 "其他" 的字样, 当用户再点击该 "其他"位置时, 可以查 看更多内容。 所述默认的显示对象的个数, 本发明对此不做具体限定。
例如, 参见图 9, 本端设备的显示屏上以虚线边界线显示有周边设备的图标, 表示该周 边设备当前不可连接。 本端设备的用户拖拽了 6个数据到该图标上, 因此, 在该图标的右 上角显示有个数 6, 表示待传输数据为 6个。 当用户长按该图标时, 在该图标的左下方弹出 一个窗口, 在该窗口内显示待传输数据的列表, 包括该 6个数据的信息, 如各个文件名等 等。 进一步地, 还可以设置该窗口内默认显示的对象个数为 3个, 则其余的信息进行省略 当前不进行显示, 当用户点击 "其他…… "所在的位置时再进一步地显示其他待传输数据 的信息, 以方便用户进行査看。
本发明中, 进一歩地, 在上述提供的任一种方法中, 还可以包括以下歩骤: 当所述数据传输任务为多个时, 按照用户请求的顺序依次执行所述多个数据传输任务; 或者,
当所述数据传输任务为多个时, 按照用户请求的顺序反向依次执行所述多个数据传输 任务; 或者,
当所述数据传输任务为多个时, 按照预设的传输任务的优先级执行所述多个数据传输 任务。
例如, 待传输数据包括: 图片、 音乐文件和 word文档, 共三个文件。 本端设备的用户 按照该顺序依次将各个文件的图标拖拽到对端设备的图标上, 本端设备记录该请求的顺序, 因此, 当对端设备可以连接后,本端设备可以按照该请求顺序依次传输这三个文件: 图片、 音乐文件和 word文档。 或者, 也可以在本端设备上进行配置, 将传输数据的顺序设置为与 请求顺序相反, 则在传输该 3个文件时, 按照相反的顺序进行传输, 即按照 word文档、 音 乐文件和图片的顺序进行传输。
本发明实施例提供的上述各种方法中, 所述检测本端设备与所述对端设备之间的数据 传输事件, 可以具体包括:
检测输入至本端设备中的选择指令;
根据所述选择指令在本端设备上选中与该选择指令对应的目标文件;
检测为移动该目标文件的而输入至本端设备中的移动轨迹;
沿所检测到的所述移动轨迹移动该目标文件, 并在该目标文件移动至代表对端设备的 图标上时, 确定本端设备发起传输所述数据到对端设备的数据传输事件。
本发明实施例提供的上述各种方法, 通过检测本端设备与对端设备之间的数据传输事 件, 并建立对应的数据传输任务, 在对端设备连接成功后, 执行该数据传输任务, 实现了 对未连接设备的操作, 以及该设备连接成功后数据的自动传输, 无需用户等待连接, 简化 了在复杂环境下数据传输的交互动作, 极大地方便了用户使用, 提升用户的体验, 增强了 用户共享的兴趣和产品归属感。 当传输正在播放的媒体文件或正在阅读的电子文档时, 通 过传输媒体文件当前播放的位置或电子文档当前的页面位置, 可以实现对端设备收到后继 续进行播放或继续进行显示, 极大地方便了用户继续播放或阅读, 省去了用户记忆査找的 麻烦, 具有良好的体验效果。
值得一提的是, 本发明实施例中, 本端设备的用户也可以在对端设备处于连接状态时 进行数据的同步传输。 当用户拖拽被传输数据到对端设备的图标上时, 本端设备自动将该 数据同步传输到对端设备上。如果对端设备的接收速度比较慢,用户拖拽的数据比较多时, 也可以在传输的过程中, 以图 3所示实施例的方式实时显示待传输数据的个数。
本发明实施例中, 对端设备的屏幕上也可以采用上述各种方法进行显示。 例如, 参见 图 10,本端设备为便携式移动设备 1,如手机,对端设备为电脑及显示设备 2,如桌面电脑。 在设备 1的屏幕上显示有设备 2的图标, 设备 2的屏幕上显示有设备 1的图标, 且双方不 可连接时, 均以虚线边界线显示图标, 如果双方连接成功, 而均以实线边界线显示图标, 从而方便用户査看连接状态。 参见图 11, 本发明再一实施例提供了一种数据传输的装置, 包括:
显示模块 1101, 用于当对端设备无法连接时, 以第一状态显示代表对端设备的图标, 当所述装置与对端设备成功建立连接时, 以第二状态显示该图标;
检测模块 1102, 用于检测所述装置与对端设备之间的数据传输事件; 建立模块 1103,用于建立与检测模块 1102检测到的数据传输事件对应的数据传输任务; 传输模块 1104, 用于当所述装置与对端设备成功建立连接时, 执行建立模块 1103建立 的数据传输任务。
本实施例中, 检测模块 1102可以具体用于: 检测所述装置与对端设备之间的多个数据 传输事件; 相应地, 建立模块 1103具体用于: 建立与检测模块 1102检测到的多个数据传输 事件对应的数据传输任务。 在此基础上, 进一步地, 显示模块 1101还用于: 在所述图标外 围显示建立模块 1103建立的数据传输任务的个数; 或者, 还用于: 接收用户查看所述数据 传输任务的请求, 根据所述请求展开所述数据传输任务的列表。
本实施例中,当显示模块 1101在所述图标***显示数据传输任务的个数时,进一步地, 显示模块 1101还用于:在传输模块 1104每完成一个所述数据传输任务后,将所述显示的数 据传输任务的个数对应减少。
本实施例中, 检测模块 1102具体用于: 检测所述装置上是否有数据被拖拽到所述图标 上的事件, 如果是, 则确定所述装置发起传输所述数据到对端设备的数据传输事件。
本实施例中, 建立模块 1103包括:
第一建立单元, 用于如果数据传输事件为对处于未打开状态的数据进行传输, 则记录 所述数据的地址或者内容作为数据传输任务; 或者,
第二建立单元, 用于如果数据传输事件为对处于打开状态的数据进行传输, 则记录所 述数据的地址或者内容, 并记录所述数据当前的播放位置或页面位置, 将记录的全部内容 作为数据传输任务。
本实施例中, 所述任一种实施方式下的装置, 其中传输模块 1104用于: 当所述数据传 输任务为多个时, 按照用户请求的顺序依次执行所述多个数据传输任务, 或者反向执行所 述多个数据传输任务。
本实施例提供的所述装置可以执行上述任一方法实施例中的方法, 具体过程详见方法 实施例中的描述, 此处不赘述。 所述装置位于本端设备中, 所述本端设备与对端设备可以 进行有线连接或无线连接。
参见图 12, 本实施例中, 所述本端设备可以具体包括: 控制器和存储器 1201、 通信接 口 1202和***设备 1203。其中,控制器和存储器 1201具体包括: CPU( Central Process Unit, 中央处理器)、 RAM (Random Access Memory, 随机存储器)、 ROM ( Read-Only Memory, 只读存储器)和存储器件。 所述通信接口包括但不限于以下的至少一种: WiFi通信接口、 蓝牙通信接口、 以太网通信接口和 USB (Universal Serial Bus, 通用串行总线) 通信接口。 所述***设备 1203包括但不限于以下的至少一种: 键盘、 鼠标、 触摸控制器、 显示器和运 动感应与控制器。 其中, CPU与 RAM、 ROM以及存储器件之间通过内部总线相连接, 控 制器和存储器 1201通过 I/O (输入 /输出) 端口与***设备 1203, 以及通信接口 1202相连 接。
本实施例提供的上述装置, 通过检测所述装置与对端设备之间的数据传输事件, 并建 立对应的数据传输任务, 在对端设备连接成功后, 执行该数据传输任务, 实现了对未连接 设备的操作, 以及该设备连接成功后数据的自动传输, 无需用户等待连接, 简化了在复杂 环境下数据传输的交互动作, 极大地方便了用户使用, 提升用户的体验, 增强了用户共享 的兴趣和产品归属感。 当传输正在播放的媒体文件或正在阅读的电子文档时, 通过传输媒 体文件当前播放的位置或电子文档当前的页面位置, 可以实现对端设备收到后继续进行播 放或继续进行显示, 极大地方便了用户继续播放或阅读, 省去了用户记忆査找的麻烦, 具 有良好的体验效果。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质 中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种数据传输的方法, 其特征在于, 所述方法包括:
当对端设备无法连接时, 以第一状态显示代表所述对端设备的图标;
检测本端设备与所述对端设备之间的数据传输事件;
建立与所检测到的数据传输事件对应的数据传输任务;
当所述本端设备与所述对端设备成功建立连接时, 执行所述的数据传输任务, 并以第二 状态显示代表所述对端设备的图标。
2、 根据权利要求 1所述的方法, 其特征在于,
所述检测本端设备与所述对端设备之间的数据传输事件, 包括: 检测本端设备与所述对 端设备之间的多个数据传输事件;
对应, 所述建立与所检测到的数据传输事件对应的数据传输任务, 包括: 建立与所检测 到的多个数据传输事件对应的数据传输任务。
3、 根据权利要求 2所述的方法, 其特征在于, 所述方法还包括:
在所述图标***显示所述数据传输任务的个数。
4、 根据权利要求 2所述的方法, 其特征在于, 所述方法还包括:
接收用户查看所述数据传输任务的请求,根据所述请求展开建立的数据传输任务的列表。
5、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括:
每一个所述的数据传输任务完成后, 所述图标***所显示的所述数据传输任务的个数对 应减少。
6、根据权利要求 1所述的方法, 其特征在于, 所述检测本端设备与所述对端设备之间的 数据传输事件, 包括:
检测输入至所述本端设备中的选择指令;
根据所述选择指令在所述本端设备上选中与所述选择指令对应的目标文件;
检测为移动所述目标文件的而输入至所述本端设备中的移动轨迹; 沿所检测到的所述移动轨迹移动所述目标文件, 并在所述目标文件移动至所述代表所述 对端设备的图标上时,确定所述本端设备发起传输所述数据到所述对端设备的数据传输事件。
7,根据权利要求 1所述的方法, 其特征在于, 所述检测本端设备与所述对端设备之间的 数据传输事件, 包括:
检测所述本端设备上是否有数据被移动至到所述图标上的事件, 如果是, 则确定所述本 端设备发起传输所述数据到所述对端设备的数据传输事件。
8、根据权利要求 1所述的方法, 其特征在于, 所述建立与所检测到的数据传输事件对应 的数据传输任务, 包括:
如果数据传输事件为对处于未打开状态的数据进行传输, 则记录所述数据的地址或者内 容作为数据传输任务; 或者,
如果数据传输事件为对处于打开状态的数据进行传输,则记录所述数据的地址或者内容, 并记录所述数据当前的播放位置或页面位置, 将记录的全部内容作为数据传输任务。
9、根据权利要求 1至 8中任一项所述的方法, 其特征在于, 所述执行所述的数据传输任 务, 包括:
当所述数据传输任务为多个时, 按照用户请求的顺序依次执行所述多个数据传输任务; 或者,
当所述数据传输任务为多个时, 按照用户请求的顺序反向依次执行所述多个数据传输任 务; 或者,
当所述数据传输任务为多个时, 按照预设的传输任务的优先级执行所述多个数据传输任 务。
10、 一种数据传输的装置, 其特征在于, 所述装置包括:
显示模块, 用于当对端设备无法连接时, 以第一状态显示代表所述对端设备的图标, 当 所述装置与所述对端设备成功建立连接时, 以第二状态显示所述图标;
检测模块, 用于检测所述装置与所述对端设备之间的数据传输事件;
建立模块, 用于建立与所述检测模块检测到的所述数据传输事件对应的数据传输任务; 传输模块, 用于当所述装置与所述对端设备成功建立连接时, 执行所述建立模块建立的 所述数据传输任务。
11、 根据权利要求 10所述的装置, 其特征在于, 所述检测模块具体用于: 检测所述装置 与所述对端设备之间的多个数据传输事件;
相应地, 所述建立模块具体用于: 建立与所述检测模块检测到的多个数据传输事件对应 的数据传输任务。
12、 根据权利要求 11所述的装置, 其特征在于, 所述显示模块还用于: 在所述图标*** 显示所述建立模块建立的数据传输任务的个数。
13、 根据权利要求 11所述的装置, 其特征在于, 所述显示模块还用于: 接收用户查看所 述数据传输任务的请求, 根据所述请求展开所述数据传输任务的列表。
14、根据权利要求 12所述的装置, 其特征在于, 所述显示模块还用于: 在所述传输模块 每完成一个所述数据传输任务后, 将所述显示的数据传输任务的个数对应减少。
15、根据权利要求 10所述的装置, 其特征在于, 所述检测模块具体用于: 检测输入至所 述本端设备中的选择指令; 根据所述选择指令在所述本端设备上选中与所述选择指令对应的 目标文件; 检测为移动所述目标文件的而输入至所述本端设备中的移动轨迹; 沿所检测到的 所述移动轨迹移动所述目标文件, 并在所述目标文件移动至所述代表所述对端设备的图标上 时, 确定所述本端设备发起传输所述数据到所述对端设备的数据传输事件。
16、根据权利要求 10所述的装置, 其特征在于, 所述检测模块具体用于: 检测所述装置 上是否有数据被移动至所述图标上的事件, 如果是, 则确定所述装置发起传输所述数据到所 述对端设备的数据传输事件。
17、 根据权利要求 10所述的装置, 其特征在于, 所述建立模块包括:
第一建立单元, 用于如果数据传输事件为对处于未打开状态的数据进行传输, 则记录所 述数据的地址或者内容作为数据传输任务; 或者,
第二建立单元, 用于如果数据传输事件为对处于打开状态的数据进行传输, 则记录所述 数据的地址或者内容, 并记录所述数据当前的播放位置或页面位置, 将记录的全部内容作为 数据传输任务。
18、 根据权利要求 10至 17中任一项所述的装置, 其特征在于, 所述传输模块用于: 当 所述数据传输任务为多个时, 按照用户请求的顺序依次执行所述多个数据传输任务; 或者, 当所述数据传输任务为多个时, 按照用户请求的顺序反向依次执行所述多个数据传输任务; 或者, 当所述数据传输任务为多个时, 按照预设的传输任务的优先级执行所述多个数据传输 任务。
PCT/CN2012/070900 2012-02-06 2012-02-06 数据传输的方法和装置 WO2012092896A2 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201280000324.4A CN102687117B (zh) 2012-02-06 2012-02-06 数据传输的方法和装置
PCT/CN2012/070900 WO2012092896A2 (zh) 2012-02-06 2012-02-06 数据传输的方法和装置
US13/720,482 US20130204945A1 (en) 2012-02-06 2012-12-19 Method and apparatus for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/070900 WO2012092896A2 (zh) 2012-02-06 2012-02-06 数据传输的方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/720,482 Continuation US20130204945A1 (en) 2012-02-06 2012-12-19 Method and apparatus for transmitting data

Publications (2)

Publication Number Publication Date
WO2012092896A2 true WO2012092896A2 (zh) 2012-07-12
WO2012092896A3 WO2012092896A3 (zh) 2012-12-27

Family

ID=46457755

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/070900 WO2012092896A2 (zh) 2012-02-06 2012-02-06 数据传输的方法和装置

Country Status (3)

Country Link
US (1) US20130204945A1 (zh)
CN (1) CN102687117B (zh)
WO (1) WO2012092896A2 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870143A (zh) * 2012-12-14 2014-06-18 联想(北京)有限公司 数据传输控制方法及电子设备
CN105224185B (zh) * 2014-11-03 2019-04-12 维沃移动通信有限公司 数据共享方法及移动终端
CN106559736B (zh) * 2015-09-28 2019-11-22 展讯通信(上海)有限公司 蓝牙设备连接控制方法及装置
CN108803958B (zh) * 2017-04-26 2022-12-16 腾讯科技(深圳)有限公司 文件载入控制、云存储应用中实现上传的交互方法和装置
CN109246207A (zh) * 2018-08-28 2019-01-18 优视科技新加坡有限公司 近场文件传输方法及其装置
CN111970312A (zh) 2019-05-20 2020-11-20 北京小米移动软件有限公司 文件传输方法、装置及计算机可读存储介质
CN111327769B (zh) 2020-02-25 2022-04-08 北京小米移动软件有限公司 多屏互动方法及装置、存储介质
CN111666055B (zh) * 2020-04-24 2021-12-14 华为技术有限公司 数据的传输方法及装置
CN116431038B (zh) * 2023-06-13 2023-10-03 Tcl通讯科技(成都)有限公司 外置存储设备的连接通断提示方法、装置、介质及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5801700A (en) * 1996-01-19 1998-09-01 Silicon Graphics Incorporated System and method for an iconic drag and drop interface for electronic file transfer
CN101526950A (zh) * 2009-04-09 2009-09-09 酷派软件技术(深圳)有限公司 一种终端、数据自动同步的方法及***
CN102081553A (zh) * 2009-12-01 2011-06-01 联想(北京)有限公司 便携设备的任务处理方法、装置及便携设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031484A (ja) * 2004-07-16 2006-02-02 Yamaha Corp コンテンツ管理装置及びそのプログラム
CN100563197C (zh) * 2006-03-16 2009-11-25 腾讯科技(深圳)有限公司 一种图片共享***和方法
CN101170523B (zh) * 2007-12-05 2010-09-29 腾讯科技(深圳)有限公司 文件传输***、方法以及文件中转决策服务器
JP5333068B2 (ja) * 2009-08-31 2013-11-06 ソニー株式会社 情報処理装置、表示方法及び表示プログラム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5801700A (en) * 1996-01-19 1998-09-01 Silicon Graphics Incorporated System and method for an iconic drag and drop interface for electronic file transfer
CN101526950A (zh) * 2009-04-09 2009-09-09 酷派软件技术(深圳)有限公司 一种终端、数据自动同步的方法及***
CN102081553A (zh) * 2009-12-01 2011-06-01 联想(北京)有限公司 便携设备的任务处理方法、装置及便携设备

Also Published As

Publication number Publication date
CN102687117A (zh) 2012-09-19
WO2012092896A3 (zh) 2012-12-27
US20130204945A1 (en) 2013-08-08
CN102687117B (zh) 2014-09-03

Similar Documents

Publication Publication Date Title
WO2012092896A2 (zh) 数据传输的方法和装置
TWI696385B (zh) 在各自連接至槽設備的複數個源設備之間共享資料
US8850364B2 (en) Method and device for sending file data
CN103106109B (zh) 移动装置以及于其上运行两种平台***或应用程序的方法
JP6373899B2 (ja) 機器制御方法及びその装置
US20150067536A1 (en) Gesture-based Content Sharing Between Devices
KR102249413B1 (ko) 이미지 공유 방법 및 전자 디바이스
US20160134942A1 (en) Multimedia playing system, multimedia file sharing method and control method thereof
US11720265B2 (en) Data migration synchronization process using a manifest from a source device to a new destination device
WO2022105425A1 (zh) 显示方法、电子设备及可读存储介质
JP5892920B2 (ja) 通信端末、画面表示方法、プログラム
CN103988195A (zh) 用于在设备之间共享内容的方法及装置
WO2013174265A1 (zh) 数据传输方法和装置
JP2012038210A (ja) 情報処理装置、情報処理方法、コンピュータプログラム及びコンテンツ表示システム
KR20110110331A (ko) 동기화 방법 및 시스템
WO2017008646A1 (zh) 一种在触控终端上选择多个目标的方法和设备
WO2016164702A1 (en) Opening new application window in response to remote resource sharing
WO2014154089A1 (zh) 一种设备识别方法及相关设备
US9727210B2 (en) User terminal device for supporting data share function and methods thereof
JP5729823B2 (ja) バックアップ装置、バックアップ方法及び、バックアップ用プログラム
JP6372485B2 (ja) 情報処理装置、リモート操作制御方法及びリモート操作制御プログラム
JP5647714B1 (ja) 表示制御装置、表示制御方法、及びプログラム
WO2016070371A1 (zh) 移动终端和web终端之间互连及流传输和流媒体播放的方法
WO2016070372A1 (zh) 用于在移动设备和web终端之间进行同步显示的方法
JP6187239B2 (ja) クラウドサーバ,制御プログラム,制御方法及びクラウドシステム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280000324.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12732204

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12732204

Country of ref document: EP

Kind code of ref document: A2