Detailed Description
The present application will be described in further detail with reference to examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Please refer to fig. 1, which is a diagram illustrating a hardware architecture of a first embodiment of a wireless communication device according to the present invention.
The wireless communication device 1 of the present invention may be any electronic device having a wireless communication device, such as a tablet computer, a surveillance camera, a notebook computer, and a smart phone. As shown in fig. 1, in a first embodiment, a wireless communication device 1 of the present invention includes a plurality of antennas 10, a received signal strength detecting module 20, a control module 30 and an online judging module 40, wherein the received signal strength detecting module 20 is electrically connected to the plurality of antennas 10, the control module 30 is electrically connected to the received signal strength detecting module 20, and the online judging module 40 is electrically connected to the plurality of antennas 10 and the control module 30. According to an embodiment of the present invention, the wireless communication device 1 of the present invention is a wireless surveillance camera (IP CAM) that is in signal connection with the wireless router 100 by two antennas 10. Moreover, before the wireless monitoring camera is not connected to the wireless router 100, the wireless monitoring camera can cover a wide received signal angle of 360 degrees through a dual-antenna design, so that the wireless monitoring camera is easily connected to the wireless router 100.
In the present embodiment, when the wireless communication device 1 is started, the Received Signal Strength detection module 20 immediately detects a Received Signal Strength (RSSI) between each antenna 10 and the wireless router 100, so as to know the Signal receiving status between each antenna 10 and the wireless router 100. The control module 30 further selects the antenna 10 with the strongest received signal strength as a main transmitting antenna from the received signal strengths detected by the received signal strength detecting module 20. The control module 30 turns off at least one antenna 10 other than the main transmitting antenna, so that the wireless communication device 1 performs signal connection with the wireless router 100 through the main transmitting antenna, thereby reducing power consumption of the wireless communication device 1 and avoiding the over-high operating temperature of the wireless communication device 1.
The on-line determining module 40 is used to determine whether the on-line between the main transmitting antenna and the wireless router 100 is interrupted, if the on-line determining module 40 determines that the on-line between the wireless communication device 1 and the wireless router 100 is interrupted, the control module 30 sends a signal detecting instruction 31 to the received signal strength detecting module 20, the received signal strength detecting module 20 immediately detects the received signal strength between each antenna 10 and the wireless router 100, the control module 30 re-finds the antenna 10 with the strongest received signal strength, and selects the antenna 10 with the strongest received signal strength as a main transmitting antenna, and closes at least one antenna 10 except the main transmitting antenna. Preferably, after the main transmitting antenna is selected, the remaining antennas 10 except the main transmitting antenna are turned off to achieve the best energy saving and power saving effects. It should be noted that, according to an embodiment of the present invention, when the wireless communication device 1 of the present invention is a wireless surveillance camera (IP CAM), the wireless surveillance camera (IP CAM) only needs 10Mbps of bandwidth for data transmission, so the antenna 10 with the strongest received signal strength can be reserved to perform the transmission task. According to an embodiment of the present invention, the rssi detection module 20, the control module 30 and the connection determination module 40 can be configured as hardware devices, software programs, firmware or a combination thereof, can be configured by a circuit loop or other suitable types, and are integrated on a control chip in the wireless communication device 1.
Please refer to fig. 2 for a hardware architecture diagram of a second embodiment of the wireless communication device according to the present invention.
As shown in fig. 2, in the second embodiment, in addition to the plurality of antennas 10, the received signal strength detecting module 20, the control module 30 and the online determining module 40, the wireless communication device 1a of the present invention further includes an operation parameter monitoring module 50 electrically connected to the control module 30, wherein the operation parameter monitoring module 50 monitors an operation parameter of the wireless communication device 1a, and when the operation parameter exceeds a predetermined threshold, the control module 30 sends a signal detecting instruction 31 to the received signal strength detecting module 20. It should be noted that the operation parameters may include an operation temperature of the wireless communication device 1a and/or a sum of current transmission traffic between the plurality of antennas 10 and the wireless router 100, and the predetermined threshold includes a temperature threshold and/or a current traffic threshold.
In the embodiment, the operation parameter monitoring module 50 monitors an operation temperature of the wireless communication device 1a through the temperature measuring module 51, and when the operation temperature of the wireless communication device 1a is higher than the temperature threshold, the control module 30 sends a signal detection command 31 to the received signal strength detecting module 20. Specifically, after the wireless communication device 1a is started, the temperature measuring module 51 starts to detect the operating temperature of the wireless communication device 1a, and if the temperature measuring module 51 detects that the operating temperature of the wireless communication device 1a is higher than the temperature threshold, which represents that the wireless communication device 1a is overheated, the operating temperature of the wireless communication device 1a is reduced through the antenna 10 of the turn-off portion. In order to reduce the operating temperature of the wireless communication device 1a, the control module 30 sends a signal detection command 31 to the received signal strength detection module 20, the received signal strength detection module 20 detects the signal transmission strength of each antenna 10, and then the control module 30 selects the antenna 10 with the strongest received signal strength from the received signal strengths as a main transmission antenna, and closes at least one other antenna 10 except the main transmission antenna, and performs signal connection with the wireless router 100 through the main transmission antenna, thereby reducing the power consumption of the wireless communication device 1a and solving the overheating condition of the wireless communication device 1 a. In a preferred embodiment, after the main transmitting antenna is selected, the other antennas 10 except the main transmitting antenna are turned off to achieve the best energy saving and power saving effects.
It should be noted that, in the embodiment, the temperature threshold is 45 degrees celsius, but the invention is not limited thereto, and the temperature threshold may be changed according to the actual use requirement. According to an embodiment of the present invention, the operation parameter monitoring module 50 can be configured as a hardware device, a software program, a firmware, or a combination thereof, and can be configured by a circuit loop or other suitable types and integrated on a control chip in the wireless communication device 1 a. The temperature measuring module 51 is constructed by a hardware or a combination of firmware and hardware, and is used for detecting the operating temperature of the wireless communication device 1 a.
Please refer to fig. 3 for a hardware architecture diagram of a third embodiment of the wireless communication device according to the present invention.
As shown in fig. 3, in the third embodiment, the operation parameter is a sum of current transmission flows between the antennas 10 of the wireless communication device 1b and the wireless router 100, the predetermined threshold is a current flow threshold, and when the sum of the current transmission flows of the wireless communication device 1b is higher than the current flow threshold, the control module 30 sends a signal detection instruction 31 to the received signal strength detection module 20.
In the present embodiment, as shown in fig. 3, the operation parameter monitoring module 50 includes a signal transmission flow measurement module 52 and a calculation module 53. The signal transmission flow measuring module 52 is electrically connected to each antenna 10, and the calculating module 53 is electrically connected to the signal transmission flow measuring module 52 and the control module 30. Specifically, after the wireless communication device 1b is started, the signal transmission flow measurement module 52 detects current transmission flows between the antennas 10 and the wireless router 100, and the calculation module 53 sums the current transmission flows, so as to obtain the current transmission flow sum between the wireless communication device 1b and the wireless router 100.
If the sum of the current transmission traffic exceeds a current traffic threshold, it indicates that a large amount of data transmission is being performed between the wireless communication device 1b and the wireless router 100, such as the transmission of image data between the wireless communication device 1b and the wireless router 100, and at this time, it means that the wireless communication device 1b consumes more power, therefore, the control module 30 sends a signal detection command 31 to the received signal strength detection module 20, the received signal strength detection module 20 detects the signal transmission strength of each antenna 10, and then the control module 30 selects the antenna 10 with the strongest received signal strength from the received signal strengths as the main transmission antenna, and turns off at least one antenna 10 except the main transmission antenna, and performs signal connection with the wireless router 100 by using the main transmission antenna, thereby reducing power consumption caused by turning on the plurality of antennas 10. Preferably, after the main transmitting antenna is selected, the other antennas 10 except the main transmitting antenna are turned off to achieve the best energy saving and power saving effect.
According to an embodiment of the present invention, the signal transmission flow measurement module 52 and the calculation module 53 are integrated on a control chip in the wireless communication device 1 b. It should be noted that, according to an embodiment of the present invention, when the wireless communication device 1 of the present invention is a wireless surveillance camera (IP CAM), the wireless surveillance camera (IP CAM) only needs 10Mbps of bandwidth for data transmission, so the antenna 10 with the strongest received signal strength can be reserved to perform the transmission task.
With continuing reference to fig. 1 and with further reference to fig. 4, a flowchart illustrating steps of a first embodiment of a method for controlling an antenna of a wireless communication device according to the present invention is shown.
The antenna control method of the wireless communication device of the present invention is applied to the wireless communication device 1 as shown in fig. 1, and the wireless communication device 1 is connected to a wireless router 100 by signals. As shown in fig. 4, the antenna control method of the wireless communication device of the present invention mainly includes steps S1 to S5. The respective steps of the first embodiment of the antenna control method of the wireless communication apparatus of the present invention will be described in detail below.
Step S1: a received signal strength between each antenna and the wireless router is detected.
As shown in fig. 1, when the wireless communication device 1 is started, the Received Signal Strength detection module 20 detects the Received Signal Strength (RSSI) between each antenna 10 and the wireless router 100, so as to obtain the Signal receiving status of each antenna 10 and each wireless router 100.
Step S2: selecting the antenna with the strongest received signal strength as a main transmitting antenna of the wireless communication device according to the received signal strengths.
The wireless communication device 1 selects the antenna 10 with the strongest received signal strength from the received signal strengths obtained in step S1 as a main transmitting antenna of the wireless communication device 1 through the control module 30, so as to ensure the transmission performance of the wireless communication device 1.
Step S3: at least one antenna other than the primary transmit antenna is turned off.
Step S4: the main transmission antenna is connected with the wireless router through signals.
Here, the steps S3 and S4 are performed simultaneously, the control module 30 selects the antenna 10 with the strongest received signal strength as a main transmitting antenna, so that the wireless communication device 1 is in signal connection with the wireless router 100 through the selected main transmitting antenna, and the control module 30 turns off at least one antenna 10 other than the main transmitting antenna, thereby reducing power consumption caused by turning on all the antennas 10 in the wireless communication device 1, and avoiding the situation of the wireless communication device 1 with excessively high operating temperature. It should be noted that, according to an embodiment of the present invention, if the wireless communication device 1 of the present invention is a wireless surveillance camera (IP CAM), since the bandwidth required for data transmission of the wireless surveillance camera (IP CAM) is only 10Mbps, only the antenna 10 (main transmission antenna) with the strongest received signal strength is reserved for connection with the wireless router 100, so as to perform the transmission task.
Step S5: and judging whether the main transmission antenna and the wireless router are disconnected.
Judging whether the connection between the main transmitting antenna and the wireless router 100 is interrupted by the connection judging module 40, if the connection judging module 40 judges that the connection between the wireless communication device 1 and the wireless router 100 is interrupted, the control module 30 sends a signal detection command 31 to the received signal strength detecting module 20, so as to re-execute the steps S1 to S4; if the connection determining module 40 determines that the connection between the wireless communication device 1 and the wireless router 100 is not interrupted, step S4 is executed continuously, that is, the wireless communication device 1 continues to be in signal connection with the wireless router 100 through the current main transmitting antenna.
With continuing reference to fig. 2 and with further reference to fig. 5, a flowchart illustrating steps of a second embodiment of a method for controlling an antenna of a wireless communication device according to the present invention is shown. As shown in fig. 5, the second embodiment of the wireless communication apparatus antenna control method of the present invention is different from the first embodiment in that, in the second embodiment, before step S1 is performed, the wireless communication apparatus antenna control method of the present invention further includes steps S11 to S13. The steps S11 to S13 will be described in detail below.
Step S11: the temperature measuring module detects an operating temperature of the wireless communication device.
After the wireless communication device 1a is started, the operation parameter monitoring module 50 monitors operation parameters of the wireless communication device 1a, where the operation parameters include an operation temperature of the wireless communication device 1a and/or a current transmission flow sum between the plurality of antennas 10 and the wireless router 100. In the embodiment, after the wireless communication device 1a is started, the operation parameter monitoring module 50 monitors the operation temperature of the wireless communication device 1a through the temperature measuring module 51.
Step S12: whether a temperature threshold is exceeded.
The operation parameter of the embodiment is the operation temperature of the wireless communication device, so the predetermined threshold is a temperature threshold. When the operating temperature of the wireless communication device 1a is higher than the temperature threshold, which represents that the wireless communication device 1a has an overheat condition, step S13 is executed; if the operating temperature is lower than the temperature threshold, which represents that the wireless communication device 1a is not overheated, the process continues to step S11, i.e. the temperature measurement module 51 continuously monitors an operating temperature of the wireless communication device 1 a. It should be noted that, in the embodiment, the temperature threshold is 45 degrees celsius, but the invention is not limited thereto, and the temperature threshold may be changed according to the use requirement.
Step S13: the control module sends a signal detection instruction to the received signal strength detection module.
If the operating temperature of the wireless communication device 1a is higher than a temperature threshold, which represents that the wireless communication device 1a is overheated, the power consumption of the wireless communication device 1a can be reduced by turning off part of the antenna 10. At this time, the control module 30 sends a signal detection command 31 to the rssi detection module 20 to execute steps S1 to S5, thereby reducing the power consumption of the wireless communication device 1a and solving the problem of the wireless communication device 1a overheating.
With continuing reference to fig. 3 and with further reference to fig. 6, a flowchart illustrating steps of a third embodiment of a method for controlling an antenna of a wireless communication device according to the present invention is shown. As shown in fig. 6, the third embodiment of the wireless communication device antenna control method of the present invention is different from the first embodiment in that, in the third embodiment, before step S1 is performed, the wireless communication device antenna control method of the present invention further includes step S11a, step S12a, step S12b, and step S13. The step S11a, the step S12a, the step S12b, and the step S13 will be described in detail below.
Step S11 a: a current transmission flow of each antenna is detected.
In the present embodiment, the operation parameter is a sum of current transmission flows between the plurality of antennas 10 of the wireless communication device 1b and the wireless router 100. After the wireless communication device 1b is started, the signal transmission flow measurement module 52 detects the current transmission flow between each antenna 10 and the wireless router 100.
Step S12 a: the calculation module calculates the current transmission flow sum of the current transmission flows of the antennas.
The calculating module 53 sums the current transmission flows to obtain the total current transmission flow between the wireless communication device 1b and the wireless router 100.
Step S12 b: whether the current flow threshold is exceeded.
Since the operation parameter of the present embodiment is the sum of the current transmission flows between the antennas 10 and the wireless router 100, the predetermined threshold is the current transmission flow threshold. When the sum of the current transmission traffic exceeds the current traffic threshold, which represents that a large amount of data transmission is being performed between the wireless communication device 1b and the wireless router 100, and the wireless communication device 1b is in a state with high power consumption, step S13 is executed; if the total current transmission traffic does not exceed the current traffic threshold, it represents that the wireless communication device 1b is operating normally, and then the step S11a is executed continuously. In this embodiment, the current traffic threshold is 5Mbps, but the present invention is not limited thereto, and the current traffic threshold may be changed according to the use requirement.
Step S13: the control module sends a signal detection instruction to the received signal strength detection module.
If the sum of the current transmission traffic exceeds the current traffic threshold, it indicates that a large amount of data transmission, such as video data transmission, is being performed between the wireless communication device 1b and the wireless router 100, and also indicates that the wireless communication device 1b consumes more power. At this time, the control module 30 sends a signal detection command 31 to the rssi detection module 20 to execute steps S1 to S5, thereby reducing power consumption of the wireless communication device 1b in mass data transmission.
The wireless communication devices 1, 1a, and 1b of the present invention utilize the characteristics of detecting the received signal strength of the antenna of the wireless communication device to select the main transmitting antenna and turn off at least one of the other antennas, so as to maintain the communication performance of the wireless communication devices 1, 1a, and 1b and achieve the purpose of saving the overall energy consumption of the wireless communication devices 1, 1a, and 1 b. Meanwhile, according to the determination characteristic whether the overall operating temperature of the wireless communication devices 1, 1a, 1b exceeds the temperature threshold, the remaining at least one antenna 10 is turned off after the main transmission antenna is selected, so that the power consumption of the wireless communication devices 1, 1a, 1b caused by turning on all the built-in antennas 10 is reduced, and the problem that the wireless communication devices 1, 1a, 1b are overheated is solved. Meanwhile, when the wireless communication devices 1, 1a, 1b transmit a large amount of data, the main transmission antenna is selected and then the remaining at least one antenna 10 is turned off, so as to maintain the data transmission efficiency and reduce the power consumption of the wireless communication devices 1, 1a, 1 b.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.