CN107546870B - Charging method based on smart antenna and electronic equipment - Google Patents

Charging method based on smart antenna and electronic equipment Download PDF

Info

Publication number
CN107546870B
CN107546870B CN201710799475.5A CN201710799475A CN107546870B CN 107546870 B CN107546870 B CN 107546870B CN 201710799475 A CN201710799475 A CN 201710799475A CN 107546870 B CN107546870 B CN 107546870B
Authority
CN
China
Prior art keywords
electronic equipment
electric energy
frequency band
electronic device
energy signal
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
CN201710799475.5A
Other languages
Chinese (zh)
Other versions
CN107546870A (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.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co 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 Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201710799475.5A priority Critical patent/CN107546870B/en
Publication of CN107546870A publication Critical patent/CN107546870A/en
Application granted granted Critical
Publication of CN107546870B publication Critical patent/CN107546870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

A charging method and electronic equipment based on a smart antenna comprise the following steps: the electronic equipment scans the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment, determines a target electric energy signal transmitter selected by a user according to the distance value between at least one electric energy signal transmitter and the electronic equipment, and determines a target antenna frequency band adaptive to the distance value according to the determined distance value between the target electric energy signal transmitter and the electronic equipment so as to control the smart antenna of the electronic equipment to use the target antenna frequency band to receive the electric energy signal transmitted by the target electric energy signal transmitter to charge the electronic equipment. By implementing the embodiment of the invention, the situation that the user uses the electronic equipment is influenced due to the problem of electric quantity can be reduced.

Description

Charging method based on smart antenna and electronic equipment
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a charging method based on a smart antenna and electronic equipment.
Background
At present, electronic devices such as mobile terminals and wearable devices have increasingly close relationship with the work and life of users due to their rich functions, however, the rich functions of the electronic devices need various kinds of application software for support. In practice, it is found that a user uses various application software running on the electronic device, which is very power-consuming, and when the user does not carry a charging cord or a charger, the electronic device cannot be charged in time, which seriously affects the use of the electronic device by the user.
Disclosure of Invention
The embodiment of the invention discloses a charging method based on a smart antenna and electronic equipment, which can provide a timely and efficient charging method, so that the situation that a user uses the electronic equipment is influenced due to the problem of electric quantity is reduced.
The first aspect of the embodiment of the invention discloses a charging method based on a smart antenna, which comprises the following steps:
the electronic equipment scans the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment;
the electronic equipment displays the distance value between the at least one power signal transmitter and the electronic equipment on a display screen of the electronic equipment;
the electronic equipment determines a target power signal transmitter selected by a user from the at least one power signal transmitter according to a distance value between the at least one power signal transmitter and the electronic equipment;
the electronic equipment detects whether a distance value between the target electric energy signal transmitter and the electronic equipment is matched with an antenna frequency band currently used by a smart antenna of the electronic equipment, and if not, the target antenna frequency band matched with the distance value between the target electric energy signal transmitter and the electronic equipment is determined; wherein the target antenna frequency band is inversely proportional to a distance value between the target power signal transmitter and the electronic device;
the electronic equipment controls the smart antenna to receive the electric energy signal transmitted by the target electric energy signal transmitter by using the target antenna frequency band;
and the electronic equipment charges the electronic equipment by using the electric energy signal.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the electronic device scans the power signal emitters to obtain a distance value between at least one power signal emitter and the electronic device, the method further includes:
the electronic equipment judges whether the residual battery capacity of the electronic equipment is lower than a preset threshold value or not;
when the battery residual capacity of the electronic equipment is lower than the preset threshold value, the electronic equipment sends prompt information, wherein the prompt information is used for prompting a user that the battery residual capacity of the electronic equipment is too low so that the user inputs a scanning instruction for scanning the electric energy signal transmitter;
and the electronic equipment detects whether the scanning instruction is received or not, and if so, the electronic equipment triggers and executes the scanning of the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after detecting that the scan instruction is received, and before the electronic device scans the power signal transmitters to obtain a distance value between at least one power signal transmitter and the electronic device, the method further includes:
the electronic equipment searches for an electromagnetic induction magnetic field near the electronic equipment; the electromagnetic induction magnetic field generates electric field coupling for transmitting electric energy signals;
the electronic device scans the power signal transmitters, and obtaining a distance value between at least one power signal transmitter and the electronic device comprises:
and the electronic equipment scans the electric energy signal emitters which belong to the coverage range of the electromagnetic induction magnetic field to obtain a distance value between at least one electric energy signal emitter and the electronic equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the charging, by the electronic device, the electronic device using the power signal includes:
the electronic equipment acquires the working frequency band of the target electric energy signal transmitter; wherein the operating frequency band is included in the target antenna frequency band;
the electronic equipment detects whether the frequency band of the electric energy signal contains an interference frequency band except the working frequency band; if so, the electronic equipment controls a signal frequency band filter of the smart antenna to filter out interference signals corresponding to the interference frequency band included in the electric energy signals so as to obtain target electric energy signals;
and the electronic equipment charges the electronic equipment by using the target electric energy signal.
As an alternative implementation manner, in the first aspect of the embodiment of the present invention, after detecting that the frequency band of the power signal includes an interference frequency band other than the operating frequency band of the target power signal transmitter, the method further includes:
the electronic equipment judges whether the capacity ratio occupied by the interference signals corresponding to the interference frequency band in the electric energy signals is larger than a specified value or not, if so, the electronic equipment executes the control, and the signal frequency band filter of the smart antenna filters the interference signals corresponding to the interference frequency band, which are included by the electric energy signals, so as to obtain target electric energy signals.
A second aspect of an embodiment of the present invention discloses an electronic device, including:
the acquisition unit is used for scanning the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment;
the display unit is used for displaying the distance value between the at least one electric energy signal transmitter and the electronic equipment on a display screen of the electronic equipment;
a determining unit, configured to determine a target power signal transmitter selected by a user from the at least one power signal transmitter according to a distance value between the at least one power signal transmitter and the electronic device;
the first detection unit is used for detecting whether a distance value between the target electric energy signal transmitter and the electronic equipment is matched with an antenna frequency band currently used by a smart antenna of the electronic equipment;
the determining unit is further configured to determine a target antenna frequency band to which a distance value between the target power signal transmitter and the electronic device is adapted when it is detected that the distance value between the target power signal transmitter and the electronic device is adapted to an antenna frequency band currently used by a smart antenna of the electronic device; wherein the target antenna frequency band is inversely proportional to a distance value between the target power signal transmitter and the electronic device;
the control unit is used for controlling the smart antenna to receive the electric energy signal transmitted by the target electric energy signal transmitter by using the target antenna frequency band;
and the charging unit is used for charging the electronic equipment by using the electric energy signal.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
the judging unit is used for judging whether the battery residual capacity of the electronic equipment is lower than a preset threshold value or not before the acquiring unit scans the electric energy signal transmitters to obtain the distance value between at least one electric energy signal transmitter and the electronic equipment;
the prompting unit is used for sending out prompting information when the judging unit judges that the battery residual capacity of the electronic equipment is lower than the preset threshold value, and the prompting information is used for prompting a user that the battery residual capacity of the electronic equipment is too low so that the user inputs a scanning instruction for scanning the electric energy signal transmitter;
the second detection unit is used for detecting whether the scanning instruction is received or not;
the obtaining unit is specifically configured to scan the electrical energy signal transmitters when the second detecting unit detects that the scanning instruction is received, so as to obtain a distance value between at least one electrical energy signal transmitter and the electronic device.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
a searching unit, configured to search for an electromagnetic induction magnetic field near the electronic device after the second detecting unit detects that the scanning instruction is received; the electromagnetic induction magnetic field generates electric field coupling for transmitting electric energy signals;
the obtaining unit is specifically configured to scan the electric energy signal transmitters within the coverage range of the electromagnetic induction magnetic field when the second detecting unit detects that the scanning instruction is received, so as to obtain a distance value between at least one electric energy signal transmitter and the electronic device.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the charging unit includes:
the acquisition subunit is used for acquiring the working frequency band of the target electric energy signal transmitter; wherein the operating frequency band is included in the target antenna frequency band;
the detection subunit is used for detecting whether the frequency band of the electric energy signal contains an interference frequency band except the working frequency band;
the filtering subunit is configured to, when the detection subunit detects that the frequency band of the electric energy signal includes an interference frequency band other than the operating frequency band, control a signal frequency band filter of the smart antenna to filter an interference signal corresponding to the interference frequency band included in the electric energy signal, so as to obtain a target electric energy signal;
and the charging electronic unit is used for charging the electronic equipment by using the target electric energy signal.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the charging unit further includes:
a determining subunit, configured to determine, after the detecting subunit detects that the frequency band of the electrical energy signal includes an interference frequency band other than the operating frequency band, whether a capacity ratio occupied by the interference signal corresponding to the interference frequency band in the electrical energy signal is greater than a specified value;
the filtering subunit is specifically used for working as the detection subunit detects the frequency band of electric energy signal contains except during the interference frequency band outside the operating frequency band, and when the judgement result of judgement subunit is yes, control smart antenna's signal frequency band filter will electric energy signal includes the interference signal that the interference frequency band corresponds filters to obtain target electric energy signal.
A third aspect of an embodiment of the present invention discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the smart antenna-based charging method disclosed in the first aspect of the embodiment of the present invention.
A fourth aspect of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program enables a computer to execute the charging method based on a smart antenna disclosed in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the electronic equipment scans the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment, determines a target electric energy signal transmitter selected by a user according to the distance value between at least one electric energy signal transmitter and the electronic equipment, and determines a target antenna frequency band adaptive to the distance value according to the determined distance value between the target electric energy signal transmitter and the electronic equipment so as to control the smart antenna of the electronic equipment to use the target antenna frequency band to receive the electric energy signal transmitted by the target electric energy signal transmitter to charge the electronic equipment. By implementing the embodiment of the invention, a timely and efficient charging method can be provided, so that the situation that a user uses the electronic equipment due to the problem of electric quantity is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a charging method based on a smart antenna according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating another charging method based on a smart antenna according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure;
FIG. 4 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
FIG. 5 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
fig. 6 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a charging method based on a smart antenna and electronic equipment, which can provide a timely and efficient charging method, so that the situation that a user uses the electronic equipment is influenced due to the problem of electric quantity is reduced. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a charging method based on a smart antenna according to an embodiment of the present invention. The charging method based on the smart antenna described in fig. 1 is suitable for various electronic devices such as mobile terminals and wearable devices, and the embodiment of the present invention is not limited thereto. The operating system of each electronic device may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a windows phone8 operating system, and the like. As shown in fig. 1, the smart antenna-based charging method may include the following steps:
101. the electronic equipment scans the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment.
Optionally, the electronic device sends a request message to the server, so that when the server receives the request message, the server obtains the instant location information of the electronic device, searches for the electric energy signal transmitter near the electronic device in the database according to the instant location information of the electronic device, and sends the electric energy signal transmitter to the electronic device, and the electronic device receives a search result sent by the server, so as to complete scanning of the searched electric energy signal transmitter, and obtain a distance value between at least one electric energy signal transmitter and the electronic device.
102. The electronic equipment displays the distance value between the at least one power signal transmitter and the electronic equipment on a display screen of the electronic equipment.
In an embodiment of the present invention, before the electronic device displays a distance value between the at least one power signal transmitter and the electronic device on a display screen of the electronic device, the electronic device further includes:
the electronic equipment acquires a distance value between the at least one electric energy signal transmitter and the electronic equipment, and sorts the acquired distance value between the at least one electric energy signal transmitter and the electronic equipment from small to large to obtain a group of sorting sequences;
and the electronic equipment displays the distance value between the at least one electric energy signal transmitter and the electronic equipment on a display screen of the electronic equipment according to the obtained sequencing sequence.
In the method, the electronic equipment displays the distance value between the at least one electric energy signal transmitter and the electronic equipment on a display screen of the electronic equipment from small to large so as to facilitate a user to select a proper electric energy signal transmitter.
103. The electronic device determines a target power signal transmitter selected by a user from the at least one power signal transmitter according to a distance value between the at least one power signal transmitter and the electronic device.
104. The electronic equipment detects whether a distance value between a target electric energy signal transmitter and the electronic equipment is matched with a currently used antenna frequency band of a smart antenna of the electronic equipment, if so, the currently used antenna frequency band of the smart antenna is determined to be a target antenna frequency band, and the step 106 to the step 107 are triggered to be executed; if not, step 105 to step 107 are executed.
In the embodiment of the present invention, a database may be stored in the electronic device, where the database includes a correspondence relationship between a plurality of antenna frequency bands of the smart antenna of the electronic device and distance ranges, that is, the database stores a plurality of antenna frequency bands of the smart antenna of the electronic device and distance ranges corresponding to the antenna frequency bands, and each antenna frequency band corresponds to a distance range corresponding to each antenna frequency band one to one. When the electronic equipment acquires the distance value between the target electric energy signal transmitter and the electronic equipment, searching the distance range including the distance value in the database, searching the antenna frequency band corresponding to the distance range from the corresponding relation contained in the database according to the distance range, judging whether the searched antenna frequency band is the same as the antenna frequency band currently used by the smart antenna of the electronic equipment, and if so, determining the antenna frequency band currently used by the smart antenna of the electronic equipment as the target antenna frequency band.
105. And the electronic equipment determines a target antenna frequency band adaptive to the distance value between the target power signal transmitter and the electronic equipment.
The frequency range of the target antenna is inversely proportional to the distance value between the target power signal transmitter and the electronic equipment.
106. The electronic equipment controls the smart antenna of the electronic equipment to receive the electric energy signal transmitted by the target electric energy signal transmitter by using the target antenna frequency band.
107. The electronic device charges the electronic device by using the received power signal.
In this embodiment of the present invention, the step of charging the electronic device by using the received power signal by the electronic device may include:
the electronic equipment acquires the working frequency band of the target electric energy signal transmitter; wherein, the working frequency band is included in the frequency band of the target antenna;
the electronic equipment detects whether the frequency band of the received electric energy signal contains an interference frequency band except the working frequency band of the target electric energy signal transmitter; if so, the electronic equipment controls a signal frequency band filter of the smart antenna to filter out interference signals corresponding to interference frequency bands included in the electric energy signals so as to obtain target electric energy signals;
the electronic device charges the electronic device with the target power signal.
Optionally, after detecting that the frequency band of the power signal includes an interference frequency band other than the operating frequency band of the target power signal transmitter, the method further includes:
the electronic equipment judges whether the capacity ratio occupied by the interference signal corresponding to the interference frequency band in the electric energy signal is larger than a specified value or not, and if so, the signal frequency band filter for controlling the smart antenna is executed to filter the interference signal corresponding to the interference frequency band included in the electric energy signal so as to obtain the target electric energy signal.
It can be seen that, when the method described in fig. 1 is implemented, the electronic device may display the distance value between the at least one power signal transmitter and the electronic device on the display screen of the electronic device in the order from small to large, so as to facilitate the user to select a suitable target power signal transmitter, and the electronic device may also filter the interference signal in the received power signal during the charging process to improve the charging efficiency, thereby providing a timely and efficient charging method, and reducing the occurrence of the situation that the user uses the electronic device due to the power problem.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another charging method based on a smart antenna according to an embodiment of the present invention. As shown in fig. 2, the smart antenna-based charging method may include the following steps:
201. the electronic equipment judges whether the residual battery capacity of the electronic equipment is lower than a preset threshold value, if so, the step 202 to the step 203 are executed; if not, the flow is ended.
202. The electronic equipment sends out prompt information which is used for prompting a user that the residual capacity of the battery of the electronic equipment is too low so that the user inputs a scanning instruction for scanning the power signal emitter.
In the embodiment of the present invention, the manner in which the electronic device sends the prompt information may be that the electronic device outputs through a display screen of the electronic device, or outputs through a microphone of the electronic device by voice, which is not limited in the embodiment of the present invention.
By the method, when the electronic equipment judges that the electric quantity of the electronic equipment is lower than the preset threshold value, the electronic equipment sends prompt information in time to prompt a user of the electronic equipment to charge the electronic equipment in time, so that the service life of a battery of the electronic equipment can be prolonged, and the condition that the user is influenced due to the fact that the electronic equipment is out of power can be reduced.
203. The electronic equipment detects whether a scanning instruction is received, and if so, the step 204 to the step 211 are executed; if not, the flow is ended.
In the embodiment of the present invention, the scan command scans the power signal transmitters to obtain a distance value between at least one power signal transmitter and the electronic device.
It should be noted that, when the detection result in step 203 is negative, the following steps may also be performed:
the electronic equipment sends out alarm information which is used for prompting a user to input a scanning instruction;
the electronic equipment records the time point of the alarm information sent by the electronic equipment and starts timing;
when the electronic equipment judges that the time length obtained by timing is greater than the preset time length, detecting whether the electronic equipment is in communication connection with the appointed mobile terminal;
when the electronic equipment is detected to be in communication connection with the appointed mobile terminal, the alarm information is sent to the appointed mobile terminal, so that the appointed mobile terminal sends a scanning instruction to the electronic equipment.
Therefore, when the electronic equipment does not detect the scanning instruction input by the user within the preset time length, the electronic equipment sends the alarm information for prompting the user to input the scanning instruction to the appointed mobile terminal in communication connection with the electronic equipment, so that the appointed mobile terminal is triggered to send the scanning instruction to the electronic equipment. The method can provide a more perfect and intelligent prompting method for the user so as to improve the user experience.
204. The electronic device searches for an electromagnetic induction magnetic field in the vicinity of the electronic device, wherein the electromagnetic induction magnetic field generates an electric field coupling for transmitting the power signal.
Alternatively, when the electronic device searches for the electromagnetic induction field in the vicinity of the electronic device, the path information from the instant position of the electronic device to the searched electromagnetic induction field may be output on the display screen of the electronic device for the user to view conveniently.
205. The electronic equipment scans the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment.
In this embodiment of the present invention, the manner of step 205 is specifically that the electronic device scans the power signal emitters that belong to the coverage area of the electromagnetic induction magnetic field, so as to obtain a distance value between at least one power signal emitter and the electronic device.
Optionally, the electronic device sends a request message to the server, so that when the server receives the request message, the server obtains the instant location information of the electronic device, searches for the electric energy signal transmitter near the electronic device in the database according to the instant location information of the electronic device, and sends the electric energy signal transmitter to the electronic device, and the electronic device receives a search result sent by the server, so as to complete scanning of the searched electric energy signal transmitter, and obtain a distance value between at least one electric energy signal transmitter and the electronic device.
For detailed descriptions of step 206 to step 211, please refer to the description of step 102 to step 107 in the first embodiment, which is not repeated herein.
It can be seen that, by implementing the method described in fig. 2, the electronic device can send out prompt information in time when determining that the electric quantity of the electronic device is lower than the preset threshold value, so as to prompt a user of the electronic device to perform charging operation on the electronic device in time, which not only can prolong the service life of a battery of the electronic device, but also can reduce the occurrence of the situation that the user is affected by the lack of electricity of the electronic device; the electronic equipment can also send alarm information for prompting the user to input the scanning instruction to a specified mobile terminal in communication connection with the electronic equipment when the scanning instruction input by the user is not detected within the preset time length, so that the specified mobile terminal is triggered to send the scanning instruction to the electronic equipment, and a more complete and intelligent prompting method is provided for the user; the electronic device can also output path information from the instant position of the electronic device to the searched electromagnetic induction magnetic field on a display screen of the electronic device for the convenience of the user to view.
In addition, by implementing the method described in fig. 2, the electronic device may display the distance value between the at least one power signal transmitter and the electronic device on the display screen of the electronic device in the order from small to large, so as to facilitate the user to select a suitable target power signal transmitter, and the electronic device may also filter the interference signal in the received power signal during the charging process to improve the charging efficiency, thereby providing a timely and efficient charging method, and reducing the occurrence of the situation that the user uses the electronic device due to the power problem.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 3, the electronic device may include:
the obtaining unit 301 is configured to scan the power signal transmitters, and obtain a distance value between at least one power signal transmitter and the electronic device.
Optionally, the obtaining unit 301 sends a request message to the server, so that when the server receives the request message, the server obtains the instant location information of the electronic device, searches for the electric energy signal transmitter near the electronic device in the database according to the instant location information of the electronic device, and sends the electric energy signal transmitter to the obtaining unit 301, and the obtaining unit 301 receives a search result sent by the server, so as to complete scanning of the searched electric energy signal transmitter, and obtain a distance value between at least one electric energy signal transmitter and the electronic device.
A display unit 302, configured to display the distance value between the at least one power signal transmitter and the electronic device, acquired by the acquisition unit 301, on a display screen of the electronic device.
In this embodiment of the present invention, before the displaying unit 302 displays the distance value between the at least one power signal transmitter and the electronic device on the display screen of the electronic device, the method further includes:
the display unit 302 obtains a distance value between the at least one electric energy signal transmitter and the electronic device, and sorts the obtained distance values between the at least one electric energy signal transmitter and the electronic device in a descending order to obtain a group of sorting sequences;
the display unit 302 displays the distance value between the at least one power signal transmitter and the electronic device on the display screen of the electronic device according to the obtained sorting sequence order.
In the method, the display unit 302 displays the distance value between the at least one power signal transmitter and the electronic device on the display screen of the electronic device in the order from small to large, so that a user can conveniently select a proper power signal transmitter.
A determining unit 303, configured to determine a target power signal transmitter selected by a user from the at least one power signal transmitter according to a distance value between the at least one power signal transmitter and the electronic device.
A first detecting unit 304, configured to detect whether the distance value between the target power signal transmitter and the electronic device determined by the determining unit 303 is adapted to the antenna frequency band currently used by the smart antenna of the electronic device.
In the embodiment of the present invention, a database may be stored in the electronic device, where the database includes a correspondence relationship between a plurality of antenna frequency bands of the smart antenna of the electronic device and distance ranges, that is, the database stores a plurality of antenna frequency bands of the smart antenna of the electronic device and distance ranges corresponding to the antenna frequency bands, and each antenna frequency band corresponds to a distance range corresponding to each antenna frequency band one by one, where a distance value included in each distance range is only when the distance value is the distance value between the target electric energy signal transmitter and the electronic device, the electronic device can make the received signal quality optimal. When the first detecting unit 304 obtains the distance value between the target electric energy signal transmitter and the electronic device, searching the distance range including the distance value in the database, searching the antenna frequency band corresponding to the distance range from the corresponding relationship included in the database according to the distance range, and determining whether the searched antenna frequency band is the same as the antenna frequency band currently used by the smart antenna of the electronic device, if so, the distance value between the target electric energy signal transmitter and the electronic device is adapted to the antenna frequency band currently used by the smart antenna of the electronic device; if not, the distance value between the target electric energy signal transmitter and the electronic equipment is not matched with the antenna frequency band currently used by the smart antenna of the electronic equipment.
The determining unit 303 is further configured to determine a target antenna frequency band to which the distance value between the target power signal transmitter and the electronic device is adapted when the first detecting unit 304 detects that the distance value between the target power signal transmitter and the electronic device does not adapt to the antenna frequency band currently used by the smart antenna of the electronic device.
The frequency range of the target antenna is inversely proportional to the distance value between the target power signal transmitter and the electronic equipment.
A control unit 305, configured to control the smart antenna of the electronic device to receive the power signal transmitted by the target power signal transmitter using the target antenna frequency band of the determining unit 303.
A charging unit 306, configured to charge the electronic device with the received power signal.
It can be seen that, with the electronic device described in fig. 3, the distance value between the at least one power signal transmitter and the electronic device may be displayed on the display screen of the electronic device in the order from small to large, so as to facilitate the user to select a suitable target power signal transmitter, and also filter the interference signals in the received power signals during the charging process to improve the charging efficiency, thereby providing a timely and efficient charging method, and reducing the occurrence of the situation that the user uses the electronic device due to the power problem.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. The electronic device shown in fig. 4 is optimized from the electronic device shown in fig. 3. Compared to the electronic device shown in fig. 3, the electronic device shown in fig. 4 further includes:
the determining unit 307 is configured to determine whether the remaining battery power of the electronic device is lower than a preset threshold before the obtaining unit 301 scans the power signal transmitters to obtain a distance value between at least one power signal transmitter and the electronic device.
A prompting unit 308, configured to send a prompting message when the determining unit 307 determines that the battery remaining capacity of the electronic device is lower than the preset threshold, where the prompting message is used to prompt a user that the battery remaining capacity of the electronic device is too low, so that the user inputs a scanning instruction for scanning the power signal transmitter.
In this embodiment of the present invention, the manner in which the prompting unit 308 sends the prompting information may be that the prompting unit 308 outputs through a display screen of the electronic device, or outputs through a microphone of the electronic device by voice, which is not limited in this embodiment of the present invention.
By the method, when the prompting unit 308 judges that the electric quantity of the electronic device is lower than the preset threshold, the prompting unit sends out the prompting information in time to prompt the user of the electronic device to perform charging operation on the electronic device in time, so that the service life of a battery of the electronic device can be prolonged, and the influence on the user caused by the power failure of the electronic device can be reduced.
A second detecting unit 309, configured to detect whether a scan instruction is received.
The obtaining unit 301 is specifically configured to scan the power signal transmitters when the second detecting unit 309 detects that the scanning instruction is received, so as to obtain a distance value between at least one power signal transmitter and the electronic device.
It should be noted that, when the detection result of the second detecting unit 309 is no, the following steps may also be performed:
the second detection unit 309 issues alarm information for prompting the user to input a scan instruction;
the second detection unit 309 records the time point when the electronic device sends the alarm information, and starts timing;
when the second detecting unit 309 determines that the time length obtained by timing is greater than the preset time length, detecting whether the electronic device is in communication connection with the specified mobile terminal;
when the second detecting unit 309 detects that the designated mobile terminal is connected to the communication terminal, the alarm information is sent to the designated mobile terminal, so that the designated mobile terminal sends a scanning instruction to the second detecting unit 309.
As can be seen, when the second detecting unit 309 does not detect the scanning instruction input by the user within the preset time period, the second detecting unit 309 sends the alarm information for prompting the user to input the scanning instruction to the designated mobile terminal in communication connection with the electronic device, so as to trigger the designated mobile terminal to send the scanning instruction to the second detecting unit 309, which can provide a more complete and intelligent prompting method for the user to improve the user experience.
A searching unit 310, configured to search for an electromagnetic induction field near the electronic device when the second detecting unit 309 detects that the scan instruction is received; the electromagnetic induction magnetic field generates electric field coupling for transmitting electric energy signals.
The obtaining unit 301 is specifically configured to scan the power signal emitters within the coverage area of the electromagnetic induction magnetic field when the second detecting unit 309 detects that the scanning instruction is received, so as to obtain a distance value between at least one power signal emitter and the electronic device.
Alternatively, when the search unit 310 searches for the electromagnetic induction field in the vicinity of the electronic device, the path information from the instant position of the electronic device to the searched electromagnetic induction field may be output on the display screen of the electronic device for the user to view conveniently.
It can be seen that, with the electronic device described in fig. 4, when it is determined that the electric quantity of the electronic device is lower than the preset threshold, the prompt message can be sent in time to prompt the user of the electronic device to perform charging operation on the electronic device in time, which not only can prolong the service life of the battery of the electronic device, but also can reduce the occurrence of the influence on the user due to the power failure of the electronic device; the electronic equipment can also send alarm information for prompting the user to input the scanning instruction to a specified mobile terminal in communication connection with the electronic equipment when the scanning instruction input by the user is not detected within the preset time length, so that the specified mobile terminal is triggered to send the scanning instruction to the electronic equipment, and a more complete and intelligent prompting method is provided for the user; the electronic device can also output path information from the instant position of the electronic device to the searched electromagnetic induction magnetic field on a display screen of the electronic device for the convenience of the user to view.
In addition, when the electronic device described in fig. 4 is implemented, the distance value between the at least one power signal transmitter and the electronic device may be displayed on the display screen of the electronic device in the order from small to large, so that a user may conveniently select a suitable target power signal transmitter, and the electronic device may also filter interference signals in the received power signals during the charging process to improve the charging efficiency, thereby providing a timely and efficient charging method, and reducing the occurrence of the situation that the user uses the electronic device due to the power problem.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. The electronic device shown in fig. 5 is optimized from the electronic device shown in fig. 4. Compared to the electronic device shown in fig. 4, the charging unit 306 shown in fig. 5 includes:
the obtaining subunit 3061, configured to obtain an operating frequency band of the target electrical energy signal transmitter; the working frequency band of the target power signal transmitter is contained in the target antenna frequency band.
The detecting subunit 3062 is configured to detect whether the frequency band of the power signal received by the control unit 305 includes an interference frequency band other than the operating frequency band of the target power signal transmitter.
The filtering subunit 3063 is configured to, when the detecting subunit 3062 detects that the frequency band of the received electric energy signal includes an interference frequency band other than the operating frequency band of the target electric energy signal transmitter, control a signal frequency band filter of the smart antenna of the electronic device to filter an interference signal corresponding to the interference frequency band, so as to obtain the target electric energy signal.
A charging subunit 3064, for charging the electronic device with the target electric energy signal obtained by the filtering subunit 3063.
As an alternative embodiment, after the detecting subunit 3062 detects that the frequency band of the received power signal includes an interference frequency band other than the operating frequency band of the target power signal transmitter, and before the filtering subunit 3063 performs the above-mentioned operation of controlling the signal frequency band filter of the smart antenna of the electronic device to filter out the interference signal corresponding to the interference frequency band, so as to obtain the target power signal, the charging unit 306 further includes:
a determination subunit 3065, which determines whether the capacity ratio occupied by the interference signal corresponding to the interference frequency band in the received electric energy signal is greater than a specified value;
the filtering subunit 3063 is specifically configured to, when the detecting subunit 3062 detects that the frequency band of the received power signal includes an interference frequency band other than the operating frequency band of the target power signal transmitter, and when the determination result of the determining subunit 3065 is yes, control the signal frequency band filter of the smart antenna of the electronic device to filter an interference signal corresponding to the interference frequency band included in the received power signal, so as to obtain the target power signal.
It can be seen that, with the electronic device described in fig. 5, when it is determined that the electric quantity of the electronic device is lower than the preset threshold, the prompt message can be sent in time to prompt the user of the electronic device to perform charging operation on the electronic device in time, so that not only can the service life of the battery of the electronic device be prolonged, but also the occurrence of the situation that the user is affected by the power failure of the electronic device can be reduced; the electronic equipment can also send alarm information for prompting the user to input the scanning instruction to a specified mobile terminal in communication connection with the electronic equipment when the scanning instruction input by the user is not detected within the preset time length, so that the specified mobile terminal is triggered to send the scanning instruction to the electronic equipment, and a more complete and intelligent prompting method is provided for the user; the electronic device can also output path information from the instant position of the electronic device to the searched electromagnetic induction magnetic field on a display screen of the electronic device for the convenience of the user to view.
In addition, when the electronic device described in fig. 5 is implemented, the distance value between the at least one power signal transmitter and the electronic device may be displayed on the display screen of the electronic device in the order from small to large, so that a user may conveniently select a suitable target power signal transmitter, and the electronic device may also filter interference signals in the received power signals during the charging process to improve the charging efficiency, thereby providing a timely and efficient charging method, and reducing the occurrence of the situation that the user uses the electronic device due to the power problem.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. As shown in fig. 6, the electronic device may include:
a memory 601 in which executable program code is stored;
a processor 602 coupled to a memory 601;
the processor 602 calls the executable program code stored in the memory 601 to execute any one of the smart antenna-based charging methods shown in fig. 1-2.
An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute any one of the charging methods based on a smart antenna shown in fig. 1 to 2.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The smart antenna-based charging method and the electronic device disclosed in the embodiments of the present invention are described in detail above, and specific examples are applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A charging method based on a smart antenna is characterized in that the method comprises the following steps:
the electronic equipment scans the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment;
the electronic equipment displays the distance value between the at least one power signal transmitter and the electronic equipment on a display screen of the electronic equipment;
the electronic equipment determines a target power signal transmitter selected by a user from the at least one power signal transmitter according to a distance value between the at least one power signal transmitter and the electronic equipment;
the electronic equipment detects whether a distance value between the target electric energy signal transmitter and the electronic equipment is matched with an antenna frequency band currently used by a smart antenna of the electronic equipment, and if not, the target antenna frequency band matched with the distance value between the target electric energy signal transmitter and the electronic equipment is determined; wherein the target antenna frequency band is inversely proportional to a distance value between the target power signal transmitter and the electronic device;
the electronic equipment controls the smart antenna to receive the electric energy signal transmitted by the target electric energy signal transmitter by using the target antenna frequency band;
the electronic equipment charges the electronic equipment by using the electric energy signal;
before the electronic device scans the power signal transmitters to obtain a distance value between at least one power signal transmitter and the electronic device, the method further includes:
the electronic equipment judges whether the residual battery capacity of the electronic equipment is lower than a preset threshold value or not;
when the battery residual capacity of the electronic equipment is lower than the preset threshold value, the electronic equipment sends prompt information, wherein the prompt information is used for prompting a user that the battery residual capacity of the electronic equipment is too low so that the user inputs a scanning instruction for scanning the electric energy signal transmitter;
and the electronic equipment detects whether the scanning instruction is received or not, and if so, the electronic equipment triggers and executes the scanning of the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment.
2. The method of claim 1, wherein after detecting that the scan command is received and before the electronic device scans the power signal emitters for a distance value between at least one power signal emitter and the electronic device, the method further comprises:
the electronic equipment searches for an electromagnetic induction magnetic field near the electronic equipment; the electromagnetic induction magnetic field generates electric field coupling for transmitting electric energy signals;
the electronic device scans the power signal transmitters, and obtaining a distance value between at least one power signal transmitter and the electronic device comprises:
and the electronic equipment scans the electric energy signal emitters which belong to the coverage range of the electromagnetic induction magnetic field to obtain a distance value between at least one electric energy signal emitter and the electronic equipment.
3. The method of claim 2, wherein the electronic device charges the electronic device with the power signal, comprising:
the electronic equipment acquires the working frequency band of the target electric energy signal transmitter; wherein the operating frequency band is included in the target antenna frequency band;
the electronic equipment detects whether the frequency band of the electric energy signal contains an interference frequency band except the working frequency band; if so, the electronic equipment controls a signal frequency band filter of the smart antenna to filter out interference signals corresponding to the interference frequency band included in the electric energy signals so as to obtain target electric energy signals;
and the electronic equipment charges the electronic equipment by using the target electric energy signal.
4. The method of claim 3, wherein after detecting that the frequency band of the power signal includes an interference frequency band other than the operating frequency band of the target power signal transmitter, the method further comprises:
the electronic equipment judges whether the capacity ratio occupied by the interference signals corresponding to the interference frequency band in the electric energy signals is larger than a specified value or not, if so, the electronic equipment executes the control, and the signal frequency band filter of the smart antenna filters the interference signals corresponding to the interference frequency band, which are included by the electric energy signals, so as to obtain target electric energy signals.
5. An electronic device, comprising:
the acquisition unit is used for scanning the electric energy signal transmitters to obtain a distance value between at least one electric energy signal transmitter and the electronic equipment;
the display unit is used for displaying the distance value between the at least one electric energy signal transmitter and the electronic equipment on a display screen of the electronic equipment;
a determining unit, configured to determine a target power signal transmitter selected by a user from the at least one power signal transmitter according to a distance value between the at least one power signal transmitter and the electronic device;
the first detection unit is used for detecting whether a distance value between the target electric energy signal transmitter and the electronic equipment is matched with an antenna frequency band currently used by a smart antenna of the electronic equipment;
the determining unit is further configured to determine a target antenna frequency band to which the distance value between the target power signal transmitter and the electronic device is adapted when it is detected that the distance value between the target power signal transmitter and the electronic device does not adapt to the antenna frequency band currently used by the smart antenna of the electronic device; wherein the target antenna frequency band is inversely proportional to a distance value between the target power signal transmitter and the electronic device;
the control unit is used for controlling the smart antenna to receive the electric energy signal transmitted by the target electric energy signal transmitter by using the target antenna frequency band;
the charging unit is used for charging the electronic equipment by using the electric energy signal;
further comprising:
the judging unit is used for judging whether the battery residual capacity of the electronic equipment is lower than a preset threshold value or not before the acquiring unit scans the electric energy signal transmitters to obtain the distance value between at least one electric energy signal transmitter and the electronic equipment;
the prompting unit is used for sending out prompting information when the judging unit judges that the battery residual capacity of the electronic equipment is lower than the preset threshold value, and the prompting information is used for prompting a user that the battery residual capacity of the electronic equipment is too low so that the user inputs a scanning instruction for scanning the electric energy signal transmitter;
the second detection unit is used for detecting whether the scanning instruction is received or not;
the obtaining unit is specifically configured to scan the electrical energy signal transmitters when the second detecting unit detects that the scanning instruction is received, so as to obtain a distance value between at least one electrical energy signal transmitter and the electronic device.
6. The electronic device of claim 5, further comprising:
a searching unit, configured to search for an electromagnetic induction magnetic field near the electronic device after the second detecting unit detects that the scanning instruction is received; the electromagnetic induction magnetic field generates electric field coupling for transmitting electric energy signals;
the obtaining unit is specifically configured to scan the electric energy signal transmitters within the coverage range of the electromagnetic induction magnetic field when the second detecting unit detects that the scanning instruction is received, so as to obtain a distance value between at least one electric energy signal transmitter and the electronic device.
7. The electronic device according to claim 6, wherein the charging unit includes:
the acquisition subunit is used for acquiring the working frequency band of the target electric energy signal transmitter; wherein the operating frequency band is included in the target antenna frequency band;
the detection subunit is used for detecting whether the frequency band of the electric energy signal contains an interference frequency band except the working frequency band;
the filtering subunit is configured to, when the detection subunit detects that the frequency band of the electric energy signal includes an interference frequency band other than the operating frequency band, control a signal frequency band filter of the smart antenna to filter an interference signal corresponding to the interference frequency band included in the electric energy signal, so as to obtain a target electric energy signal;
and the charging electronic unit is used for charging the electronic equipment by using the target electric energy signal.
8. The electronic device of claim 7, wherein the charging unit further comprises:
a determining subunit, configured to determine, after the detecting subunit detects that the frequency band of the electrical energy signal includes an interference frequency band other than the operating frequency band, whether a capacity ratio occupied by the interference signal corresponding to the interference frequency band in the electrical energy signal is greater than a specified value;
the filtering subunit is specifically used for working as the detection subunit detects the frequency band of electric energy signal contains except during the interference frequency band outside the operating frequency band, and when the judgement result of judgement subunit is yes, control smart antenna's signal frequency band filter will electric energy signal includes the interference signal that the interference frequency band corresponds filters to obtain target electric energy signal.
CN201710799475.5A 2017-09-07 2017-09-07 Charging method based on smart antenna and electronic equipment Active CN107546870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710799475.5A CN107546870B (en) 2017-09-07 2017-09-07 Charging method based on smart antenna and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710799475.5A CN107546870B (en) 2017-09-07 2017-09-07 Charging method based on smart antenna and electronic equipment

Publications (2)

Publication Number Publication Date
CN107546870A CN107546870A (en) 2018-01-05
CN107546870B true CN107546870B (en) 2020-03-24

Family

ID=60958129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710799475.5A Active CN107546870B (en) 2017-09-07 2017-09-07 Charging method based on smart antenna and electronic equipment

Country Status (1)

Country Link
CN (1) CN107546870B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111030204A (en) * 2018-10-10 2020-04-17 Oppo广东移动通信有限公司 Wireless charging method and device, storage medium and electronic equipment
CN111446781B (en) * 2019-01-17 2022-05-17 Oppo广东移动通信有限公司 Wireless charging method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515725A (en) * 2008-02-20 2009-08-26 郑春吉 Non-contact power charging system and control method thereof
CN105449786A (en) * 2015-12-31 2016-03-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105667329A (en) * 2016-01-08 2016-06-15 上海阪辉新能源科技有限公司 Method for internally detecting relative position and controlling battery charging to start and stop
CN105932744A (en) * 2016-06-15 2016-09-07 深圳米太智能宝石有限公司 Wireless charging method and system and intelligent jewelry

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515725A (en) * 2008-02-20 2009-08-26 郑春吉 Non-contact power charging system and control method thereof
CN102280919A (en) * 2008-02-20 2011-12-14 郑春吉 Non-contact power recieving device and method and power transmission device and method
CN105449786A (en) * 2015-12-31 2016-03-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105667329A (en) * 2016-01-08 2016-06-15 上海阪辉新能源科技有限公司 Method for internally detecting relative position and controlling battery charging to start and stop
CN105932744A (en) * 2016-06-15 2016-09-07 深圳米太智能宝石有限公司 Wireless charging method and system and intelligent jewelry

Also Published As

Publication number Publication date
CN107546870A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN108896911B (en) Charging abnormity detection method and device for electronic equipment
CN107483737B (en) Antenna switching method and mobile terminal
CN107046701B (en) Base station switch method, device, storage medium and terminal
CN108021642B (en) Application program recommendation method and device, mobile terminal and storage medium
CN108990105B (en) Wireless communication transmission method, device, mobile terminal and computer readable storage medium
CN104360736A (en) Gesture-based terminal control method and system
CN103941686A (en) Voice control method and system
CN107852762A (en) Manage method, bluetooth master and the device of bluetooth connection
CN107147450B (en) Radio frequency interference processing method, device, storage medium and terminal
CN106714275B (en) Wi-Fi connection method and mobile terminal
CN111163503A (en) Network searching method of mobile terminal and mobile terminal
CN104837167A (en) Network switching method
CN107546870B (en) Charging method based on smart antenna and electronic equipment
CN103945365A (en) Automatic control method and device for airplane mode and mobile equipment
CN106961710B (en) Network access method and terminal
CN108924908B (en) WiFi scanning method and device and electronic device
CN110677842B (en) Network searching method, device, terminal equipment and storage medium
CN107241145B (en) Processing method, device, storage medium and the terminal of radio frequency interference
CN104967990A (en) Terminal
CN108449787B (en) Connection control method and device and electronic equipment
CN107171741B (en) Radio frequency interference processing method, device, storage medium and terminal
CN110829623A (en) Charging method based on smart antenna and wearable device
CN105549717A (en) Method and device for optimizing power consumption of application program and electronic equipment
CN106786898B (en) Switching method and device of charging equipment and related equipment
CN110602738B (en) Network connection method and device and electronic device

Legal Events

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