CN109413257B - Electronic device and data sharing method thereof - Google Patents

Electronic device and data sharing method thereof Download PDF

Info

Publication number
CN109413257B
CN109413257B CN201611186217.1A CN201611186217A CN109413257B CN 109413257 B CN109413257 B CN 109413257B CN 201611186217 A CN201611186217 A CN 201611186217A CN 109413257 B CN109413257 B CN 109413257B
Authority
CN
China
Prior art keywords
external device
data
gesture
shared
electronic device
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201611186217.1A
Other languages
Chinese (zh)
Other versions
CN109413257A (en
Inventor
鄢玉虎
廖建贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai Ltd
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 Ambit Microsystems Shanghai Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201611186217.1A priority Critical patent/CN109413257B/en
Publication of CN109413257A publication Critical patent/CN109413257A/en
Application granted granted Critical
Publication of CN109413257B publication Critical patent/CN109413257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A method of data sharing, the method comprising the steps of: detecting a grabbing gesture of data to be shared and a moving track of the grabbing gesture; moving the data to be shared according to the moving track of the grabbing gesture, and determining a target external device; and establishing connection with the target external device, and sending the data to be shared to the target external device. The invention also provides an electronic device. The invention can visually and conveniently share data with the external device.

Description

Electronic device and data sharing method thereof
Technical Field
The present invention relates to data sharing technologies, and in particular, to an electronic device and a data sharing method thereof.
Background
Due to the prevalence of smart phones and the development of networks, the demand for sharing files, photos, business cards or movies is increasing. Currently, data sharing can be performed between the two devices through the self-contained functions of the smart phone system or the third-party application program. However, the existing data sharing operations for the two modes are complex in operation process, the operation mode is not easy to learn, and the user experience is poor.
Disclosure of Invention
In view of the foregoing, there is a need for an electronic device that can intuitively and conveniently share data with an external device.
In view of the above, it is necessary to provide a data sharing method, which can intuitively and conveniently share data with an external device.
An embodiment of the present invention provides an electronic device, including: the detection module is used for detecting a grabbing gesture of data to be shared and a moving track of the grabbing gesture; the display module is used for moving the data to be shared according to the moving track of the grabbing gesture and determining a target external device; and the sending module is used for establishing connection with the target external device and sending the data to be shared to the target external device.
An embodiment of the present invention provides a data sharing method, including: detecting a grabbing gesture of data to be shared and a moving track of the grabbing gesture; moving the data to be shared according to the moving track of the grabbing gesture, and determining a target external device; and establishing connection with the target external device, and sending the data to be shared to the target external device.
Compared with the prior art, the electronic device and the data sharing method thereof can capture data to a gesture displayed on a target external device in a touch screen by two fingers according to a user, and send the data to be shared to the target external device, so that the user can more intuitively and conveniently perform data sharing operation, the operation process is simple and easy to learn, and the user experience is greatly improved.
Drawings
FIG. 1 is a functional block diagram of an electronic device according to an embodiment of the invention.
Fig. 2 is a flowchart illustrating steps of a data sharing method according to an embodiment of the invention.
FIG. 3 is a diagram illustrating a trigger gesture according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating a grab gesture according to an embodiment of the invention.
Description of the main elements
Figure BDA0001185687500000021
Figure BDA0001185687500000031
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
Fig. 1 is a functional block diagram of an electronic device according to an embodiment of the invention. In the embodiment, the electronic device 2 includes a data sharing system 10, a memory 20, a processor 30 and a touch screen 40. The electronic device 2 may be a touch electronic device such as a smart phone or a tablet computer.
The data sharing system 10 includes a detecting module 100, a sending module 200, a receiving module 300, and a displaying module 400. The modules are configured to be executed by one or more processors, in this embodiment processor 30, to complete the present invention. The modules referred to in the present invention are computer program segments that perform a specific function. The memory 20 is used for storing data such as program codes of the data sharing system 10. The processor 30 is configured to execute program code stored in the memory 20.
The detecting module 100 is configured to detect a triggering gesture on the touch screen 40. In the present embodiment, the triggering gesture is a long press of the touch screen 40 (see fig. 3) with two fingers (two points), for example, the touch screen stays for more than two seconds. When a user wants to share data to an external device, a connection request to the external device is triggered through the trigger gesture.
The sending module 200 is configured to send a connection request to an external device near the electronic device 2. When the trigger gesture is detected, the sending module 200 broadcasts a connection request to at least one external device nearby, and waits for a response from each external device. The external device can be an electronic device such as a mobile phone, a tablet computer, a television, a sound box and the like.
The receiving module 300 is configured to receive a response message from each external device. The response message may include connection modes supported by the external device, such as Wireless-Fidelity (Wi-Fi), Bluetooth (Bluetooth), ZigBee (ZigBee), infrared transmission, and the like. After receiving the response message, the receiving module 300 acquires the connection mode supported by the external device from the response message.
The display module 400 is used for displaying the responded external devices in the touch screen 40. For the external device(s) that have received the response message, the display module 400 displays the corresponding name or icon, etc. in the touch screen 40, so that the subsequent user can share data with the external device. Optionally, the electronic device 2 may further include an edge detection sensor, configured to detect a position relationship between the external device and the electronic device 2, so that the display module 400 displays a name or an icon of the external device on a corresponding side, such as an upper side, a lower side, a left side, or a right side, of the touch screen 40 in the touch screen 40 according to the position relationship.
The detecting module 100 is further configured to detect a grabbing gesture of data to be shared and a moving track of the grabbing gesture. In the present embodiment, the grabbing gesture is to grab the data to be shared by two fingers (see fig. 4). The data to be shared may be audio, video, pictures or text files. When a user wants to share data with the external device displayed in the touch screen 40, the data to be shared is captured in a two-finger inner-clamping manner, and then the data to be shared is moved to the name or icon of the responded external device displayed in the touch screen 40. When a user needs to share data with a plurality of external devices, the data to be shared can be captured and moved for a plurality of times.
It is noted that the two fingers of the trigger gesture and the two fingers of the grab gesture may be the same or different. For example, the user may use the index and middle fingers of the right hand to long press the touch screen 40 with a V-gesture to trigger the connection request, and then use the thumb and index fingers of the right hand to grab the data to be shared with an inward grabbing gesture. Or, the user may also use the index finger and the middle finger of the right hand to press the touch screen 40 with the long V-shaped gesture to trigger the connection request, and then grab the data to be shared with the inward grabbing gesture by the index finger and the middle finger. In other embodiments, the user may even use one finger to perform the trigger gesture and/or the grab gesture with the left and right hand, respectively.
The display module 400 is further configured to move the data to be shared according to the movement trajectory of the grabbing gesture, and determine a target external device. In this embodiment, the user selects the data to be shared from the touch screen 40 by using the grabbing gesture, and according to the moving track of the grabbing gesture, the display module 400 moves the data to be shared to the name or icon of the responded external device displayed in the touch screen 40, where the external device is the target external device.
It should be noted that, when the user moves the grabbed data to be shared to the name or icon of the target external device, the finger of the user may or may not contact the touch screen 40. When the user's finger contacts the touch screen 40, it is equivalent to drag the data to be shared onto the name or icon of the target external device, and then release it. When the finger of the user does not contact the touch screen 40, the sensor in the electronic device 2 detects the movement track of the finger of the user, and controls the captured data to be shared to move synchronously on the touch screen 40, and then the finger of the user touches the name or icon of the target external device displayed in the touch screen 40 to release the data to be shared.
The sending module 200 is further configured to establish a connection with the target external device, and send the data to be shared to the target external device. In this embodiment, the connection mode supported by the target external device may be obtained according to the response message corresponding to the target external device, and the sending module 200 establishes a connection with the target external device according to the connection mode supported by the target external device, and then sends the data to be shared to the target external device through the connection. For example, if the target external device supports a Wi-Fi connection mode, the sending module 200 establishes a connection with the target external device in the Wi-Fi connection mode, and then sends the data to be shared to the target external device through Wi-Fi.
Fig. 2 is a flowchart illustrating steps of a data sharing method according to an embodiment of the invention. The data sharing method is applied to the electronic device 2, and is implemented by the processor 30 executing the program codes stored in the memory 20.
Step S200, detecting a trigger gesture on the touch screen 40. In the present embodiment, the triggering gesture is a long press of the touch screen 40 (see fig. 3) with two fingers (two points), for example, the touch screen stays for more than two seconds. When a user wants to share data to an external device, a connection request to the external device is triggered through the trigger gesture.
Step S202 is to transmit a connection request to an external device in the vicinity of the electronic device 2. When the trigger gesture is detected, the electronic device 2 broadcasts a connection request to at least one external device nearby, and waits for responses from the external devices. The external device can be an electronic device such as a mobile phone, a tablet computer, a television, a sound box and the like.
Step S204, receiving response messages of each external device. The response message may include connection modes supported by the external device, such as Wi-Fi, Bluetooth, ZigBee, infrared transmission, and the like. And after receiving the response message, the electronic device 2 acquires the connection mode supported by the external device from the response message.
In step S206, the responded external device is displayed on the touch screen 40. For the external device(s) that have received the response message, their corresponding names or icons, etc. are displayed in the touch screen 40, so that subsequent users can share data with the external devices. Optionally, the electronic device 2 may further include an edge detection sensor for detecting a positional relationship between the external device and the electronic device 2, so as to display a name or an icon of the external device on a corresponding side of the touch screen 40 according to the positional relationship, for example, an upper side, a lower side, a left side or a right side of the touch screen 40.
In other embodiments, if all the external devices do not respond to the connection request within a preset time period, the user cannot share data with the external devices, and the process ends.
In step S208, a capture gesture for data to be shared and a movement trajectory of the capture gesture are detected. In the present embodiment, the grabbing gesture is to grab the data to be shared by two fingers (see fig. 4). The data to be shared may be audio, video, pictures or text files. When a user wants to share data with the external device displayed in the touch screen 40, the data to be shared is captured in a two-finger inner-clamping manner, and then the data to be shared is moved to the name or icon of the responded external device displayed in the touch screen 40. When a user needs to share data with a plurality of external devices, the data to be shared can be captured and moved for a plurality of times.
It is noted that the two fingers of the trigger gesture and the two fingers of the grab gesture may be the same or different. For example, the user may use the index and middle fingers of the right hand to long press the touch screen 40 with a V-gesture to trigger the connection request, and then use the thumb and index fingers of the right hand to grab the data to be shared with an inward grabbing gesture. Or, the user may also use the index finger and the middle finger of the right hand to press the touch screen 40 with the long V-shaped gesture to trigger the connection request, and then grab the data to be shared with the inward grabbing gesture by the index finger and the middle finger. In other embodiments, the user may even use one finger to perform the trigger gesture and/or the grab gesture with the left and right hand, respectively.
Step S210, moving the data to be shared according to the movement trajectory of the grabbing gesture, and determining a target external device. In this embodiment, the user selects the data to be shared from the touch screen 40 by using the grabbing gesture, and the data to be shared is moved to the name or icon of the responded external device displayed in the touch screen 40 according to the moving track of the grabbing gesture, where the external device is the target external device.
It should be noted that, when the user moves the grabbed data to be shared to the name or icon of the target external device, the finger of the user may or may not contact the touch screen 40. When the user's finger contacts the touch screen 40, it is equivalent to drag the data to be shared onto the name or icon of the target external device, and then release it. When the finger of the user does not contact the touch screen 40, the sensor in the electronic device 2 detects the movement track of the finger of the user, and controls the captured data to be shared to move synchronously on the touch screen 40, and then the finger of the user touches the name or icon of the target external device displayed in the touch screen 40 to release the data to be shared.
Step S212, establishing a connection with the target external device, and sending the data to be shared to the target external device. In this embodiment, the connection mode supported by the target external device may be obtained according to the response message corresponding to the target external device, and the electronic device 2 establishes a connection with the target external device according to the connection mode supported by the target external device, and then sends the data to be shared to the target external device through the connection. For example, if the target external device supports a Wi-Fi connection mode, the electronic device 2 establishes a connection with the target external device in the Wi-Fi connection mode, and then sends the data to be shared to the target external device through Wi-Fi.
Although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the present invention.

Claims (8)

1. A data sharing method is applied to an electronic device, and is characterized by comprising the following steps:
detecting a trigger gesture on the touch screen;
transmitting a connection request to at least one external device in the vicinity of the electronic device;
receiving a response message of the external device, and establishing connection with a responded target external device according to the response message;
detecting the position relation between the responded target external device and the electronic device through an edge detection sensor;
displaying names or icons of the responded target external devices on corresponding sides in the touch screen according to the position relation;
detecting a grabbing gesture of data to be shared and a moving track of the grabbing gesture;
and moving the data to be shared to the displayed name or icon of the responded external device according to the moving track of the grabbing gesture, and sending the data to be shared to the responded target external device.
2. The data sharing method of claim 1, wherein the grabbing gesture is a two-finger clip grabbing the data to be shared.
3. The data sharing method according to claim 1, wherein the triggering gesture is a two-finger long press on the touch screen.
4. The data sharing method according to claim 1, wherein the response message includes a connection type supported by the external device.
5. An electronic device, comprising:
the detection module is used for detecting a trigger gesture on the touch screen, a grabbing gesture for data to be shared and a moving track of the grabbing gesture;
an edge detection sensor for detecting a positional relationship between the responded target external device and the electronic device;
the display module is used for displaying the name or the icon of the responded target external device on a corresponding side according to the position relation and moving the data to be shared to the displayed name or the icon of the responded external device according to the moving track of the grabbing gesture;
the sending module is used for sending a connection request to at least one external device near the electronic device according to the trigger gesture, establishing connection with the responded target external device according to a response message, and sending the data to be shared to the responded target external device; and
a receiving module, configured to receive the response message of the external device.
6. The electronic device of claim 5, wherein the grabbing gesture is a two-finger pinch to grab the data to be shared.
7. The electronic device of claim 5, wherein the triggering gesture is a two-finger long press on the touch screen.
8. The electronic device of claim 5, wherein the receiving module is further configured to obtain a connection mode supported by the external device from the response message.
CN201611186217.1A 2016-12-20 2016-12-20 Electronic device and data sharing method thereof Active CN109413257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611186217.1A CN109413257B (en) 2016-12-20 2016-12-20 Electronic device and data sharing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611186217.1A CN109413257B (en) 2016-12-20 2016-12-20 Electronic device and data sharing method thereof

Publications (2)

Publication Number Publication Date
CN109413257A CN109413257A (en) 2019-03-01
CN109413257B true CN109413257B (en) 2021-02-19

Family

ID=65453940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611186217.1A Active CN109413257B (en) 2016-12-20 2016-12-20 Electronic device and data sharing method thereof

Country Status (1)

Country Link
CN (1) CN109413257B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486363B (en) * 2020-10-30 2023-12-19 华为技术有限公司 Cross-equipment content sharing method, electronic equipment and system
CN113784337B (en) * 2021-10-20 2022-08-26 清华大学 Data transmission method and device and data transmission system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622422A (en) * 2012-02-23 2012-08-01 苏州佳世达电通有限公司 Data transmission method, sending device and receiving device
CN104811898A (en) * 2014-01-23 2015-07-29 腾讯科技(深圳)有限公司 Information acquisition method, server, terminal and information acquisition system
CN104811423A (en) * 2014-01-24 2015-07-29 腾讯科技(深圳)有限公司 Position information sharing method and position information sharing device
WO2016200587A1 (en) * 2015-06-07 2016-12-15 Apple Inc. Devices and methods for capturing and interacting with enhanced digital images

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101738527B1 (en) * 2010-12-07 2017-05-22 삼성전자 주식회사 Mobile device and control method thereof
KR102008495B1 (en) * 2012-02-24 2019-08-08 삼성전자주식회사 Method for sharing content and mobile terminal thereof
KR101894395B1 (en) * 2012-02-24 2018-09-04 삼성전자주식회사 Method for providing capture data and mobile terminal thereof
US9910499B2 (en) * 2013-01-11 2018-03-06 Samsung Electronics Co., Ltd. System and method for detecting three dimensional gestures to initiate and complete the transfer of application data between networked devices
CN103455271A (en) * 2013-01-26 2013-12-18 曾昭兴 File transfer method and file transfers system
WO2016040291A1 (en) * 2014-09-12 2016-03-17 Lineage Labs, Inc. Sharing media
CN105892911A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Information processing method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622422A (en) * 2012-02-23 2012-08-01 苏州佳世达电通有限公司 Data transmission method, sending device and receiving device
CN104811898A (en) * 2014-01-23 2015-07-29 腾讯科技(深圳)有限公司 Information acquisition method, server, terminal and information acquisition system
CN104811423A (en) * 2014-01-24 2015-07-29 腾讯科技(深圳)有限公司 Position information sharing method and position information sharing device
WO2016200587A1 (en) * 2015-06-07 2016-12-15 Apple Inc. Devices and methods for capturing and interacting with enhanced digital images

Also Published As

Publication number Publication date
CN109413257A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US9910499B2 (en) System and method for detecting three dimensional gestures to initiate and complete the transfer of application data between networked devices
US9426229B2 (en) Apparatus and method for selection of a device for content sharing operations
US8756532B2 (en) Using a gesture to transfer an object across multiple multi-touch devices
KR102068604B1 (en) Apparatus and method for recognizing a character in terminal equipment
US9164779B2 (en) Apparatus and method for providing for remote user interaction
EP2712165A1 (en) Method and electronic device for transmitting images during a messaging session
EP2993802B1 (en) Near field communication-based data transmission method and apparatus, and near field communication device
US8610681B2 (en) Information processing apparatus and information processing method
US20140024362A1 (en) Method and apparatus for initiating a call in an electronic device
US10331327B2 (en) Message display method, apparatus and terminal
CN112416223A (en) Display method, electronic device and readable storage medium
KR20190002575A (en) Copying and pasting between devices
JP2013157969A (en) Portable terminal device and data transmission/reception system
CN106775160A (en) A kind of many application switching controls of terminal and method
CN109413257B (en) Electronic device and data sharing method thereof
US20160085408A1 (en) Information processing method and electronic device thereof
CN107566613A (en) A kind of application switch control method, mobile terminal and computer-readable recording medium
US10779148B2 (en) Data transmission method and first electronic device
KR101961907B1 (en) Method of providing contents of a mobile terminal based on a duration of a user's touch
EP3246805B1 (en) Gesture operation response method and device
CN108811177B (en) Communication method and terminal
CN104156372A (en) Method, devices and system for opening page
CN108616561B (en) Data transmission method and system
CN106708404A (en) Split-screen suspension control device and split-screen suspension control device for terminals
CN113253892A (en) Data sharing method, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant