Antenna switching method and apparatus, electronic device, and storage medium
By monitoring the scheduling layer of network devices and switching the number of antennas, the problem of data demodulation failure caused by the reduction of the number of receiving antennas in terminal devices was solved, ensuring the normal operation of data services.
Patent Information
- Application Number
- CN202210928122.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-03
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-08-03
AI Technical Summary
If the terminal device reduces the number of receiving antennas to receive downlink data without affecting data services, it may be unable to demodulate downlink data, thus affecting the user's data services.
By monitoring the scheduling layer number configured on the network equipment in the serving cell where the terminal device is located, and switching the number of antennas to a higher number of receiving antennas when the scheduling layer number is greater than the number of receiving antennas, the normal operation of data services is ensured to match the scheduling layer number of the network equipment.
This effectively avoids data demodulation failures caused by a mismatch between the number of scheduling layers and the number of receiving antennas, ensuring the normal operation of data services.
Smart Images

Figure CN115361047B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, and in particular to an antenna switching method and device, an electronic device, and a storage medium. BACKGROUND
[0002] In related technologies, a terminal device usually reduces the number of receiving antennas for receiving downlink data to reduce the power consumption of the terminal device without affecting normal data services. However, after the terminal device reduces the number of receiving antennas for receiving downlink data, the lower number of receiving antennas for receiving downlink data may cause the terminal device to be unable to demodulate the downlink data, thereby affecting the data service being performed by a user. SUMMARY
[0003] The present application provides an antenna switching method and device, an electronic device, and a storage medium to ensure normal data services.
[0004] An embodiment of the present application provides an antenna switching method, including:
[0005] determining a first number of receiving antennas used by a terminal device;
[0006] monitoring a number of scheduling layers configured by a network device of a serving cell in which the terminal device is located;
[0007] switching the number of antennas of the terminal device from the first number of receiving antennas to a second number of receiving antennas in a case where the number of scheduling layers monitored is greater than the first number of receiving antennas, wherein the second number of receiving antennas is greater than the first number of receiving antennas.
[0008] Optionally, the switching of the terminal device from the first number of receiving antennas to the second number of receiving antennas in the case where the number of scheduling layers monitored is greater than the first number of receiving antennas includes:
[0009] continuing to monitor the total number of configurations of the number of scheduling layers configured by the network device and the number of target configurations of the number of scheduling layers greater than the first number of receiving antennas in each configuration in a statistical period in a case where the number of scheduling layers monitored is greater than the first number of receiving antennas for the first time;
[0010] switching the terminal device from the first number of receiving antennas to the second number of receiving antennas in a case where the ratio of the number of target configurations to the total number of configurations is greater than a proportion threshold.
[0011] Optionally, the method further includes:
[0012] continuing to receive data by using receiving antennas corresponding to the first number of receiving antennas in a case where the ratio of the number of target configurations to the total number of configurations is less than or equal to the proportion threshold.
[0013] Optionally, after switching the terminal device from the first number of receiving antennas to a second number of receiving antennas in the case that the monitored number of scheduling layers is greater than the first number of receiving antennas, the method further comprises:
[0014] monitoring a number of times that the network device configures a number of scheduling layers greater than the first number of receiving antennas within a set time period;
[0015] in the case that the number of times monitored within the set time period is greater than a threshold number of times, continuing to receive data using receiving antennas conforming to the second number of receiving antennas.
[0016] Optionally, the method further comprises:
[0017] in the case that the number of times monitored within the set time period is less than or equal to the threshold number of times, querying whether a service currently being executed requires the second number of receiving antennas;
[0018] in the case that the service currently being executed requires the second number of receiving antennas, continuing to receive data using receiving antennas conforming to the second number of receiving antennas;
[0019] in the case that the service currently being executed does not require the second number of receiving antennas, switching the terminal device's antennas from the second number of receiving antennas back to the first number of receiving antennas.
[0020] Optionally, the querying whether the service currently being executed requires the second number of receiving antennas comprises:
[0021] in the case that a data throughput of the service currently being executed is greater than a data amount threshold, determining that the service currently being executed requires the second number of receiving antennas;
[0022] in the case that the data throughput of the service currently being executed is less than or equal to the data amount threshold, determining that the service currently being executed does not require the second number of receiving antennas.
[0023] Another aspect of the present application provides an antenna switching device, comprising:
[0024] a determining module configured to determine a first number of receiving antennas used by a terminal device;
[0025] a monitoring module configured to monitor a number of scheduling layers configured by a network device of a service cell in which the terminal device is located;
[0026] a switching module configured to, in the case that the monitored number of scheduling layers is greater than the first number of receiving antennas, switch antennas of the terminal device from the first number of receiving antennas to a second number of receiving antennas, wherein the second number of receiving antennas is greater than the first number of receiving antennas.
[0027] Optionally, the switching module is configured to:
[0028] In a case where the number of scheduling layers is greater than the first number of receiving antennas for the first time, continue to monitor a total number of configuration times of the number of scheduling layers configured by the network device in the statistical period and a target number of configuration times in which the number of scheduling layers is greater than the first number of receiving antennas in each configuration;
[0029] In a case where a ratio of the target number of configuration times to the total number of configuration times is greater than a proportion threshold, switch the terminal device from the first number of receiving antennas to the second number of receiving antennas.
[0030] Optionally, the switching module is further configured to:
[0031] In a case where the ratio of the target number of configuration times to the total number of configuration times is less than or equal to the proportion threshold, continue to receive data by using receiving antennas conforming to the first number of receiving antennas.
[0032] Another aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the program, the antenna switching method of the foregoing aspect is implemented.
[0033] Another aspect of the present application provides a non-transitory computer-readable storage medium, having a computer program stored thereon, when the program is executed by a processor, the antenna switching method of the foregoing aspect is implemented.
[0034] Another aspect of the present application provides a computer program product, having a computer program stored thereon, when the program is executed by a processor, the antenna switching method of the foregoing aspect is implemented.
[0035] The antenna switching method, device, electronic device, and storage medium provided by the present application determine a first number of receiving antennas used by a terminal device, monitor a number of scheduling layers configured by a network device in a service cell where the terminal device is located, and switch the number of antennas of the terminal device from the first number of receiving antennas to a second number of receiving antennas in a case where the number of scheduling layers is greater than the first number of receiving antennas, wherein the second number of receiving antennas is greater than the first number of receiving antennas. By monitoring the size relationship between the number of scheduling layers configured by the network and the first number of receiving antennas, the number of antennas of the terminal device is increased to the second number of receiving antennas in a case where the number of scheduling layers is greater than the first number of receiving antennas, so that the terminal device cannot demodulate downlink data received by the antennas due to the mismatch between the number of scheduling layers and the number of receiving antennas, and normal data service is ensured.
[0036] Additional aspects and advantages of the present application will be apparent from the following description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the present application. BRIEF DESCRIPTION OF DRAWINGS
[0037] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood by considering the following detailed description, taken in conjunction with the accompanying drawings, in which:
[0038] Figure 1 A flowchart of an antenna switching method provided by an embodiment of the present application;
[0039] Figure 2 A flowchart of another antenna switching method provided by an embodiment of the present application;
[0040] Figure 3 A flowchart of another antenna switching method provided by an embodiment of the present application;
[0041] Figure 4 A structural diagram of an antenna switching device provided by an embodiment of the present application;
[0042] Figure 5 A block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0043] Embodiments of the present application are described in detail below with reference to the accompanying drawings, in which like reference numerals indicate like elements or elements having the same or similar function throughout the several views. The embodiments described below are examples intended to provide an explanation of the present application and are not intended to restrict the present application.
[0044] The antenna switching method, device, electronic device and storage medium of the embodiments of the present application are described below with reference to the accompanying drawings.
[0045] Figure 1 A flowchart of an antenna switching method provided by an embodiment of the present application.
[0046] As shown in Figure 1 the method comprises the following steps:
[0047] Step 101, determining a first number of receiving antennas used by a terminal device.
[0048] The execution subject of the embodiments of the present application is a terminal device. The terminal device is an Internet of Things terminal product using a SIM card, for example, a smart phone, a telephone watch, a smart wearable device, etc., which are not listed one by one here.
[0049] In the embodiments of the present application, the antenna provided in the terminal device is an important module for implementing mobile communication. The antenna includes a transmitting antenna and a receiving antenna. The receiving antenna is used for receiving signals, and the transmitting antenna is used for transmitting signals. Both the transmitting antenna and the receiving antenna can be multiple. For example, taking a smart phone as an example, some smart phones are 2T4R, T represents a transmitting antenna, and R represents a receiving antenna. This technology of transmitting and receiving by multiple antennas is called multiple input multiple output technology (MIMO). The more antennas used by the terminal device during communication, the better the data performance obtained, such as higher download speed, lower latency, and the like, which can improve the user experience. However, at the same time, the power consumption of the terminal device is increased. In actual scenarios, many data services performed by the terminal device do not have high requirements on speed and latency, and do not need to use a large number of receiving antennas. Therefore, the number of antennas is reduced to obtain power consumption benefits without affecting the user data experience.
[0050] In an implementation manner of the embodiments of the present application, the first receiving antenna number used by the terminal device can be part of the antenna number configured by the terminal device. The part of the antenna number can be determined based on the data throughput of the data service currently being executed.
[0051] In another implementation manner of the embodiments of the present application, the terminal device uses the first receiving antenna number switched from another receiving antenna number. The other receiving antenna number can be a second receiving antenna number, which is specifically described through the following two scenarios:
[0052] In one scenario, the terminal device can detect the data service currently being executed according to an adaptive algorithm. If the data throughput of the data service currently being executed is less than a data threshold, that is, reducing the number of antennas will not reduce the execution quality of the data service, in order to reduce the power consumption of the terminal device, the number of receiving antennas of the terminal device is reduced, that is, the receiving antenna number is switched from the currently used receiving antenna number to the first receiving antenna number. It can be understood that the currently used receiving antenna number is greater than the first receiving antenna number.
[0053] In the second scenario, the network device of the serving cell where the terminal device is located determines, according to the current ongoing data service, that the execution quality of the data service will not be reduced even if the number of antennas is reduced, or the network device performs bandwidth part (BWP) switching, and then sends the terminal device the antenna number configuration parameter. That is, the terminal device switches from the second number of receiving antennas to the first number of receiving antennas according to the indication of the antenna number configuration parameter sent by the network device of the serving cell where the terminal device is located. As an implementation manner, part of the second receiving antennas can be turned off to reduce the number of receiving antennas used by the terminal device, thereby realizing switching of the number of antennas.
[0054] As an example, the terminal device contains 2T4R, that is, 2 transmitting antennas and 4 receiving antennas. When performing data services with high rate and low latency requirements, for example, live streaming scenarios, the terminal needs to use 4 receiving antennas. However, in some service scenarios, for example, viewing the dynamic of microblog, only 2 receiving antennas are needed. Therefore, it is necessary to switch from 4 receiving antennas to 2 receiving antennas. In the embodiments of the present disclosure, the 2 receiving antennas can be the first number of receiving antennas, thereby reducing power consumption while meeting service requirements.
[0055] Step 102, monitoring the number of scheduling layers configured by the network device of the serving cell where the terminal device is located.
[0056] The network device can be an evolved NodeB (eNB), a transmission reception point (TRP), a next generation NodeB (gNB) in an NR system, a base station in other future mobile communication systems, or an access node in a wireless fidelity (WiFi) system, and the like. The embodiments of the present disclosure do not limit the specific technology and specific device form of the network device.
[0057] In the embodiment of the present application, the terminal device monitors the downlink control information (DCI) obtained from the network device, and obtains the scheduling layer number configured by the network device according to the configuration parameters indicated by the DCI. The scheduling layer number is used to determine the channel resources allocated to the terminal device by the network device. Generally, the scheduling layer number configured by the network device is less than or equal to the first number of receive antennas used by the terminal device to perform data services. For example, if the first number of receive antennas used by the terminal device to perform data services is 2, the scheduling layer number configured by the network device should be less than or equal to the first number of receive antennas, for example, Layer 2. However, in actual application scenarios, there may be configuration abnormalities, that is, the scheduling layer number configured by the network device is greater than the first number of receive antennas used by the terminal device to perform data services. For example, the first number of receive antennas is 2, and the scheduling layer number is Layer 3 or Layer 4, that is, the first number of receive antennas used by the terminal device to perform data services is less than the scheduling layer number configured by the network device, which makes the terminal device unable to normally demodulate the downlink data received from the network device side, that is, the downlink data cannot be normally decoded, that is, a cyclic redundancy check (CRC) failure occurs, which affects the data services being performed by the user, for example, video stuttering, unable to normally brush microblog, slow browsing of web pages, or high latency when playing games, etc.
[0058] Step 103, in the case where the monitored scheduling layer number is greater than the first number of receive antennas, switching the antennas of the terminal device from the first number of receive antennas to a second number of receive antennas.
[0059] The second number of receive antennas is greater than the first number of receive antennas.
[0060] In the embodiment of the present application, in the case where the monitored scheduling layer number is greater than the first number of receive antennas, the terminal device increases the number of receive antennas, that is, switches the antennas of the terminal device from the first number of receive antennas to the second number of receive antennas. For example, if the first number of receive antennas is 2, the 2 antennas that are closed are started, so that the number of receive antennas of the terminal device becomes the second number of receive antennas, that is, 4. By switching the antennas of the terminal device to the second number of receive antennas, the number of antennas of the terminal device is matched with the scheduling layer number configured by the network device, so as to realize normal demodulation of the downlink data issued by the network device, and avoid affecting the acquisition of service data.
[0061] In the antenna switching method of the embodiment, the first number of receiving antennas to which the terminal device switches is acquired, the number of scheduling layers configured by the network device of the serving cell where the terminal device is located is monitored, and in the case where the number of scheduling layers monitored is greater than the first number of receiving antennas, the number of antennas of the terminal device is switched from the first number of receiving antennas to a second number of receiving antennas, wherein the second number of receiving antennas is greater than the first number of receiving antennas. By monitoring the size relationship between the number of scheduling layers configured by the network and the first number of receiving antennas, in the case where the number of scheduling layers is greater than the first number of receiving antennas, the number of antennas of the terminal device is increased to the second number of receiving antennas, so that the terminal device cannot demodulate the downlink data received by the antenna, and the normal operation of the data service is ensured.
[0062] Based on the previous embodiment, the embodiment provides another antenna switching method, Figure 2 The flowchart of another antenna switching method provided by the embodiment of the application is shown in Figure 2 The method comprises the following steps:
[0063] Step 201, determining the first number of receiving antennas used by the terminal device.
[0064] Step 202, monitoring the number of scheduling layers configured by the network device of the serving cell where the terminal device is located.
[0065] Wherein, step 201 and step 202 can refer to the explanation and description in the previous embodiment, the principle is the same, this place will not be repeated.
[0066] In one implementation mode of the embodiment of the application, the terminal device determines the number of receiving antennas currently used, and if the number of receiving antennas is the second number of receiving antennas, the optimization process is started, that is, the application processor of the terminal device issues a monitoring instruction to the modem of the terminal device, so that the modem monitors the number of scheduling layers configured by the network device of the serving cell where the terminal device is located.
[0067] Step 203, in the case where the number of scheduling layers is first monitored to be greater than the first number of receiving antennas, the total configuration times of the number of scheduling layers configured by the network device in the statistical period and the target configuration times of the number of scheduling layers greater than the first number of receiving antennas in each configuration are continuously monitored and counted.
[0068] In the embodiment of the application, in the case where the number of scheduling layers is first monitored to be greater than the first number of receiving antennas, the number of scheduling layers configured by the network device in the statistical period is continuously monitored, and for each configuration, it is determined whether the configuration is the target configuration of the number of scheduling layers greater than the first number of receiving antennas, so as to count the total configuration times of the number of scheduling layers configured by the network device in the entire statistical period and the target configuration times of the number of scheduling layers greater than the first number of receiving antennas.
[0069] It should be noted that the network device can periodically configure the number of scheduling layers for the terminal device based on the scheduling period configured by the network device.
[0070] As an example, the first receiving antenna number is 2 receiving antennas, in the case of monitoring the scheduling layer number greater than the first receiving antenna number for the first time, that is, the monitoring scheduling layer number is 3 layers, continue to monitor in the statistical period, for example, the statistical period is 1 minute, continue to monitor for 1 minute, and the total configuration times of the network device configuring the scheduling layer number in 1 minute are obtained, that is 10 times, wherein the times of the network device configuring the scheduling layer number as 3 layers or 4 layers are 6 times, wherein the configuration of the network device configuring the scheduling layer number as 3 layers or 4 layers is the target configuration, and the 6 times are the target configuration times.
[0071] Step 204, in the case that the ratio of the target configuration times to the total configuration times is greater than the proportion threshold, switching the terminal device from the first receiving antenna number to the second receiving antenna number.
[0072] In the embodiment of the application, in the case that the ratio of the target configuration times to the total configuration times is greater than the proportion threshold, it is indicated that the times of the network device configuring the scheduling layer number greater than the first receiving antenna number are more, and the terminal device cannot demodulate the downlink data received from the network device, so the terminal device is switched from the first receiving antenna number to the second receiving antenna number, that is, the number of antennas of the terminal device used for receiving downlink data is increased, the correct demodulation of the downlink data is realized, and the influence on the data service is avoided. The proportion threshold can be set according to the demand, which is not limited in the embodiment. For example, the proportion threshold is 50%, the target configuration times are 6 times, and the total configuration times are 10 times, so 6 / 10=60%, 60% is greater than 50%, and the terminal device needs to be switched from 2 first receiving antennas to 4 second receiving antennas.
[0073] Step 205, in the case that the ratio of the target configuration times to the total configuration times is less than or equal to the proportion threshold, continue to receive data using the receiving antennas conforming to the first receiving antenna number.
[0074] In the embodiment of the application, in the case that the ratio of the target configuration times to the total configuration times is less than or equal to the proportion threshold, that is, the times of the network device configuring the scheduling layer number greater than the first receiving antenna number are less, the terminal device can still demodulate the downlink data received from the network device, so continue to receive data using the receiving antennas conforming to the first receiving antenna number, that is, the data of the receiving antennas used for receiving data is the first receiving antenna number, which realizes the reduction of power consumption without affecting the data service and improves the performance of the terminal device.
[0075] In the antenna switching method of the embodiment of the present application, the number of first receiving antennas used by the terminal device is determined, the number of scheduling layers configured by the network device of the service cell where the terminal device is located is monitored, the proportion of configurations in which the number of scheduling layers configured by the network device is greater than the number of first receiving antennas is determined in a statistical period through continuous monitoring, and whether to switch from the number of first receiving antennas to the number of second receiving antennas is determined according to the proportion, so as to avoid mis-switching, improve the accuracy of the number of receiving antennas switching, and effectively control the power consumption.
[0076] Based on the above embodiment, another antenna switching method is provided in the embodiment. Figure 3 The flowchart of another antenna switching method provided in the embodiment of the present application is shown in the figure, which specifically illustrates whether the number of receiving antennas needs to be further adjusted after the terminal device is switched from the number of first receiving antennas to the number of second receiving antennas, such as Figure 3 As shown in the figure, after the terminal device is switched from the number of first receiving antennas to the number of second receiving antennas, the following steps are included:
[0077] Step 301: The number of times that the number of scheduling layers configured by the network device is greater than the number of first receiving antennas is monitored in a set time period.
[0078] The set time period can be set according to requirements, for example, 1 minute.
[0079] In the embodiment of the present application, after the terminal device is switched from the number of first receiving antennas to the number of second receiving antennas, the number of times that the number of scheduling layers configured by the network device is greater than the number of first receiving antennas is monitored in a set time period, and the number of times is used to indicate whether the terminal device needs to continue to use the number of second receiving antennas or needs to switch the number of receiving antennas.
[0080] Step 302: In the case where the number of times monitored in the set time period is greater than a threshold number of times, the receiving antennas conforming to the number of second receiving antennas are continued to be used to receive data.
[0081] The threshold number of times can be flexibly set according to requirements.
[0082] In the embodiment of the present application, in the case where the number of times monitored in the set time period is greater than the threshold number of times, it is indicated that the terminal device still maintains the receiving antennas using the number of second receiving antennas to receive data, that is, the data of the receiving antennas used to receive data is the number of second receiving antennas, so that the downlink data sent by the network device can be correctly demodulated.
[0083] Step 303: In the case where the number of times monitored in the set time period is less than or equal to the threshold number of times, whether the second number of receiving antennas is needed for the currently executed service is queried.
[0084] In the embodiment of the application, in the case that the number of times monitored within the set time period is less than or equal to the threshold number of times, the modem of the terminal device sends a notification message to the application processor of the terminal device to trigger the application processor to query whether the currently executed service needs to continue to use the antenna corresponding to the second number of receiving antennas to receive data or needs to switch to the antenna corresponding to the first number of receiving antennas to receive data, so as to reduce power consumption.
[0085] As an implementation manner, in the case that the data throughput of the currently executed service is greater than the data amount threshold, it is determined that the currently executed service needs the second number of receiving antennas, for example, in a high-throughput service scenario such as live broadcast; in the case that the data throughput of the currently executed service is less than or equal to the data amount threshold, it is determined that the currently executed service does not need the second number of receiving antennas, for example, in a low-throughput service scenario such as viewing microblog information.
[0086] Step 304, in the case that the currently executed service needs the second number of receiving antennas, the receiving antenna conforming to the second number of receiving antennas is continued to be used to receive data.
[0087] Step 305, in the case that the currently executed service does not need the second number of receiving antennas, the antenna of the terminal device is switched from the second number of receiving antennas back to the first number of receiving antennas.
[0088] In the embodiment of the application, the modem of the terminal device receives a response message sent by the application processor in response to the notification message, the response message indicates the requirements of the currently executed service on rate, delay, etc., if it is a high-rate and low-delay service scenario, for example, a live broadcast scenario, a video scenario, etc., the response message indicates that, in the case that the currently executed service needs the second number of receiving antennas, the terminal device maintains the second number of receiving antennas; if it is a scenario in which the rate requirement is low and the delay requirement is also low, for example, a scenario in which a novel application program is used to read a novel, the response message indicates that, in the case that the currently executed service does not need the second number of receiving antennas, the antenna of the terminal device is switched from the second number of receiving antennas back to the first number of receiving antennas, and then the antenna corresponding to the first number of receiving antennas is used to receive data, so as to reduce power consumption.
[0089] In the antenna switching method of the embodiment, the number of times that the number of scheduling layers subsequently configured by the network device is greater than the first number of receiving antennas within the set time period is monitored, and the number of times monitored within the set time period is compared with the threshold number of times, so as to control whether the number of antennas of the terminal device is maintained at the second number of receiving antennas or switched to the first number of receiving antennas, thereby reducing power consumption without affecting the data service.
[0090] In order to implement the above-mentioned embodiments, the application further provides an antenna switching device.
[0091] Figure 4A structural schematic diagram of an antenna switching device provided by an embodiment of the present application.
[0092] As shown in Figure 4 , the device comprises:
[0093] The acquisition module 41 is configured to determine a first number of receiving antennas adopted by a terminal device.
[0094] The monitoring module 42 is configured to monitor a number of scheduling layers configured by a network device of a serving cell in which the terminal device is located.
[0095] The switching module 43 is configured to switch the number of antennas of the terminal device from the first number of receiving antennas to a second number of receiving antennas in a case where the monitored number of scheduling layers is greater than the first number of receiving antennas, wherein the second number of receiving antennas is greater than the first number of receiving antennas.
[0096] Further, in a possible implementation manner of the embodiment of the present application, the switching module 43 is specifically configured to:
[0097] continue to monitor a total number of configuration times of the number of scheduling layers configured by the network device in a statistical period and a target number of configuration times in which the number of scheduling layers is greater than the first number of receiving antennas in each configuration in a case where the number of scheduling layers is first monitored to be greater than the first number of receiving antennas;
[0098] switch the terminal device from the first number of receiving antennas to the second number of receiving antennas in a case where a ratio of the target number of configuration times to the total number of configuration times is greater than a proportion threshold.
[0099] In a possible implementation manner of the embodiment of the present application, the switching module 43 is specifically further configured to:
[0100] continue to receive data by using receiving antennas conforming to the first number of receiving antennas in a case where the ratio of the target number of configuration times to the total number of configuration times is less than or equal to the proportion threshold.
[0101] In a possible implementation manner of the embodiment of the present application, the device further comprises:
[0102] The monitoring module 42 is further configured to monitor a number of times in which the number of scheduling layers configured subsequently by the network device is greater than the first number of receiving antennas in a set time length;
[0103] The maintaining module is configured to continue to receive data by using receiving antennas conforming to the second number of receiving antennas in a case where the number of times monitored in the set time length is greater than a threshold number of times.
[0104] In a possible implementation manner of the embodiment of the present application, the device further comprises:
[0105] The query module is configured to query whether the currently executed service needs the second number of receiving antennas in the case that the number of times monitored in the set time period is less than or equal to the threshold number of times.
[0106] The maintaining module is further configured to continue to receive data by using the receiving antennas conforming to the second number of receiving antennas in the case that the currently executed service needs the second number of receiving antennas.
[0107] The switching module 43 is further configured to switch the antennas of the terminal device from the second number of receiving antennas back to the first number of receiving antennas in the case that the currently executed service does not need the second number of receiving antennas.
[0108] In a possible implementation of the embodiment of the application, the query module is specifically configured to:
[0109] In the case that the data throughput of the currently executed service is greater than a data amount threshold, it is determined that the currently executed service needs the second number of receiving antennas; and in the case that the data throughput of the currently executed service is less than or equal to the data amount threshold, it is determined that the currently executed service does not need the second number of receiving antennas.
[0110] It should be noted that the foregoing explanation and description of the method embodiment are also applicable to the device of the embodiment, and will not be repeated here.
[0111] In the antenna switching device of the embodiment, the first number of receiving antennas adopted by the terminal device is determined, the number of scheduling layers configured by the network device of the service cell where the terminal device is located is monitored, and in the case that the monitored number of scheduling layers is greater than the first number of receiving antennas, the antennas of the terminal device are switched from the first number of receiving antennas to the second number of receiving antennas, wherein the second number of receiving antennas is greater than the first number of receiving antennas. By monitoring the size relationship between the number of scheduling layers configured by the network and the first number of receiving antennas, in the case that the number of scheduling layers is greater than the first number of receiving antennas, the number of antennas of the terminal device is increased to the second number of receiving antennas, so that the terminal device cannot demodulate the downlink data received by the antennas is avoided, and the normal operation of the data service is ensured.
[0112] In order to implement the above-mentioned embodiments, the present application further provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method as described in the foregoing method embodiments.
[0113] In order to implement the above-mentioned embodiments, the present application further provides a non-transitory computer readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the method as described in the foregoing method embodiments.
[0114] To achieve the above-mentioned embodiments, the present application also provides a computer program product, which has a computer program stored thereon, and the computer program is executed by a processor to implement the method according to the foregoing method embodiments.
[0115] To achieve the above-mentioned embodiments, Figure 5 A block diagram of an electronic device provided by an embodiment of the present application is shown. For example, the electronic device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0116] Referring to Figure 5 , the electronic device 800 can include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0117] The processing component 802 usually controls overall operations of the electronic device 800, such as operations associated with displaying, making phone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to complete all or part of steps of the methods described above. In addition, the processing component 802 can include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0118] The memory 804 is configured to store various types of data to support operations of the electronic device 800. Examples of these data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0119] The power component 806 provides power to various components of the electronic device 800. The power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 800.
[0120] The multimedia component 808 includes a screen to provide an output interface between the electronic device 800 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or a sliding action, but also detect duration and intensity of the touching or sliding action. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a camera mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zooming capability.
[0121] The audio component 810 is configured to output and / or input an audio signal. For example, the audio component 810 includes a microphone (MIC) to receive an external audio signal when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker to output an audio signal.
[0122] The I / O interface 812 provides an interface for the processing component 802 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0123] The sensor component 814 includes one or more sensors to provide various state assessments for the electronic device 800. For example, the sensor component 814 can detect an open / closed state of the electronic device 800, relative positioning of components, such as a display and a keypad of the electronic device 800, a change in position of the electronic device 800 or a component of the electronic device 800, presence or absence of user contact with the electronic device 800, an orientation or acceleration / deceleration of the electronic device 800, and a temperature change of the electronic device 800. The sensor component 814 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 814 can further include a light sensor such as a CMOS or CCD image sensor for use in an imaging application. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0124] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 4G, or 5G, or a combination thereof. In an example embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.
[0125] In an example embodiment, the electronic device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements, for performing the above-described methods.
[0126] In an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, is also provided, which can be executed by the processor 820 of the electronic device 800 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.
[0127] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Also, the specific features, structures, materials, or characteristics described can be combined in any appropriate manner in one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples, without contradiction.
[0128] In addition, the terms "first", "second", and the like are used only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features limited by "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, such as two, three, etc., unless otherwise explicitly specified.
[0129] Any processes or methods described in the flowcharts or otherwise described herein can be understood as representing a module, segment, or portion of code that includes one or more executable instructions for implementing the specified logical function(s) or process(es). The scope of a preferred embodiment of this application includes alternatives that implement the specified functions or processes in different orders, or omit certain functions or processes, or include additional functions or processes, as will be apparent to those skilled in the art.
[0130] Logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be embodied in computer-readable medium, which can be any device or apparatus that can store the program for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor- based system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be a device that is specific for the purpose or it can be a device that can be used for other purposes. A computer-readable medium can include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example, via optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and stored in a computer memory.
[0131] It should be understood that aspects of the application can be implemented in hardware, software, firmware or combinations thereof. In the above embodiments, various steps or methods can be implemented in software or firmware that is stored in memory and executed by a suitable instruction execution system. As such, in some embodiments, specifically configured hardware can be used to implement aspects of the application. As will be appreciated by those skilled in the art, the foregoing description is intended to be illustrative only. Specific embodiments of the application are shown by way of example in the drawings and described in detail above. Numerous alternative embodiments of the present application, based on its principles and its novel features, will be readily apparent to those skilled in the art from this disclosure. It is intended that all such alternatives fall within the scope of the present application. Various modifications and changes can be made thereto by those skilled in the art which freely substitute various aforementioned elements without departing from the spirit of the application as defined in the following claims. Accordingly, no limitation is placed on the scope of the application as described in the claims and their equivalents.
[0132] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment methods can be completed by programs instructing related hardware, and the programs can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0133] In addition, each functional unit in each embodiment of the present application can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
[0134] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present application.
Claims
1. An antenna switching method, characterized by, The method comprises the following steps: determining a first number of receiving antennas used by a terminal device; monitoring a number of scheduling layers configured by a network device of a serving cell in which the terminal device is located; switching the number of antennas of the terminal device from the first number of receiving antennas to a second number of receiving antennas in a case where the monitored number of scheduling layers is greater than the first number of receiving antennas, wherein the second number of receiving antennas is greater than the first number of receiving antennas; the switching the terminal device from the first number of receiving antennas to the second number of receiving antennas in the case where the monitored number of scheduling layers is greater than the first number of receiving antennas comprises: in a case where the number of scheduling layers is monitored for the first time to be greater than the first number of receiving antennas, continuing to monitor a total number of configurations of the number of scheduling layers configured by the network device in a statistical period, and a target number of configurations in which the number of scheduling layers is greater than the first number of receiving antennas in each configuration, the statistical period being a period in which the network device configures the number of scheduling layers for the terminal device; switching the terminal device from the first number of receiving antennas to the second number of receiving antennas in a case where a ratio of the target number of configurations to the total number of configurations is greater than a proportion threshold; monitoring a number of times in which the number of scheduling layers configured by the network device subsequently is greater than the first number of receiving antennas in a set time period; in a case where the number of times monitored in the set time period is greater than a threshold number of times, continuing to receive data using receiving antennas conforming to the second number of receiving antennas; in a case where the number of times monitored in the set time period is less than or equal to the threshold number of times, querying whether a service currently being executed requires the second number of receiving antennas; in a case where the service currently being executed requires the second number of receiving antennas, continuing to receive data using receiving antennas conforming to the second number of receiving antennas; in a case where the service currently being executed does not require the second number of receiving antennas, switching the number of antennas of the terminal device from the second number of receiving antennas back to the first number of receiving antennas; in a case where the ratio of the target number of configurations to the total number of configurations is less than or equal to the proportion threshold, continuing to receive data using receiving antennas conforming to the first number of receiving antennas.
2. The method of claim 1, wherein, the querying whether the service currently being executed requires the second number of receiving antennas comprises: in a case where a data throughput of the service currently being executed is greater than a data amount threshold, determining that the service currently being executed requires the second number of receiving antennas; in a case where the data throughput of the service currently being executed is less than or equal to the data amount threshold, determining that the service currently being executed does not require the second number of receiving antennas.
3. An antenna switching device, characterized by comprise: a determining module configured to determine a first number of receiving antennas used by a terminal device; a monitoring module configured to monitor a number of scheduling layers configured by a network device of a serving cell in which the terminal device is located; a switching module configured to switch the number of antennas of the terminal device from the first number of receiving antennas to a second number of receiving antennas in a case where the monitored number of scheduling layers is greater than the first number of receiving antennas, wherein the second number of receiving antennas is greater than the first number of receiving antennas; the switching module is configured to continue monitoring a total configuration times of the network device configuring the number of scheduling layers and a target configuration times of the number of scheduling layers being greater than the first number of receiving antennas in each configuration in a statistical period, the statistical period being a period of the network device configuring the number of scheduling layers for the terminal device; switch the terminal device from the first number of receiving antennas to the second number of receiving antennas when the ratio of the target configuration times to the total configuration times is greater than a proportion threshold value; the apparatus is further configured to: monitor a number of times that the number of scheduling layers configured by the network device subsequently is greater than the first number of receiving antennas in a set time period; continue receiving data using receiving antennas conforming to the second number of receiving antennas when the number of times monitored in the set time period is greater than a threshold number of times; query whether a service currently executed requires the second number of receiving antennas when the number of times monitored in the set time period is less than or equal to the threshold number of times; continue receiving data using receiving antennas conforming to the second number of receiving antennas when the service currently executed requires the second number of receiving antennas; switch the number of antennas of the terminal device from the second number of receiving antennas back to the first number of receiving antennas when the service currently executed does not require the second number of receiving antennas; the switching module is further configured to: continue receiving data using receiving antennas conforming to the first number of receiving antennas when the ratio of the target configuration times to the total configuration times is less than or equal to the proportion threshold value.
4. An electronic device, comprising: A computer program product comprising a memory, a processor and a computer program stored on the memory and loadable on the processor, the processor implementing the method according to any one of claims 1-2 when executing the program.
5. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program product is executed by the processor to implement the method according to any one of claims 1-2.
Citation Information
Patent Citations
Antenna mode switching method and device, receiver and storage medium
CN112039572A