CN106020659B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN106020659B
CN106020659B CN201510114335.0A CN201510114335A CN106020659B CN 106020659 B CN106020659 B CN 106020659B CN 201510114335 A CN201510114335 A CN 201510114335A CN 106020659 B CN106020659 B CN 106020659B
Authority
CN
China
Prior art keywords
electronic device
electronic equipment
electronic
transmission direction
information transmission
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
CN201510114335.0A
Other languages
Chinese (zh)
Other versions
CN106020659A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510114335.0A priority Critical patent/CN106020659B/en
Publication of CN106020659A publication Critical patent/CN106020659A/en
Application granted granted Critical
Publication of CN106020659B publication Critical patent/CN106020659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses an information processing method and electronic equipment, wherein the method comprises the following steps: executing a first operation to enable the first electronic device to establish a first communication connection with the second electronic device; detecting, by the first detection unit, a second operation of the first electronic device; determining an information transmission direction between the first electronic equipment and the second electronic equipment according to the second operation; and according to the information transmission direction, transmitting content information between the first electronic equipment and the second electronic equipment through the first communication connection.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of wireless communications, and in particular, to an information processing method and an electronic device.
Background
At present, information transmission such as texts and pictures is a common task when a plurality of electronic devices cooperate. Generally, when a user performs information transmission, the user uses a "drag-and-drop" method, that is, an intelligent device capable of being connected with an information source is represented as an icon, and the information and a transmission object are selected through gesture operation on a touch screen to complete information transmission. However, the above operation is not efficient.
Disclosure of Invention
In view of the above, an object of the present invention is to provide an information processing method and an electronic device, which can solve at least the above problems in the prior art.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
an embodiment of the present invention provides an information processing method applied to a first electronic device, where the first electronic device includes a first detection unit, and the method includes:
executing a first operation to enable the first electronic device to establish a first communication connection with the second electronic device;
detecting, by the first detection unit, a second operation of the first electronic device;
determining an information transmission direction between the first electronic equipment and the second electronic equipment according to the second operation;
and according to the information transmission direction, transmitting content information between the first electronic equipment and the second electronic equipment through the first communication connection.
In the above scheme, the first detection unit includes a first contact sensor and a second contact sensor.
In the foregoing solution, the detecting, by the first detecting unit, the second operation of the first electronic device includes:
detecting an operation of the first electronic device as a second operation through the first contact sensor or the second contact sensor;
correspondingly, the determining the information transmission direction between the first electronic device and the second electronic device according to the second operation includes:
when the operation of the first electronic device is detected through a first contact sensor, determining that the information transmission direction is from the first electronic device to the second electronic device;
when the operation of the first electronic device is detected through a second contact sensor, the information transmission direction is determined to be transmitted from the second electronic device to the first electronic device.
In the foregoing solution, the executing the first operation to enable the first electronic device to establish the first communication connection with the second electronic device includes: executing a first operation through the first contact inductor or the second contact inductor, so that the second electronic equipment initiates a request for establishing a first communication connection with the first electronic equipment when detecting the first operation;
and after receiving the request for establishing the first communication connection sent by the second electronic equipment, the first electronic equipment establishes the first communication connection with the second electronic equipment.
In the foregoing solution, the detecting, by the first detecting unit, the second operation of the first electronic device includes:
detecting a second operation of the first electronic device by the first detection unit;
determining a first pose parameter of the first electronic device through a second operation.
In the foregoing solution, the determining, according to the second operation, an information transmission direction between the first electronic device and the second electronic device includes:
sending a first instruction to the second electronic device through a first communication connection, wherein the first instruction is an instruction for acquiring a second attitude parameter of the second electronic device;
receiving a second attitude parameter returned by the second electronic equipment;
determining that the first electronic device and the second electronic device are in a first relative position or a second relative position by using the first attitude parameter and the second attitude parameter;
when the first electronic device is at a first relative position, determining that the information transmission direction is from the first electronic device to the second electronic device;
and when the first electronic equipment is at a second relative position, determining that the information transmission direction is transmitted from the second electronic equipment to the first electronic equipment.
In the foregoing solution, the transmitting content information between the first electronic device and the second electronic device through the first communication connection according to the information transmission direction includes:
when the information transmission direction is from the first electronic device to the second electronic device, detecting a third operation, and selecting content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment;
and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a communication unit configured to establish a first communication connection with a second electronic device by performing a first operation;
a first detection unit configured to detect a second operation of the electronic device;
the processing unit is used for determining the information transmission direction between the processing unit and the second electronic equipment according to the second operation; and transmitting content information between the first communication connection of the communication unit and the second electronic equipment according to the information transmission direction.
In the above scheme, the first detection unit includes a first contact sensor and a second contact sensor.
In the above scheme, the first contact sensor is configured to detect an operation of the electronic device as a second operation;
the second contact sensor is used for detecting the operation of the electronic equipment as a second operation;
correspondingly, the processing unit is specifically configured to determine that the information transmission direction is from the electronic device to the second electronic device when the operation of the first electronic device is detected through the first contact sensor; when the operation of the electronic device is detected through a second contact sensor, the information transmission direction is determined to be transmitted from the second electronic device to the electronic device.
In the above scheme, the first contact sensor is configured to execute a first operation, so that the second electronic device initiates a request for establishing a first communication connection when detecting the first operation;
the second contact sensor is used for executing a first operation, so that the second electronic equipment initiates a request for establishing a first communication connection when detecting the first operation;
correspondingly, the communication unit is specifically configured to establish the first communication connection with the second electronic device after receiving the request for establishing the first communication connection sent by the second electronic device.
In the foregoing solution, the first detecting unit is specifically configured to detect a second operation of the electronic device;
correspondingly, the processing unit is specifically configured to determine the first attitude parameter of the first electronic device through a second operation.
In the foregoing solution, the processing unit is specifically configured to send a first instruction to the second electronic device through a first communication connection, where the first instruction is an instruction to acquire a second attitude parameter of the second electronic device; determining that the first electronic device and the second electronic device are in a first relative position or a second relative position by using the first attitude parameter and the second attitude parameter; when the first electronic device is at a first relative position, determining that the information transmission direction is from the first electronic device to the second electronic device; when the first electronic equipment is at a second relative position, determining that the information transmission direction is from the second electronic equipment to the first electronic equipment;
correspondingly, the communication unit is specifically configured to receive a second posture parameter returned by the second electronic device.
In the foregoing solution, the processing unit is specifically configured to detect a third operation when the information is transmitted from the first electronic device to the second electronic device in the information transmission direction, and select content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment; and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
According to the information processing method and the electronic equipment provided by the invention, the information transmission direction between the two pieces of electronic equipment is determined by detecting the second operation of the first electronic equipment between the two pieces of electronic equipment which establish the first communication connection, and then the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
Drawings
FIG. 1 is a first flowchart illustrating an information processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second information processing method according to an embodiment of the present invention;
FIG. 3 is a first scenario of the present invention;
FIG. 4 is a diagram illustrating a second scenario of the present invention;
FIG. 5 is a third scenario diagram according to an embodiment of the present invention;
FIG. 6 is a third schematic flow chart illustrating an information processing method according to an embodiment of the present invention;
FIG. 7 is a fourth flowchart illustrating an information processing method according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a fourth scenario according to an embodiment of the present invention;
FIG. 9 is a fifth flowchart illustrating an information processing method according to an embodiment of the present invention;
FIG. 10 is a sixth flowchart illustrating an information processing method according to an embodiment of the present invention;
FIG. 11 is a first schematic view of an electronic device according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a second electronic device according to an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The first embodiment,
An embodiment of the present invention provides an information processing method, which is applied to a first electronic device, where the first electronic device includes a first detection unit, and as shown in fig. 1, the method includes:
step 101: executing a first operation to enable the first electronic device to establish a first communication connection with the second electronic device;
step 102: detecting a second operation of the first electronic device by a first detection unit;
step 103: determining an information transmission direction between the first electronic equipment and the second electronic equipment according to the second operation;
step 104: and according to the information transmission direction, transmitting content information between the first electronic equipment and the second electronic equipment through the first communication connection.
Here, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device can also be a smart phone, a tablet computer or the like.
The first communication connection may be a connection established through bluetooth functional units of the first electronic device and the second electronic device; or, the connection may also be established through WIFI functional units of the first electronic device and the second electronic device.
The first detection unit may be a touch screen of the first electronic device, and for example, it may be determined that the first electronic device performs the second operation by clicking a designated position on the touch screen of the first electronic device.
The information transmission directions between the first electronic device and the second electronic device are as follows: the first electronic device transmits information to the second electronic device, and the second electronic device transmits information to the first electronic device.
In addition, the content information in this embodiment may be content information selected after the information transmission direction is determined, or may be content information selected before the second operation is performed. The content information may include information such as pictures, texts, videos, and the like.
Therefore, by adopting the scheme, the information transmission direction between the two electronic devices is determined by detecting the second operation of the first electronic device between the two electronic devices establishing the first communication connection, and the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
Example II,
The embodiment of the invention provides an information processing method which is applied to first electronic equipment, wherein the first electronic equipment is provided with a first detection unit, and the first detection unit comprises a first contact inductor and a second contact inductor; as shown in fig. 2, the method includes:
step 201: executing a first operation to enable the first electronic device to establish a first communication connection with the second electronic device;
step 202: detecting an operation of the first electronic device as a second operation through the first contact sensor or the second contact sensor;
step 203: determining an information transmission direction between the first electronic equipment and the second electronic equipment according to the second operation;
step 204: and according to the information transmission direction, transmitting content information between the first electronic equipment and the second electronic equipment through the first communication connection.
Here, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device can also be a smart phone, a tablet computer or the like.
The first operation may be an operation of enabling the first electronic device and the second electronic device to establish a communication connection by opening a communication unit of the first electronic device; correspondingly, the first communication connection may be a connection established through the bluetooth functional units of the first electronic device and the second electronic device; or, the connection may also be established through WIFI functional units of the first electronic device and the second electronic device. For example, the first operation may be an operation of searching for other electronic devices after the bluetooth function is turned on, selecting a second electronic device from the searched electronic devices, and then clicking the second electronic device to establish a communication connection; or, by starting the WIFI function, the second electronic device searches for the first electronic device, and then clicks a link on the second electronic device side.
In this embodiment, the first contact sensor and the second contact sensor may be capacitive sensors, or may be flexible conductive materials, such as flexible conductive rubber, and may be disposed at a frame of the first electronic device or at a corner of the first electronic device; as shown in fig. 3, a first touch sensor may be disposed at an upper left corner 31 and a second touch sensor may be disposed at a lower left corner 32 of the first electronic device; it will be appreciated that although not shown in the figures, the capacitive sensor may also be provided at other corners of the electronic device.
The information transmission directions between the first electronic device and the second electronic device are as follows: the first electronic device transmits information to the second electronic device, and the second electronic device transmits information to the first electronic device.
The determining, according to the second operation, an information transmission direction between the first electronic device and the second electronic device may include:
when the operation of the first electronic device is detected through a first contact sensor, determining that the information transmission direction is from the first electronic device to the second electronic device;
when the operation of the first electronic device is detected through a second contact sensor, the information transmission direction is determined to be transmitted from the second electronic device to the first electronic device.
For example, when it is detected that the first electronic device performs a click operation through the capacitive sensor located at the upper left corner 31 in fig. 3, it is determined that the information transmission direction is from the first electronic device to the second electronic device; when it is detected that the first electronic device performs a click operation through the capacitive sensor located at the lower left corner 32 in fig. 3, it is determined that the information transmission direction is from the second electronic device to the first electronic device.
The clicking operation performed through the capacitive sensor may be that the second electronic device is clicked through the capacitive sensor; or, the user can also control the first electronic device to click other positions through the first contact sensor; no matter what position is clicked, it can be determined that the first contact sensor performed the clicking operation.
In addition, the content information in this embodiment may be content information selected after the information transmission direction is determined, or may be content information selected before the second operation is performed. The content information may include information such as pictures, texts, videos, and the like.
Preferably, in this embodiment, the transmitting content information between the first electronic device and the second electronic device through the first communication connection according to the information transmission direction includes:
when the information transmission direction is from the first electronic device to the second electronic device, detecting a third operation, and selecting content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment;
and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
The third operation may be an operation of selecting a part of or all of the content from the content currently displayed by the first electronic device; for example, as shown in fig. 4, the content currently displayed in the first electronic device is "123 Abc", and "Abc" 41 is selected by the third operation.
Before sending the second instruction, the user may also select content information to be transmitted on the second electronic device, as shown in fig. 5, after determining that the information transmission direction is that the second electronic device 52 transmits the second instruction to the first electronic device 51, the user may send the second instruction to the second electronic device 52; when the user selects the content information 521 on the second electronic device 52, the second electronic device 52 transmits the selected content information 521 to the first electronic device 51 according to the second instruction.
In addition, the scenes for transmitting the selected content information provided in this embodiment are all operation sequences for selecting the content information after the transmission direction between the two electronic devices is determined;
it is understood that there may be a scenario where the operation of selecting the content information is actually performed before the transmission direction between the two devices is determined, for example, assuming that the first electronic device is a smartphone and the second electronic device is a tablet computer; a user needs to copy a text from a tablet computer to a smart phone; as shown in fig. 6:
step 601: establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function;
step 602: selecting characters to be copied on a tablet computer by a user;
step 603: the user controls the lower left corner of the smart phone to perform clicking operation, and when the smart phone determines that the second contact sensor at the lower left corner executes operation, the information transmission direction is determined to be from the tablet personal computer to the smart phone;
step 604: the smart phone sends a second instruction to the tablet computer;
step 605: and after receiving the second instruction, the tablet personal computer sends the selected characters to be copied to the smart phone through the established communication connection.
Assuming that the first electronic device is a smart phone and the second electronic device is a tablet computer; a user needs to send a section of characters on the smart phone to the tablet personal computer, and then the characters are operated on the tablet personal computer; as shown in fig. 7:
step 701: establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function;
step 702: the smart phone detects a third operation, and selects characters to be copied through the third operation;
step 703: the user controls the upper left corner of the smart phone to perform clicking operation, and when the smart phone determines that the first contact sensor at the upper left corner executes operation, the information transmission direction is determined to be from the smart phone to the tablet computer;
step 704: and sending the selected content information to the second electronic equipment by the first electronic equipment through the first communication connection.
Preferably, as shown in fig. 8, the first operation in this embodiment is an operation in which a user holds the first electronic device by hand and then clicks a screen of the second electronic device through a finger joint. In this scenario, the method for implementing the first communication connection between the two devices may be that after the second electronic device detects the click operation, an inquiry instruction is initiated to inquire whether the electronic device has a fast-moving operation within a specified time period, when the electronic device has the fast-moving operation, the electronic device is the first electronic device performing the click operation, at this time, the first electronic device initiates a request for establishing a communication connection to the second electronic device, and the second electronic device establishes a connection with the first electronic device according to the request.
Therefore, by adopting the scheme, the information transmission direction between the two electronic devices is determined by detecting the second operation of the first electronic device between the two electronic devices establishing the first communication connection, and the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
Example III,
The embodiment of the invention provides an information processing method which is applied to first electronic equipment, wherein the first electronic equipment is provided with a first detection unit, and the first detection unit comprises a first contact inductor and a second contact inductor; as shown in fig. 9, the method includes:
step 901: executing a first operation through the first contact inductor or the second contact inductor, so that the second electronic equipment initiates a request for establishing a first communication connection with the first electronic equipment when detecting the first operation;
step 902: after receiving a request for establishing a first communication connection sent by the second electronic device, the first electronic device establishes a first communication connection with the second electronic device;
step 903: detecting an operation of the first electronic device as a second operation through the first contact sensor or the second contact sensor;
step 904: determining an information transmission direction between the first electronic equipment and the second electronic equipment according to the second operation;
step 905: and according to the information transmission direction, transmitting content information between the first electronic equipment and the second electronic equipment through the first communication connection.
Here, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device can also be a smart phone, a tablet computer or the like.
In this embodiment, the first contact sensor and the second contact sensor may be capacitive sensors, or may be flexible conductive materials, such as flexible conductive rubber, and may be disposed at a frame of the first electronic device or at a corner of the first electronic device; as shown in fig. 3, a first touch sensor may be disposed at an upper left corner 31 and a second touch sensor may be disposed at a lower left corner 32 of the first electronic device; it will be appreciated that although not shown in the figures, the capacitive sensor may also be provided at other corners of the electronic device.
In this embodiment, the step 901 of executing the first operation through the first contact sensor or the second contact sensor, so that the second electronic device initiates a request for establishing a first communication connection with the first electronic device when detecting the first operation, may include:
the user controls the first electronic device to execute a first operation through the first contact sensor or the second contact sensor, namely, the user clicks the second electronic device, at the moment, the first electronic device starts the first communication unit, correspondingly, the second electronic device can detect the first operation, when the second electronic device detects the first operation, the second electronic device also starts the communication unit of the second electronic device, a request for establishing a first communication connection is initiated to the first electronic device, and then the first electronic device and the second electronic device establish a connection when receiving the request; the first communication unit may be a bluetooth or WIFI functional unit.
In addition, it can be understood that the step 901 provides a way to establish a connection between two electronic devices, and actually, another way may be provided, specifically:
the user controls the first electronic device to execute a first operation through the first contact sensor or the second contact sensor, namely, clicking the second electronic device, at the moment, the first electronic device starts the first communication unit and initiates a request for establishing a first communication connection to the second electronic device, correspondingly, the second electronic device can detect the first operation, when the second electronic device detects the first operation, the second electronic device also starts the communication unit of the second electronic device, and when the second electronic device receives the request for establishing the first communication connection sent by the first electronic device, the second electronic device establishes connection with the first electronic device; the first communication unit may be a bluetooth or WIFI functional unit.
The information transmission directions between the first electronic device and the second electronic device are as follows: the first electronic device transmits information to the second electronic device, and the second electronic device transmits information to the first electronic device.
The determining, according to the second operation, an information transmission direction between the first electronic device and the second electronic device may include:
when the operation of the first electronic device is detected through a first contact sensor, determining that the information transmission direction is from the first electronic device to the second electronic device;
when the operation of the first electronic device is detected through a second contact sensor, the information transmission direction is determined to be transmitted from the second electronic device to the first electronic device.
For example, when it is detected that the first electronic device performs a click operation through the capacitive sensor located at the upper left corner 31 in fig. 3, it is determined that the information transmission direction is from the first electronic device to the second electronic device; when it is detected that the first electronic device performs a click operation through the capacitive sensor located at the lower left corner 32 in fig. 3, it is determined that the information transmission direction is from the second electronic device to the first electronic device.
The clicking operation performed through the capacitive sensor may be that the second electronic device is clicked through the capacitive sensor; or, the user can also control the first electronic device to click other positions through the first contact sensor; no matter what position is clicked, it can be determined that the first contact sensor performed the clicking operation.
In addition, the content information in this embodiment may be content information selected after the information transmission direction is determined, or may be content information selected before the second operation is performed. The content information may include information such as pictures, texts, videos, and the like.
Preferably, in this embodiment, the transmitting content information between the first electronic device and the second electronic device through the first communication connection according to the information transmission direction includes:
when the information transmission direction is from the first electronic device to the second electronic device, detecting a third operation, and selecting content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment;
and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
The third operation may be an operation of selecting a part of or all of the content from the content currently displayed by the first electronic device; for example, as shown in fig. 4, the content currently displayed in the first electronic device is "123 Abc", and "Abc" 41 is selected by the third operation.
Before sending the second instruction, the user may also select content information to be transmitted on the second electronic device, as shown in fig. 5, after determining that the information transmission direction is that the second electronic device 52 transmits the second instruction to the first electronic device 51, the user may send the second instruction to the second electronic device 52; when the user selects the content information 521 on the second electronic device 52, the second electronic device 52 transmits the selected content information 521 to the first electronic device 51 according to the second instruction.
In addition, the scenes for transmitting the selected content information provided in this embodiment are all operation sequences for selecting the content information after the transmission direction between the two electronic devices is determined;
it is understood that there may be a scenario where the operation of selecting the content information is actually performed before the transmission direction between the two devices is determined, for example, assuming that the first electronic device is a smartphone and the second electronic device is a tablet computer; a user needs to copy a text from a tablet computer to a smart phone; the method comprises the following steps:
establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; selecting characters to be copied on a tablet computer by a user; the user controls the lower left corner of the smart phone to perform clicking operation, and when the smart phone determines that the second contact sensor at the lower left corner executes operation, the information transmission direction is determined to be from the tablet personal computer to the smart phone; the smart phone sends a second instruction to the tablet computer; and after receiving the second instruction, the tablet personal computer sends the selected characters to be copied to the smart phone through the established communication connection.
Assuming that the first electronic device is a smart phone and the second electronic device is a tablet computer; a user needs to send a section of characters on the smart phone to the tablet personal computer, and then the characters are operated on the tablet personal computer; establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; the method comprises the following steps: a user selects characters to be copied on the smart phone; the smart phone detects a third operation, and selects characters to be copied through the third operation; the user controls the upper left corner of the smart phone to perform clicking operation, and when the smart phone determines that the first contact sensor at the upper left corner executes operation, the information transmission direction is determined to be from the smart phone to the tablet computer; and sending the selected content information to the second electronic equipment by the first electronic equipment through the first communication connection.
Preferably, in this embodiment, the manner of selecting the content information in the second electronic device may be to perform a click or slide operation on the content information to be selected through the first contact sensor or the second contact sensor in the first electronic device. Because the first contact sensor or the second contact sensor is a capacitive sensor, when the first contact sensor or the second contact sensor approaches the touch display screen of the second electronic device, the second electronic device can detect a capacitance change value, and the processing unit can obtain an operation result of touch operation; thus, the content information can be selected through the mutual operation between the equipment and the equipment.
Therefore, by adopting the scheme, the information transmission direction between the two electronic devices is determined by detecting the second operation of the first electronic device between the two electronic devices establishing the first communication connection, and the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
Example four,
An embodiment of the present invention provides an information processing method, which is applied to a first electronic device, where the first electronic device includes a first detection unit, as shown in fig. 10, and the method includes:
step 1001: executing a first operation to enable the first electronic device to establish a first communication connection with the second electronic device;
step 1002: detecting a second operation of the first electronic device by the first detection unit;
step 1003: determining a first attitude parameter of the first electronic device through a second operation;
step 1004: sending a first instruction to the second electronic device through a first communication connection, wherein the first instruction is an instruction for acquiring a second attitude parameter of the second electronic device;
step 1005: receiving a second attitude parameter returned by the second electronic equipment;
step 1006: determining that the first electronic device and the second electronic device are in a first relative position or a second relative position by using the first attitude parameter and the second attitude parameter; when the first electronic device is at a first relative position, determining that the information transmission direction is from the first electronic device to the second electronic device; when the first electronic equipment is at a second relative position, determining that the information transmission direction is from the second electronic equipment to the first electronic equipment;
step 1007: and according to the information transmission direction, transmitting content information between the first electronic equipment and the second electronic equipment through the first communication connection.
Here, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device can also be a smart phone, a tablet computer or the like.
The first operation may be an operation of enabling the first electronic device and the second electronic device to establish a communication connection by opening a communication unit of the first electronic device; correspondingly, the first communication connection may be a connection established through the bluetooth functional units of the first electronic device and the second electronic device; or, the connection may also be established through WIFI functional units of the first electronic device and the second electronic device. For example, the first operation may be an operation of searching for other electronic devices after the bluetooth function is turned on, selecting a second electronic device from the searched electronic devices, and then clicking the second electronic device to establish a communication connection; or, by starting the WIFI function, the second electronic device searches for the first electronic device, and then clicks the connection operation on the second electronic device side.
The first communication connection may be a connection established through bluetooth functional units of the first electronic device and the second electronic device; or, the connection may also be established through WIFI functional units of the first electronic device and the second electronic device.
The content information in this embodiment may be content information selected after the information transmission direction is determined, or content information selected before the second operation is performed. The content information may include information such as pictures, texts, videos, and the like.
The first detection unit may be a gravity sensor, and for example, it may be determined that the first electronic device performs the second operation by clicking a designated position on a touch screen of the first electronic device. In this embodiment, the determining the first posture parameter of the first electronic device through the second operation may be: when a user holds the first electronic device to perform a second operation, the current angular offset of the first electronic device relative to the X-axis, the Y-axis and the Z-axis in the reference coordinate system is obtained through the gravity sensor, and the angular offsets of the X-axis, the Y-axis and the Z-axis are used as first attitude parameters of the first electronic device.
In this embodiment, when receiving a first instruction sent by a first electronic device, a second electronic device obtains angle offsets of an X axis, a Y axis, and a Z axis of the second electronic device as a second attitude parameter through a gravity sensor of the second electronic device according to the first instruction.
The determining that the first electronic device and the second electronic device are in the first relative position or the second relative position by using the first attitude parameter and the second attitude parameter may include:
the first electronic equipment calculates to obtain a relative attitude parameter of the first electronic equipment relative to the second electronic equipment according to the first attitude parameter of the first electronic equipment and the second attitude parameter sent by the second electronic equipment; further, according to the relative attitude parameters, determining that the first electronic equipment is at a first relative position or a second relative position relative to the second electronic equipment;
wherein the first relative position characterizes that one side of the first electronic equipment provided with a 'home' key is close to the second electronic equipment; the second relative position characterizes a side of the first electronic device having a "home" key away from the second electronic device. For example, in fig. 5, the first electronic device and the second electronic device are in a first relative position.
Preferably, in this embodiment, the transmitting content information between the first electronic device and the second electronic device through the first communication connection according to the information transmission direction includes:
when the information transmission direction is from the first electronic device to the second electronic device, detecting a third operation, and selecting content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment;
and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
The third operation may be an operation of selecting a part of or all of the content from the content currently displayed by the first electronic device; for example, as shown in fig. 4, the content currently displayed in the first electronic device is "123 Abc", and "Abc" 41 is selected by the third operation.
Before sending the second instruction, the user may also select content information to be transmitted on the second electronic device, as shown in fig. 5, after determining that the information transmission direction is that the second electronic device 52 transmits the second instruction to the first electronic device 51, the user may send the second instruction to the second electronic device 52; when the user selects the content information 521 on the second electronic device 52, the second electronic device 52 transmits the selected content information 521 to the first electronic device 51 according to the second instruction.
In addition, the scenes for transmitting the selected content information provided in this embodiment are all operation sequences for selecting the content information after the transmission direction between the two electronic devices is determined;
it is understood that there may be a scenario where the operation of selecting the content information is actually performed before the transmission direction between the two devices is determined, for example, assuming that the first electronic device is a smartphone and the second electronic device is a tablet computer; a user needs to copy a text from a tablet computer to a smart phone; the method comprises the following steps:
establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; selecting characters to be copied on a tablet computer by a user; the user controls the lower left corner of the smart phone to perform clicking operation, and when the smart phone determines that the second contact sensor at the lower left corner executes operation, the information transmission direction is determined to be from the tablet personal computer to the smart phone; the smart phone sends a second instruction to the tablet computer; and after receiving the second instruction, the tablet personal computer sends the selected characters to be copied to the smart phone through the established communication connection.
Assuming that the first electronic device is a smart phone and the second electronic device is a tablet computer; a user needs to send a section of characters on the smart phone to the tablet personal computer, and then the characters are operated on the tablet personal computer; establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; the method comprises the following steps: a user selects characters to be copied on the smart phone; the smart phone detects a third operation, and selects characters to be copied through the third operation; the user controls the upper left corner of the smart phone to perform clicking operation, and when the smart phone determines that the first contact sensor at the upper left corner executes operation, the information transmission direction is determined to be from the smart phone to the tablet computer; and sending the selected content information to the second electronic equipment by the first electronic equipment through the first communication connection.
Therefore, by adopting the scheme, the information transmission direction between the two electronic devices is determined by detecting the second operation of the first electronic device between the two electronic devices establishing the first communication connection, and the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
Example V,
An embodiment of the present invention provides an electronic device, as shown in fig. 11, the electronic device includes:
a communication unit 1101 for establishing a first communication connection with a second electronic device by performing a first operation;
a first detection unit 1102 for detecting a second operation of the electronic device;
the processing unit 1103 is configured to determine, according to the second operation, an information transmission direction with the second electronic device; and transmitting content information between the first communication connection of the communication unit and the second electronic equipment according to the information transmission direction.
Here, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device can also be a smart phone, a tablet computer or the like.
The communication unit 1101 may be a bluetooth functional unit or a WIFI functional unit.
The first detection unit may be a touch screen of the first electronic device, and for example, it may be determined that the first electronic device performs the second operation by clicking a designated position on the touch screen of the first electronic device.
The information transmission directions between the first electronic device and the second electronic device are as follows: the first electronic device transmits information to the second electronic device, and the second electronic device transmits information to the first electronic device.
In addition, the content information in this embodiment may be content information selected after the information transmission direction is determined, or may be content information selected before the second operation is performed. The content information may include information such as pictures, texts, videos, and the like.
Therefore, by adopting the scheme, the information transmission direction between the two electronic devices is determined by detecting the second operation of the first electronic device between the two electronic devices establishing the first communication connection, and the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
Example six,
An embodiment of the present invention provides an electronic device, as shown in fig. 12, the electronic device includes:
a communication unit 1201 for establishing a first communication connection with a second electronic device by performing a first operation;
a first detection unit 1202 for detecting a second operation of the electronic device;
a processing unit 1203, configured to determine, according to the second operation, an information transmission direction with the second electronic device; and transmitting content information between the first communication connection of the communication unit and the second electronic equipment according to the information transmission direction.
Here, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device can also be a smart phone, a tablet computer or the like.
The communication unit 1201 may be a bluetooth functional unit or a WIFI functional unit.
The first operation may be an operation of enabling the first electronic device and the second electronic device to establish a communication connection by opening a communication unit of the first electronic device; correspondingly, the first communication connection may be a connection established through the bluetooth functional units of the first electronic device and the second electronic device; or, the connection may also be established through WIFI functional units of the first electronic device and the second electronic device. For example, the first operation may be an operation of searching for other electronic devices after the bluetooth function is turned on, selecting a second electronic device from the searched electronic devices, and then clicking the second electronic device to establish a communication connection; or, by starting the WIFI function, the second electronic device searches for the first electronic device, and then clicks a link on the second electronic device side.
The first detection unit 1202 includes: a first contact sensor 12021 and a second contact sensor 12022.
In this embodiment, the first contact sensor and the second contact sensor may be capacitive sensors, or may be flexible conductive materials, such as flexible conductive rubber, and may be disposed at a frame of the first electronic device or at a corner of the first electronic device; as shown in fig. 3, a first touch sensor may be disposed at an upper left corner 31 and a second touch sensor may be disposed at a lower left corner 32 of the first electronic device; it will be appreciated that although not shown in the figures, the capacitive sensor may also be provided at other corners of the electronic device.
The information transmission directions between the first electronic device and the second electronic device are as follows: the first electronic device transmits information to the second electronic device, and the second electronic device transmits information to the first electronic device.
The first contact sensor 12021 is used for detecting the operation of the electronic equipment as a second operation; the second contact sensor 12022 is used for detecting the operation of the electronic equipment as a second operation; correspondingly, the processing unit 1203 is specifically configured to determine that the information transmission direction is from the electronic device to the second electronic device when the operation of the first electronic device is detected through the first contact sensor; when the operation of the electronic device is detected through a second contact sensor, the information transmission direction is determined to be transmitted from the second electronic device to the electronic device.
For example, when it is detected that the first electronic device performs a click operation through the capacitive sensor located at the upper left corner 31 in fig. 3, it is determined that the information transmission direction is from the first electronic device to the second electronic device; when it is detected that the first electronic device performs a click operation through the capacitive sensor located at the lower left corner 32 in fig. 3, it is determined that the information transmission direction is from the second electronic device to the first electronic device.
The clicking operation performed through the capacitive sensor may be that the second electronic device is clicked through the capacitive sensor; or, the user can also control the first electronic device to click other positions through the first contact sensor; no matter what position is clicked, it can be determined that the first contact sensor performed the clicking operation.
In addition, the content information in this embodiment may be content information selected after the information transmission direction is determined, or may be content information selected before the second operation is performed. The content information may include information such as pictures, texts, videos, and the like.
Preferably, the processing unit in this embodiment is specifically configured to detect a third operation by the first detecting unit when the information is transmitted to the second electronic device in the information transmission direction, and select content information by the third operation; the selected content information is sent to the second electronic equipment by the first electronic equipment through the first communication connection of the communication unit; and when the information transmission direction is that the second electronic equipment transmits the information to the electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
The third operation may be an operation of selecting a part of or all of the content from the content currently displayed by the first electronic device; for example, as shown in fig. 4, the content currently displayed in the first electronic device is "123 Abc", and "Abc" 41 is selected by the third operation.
Before sending the second instruction, the user may also select content information to be transmitted on the second electronic device, as shown in fig. 5, after determining that the information transmission direction is that the second electronic device 52 transmits the second instruction to the first electronic device 51, the user may send the second instruction to the second electronic device 52; when the user selects the content information 521 on the second electronic device 52, the second electronic device 52 transmits the selected content information 521 to the first electronic device 51 according to the second instruction.
In addition, the scenes for transmitting the selected content information provided in this embodiment are all operation sequences for selecting the content information after the transmission direction between the two electronic devices is determined;
it is understood that there may actually be a scenario in which the content information is selected before the transmission direction between the two devices is determined, for example, assuming that the electronic device is a smartphone and the second electronic device is a tablet computer; a user needs to copy a text from a tablet computer to a smart phone; establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; selecting characters to be copied on a tablet computer by a user; the user controls the lower left corner of the smart phone to perform clicking operation, and when the smart phone determines that the second contact sensor at the lower left corner executes operation, the information transmission direction is determined to be from the tablet personal computer to the smart phone; the smart phone sends a second instruction to the tablet computer; and after receiving the second instruction, the tablet personal computer sends the selected characters to be copied to the smart phone through the established communication connection.
Assuming that the first electronic device is a smart phone and the second electronic device is a tablet computer; a user needs to send a section of characters on the smart phone to the tablet personal computer, and then the characters are operated on the tablet personal computer; establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; a user selects characters to be copied on the smart phone; the smart phone detects a third operation, and selects characters to be copied through the third operation; the user controls the upper left corner of the smart phone to perform clicking operation, and when the smart phone determines that the first contact sensor at the upper left corner executes operation, the information transmission direction is determined to be from the smart phone to the tablet computer; and sending the selected content information to the second electronic equipment by the first electronic equipment through the first communication connection.
Preferably, as shown in fig. 8, the first operation in this embodiment is an operation in which a user holds the first electronic device by hand and then clicks a screen of the second electronic device through a finger joint. In this scenario, the method for implementing the first communication connection between the two devices may be that after the second electronic device detects the click operation, an inquiry instruction is initiated to inquire whether the electronic device has a fast-moving operation within a specified time period, when the electronic device has the fast-moving operation, the electronic device is the first electronic device performing the click operation, at this time, the first electronic device initiates a request for establishing a communication connection to the second electronic device, and the second electronic device establishes a connection with the first electronic device according to the request.
Therefore, by adopting the scheme, the information transmission direction between the two electronic devices is determined by detecting the second operation of the first electronic device between the two electronic devices establishing the first communication connection, and the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
Example seven,
An embodiment of the present invention provides an electronic device, including:
a communication unit configured to establish a first communication connection with a second electronic device by performing a first operation;
a first detection unit configured to detect a second operation of the electronic device;
the processing unit is used for determining the information transmission direction between the processing unit and the second electronic equipment according to the second operation; and transmitting content information between the first communication connection of the communication unit and the second electronic equipment according to the information transmission direction.
The first detection unit includes a first contact sensor and a second contact sensor.
Here, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device can also be a smart phone, a tablet computer or the like.
In this embodiment, the first contact sensor and the second contact sensor may be capacitive sensors, or may be flexible conductive materials, such as flexible conductive rubber, and may be disposed at a frame of the first electronic device or at a corner of the first electronic device; as shown in fig. 3, a first touch sensor may be disposed at an upper left corner 31 and a second touch sensor may be disposed at a lower left corner 32 of the first electronic device; it will be appreciated that although not shown in the figures, the capacitive sensor may also be provided at other corners of the electronic device.
The performing of the first operation by the first contact sensor or the second contact sensor so that the second electronic device initiates the request for establishing the first communication connection with the first electronic device when detecting the first operation may include: the user controls the first electronic device to execute a first operation through the first contact sensor or the second contact sensor, namely, the user clicks the second electronic device, at the moment, the first electronic device starts the first communication unit, correspondingly, the second electronic device can detect the first operation, when the second electronic device detects the first operation, the second electronic device also starts the communication unit of the second electronic device, a request for establishing a first communication connection is initiated to the first electronic device, and then the first electronic device and the second electronic device establish a connection when receiving the request; the first communication unit may be a bluetooth or WIFI functional unit.
In addition, it can be understood that, the above provides a way for establishing a connection between two electronic devices, and actually, another way for establishing a connection between two electronic devices may be provided, specifically: the user controls the first electronic device to execute a first operation through the first contact sensor or the second contact sensor, namely, clicking the second electronic device, at the moment, the first electronic device starts the first communication unit and initiates a request for establishing a first communication connection to the second electronic device, correspondingly, the second electronic device can detect the first operation, when the second electronic device detects the first operation, the second electronic device also starts the communication unit of the second electronic device, and when the second electronic device receives the request for establishing the first communication connection sent by the first electronic device, the second electronic device establishes connection with the first electronic device; the first communication unit may be a bluetooth or WIFI functional unit.
The first contact sensor in this embodiment is configured to detect an operation of the electronic device as a second operation;
the second contact sensor is used for detecting the operation of the electronic equipment as a second operation;
correspondingly, the processing unit is specifically configured to determine that the information transmission direction is from the electronic device to the second electronic device when the operation of the first electronic device is detected through the first contact sensor; when the operation of the electronic device is detected through a second contact sensor, the information transmission direction is determined to be transmitted from the second electronic device to the electronic device.
For example, when it is detected that the electronic device performs a click operation through the capacitive sensor located at the upper left corner 31 in fig. 3, it is determined that the information transmission direction is from the electronic device to the second electronic device; when the electronic device is detected to perform a click operation through the capacitive sensor located at the lower left corner 32 in fig. 3, the information transmission direction is determined to be from the second electronic device to the electronic device.
The clicking operation performed through the capacitive sensor may be that the second electronic device is clicked through the capacitive sensor; or, the user can control the electronic equipment to click other positions through the first contact sensor; no matter what position is clicked, it can be determined that the first contact sensor performed the clicking operation.
In addition, the content information in this embodiment may be content information selected after the information transmission direction is determined, or may be content information selected before the second operation is performed. The content information may include information such as pictures, texts, videos, and the like.
Preferably, in this embodiment, the processing unit is specifically configured to detect a third operation when the information transmission direction is from the first electronic device to the second electronic device, and select content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment; and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
The third operation may be an operation of selecting a part of or all of the content from the content currently displayed by the first electronic device; for example, as shown in fig. 4, the content currently displayed in the first electronic device is "123 Abc", and "Abc" 41 is selected by the third operation.
Before sending the second instruction, the user may also select content information to be transmitted on the second electronic device, as shown in fig. 5, after determining that the information transmission direction is that the second electronic device 52 transmits the second instruction to the first electronic device 51, the user may send the second instruction to the second electronic device 52; when the user selects the content information 521 on the second electronic device 52, the second electronic device 52 transmits the selected content information 521 to the first electronic device 51 according to the second instruction.
In addition, the scenes for transmitting the selected content information provided in this embodiment are all operation sequences for selecting the content information after the transmission direction between the two electronic devices is determined;
it is understood that there may be a scenario where the operation of selecting the content information is actually performed before the transmission direction between the two devices is determined, for example, assuming that the first electronic device is a smartphone and the second electronic device is a tablet computer; a user needs to copy a text from a tablet computer to a smart phone; the method comprises the following steps:
establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; selecting characters to be copied on a tablet computer by a user; the user controls the lower left corner of the smart phone to perform clicking operation, and when the smart phone determines that the second contact sensor at the lower left corner executes operation, the information transmission direction is determined to be from the tablet personal computer to the smart phone; the smart phone sends a second instruction to the tablet computer; and after receiving the second instruction, the tablet personal computer sends the selected characters to be copied to the smart phone through the established communication connection.
Assuming that the first electronic device is a smart phone and the second electronic device is a tablet computer; a user needs to send a section of characters on the smart phone to the tablet personal computer, and then the characters are operated on the tablet personal computer; establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; the method comprises the following steps: a user selects characters to be copied on the smart phone; the smart phone detects a third operation, and selects characters to be copied through the third operation; the user controls the upper left corner of the smart phone to perform clicking operation, and when the smart phone determines that the first contact sensor at the upper left corner executes operation, the information transmission direction is determined to be from the smart phone to the tablet computer; and sending the selected content information to the second electronic equipment by the first electronic equipment through the first communication connection.
Preferably, in this embodiment, the manner of selecting the content information in the second electronic device may be to perform a click or slide operation on the content information to be selected through the first contact sensor or the second contact sensor in the first electronic device. Because the first contact sensor or the second contact sensor is a capacitive sensor, when the first contact sensor or the second contact sensor approaches the touch display screen of the second electronic device, the second electronic device can detect a capacitance change value, and the processing unit can obtain an operation result of touch operation; thus, the content information can be selected through the mutual operation between the equipment and the equipment.
Therefore, by adopting the scheme, the information transmission direction between the two electronic devices is determined by detecting the second operation of the first electronic device between the two electronic devices establishing the first communication connection, and the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
Example eight,
An embodiment of the present invention provides an electronic device, including:
a communication unit configured to establish a first communication connection with a second electronic device by performing a first operation;
a first detection unit configured to detect a second operation of the electronic device;
the processing unit is used for determining the information transmission direction between the processing unit and the second electronic equipment according to the second operation; and transmitting content information between the first communication connection of the communication unit and the second electronic equipment according to the information transmission direction.
The first detection unit is specifically configured to detect a second operation of the electronic device;
correspondingly, the processing unit is specifically configured to determine the first attitude parameter of the first electronic device through a second operation.
Here, the electronic device may be a smart phone, a tablet computer, or the like; the second electronic device can also be a smart phone, a tablet computer or the like.
The first operation may be an operation of establishing a communication connection between the electronic device and the second electronic device by turning on the communication unit; correspondingly, the communication unit can be a bluetooth functional unit and also can be a WIFI functional unit. For example, the first operation may be an operation of searching for other electronic devices after the bluetooth function is turned on, selecting a second electronic device from the searched electronic devices, and then clicking the second electronic device to establish a communication connection; or, by starting the WIFI function, the second electronic device searches for the first electronic device, and then clicks the connection operation on the second electronic device side.
The content information in this embodiment may be content information selected after the information transmission direction is determined, or content information selected before the second operation is performed. The content information may include information such as pictures, texts, videos, and the like.
The first detection unit may be a gravity sensor, and for example, it may be determined that the first electronic device performs the second operation by clicking a designated position on a touch screen of the first electronic device. In this embodiment, the determining the first posture parameter of the first electronic device through the second operation may be: when a user holds the first electronic device to perform a second operation, the current angular offset of the first electronic device relative to the X-axis, the Y-axis and the Z-axis in the reference coordinate system is obtained through the gravity sensor, and the angular offsets of the X-axis, the Y-axis and the Z-axis are used as first attitude parameters of the first electronic device.
In this embodiment, when receiving a first instruction sent by a first electronic device, a second electronic device obtains angle offsets of an X axis, a Y axis, and a Z axis of the second electronic device as a second attitude parameter through a gravity sensor of the second electronic device according to the first instruction.
The processing unit is specifically configured to calculate a relative attitude parameter of the processing unit with respect to the second electronic device according to a first attitude parameter of the processing unit and a second attitude parameter sent by the second electronic device; further, according to the relative attitude parameters, determining that the first electronic equipment is at a first relative position or a second relative position relative to the second electronic equipment;
wherein the first relative position characterizes that one side of the first electronic equipment provided with a 'home' key is close to the second electronic equipment; the second relative position characterizes a side of the first electronic device having a "home" key away from the second electronic device. For example, in fig. 5, the first electronic device and the second electronic device are in a first relative position.
Preferably, in this embodiment, the processing unit is specifically configured to detect a third operation when the information transmission direction is from the first electronic device to the second electronic device, and select content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment; and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
The third operation may be an operation of selecting a part of or all of the content from the content currently displayed by the first electronic device; for example, as shown in fig. 4, the content currently displayed in the first electronic device is "123 Abc", and "Abc" 41 is selected by the third operation.
Before sending the second instruction, the user may also select content information to be transmitted on the second electronic device, as shown in fig. 5, after determining that the information transmission direction is that the second electronic device 52 transmits the second instruction to the first electronic device 51, the user may send the second instruction to the second electronic device 52; when the user selects the content information 521 on the second electronic device 52, the second electronic device 52 transmits the selected content information 521 to the first electronic device 51 according to the second instruction.
In addition, the scenes for transmitting the selected content information provided in this embodiment are all operation sequences for selecting the content information after the transmission direction between the two electronic devices is determined;
it is understood that there may be a scenario where the operation of selecting the content information is actually performed before the transmission direction between the two devices is determined, for example, assuming that the first electronic device is a smartphone and the second electronic device is a tablet computer; a user needs to copy a text from a tablet computer to a smart phone; the method comprises the following steps:
establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; selecting characters to be copied on a tablet computer by a user; the user controls the lower left corner of the smart phone to perform clicking operation, and when the smart phone determines that the second contact sensor at the lower left corner executes operation, the information transmission direction is determined to be from the tablet personal computer to the smart phone; the smart phone sends a second instruction to the tablet computer; and after receiving the second instruction, the tablet personal computer sends the selected characters to be copied to the smart phone through the established communication connection.
Assuming that the first electronic device is a smart phone and the second electronic device is a tablet computer; a user needs to send a section of characters on the smart phone to the tablet personal computer, and then the characters are operated on the tablet personal computer; establishing communication connection between the smart phone and the tablet personal computer through a Bluetooth or WIFI function; the method comprises the following steps: a user selects characters to be copied on the smart phone; the smart phone detects a third operation, and selects characters to be copied through the third operation; the user controls the upper left corner of the smart phone to perform clicking operation, and when the smart phone determines that the first contact sensor at the upper left corner executes operation, the information transmission direction is determined to be from the smart phone to the tablet computer; and sending the selected content information to the second electronic equipment by the first electronic equipment through the first communication connection.
Therefore, by adopting the scheme, the information transmission direction between the two electronic devices is determined by detecting the second operation of the first electronic device between the two electronic devices establishing the first communication connection, and the selected content information is transmitted according to the information transmission direction. Therefore, the operation of information transmission between the two electronic devices is simplified, the operation efficiency is improved, and the use experience of a user is further improved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (14)

1. An information processing method is applied to a first electronic device, the first electronic device is provided with a first detection unit, and the method comprises the following steps:
executing a first operation to enable the first electronic device to establish a first communication connection with the second electronic device;
detecting, by the first detection unit, a second operation of the first electronic device;
determining an information transmission direction between the first electronic equipment and the second electronic equipment according to the second operation; the information transmission direction comprises: the first electronic device transmitting information to the second electronic device, and the second electronic device transmitting information to the first electronic device;
and according to the information transmission direction, transmitting content information between the first electronic equipment and the second electronic equipment through the first communication connection.
2. The method of claim 1, wherein the first detection unit comprises a first contact sensor and a second contact sensor.
3. The method of claim 2, wherein the detecting, by the first detection unit, the second operation of the first electronic device comprises:
detecting an operation of the first electronic device as a second operation through the first contact sensor or the second contact sensor;
correspondingly, the determining the information transmission direction between the first electronic device and the second electronic device according to the second operation includes:
when the operation of the first electronic device is detected through a first contact sensor, determining that the information transmission direction is from the first electronic device to the second electronic device;
when the operation of the first electronic device is detected through a second contact sensor, the information transmission direction is determined to be transmitted from the second electronic device to the first electronic device.
4. The method of claim 2, wherein performing the first operation to cause the first electronic device to establish the first communication connection with the second electronic device comprises: executing a first operation through the first contact inductor or the second contact inductor, so that the second electronic equipment initiates a request for establishing a first communication connection with the first electronic equipment when detecting the first operation;
and after receiving the request for establishing the first communication connection sent by the second electronic equipment, the first electronic equipment establishes the first communication connection with the second electronic equipment.
5. The method of claim 1, wherein the detecting, by the first detection unit, the second operation of the first electronic device comprises:
detecting a second operation of the first electronic device by the first detection unit;
determining a first pose parameter of the first electronic device through a second operation.
6. The method of claim 5, wherein the determining, according to the second operation, a direction of information transmission between the first electronic device and the second electronic device comprises:
sending a first instruction to the second electronic device through a first communication connection, wherein the first instruction is an instruction for acquiring a second attitude parameter of the second electronic device;
receiving a second attitude parameter returned by the second electronic equipment;
determining that the first electronic device and the second electronic device are in a first relative position or a second relative position by using the first attitude parameter and the second attitude parameter;
when the first electronic device is at a first relative position, determining that the information transmission direction is from the first electronic device to the second electronic device;
and when the first electronic equipment is at a second relative position, determining that the information transmission direction is transmitted from the second electronic equipment to the first electronic equipment.
7. The method according to any of claims 1-6, wherein said transmitting content information between said first electronic device and said second electronic device over said first communication connection according to said information transmission direction comprises:
when the information transmission direction is from the first electronic device to the second electronic device, detecting a third operation, and selecting content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment;
and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
8. An electronic device, the electronic device being a first electronic device, comprising:
a communication unit configured to establish a first communication connection with a second electronic device by performing a first operation;
a first detection unit configured to detect a second operation of the first electronic device;
the processing unit is used for determining the information transmission direction between the processing unit and the second electronic equipment according to the second operation; the information transmission direction comprises: the first electronic device transmitting information to the second electronic device, and the second electronic device transmitting information to the first electronic device; and transmitting content information between the first communication connection of the communication unit and the second electronic equipment according to the information transmission direction.
9. The electronic device according to claim 8, wherein the first detection unit includes a first contact sensor and a second contact sensor.
10. The electronic device of claim 9,
the first contact sensor is used for detecting the operation of the electronic equipment as a second operation;
the second contact sensor is used for detecting the operation of the electronic equipment as a second operation;
correspondingly, the processing unit is specifically configured to determine that the information transmission direction is from the first electronic device to the second electronic device when the operation of the first electronic device is detected through the first contact sensor; when the operation of the first electronic device is detected through a second contact sensor, the information transmission direction is determined to be transmitted from the second electronic device to the first electronic device.
11. The electronic device of claim 9,
the first contact sensor is used for executing a first operation, so that the second electronic equipment initiates a request for establishing a first communication connection when detecting the first operation;
the second contact sensor is used for executing a first operation, so that the second electronic equipment initiates a request for establishing a first communication connection when detecting the first operation;
correspondingly, the communication unit is specifically configured to establish the first communication connection with the second electronic device after receiving the request for establishing the first communication connection sent by the second electronic device.
12. The electronic device according to claim 8, wherein the first detecting unit is specifically configured to detect a second operation of the first electronic device;
correspondingly, the processing unit is specifically configured to determine the first attitude parameter of the first electronic device through a second operation.
13. The electronic device according to claim 12, wherein the processing unit is specifically configured to issue a first instruction to the second electronic device through a first communication connection, where the first instruction is an instruction to obtain a second attitude parameter of the second electronic device; determining that the first electronic device and the second electronic device are in a first relative position or a second relative position by using the first attitude parameter and the second attitude parameter; when the first electronic device is at a first relative position, determining that the information transmission direction is from the first electronic device to the second electronic device; when the first electronic equipment is at a second relative position, determining that the information transmission direction is from the second electronic equipment to the first electronic equipment;
correspondingly, the communication unit is specifically configured to receive a second posture parameter returned by the second electronic device.
14. The electronic device according to any one of claims 8 to 13, wherein the processing unit is specifically configured to, when the information transmission direction is from the first electronic device to the second electronic device, detect a third operation, and select content information through the third operation; sending the selected content information to the second electronic equipment through the first communication connection by the first electronic equipment; and when the information transmission direction is that the second electronic equipment transmits the information to the first electronic equipment, sending a second instruction to the second electronic equipment, and enabling the second electronic equipment to send the selected content information to the first electronic equipment through the second instruction.
CN201510114335.0A 2015-03-16 2015-03-16 Information processing method and electronic equipment Active CN106020659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510114335.0A CN106020659B (en) 2015-03-16 2015-03-16 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510114335.0A CN106020659B (en) 2015-03-16 2015-03-16 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106020659A CN106020659A (en) 2016-10-12
CN106020659B true CN106020659B (en) 2020-04-24

Family

ID=57082384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510114335.0A Active CN106020659B (en) 2015-03-16 2015-03-16 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106020659B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522438A (en) * 2020-03-25 2020-08-11 华为技术有限公司 Content transmission method, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843280A (en) * 2011-06-24 2012-12-26 联想(北京)有限公司 Method and system of communication of communication device and communication device
CN103873136A (en) * 2012-12-17 2014-06-18 兄弟工业株式会社 Communication Apparatus and Communication System
CN103885684A (en) * 2012-12-20 2014-06-25 三星电子(中国)研发中心 Oriented transmitting method and portable electronic equipment adopting same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8274532B2 (en) * 2006-11-10 2012-09-25 Draeger Medical Systems, Inc. System for adaptively orienting a display image on a device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843280A (en) * 2011-06-24 2012-12-26 联想(北京)有限公司 Method and system of communication of communication device and communication device
CN103873136A (en) * 2012-12-17 2014-06-18 兄弟工业株式会社 Communication Apparatus and Communication System
CN103885684A (en) * 2012-12-20 2014-06-25 三星电子(中国)研发中心 Oriented transmitting method and portable electronic equipment adopting same

Also Published As

Publication number Publication date
CN106020659A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
EP3015955B1 (en) Controlling multiple devices with a wearable input device
KR101580914B1 (en) Electronic device and method for controlling zooming of displayed object
US10684673B2 (en) Apparatus and control method based on motion
US10073493B2 (en) Device and method for controlling a display panel
EP2747384B1 (en) Method for synchronizing messages among plurality of terminals, machine-readable storage medium, and server
US9377901B2 (en) Display method, a display control method and electric device
CN106445340B (en) Method and device for displaying stereoscopic image by double-screen terminal
KR101618783B1 (en) A mobile device, a method for controlling the mobile device, and a control system having the mobile device
CN108769299B (en) Screen control method and device and mobile terminal
CN103699260A (en) Method for starting terminal function module, and terminal equipment
CN105302458A (en) Message display method and apparatus
CN103777788A (en) Control method and electronic devices
WO2020088268A1 (en) Desktop icon organizing method and terminal
CN105426067A (en) Desktop icon replacement method and apparatus
CN104423676A (en) Information processing method and electronic device
CN108108113B (en) Webpage switching method and device
CN106372076B (en) Method and device for switching web pages in browser
CN105630376A (en) Terminal control method and device
CN102799373B (en) Electronic equipment, the method generating input area and terminal device
US20220004287A1 (en) Layout method, device and equipment for window control bars
CN104866194B (en) Image searching method and device
JP5696563B2 (en) Information processing apparatus, screen update method, screen update program, and information processing system
CN106020659B (en) Information processing method and electronic equipment
CN105511597A (en) Method and device for controlling page based on browser
CN104020956A (en) Method and system for holding mobile terminal with one hand to take pictures

Legal Events

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