Nothing Special   »   [go: up one dir, main page]

CN103986502B - Information processing method, electronic device and system - Google Patents

Information processing method, electronic device and system Download PDF

Info

Publication number
CN103986502B
CN103986502B CN201410129451.5A CN201410129451A CN103986502B CN 103986502 B CN103986502 B CN 103986502B CN 201410129451 A CN201410129451 A CN 201410129451A CN 103986502 B CN103986502 B CN 103986502B
Authority
CN
China
Prior art keywords
electronic device
information
posture
electronic equipment
near field
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
CN201410129451.5A
Other languages
Chinese (zh)
Other versions
CN103986502A (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 CN201410129451.5A priority Critical patent/CN103986502B/en
Publication of CN103986502A publication Critical patent/CN103986502A/en
Application granted granted Critical
Publication of CN103986502B publication Critical patent/CN103986502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an information processing method, an electronic device and a system. The method comprises the following steps: a first state parameter is acquired; when the detected first state parameter shows that a first electronic device is in the default first posture, the first electronic device is determined to be the initiator of near field communication, and a connection request is sent to at least one second electronic device in the coverage area; response information returned by the at least one second electronic device is received, and when a second state parameter in the response information corresponding to a specific second electronic device is judged to show that the specific second electronic device is in the default second posture, the specific second electronic device is determined to be the receiver of near field communication; a directly-connected near field communication link is established between a first communication unit of the first electronic device and a second communication unit of the specific second electronic device; and first information is sent to the specific second electronic device through the near field communication link. By adopting the information processing method, the electronic device and the system of the invention, the operating efficiency can be improved, and the usage experience of users can be ensured.

Description

Information processing method, electronic equipment and system
Technical Field
The present invention relates to a connection management technology between terminal devices, and in particular, to an information processing method, an electronic device, and a system.
Background
At present, a connection transmission file is established between electronic devices, a corresponding file needs to be searched first, a required transmission mode needs to be selected in the setting, and then the connection transmission file is established to the opposite side, so that a large amount of time of a user needs to be consumed. Therefore, in the prior art, the operation of establishing the connection transmission file requires the user to perform a series of complicated operations such as file selection and connection mode, which not only affects the current operation process of the user, but also causes the use efficiency of the mobile phone to be low.
Disclosure of Invention
In view of this, the present invention provides an information processing method, an electronic device and a system, which can improve operation efficiency and ensure user experience.
The invention provides an information processing method, which is applied to first electronic equipment, wherein the first electronic equipment is provided with a first sensing unit and a first communication unit, and when the first sensing unit is in a working state, the method comprises the following steps:
the first electronic equipment acquires a first state parameter by using a first sensing unit;
when the detected first state parameter indicates that the first electronic equipment is in a preset first posture, determining that the first electronic equipment is an initiator of near field communication, and controlling the first communication unit to send a connection request to at least one second electronic equipment in a coverage range;
receiving response information returned by the at least one second electronic device,
when the second state parameter in the response information corresponding to the specific second electronic equipment is judged to indicate that the specific second electronic equipment is in a preset second posture, determining that the specific second electronic equipment is a near field communication receiver;
controlling the first communication unit to establish a directly connected near field communication link with a second communication unit of the specific second electronic device;
and sending first information to the specific second electronic equipment through the near field communication link.
In the foregoing solution, the connection request includes: the first state parameter;
the second posture is the same as or different from the first posture, and satisfies a specified positional relationship with the first posture.
In the above scheme, the method further comprises: determining one or more files operated or displayed by a first application currently in an activated state in the first electronic equipment as first information;
or determining an application corresponding to at least one application identifier displayed by the first electronic device as first information;
or, the first application currently in an active state in the first electronic device and at least one file run or displayed by the first application are jointly determined as the first information.
In the foregoing solution, the sending the first information to the specific second electronic device through the nfc link includes:
sending first prompt information to the second electronic equipment; the first prompt message is used for prompting whether to receive the first message;
and after first confirmation information returned by the specific second electronic equipment is received, the first information is sent to the specific second electronic equipment through the near field communication link.
In the foregoing solution, the sending the first information to the specific second electronic device through the nfc link includes:
displaying second prompt information, wherein the second prompt information is used for prompting whether to actively send the first information;
and when second confirmation information which confirms that the first information is actively sent is received, sending the first information to the specific second electronic equipment through the near field communication link.
The invention also provides an information processing method, which is applied to second electronic equipment, wherein the second electronic equipment is provided with a second sensing unit and a second communication unit, and the method comprises the following steps:
receiving a connection request sent by first electronic equipment, and acquiring a second state parameter by using a second sensing unit;
generating response information of the connection request by using the second state parameter, sending the response information to the first electronic device,
when the first electronic device judges that the second electronic device is in a preset second posture through the second state parameter in the response message, a directly connected near field communication link is established with a first communication unit of the first electronic device through a second communication unit;
and receiving first information sent by the first electronic equipment through the near field communication link.
In the foregoing solution, before receiving the first information sent by the first electronic device through the near field communication link, the method further includes:
receiving first prompt information sent by the first electronic equipment; the first prompt message is used for prompting whether to receive the first message;
and when the first information is determined to be received, returning first confirmation information to the first electronic equipment.
The present invention provides an electronic device, including:
the first sensing unit is used for acquiring a first state parameter of the electronic equipment;
the first judging unit is used for determining that the electronic equipment is an initiator of near field communication when the detected first state parameter indicates that the electronic equipment is in a preset first posture;
the first communication unit is used for sending a connection request to at least one second electronic device in a coverage area when the electronic device is determined to be an initiator of near field communication; receiving response information returned by the at least one second electronic device; according to the control of a second judging unit, a directly connected near field communication link is established with a second communication unit of the specific second electronic equipment;
the second judging unit is used for determining that the specific second electronic equipment is a near field communication receiver when the second state parameter in the response information corresponding to the specific second electronic equipment is judged to indicate that the specific second electronic equipment is in a preset second posture;
and the information processing unit is used for sending first information to the specific second electronic equipment through the near field communication link.
In the foregoing solution, the connection request includes: the first state parameter; the second posture is the same as or different from the first posture, and satisfies a specified positional relationship with the first posture.
In the foregoing solution, the information processing unit includes:
the information generation subunit is used for determining one or more files operated or displayed by the first application in the activated state as first information;
or determining the application corresponding to the displayed at least one application identifier as the first information;
or, the first application which is currently in an activated state and at least one file which is run or displayed by the first application are jointly determined as the first information.
In the foregoing solution, the information processing unit further includes:
the first prompting subunit is used for sending first prompting information to the second electronic equipment; the first prompt message is used for prompting whether to receive the first message;
and the information sending subunit is configured to send the first information to the specific second electronic device through the near field communication link after receiving first confirmation information returned by the specific second electronic device.
In the foregoing solution, the information processing unit further includes: the second prompting subunit is used for displaying second prompting information, and the second prompting information is used for prompting whether to actively send the first information;
correspondingly, the information sending subunit is further configured to send the first information to the specific second electronic device through the near field communication link when receiving second confirmation information that determines to actively send the first information.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
the second communication unit is used for receiving a connection request sent by the first electronic equipment; when the first electronic device judges that the second electronic device is in a preset second posture through the second state parameter in the response message, a directly connected near field communication link is established with a first communication unit of the first electronic device, and first information sent by the first electronic device is received through the near field communication link;
the second sensing unit is used for acquiring a second state parameter;
and the response unit is used for generating response information of the connection request by using the second state parameter and sending the response information to the first electronic equipment through the second communication unit.
In the above scheme, the electronic device further includes: the information processing unit is used for receiving first prompt information sent by the first electronic equipment through the second communication unit; the first prompt message is used for prompting whether to receive the first message; and when the first information is determined to be received, returning first confirmation information to the first electronic equipment through the second communication unit.
An embodiment of the present invention provides an information processing system, including: a first electronic device and a second electronic device; wherein, the first electronic device is the electronic device in the above scheme; the second electronic device is the electronic device in the above scheme.
According to the information processing method, the electronic equipment and the system, the electronic equipment can determine that the electronic equipment is the initiator of near field communication according to the posture of the electronic equipment, determine the receiver of the near field communication according to the received state parameters, and further establish a near field communication link and transmit files. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Drawings
Fig. 1 is a first schematic flow chart of a first electronic device side in an information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of relative attitude relationships between two electronic devices according to an embodiment of the invention;
FIG. 3 is a second flowchart illustrating a first electronic device side in an information processing method according to an embodiment of the invention;
FIG. 4 is an exemplary diagram of generating first information using a desktop application according to an embodiment of the invention;
fig. 5 is a third schematic flow chart of the first electronic device side in the information processing method according to the embodiment of the present invention;
fig. 6 is a first flowchart of a second electronic device in the information processing method according to the embodiment of the invention;
FIG. 7 is a second flowchart illustrating a second electronic device side in the information processing method according to the embodiment of the invention;
FIG. 8 is a first schematic view of an electronic device according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a second exemplary embodiment of an electronic device;
FIG. 10 is a third schematic view of an electronic device according to an embodiment of the present invention;
FIG. 11 is a fourth schematic view of a component structure of an electronic device according to an embodiment of the present invention;
FIG. 12 is a block diagram of an information processing system according to an embodiment of the present 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 has a first sensing unit and a first communication unit, and when the first sensing unit is in a working state, as shown in fig. 1, the method includes:
step 101: the first electronic equipment acquires a first state parameter by using a first sensing unit;
step 102: when the detected first state parameter indicates that the first electronic equipment is in a preset first posture, determining that the first electronic equipment is an initiator of near field communication, and controlling the first communication unit to send a connection request to at least one second electronic equipment in a coverage range;
step 103: receiving response information returned by the at least one second electronic device;
step 104: when the second state parameter in the response information corresponding to the specific second electronic equipment is judged to indicate that the specific second electronic equipment is in a preset second posture, determining that the specific second electronic equipment is a near field communication receiver;
step 105: controlling the first communication unit to establish a directly connected near field communication link with a second communication unit of the specific second electronic device; and sending first information to the specific second electronic equipment through the near field communication link.
Here, the connection request may include: the first state parameter. The first sensing unit may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It can be understood that, when the first sensing unit is an acceleration sensor, one implementation manner of acquiring a first state parameter by using the first sensing unit and determining the posture of the electronic device according to the first state parameter may include: acquiring the inclination of the electronic equipment by using the acceleration sensor, taking the inclination as the first state parameter, and then determining the posture of the electronic equipment according to the inclination in the first state parameter, for example, when the inclination is 90 degrees, the posture of the electronic equipment can be determined to be a vertical posture; or when the inclination of the electronic device meets a certain threshold, and the posture corresponding to the electronic device may be determined, for example, when the inclination of the electronic device is set to 80-90 degrees, and when the inclination of the electronic device is set to be a vertical posture, and when the inclination of the electronic device is set to 1-30 degrees, the posture of the electronic device is determined to be a horizontal posture.
The second state parameter has the same composition as the first state parameter, and may include: attitude, height, etc. of the electronic device. The obtaining method is the same as the first electronic device, and is not described herein.
The first posture may be a posture representing that the electronic device is vertically placed, or may be a posture representing that the electronic device is horizontally placed;
correspondingly, the second posture may be the same as the first posture, for example, the second posture and the first posture both represent that the electronic device is in a vertical position, or both represent that the electronic device is in a horizontal position, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal position, the second posture represents that the electronic device is in a vertical position.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture is not more than a preset range.
For example, fig. 2 shows a scenario of this embodiment, where when the first electronic device 21 is in the first posture, the connection request is initiated, a response message returned by the second electronic device 22 is received, the second state parameter is obtained from the response message, and when it is determined that the second electronic device 22 is in the second posture according to the second state parameter, the first electronic device 21 sends the first message to the second electronic device 22 through the near field communication link.
Therefore, according to the scheme, the electronic equipment determines that the electronic equipment is the initiator of near field communication according to the posture of the electronic equipment, determines the receiver of the near field communication according to the received state parameters, and then establishes a near field communication link and transmits the file. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Example II,
An embodiment of the present invention provides an information processing method, which is applied to a first electronic device, where the first electronic device has a first sensing unit and a first communication unit, and when the first sensing unit is in a working state, as shown in fig. 3, the method includes:
step 301: the first electronic equipment acquires a first state parameter by using a first sensing unit;
step 302: when the detected first state parameter indicates that the first electronic equipment is in a preset first posture, determining that the first electronic equipment is an initiator of near field communication, and controlling the first communication unit to send a connection request to at least one second electronic equipment in a coverage range;
step 303: receiving response information returned by the at least one second electronic device,
step 304: when the second state parameter in the response information corresponding to the specific second electronic equipment is judged to indicate that the specific second electronic equipment is in a preset second posture, determining that the specific second electronic equipment is a near field communication receiver;
step 305: controlling the first communication unit to establish a directly connected near field communication link with a second communication unit of the specific second electronic device;
step 306: sending first prompt information to the second electronic equipment; the first prompt message is used for prompting whether to receive the first message;
step 307: and after first confirmation information returned by the specific second electronic equipment is received, the first information is sent to the specific second electronic equipment through the near field communication link.
Here, the connection request may include: the first state parameter. The first sensing unit may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It can be understood that, when the first sensing unit is an acceleration sensor, one implementation manner of acquiring a first state parameter by using the first sensing unit and determining the posture of the electronic device according to the first state parameter may include: acquiring the inclination of the electronic equipment by using the acceleration sensor, taking the inclination as the first state parameter, and then determining the posture of the electronic equipment according to the inclination in the first state parameter, for example, when the inclination is 90 degrees, the posture of the electronic equipment can be determined to be a vertical posture; or when the inclination of the electronic device meets a certain threshold, and the posture corresponding to the electronic device may be determined, for example, when the inclination of the electronic device is set to 80-90 degrees, and when the inclination of the electronic device is set to be a vertical posture, and when the inclination of the electronic device is set to 1-30 degrees, the posture of the electronic device is determined to be a horizontal posture.
The first posture may be a posture representing that the electronic device is vertically placed, or may be a posture representing that the electronic device is horizontally placed;
correspondingly, the second posture may be the same as the first posture, for example, the second posture and the first posture both represent that the electronic device is in a vertical position, or both represent that the electronic device is in a horizontal position, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal position, the second posture represents that the electronic device is in a vertical position.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture is not more than a preset range.
Fig. 2 shows a scenario of this embodiment, where when the first electronic device 21 is in the first posture, the connection request is initiated, a response message returned by the second electronic device 22 is received, the second state parameter is obtained from the response message, and when it is determined that the second electronic device 22 is in the second posture according to the second state parameter, the first electronic device 21 sends the first message to the second electronic device 22 through the near field communication link.
Preferably, before performing step 307, the first electronic device may further select first information, specifically:
determining one or more files operated or displayed by a first application currently in an activated state in the first electronic equipment as first information; for example, the first application currently in an active state is an application playing audio, an audio file is currently being played, and one or more audio files are in a playlist of the application, so that the first information may be the currently played audio file, or the first information may be all the audio files in the playlist;
or determining an application corresponding to at least one application identifier displayed by the first electronic device as first information; for example, as shown in fig. 4, when the current first electronic device displays a desktop, and there are icons 41 and 42 corresponding to the first application and the second application in the desktop, the first information is the first application and the second application;
or, the first application currently in an active state in the first electronic device and at least one file run or displayed by the first application are determined as the first information together, for example, the first application currently in an active state is a video playing application, and the video playing application is playing a video file, then the first information may include the video playing application and the video file; therefore, the second electronic device can be ensured to complete the operation of playing the video file by receiving the video playing application sent by the first electronic device under the condition that no video playing application exists.
Therefore, according to the scheme, the electronic equipment determines that the electronic equipment is the initiator of the near field communication according to the posture of the electronic equipment, determines the receiver of the near field communication according to the received state parameters, further establishes a near field communication link between the electronic equipment and the receiver, and sends the first information to the receiver when the receiver determines to receive the first information. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Example III,
An embodiment of the present invention provides an information processing method, which is applied to a first electronic device, where the first electronic device has a first sensing unit and a first communication unit, and when the first sensing unit is in a working state, as shown in fig. 5, the method includes:
step 501: the first electronic equipment acquires a first state parameter by using a first sensing unit;
step 502: when the detected first state parameter indicates that the first electronic equipment is in a preset first posture, determining that the first electronic equipment is an initiator of near field communication, and controlling the first communication unit to send a connection request to at least one second electronic equipment in a coverage range;
step 503: receiving response information returned by the at least one second electronic device,
step 504: when the second state parameter in the response information corresponding to the specific second electronic equipment is judged to indicate that the specific second electronic equipment is in a preset second posture, determining that the specific second electronic equipment is a near field communication receiver;
step 505: controlling the first communication unit to establish a directly connected near field communication link with a second communication unit of the specific second electronic device;
step 506: displaying second prompt information, wherein the second prompt information is used for prompting whether to actively send the first information;
step 507: and when second confirmation information which confirms that the first information is actively sent is received, sending the first information to the specific second electronic equipment through the near field communication link.
Here, the connection request may include: the first state parameter. The first sensing unit may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It can be understood that, when the first sensing unit is an acceleration sensor, one implementation manner of acquiring a first state parameter by using the first sensing unit and determining the posture of the electronic device according to the first state parameter may include: acquiring the inclination of the electronic equipment by using the acceleration sensor, taking the inclination as the first state parameter, and then determining the posture of the electronic equipment according to the inclination in the first state parameter, for example, when the inclination is 90 degrees, the posture of the electronic equipment can be determined to be a vertical posture; or when the inclination of the electronic device meets a certain threshold, and the posture corresponding to the electronic device may be determined, for example, when the inclination of the electronic device is set to 80-90 degrees, and when the inclination of the electronic device is set to be a vertical posture, and when the inclination of the electronic device is set to 1-30 degrees, the posture of the electronic device is determined to be a horizontal posture.
The first posture may be a posture representing that the electronic device is vertically placed, or may be a posture representing that the electronic device is horizontally placed;
correspondingly, the second posture may be the same as the first posture, for example, the second posture and the first posture both represent that the electronic device is in a vertical position, or both represent that the electronic device is in a horizontal position, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal position, the second posture represents that the electronic device is in a vertical position.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture is not more than a preset range.
Fig. 2 shows a scenario of this embodiment, where when the first electronic device 21 is in the first posture, the connection request is initiated, a response message returned by the second electronic device 22 is received, the second state parameter is obtained from the response message, and when it is determined that the second electronic device 22 is in the second posture according to the second state parameter, the first electronic device 21 sends the first message to the second electronic device 22 through the near field communication link.
Preferably, before executing step 507, the first electronic device may further select first information, specifically:
determining one or more files operated or displayed by a first application currently in an activated state in the first electronic equipment as first information; for example, the first application currently in an active state is an application playing audio, an audio file is currently being played, and one or more audio files are in a playlist of the application, so that the first information may be the currently played audio file, or the first information may be all the audio files in the playlist;
or determining an application corresponding to at least one application identifier displayed by the first electronic device as first information; for example, as shown in fig. 4, when the current first electronic device displays a desktop, and there are icons 41 and 42 corresponding to the first application and the second application in the desktop, the first information is the first application and the second application;
or, the first application currently in an active state in the first electronic device and at least one file run or displayed by the first application are determined as the first information together, for example, the first application currently in an active state is a video playing application, and the video playing application is playing a video file, then the first information may include the video playing application and the video file; therefore, the second electronic device can be ensured to complete the operation of playing the video file by receiving the video playing application sent by the first electronic device under the condition that no video playing application exists.
Preferably, before the sending the first information to the specific second electronic device through the near field communication link, the second electronic device may be further required to confirm whether to receive the first information, which may include: sending first prompt information to the second electronic equipment; the first prompt message is used for prompting whether to receive the first message; and after first confirmation information returned by the specific second electronic equipment is received, the first information is sent to the specific second electronic equipment through the near field communication link.
Therefore, according to the scheme, the electronic equipment determines that the electronic equipment is the initiator of near field communication according to the posture of the electronic equipment, determines the receiver of the near field communication according to the received state parameters, and then establishes a near field communication link and transmits the file. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Example four,
An information processing method provided in an embodiment of the present invention is applied to a second electronic device, where the second electronic device has a second sensing unit and a second communication unit, as shown in fig. 6, and includes:
step 601: receiving a connection request sent by first electronic equipment;
step 602: acquiring a second state parameter by using a second sensing unit;
step 603: generating response information of the connection request by using the second state parameter, and sending the response information to the first electronic equipment;
step 604: when the first electronic device judges that the second electronic device is in the preset second posture through the second state parameter in the response message, a directly connected near field communication link is established with the first communication unit of the first electronic device through the second communication unit, and the first message sent by the first electronic device is received through the near field communication link.
The steps 601 and 602 may be performed sequentially, for example, when the second electronic device receives the connection request sent by the first electronic device, the second sensing unit of the second electronic device is turned on to obtain the second state parameter, and then step 603 is performed;
in addition, step 602 may be executed first, and then step 601 is executed, for example, the second electronic device acquires the second status parameter in real time by using the second sensing unit, or may acquire the second status parameter periodically by using the second sensing unit for the second electronic device, and then step 603 is executed when the connection request sent by the first electronic device is received.
Here, the connection request may include: the second state parameter. The second sensing unit may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It can be understood that, when the second sensing unit is an acceleration sensor, one implementation manner of obtaining a second state parameter by using the second sensing unit and determining the posture of the electronic device according to the second state parameter may include: acquiring the inclination of the electronic equipment by using the acceleration sensor, taking the inclination as the second state parameter, and then determining the posture of the electronic equipment according to the inclination in the second state parameter, for example, when the inclination is 90 degrees, the posture of the electronic equipment can be determined to be a vertical posture; or when the inclination of the electronic device meets a certain threshold, and the posture corresponding to the electronic device may be determined, for example, when the inclination of the electronic device is set to 80-90 degrees, and when the inclination of the electronic device is set to be a vertical posture, and when the inclination of the electronic device is set to 1-30 degrees, the posture of the electronic device is determined to be a horizontal posture.
The second posture may be the same as the first posture, for example, both the second posture and the first posture represent that the electronic device is in a vertical posture, or both the second posture and the first posture represent that the electronic device is in a horizontal posture, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal posture, the second posture represents that the electronic device is in a vertical state.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture is not more than a preset range.
Therefore, according to the scheme, the electronic equipment sends the posture of the electronic equipment to the initiator of the near field communication, and when the initiator determines that the initiator is the receiver for determining the near field communication, the two parties establish the near field communication link and receive the first information sent by the initiator. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Example V,
An information processing method provided in an embodiment of the present invention is applied to a second electronic device, where the second electronic device has a second sensing unit and a second communication unit, as shown in fig. 7, and includes:
step 701: receiving a connection request sent by first electronic equipment;
step 702: acquiring a second state parameter by using a second sensing unit;
step 703: generating response information of the connection request by using the second state parameter, and sending the response information to the first electronic equipment;
step 704: when the first electronic device judges that the second electronic device is in a preset second posture through the second state parameter in the response message, a directly connected near field communication link is established with a first communication unit of the first electronic device through a second communication unit;
step 705: receiving first prompt information sent by the first electronic equipment; the first prompt message is used for prompting whether to receive the first message;
step 706: and when the first information is determined to be received, returning first confirmation information to the first electronic equipment, and receiving the first information sent by the first electronic equipment through the near field communication link.
The steps 701 and 702 may be performed sequentially, for example, when the second electronic device receives the connection request sent by the first electronic device, the second sensing unit of the second electronic device is turned on to obtain the second state parameter, and then step 703 is performed;
in addition, step 702 may be executed first, and then step 701 is executed, for example, the second electronic device acquires the second state parameter in real time by using the second sensing unit, or may acquire the second state parameter periodically by using the second sensing unit for the second electronic device, and then step 703 is executed when the connection request sent by the first electronic device is received.
The connection request may include: the second state parameter. The second sensing unit may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It can be understood that, when the second sensing unit is an acceleration sensor, one implementation manner of obtaining a second state parameter by using the second sensing unit and determining the posture of the electronic device according to the second state parameter may include: acquiring the inclination of the electronic equipment by using the acceleration sensor, taking the inclination as the second state parameter, and then determining the posture of the electronic equipment according to the inclination in the second state parameter, for example, when the inclination is 90 degrees, the posture of the electronic equipment can be determined to be a vertical posture; or when the inclination of the electronic device meets a certain threshold, and the posture corresponding to the electronic device may be determined, for example, when the inclination of the electronic device is set to 80-90 degrees, and when the inclination of the electronic device is set to be a vertical posture, and when the inclination of the electronic device is set to 1-30 degrees, the posture of the electronic device is determined to be a horizontal posture.
The second posture may be the same as the first posture, for example, both the second posture and the first posture represent that the electronic device is in a vertical posture, or both the second posture and the first posture represent that the electronic device is in a horizontal posture, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal posture, the second posture represents that the electronic device is in a vertical state.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture does not exceed a preset range, for example, the distance between the first posture and the second posture, that is, the minimum distance between the first electronic device and the second electronic device is less than 5 centimeters.
Preferably, the receiving of the first information sent by the first electronic device may be:
when the first information comprises one or more files, directly receiving and saving the one or more files;
when the first information comprises one or more applications, directly receiving and installing the one or more applications, or installing the one or more applications after detecting whether the one or more applications are safe;
when the first information, the first file and the first application are included, firstly installing the received first application, and then starting the first application to run or play the first file; or firstly detecting whether a second application capable of running the first file is installed or not according to the type of the first file, if so, not installing the received first application, and prompting a user whether to delete the received first application or not, carrying out subsequent operation according to the selection of the user, and then running or playing the first file by using the second application; if not, installing the received first application and starting the first application to run or playing the first file.
Therefore, according to the scheme, the electronic equipment sends the posture of the electronic equipment to the initiator of the near field communication, and when the initiator determines that the initiator is the receiver for determining the near field communication, the two parties establish the near field communication link and receive the first information sent by the initiator. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Example six,
As shown in fig. 8, an electronic device provided in an embodiment of the present invention includes:
the first sensing unit 81 is used for acquiring a first state parameter of the electronic device;
the first judging unit 82 is configured to determine that the electronic device is an initiator of near field communication when the detected first state parameter indicates that the electronic device is in a preset first posture;
the first communication unit 83 is configured to send a connection request to at least one second electronic device within a coverage range when it is determined that the electronic device is an initiator of near field communication; receiving response information returned by the at least one second electronic device; according to the control of a second judging unit, a directly connected near field communication link is established with a second communication unit of the specific second electronic equipment;
a second determining unit 84, configured to determine that a specific second electronic device is a receiver of near field communication when it is determined that a second state parameter in response information corresponding to the specific second electronic device indicates that the specific second electronic device is in a preset second posture;
an information processing unit 85, configured to send the first information to the specific second electronic device through the near field communication link.
The first sensing unit 81 may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It can be understood that, when the first sensing unit 81 is an acceleration sensor, one implementation manner of the first determining unit 82 using the first sensing unit to obtain a first state parameter and determining the posture of the electronic device according to the first state parameter may include: acquiring the inclination of the electronic equipment by using the acceleration sensor, taking the inclination as the first state parameter, and then determining the posture of the electronic equipment according to the inclination in the first state parameter, for example, when the inclination is 90 degrees, the posture of the electronic equipment can be determined to be a vertical posture; or when the inclination of the electronic device meets a certain threshold, and the posture corresponding to the electronic device may be determined, for example, when the inclination of the electronic device is set to 80-90 degrees, and when the inclination of the electronic device is set to be a vertical posture, and when the inclination of the electronic device is set to 1-30 degrees, the posture of the electronic device is determined to be a horizontal posture.
The second state parameter has the same composition as the first state parameter, and may include: attitude, height, etc. of the electronic device. The obtaining method is the same as the first electronic device, and is not described herein.
The first posture may be a posture representing that the electronic device is vertically placed, or may be a posture representing that the electronic device is horizontally placed;
correspondingly, the second posture may be the same as the first posture, for example, the second posture and the first posture both represent that the electronic device is in a vertical position, or both represent that the electronic device is in a horizontal position, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal position, the second posture represents that the electronic device is in a vertical position.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture is not more than a preset range.
For example, fig. 2 shows a scenario of this embodiment, where when the first electronic device 21 is in the first posture, the connection request is initiated, a response message returned by the second electronic device 22 is received, the second state parameter is obtained from the response message, and when it is determined that the second electronic device 22 is in the second posture according to the second state parameter, the first electronic device 21 sends the first message to the second electronic device 22 through the near field communication link.
Therefore, according to the scheme, the electronic equipment determines that the electronic equipment is the initiator of near field communication according to the posture of the electronic equipment, determines the receiver of the near field communication according to the received state parameters, and then establishes a near field communication link and transmits the file. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Example seven,
As shown in fig. 9, an electronic device provided in an embodiment of the present invention includes:
the first sensing unit 91 is used for acquiring a first state parameter of the electronic equipment;
the first determining unit 92 is configured to determine that the electronic device is an initiator of near field communication when the detected first state parameter indicates that the electronic device is in a preset first posture;
the first communication unit 93 is configured to send a connection request to at least one second electronic device within a coverage area when it is determined that the electronic device is an initiator of near field communication; receiving response information returned by the at least one second electronic device; according to the control of a second judging unit, a directly connected near field communication link is established with a second communication unit of the specific second electronic equipment;
a second determining unit 94, configured to determine that a specific second electronic device is a receiver of near field communication when it is determined that a second state parameter in response information corresponding to the specific second electronic device indicates that the specific second electronic device is in a preset second posture;
an information processing unit 95, configured to send the first information to the specific second electronic device through the near field communication link.
The first sensing unit 91 may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It can be understood that, when the first sensing unit 91 is an acceleration sensor, one implementation manner of the first determining unit 92 acquiring a first state parameter by using the first sensing unit, and determining the posture of the electronic device according to the first state parameter may include: acquiring the inclination of the electronic equipment by using the acceleration sensor, taking the inclination as the first state parameter, and then determining the posture of the electronic equipment according to the inclination in the first state parameter, for example, when the inclination is 90 degrees, the posture of the electronic equipment can be determined to be a vertical posture; or when the inclination of the electronic device meets a certain threshold, and the posture corresponding to the electronic device may be determined, for example, when the inclination of the electronic device is set to 80-90 degrees, and when the inclination of the electronic device is set to be a vertical posture, and when the inclination of the electronic device is set to 1-30 degrees, the posture of the electronic device is determined to be a horizontal posture.
The second state parameter has the same composition as the first state parameter, and may include: attitude, height, etc. of the electronic device. The obtaining method is the same as the first electronic device, and is not described herein.
The first posture may be a posture representing that the electronic device is vertically placed, or may be a posture representing that the electronic device is horizontally placed;
correspondingly, the second posture may be the same as the first posture, for example, the second posture and the first posture both represent that the electronic device is in a vertical position, or both represent that the electronic device is in a horizontal position, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal position, the second posture represents that the electronic device is in a vertical position.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture is not more than a preset range.
For example, fig. 2 shows a scenario of this embodiment, where when the first electronic device 21 is in the first posture, the connection request is initiated, a response message returned by the second electronic device 22 is received, the second state parameter is obtained from the response message, and when it is determined that the second electronic device 22 is in the second posture according to the second state parameter, the first electronic device 21 sends the first message to the second electronic device 22 through the near field communication link.
Further, as shown in fig. 9, the information processing unit 95 includes:
the first prompting subunit 951 is configured to send first prompting information to the second electronic device when the second determining unit 93 determines that the second state parameter in the response information corresponding to the specific second electronic device indicates that the specific second electronic device is in the preset second posture; the first prompt message is used for prompting whether to receive the first message;
the information sending subunit 952 is configured to send, after receiving first confirmation information returned by the specific second electronic device, the first information to the specific second electronic device through the near field communication link.
Preferably, the information processing unit 95 further includes: an information generating subunit 953, configured to determine one or more files run or displayed by the first application currently in an activated state as the first information; for example, the first application currently in an active state is an application playing audio, an audio file is currently being played, and one or more audio files are in a playlist of the application, so that the first information may be the currently played audio file, or the first information may be all the audio files in the playlist;
or determining the application corresponding to the displayed at least one application identifier as the first information; for example, as shown in fig. 4, when the current first electronic device displays a desktop, and there are icons 41 and 42 corresponding to the first application and the second application in the desktop, the first information is the first application and the second application;
or, the first application currently in the active state and at least one file run or displayed by the first application are jointly determined as the first information, for example, if the first application currently in the active state is a video playing application and the video playing application is playing a video file, the first information may include the video playing application and the video file; therefore, the second electronic device can be ensured to complete the operation of playing the video file by receiving the video playing application sent by the first electronic device under the condition that no video playing application exists.
Therefore, according to the scheme, the electronic equipment determines that the electronic equipment is the initiator of near field communication according to the posture of the electronic equipment, determines the receiver of the near field communication according to the received state parameters, and then establishes a near field communication link and transmits the file. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Example eight,
As shown in fig. 10, an electronic device provided in an embodiment of the present invention includes:
the first sensing unit 1001 is used for acquiring a first state parameter of the electronic equipment;
the first determining unit 1002 is configured to determine that the electronic device is an initiator of near field communication when the detected first state parameter indicates that the electronic device is in a preset first posture;
the first communication unit 1003 is configured to send a connection request to at least one second electronic device in a coverage area when it is determined that the electronic device is an initiator of near field communication; receiving response information returned by the at least one second electronic device; according to the control of a second judging unit, a directly connected near field communication link is established with a second communication unit of the specific second electronic equipment;
a second determining unit 1004, configured to determine that a specific second electronic device is a receiver of near field communication when it is determined that a second state parameter in response information corresponding to the specific second electronic device indicates that the specific second electronic device is in a preset second posture;
an information processing unit 1005, configured to send the first information to the specific second electronic device through the near field communication link.
The first sensing unit 1001 may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It can be understood that, when the first sensing unit 1001 is an acceleration sensor, one implementation manner of the first determining unit 1002 acquiring a first state parameter by using the first sensing unit, and determining the posture of the electronic device according to the first state parameter may include: acquiring the inclination of the electronic equipment by using the acceleration sensor, taking the inclination as the first state parameter, and then determining the posture of the electronic equipment according to the inclination in the first state parameter, for example, when the inclination is 90 degrees, the posture of the electronic equipment can be determined to be a vertical posture; or when the inclination of the electronic device meets a certain threshold, and the posture corresponding to the electronic device may be determined, for example, when the inclination of the electronic device is set to 80-90 degrees, and when the inclination of the electronic device is set to be a vertical posture, and when the inclination of the electronic device is set to 1-30 degrees, the posture of the electronic device is determined to be a horizontal posture.
The second state parameter has the same composition as the first state parameter, and may include: attitude, height, etc. of the electronic device. The obtaining method is the same as the first electronic device, and is not described herein.
The first posture may be a posture representing that the electronic device is vertically placed, or may be a posture representing that the electronic device is horizontally placed;
correspondingly, the second posture may be the same as the first posture, for example, the second posture and the first posture both represent that the electronic device is in a vertical position, or both represent that the electronic device is in a horizontal position, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal position, the second posture represents that the electronic device is in a vertical position.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture is not more than a preset range.
For example, fig. 2 shows a scenario of this embodiment, where when the first electronic device 21 is in the first posture, the connection request is initiated, a response message returned by the second electronic device 22 is received, the second state parameter is obtained from the response message, and when it is determined that the second electronic device 22 is in the second posture according to the second state parameter, the first electronic device 21 sends the first message to the second electronic device 22 through the near field communication link.
Further, as shown in fig. 10, the information processing unit 1005 includes:
a first prompting subunit 10051, configured to send first prompting information to the second electronic device; the first prompt message is used for prompting whether to receive the first message;
the information sending subunit 10052 is configured to, after receiving the first confirmation information returned by the specific second electronic device, send the first information to the specific second electronic device through the near field communication link.
Preferably, the information processing unit 1005 further includes: an information generating subunit 10053, configured to determine one or more files run or displayed by the first application currently in the active state as the first information; for example, the first application currently in an active state is an application playing audio, an audio file is currently being played, and one or more audio files are in a playlist of the application, so that the first information may be the currently played audio file, or the first information may be all the audio files in the playlist;
or determining the application corresponding to the displayed at least one application identifier as the first information; for example, as shown in fig. 4, when the current first electronic device displays a desktop, and there are icons 41 and 42 corresponding to the first application and the second application in the desktop, the first information is the first application and the second application;
or, the first application currently in the active state and at least one file run or displayed by the first application are jointly determined as the first information, for example, if the first application currently in the active state is a video playing application and the video playing application is playing a video file, the first information may include the video playing application and the video file; therefore, the second electronic device can be ensured to complete the operation of playing the video file by receiving the video playing application sent by the first electronic device under the condition that no video playing application exists.
Preferably, the information processing unit 1005 may further include: a second prompting subunit 10054, configured to display second prompting information, where the second prompting information is used to prompt whether to actively send the first information; accordingly, the information sending subunit 10052 is configured to send the first information to the specific second electronic device through the near field communication link when receiving the second confirmation information that determines to actively send the first information.
Therefore, according to the scheme, the electronic equipment determines that the electronic equipment is the initiator of near field communication according to the posture of the electronic equipment, determines the receiver of the near field communication according to the received state parameters, and then establishes a near field communication link and transmits the file. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Examples nine,
An embodiment of the present invention provides an electronic device, as shown in fig. 11, the electronic device includes:
a second communication unit 1101, configured to receive a connection request sent by the first electronic device; when the first electronic device judges that the second electronic device is in a preset second posture through the second state parameter in the response message, a directly connected near field communication link is established with a first communication unit of the first electronic device, and first information sent by the first electronic device is received through the near field communication link;
the second sensing unit 1102 is configured to acquire a second state parameter;
a response unit 1103, configured to generate response information of the connection request by using the second state parameter, and send the response information to the first electronic device through the second communication unit.
Wherein the connection request may include: the first state parameter; wherein the first state parameter may include: attitude, height, etc. of the first electronic device.
The second sensing unit 1102 may include: the acceleration sensor may be a gravity sensor of the acceleration sensor.
It is understood that, when the second sensing unit 1102 is an acceleration sensor, the acceleration sensor is utilized to obtain the inclination of the electronic device, and the inclination is taken as the second state parameter.
The second posture may be the same as the first posture, for example, both the second posture and the first posture represent that the electronic device is in a vertical posture, or both the second posture and the first posture represent that the electronic device is in a horizontal posture, and the second posture may be different from the first posture, for example, when the first posture represents that the electronic device is in a horizontal posture, the second posture represents that the electronic device is in a vertical state.
In addition, the second posture and the first posture need to satisfy a specified positional relationship, wherein the positional relationship may be set as: the distance between the first posture and the second posture does not exceed a preset range, for example, the distance between the first posture and the second posture, that is, the minimum distance between the first electronic device and the second electronic device is less than 5 centimeters.
The power-on electronic device further includes: an information processing unit 1104, configured to receive, through the second communication unit 1101, first prompt information sent by the first electronic device; the first prompt message is used for prompting whether to receive the first message; when the first information is determined to be received, first confirmation information is returned to the first electronic device through the second communication unit 1101.
Preferably, the information processing unit 1104 can be specifically configured to: when the first information comprises one or more files, directly receiving and saving the one or more files;
when the first information comprises one or more applications, directly receiving and installing the one or more applications, or installing the one or more applications after detecting whether the one or more applications are safe;
when the first information, the first file and the first application are included, firstly installing the received first application, and then starting the first application to run or play the first file; or firstly detecting whether a second application capable of running the first file is installed or not according to the type of the first file, if so, not installing the received first application, and prompting a user whether to delete the received first application or not, carrying out subsequent operation according to the selection of the user, and then running or playing the first file by using the second application; if not, installing the received first application and starting the first application to run or playing the first file.
Therefore, according to the scheme, the electronic equipment sends the posture of the electronic equipment to the initiator of the near field communication, and when the initiator determines that the initiator is the receiver for determining the near field communication, the two parties establish the near field communication link and receive the first information sent by the initiator. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
Examples ten,
An information processing system provided in an embodiment of the present invention may be as shown in fig. 12, and include: a first electronic device 1201 and a second electronic device 1202; wherein,
the first electronic device 1201 is configured to acquire a first state parameter; when the detected first state parameter indicates that the first electronic equipment is in a preset first posture, determining that the first electronic equipment is an initiator of near field communication, and controlling the first communication unit to send a connection request to at least one second electronic equipment in a coverage range; receiving response information returned by the at least one second electronic device, and determining that the specific second electronic device is a near field communication receiver when the second state parameter in the response information corresponding to the specific second electronic device indicates that the specific second electronic device is in a preset second posture; controlling the first communication unit to establish a directly connected near field communication link with a second communication unit of the specific second electronic device; sending a first message to the specific second electronic device 1202 over the near field communication link;
the second electronic device 1202 is configured to receive a connection request sent by the first electronic device, and obtain a second state parameter by using the second sensing unit; generating response information of the connection request by using the second state parameter, sending the response information to the first electronic device, and establishing a directly-connected near-field communication link with a first communication unit of the first electronic device through a second communication unit; and receiving first information sent by the first electronic equipment through the near field communication link.
The specific functions of the first electronic device 1201 are the same as those of the electronic devices described in the sixth to eighth embodiments, and are not described herein again;
accordingly, the functions of the second electronic device 1202 are the same as those of the electronic device described in the previous embodiment, and are not described herein again.
According to the scheme, the electronic equipment determines that the electronic equipment is the initiator of near field communication according to the posture of the electronic equipment, determines the receiver of the near field communication according to the received state parameters, and then establishes a near field communication link and transmits the file. Therefore, a series of complicated operations of the user can be simplified when the connection transmission file is established, the operation efficiency is improved, and the use experience of the user is ensured.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus 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 elements or components may be combined, or some features may be omitted. 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.
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 (15)

1. An information processing method is applied to first electronic equipment, the first electronic equipment is provided with a first sensing unit and a first communication unit, and when the first sensing unit is in a working state, the method comprises the following steps:
the first electronic equipment acquires a first state parameter by using a first sensing unit;
when the detected first state parameter indicates that the first electronic equipment is in a preset first posture, determining that the first electronic equipment is an initiator of near field communication, and controlling the first communication unit to send a connection request to at least one second electronic equipment in a coverage range;
receiving response information returned by the at least one second electronic device,
when the second state parameter in the response information corresponding to the specific second electronic equipment is judged to indicate that the specific second electronic equipment is in a preset second posture, determining that the specific second electronic equipment is a near field communication receiver;
controlling the first communication unit to establish a directly connected near field communication link with a second communication unit of the specific second electronic device;
and sending first information to the specific second electronic equipment through the near field communication link.
2. The method of claim 1,
the connection request includes: the first state parameter;
the second posture is the same as or different from the first posture, and satisfies a specified positional relationship with the first posture.
3. The method of claim 1, further comprising:
determining one or more files operated or displayed by a first application currently in an activated state in the first electronic equipment as first information;
or determining an application corresponding to at least one application identifier displayed by the first electronic device as first information;
or, the first application currently in an active state in the first electronic device and at least one file run or displayed by the first application are jointly determined as the first information.
4. The method of claim 1, wherein sending the first information to the specific second electronic device via the nfc link comprises:
sending first prompt information to the second electronic equipment; the first prompt message is used for prompting whether to receive the first message;
and after first confirmation information returned by the specific second electronic equipment is received, the first information is sent to the specific second electronic equipment through the near field communication link.
5. The method of any of claims 1-4, wherein sending the first information to the particular second electronic device via the near field communication link comprises:
displaying second prompt information, wherein the second prompt information is used for prompting whether to actively send the first information;
and when second confirmation information which confirms that the first information is actively sent is received, sending the first information to the specific second electronic equipment through the near field communication link.
6. An information processing method is applied to a second electronic device, wherein the second electronic device is provided with a second sensing unit and a second communication unit, and the method comprises the following steps:
receiving a connection request sent by first electronic equipment, and acquiring a second state parameter by using a second sensing unit;
generating response information of the connection request by using the second state parameter, sending the response information to the first electronic device,
when the first electronic device judges that the second electronic device is in a preset second posture through the second state parameter in the response message, a directly connected near field communication link is established with a first communication unit of the first electronic device through a second communication unit;
and receiving first information sent by the first electronic equipment through the near field communication link.
7. The method of claim 6, wherein before receiving the first information from the first electronic device via the near field communication link, the method further comprises:
receiving first prompt information sent by the first electronic equipment; the first prompt message is used for prompting whether to receive the first message;
and when the first information is determined to be received, returning first confirmation information to the first electronic equipment.
8. An electronic device, the electronic device comprising:
the first sensing unit is used for acquiring a first state parameter of the electronic equipment;
the first judging unit is used for determining that the electronic equipment is an initiator of near field communication when the detected first state parameter indicates that the electronic equipment is in a preset first posture;
the first communication unit is used for sending a connection request to at least one second electronic device in a coverage area when the electronic device is determined to be an initiator of near field communication; receiving response information returned by the at least one second electronic device; according to the control of the second judging unit, a directly connected near field communication link is established with a second communication unit of the specific second electronic equipment;
the second judging unit is used for determining that the specific second electronic equipment is a near field communication receiver when the second state parameter in the response information corresponding to the specific second electronic equipment is judged to indicate that the specific second electronic equipment is in a preset second posture;
and the information processing unit is used for sending first information to the specific second electronic equipment through the near field communication link.
9. The electronic device of claim 8, wherein the connection request comprises: the first state parameter; the second posture is the same as or different from the first posture, and satisfies a specified positional relationship with the first posture.
10. The electronic device according to claim 8, wherein the information processing unit includes:
the information generation subunit is used for determining one or more files operated or displayed by the first application in the activated state as first information;
or determining the application corresponding to the displayed at least one application identifier as the first information;
or, the first application which is currently in an activated state and at least one file which is run or displayed by the first application are jointly determined as the first information.
11. The electronic device according to claim 9, wherein the information processing unit further includes:
the first prompting subunit is used for sending first prompting information to the second electronic equipment; the first prompt message is used for prompting whether to receive the first message;
and the information sending subunit is configured to send the first information to the specific second electronic device through the near field communication link after receiving first confirmation information returned by the specific second electronic device.
12. The electronic device according to claim 11, wherein the information processing unit further includes: the second prompting subunit is used for displaying second prompting information, and the second prompting information is used for prompting whether to actively send the first information;
correspondingly, the information sending subunit is further configured to send the first information to the specific second electronic device through the near field communication link when receiving second confirmation information that determines to actively send the first information.
13. An electronic device, the electronic device comprising:
the second communication unit is used for receiving a connection request sent by the first electronic equipment; when the first electronic equipment judges that the second electronic equipment is in a preset second posture through a second state parameter in the response information, a directly connected near field communication link is established with a first communication unit of the first electronic equipment, and first information sent by the first electronic equipment is received through the near field communication link;
the second sensing unit is used for acquiring a second state parameter;
and the response unit is used for generating response information of the connection request by using the second state parameter and sending the response information to the first electronic equipment through the second communication unit.
14. The electronic device of claim 13, further comprising: the information processing unit is used for receiving first prompt information sent by the first electronic equipment through the second communication unit; the first prompt message is used for prompting whether to receive the first message; and when the first information is determined to be received, returning first confirmation information to the first electronic equipment through the second communication unit.
15. An information handling system, the system comprising: a first electronic device and a second electronic device; wherein,
the first electronic device is the electronic device of any of the preceding claims 8-12;
the second electronic device is the electronic device of claim 13 or 14 above.
CN201410129451.5A 2014-04-01 2014-04-01 Information processing method, electronic device and system Active CN103986502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410129451.5A CN103986502B (en) 2014-04-01 2014-04-01 Information processing method, electronic device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410129451.5A CN103986502B (en) 2014-04-01 2014-04-01 Information processing method, electronic device and system

Publications (2)

Publication Number Publication Date
CN103986502A CN103986502A (en) 2014-08-13
CN103986502B true CN103986502B (en) 2017-01-25

Family

ID=51278335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410129451.5A Active CN103986502B (en) 2014-04-01 2014-04-01 Information processing method, electronic device and system

Country Status (1)

Country Link
CN (1) CN103986502B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469656B (en) * 2014-08-28 2018-10-26 宇龙计算机通信科技(深圳)有限公司 Data transmission method based on NFC and system
CN104168045B (en) * 2014-08-29 2017-06-16 宇龙计算机通信科技(深圳)有限公司 Data transmission method and data transmission device
CN104536314B (en) * 2014-12-04 2017-10-20 潍坊歌尔电子有限公司 Start control circuit, method and electronic equipment based on near-field communication NFC
CN105101465B (en) * 2015-06-30 2019-01-04 广东美的制冷设备有限公司 Wireless network configuration method and radio network configuration system
CN105792105B (en) * 2016-02-29 2022-05-31 联想(北京)有限公司 Data transmission method and electronic equipment
CN107086884A (en) * 2017-03-01 2017-08-22 东莞宇龙通信科技有限公司 A kind of data transmission method based on NFC, device and mobile terminal
CN107659919B (en) * 2017-08-28 2021-07-16 联想(北京)有限公司 Communication connection method and electronic equipment
US10523318B2 (en) * 2018-05-30 2019-12-31 Apple Inc. Device awareness in line-of-sight optical communication systems
US11762193B2 (en) 2018-08-17 2023-09-19 Apple Inc. Optical tracking system
US11639998B2 (en) 2018-09-28 2023-05-02 Apple Inc. Optical communication system for position-finding of a portable electronic device in free space

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023540A (en) * 2012-12-28 2013-04-03 广东欧珀移动通信有限公司 Method and device for transferring files by Bluetooth
CN103023542A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 Document transmission method and system of intelligent mobile communication terminals
CN103684547A (en) * 2012-09-14 2014-03-26 三星电子株式会社 Apparatus and method for providing data transmission/reception in a terminal using near field communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684547A (en) * 2012-09-14 2014-03-26 三星电子株式会社 Apparatus and method for providing data transmission/reception in a terminal using near field communication
CN103023542A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 Document transmission method and system of intelligent mobile communication terminals
CN103023540A (en) * 2012-12-28 2013-04-03 广东欧珀移动通信有限公司 Method and device for transferring files by Bluetooth

Also Published As

Publication number Publication date
CN103986502A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN103986502B (en) Information processing method, electronic device and system
CN110139139B (en) Service processing method, terminal, server and storage medium
CN105024984B (en) Authority setting method, apparatus and system
CN106534072B (en) user information authorization method, device, equipment and system
CN108370599B (en) Information processing method, computer-readable storage medium, and information processing system
CN109921976B (en) Group-based communication control method, device and storage medium
CN104954149B (en) The method, apparatus and system of data sharing are carried out in Web conference
CN106533711B (en) Multimedia conference method and device
CN106776124B (en) Data backup method and device
EP2838309A1 (en) Method, device and system for establishing data connection
CN107332976B (en) Karaoke method, device, equipment and system
CN104980455B (en) A kind of multiple terminals method of data synchronization based on cloud storage, device and system
CN106973330B (en) Screen live broadcasting method, device and system
CN104702665A (en) Information sharing method and information sharing device
CN108156329A (en) Method, mobile terminal and the computer readable storage medium that message is sent
KR20190057358A (en) A downlink control channel transmission method, a receiving network element and an originating network element
CN110730424A (en) Positioning method, device and system
CN105227598B (en) Resource sharing method, device and system based on cloud storage
CN106209608B (en) Method and device for distinguishing and synchronizing chat information
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN111800867A (en) Feedback method and terminal equipment for semi-persistent scheduling physical downlink shared channel
CN107872791B (en) Access point connection method and device
CN115174418A (en) Communication environment safety early warning method and device, electronic equipment and storage medium
CN105227627B (en) A kind of playback equipment packet control process and user terminal
CN105634882B (en) Network access equipment sharing method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant