CN104811282B - Communication method and electronic equipment - Google Patents

Communication method and electronic equipment Download PDF

Info

Publication number
CN104811282B
CN104811282B CN201510154738.8A CN201510154738A CN104811282B CN 104811282 B CN104811282 B CN 104811282B CN 201510154738 A CN201510154738 A CN 201510154738A CN 104811282 B CN104811282 B CN 104811282B
Authority
CN
China
Prior art keywords
electronic device
signal
antenna
determining
detection
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
CN201510154738.8A
Other languages
Chinese (zh)
Other versions
CN104811282A (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 CN201510154738.8A priority Critical patent/CN104811282B/en
Publication of CN104811282A publication Critical patent/CN104811282A/en
Application granted granted Critical
Publication of CN104811282B publication Critical patent/CN104811282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a communication method, which is used for solving the technical problem of poor communication quality of electronic equipment in the prior art, and comprises the following steps: detecting second electronic equipment within a preset area range; determining a target antenna from M antennas of the first electronic device, wherein M is an integer greater than 1; communicating with the second electronic device through the target antenna. The invention also discloses corresponding electronic equipment.

Description

Communication method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and an electronic device.
Background
With the rapid development of communication technology and electronic product market, more and more electronic devices can communicate with other electronic devices in a wireless communication manner, so as to improve the practicability of the electronic devices. Generally, electronic devices generally perform wireless communication by generating an electromagnetic field through a built-in antenna and performing energy interaction with an antenna of a counterpart electronic device through the electromagnetic field to complete information transmission.
Now, in order to facilitate the use by the user, there is provided an electronic apparatus having a large-sized display screen, in which a plurality of antennas for performing the same kind of wireless communication are generally provided, by which the electronic apparatus can perform wireless communication with other electronic apparatuses having different positions or distances.
For example, the electronic apparatus 1 can wirelessly communicate with the plurality of electronic apparatuses 2 via a plurality of built-in antennas. However, when the electronic device 1 wirelessly communicates with the electronic device 2 through a built-in antenna, the electronic device 1 generally performs communication by energy interaction with the antenna in the electronic device 2 through the antenna (referred to as the antenna 1) in the electronic device 1, which detects the electronic device 2, without considering that the performance of the antenna 1 is not superior for the electronic device 2, and if the antenna 1 itself is not suitable for communicating with the electronic device 2, the wireless communication quality between the electronic device 1 and the electronic device 2 may be poor.
Disclosure of Invention
The embodiment of the invention provides a communication method and electronic equipment, which are used for solving the technical problem of poor wireless communication quality between electronic equipment.
In one aspect, an embodiment of the present invention provides a communication method, including:
detecting second electronic equipment within a preset area range;
determining a target antenna from M antennas of the first electronic device, wherein M is an integer greater than 1;
communicating with the second electronic device through the target antenna.
Optionally, the detecting the second electronic device within the preset range specifically includes:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is used for indicating the signal strength of the detection signal received by the electronic equipment.
Optionally, determining a target antenna from M antennas of the first electronic device specifically includes:
for each of the remaining antennas except the first antenna, respectively performing the following steps: sending the detection signal to the second electronic device, and receiving a feedback signal which is emitted by the second electronic device and corresponds to the received detection signal;
obtaining K feedback signals; wherein the K feedback signals are composed of the first feedback signal and at least one individual feedback signal, the at least one individual feedback signal respectively corresponds to part or all of the remaining M-1 antennas except the first antenna, and K is an integer greater than 1;
and determining the target antenna from the K antennas according to the K feedback signals.
Optionally, determining the target antenna from the M antennas according to the K feedback signals specifically includes:
determining K signal strengths corresponding to the K feedback signals;
determining N signal strengths from the K signal strengths; wherein each of the N signal strengths has a value greater than a preset signal strength threshold, and N is an integer less than or equal to K;
determining the target antenna from N antennas of the M antennas corresponding to the N signal strengths.
Optionally, determining the target antenna from N antennas corresponding to the N signal strengths among the N antennas specifically includes:
determining the signal intensity with the maximum value from the N signal intensities;
and determining the antenna corresponding to the determined signal strength with the maximum value as the target antenna.
Optionally, determining the target antenna from the M antennas according to the K feedback signals specifically includes:
determining K transmission distances corresponding to the K feedback signals; wherein the transmission distance is a distance from the detection signal to the second electronic device;
determining N transmission distances from the K transmission distances; wherein, the value of each of the N transmission distances is smaller than a preset distance threshold, and N is an integer less than or equal to K;
determining the target antenna from N antennas corresponding to the N transmission distances from the M antennas.
Optionally, determining the target antenna from N antennas corresponding to the N transmission distances among the M antennas specifically includes:
determining the transmission distance with the minimum value from the N transmission distances;
and determining the antenna corresponding to the determined transmission distance with the minimum value as the target antenna.
Optionally, after determining K transmission distances corresponding to the K feedback signals, the method further includes:
and determining the spatial position of the second electronic equipment according to at least two transmission distances in the K transmission distances and the positions of at least two antennas corresponding to the at least two transmission distances.
Optionally, after determining the spatial location of the second electronic device, the method further includes:
determining a first display area corresponding to the spatial position on a display unit of the first electronic device; wherein the first display area is used for displaying information related to the second electronic device.
Optionally, the detecting the second electronic device within the preset area range specifically includes:
detecting the second electronic equipment within the preset area range in a first detection mode; or
And detecting the second electronic equipment within the preset area range in a second detection mode.
Optionally, detecting the second electronic device within the preset area range in a first detection manner specifically includes:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is a received signal strength indicating signal determined by the electronic equipment according to the signal strength of the received detection signal;
detecting the second electronic device within the preset area range through a second detection mode, specifically including:
transmitting a request signal through the first antenna; the request signal is a signal obtained by the first electronic device after at least performing modulation processing on first information to be sent;
if the first antenna receives a response signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the response signal is a signal obtained by at least demodulating the request signal and then modulating the second information in the second electronic device and sending the second information after the electronic device receives the request signal.
Optionally, the first detection duration is different from the second detection duration; the first detection duration is duration consumed by the first detection mode, and the second detection duration is duration consumed by the second detection mode.
On the other hand, an embodiment of the present invention further provides an electronic device, including:
a housing;
m antennas;
the processor is arranged in the shell and used for detecting the second electronic equipment within a preset area range; determining a target antenna from the M antennas, wherein M is an integer greater than 1; and communicating with the second electronic device through the target antenna.
Optionally, the electronic device further includes a display device disposed on the housing;
the M antennas are arranged in the shell in an array manner;
the plane where the display device is located is a first plane, the plane where the M antennas are located is a second plane, and the display direction of the display area of the display device is perpendicular to both the first plane and the second plane.
Optionally, the display device is configured to provide a first display area; the first display area is an area determined according to the spatial position of the second electronic device and the position of the target antenna on the electronic device, and the first display area is used for displaying information related to the second electronic device.
On the other hand, an embodiment of the present invention further provides an electronic device, including:
the detection module is used for detecting second electronic equipment within a preset area range;
a determining module, configured to determine a target antenna from M antennas of the electronic device, where M is an integer greater than 1;
a communication module for communicating with the second electronic device through the target antenna.
In the embodiment of the present invention, in a process of wirelessly communicating between a first electronic device including multiple antennas and a second electronic device, the first electronic device may select a target antenna from the multiple antennas to wirelessly communicate with the second electronic device, where the target antenna is not necessarily an antenna that detects the second electronic device, and may be, for example, an antenna with better performance for the second electronic device. Through the screening mode, the communication quality of the first electronic device and the second electronic device can be improved, and the communication requirements of the first electronic device and the second electronic device can be met as much as possible. In other words, in the embodiment of the present invention, the characteristic that the first electronic device is provided with multiple antennas at the same time is fully utilized, and a high-quality and high-efficiency wireless communication mode is provided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a main flow chart of a communication method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a first electronic device providing a first display area for a second electronic device according to a spatial location of the second electronic device in an embodiment of the present invention;
FIG. 3 is a schematic diagram of a main structure of an electronic device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an electronic device further including a display device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of providing a first display area through a display device according to an embodiment of the present invention;
fig. 6 is a main structural block diagram of an electronic device in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a communication method, which comprises the following steps: detecting second electronic equipment within a preset area range; determining a target antenna from M antennas of the first electronic device, wherein M is an integer greater than 1; communicating with the second electronic device through the target antenna.
In the embodiment of the present invention, in a process of wirelessly communicating between a first electronic device including multiple antennas and a second electronic device, the first electronic device may select a target antenna from the multiple antennas to wirelessly communicate with the second electronic device, where the target antenna is not necessarily an antenna that detects the second electronic device, and may be, for example, an antenna with better performance for the second electronic device. Through the screening mode, the communication quality of the first electronic device and the second electronic device can be improved, and the communication requirements of the first electronic device and the second electronic device can be met as much as possible. In other words, in the embodiment of the present invention, the characteristic that the first electronic device is provided with multiple antennas at the same time is fully utilized, and a high-quality and high-efficiency wireless communication mode is provided.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The embodiments and features of the embodiments of the present invention may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
In this embodiment of the present invention, the first electronic device may refer to a device having a large-size display unit, such as a tablet computer (PAD) having a larger-size display unit, and the second electronic device may refer to a PAD, a mobile phone, or another electronic device having the same short-range communication capability as the first electronic device, which is not limited in particular.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 1, an embodiment of the present invention provides a communication method, where the communication method in the embodiment of the present invention may be applied to a first electronic device, that is, an execution subject of each step in the communication method may be the first electronic device. The main flow of the communication method in the embodiment of the present invention is described as follows:
step 101: and detecting the second electronic equipment within the range of the preset area.
The first electronic device in the embodiment of the present invention may refer to an electronic device with a short-range communication capability, that is, the first electronic device may be capable of communicating with an opposite-end electronic device in a short-range communication manner, and when the first electronic device performs short-range communication with the opposite-end electronic device, the first electronic device is implemented by using at least two antennas disposed in the first electronic device.
The short-range communication method is a communication method in which both parties of communication transmission and reception can transmit information by radio waves and the effective distance of information transmission is limited to a short range, and the preset area range in the embodiment of the present invention can be understood as the effective range of information transmission determined by the effective distance.
In the specific implementation process, the short-range communication method may be, for example, a Near Field Communication (NFC) method, a Bluetooth (Bluetooth) communication method, a ZigBee (ZigBee) communication method, a Wi-Fi (Wi-Fi) communication method, or the like. In addition, the effective distance for information transmission is generally different for different types of short-range communication methods, for example, for an NFC communication method, the effective distance for information transmission is generally 10cm, which is not limited in the present invention.
In the embodiment of the present invention, due to the requirement of the communication mode for the effective distance of information transmission, before the first electronic device is to perform, for example, NFC communication with the peer electronic device, it is generally detected whether the peer electronic device exists within a preset area, and if the peer electronic device is detected, it is determined that the detected peer electronic device is also an electronic device with NFC communication capability, and the detected peer electronic device can be determined as the second electronic device.
In the embodiment of the present invention, the following detection method may be adopted to detect the second electronic device within the preset range:
the detecting the second electronic device within the preset range may specifically include:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is used for indicating the signal strength of the detection signal received by the electronic equipment.
In this embodiment of the present invention, the antenna array in the first electronic device may be electrically connected to the controller in the first electronic device through the one-out-of-multiple switch, and taking the example that the short-distance wireless communication performed by the first electronic device is NFC communication, the controller may be an NFC controller, that is, an NFC chip, in the first electronic device. The multiple-selection switch can be used for connecting the controller with one antenna (called as a first antenna) in the antenna array at the same time, namely, only one antenna in the first electronic device works at the same time, and the first antenna stops working after being disconnected with the multiple-selection switch, so that the interference caused by the simultaneous working of multiple antennas can be avoided to the maximum extent. In addition, the controller may be configured to provide operating voltages to the antennas in the antenna array to control the first electronic device to perform short-range communication via the first antenna, and may be further configured to process signals transmitted and received via the antennas to obtain corresponding communication information.
That is to say, in the embodiment of the present invention, the first antenna transmits the probe signal and detects whether the feedback signal for the probe signal is received, so as to detect the existence of the peer electronic device, and since the probe signal can only be transmitted within the preset area, if the peer electronic device capable of receiving the probe signal exists within the preset area, the peer electronic device sends the first feedback signal indicating the signal strength of the received probe signal to the first electronic device after receiving the probe signal.
In a specific implementation process, the detection signal may carry the device identification information of the first electronic device, and the first feedback signal may carry the device identification information of the second electronic device, so that the pertinence and accuracy of the signal in the transmission process may be ensured.
In addition, when a plurality of opposite-end electronic devices exist in the preset area range at the same time, the recognition rate of the opposite-end electronic devices can be improved by setting some anti-collision algorithms, and channel interference and collision caused when the plurality of opposite-end electronic devices transmit feedback signals to the first antenna at the same time can be avoided to the greatest extent. For example, the collision avoidance algorithm that can be generally used is a query tree algorithm, a binary search algorithm, an ALOHA algorithm, a collision tree algorithm, etc., and in the specific implementation process, the specific collision avoidance algorithm that is used is not specifically limited.
In addition, the difference between the signal strength of the probe signal transmitted by the first antenna and the probe signal received by the second electronic device may be caused by transmission loss of the signal during transmission, and the transmission loss may include loss caused by factors such as signal transmission distance, signal transmission medium, and signal transmission path.
In the embodiment of the invention, the detection signal transmitted by the first antenna only has a detection function, the detection signal can only be used for indicating the signal intensity of the detection signal without carrying other information, and after the second electronic equipment receives the detection signal, the signal intensity of the received detection signal can be determined in a simple mode without other processing such as analysis and the like. Similarly, after the second electronic device determines the signal strength of the received detection signal, the second electronic device may also transmit the first feedback signal to the first antenna in a similar processing manner, that is, the process of determining the second electronic device through the first antenna is simpler, and since it is not necessary to process information, more time may be saved, thereby shortening the time of the detection process, improving the detection efficiency, and for the electronic device, since it is not necessary to process information, the processing load of the electronic device may also be reduced.
In addition, in addition to the above detection manner, the first electronic device may also have other manners for detecting the second electronic device within the preset area, that is, optionally, in the embodiment of the present invention, the detecting the second electronic device within the preset area may specifically be:
detecting the second electronic equipment within the preset area range in a first detection mode; or
And detecting the second electronic equipment within the preset area range in a second detection mode.
That is, in the embodiment of the present invention, the second electronic device may be detected within the preset area range through at least two detection manners (i.e., the first detection manner and the second detection manner). In a specific implementation process, what kind of method is specifically adopted by the first electronic device to perform detection may be randomly selected by the first electronic device, or may be selected by the user, and the present invention is not particularly limited. The following will specifically explain two detection methods listed in the examples of the present invention.
Optionally, in this embodiment of the present invention, detecting the second electronic device within the preset area range through a first detection method specifically includes:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is a received signal strength indication signal determined by the electronic device according to the signal strength of the received detection signal.
That is, the first detection method in the embodiment of the present invention is to determine the existence of the peer electronic device by detecting whether the feedback signal for the probe signal is received, and such a detection method has a relatively fast detection process and a relatively high detection efficiency.
Optionally, in this embodiment of the present invention, detecting the second electronic device within the preset area range through a second detection method specifically includes:
transmitting a request signal through the first antenna; the request signal is a signal obtained by the first electronic device after at least performing modulation processing on first information to be sent;
if the first antenna receives a response signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the response signal is a signal obtained by at least demodulating the request signal and then modulating the second information in the second electronic device and sending the second information after the electronic device receives the request signal.
That is, the second detection mode is a mode in which a specific request signal is transmitted through the first antenna and whether a response signal corresponding to the request signal is received is detected to determine the presence of the second electronic device within the preset area.
In the second detection mode, at the beginning of detection, that is, after the first antenna is powered on, an electromagnetic field is generated, which may be referred to as an operating field of the first antenna, and an effective operating range of the operating field may be understood as a preset area range in the embodiment of the present invention, then a request command is generated by the controller, and a request signal is generated and transmitted by the first antenna according to the request command, and the request signal may be received by the peer electronic device in the operating field, and after receiving the request signal, the peer electronic device may respond, that is, the peer electronic device may generate a response signal according to the received request signal, specifically, the peer electronic device may generate the response signal by load modulation, for example, by Amplitude Shift Keying (ASK), and then, sending the response signal to the transmitting terminal (i.e., the first antenna) of the request signal, after the first antenna receives the response signal, determining that the opposite-terminal electronic device capable of receiving the request signal exists within the preset area range, and determining the opposite-terminal electronic device sending the response signal as the second electronic device.
In the detection process, the first antenna processes the first information by, for example, modulation, encoding, encryption, etc. to generate a corresponding request signal, and after receiving the request signal, the second electronic device generally needs to analyze the request signal by, for example, demodulation, decoding, decryption, etc. to obtain the specific information content of the request signal, and in the process of generating the response signal according to the request signal, at least modulation, etc. is performed.
In addition, in the specific implementation process, there may be a plurality of peer electronic devices existing in the working field of the first antenna at the same time, and the collision avoidance algorithm listed in the first detection method may also be adopted to avoid the problems of channel contention and signal interference between the plurality of peer electronic devices as much as possible, which is not described herein again.
Optionally, in the embodiment of the present invention, the first detection duration is different from the second detection duration; the first detection duration is duration consumed by the first detection mode, and the second detection duration is duration consumed by the second detection mode.
That is, the detection duration consumed by the two detection methods may be different due to different specific processes of detection. For example, since the detection process of the first detection method is relatively simple, the first detection time duration may be shorter than the second detection time duration, and the detection efficiency is relatively high.
In addition, the second detection mode is more precise in detection process and higher in detection accuracy, and in the specific implementation process, which detection mode is specifically adopted can be specifically set according to the degree of the bias of the user on the detection efficiency and the detection accuracy.
Step 102: a target antenna is determined from M antennas of the first electronic device, M being an integer greater than 1.
That is to say, after determining second electronic equipment, in order to communicate with second electronic equipment with better communication quality and efficiency, first electronic equipment can select the target antenna from a plurality of antennas, and then communicates with second electronic equipment through the target antenna, can make full use of the characteristics that are provided with a plurality of antennas simultaneously in first electronic equipment like this, provides a high quality and efficient communication mode.
In a specific implementation process, the target antenna may be screened from the M antennas in the following manner:
optionally, in this embodiment of the present invention, determining the target antenna from the M antennas of the first electronic device specifically includes:
for each of the remaining antennas except the first antenna, respectively performing the following steps: sending the detection signal to the second electronic device, and receiving a feedback signal which is emitted by the second electronic device and corresponds to the received detection signal;
obtaining K feedback signals; the K feedback signals consist of the first feedback signal and at least one feedback signal, the at least one feedback signal respectively corresponds to part or all of the M-1 antennas except the first antenna, and K is an integer greater than 1;
and determining the target antenna from the M antennas according to the K feedback signals.
That is, after the second electronic device is detected within the preset area, in order to screen out the target antenna from the M antennas, the probe signals may be sent to the second electronic device through each antenna except the first antenna among the M antennas, and in order to ensure the accuracy of the determination result and reduce the difference, the signal strengths of the probe signals transmitted by all the antennas may be set to be the same, that is, the signal strength is the first signal strength regardless of which antenna transmits the probe signal.
Since the M antennas are disposed at different positions in the first electronic device, when a probe signal is transmitted to the second electronic device detected by the first antenna through another antenna except the first antenna, the second electronic device may not be within the predetermined area corresponding to the antenna, therefore, the detection signal transmitted by the antenna cannot be received, and naturally, the corresponding feedback signal cannot be generated according to the detection signal transmitted by the antenna, therefore, after the probe signal is transmitted to the second electronic device through each of the M antennas except the first antenna, including the first feedback signal, the first electronic device may obtain a total number of feedback signals that is equal to or less than M, that is, K in the embodiment of the present invention may be equal to or smaller than M, which is determined according to the position where each antenna is disposed in the electronic device and the specific preset area range.
Further, after obtaining the K feedback signals, a target antenna may be selected from the M antennas according to the K feedback signals. The specific manner of selection may be varied and two are listed below for illustration:
the first mode is as follows:
optionally, in this embodiment of the present invention, determining the target antenna from the M antennas according to the K feedback signals specifically may include:
determining K signal strengths corresponding to the K feedback signals;
determining N signal strengths from the K signal strengths; wherein each of the N signal strengths has a value greater than a preset signal strength threshold, and N is an integer less than or equal to K;
determining the target antenna from N antennas of the M antennas corresponding to the N signal strengths.
After K feedback signals are obtained, it is naturally possible to determine K signal strengths corresponding to the K feedback signals and an antenna corresponding to each signal strength.
Because the feedback signal is used to indicate the signal strength of the probe signal received by the second electronic device, and generally, the stronger the signal strength is, the better the communication quality may be, if the signal strength exceeds a signal strength reference, the performance of the corresponding antenna may be better for the second electronic device, and naturally, the communication quality when communicating with the second electronic device may be better, so that the higher communication requirements of the first electronic device and the second electronic device can be met.
Then, in the embodiment of the present invention, the signal strengths of the K feedback signals may be filtered by setting a signal strength reference (i.e., a preset signal strength threshold), so as to obtain an antenna with better performance for the second electronic device, and the preset signal strength threshold may be determined comprehensively according to factors such as a specific communication mode performed by the first electronic device, a use loss condition of the first electronic device, and a requirement of user communication quality, which is not limited in the present invention.
For example, taking K as 4 as an example, the corresponding antennas may be a first antenna, a second antenna, a third antenna, and a fourth antenna, the corresponding signal strengths may be 10dBm, 4dBm, 6.8dBm, and 13.6dBm, respectively, and the preset signal strength threshold is 8dBm, it can be seen that 10dBm and 13.6dBm are both greater than 8dBm, which indicates that the antenna determined by the first method is two antennas, namely, the first antenna and the fourth antenna, i.e., the N value is 2.
Further, after the first antenna and the fourth antenna are determined in the first manner, which antenna is specifically determined as a target antenna, in a specific implementation process, in order to meet a quality requirement of communication, one of the two antennas may be selected as the target antenna, or in order to optimize the quality of communication, optionally, in an embodiment of the present invention, determining the target antenna from N antennas corresponding to the N signal strengths among the M antennas may specifically include:
determining the signal intensity with the maximum value from the N signal intensities;
and determining the antenna corresponding to the determined signal strength with the maximum value as the target antenna.
That is to say, the antenna corresponding to the maximum signal strength value may be determined as the target antenna, so that it may be ensured that the first electronic device communicates with the second electronic device through the antenna with the optimal performance relative to the second electronic device when communicating with the second electronic device, and thus the best quality of communication may be ensured as much as possible.
The second mode is as follows:
optionally, in this embodiment of the present invention, determining the target antenna from the M antennas according to the K feedback signals specifically may include:
determining K transmission distances corresponding to the K feedback signals; wherein the transmission distance is a distance from the detection signal to the second electronic device;
determining N transmission distances from the K transmission distances; wherein, the value of each of the N transmission distances is smaller than a preset distance threshold, and N is an integer less than or equal to K;
determining the target antenna from N antennas corresponding to the N transmission distances from the M antennas.
Since the feedback Signal is used to indicate the Signal strength of the probe Signal Received by the second electronic device, that is, the feedback Signal can be understood as the Received Signal Strength Indication (RSSI) of the second electronic device, the K transmission distances corresponding to the K feedback signals can be determined according to the empirical conversion formula of the RRSI and the transmission distances, that is, since the change of the Signal strength of the probe Signal during transmission from the antenna to the second electronic device may be mainly caused by the transmission distances, the transmission distances can be approximately determined by the difference between the Signal strengths of the probe Signal and the feedback Signal, and the error of the result when the transmission distance is determined by the RRSI is relatively small, while the communication method in the embodiment of the present invention is just a short-distance communication method, so the error of the result determined by this method is relatively small, the accuracy is high.
That is, after K feedback signals are obtained, K transmission distances corresponding to the K feedback signals and an antenna corresponding to each of the K signal strengths can be determined.
Generally, the shorter the transmission distance, the smaller the loss, the higher the quality of the communication, and the shorter the signal transmission time due to the shorter distance, the higher the speed and efficiency of the communication. If the transmission distance is smaller than the preset distance threshold, it is indicated that the performance of the corresponding antenna is better for the second electronic device, and the communication quality is better when the antenna is naturally communicated with the second electronic device, so that the higher communication requirement of the first electronic device can be met. In addition, the preset distance threshold may be determined comprehensively according to factors such as a specific communication mode performed by the first electronic device, a usage loss condition of the first electronic device, and a requirement of user communication quality, and the present invention is not limited specifically.
For example, taking K as 4 as an example, the corresponding antennas may be a first antenna, a second antenna, a third antenna and a fourth antenna, the corresponding transmission distances may be 6cm, 17cm, 3cm and 9cm, and the preset distance threshold is 10cm, it can be seen that 6cm, 3cm and 9cm are all less than 10cm, it indicates that the antennas determined by the second way are three antennas, namely, the first antenna, the third antenna and the fourth antenna, and that N is 3.
Further, after the first antenna, the third antenna, and the fourth antenna are determined in the second manner, specifically, which antenna is determined as the target antenna, in a specific implementation process, one of the three antennas may be selected as the target antenna, or in order to maximize a communication rate, optionally, in an embodiment of the present invention, the determining the target antenna from N antennas corresponding to the N transmission distances among the M antennas may specifically include:
determining the transmission distance with the minimum value from the N transmission distances;
and determining the antenna corresponding to the determined transmission distance with the minimum value as the target antenna.
That is to say, the antenna corresponding to the minimum transmission distance value may be determined as the target antenna, so that it may be ensured that the first electronic device communicates with the second electronic device by using the antenna with the highest transmission efficiency compared to the second electronic device when communicating with the second electronic device, and thus, the communication efficiency may be improved on the premise of ensuring the better communication quality as much as possible.
In addition, the applicant just lists two ways for description, and it should be clear to those skilled in the art that the present application is only exemplified by the above two ways, and other more possible ways are not listed, and all methods capable of determining the target antenna from M antennas according to the K feedback signals are within the protection scope of the present application.
Optionally, in this embodiment of the present invention, after determining K transmission distances corresponding to the K feedback signals, the method may further include:
and determining the spatial position of the second electronic equipment according to at least two transmission distances in the K transmission distances and the positions of at least two antennas corresponding to the at least two transmission distances.
That is to say, after K transmission distances corresponding to K feedback signals and K antennas corresponding to the K feedback signals are obtained, the first electronic device can determine the accurate position of the second electronic device in the physical space by setting the K transmission distances and the corresponding antennas in the first electronic device, and can perform accurate positioning on the second electronic device, so that the relative position relationship between the second electronic device and the first electronic device can be determined.
The specific use of which of the K distances and the corresponding antenna positions to determine the spatial position of the second electronic device may be determined by the specific positioning method to be taken. In a specific implementation process, for example, a dual-distance positioning mode, a triple-distance positioning mode, a multi-distance positioning mode, or other positioning modes may be adopted to determine the spatial position of the second electronic device, which positioning mode is specifically adopted may be comprehensively considered according to the positioning accuracy, the positioning duration requirement, or other factors, and the present invention is not limited specifically.
Optionally, in this embodiment of the present invention, after determining the spatial position of the second electronic device, the method may further include:
determining a first display area corresponding to the spatial position on a display unit of the first electronic device; wherein the first display area is used for displaying information related to the second electronic device.
After the spatial position of the second electronic device is determined, the first electronic device can approximately determine the specific position of a user using or carrying the second electronic device, and further can determine the relative position between the user and the display unit of the first electronic device, so that the user can also see corresponding display content nearby through the display unit of the first electronic device or can conveniently operate the display unit, the first electronic device can determine a corresponding first display area for the user on the display unit, and thus the user can directly see the display content on the first display area or directly operate in the first display area, so that information interaction is rapidly and directly performed with the first electronic device, and the use experience of the user is improved.
And the first display area can be used for displaying information related to the second electronic device, because the second electronic device performs energy interaction with the target antenna in the first electronic device in a short-distance communication mode to complete information interaction, then, the second electronic device can directly send some stored information to the first display area for displaying, or can directly project the display interface of the second electronic device into the first display area, so that a user can conveniently and directly view and share the information. In the embodiment of the invention, the first electronic device can be an electronic device with a larger display unit, and the display unit can have a multi-touch function, so that multiple users can watch or operate the first electronic device conveniently at the same time, especially for some large-screen game devices, the users can share information in real time, and the use experience of the users is improved.
For example, referring to fig. 2, taking the first electronic device as a large-screen game device and the second electronic device as a mobile phone as an example, assuming that the large-screen game device determines that the spatial position of the mobile phone is located at the upper left corner of the mobile phone, the large-screen game device may approximately determine that a user exists near the edge of the upper left corner of the mobile phone, and then may provide a first display area 200 for the user of the second electronic device in the upper left corner area of the display unit, so that the user may conveniently watch or operate nearby, and the usage habit of the user is matched as much as possible, thereby enhancing the usage experience of the user. In a specific implementation process, a specific form of the first display area 200 may not be limited, and fig. 2 illustrates an example in which the first display area 200 is rectangular.
Step 103: communicating with the second electronic device through the target antenna.
That is, the first electronic device communicates with the second electronic device through the determined target antenna.
In the embodiment of the present invention, in a process of wirelessly communicating between a first electronic device including multiple antennas and a second electronic device, the first electronic device may select a target antenna from the multiple antennas to wirelessly communicate with the second electronic device, where the target antenna is not necessarily an antenna that detects the second electronic device, and may be, for example, an antenna with better performance for the second electronic device. Through the screening mode, the communication quality of the first electronic device and the second electronic device can be improved, and the communication requirements of the first electronic device and the second electronic device can be met as much as possible. In other words, in the embodiment of the present invention, the characteristic that the first electronic device is provided with multiple antennas at the same time is fully utilized, and a high-quality and high-efficiency wireless communication mode is provided.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present invention provides an electronic device, including:
a housing 301;
m antennas 302;
the processor 303 is arranged in the housing 301 and is used for detecting the second electronic device within a preset area range; determining a target antenna from M antennas 302, M being an integer greater than 1; and communicating with the second electronic device through a target antenna.
In the present invention, M antennas 302 may be disposed inside the casing 301, where M is an integer greater than 1, that is, the electronic device includes at least 2 antennas 302, and fig. 3 illustrates 6 antennas 302, and in a specific implementation process, the specific form of the antennas 302 is not specifically limited in the present invention, and may be a PIFA (PIFA), a Monopole (Monopole) antenna, an Inverted F Antenna (IFA), a Loop (Loop) antenna, or other forms of antennas, for example.
The processor 303 may be electrically connected to the M antennas 302, and in a specific implementation process, the processor 303 and the M antennas 302 may be connected by a one-out-of-multiple switch, where the one-out-of-multiple switch is used to control the processor 303 to be connected to only one of the M antennas 302 at the same time, so as to avoid interference caused when the multiple antennas 302 operate simultaneously as much as possible.
Optionally, referring to fig. 4, in the embodiment of the present invention, the electronic device may further include a display device 400 disposed on the housing 301;
the M antennas 302 are arranged in an array in the housing 301;
the plane of the display device 400 is a first plane 401, the plane of the M antennas 302 is a second plane 402 (as shown by the dashed line in fig. 4), and the display direction of the display area of the display device 400 (as shown by the arrow in fig. 4) is perpendicular to both the first plane 401 and the second plane 402.
In a specific implementation process, the display device 400 may refer to a Light Emitting Diode (LED) display screen, an Organic Light Emitting Diode (OLED) display screen, and the like.
When the electronic device in the embodiment of the present invention is used, it may be placed at an angle as shown in fig. 4, so that by setting the display direction of the display area of the display apparatus 400 to be a direction perpendicular to the first plane 401 and the second plane 402, a user may conveniently view at a relatively intuitive angle.
Optionally, referring to fig. 5, in the embodiment of the present invention, the display device 400 may be used to provide the first display area 200; wherein the first display area 200 is an area determined according to the spatial position of the second electronic device and the position of the target antenna on the electronic device, and the first display area 200 is used for displaying information related to the second electronic device.
The electronic device can approximately determine the specific position of a user using or carrying the second electronic device according to the spatial position of the second electronic device, and further can determine the relative position between the user and the display device 400, so that the user can also see corresponding display content through the display device 400 or can conveniently operate the display device 400, the first display area 200 can be provided for the user through the display device 400, and thus, the user can conveniently and intuitively see the display content on the first display area 200 or directly operate in the first display area 200, so that information interaction with the electronic device is quickly and directly performed, and the use experience of the user is improved.
Referring to fig. 6, based on the same inventive concept, an embodiment of the present invention further provides another electronic device, where the electronic device includes a detection module 601, a determination module 602, and a communication module 603.
The detection module 601 is configured to detect a second electronic device within a preset area range;
a determining module 602, configured to determine a target antenna from M antennas of the electronic device, where M is an integer greater than 1;
a communication module 603, configured to communicate with the second electronic device through the target antenna.
Because the electronic device in the embodiment of the present invention is similar to the principle of the communication method for solving the problem, the implementation of the electronic device in the embodiment of the present invention may refer to the implementation of the method, which is not described herein again.
In the embodiment of the present invention, in a process of wirelessly communicating with a second electronic device by an electronic device including multiple antennas, the electronic device may select a target antenna from the multiple antennas to wirelessly communicate with the second electronic device, where the target antenna is not necessarily an antenna that detects the second electronic device, and may be, for example, an antenna with better performance for the second electronic device. Through the screening mode, the communication quality of the electronic equipment and the second electronic equipment can be improved, and the communication requirements of the electronic equipment and the second electronic equipment are met as much as possible. In other words, in the embodiment of the invention, the characteristic that the electronic equipment is provided with a plurality of antennas at the same time is fully utilized, and a high-quality and high-efficiency wireless communication mode is provided.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Specifically, the computer program instructions corresponding to a communication method in the embodiment of the present invention may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the computer program instructions corresponding to a communication method in the storage medium are read or executed by an electronic device, the method includes the following steps:
detecting second electronic equipment within a preset area range;
determining a target antenna from M antennas of the first electronic device, wherein M is an integer greater than 1;
communicating with the second electronic device through the target antenna.
Optionally, the step of storing in the storage medium: detecting a second electronic device within a preset range, wherein a corresponding computer instruction in the executed process specifically comprises:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is used for indicating the signal strength of the detection signal received by the electronic equipment.
Optionally, the step of storing in the storage medium: determining a target antenna from M antennas of the first electronic device, wherein the corresponding computer instructions, in the process of being executed, specifically include:
for each of the remaining antennas except the first antenna, respectively performing the following steps: sending the detection signal to the second electronic device, and receiving a feedback signal which is emitted by the second electronic device and corresponds to the received detection signal;
obtaining K feedback signals; wherein the K feedback signals are composed of the first feedback signal and at least one individual feedback signal, the at least one individual feedback signal respectively corresponds to part or all of the remaining M-1 antennas except the first antenna, and K is an integer greater than 1;
and determining the target antenna from the M antennas according to the K feedback signals.
Optionally, the step of storing in the storage medium: determining the target antenna from the M antennas according to the K feedback signals, wherein a corresponding computer instruction specifically includes, in an executed process:
determining K signal strengths corresponding to the K feedback signals;
determining N signal strengths from the K signal strengths; wherein each of the N signal strengths has a value greater than a preset signal strength threshold, and N is an integer less than or equal to K;
determining the target antenna from N antennas of the M antennas corresponding to the N signal strengths.
Optionally, the step of storing in the storage medium: determining the target antenna from N antennas corresponding to the N signal strengths among the M antennas, wherein the corresponding computer instructions, in the process of being executed, specifically include:
determining the signal intensity with the maximum value from the N signal intensities;
and determining the antenna corresponding to the determined signal strength with the maximum value as the target antenna.
Optionally, the step of storing in the storage medium: determining the target antenna from the M antennas according to the K feedback signals, wherein a corresponding computer instruction specifically includes, in an executed process:
determining K transmission distances corresponding to the K feedback signals; wherein the transmission distance is a distance from the detection signal to the second electronic device;
determining N transmission distances from the K transmission distances; wherein, the value of each of the N transmission distances is smaller than a preset distance threshold, and N is an integer smaller than equal to K;
determining the target antenna from N antennas corresponding to the N transmission distances from the M antennas.
Optionally, the step of storing in the storage medium: determining the target antenna from N antennas corresponding to the N transmission distances among the M antennas, wherein the corresponding computer instructions, in the process of being executed, specifically include:
determining the transmission distance with the minimum value from the N transmission distances;
and determining the antenna corresponding to the determined transmission distance with the minimum value as the target antenna.
Optionally, the step of storing in the storage medium: determining K transmission distances corresponding to the K feedback signals, the corresponding computer instructions, after being executed, further comprising:
and determining the spatial position of the second electronic equipment according to at least two transmission distances in the K transmission distances and the positions of at least two antennas corresponding to the at least two transmission distances.
Optionally, the step of storing in the storage medium: determining a spatial location of the second electronic device, the corresponding computer instructions, after being executed, further comprising:
determining a first display area corresponding to the spatial position on a display unit of the first electronic device; wherein the first display area is used for displaying information related to the second electronic device.
Optionally, the step of storing in the storage medium: detecting a second electronic device within the range of the preset area, wherein the corresponding computer instructions are specifically:
detecting the second electronic equipment within the preset area range in a first detection mode; or
And detecting the second electronic equipment within the preset area range in a second detection mode.
Optionally, the step of storing in the storage medium: detecting the second electronic device within the preset area range in a first detection mode, wherein a corresponding computer instruction specifically comprises, in an executed process:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is a received signal strength indicating signal determined by the electronic equipment according to the signal strength of the received detection signal;
optionally, the step of storing in the storage medium: detecting the second electronic device within the preset area range in a second detection mode, wherein a corresponding computer instruction specifically includes, during an executed process:
transmitting a request signal through the first antenna; the request signal is a signal obtained by the first electronic device after at least performing modulation processing on first information to be sent;
if the first antenna receives a response signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the response signal is a signal obtained by at least demodulating the request signal and then modulating the second information in the second electronic device and sending the second information after the electronic device receives the request signal.
Optionally, the first detection duration is different from the second detection duration; the first detection duration is duration consumed by the first detection mode, and the second detection duration is duration consumed by the second detection mode.
The above embodiments are only used to describe the technical solutions of the present invention in detail, but the above embodiments are only used to help understanding the method and the core idea of the present invention, and should not be construed as limiting the present invention. Those skilled in the art should also appreciate that they can easily conceive of various changes and substitutions within the technical scope of the present disclosure.

Claims (12)

1. A method of communication, comprising:
detecting second electronic equipment within a preset area range;
determining a target antenna from M antennas of the first electronic device, wherein M is an integer greater than 1; the M antennas are arranged in an array and arranged in a shell of the first electronic device, a display device is further arranged on the shell, the plane where the display device is located is a first plane, the plane where the M antennas are located is a second plane, and the display direction of the display area of the display device is perpendicular to both the first plane and the second plane;
the display device is used for providing a first display area; the first display area is an area determined according to the spatial position of the second electronic device and the position of the target antenna on the first electronic device;
communicate with the second electronic device through the target antenna,
the second electronic device within the range of the detection preset area is specifically: detecting the second electronic equipment within the preset area range in a first detection mode; or detecting the second electronic equipment within the preset area range through a second detection mode,
the detecting the second electronic device within the preset area range through a first detection mode specifically includes:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is a received signal strength indicating signal determined by the electronic equipment according to the signal strength of the received detection signal;
the detecting the second electronic device within the preset area range through a second detection mode specifically includes:
transmitting a request signal through the first antenna; the request signal is a signal obtained by the first electronic device after at least performing modulation processing on first information to be sent;
if the first antenna receives a response signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; wherein, the response signal is a signal obtained by at least demodulating the request signal and then modulating the second information in the second electronic device and sending the second information after the electronic device receives the request signal,
the first detection duration is less than the second detection duration; the first detection duration is duration consumed by the first detection mode, and the second detection duration is duration consumed by the second detection mode.
2. The method of claim 1, wherein detecting the second electronic device within the predetermined range specifically comprises:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is used for indicating the signal strength of the detection signal received by the electronic equipment.
3. The method of claim 2, wherein determining the target antenna from the M antennas of the first electronic device specifically comprises:
for each of the remaining antennas except the first antenna, respectively performing the following steps: sending the detection signal to the second electronic device, and receiving a feedback signal which is emitted by the second electronic device and corresponds to the received detection signal;
obtaining K feedback signals; the K feedback signals consist of the first feedback signal and at least one feedback signal, the at least one feedback signal respectively corresponds to part or all of the M-1 antennas except the first antenna, and K is an integer greater than 1;
and determining the target antenna from the M antennas according to the K feedback signals.
4. The method of claim 3, wherein determining the target antenna from the M antennas based on the K feedback signals comprises:
determining K signal strengths corresponding to the K feedback signals;
determining N signal strengths from the K signal strengths; wherein each of the N signal strengths has a value greater than a preset signal strength threshold, and N is an integer less than or equal to K;
determining the target antenna from N antennas of the M antennas corresponding to the N signal strengths.
5. The method of claim 4, wherein determining the target antenna from the N antennas corresponding to the N signal strengths among the M antennas comprises:
determining the signal intensity with the maximum value from the N signal intensities;
and determining the antenna corresponding to the determined signal strength with the maximum value as the target antenna.
6. The method of claim 3, wherein determining the target antenna from the M antennas based on the K feedback signals comprises:
determining K transmission distances corresponding to the K feedback signals; wherein the transmission distance is a distance from the detection signal to the second electronic device;
determining N transmission distances from the K transmission distances; wherein, the value of each of the N transmission distances is smaller than a preset distance threshold, and N is an integer less than or equal to K;
and determining the target antenna from N antennas corresponding to the N transmission distances.
7. The method of claim 6, wherein determining the target antenna from N antennas corresponding to the N transmission distances among the M antennas specifically comprises:
determining the transmission distance with the minimum value from the N transmission distances;
and determining the antenna corresponding to the determined transmission distance with the minimum value as the target antenna.
8. The method of claim 6, wherein after determining the K transmission ranges corresponding to the K feedback signals, the method further comprises:
and determining the spatial position of the second electronic equipment according to at least two transmission distances in the K transmission distances and the positions of at least two antennas corresponding to the at least two transmission distances.
9. The method of claim 8, wherein after determining the spatial location of the second electronic device, the method further comprises:
determining a first display area corresponding to the spatial position on a display unit of the first electronic device; wherein the first display area is used for displaying information related to the second electronic device.
10. An electronic device, comprising:
a housing;
the M antennas are arranged in the shell in an array manner;
the display device is arranged on the shell;
the plane where the display device is located is a first plane, the plane where the M antennas are located is a second plane, and the display direction of the display area of the display device is perpendicular to both the first plane and the second plane;
the display device is also used for providing a first display area; the first display area is an area determined according to the spatial position of the second electronic device and the position of the target antenna on the first electronic device;
the processor is arranged in the shell and used for detecting the second electronic equipment within a preset area range; determining a target antenna from the M antennas, wherein M is an integer greater than 1; and communicating with the second electronic device through the target antenna,
the second electronic device within the range of the detection preset area is specifically: detecting the second electronic equipment within the preset area range in a first detection mode; or detecting the second electronic equipment within the preset area range through a second detection mode,
the detecting the second electronic device within the preset area range through a first detection mode specifically includes:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is a received signal strength indicating signal determined by the electronic equipment according to the signal strength of the received detection signal;
the detecting the second electronic device within the preset area range through a second detection mode specifically includes:
transmitting a request signal through the first antenna; the request signal is a signal obtained by the first electronic device after at least performing modulation processing on first information to be sent;
if the first antenna receives a response signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; wherein, the response signal is a signal obtained by at least demodulating the request signal and then modulating the second information in the second electronic device and sending the second information after the electronic device receives the request signal,
the first detection duration is less than the second detection duration; the first detection duration is duration consumed by the first detection mode, and the second detection duration is duration consumed by the second detection mode.
11. The electronic device of claim 10, wherein the first display area is to display information related to the second electronic device.
12. An electronic device, comprising:
the detection module is used for detecting second electronic equipment within a preset area range;
a determining module, configured to determine a target antenna from M antennas of the electronic device, where M is an integer greater than 1;
a display device disposed on the housing;
the M antennas are arranged in the shell in an array manner;
the plane where the display device is located is a first plane, the plane where the M antennas are located is a second plane, and the display direction of the display area of the display device is perpendicular to both the first plane and the second plane; the display device is used for providing a first display area; the first display area is an area determined according to the spatial position of the second electronic device and the position of the target antenna on the first electronic device;
a communication module to communicate with the second electronic device through the target antenna,
the second electronic device within the range of the detection preset area is specifically: detecting the second electronic equipment within the preset area range in a first detection mode; or detecting the second electronic equipment within the preset area range through a second detection mode,
the detecting the second electronic device within the preset area range through a first detection mode specifically includes:
transmitting a detection signal with a first signal strength through a first antenna; wherein the first antenna is one of the M antennas;
if the first antenna receives a first feedback signal aiming at the detection signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; the first feedback signal is a received signal strength indicating signal determined by the electronic equipment according to the signal strength of the received detection signal;
the detecting the second electronic device within the preset area range through a second detection mode specifically includes:
transmitting a request signal through the first antenna; the request signal is a signal obtained by the first electronic device after at least performing modulation processing on first information to be sent;
if the first antenna receives a response signal, determining that the electronic equipment is detected within the preset range, and determining the detected electronic equipment as the second electronic equipment; wherein, the response signal is a signal obtained by at least demodulating the request signal and then modulating the second information in the second electronic device and sending the second information after the electronic device receives the request signal,
the first detection duration is less than the second detection duration; the first detection duration is duration consumed by the first detection mode, and the second detection duration is duration consumed by the second detection mode.
CN201510154738.8A 2015-04-02 2015-04-02 Communication method and electronic equipment Active CN104811282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510154738.8A CN104811282B (en) 2015-04-02 2015-04-02 Communication method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510154738.8A CN104811282B (en) 2015-04-02 2015-04-02 Communication method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104811282A CN104811282A (en) 2015-07-29
CN104811282B true CN104811282B (en) 2020-05-26

Family

ID=53695806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510154738.8A Active CN104811282B (en) 2015-04-02 2015-04-02 Communication method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104811282B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106329119A (en) * 2016-08-29 2017-01-11 纳恩博(北京)科技有限公司 Antenna control method and device
CN108493582A (en) * 2018-04-24 2018-09-04 广州三星通信技术研究有限公司 Antenna system for electric terminal and the electric terminal with the antenna system
CN110677780B (en) * 2019-09-26 2021-12-14 北京小米移动软件有限公司 Detection method and device of audio input module and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790922A (en) * 2004-12-15 2006-06-21 乐金电子(昆山)电脑有限公司 Antenna integrated module apparatus
CN1980482A (en) * 2005-12-09 2007-06-13 兄弟工业株式会社 Cordless communication apparatus
CN101080893A (en) * 2004-12-17 2007-11-28 松下电器产业株式会社 Re-transmission method and transmitting method for multi-antenna transmission
CN101185365A (en) * 2005-06-01 2008-05-21 索尼爱立信移动通讯股份有限公司 Wireless communication terminals and methods that display relative positions of other wireless communication terminals
CN101640949A (en) * 2009-06-29 2010-02-03 惠州Tcl移动通信有限公司 Multi-antenna wireless transceiving device
CN101677254A (en) * 2008-09-10 2010-03-24 Nec爱克赛斯科技株式会社 Communication equipment and antenna switching method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260502A (en) * 2004-03-10 2005-09-22 Nec Corp Communication equipment and communication control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790922A (en) * 2004-12-15 2006-06-21 乐金电子(昆山)电脑有限公司 Antenna integrated module apparatus
CN101080893A (en) * 2004-12-17 2007-11-28 松下电器产业株式会社 Re-transmission method and transmitting method for multi-antenna transmission
CN101185365A (en) * 2005-06-01 2008-05-21 索尼爱立信移动通讯股份有限公司 Wireless communication terminals and methods that display relative positions of other wireless communication terminals
CN1980482A (en) * 2005-12-09 2007-06-13 兄弟工业株式会社 Cordless communication apparatus
CN101677254A (en) * 2008-09-10 2010-03-24 Nec爱克赛斯科技株式会社 Communication equipment and antenna switching method
CN101640949A (en) * 2009-06-29 2010-02-03 惠州Tcl移动通信有限公司 Multi-antenna wireless transceiving device

Also Published As

Publication number Publication date
CN104811282A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
KR102604991B1 (en) Electronic device for controlling beam based on data obtained by a camera and method for the same
US10397738B2 (en) Techniques for wirelessly docking to a device
US10075008B1 (en) Systems and methods for manually adjusting when receiving electronic devices are scheduled to receive wirelessly delivered power from a wireless power transmitter in a wireless power network
KR102140753B1 (en) Method and apparatus for beamforming in wireless device
US10090886B1 (en) System and method for enabling automatic charging schedules in a wireless power network to one or more devices
US9641028B2 (en) Method, apparatus, and computer program product for powering electronic devices
US20120045989A1 (en) Device discovery in near-field communication
KR102518402B1 (en) Method for beam selection for communication and electronic device thereof
KR20210034270A (en) Electronic device for determinig path of line of sight(los) and method for the same
CN104247286B (en) Wireless docking link budget optimizes system
KR102450421B1 (en) An electronic device for performing beamforming in a wireless communication and a method thereof
JP2020061933A (en) Establishment of connection with charger in wireless power delivery environment including multiple chargers
US10033435B2 (en) Apparatus, system and method of detecting an activity of a wireless communication device
KR102566509B1 (en) Method for mitigating interference between cells in dynamic time division duplex environment and electronic device thereof
US11490375B2 (en) Downlink control channel transmission method and apparatus
US20140073240A1 (en) Hybrid rf polling loop for nfc device and retry mechanism
CN104811282B (en) Communication method and electronic equipment
CN112291708A (en) Data transmission method, device, equipment and computer readable storage medium
CN110166151B (en) Data transmission method and related equipment
US20220386214A1 (en) Electronic device and method for performing ranging operation
EP4243540A1 (en) Electronic device, and method for controlling communication in electronic device supporting heterogeneous communication technologies sharing frequency band
KR20200046466A (en) Method and apparatus for searching a beam in a mobile communication system
US20220303078A1 (en) Electronic device for receiving data from plurality of transmission nodes, and method of operating same
US10225703B2 (en) Communication circuit, communication apparatus, communication method and computer program for acquiring available services in an active communication mode and a passive communication mode using NFC
CN110808931A (en) Communication method, working mode switching method, radar and radar system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant