Parameter switching method and device, electronic equipment and computer storage medium

By acquiring and switching target antenna parameters, the communication quality of electronic devices in multi-cell or extremely weak signal environments is optimized, solving the communication lag problem and improving the user experience.

CN121442437APending Publication Date: 2026-01-30REALME MOBILE TELECOMM SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411044501.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2026-01-30

AI Technical Summary

Technical Problem

Existing technologies cannot effectively solve the problem of poor communication quality in multi-cell or extremely weak signal environments, causing communication lag in electronic devices in specific areas.

Method used

Communication quality is optimized by acquiring and switching target antenna parameters in electronic devices, including acquiring target antenna parameters at the current location and switching to the target state to improve communication quality.

Benefits of technology

It improves the communication quality of electronic devices in multi-cell or extremely weak signal environments, reduces communication lag, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121442437A_ABST
    Figure CN121442437A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a parameter switching method, the method is applied to electronic equipment, and the electronic equipment comprises the following steps: when the electronic equipment is connected with a current cell, a first communication quality parameter of the electronic equipment does not meet a preset condition, a target parameter of the electronic equipment at a current position is acquired, and the target parameter at least comprises a target antenna parameter, the target antenna parameter is a parameter selected from antenna parameters of an antenna of the electronic equipment in each state when the electronic equipment is connected with the current cell, and switching the antenna parameter of the electronic equipment to the target antenna parameter. The embodiment of the invention further provides a parameter switching device, electronic equipment and a computer storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to communication technology, and more particularly to a method, apparatus, electronic device, and computer storage medium for switching parameters. Background Technology

[0002] Currently, with the improvement of base station deployment, communication delays for users generally occur in specific cells, such as multi-cell environments or environments with extremely weak signals. In related technologies, the same solution is used regardless of the scenario.

[0003] However, this solution cannot cover all application scenarios, causing lag whenever a network search is needed due to a problem, and it cannot solve the technical problem of poor communication quality. Summary of the Invention

[0004] This application provides a parameter switching method, apparatus, electronic device, and computer storage medium, which can improve the communication quality of electronic devices.

[0005] The technical solution of this application is implemented as follows:

[0006] In a first aspect, embodiments of this application provide a parameter switching method, which is applied in an electronic device and includes:

[0007] When the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device connects to the current cell, the target parameter of the electronic device at the current location is obtained; wherein, the target parameter includes at least: target antenna parameter; the target antenna parameter is a parameter selected from the antenna parameters of the electronic device's antenna in various states when the electronic device connects to the current cell;

[0008] Switch the antenna parameters of the electronic device to the target antenna parameters.

[0009] Secondly, embodiments of this application provide a parameter switching device, the device being disposed in an electronic device, comprising:

[0010] The acquisition module is used to acquire target parameters of the electronic device at its current location when the first communication quality parameter of the electronic device does not meet a preset condition when the electronic device is connected to the current cell; wherein, the target parameters include at least: target antenna parameters; the target antenna parameters are parameters selected from the antenna parameters of the electronic device's antenna in various states when the electronic device is connected to the current cell;

[0011] A switching module is used to switch the antenna parameters of the electronic device to the target antenna parameters.

[0012] Thirdly, embodiments of this application provide an electronic device, including: a processor and a storage medium storing processor-executable instructions; the storage medium performs operations dependent on the processor via a communication bus, and when the instructions are executed by the processor, the parameter switching method described in one or more of the above embodiments is executed.

[0013] Fourthly, embodiments of this application provide a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processors execute the parameter switching method described in one or more of the above embodiments.

[0014] This application provides a parameter switching method, apparatus, electronic device, and computer storage medium, including: when the first communication quality parameter of the electronic device does not meet a preset condition when the electronic device is connected to the current cell, obtaining the target parameter of the electronic device at the current location, the target parameter including at least: target antenna parameter, the target antenna parameter being a parameter selected from the antenna parameters of the electronic device's antenna in various states when the electronic device is connected to the current cell, and switching the antenna parameter of the electronic device to the target antenna parameter; that is, in this application embodiment, when the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device is connected to the current cell, obtaining the parameter selected from the antenna parameters of the electronic device's antenna in various states when the electronic device is connected to the current cell at the current location, thus switching the antenna parameter to the target antenna parameter for the current location, enabling the electronic device to obtain the target antenna parameter corresponding to the current location, thereby adjusting the communication quality of the electronic device at the current location when it is connected to the current cell, thereby improving the communication quality of the electronic device at the current location. Attached Figure Description

[0015] Figure 1 A flowchart illustrating an optional parameter switching method provided in an embodiment of this application;

[0016] Figure 2 A flowchart illustrating an example of an optional parameter switching method provided in this application embodiment;

[0017] Figure 3 A schematic diagram of the structure of an optional parameter switching device provided in an embodiment of this application;

[0018] Figure 4 This is a schematic diagram of an optional electronic device provided in an embodiment of this application. Detailed Implementation

[0019] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0020] To address the technical problem of poor communication quality in electronic devices due to poor signal quality at the current location, this application provides a parameter switching method, which is applied to electronic devices. Figure 1 A flowchart illustrating an optional parameter switching method provided in an embodiment of this application is shown below. Figure 1 As shown, the method for switching this parameter may include:

[0021] S101: When the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device connects to the current cell, obtain the target parameter of the electronic device at the current location;

[0022] In order to improve the communication quality of electronic devices, in this embodiment of the application, the electronic device obtains a first communication quality parameter when connecting to the current cell.

[0023] The first communication quality parameter may be one or more of the following: Signal to Interference plus Noise Ratio (SINR), Received Signal Strength Indication (RSSI), Reference Signal Receiving Power (RSRP), and Reference Signal Receiving Quality (RSRQ).

[0024] Of course, the first communication quality parameter mentioned above can also be the network speed when the electronic device communicates, or the continuity of data display when downloading data. Here, this application embodiment does not specifically limit this.

[0025] It should be noted that the aforementioned first communication quality parameter can be obtained in real time, or it can be obtained based on changes in the location of the electronic device, or it can be obtained at time intervals. Here, the embodiments of this application do not specifically limit it in this way.

[0026] After obtaining the first communication quality parameter, if the first communication quality parameter does not meet the preset conditions, the target parameter of the electronic device at the current location is obtained; wherein, the target parameter includes at least: target antenna parameter; the target antenna parameter is the parameter selected from the antenna parameters of the electronic device's antenna in various states when the electronic device connects to the current cell.

[0027] In other words, when the first communication quality parameter does not meet the preset conditions, at least the target antenna parameters of the electronic device at the current location are obtained. This can be obtained directly from the target antenna parameters corresponding to the current location that are pre-stored, or the parameters can be selected in real time from the antenna parameters of the electronic device's antenna in various states when the electronic device connects to the current cell, and used as the target antenna parameters of the current location. Here, the embodiments of this application do not specifically limit this.

[0028] The antenna parameters here can be the state of each antenna switch in the antenna, the size of the variable capacitor, and the size of the variable inductor. However, this application embodiment does not specifically limit these parameters.

[0029] In this way, even when the communication quality at the current location is poor, the target antenna parameters at the current location can be obtained.

[0030] S102: Switch the antenna parameters of the electronic device to the target antenna parameters.

[0031] After obtaining the target antenna parameters for the current location, the antenna parameters of the electronic device are switched to the target antenna parameters. Thus, if the first communication quality parameter at the current location does not meet the preset conditions, the first communication quality parameter can be further optimized by switching the antenna parameters of the electronic device at the current location.

[0032] When the first communication quality parameter is a single parameter, a threshold corresponding to the parameter can be set, and the first communication quality parameter can be compared with the threshold to determine whether the first communication quality parameter meets the preset conditions.

[0033] When there are two or more first communication quality parameters, by checking the priority, for parameters with the same priority, at least one of all parameters does not meet its corresponding threshold, it is determined that the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device connects to the current cell. For parameters with different priorities, at least one of the highest priority parameters does not meet its corresponding threshold, it is determined that the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device connects to the current cell.

[0034] Of course, other methods can be used to determine whether the first communication parameter meets the preset conditions. Here, this application embodiment does not make specific limitations on this.

[0035] Regarding the target parameters mentioned above, in addition to the target antenna parameters, other parameters may also be included. In one optional embodiment, the target parameters include: the target cell; the method may further include:

[0036] Before switching the antenna parameters of the electronic device to the target antenna parameters, switch the current cell of the electronic device to the target cell.

[0037] Understandably, the target parameters also include the target cell, which is a cell selected from the cells covered by the electronic device at its current location.

[0038] In other words, when it is determined that the first communication quality parameter of the electronic device does not meet the preset conditions when the electronic device connects to the current cell, the target cell and target antenna parameters of the electronic device at the current location are obtained, the current cell of the electronic device is switched to the target cell, and then the antenna parameters of the electronic device at the current location are switched to the target antenna parameters.

[0039] As can be seen, when the first communication quality parameter of the electronic device at the current location does not meet the preset conditions, the current cell is first switched to the target cell to improve the first communication quality parameter, and the antenna parameters are also switched to the target antenna parameters to improve the first communication quality parameter. This enables the electronic device to connect to a suitable cell and use suitable antenna parameters at the current location, thereby improving the communication quality of the electronic device at the current location.

[0040] In order to obtain the target parameters of the electronic device at its current location, in one optional embodiment, S101 may include:

[0041] When an electronic device connects to the current cell, if the first communication quality parameter of the electronic device does not meet the preset conditions, and the electronic device contains the target parameter for the current location, the target parameter is obtained.

[0042] Understandably, if it is determined that the first communication quality parameter of the electronic device does not meet the preset conditions when the electronic device connects to the current cell, in order to obtain the target parameter, the local database can be searched to see if the target parameter of the electronic device at the current location exists. If it exists, it means that the electronic device has already determined the target parameter of the electronic device at the current location, and there is no need to determine it again. Therefore, the target parameter can be directly obtained from the local database.

[0043] In this way, by directly obtaining the target parameters from the local database, the target parameters can be obtained more quickly and efficiently, which is beneficial for quickly switching electronic devices to the state corresponding to the best communication quality at the current location.

[0044] Furthermore, regarding the method of obtaining the target parameter from the local database, in an optional embodiment, S101 may include:

[0045] When an electronic device connects to the current cell, if the first communication quality parameter of the electronic device does not meet the preset conditions, and the electronic device contains the target parameter at the current location determined by the electronic device within a preset time period, the target parameter is obtained.

[0046] Understandably, if it is determined that the first communication quality parameter of the electronic device does not meet the preset conditions when connecting to the current cell, in order to obtain a valid target parameter, it is necessary to search locally for whether the target parameter of the electronic device at the current location exists. If it exists, it is also necessary to determine whether the time of determination of the existing target parameter is greater than the time of the current time than the preset time period. If it is, it means that the target parameter at the current location stored in the local database is valid and can be obtained directly. If it is not, it means that the target parameter at the current location stored in the local database is invalid and cannot be obtained directly. Therefore, if it is valid, the electronic device can directly obtain the target parameter of the electronic device at the current location from the local database.

[0047] In this way, by directly obtaining valid target parameters from the local database, the target parameters can be obtained more quickly and efficiently, which is beneficial for quickly switching electronic devices to the state corresponding to the best communication quality at the current location.

[0048] Besides obtaining the target parameters at the current location directly from the local database as described above, other methods can also be used to obtain the target parameters at the current location. In one optional embodiment, S101 may include:

[0049] When the first communication quality parameter of the electronic device does not meet the preset conditions when the electronic device connects to the current cell, determine the second communication quality parameter of the electronic device in each state of the antenna when the electronic device connects to the current cell.

[0050] Based on the second communication quality parameter of the electronic device, the target state is selected from the various states of the antenna;

[0051] The antenna parameters corresponding to the target state are determined as the target antenna parameters.

[0052] Understandably, if it is determined that the first communication quality parameter of the electronic device does not meet the preset conditions when the electronic device connects to the current cell, in order to obtain the target parameter, the local database can be searched to see if the target parameter of the electronic device at the current location exists. If it does not exist, it means that the target parameter at the current location has not been determined before, so it needs to be determined by itself.

[0053] To determine the target parameters at the current location, we can first determine the second communication quality parameters of the electronic device in each state of the antenna when the electronic device is connected to the current cell. The parameters included in the second communication quality parameters are the same as those included in the first communication quality parameters mentioned above, and will not be repeated here.

[0054] After determining the second communication quality parameter, a target state is selected from the various states of the antenna based on the second communication quality parameter, thereby determining the antenna parameters corresponding to the target state as the target antenna parameters. Here, selecting the target state from the various states of the antenna based on the second communication quality parameter can be done by sorting the second communication quality parameters of each state, finding the state corresponding to the parameter with better communication quality based on the sorting result, and determining the state corresponding to the parameter with better communication quality as the target state. Thus, the target state corresponds to the antenna's switching parameters, the size of each component in the antenna, etc.

[0055] In this way, the target antenna parameters of the electronic device at the current location can be determined, and the antenna can be switched to the target antenna parameters, thereby enabling the electronic device at the current location to improve communication quality.

[0056] In order to determine the target cell, in one optional embodiment, S101 may include:

[0057] When the first communication quality parameter of the electronic device does not meet the preset conditions when the electronic device connects to the current cell, and there is no target parameter of the electronic device at the current location, the cell covered by the electronic device at the current location is obtained.

[0058] Select the target cell from the covered cells.

[0059] Understandably, if it is determined that the first communication quality parameter of the electronic device does not meet the preset conditions when the electronic device connects to the current cell, in order to obtain the target cell, it can search the local database to see if there is a target cell at the current location of the electronic device. If it does not exist, it means that the target cell at the current location has not been determined before, so it needs to be determined by itself.

[0060] Specifically, the current location is used to obtain the cells covered by the current location. The cells covered by the current location can include one cell or two or more cells. Generally, the cells covered by the current location include two or more cells. In this way, one cell can be selected from the covered cells as the target cell.

[0061] In this way, the target cell is first determined for the current location, and then the target antenna parameters under the target cell are determined. Adjustments are made from both the cell and antenna dimensions to adjust the electronic equipment at the current location to the optimal communication state.

[0062] In an optional embodiment, when the target parameters include both the target cell and the target antenna parameters, the method further includes:

[0063] After switching the current cell of the electronic device to the target cell, determine the third communication quality parameter of the electronic device in each state of the antenna when the electronic device is connected to the current cell;

[0064] The target state is selected from the various states of the antenna based on the third communication quality parameter of the electronic device.

[0065] The antenna parameters corresponding to the target state are determined as the target antenna parameters.

[0066] Understandably, after switching the current cell of the electronic device to the target cell, it is necessary to determine the third communication quality parameter of the electronic device in each state of the antenna when the electronic device is connected to the current cell. The parameters included in the third communication quality parameter are the same as those included in the first communication quality parameter mentioned above, and will not be repeated here.

[0067] After determining the third communication quality parameter, a target state is selected from the various states of the antenna based on this parameter, thereby defining the antenna parameters corresponding to the target state as the target antenna parameters. Here, selecting the target state based on the third communication quality parameter involves sorting the parameters in each state, finding the state corresponding to the parameter with better communication quality based on the sorting result, and defining the state corresponding to the parameter with better communication quality as the target state. Thus, the target state contains the antenna's switching parameters, the size of each component in the antenna, and so on.

[0068] In this way, the target cell and target antenna parameters of the electronic device at the current location can be determined. The current cell is first switched to the target cell, and then the antenna is switched to the target antenna parameters, thereby enabling the electronic device at the current location to improve communication quality.

[0069] In order to select a target cell from the covered cells, in one optional embodiment, selecting the target cell from the covered cells includes:

[0070] The target cell is selected from the covered cells based on the fourth communication quality parameter of the electronic devices under the covered cell.

[0071] Understandably, the fourth communication quality parameter of the electronic device under the covered cell is obtained, wherein the parameters included in the fourth communication quality parameter are the same as those included in the first communication quality parameter mentioned above, and will not be repeated here.

[0072] After determining the fourth communication quality parameter, the fourth communication quality parameter can be sorted. Based on the sorting results, the cell covered by the fourth communication quality parameter with better communication quality is determined as the target cell.

[0073] In this way, the target cell of the electronic device at the current location can be determined. The current cell is first switched to the target cell, and then the antenna is switched to the target antenna parameters, thereby enabling the electronic device at the current location to improve communication quality.

[0074] To determine the third communication quality parameter of the electronic device in each state when the antenna of the electronic device is connected to the target cell, in one optional embodiment, determining the third communication quality parameter of the electronic device in each state when the antenna of the electronic device is connected to the target cell includes:

[0075] When an electronic device connects to a target cell, it controls the antenna switch to keep the antenna in various states.

[0076] Determine the third communication quality parameter of the electronic device under each antenna state.

[0077] Understandably, when an electronic device connects to a target cell, it controls the switching of the antenna, thereby placing the antenna in various states. It should be noted that, in addition to controlling the switching of the antenna, the size of each component of the antenna can also be controlled to place the antenna in various states. It is also possible to control both the switching of the antenna and the size of the antenna components simultaneously to place the antenna in various states. However, this application does not specifically limit this aspect in the embodiments.

[0078] When the antenna is in each state, the third communication quality parameter of the electronic device is acquired. Based on the third communication quality parameter, the target antenna parameters can be determined.

[0079] In this way, the electronic device controls the switching state of the antenna to make the antenna be in various states, thereby determining the third communication quality parameter of the electronic device in each state, which is beneficial to the determination of the target antenna parameters.

[0080] To determine that the first communication quality parameter of an electronic device does not meet a preset condition when connecting to the current cell, in one optional embodiment, the first communication quality parameter of the electronic device not meeting the preset condition when connecting to the current cell includes:

[0081] When an electronic device connects to the current cell, its data transmission rate is less than the preset data transmission rate.

[0082] Understandably, based on the aforementioned description of the first communication quality parameter, this first communication quality parameter can be one or more of SINR, RSSI, RSRP, RSRQ, and network speed. Therefore, in order not to affect the user experience, the data transmission rate of the electronic device when connected to the current cell is compared with the preset data transmission rate. If it is greater, it means that the data transmission rate of the electronic device when connected to the current cell is normal and the target parameter is not needed. If it is less, the data transmission rate of the electronic device when connected to the current cell is abnormal and the target parameter is needed. Then, the parameter switching method in one or more of the above embodiments is executed.

[0083] Regarding the case of equality, the target parameter may or may not be obtained; this application embodiment does not specifically limit this.

[0084] In this way, by comparing the data transmission rate with the preset data transmission rate, situations with poor user experience can be filtered out, thereby improving the communication quality at the current location.

[0085] The following examples illustrate the parameter switching method described in one or more of the above embodiments.

[0086] The artificial intelligence (AI) antenna proposed in this example adopts a self-learning scheme, automatically learning and optimizing to the best solution for different users.

[0087] Figure 2 A flowchart illustrating an example of an optional parameter switching method provided in this application embodiment is shown below. Figure 2 As shown, the method for switching this parameter may include:

[0088] S201: The user experiences signal interruption at location 1; if location 1 has been optimized, proceed to S202; if location 1 has not been optimized recently, proceed to S203.

[0089] Here, "lag" refers to signal lag that occurs when the user's mobile phone's network speed is lower than the preset network speed during communication.

[0090] When signal loss occurs, the phone needs to check if the target parameter corresponding to location 1 within the preset time period exists in the local database. If yes, it means that location 1 has been optimized; if no, it means that location 1 has not been optimized recently.

[0091] S202: Call the network information for location 1, switch to the best network cell, and adjust the antenna to the optimal state; execute S206;

[0092] Specifically, obtaining the target cell and target antenna parameters from local data involves calling the network information for location 1, where the network information is equivalent to the aforementioned target parameters.

[0093] Switching to the target cell in the target parameters is equivalent to switching to the optimal network cell; switching the antenna parameters to the target antenna parameters is equivalent to adjusting the antenna to its optimal state.

[0094] S203: Record current location 1 information and cell information; execute S204;

[0095] S204: Scan the network information of all nearby residential areas and score and rank the network quality; execute 205;

[0096] S205: The antenna switch and antenna tuner automatically perform a status scan and score and rank the different switch states; execute S206.

[0097] Specifically, if the target parameter is not found in the local database, the system automatically scans the cells covered by location 1, obtains the network quality of the covered cells, sorts the network quality, and selects the cell with the best network quality as the target cell.

[0098] After switching to the target cell, the antenna is switched to different states by controlling the antenna switch. The communication quality parameters of the mobile phone under each antenna state are sorted, and the antenna parameters corresponding to the state with the best communication quality parameters are selected as the target antenna parameters.

[0099] S206: Determine if the lag issue has been resolved. If yes, end. If no, proceed to S207;

[0100] S207: Upload the tracking data and notify the corresponding engineer to analyze and optimize it.

[0101] As demonstrated by the above examples, in practical applications, when a user experiences lag, the system automatically scans the surrounding cells at the test phone's location to obtain cell information and record basic information such as cell signal quality and internet speed. It then selects the optimal cells and scans for the antenna switch and tuner to achieve the best frequency band, bandwidth, and radiation pattern. When the user is near the selected location, the system automatically switches to the optimal cell and antenna settings. Data is uploaded for specific scenarios so that engineers can analyze and optimize the data to improve the next generation of products.

[0102] Using the above examples, learning and optimization can be carried out for different users to achieve more comprehensive coverage, reduce the problems encountered by users, and provide scenario references for the company's subsequent products.

[0103] This application provides a parameter switching method, including: when the first communication quality parameter of an electronic device does not meet a preset condition when the electronic device connects to the current cell, obtaining the target parameter of the electronic device at the current location, the target parameter including at least: target antenna parameter, the target antenna parameter being a parameter selected from the antenna parameters of the electronic device's antenna in various states when the electronic device connects to the current cell, and switching the antenna parameter of the electronic device to the target antenna parameter; that is, in this application embodiment, when the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device connects to the current cell, obtaining the parameter selected from the antenna parameters of the electronic device's antenna in various states when the electronic device connects to the current cell at the current location, thus switching the antenna parameter to the target antenna parameter for the current location, enabling the electronic device to obtain the target antenna parameter corresponding to the current location, thereby adjusting the communication quality of the electronic device at the current location when connecting to the current cell, thereby improving the communication quality of the electronic device at the current location.

[0104] Based on the same inventive concept as the foregoing embodiments, this application provides a preview screen generation device, which is disposed in an electronic device. Figure 3 A schematic diagram of an optional parameter switching device provided in an embodiment of this application is shown below. Figure 3 As shown, the parameter switching device includes: an acquisition module 31 and a switching module 32; wherein,

[0105] The acquisition module 31 is used to acquire the target parameters of the electronic device at its current location when the first communication quality parameter of the electronic device does not meet the preset conditions when the electronic device connects to the current cell; wherein, the target parameters include at least: target antenna parameters; the target antenna parameters are parameters selected from the antenna parameters of the electronic device's antenna in various states when the electronic device connects to the current cell;

[0106] The switching module 32 is used to switch the antenna parameters of the electronic device to the target antenna parameters.

[0107] In one optional embodiment, the target parameters include: a target cell; the device is further configured to:

[0108] Before switching the antenna parameters of the electronic device to the target antenna parameters, switch the current cell of the electronic device to the target cell;

[0109] The target cell is a cell selected from the cells covered by the electronic device at its current location.

[0110] In an optional embodiment, the acquisition module 31 is specifically used for:

[0111] When an electronic device connects to the current cell, if the first communication quality parameter of the electronic device does not meet the preset conditions, and the electronic device contains the target parameter for the current location, the target parameter is obtained.

[0112] In an optional embodiment, the acquisition module 31 is specifically used for:

[0113] When an electronic device connects to the current cell, if the first communication quality parameter of the electronic device does not meet the preset conditions, and the electronic device contains the target parameter at the current location determined by the electronic device within a preset time period, the target parameter is obtained.

[0114] In an optional embodiment, the acquisition module 31 is specifically used for:

[0115] When the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device connects to the current cell, the second communication quality parameter of the electronic device in each state of the antenna when the electronic device connects to the current cell is determined.

[0116] Based on the second communication quality parameter of the electronic device, the target state is selected from the various states of the antenna;

[0117] The antenna parameters corresponding to the target state are determined as the target antenna parameters.

[0118] In an optional embodiment, the acquisition module 31 is specifically used for:

[0119] When the first communication quality parameter of the electronic device does not meet the preset conditions when the electronic device connects to the current cell, and there is no target parameter of the electronic device at the current location, the cell covered by the electronic device at the current location is obtained.

[0120] Select the target cell from the covered cells.

[0121] In an optional embodiment, the device is further configured to:

[0122] After switching the current cell of the electronic device to the target cell, determine the third communication quality parameter of the electronic device in each state of the antenna when the electronic device is connected to the current cell;

[0123] The target state is selected from the various states of the antenna based on the third communication quality parameter of the electronic device.

[0124] The antenna parameters corresponding to the target state are determined as the target antenna parameters.

[0125] In an optional embodiment, the acquisition module 31 selects the target cell from the covered cells, including:

[0126] The target cell is selected from the covered cells based on the fourth communication quality parameter of the electronic devices under the covered cell.

[0127] In one alternative embodiment, the device determines a third communication quality parameter of the electronic device in each state of the antenna when the electronic device is connected to the target cell, including:

[0128] When the electronic device connects to the target cell, it controls the antenna switch to put the antenna into various states;

[0129] Determine the third communication quality parameter of the electronic device under each antenna state.

[0130] In one optional embodiment, when an electronic device connects to the current cell, if the first communication quality parameter of the electronic device does not meet a preset condition, including:

[0131] When an electronic device connects to the current cell, its data transmission rate is less than the preset data transmission rate.

[0132] In practical applications, the acquisition module 31 and the switching module 32 can be implemented by a processor located on the parameter switching device, specifically a central processing unit (CPU), microprocessor unit (MPU), digital signal processor (DSP), or field programmable gate array (FPGA), etc.

[0133] Figure 4 The following is a schematic diagram of an optional electronic device provided as an embodiment of this application, such as... Figure 4 As shown, this application embodiment provides an electronic device 400, including:

[0134] The processor 41 and the storage medium 42 storing the processor-executable instructions; the storage medium 42 performs operations via the processor 41 through the communication bus 43, and when the instructions are executed by the processor, the parameter switching method executed on the processor side in one or more of the above embodiments is performed.

[0135] It should be noted that in practical applications, the various components in the electronic device are coupled together via the communication bus 43. It can be understood that the communication bus 43 is used to achieve communication between these components. In addition to the data bus, the communication bus 43 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 4 The general labeled all buses as communication bus 43.

[0136] This application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processors execute the parameter switching method described in one or more of the above embodiments.

[0137] The computer-readable storage medium can be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM), etc.

[0138] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.

[0139] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0140] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0141] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0142] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.

Claims

1. A method of switching parameters, characterized by, The method is applied to an electronic device, and comprises: when a first communication quality parameter of the electronic device does not meet a preset condition when the electronic device is connected to a current cell, obtaining a target parameter of the electronic device at a current location; wherein the target parameter at least comprises a target antenna parameter; the target antenna parameter is a parameter selected from antenna parameters of the electronic device in various states of an antenna of the electronic device when the electronic device is connected to the current cell; switching the antenna parameter of the electronic device to the target antenna parameter.

2. The method of claim 1, wherein, The target parameter comprises a target cell; the method further comprises: before switching the antenna parameter of the electronic device to the target antenna parameter, switching the current cell of the electronic device to the target cell; wherein the target cell is a cell selected from cells covered by the electronic device at the current location.

3. The method according to claim 1 or 2, characterized in that, The method further comprises: when the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device is connected to the current cell, and the target parameter of the electronic device at the current location exists in the electronic device, obtaining the target parameter.

4. The method according to claim 1 or 2, characterized in that, The method further comprises: when the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device is connected to the current cell, and the target parameter of the electronic device at the current location exists in the electronic device, obtaining the target parameter.

5. The method of claim 1, wherein, The method further comprises: when the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device is connected to the current cell, and the target parameter of the electronic device at the current location exists in the electronic device, obtaining the target parameter. The method further comprises: when the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device is connected to the current cell, determining a second communication quality parameter of the electronic device in various states of the antenna when the electronic device is connected to the current cell; 6. The method of claim 2, wherein, based on the second communication quality parameter of the electronic device, selecting a target state from the various states of the antenna; determining an antenna parameter corresponding to the target state as the target antenna parameter. The method further comprises:

7. The method of claim 6, wherein, when the first communication quality parameter of the electronic device does not meet the preset condition when the electronic device is connected to the current cell, and the target parameter of the electronic device at the current location does not exist in the electronic device, obtaining cells covered by the electronic device at the current location; selecting the target cell from the covered cells. The method further comprises: determining a third communication quality parameter of the electronic device in each state of the antenna when the electronic device is connected to the current cell; selecting a target state from each state of the antenna based on the third communication quality parameter of the electronic device; determining the target antenna parameter corresponding to the target state as the target antenna parameter.

8. The method of claim 6, wherein, The selecting the target cell from the covered cells comprises: selecting the target cell from the covered cells based on a fourth communication quality parameter of the electronic device in the covered cells.

9. The method of claim 7, wherein, The determining the third communication quality parameter of the electronic device in each state of the antenna when the electronic device is connected to the target cell comprises: controlling an antenna switch of the antenna to make the antenna in each state when the electronic device is connected to the target cell; determining the third communication quality parameter of the electronic device in each state of the antenna.

10. The method of claim 1 or 2, wherein, The first communication quality parameter of the electronic device when the electronic device is connected to the current cell does not satisfy a preset condition, comprising: a data transmission rate of the electronic device when the electronic device is connected to the current cell is less than a preset data transmission rate.

11. A parameter switching device, characterized by comprising: The apparatus is arranged in an electronic device, comprising: an acquisition module, configured to acquire a target parameter of the electronic device in a current location when a first communication quality parameter of the electronic device does not satisfy a preset condition when the electronic device is connected to a current cell; wherein the target parameter comprises at least a target antenna parameter; the target antenna parameter is selected from antenna parameters of the electronic device in each state of an antenna of the electronic device when the electronic device is connected to the current cell; a switching module, configured to switch an antenna parameter of the electronic device to the target antenna parameter.

12. An electronic device, comprising: comprising: a processor and a storage medium having instructions executable by the processor; the storage medium performs operations in dependence on the processor via a communication bus, and when the instructions are executed by the processor, the switching method of the parameter in any one of claims 1 to 10 is performed.

13. A computer storage medium, characterized in that having executable instructions, when the executable instructions are executed by one or more processors, the processor performs the switching method of the parameter in any one of claims 1 to 10.