A CPE cellular antenna switching method and system
By implementing a multi-preset state switching method in the CPE device, the limitations of the cellular antenna selection and switching design of CPE devices in the prior art are solved according to the external antenna state and reference signal reception power, and a wider range of signal optimization applicable scenarios and higher signal quality are achieved.
Patent Information
- Application Number
- CN202410195801.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-22
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-02-22
AI Technical Summary
The cellular antenna selection and switching design of existing CPE equipment is limited, and it cannot flexibly adapt to customer needs in different application scenarios, resulting in limited signal quality optimization range.
By implementing a multi-preset state switching method in the CPE device, after connecting the power supply, first in the first preset state, after connecting to the network, the reference signal reception power is obtained, and based on the external antenna state, whether to switch to the second, third or fourth preset state, the optimal state is determined by comparing the reference signal reception power in different states.
The applicable scenarios of cellular antenna signal optimization solutions have been expanded, and the optimal signal optimization solutions can be selected according to different equipment and scenarios to improve signal quality and adaptability.
Smart Images

Figure CN118157717B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network communication technology, and in particular to a switching method and system for a CPE cellular antenna. Background Art
[0002] In the field of communications, CPE (Customer Premises Equipment) refers to network equipment or terminal equipment located at the user or customer's site. It is the interface between the user and the service provider's network, enabling the user to access the Internet or other communication services. From home networks to enterprise networks, it plays a vital role. CPE is both versatile and connected, integrating multiple functions such as routers, modems, and switches, providing connection options such as Ethernet, wireless, and telephone interfaces. It is also user-friendly and secure, protecting users and network security through a simple setup interface and security features. At the same time, it is scalable to adapt to different user needs and application scenarios.
[0003] In the prior art, the cellular antenna selection and switching design of CPE equipment generally includes the following three solutions: 1. Selection and switching between built-in omnidirectional antenna and built-in high-gain directional antenna; 2. Selection and switching between built-in omnidirectional antenna and external antenna; 3. Selection and switching between built-in high-gain directional antenna and external antenna. That is, a product can only use one or two of the external antenna, built-in high-gain directional antenna or built-in omnidirectional antenna to optimize signal quality, which has certain limitations and cannot flexibly adapt to customer needs in different application scenarios.
[0004] Therefore, a CPE solution for optimizing signal quality is needed to expand the selection and switching design range of CPE device cellular antennas, so as to expand the applicable scenarios of cellular antenna signal optimization solutions. Summary of the invention
[0005] The present invention provides a CPE cellular antenna switching method and system, which can expand the applicable scenarios of cellular antenna signal optimization solutions.
[0006] In order to solve the above technical problems, the present invention provides a CPE cellular antenna switching method and system, comprising the following steps:
[0007] When the CPE is connected to a power source, controlling the CPE to switch to a first preset state, and controlling the CPE to connect to a network, and obtaining a first reference signal receiving power;
[0008] Determining whether the CPE performs a second preset state switch according to the current external antenna state of the CPE;
[0009] If the CPE does not need to switch to the second preset state, control the CPE to switch to the third preset state and obtain the second reference signal received power, and control the CPE to switch to the fourth preset state and obtain the third reference signal received power;
[0010] Whether the CPE switches to a third preset state or a fourth preset state is determined according to the first reference signal received power, the second reference signal received power, and the third reference signal received power.
[0011] The present invention provides a switching method for a CPE cellular antenna. After the CPE is connected to a power source, it is first in a first preset state. After connecting to the network, it obtains the reference signal receiving power in the current state, and determines whether to switch to the second preset state according to the external antenna state. After confirming that it is not switched, the CPE is switched to the third preset state and the fourth preset state to obtain the reference signal receiving power in each state, and then determines whether the CPE switches to the third preset state or the fourth preset state according to the reference signal receiving power in the three states. Through the above method, the present invention can select different optimization schemes according to different devices, and can also optimize adaptive schemes according to signal data in different scenarios.
[0012] As a preferred example, judging whether the CPE switches between the third preset state and the fourth preset state according to the first reference signal received power, the second reference signal received power, and the third reference signal received power is specifically:
[0013] Determine the magnitude of the first reference signal received power, the second reference signal received power, and the third reference signal received power;
[0014] If the first reference signal receiving power is the largest, switching the current state of the CPE to a first preset state;
[0015] If the second reference signal receiving power is the largest, switching the current state of the CPE to a third preset state;
[0016] If the third reference signal receiving power is the largest, the current state of the CPE is switched to a fourth preset state.
[0017] In this preferred example, by comparing the reference signal receiving powers under three preset states, the reference signal receiving power being the largest proves that the signal under this state is the best, and then switching to the state with the largest reference signal receiving power has achieved optimization.
[0018] As a preferred example, when the CPE is connected to a power source, the CPE is controlled to switch to a first preset state, and the CPE is controlled to connect to the Internet, specifically:
[0019] When the current power state of the CPE is powered on, controlling the CPE to switch to a first preset state;
[0020] The CPE is controlled to dial, if the dialing is successful, the CPE is connected to the network, if the dialing fails, the dialing is repeated until the CPE is connected to the network.
[0021] In this preferred example, the CPE is switched to a first preset state and a call is made to the CPE. If the call fails, the call is repeated until the call is successful and the CPE is connected to the network, so as to subsequently obtain the reference signal receiving power.
[0022] As a preferred example, judging whether the CPE performs a second preset state switch according to the current external antenna state of the CPE is specifically:
[0023] If the CPE is currently connected to an external antenna, the current state of the CPE is switched to a second preset state;
[0024] If the CPE is not currently connected to the external antenna, the CPE does not need to switch to the second preset state.
[0025] This preferred example determines the current external antenna status of the CPE. When the CPE is connected to the external antenna, the CPE status is switched to the second preset state first. If the CPE is not connected to the external antenna, it is not necessary and the solution can be optimized and adjusted according to the device status.
[0026] As a preferred example, if the CPE is currently connected to an external antenna, the current state of the CPE is switched to a second preset state, further comprising:
[0027] When the current state of the CPE is in the second preset state, determining the current state of the external antenna;
[0028] If the external antenna is currently connected to the CPE, controlling the current state of the CPE to be in a second preset state;
[0029] If the external antenna is not currently connected to the CPE, the current state of the CPE is controlled to be in the first preset state, and whether the CPE switches to the third preset state or the fourth preset state is determined based on the first reference signal received power, the second reference signal received power and the third reference signal received power.
[0030] This preferred example determines the state of the external antenna when the current state of the CPE is in the second preset state. If it is still connected, the current state is maintained. If it is not connected, the state is switched in time and the state is switched according to the reference signal receiving power. The plan can be optimized and adjusted according to the changes in the device state at any time, and after the device state is changed, an adaptive plan is optimized according to the signal data in the scenario.
[0031] The present invention also provides a switching system for a CPE cellular antenna, comprising a networking module, a first judgment module, an acquisition module, and a second judgment module;
[0032] The networking module is used to control the CPE to switch to a first preset state when the CPE is connected to a power source, and to control the CPE to connect to the network and obtain a first reference signal receiving power;
[0033] The first judgment module is used to judge whether the CPE switches to the second preset state according to the current external antenna state of the CPE;
[0034] The acquisition module is used to control the CPE to switch to the third preset state and obtain the second reference signal received power if the CPE does not need to switch to the second preset state, and control the CPE to switch to the fourth preset state and obtain the third reference signal received power;
[0035] The second judgment module is used to judge whether the CPE is switched to a third preset state or a fourth preset state according to the first reference signal received power, the second reference signal received power and the third reference signal received power.
[0036] The present invention provides a switching system for a CPE cellular antenna, which is composed of a networking module, a first judgment module, an acquisition module, and a second judgment module. After the CPE is connected to a power source, it can be in a first preset state first, obtain the reference signal receiving power in the current state after networking, and judge whether to switch to the second preset state according to the external antenna state. After confirming that it is not switched, the CPE is switched to the third preset state and the fourth preset state to obtain the reference signal receiving power in each state, and then judge whether the CPE switches to the third preset state or the fourth preset state according to the reference signal receiving power in the three states. Through the above method, the present invention can select different optimization schemes according to different devices, and can also optimize adaptive schemes according to signal data in different scenarios.
[0037] As a preferred example, the second judgment module includes a first unit, a second unit, a third unit and a fourth unit;
[0038] The first unit is used to determine the magnitude of the first reference signal received power, the second reference signal received power and the third reference signal received power;
[0039] The second unit is used to switch the current state of the CPE to a first preset state if the first reference signal receiving power is the largest;
[0040] The third unit is used to switch the current state of the CPE to a third preset state if the second reference signal receiving power is the largest;
[0041] The fourth unit is configured to switch the current state of the CPE to a fourth preset state if the third reference signal receiving power is the largest.
[0042] In this preferred example, by comparing the reference signal receiving powers under three preset states, the reference signal receiving power being the largest proves that the signal under this state is the best, and then switching to the state with the largest reference signal receiving power has achieved optimization.
[0043] As a preferred example, the networking module includes a fifth unit and a sixth unit;
[0044] The fifth unit is used for controlling the CPE to switch to a first preset state when the current power state of the CPE is powered on;
[0045] The sixth unit is used to control the CPE to dial up. If the dialing is successful, the CPE is connected to the network. If the dialing fails, the dialing is repeated until the CPE is connected to the network.
[0046] In this preferred example, the CPE is switched to a first preset state and a call is made to the CPE. If the call fails, the call is repeated until the call is successful and the CPE is connected to the network, so as to subsequently obtain the reference signal receiving power.
[0047] As a preferred example, the first judgment module includes a seventh unit and an eighth unit;
[0048] The seventh unit is used for switching the current state of the CPE to a second preset state if the CPE is currently connected to an external antenna;
[0049] The eighth unit is used for preventing the CPE from switching to the second preset state if the CPE is not currently connected to the external antenna.
[0050] This preferred example determines the current external antenna status of the CPE. When the CPE is connected to the external antenna, the CPE status is switched to the second preset state first. If the CPE is not connected to the external antenna, it is not necessary and the solution can be optimized and adjusted according to the device status.
[0051] As a preferred example, the seventh unit includes a first subunit, a second subunit and a third subunit;
[0052] The first subunit is used to determine the current state of the external antenna when the current state of the CPE is in the second preset state;
[0053] The second subunit is used to control the current state of the CPE to be in a second preset state if the external antenna is currently connected to the CPE;
[0054] The third subunit is used to control the current state of the CPE to be in the first preset state if the external antenna is not currently connected to the CPE, and to determine whether the CPE switches to the third preset state or the fourth preset state according to the first reference signal received power, the second reference signal received power and the third reference signal received power.
[0055] This preferred example determines the state of the external antenna when the current state of the CPE is in the second preset state. If it is still connected, the current state is maintained. If it is not connected, the state is switched in time and the state is switched according to the reference signal receiving power. The plan can be optimized and adjusted according to the changes in the device state at any time, and after the device state is changed, an adaptive plan is optimized according to the signal data in the scenario.
[0056] The present invention provides a switching method and system for a CPE cellular antenna, which controls the CPE to be in a first preset state after connecting to a power source, obtains a reference signal receiving power in the current state after connecting to the network, and determines whether to switch to a second preset state according to the state of an external antenna, and switches the CPE to a third preset state and a fourth preset state after confirming that it is not switched, respectively, to obtain the reference signal receiving power in each state, and then determines whether the CPE switches to the third preset state or the fourth preset state according to the reference signal receiving power in the three states. Through the above method, the present invention can select different optimization schemes according to different devices, and can also optimize adaptive schemes according to signal data in different scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 It is a method flow chart of a CPE cellular antenna switching method according to a certain embodiment of the present invention;
[0058] Figure 2 It is a device principle block diagram of a CPE cellular antenna switching method and system according to a certain embodiment of the present invention;
[0059] Figure 3 It is a principle block diagram of a cellular antenna switching module of a CPE cellular antenna switching method and system provided in a certain embodiment of the present invention;
[0060] Figure 4 A switching method for a CPE cellular antenna and an external antenna detection circuit of the system according to an embodiment of the present invention;
[0061] Figure 5 The present invention provides a CPE cellular antenna switching method and system antenna selection and switching logic flow chart of an embodiment of the present invention. DETAILED DESCRIPTION
[0062] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0063] The embodiment of the present invention provides a time difference compensation method for ultrasonic flow detection, which can realize accurate detection of ultrasonic changes in sampling time.
[0064] Explanation of the professional terms that appear in the article:
[0065] Reference Signal Receiving Power (RSRP) is a key parameter that can represent the strength of wireless signals in cellular networks, and its unit is dBm, where dBm is a quantity that represents absolute power.
[0066] Embodiment 1
[0067] See also Figure 1 In one embodiment of the present invention, there is provided Figure 1 The method flow chart of a switching method of a CPE cellular antenna shown in FIG. 1 includes the following steps:
[0068] S1. When the CPE is connected to a power source, control the CPE to switch to a first preset state, control the CPE to connect to the Internet, and obtain a first reference signal receiving power;
[0069] S2. Determine whether the CPE switches to a second preset state according to the current external antenna state of the CPE;
[0070] S3. If the CPE does not need to switch to the second preset state, control the CPE to switch to the third preset state and obtain the second reference signal received power, and control the CPE to switch to the fourth preset state and obtain the third reference signal received power;
[0071] S4. Determine whether the CPE switches to a third preset state or a fourth preset state according to the first reference signal received power, the second reference signal received power, and the third reference signal received power.
[0072] The present invention is first in the first preset state after the CPE is connected to the power supply, obtains the reference signal receiving power in the current state after networking, and determines whether to switch to the second preset state according to the external antenna state, and switches the CPE to the third preset state and the fourth preset state after confirming that it is not switched, respectively, to obtain the reference signal receiving power in each state, and then determines whether the CPE switches to the third preset state or the fourth preset state according to the reference signal receiving power in the three states. Through the above method, the present invention can select different optimization schemes according to different devices, and can also optimize adaptive schemes according to signal data in different scenarios.
[0073] In the embodiment of the present invention, judging whether the CPE switches between the third preset state and the fourth preset state according to the first reference signal received power, the second reference signal received power, and the third reference signal received power is specifically:
[0074] Determine the magnitude of the first reference signal received power, the second reference signal received power, and the third reference signal received power;
[0075] If the first reference signal receiving power is the largest, switching the current state of the CPE to a first preset state;
[0076] If the second reference signal receiving power is the largest, switching the current state of the CPE to a third preset state;
[0077] If the third reference signal receiving power is the largest, the current state of the CPE is switched to a fourth preset state.
[0078] The embodiment of the present invention compares the reference signal received powers under three preset states. The maximum reference signal received power proves that the signal under this state is the best. Then, the optimization is achieved by switching to the state with the maximum reference signal received power.
[0079] In the embodiment of the present invention, when the CPE is connected to a power source, controlling the CPE to switch to a first preset state and controlling the CPE to connect to the Internet is specifically:
[0080] When the current power state of the CPE is powered on, controlling the CPE to switch to a first preset state;
[0081] The CPE is controlled to dial, if the dialing is successful, the CPE is connected to the network, if the dialing fails, the dialing is repeated until the CPE is connected to the network.
[0082] In the embodiment of the present invention, the CPE is switched to a first preset state and dialed for the CPE. If the dialing fails, the dialing is repeated until the dialing succeeds and the CPE is connected to the network, so as to subsequently obtain the reference signal receiving power.
[0083] In the embodiment of the present invention, judging whether the CPE performs a second preset state switch according to the current external antenna state of the CPE is specifically:
[0084] If the CPE is currently connected to an external antenna, the current state of the CPE is switched to a second preset state;
[0085] If the CPE is not currently connected to the external antenna, the CPE does not need to switch to the second preset state.
[0086] The embodiment of the present invention determines the current external antenna state of the CPE. When the CPE is connected to the external antenna, the CPE state is preferentially switched to the second preset state. If the CPE is not connected to the external antenna, this is not necessary. The solution can be optimized and adjusted according to the device state.
[0087] In the embodiment of the present invention, if the CPE is currently connected to the external antenna, the current state of the CPE is switched to the second preset state, further comprising:
[0088] When the current state of the CPE is in the second preset state, determining the current state of the external antenna;
[0089] If the external antenna is currently connected to the CPE, controlling the current state of the CPE to be in a second preset state;
[0090] If the external antenna is not currently connected to the CPE, the current state of the CPE is controlled to be in the first preset state, and whether the CPE switches to the third preset state or the fourth preset state is determined based on the first reference signal received power, the second reference signal received power and the third reference signal received power.
[0091] The embodiment of the present invention determines the state of the external antenna when the current state of the CPE is in the second preset state. If it is still connected, the current state is maintained. If it is not connected, the state is switched in time and the state is switched according to the reference signal receiving power. The solution can be optimized and adjusted according to the change of the device state at any time, and an adaptive solution can be optimized according to the signal data in the scenario after the device state is changed.
[0092] The present invention also provides a switching system for a CPE cellular antenna, comprising a networking module, a first judgment module, an acquisition module, and a second judgment module;
[0093] The networking module is used to control the CPE to switch to a first preset state when the CPE is connected to a power source, and to control the CPE to connect to the network and obtain a first reference signal receiving power;
[0094] The first judgment module is used to judge whether the CPE switches to the second preset state according to the current external antenna state of the CPE;
[0095] The acquisition module is used to control the CPE to switch to the third preset state and obtain the second reference signal received power if the CPE does not need to switch to the second preset state, and control the CPE to switch to the fourth preset state and obtain the third reference signal received power;
[0096] The second judgment module is used to judge whether the CPE is switched to a third preset state or a fourth preset state according to the first reference signal received power, the second reference signal received power and the third reference signal received power.
[0097] The present invention provides a switching system for a CPE cellular antenna, which is composed of a networking module, a first judgment module, an acquisition module, and a second judgment module. After the CPE is connected to a power source, it can be in a first preset state first, obtain the reference signal receiving power in the current state after networking, and judge whether to switch to the second preset state according to the external antenna state. After confirming that it is not switched, the CPE is switched to the third preset state and the fourth preset state to obtain the reference signal receiving power in each state, and then judge whether the CPE switches to the third preset state or the fourth preset state according to the reference signal receiving power in the three states. Through the above method, the present invention can select different optimization schemes according to different devices, and can also optimize adaptive schemes according to signal data in different scenarios.
[0098] In the embodiment of the present invention, the second judgment module includes a first unit, a second unit, a third unit and a fourth unit;
[0099] The first unit is used to determine the magnitude of the first reference signal received power, the second reference signal received power and the third reference signal received power;
[0100] The second unit is used to switch the current state of the CPE to a first preset state if the first reference signal receiving power is the largest;
[0101] The third unit is used to switch the current state of the CPE to a third preset state if the second reference signal receiving power is the largest;
[0102] The fourth unit is configured to switch the current state of the CPE to a fourth preset state if the third reference signal receiving power is the largest.
[0103] The embodiment of the present invention compares the reference signal received powers under three preset states. The maximum reference signal received power proves that the signal under this state is the best. Then, the optimization is achieved by switching to the state with the maximum reference signal received power.
[0104] In an embodiment of the present invention, the networking module includes a fifth unit and a sixth unit;
[0105] The fifth unit is used for controlling the CPE to switch to a first preset state when the current power state of the CPE is powered on;
[0106] The sixth unit is used to control the CPE to dial up. If the dialing is successful, the CPE is connected to the network. If the dialing fails, the dialing is repeated until the CPE is connected to the network.
[0107] In the embodiment of the present invention, the CPE is switched to a first preset state and dialed for the CPE. If the dialing fails, the dialing is repeated until the dialing succeeds and the CPE is connected to the network, so as to subsequently obtain the reference signal receiving power.
[0108] In the embodiment of the present invention, the first determination module includes a seventh unit and an eighth unit;
[0109] The seventh unit is used for switching the current state of the CPE to a second preset state if the CPE is currently connected to an external antenna;
[0110] The eighth unit is used for preventing the CPE from switching to the second preset state if the CPE is not currently connected to the external antenna.
[0111] The embodiment of the present invention determines the current external antenna state of the CPE. When the CPE is connected to the external antenna, the CPE state is preferentially switched to the second preset state. If the CPE is not connected to the external antenna, this is not necessary. The solution can be optimized and adjusted according to the device state.
[0112] In the embodiment of the present invention, the seventh unit includes a first subunit, a second subunit and a third subunit;
[0113] The first subunit is used to determine the current state of the external antenna when the current state of the CPE is in the second preset state;
[0114] The second subunit is used to control the current state of the CPE to be in a second preset state if the external antenna is currently connected to the CPE;
[0115] The third subunit is used to control the current state of the CPE to be in the first preset state if the external antenna is not currently connected to the CPE, and to determine whether the CPE switches to the third preset state or the fourth preset state according to the first reference signal received power, the second reference signal received power and the third reference signal received power.
[0116] The embodiment of the present invention determines the state of the external antenna when the current state of the CPE is in the second preset state. If it is still connected, the current state is maintained. If it is not connected, the state is switched in time and the state is switched according to the reference signal receiving power. The solution can be optimized and adjusted according to the change of the device state at any time, and an adaptive solution can be optimized according to the signal data in the scenario after the device state is changed.
[0117] The present invention provides a switching method and system for a CPE cellular antenna, which controls the CPE to be in a first preset state after connecting to a power source, obtains a reference signal receiving power in the current state after connecting to the network, and determines whether to switch to a second preset state according to the state of an external antenna, and switches the CPE to a third preset state and a fourth preset state after confirming that it is not switched, respectively, to obtain the reference signal receiving power in each state, and then determines whether the CPE switches to the third preset state or the fourth preset state according to the reference signal receiving power in the three states. Through the above method, the present invention can select different optimization schemes according to different devices, and can also optimize adaptive schemes according to signal data in different scenarios.
[0118] Embodiment 2
[0119] See also Figure 2 , provides a CPE cellular antenna switching method and system device principle block diagram, as shown in the figure, the CPE device mainly includes a cellular wireless communication module with an integrated processor, a WIFI module and a WIFI antenna, a wired network port module, a cellular antenna switching module, a built-in high-gain directional and omnidirectional and external cellular antenna, and an external antenna detection circuit.
[0120] In an embodiment of the present invention, the switching method of the CPE device is specifically as follows:
[0121] (1) After the device is connected to a power source, the cellular antenna is first switched to the internal omnidirectional cellular antenna state. Compared with the internal antenna, the external antenna usually has a stronger signal. In order to more effectively capture and send wireless signals and provide a stronger signal and a more stable connection, when it is detected that the device is equipped with an external antenna, the external antenna is used first, that is, the cellular antenna is switched to the external cellular antenna state.
[0122] (2) When it is detected that the device is not equipped with an external antenna, the current state of the built-in omnidirectional cellular antenna is maintained. The omnidirectional antenna shows uniform radiation at 360° in the horizontal direction diagram. Its characteristic is that it is non-directional. The antenna will transmit and receive signals in all directions, with a wide coverage range. At the same time, the reference signal receiving power of the current state of the built-in omnidirectional cellular antenna is collected.
[0123] (3) A directional antenna is an antenna that transmits and receives electromagnetic waves particularly strongly in one or several specific directions, while transmitting and receiving electromagnetic waves in other directions is zero or extremely small. It is characterized by strong directivity and large directional gain. Built-in high-gain directional antennas are divided into: built-in front directional antennas and built-in rear directional antennas. Since omnidirectional antennas cannot replace directional antennas, after collecting the reference signal receiving power of the built-in omnidirectional cellular antenna state, the cellular antenna is switched to the built-in front directional antenna state and the built-in rear directional antenna state, and the reference signal receiving power of the cellular antenna in the built-in front directional antenna state and the built-in rear directional antenna state is collected respectively.
[0124] (4) Compare and determine the reference signal receiving power of the cellular antenna in the state of the built-in omnidirectional cellular antenna, the state of the built-in front directional antenna, and the state of the built-in rear directional antenna, and select the reference signal receiving power with the maximum value, which means that the signal reception in this state is optimal. When the device is working normally, the front directional antenna is usually installed in the front of the device, and the rear directional antenna is usually installed in the back of the device. In the absence of an external antenna, when the front of the device faces the base station, theoretically the front directional antenna receives the strongest base station signal, and the device should use the front directional antenna; when the back of the device faces the base station, theoretically the rear directional antenna receives the strongest base station signal, and the device should use the rear directional antenna. When the left and right sides of the device face the base station, theoretically the built-in omnidirectional antenna receives the strongest base station signal, and the device should use the built-in omnidirectional antenna. When the device is placed at other angles facing the base station, the intelligent antenna switching algorithm is used to select the optimal signal antenna group for use.
[0125] See also Figure 3 , provides a switching method of a CPE cellular antenna and a principle block diagram of a cellular antenna switching module of the system. As shown in the figure, in this embodiment of the invention, the actual device of the CPE system has a total of 8 cellular antenna interfaces: ANT0, ANT1, ANT2, ANT3, ANT4, ANT5, ANT6, ANT7. Among them, the high-frequency main ports ANT0 and ANT6 need to be compatible with the built-in omnidirectional antenna, the built-in front and rear directional antenna, and the external antenna. The remaining cellular antenna interfaces use built-in omnidirectional antennas.
[0126] After compatible design, the cellular antenna classification is summarized as follows:
[0127] (1) 8 built-in omnidirectional antennas: ANT0, ANT1, ANT2, ANT3, ANT4, ANT5, ANT6, ANT7;
[0128] (2) Four built-in directional antennas: ANT0 built-in front directional, ANT0 built-in rear directional, ANT6 built-in front directional, ANT6 built-in rear directional;
[0129] (3) Two external antennas: ANT0 external antenna and ANT6 external antenna.
[0130] Among them, ANT0 can be switched to any one of the paths of ANT0 built-in omnidirectional antenna, ANT0 built-in front directional antenna, ANT0 built-in rear directional antenna, and ANT0 external antenna through RF switch 1.
[0131] ANT6 can be switched to any of the following channels through RF switch 2: ANT6 built-in omnidirectional antenna, ANT6 built-in front directional antenna, ANT6 built-in rear directional antenna, and ANT6 external antenna.
[0132] See also Figure 4 , provides a CPE cellular antenna switching method and an external antenna detection circuit of the system, the external antenna detection circuit is used to detect whether the external antenna is inserted. In this embodiment of the present invention, there are 2 external antennas, namely, ANT0 external antenna and ANT6 external antenna. Figure 4 X1 is the RF interface for the ANT0 external antenna, which is the RF on / off connector of the TS-9 interface. EXT_ANT0 is connected to the 1-to-4 RF switch 1. X2 is the RF interface for the ANT6 external antenna, which is the RF on / off connector of the TS-9 interface. EXT_ANT6 is connected to the 1-to-4 RF switch 2.
[0133] Taking the ANT0 external antenna as an example (the detection principle of the ANT6 external antenna is the same as that of the ANT0 external antenna), the detection principle is as follows:
[0134] (1) When the external antenna is not plugged into the switch connector X1, its RF1 (pin 1) and RF2 (pin 2) are connected. The CPU_EXT_ANT0_DETECT network is grounded through X1 and inductor L1 and is at a low level.
[0135] (2) When an external antenna is inserted into the switch connector X1, its RF1 (pin 1) and RF2 (pin 2) are disconnected. The CPU_EXT_ANT0_DETECT network is connected to the VCC_1V8 power supply through resistor R1 and is at a high level.
[0136] The cellular wireless communication module of the integrated processor determines whether the external antenna is inserted by judging the level state of the CPU_EXT_ANT0_DETECT network. When the detection is a high level, it proves that the external antenna is inserted; when the detection is a low level, it proves that the external antenna is not inserted.
[0137] Embodiment 3
[0138] See also Figure 5, provides a CPE cellular antenna switching method and a system antenna selection and switching logic flow chart. In this embodiment of the present invention, the specific switching flow chart and logic of the CPE cellular antenna switching module are as follows:
[0139] (1) After connecting the power supply, switch to the built-in omnidirectional antenna (ANT0 switches to ANT0 built-in omnidirectional antenna, ANT6 switches to ANT6 built-in omnidirectional antenna), and dial. If the dialing is successful, the device will remain connected to the network.
[0140] (2) If the dialing fails, try to dial again until the dialing is successful, and then keep the device connected to the Internet. The reason for the dialing failure may be unstable local mobile cellular signals, and the staff can make targeted adjustments.
[0141] (3) Determine whether an external antenna is inserted. If an external antenna is inserted, switch to the external antenna (ANT0 switches to the ANT0 external antenna, ANT6 switches to the ANT6 external antenna); if there is no external antenna, keep omnidirectional first (ANT0 switches to the ANT0 built-in omnidirectional antenna, ANT6 switches to the ANT6 built-in omnidirectional antenna), then switch to the directional antenna (ANT0 switches to the ANT0 built-in front directional antenna, ANT6 switches to the ANT6 built-in rear directional antenna), the processor reads the RSRP value of the cellular wireless signal received by the antenna (read the RSRP of ANT0 switching to the ANT0 built-in omnidirectional antenna and ANT6 switching to the ANT6 built-in omnidirectional antenna 5 times, 1 time / s, and take the average value; read the RSRP of ANT0 switching to the ANT0 built-in front directional antenna and ANT6 switching to the ANT6 built-in rear directional antenna 5 times, 1 time / s, and take the average value). Intelligent antenna switching is performed according to the RSRP value. If the RSRP value of the built-in omnidirectional antenna is the largest, it will eventually switch to the built-in omnidirectional antenna (ANT0 switches to the ANT0 built-in omnidirectional antenna, and ANT6 switches to the ANT6 built-in omnidirectional antenna); if the RSRP value of the built-in front directional antenna is the largest, it will eventually switch to the built-in front directional antenna (ANT0 switches to the ANT0 built-in front directional antenna, and ANT6 switches to the ANT6 built-in front directional antenna); if the RSRP value of the built-in rear directional antenna is the largest, it will eventually switch to the built-in rear directional antenna (ANT0 switches to the ANT0 built-in rear directional antenna, and ANT6 switches to the ANT6 built-in rear directional antenna).
[0142] Since the signal strength of multiple antenna groups in the device is different in different environments, the intelligent antenna switching circuit is used to ensure that the device ultimately uses the antenna group with the strongest signal to improve the wireless performance of the device.
[0143] (4) If there is an external antenna, after switching to the external antenna (ANT0 switches to the ANT0 external antenna, ANT6 switches to the ANT6 external antenna), it is periodically determined whether the external antenna has been removed, that is, whether the device has been changed. If the external antenna has been removed, it is switched back to the internal antenna according to the power-on default (ANT0 switches to the ANT0 internal omnidirectional antenna, ANT6 switches to the ANT6 internal omnidirectional antenna) and the determination is made again; if the external antenna has not been removed, it remains switched to the external antenna (ANT0 switches to the ANT0 external antenna, ANT6 switches to the ANT6 external antenna).
[0144] The present invention provides a switching method and system for a CPE cellular antenna, which controls the CPE to be in a first preset state after connecting to a power source, obtains a reference signal receiving power in the current state after connecting to the network, and determines whether to switch to a second preset state according to the state of an external antenna, and switches the CPE to a third preset state and a fourth preset state after confirming that it is not switched, respectively, to obtain the reference signal receiving power in each state, and then determines whether the CPE switches to the third preset state or the fourth preset state according to the reference signal receiving power in the three states. Through the above method, the present invention can select different optimization schemes according to different devices, and can also optimize adaptive schemes according to signal data in different scenarios.
[0145] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for switching a CPE cellular antenna, characterized in that: The following steps are involved: When the CPE is connected to a power source, controlling the CPE to switch to a first preset state, and controlling the CPE to connect to a network, and obtaining a first reference signal receiving power; Determining whether the CPE performs a second preset state switch according to the current external antenna state of the CPE; If the CPE does not need to switch to the second preset state, control the CPE to switch to the third preset state and obtain the second reference signal received power, and control the CPE to switch to the fourth preset state and obtain the third reference signal received power; Determining whether the CPE switches to a third preset state or a fourth preset state according to the first reference signal received power, the second reference signal received power, and the third reference signal received power; The determining whether the CPE performs a second preset state switch according to the current external antenna state of the CPE is specifically: If the CPE is currently connected to an external antenna, the current state of the CPE is switched to a second preset state; If the CPE is not currently connected to the external antenna, the CPE does not need to switch to the second preset state; When the current state of the CPE is in the second preset state, determining the current state of the external antenna; If the external antenna is currently connected to the CPE, controlling the current state of the CPE to be in a second preset state; If the external antenna is not currently connected to the CPE, the current state of the CPE is controlled to be in the first preset state, and whether the CPE switches to the third preset state or the fourth preset state is determined based on the first reference signal received power, the second reference signal received power and the third reference signal received power.
2. A CPE cellular antenna switching method according to claim 1, characterized in that: The determining whether the CPE switches between the third preset state and the fourth preset state according to the first reference signal received power, the second reference signal received power, and the third reference signal received power is specifically: Determine the magnitude of the first reference signal received power, the second reference signal received power, and the third reference signal received power; If the first reference signal receiving power is the largest, switching the current state of the CPE to a first preset state; If the second reference signal receiving power is the largest, switching the current state of the CPE to a third preset state; If the third reference signal receiving power is the largest, the current state of the CPE is switched to a fourth preset state.
3. A CPE cellular antenna switching method according to claim 1, characterized in that: When the CPE is connected to a power source, the CPE is controlled to switch to a first preset state, and the CPE is controlled to connect to a network, specifically: When the current power state of the CPE is powered on, controlling the CPE to switch to a first preset state; The CPE is controlled to dial, if the dialing is successful, the CPE is connected to the network, if the dialing fails, the dialing is repeated until the CPE is connected to the network.
4. A switching system for a CPE cellular antenna, characterized in that: It includes a networking module, a first judging module, an acquiring module and a second judging module; The networking module is used to control the CPE to switch to a first preset state when the CPE is connected to a power source, and to control the CPE to connect to the network and obtain a first reference signal receiving power; The first judgment module is used to judge whether the CPE switches to the second preset state according to the current external antenna state of the CPE; The acquisition module is used to control the CPE to switch to the third preset state and obtain the second reference signal received power if the CPE does not need to switch to the second preset state, and control the CPE to switch to the fourth preset state and obtain the third reference signal received power; The second judgment module is used to judge whether the CPE switches to the third preset state or the fourth preset state according to the first reference signal received power, the second reference signal received power and the third reference signal received power; Among them, the first judgment module includes a seventh unit and an eighth unit; the seventh unit is used to switch the current state of the CPE to the second preset state if the CPE is currently connected to the external antenna; the eighth unit is used to prevent the CPE from switching to the second preset state if the CPE is not currently connected to the external antenna; the seventh unit includes a first subunit, a second subunit and a third subunit; the first subunit is used to judge the current state of the external antenna when the current state of the CPE is in the second preset state; the second subunit is used to control the current state of the CPE to be in the second preset state if the external antenna is currently connected to the CPE; the third subunit is used to control the current state of the CPE to be in the first preset state if the external antenna is not currently connected to the CPE, and judge whether the CPE switches to the third preset state or the fourth preset state according to the first reference signal received power, the second reference signal received power and the third reference signal received power.
5. A CPE cellular antenna switching system according to claim 4, characterized in that: The second judgment module includes a first unit, a second unit, a third unit and a fourth unit; The first unit is used to determine the first reference signal received power, the second reference signal received power and the third reference signal received power; The second unit is used to switch the current state of the CPE to a first preset state if the first reference signal receiving power is the largest; The third unit is used to switch the current state of the CPE to a third preset state if the second reference signal receiving power is the largest; The fourth unit is configured to switch the current state of the CPE to a fourth preset state if the third reference signal receiving power is the largest.
6. A CPE cellular antenna switching system according to claim 4, characterized in that: The networking module includes a fifth unit and a sixth unit; The fifth unit is used for controlling the CPE to switch to a first preset state when the current power state of the CPE is powered on; The sixth unit is used to control the CPE to dial up. If the dialing is successful, the CPE is connected to the network. If the dialing fails, the dialing is repeated until the CPE is connected to the network.
Citation Information
Patent Citations
Apparatus and method for switching antenna, wireless terminal
CN101330323A
Antenna selection method and related product
CN111277294A