CN107135020B - Terminal intelligent antenna switching control method and device - Google Patents

Terminal intelligent antenna switching control method and device Download PDF

Info

Publication number
CN107135020B
CN107135020B CN201710375212.1A CN201710375212A CN107135020B CN 107135020 B CN107135020 B CN 107135020B CN 201710375212 A CN201710375212 A CN 201710375212A CN 107135020 B CN107135020 B CN 107135020B
Authority
CN
China
Prior art keywords
terminal
identification information
enabling identification
mode
antenna switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710375212.1A
Other languages
Chinese (zh)
Other versions
CN107135020A (en
Inventor
董志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710375212.1A priority Critical patent/CN107135020B/en
Publication of CN107135020A publication Critical patent/CN107135020A/en
Application granted granted Critical
Publication of CN107135020B publication Critical patent/CN107135020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0404Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • H04B7/0604Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching with predefined switching scheme
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0822Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection according to predefined selection scheme

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a device for controlling switching of an intelligent antenna of a terminal. After the operation mode of the terminal is switched, the mode configuration file corresponding to the new operation mode is loaded inevitably, so the terminal intelligent antenna switching control device can extract the enabling identification information from the corresponding mode configuration file and automatically control the intelligent antenna switching function based on the enabling identification information. The intelligent antenna switching function is enabled to be associated with the mode configuration files of different operation modes, so that the operation modes are associated with the intelligent antenna switching function, and the intelligent antenna switching function is automatically turned on and off under different operation modes. The terminal function is more in accordance with the requirements of the user in different application scenes of the terminal, and through automatic and intelligent switching, user operation is reduced, and user experience is improved.

Description

Terminal intelligent antenna switching control method and device
Technical Field
The invention relates to the field of electronic equipment, in particular to a method and a device for controlling intelligent antenna switching of a terminal.
Background
With the development of communication technology and electronic technology, the communication function of the terminal has become more and more perfect, so that the majority of users can realize voice and video communication, fast network browsing and the like in a simple and convenient manner, and good communication experience is brought to the users. The improvement in communication quality is mentioned, and the smart antenna is of course not negligible.
Smart antennas are also known as adaptive antenna arrays, variable antenna arrays, multiple antennas. It refers to an antenna array with intelligent algorithm that can determine the spatial information (such as propagation direction) of the signal and track and locate the signal source, and can perform spatial filtering according to the information. The smart antenna is generally divided into a main antenna and an auxiliary antenna, and the main antenna is responsible for receiving and transmitting information in a normal case. When the communication quality of the main antenna is worse than the preset condition, the auxiliary antenna can be automatically switched to carry out communication, namely, the intelligent antenna is switched.
The intelligent antenna switching function can effectively avoid the problem caused by poor signal quality in the communication process of the terminal, and greatly improves the user experience of interaction with the outside world through the existing network. For the ordinary users, the smart antenna switching is a function with strong practicability. However, in some situations, the smart antenna switching also brings trouble, for example, when the performance of the terminal needs to be tested in the processes of quality detection, maintenance, and the like, the communication quality of the main antenna and the auxiliary antenna may need to be known separately, but if the main antenna and the auxiliary antenna are automatically switched due to the communication quality in the test process, there is no way to obtain a correct and objective test result. Therefore, in the laboratory mode, the smart antenna switching function of the terminal needs to be turned off.
In the prior art, the switching function of the terminal smart antenna generally adopts a default setting mode, or directly starts the switching function of the smart antenna, or directly closes the switching function of the smart antenna, and the switching mode is very inconvenient, and especially has higher requirements for common users. Therefore, it is now necessary to provide a control scheme for terminal smart antenna switching.
Disclosure of Invention
The invention provides a switching control method and device for a terminal intelligent antenna, and solves the problem that in the prior art, the switching function of the terminal intelligent antenna is set by default and cannot be conveniently opened or closed according to needs, so that the user experience is poor.
In order to solve the technical problems, the invention adopts the following technical scheme:
a terminal intelligent antenna switching control method comprises the following steps:
after the operation mode of the terminal is switched, extracting enabling identification information from a mode configuration file corresponding to the current operation mode of the terminal, wherein the mode configuration file comprises parameter configuration information of the terminal in the operation mode, and the enabling identification information is used for representing whether an intelligent antenna switching function needs to be started or not in the current operation mode of the terminal;
and controlling the intelligent antenna switching function of the terminal based on the extracted enabling identification information.
Further, controlling the smart antenna switching function of the terminal based on the extracted enabling identification information includes:
determining an expected state represented by the extracted enabling identification information according to a preset rule, wherein the expected state is a state in which the intelligent antenna switching function is required to be in a current operation mode;
controlling the smart antenna switching function according to the desired state.
Further, determining the expected state characterized by the extracted enabling identification information according to a preset rule includes:
comparing the value of the enabling identification information with a preset opening standard value, wherein if the enabling identification information is equal to the opening standard value, the expected state is an opening state, and otherwise, the expected state is a closing state;
or the like, or, alternatively,
and matching the value of the enabling identification information with a preset opening standard range, wherein if the value of the enabling identification information is in the opening standard range, the expected state is an opening state, and otherwise, the expected state is a closing state.
Further, before extracting the enabling identification information, the method further comprises:
and configuring enabling identification information in the extension items of the mode configuration files corresponding to the operation modes of the terminal.
Further, the operation modes of the terminal include a current network mode and a laboratory mode, and configuring the enabling identification information in the extension item of the mode configuration file corresponding to each operation mode of the terminal includes:
configuring enabling identification information in a mode configuration file corresponding to the current network mode into a value representing the switching function of the intelligent antenna;
and configuring the enabling identification information in the mode configuration file corresponding to the laboratory mode into a value for closing the intelligent antenna switching function.
Further, the extension item includes NV 28967.
A terminal intelligent antenna switching control device comprises:
the terminal comprises an extraction module, a switching module and a switching module, wherein the extraction module is used for extracting enabling identification information from a mode configuration file corresponding to a current operation mode of the terminal after the operation mode of the terminal is switched, the mode configuration file comprises parameter configuration information of the terminal in the operation mode, and the enabling identification information is used for representing whether an intelligent antenna switching function needs to be started or not in the current operation mode of the terminal;
and the control module is used for controlling the intelligent antenna switching function of the terminal based on the extracted enabling identification information.
Further, the control module includes:
a state determining module, configured to determine, according to a preset rule, an expected state represented by the extracted enabling identification information, where the expected state is a state where the smart antenna switching function is required in a current operating mode;
and the state control module is used for controlling the intelligent antenna switching function according to the expected state.
Further, the state determination module includes:
the first judgment module is used for comparing the value of the enabling identification information with a preset opening standard value, if the enabling identification information is equal to the opening standard value, the expected state is an opening state, and if not, the expected state is a closing state;
or the like, or, alternatively,
and the second judgment module is used for matching the value of the enabling identification information with a preset opening standard range, if the value of the enabling identification information is in the opening standard range, the expected state is an opening state, and if not, the expected state is a closing state.
Further, still include:
and the configuration module is used for configuring the enabling identification information in the extension items of the mode configuration file corresponding to each operation mode of the terminal.
Further, the operation mode of the terminal includes an existing network mode and a laboratory mode, and the configuration module includes:
the first configuration module is used for configuring the enabling identification information in the mode configuration file corresponding to the current network mode into a value representing the opening of the intelligent antenna switching function;
and the second configuration module is used for configuring the enabling identification information in the mode configuration file corresponding to the laboratory mode into a value for closing the intelligent antenna switching function.
According to the method and the device for controlling the switching of the intelligent antenna of the terminal, the mode configuration file of the terminal operation mode contains the enabling identification information, and the enabling identification information can represent whether the intelligent antenna switching function needs to be started or not in the operation mode. After the operation mode of the terminal is switched, the mode configuration file corresponding to the new operation mode is loaded inevitably, and at this time, the terminal intelligent antenna switching control device can extract the enabling identification information from the corresponding mode configuration file, so that the intelligent antenna switching function of the terminal is automatically controlled based on the extracted enabling identification information. In the mode, the enabling of the intelligent antenna switching function is associated with the mode configuration files of different operation modes, so that the connection between the operation modes and the enabling of the intelligent antenna switching function is established, and the intelligent antenna switching function is automatically turned on and off in different operation modes. The terminal function is more in accordance with the requirements of the user in different application scenes of the terminal, and through automatic and intelligent switching, user operation is reduced, and user experience is improved.
Drawings
Fig. 1 is a flowchart of a terminal smart antenna switching control method according to an embodiment of the present invention;
fig. 2 is a flowchart of a terminal smart antenna switching control apparatus controlling a smart antenna switching function based on enable identification information according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal smart antenna switching control apparatus according to a second embodiment of the present invention;
fig. 4 is another schematic structural diagram of a terminal intelligent antenna switching control device according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram of a configuration module shown in FIG. 4;
FIG. 6 is a schematic diagram of a configuration of the control module of FIG. 3 or FIG. 4;
FIG. 7 is a schematic diagram of a configuration of the state determination module of FIG. 6;
fig. 8 is a schematic diagram of a hardware structure of a terminal according to three embodiments of the present invention;
fig. 9 is a flowchart of a terminal intelligent antenna switching control method according to a third embodiment of the present invention.
Detailed Description
The invention provides a terminal intelligent antenna switching control scheme, aiming at solving the problem that the terminal intelligent antenna switching function is inconvenient to control in the prior art. In order to make the details and advantages of the present invention more apparent to those skilled in the art, the following will explain the switching control of the terminal smart antenna in detail with reference to the accompanying drawings:
the first embodiment is as follows:
in this embodiment, a method for controlling switching of a terminal smart antenna is described first, where the method is executed by a terminal smart antenna switching control apparatus, please refer to a flowchart of the method for controlling switching of a terminal smart antenna shown in fig. 1:
s102, the terminal intelligent antenna switching control device extracts enabling identification information from a mode configuration file corresponding to the current operation mode of the terminal.
As described above, when the terminal smart antenna switching function is turned on, in order to improve the communication quality of the terminal, it is likely that the main antenna and the auxiliary antenna are automatically switched. When a user uses a terminal to perform normal communication, the switching is naturally beneficial to bringing good communication experience to the user, but when the intelligent antenna of the terminal is not needed to be switched, the method of default opening the switching function of the intelligent antenna in the prior art brings troubles.
The terminal may typically be in a variety of operational modes, such as a common off-the-shelf mode, a laboratory mode, and the like. The current network mode is generally a normal communication mode used by a user after the user inserts the current network card into the terminal. Therefore, for the purpose of improving the communication quality, the smart antenna switching mode is generally required to be turned on in the current network mode. The laboratory mode is a mode in which the terminal is required to operate when an engineer or the like tests the performance parameters of the terminal. In order to avoid detection interruption caused by switching of the antennas in the detection process, and to accurately obtain performance parameters of each antenna in the terminal and achieve the purposes of terminal detection, maintenance and the like, the switching function of the intelligent antenna needs to be turned off in a laboratory mode.
Since the terminal has different operating parameters in different operating modes, for example, the rf circuit of the terminal may use different transmitting and receiving powers in different operating modes. The operation parameters are configured and determined in an operation mode configuration file in advance, and the operation mode configuration file comprises parameter configuration information of the terminal in the operation mode. Therefore, different operating modes correspond to different operating mode profiles. When the terminal is in different operation modes, the operation mode configuration files loaded by the terminal are different. The MBN (model binary configuration) file is a file for storing operator specific NV (Non-Volatile value)/EFS
(Encrypting File System) configuration item File format. In this embodiment, the operation mode configuration file includes the enabling identification information.
The enabling identification information is used for representing whether the intelligent antenna switching function of the terminal needs to be started or not in the operation mode. In the operation mode configuration file, a plurality of NV values may be included, wherein a part of the NV values is defined to have a meaning or function, but also a function is defined by a part of the parameters currently in an "idle" state, i.e., the part of the NV values is not yet provided with a meaning, such as NV28967 in the MBN file. These parameters in the "idle" state are the extension items in the operating mode configuration file, and the extension items can be used by the user in a customized manner. In this embodiment, the enabling identification information is configured in an extension in the run mode configuration file.
In order to facilitate the terminal smart antenna switching control device to implement control over the terminal smart antenna switching function according to the enabling identification information, in an example of this embodiment, the enabling identification information of all the operation mode configuration files may be configured in one unified extension item. Therefore, no matter the terminal is switched to any operation mode from the current operation mode, the intelligent antenna switching control device of the terminal only needs to extract the enabling identification information from the unified extension item. If the enabling identification information of each operation mode of the terminal is configured in different extension items, for example, the enabling identification information of the first operation mode is in the a extension item, and the enabling identification information of the second operation mode is in the B extension item. When the terminal is switched from the A operation mode to the B operation mode or from the B operation mode to the A operation mode, the terminal intelligent antenna switching control device can acquire the enabling identification information and complete the control of the intelligent antenna switching function. However, in this case, the terminal smart antenna switching control device needs to record the extension items in which the enabling identification information of the two operation modes is configured respectively. This obviously can increase the burden of terminal intelligent antenna switching controlling means, simultaneously, also can reduce the control efficiency that terminal intelligent antenna switching controlling means switched the function to intelligent antenna because when the terminal takes place the operation mode switching, terminal intelligent antenna switching controlling means need inquire out to obtain to enable identification information in which extension, then can get to corresponding extension and carry out the extraction work. Compared with the scheme of directly defining a unified extension item to configure the enabling identification information and the scheme of respectively defining the extension item to configure the enabling parameter information, the load of the intelligent antenna switching control device of the terminal is reduced, and the control efficiency is improved.
Specifically, the terminal intelligent antenna switching control device can configure the enabling identification information in the current network mode corresponding mode configuration file as a value representing the intelligent antenna switching function to be started, and configure the enabling identification information in the laboratory mode corresponding mode configuration file as a value for closing the intelligent antenna switching function. Assume that in an example of the present embodiment, the enabling identification information is configured in NV28967, and "1" indicates that the smart antenna switching function is turned on, and "0" indicates that the smart antenna switching function is turned off. The NV28967 has a value of "1" in the MBN file of the live mode, and the NV28967 has a value of "0" in the MBN file of the laboratory mode.
In an example of the present embodiment, the NV28967 in an MBN file may include two parameter items: firstly, loading a radio frequency scheme/radio frequency version used in an operation mode corresponding to the MBN file; second, whether the smart antenna switching function is enabled in this mode of operation. Generally, it is necessary to determine the rf scheme/version before setting whether to turn on the smart antenna switching function.
And S104, the terminal intelligent antenna switching control device controls the intelligent antenna switching function of the terminal based on the extracted enabling identification information.
After the terminal intelligent antenna switching control device extracts the corresponding enabling identification information from the operation mode configuration file, the intelligent antenna switching function can be controlled based on the value of the enabling identification information.
Since the enabling identification information in the operation configuration file may directly represent the expected state of the smart antenna switching function, for example, if the enabling identification information is directly "on", the expected state of the smart antenna switching function is represented as on, and if the enabling identification information is "off", the expected state of the smart antenna switching function is represented as off. In the actual computer field, positive results are usually characterized by "1" and negative results by "0". Therefore, in this example, if the value of the enable flag information is "1", it is directly indicated that the smart antenna switching function is desired to be turned on, and if the value of the enable flag information is "0", it is indicated that the smart antenna switching function is desired to be turned off.
In addition, in other schemes, the terminal smart antenna switching control device may need to combine a preset rule to determine the expected state corresponding to the enabling identification information.
Referring to fig. 2, fig. 2 is a flowchart illustrating the terminal smart antenna switching control apparatus controlling the smart antenna switching function based on the enabling identification information:
s202, the terminal intelligent antenna switching control device determines the expected state represented by the extracted enabling identification information according to a preset rule.
In one example of the present embodiment, one value corresponds to one of the on state and the off state, and the other values than the one value correspond to the other state. For example, if the enabling identification information in the mode configuration file of one operation mode is equal to the opening standard value, the terminal smart antenna switching control device may determine that the expected state corresponding to the enabling identification information is the opening state; if the value of the enabling identification information in the mode configuration file of one operation mode is not equal to the opening standard value, the terminal intelligent antenna switching control device can determine that the expected state corresponding to the enabling identification information is the closing state.
In some other examples of this embodiment, the range of values corresponds to a state in which the smart antenna switching function of the terminal is expected: if the value of the enabling identification information in the mode configuration file of one operation mode is in the range of the starting standard, the terminal intelligent antenna switching control device can judge that the expected state corresponding to the enabling identification information is in the starting state; if the value of the enabling identification information in the mode configuration file of one operation mode is beyond the opening standard range, the terminal intelligent antenna switching control device can judge that the expected state corresponding to the enabling identification information is the closing state. For example, the desired state corresponding to the enabling identification information less than 10 is off, and the desired state corresponding to the enabling identification information greater than or equal to 10 is on. If the value of the enabling identification information in the operation configuration file is 5, the terminal intelligent antenna switching control device can judge that the expected state corresponding to the enabling identification information is the closing state.
And S204, the terminal intelligent antenna switching control device controls the intelligent antenna switching function according to the determined expected state.
In the method for controlling switching of the terminal intelligent antenna provided by this embodiment, different operation modes of the terminal have different operation mode configuration files, and by configuring the enabling identification information in the extension item in the operation mode configuration file, when the operation mode of the terminal is changed, a new operation mode configuration file is inevitably loaded. Therefore, the terminal intelligent antenna switching control device can naturally realize the control of the intelligent antenna switching function according to the mode configuration file of the current operation mode after the operation mode is switched. When the terminal has two or more operation modes, the uninterrupted enabling identification information can be configured for the mode configuration file corresponding to the unnecessary operation mode according to actual needs, so that the terminal intelligent antenna switching control device can easily realize the personalized management of the intelligent antenna switching function in each operation mode, the user does not need to issue instructions to realize the function closing and opening, and the user experience is improved.
Example two:
the present embodiment provides a terminal smart antenna switching control apparatus, which can be used to execute the terminal smart antenna switching control method provided in the first embodiment, please refer to fig. 3:
the terminal smart antenna switching control device 30 includes an extraction module 302 and a control module 304, wherein the extraction module 302 is configured to extract the enabling identification information from the mode configuration file corresponding to the current operation mode of the terminal after the operation mode of the terminal is switched. And the control module 304 is configured to control a smart antenna switching function of the terminal based on the extracted enabling identification information.
As described above, when the terminal smart antenna switching function is turned on, in order to improve the communication quality of the terminal, it is likely that the main antenna and the auxiliary antenna are automatically switched. When a user uses a terminal to perform normal communication, the switching is naturally beneficial to bringing good communication experience to the user, but when the intelligent antenna of the terminal is not needed to be switched, the method of default opening the switching function of the intelligent antenna in the prior art brings troubles.
The terminal may typically be in a variety of operational modes, such as a common off-the-shelf mode, a laboratory mode, and the like. The current network mode is generally a normal communication mode used by a user after the user inserts the current network card into the terminal. Therefore, for the purpose of improving the communication quality, the smart antenna switching mode is generally required to be turned on in the current network mode. The laboratory mode is a mode in which the terminal is required to operate when an engineer or the like tests the performance parameters of the terminal. In order to avoid detection interruption caused by switching of the antennas in the detection process, and to accurately obtain performance parameters of each antenna in the terminal and achieve the purposes of terminal detection, maintenance and the like, the switching function of the intelligent antenna needs to be turned off in a laboratory mode.
Since the terminal has different operating parameters in different operating modes, for example, the rf circuit of the terminal may use different transmitting and receiving powers in different operating modes. The operation parameters are configured and determined in an operation mode configuration file in advance, and the operation mode configuration file comprises parameter configuration information of the terminal in the operation mode. Therefore, different operating modes correspond to different operating mode profiles (MBN files). When the terminal is in different operation modes, the operation mode configuration files loaded by the terminal are different. In this embodiment, the operation mode configuration file includes the enabling identification information.
The enabling identification information is used for representing whether the intelligent antenna switching function of the terminal needs to be started or not in the operation mode. In the operation mode configuration file, a plurality of NV values may be included, wherein a part of the NV values is defined to have a meaning or function, but also a function is defined by a part of the parameters currently in an "idle" state, i.e., the part of the NV values is not yet provided with a meaning, such as NV28967 in the MBN file. These parameters in the "idle" state are the extension items in the operating mode configuration file, and the extension items can be used by the user in a customized manner. As shown in fig. 4, in an example of the present embodiment, the terminal smart antenna switching control apparatus 30 further includes a configuration module 306, and the configuration module 306 is configured to configure the enabling identification information in the extension item of the mode configuration file corresponding to each operation mode of the terminal.
In order to facilitate the extraction module 302 to extract the enabling identification information for the control module 304 to implement the control of the terminal smart antenna switching function, in an example of this embodiment, the configuration module 306 may configure the enabling identification information of all the operation mode configuration files in a unified extension item. In this way, it can be ensured that the extraction module 302 only needs to extract the enabling identification information from the unified extension item no matter what operation mode the terminal is switched to from the current operation mode. If the configuration module 306 configures the enabling identification information of each operation mode of the terminal in different extension items, for example, the enabling identification information of the first operation mode is in the a extension item, and the enabling identification information of the second operation mode is in the B extension item. When the terminal switches from the a operation mode to the B operation mode or from the B operation mode to the a operation mode, although the extraction module 302 can also acquire the enabling identification information, the control module 304 completes the control of the smart antenna switching function. In this case, however, the extraction module 302 needs to record the extension items in which the enabling identification information of the two operation modes is configured respectively. This obviously increases the burden of the extraction module 302, and at the same time, reduces the overall control efficiency of the terminal smart antenna switching control apparatus 30 on the smart antenna switching function, because when the terminal is switched in the operation mode, the extraction module 302 needs to first query which extension item to acquire the enabling identification information, and then can acquire the corresponding extension item to perform the extraction operation. Compared with the scheme of directly defining a unified extension item to configure the enabling identification information by the configuration module 306 and the scheme of respectively defining the extension item to configure the enabling parameter information, the load of the extraction module 302 is reduced, and the control efficiency is improved.
Before extracting the enabling identifier information from the mode configuration file corresponding to the current operation mode of the terminal, the configuration module 306 needs to complete the configuration of the enabling identifier information in the operation mode configuration file, as shown in fig. 5.
The configuration module 306 includes a first configuration module 3061 and a second configuration module 3062. The first configuration module 3061 may configure the enabling identification information in the current network mode corresponding mode configuration file as a value representing that the smart antenna switching function is turned on, and the second configuration module 3062 configures the enabling identification information in the laboratory mode corresponding mode configuration file as a value representing that the smart antenna switching function is turned off. Assume that in an example of the present embodiment, the enabling identification information is configured in NV28967, and "1" indicates that the smart antenna switching function is turned on, and "0" indicates that the smart antenna switching function is turned off. The NV28967 has a value of "1" in the MBN file of the live mode, and the NV28967 has a value of "0" in the MBN file of the laboratory mode.
In an example of the present embodiment, the NV28967 in an MBN file may include two parameter items: firstly, loading a radio frequency scheme/radio frequency version used in an operation mode corresponding to the MBN file; second, whether the smart antenna switching function is enabled in this mode of operation. Generally, it is necessary to determine the rf scheme/version before setting whether to turn on the smart antenna switching function.
After the extracting module 302 extracts the corresponding enabling identification information from the operation mode configuration file, the control module 304 may control the smart antenna switching function based on the value of the enabling identification information.
Since the enabling identification information in the operation configuration file may directly represent the expected state of the smart antenna switching function, for example, if the enabling identification information is directly "on", the expected state of the smart antenna switching function is represented as on, and if the enabling identification information is "off", the expected state of the smart antenna switching function is represented as off. In the actual computer field, positive results are usually characterized by "1" and negative results by "0". Therefore, in this example, if the value of the enable flag information is "1", it is directly indicated that the smart antenna switching function is desired to be turned on, and if the value of the enable flag information is "0", it is indicated that the smart antenna switching function is desired to be turned off.
In addition, in other schemes, the control module 304 may need to combine a preset rule to determine the expected state corresponding to the enabling identification information. Therefore, as shown in FIG. 6, the control module 304 includes a state determination module 3041 and a state control module 3042. The state determining module 3041 is configured to determine, according to a preset rule, a desired state represented by the extracted enabling identification information. And the state control module 3042 is used to control the smart antenna switching function according to the desired state. In the state determination module illustrated in fig. 7, the state determination module 3041 may include any one of a first determination module 30411 and a second determination module 30412.
In one example of the present embodiment, one value corresponds to one of the on state and the off state, and the other values than the one value correspond to the other state. For example, if the enable identification information in the mode configuration file of one operation mode is equal to the opening standard value, the first determination module
30411 it can be determined that the desired state corresponding to the enabling identification information is an on state; if the value of the enabling identification information in the mode configuration file of one operation mode is not equal to the opening standard value, the first determination module 30411 may determine that the expected state corresponding to the enabling identification information is the closing state.
In some other examples of this embodiment, the range of values corresponds to a state in which the smart antenna switching function of the terminal is expected: if the value of the enabling identification information in the mode configuration file of one operation mode is within the opening standard range, the second determination module 30412 may determine that the expected state corresponding to the enabling identification information is an opening state; if the value of the enabling identification information in the mode profile of one operation mode is outside the range of the opening criterion, the second determination module 30412 may determine that the desired state corresponding to the enabling identification information is the closing state. For example, the desired state corresponding to the enabling identification information less than 10 is off, and the desired state corresponding to the enabling identification information greater than or equal to 10 is on. The second determination module 30412 may determine that the desired state corresponding to the enable identification information is an off state if the value of the enable identification information in the run profile is 5.
After the state determining module 3041 determines the expected state, the state control module 3042 controls the smart antenna switching function according to the determined expected state.
The terminal intelligent antenna switching control device provided by this embodiment utilizes different operation modes of the terminal to have different operation mode configuration files, and configures the enabling identification information in the extension item in the operation mode configuration file, so that when the operation mode of the terminal is changed, a new operation mode configuration file is inevitably loaded. Therefore, the terminal intelligent antenna switching control device can naturally realize the control of the intelligent antenna switching function according to the mode configuration file of the current operation mode after the operation mode is switched. When the terminal has two or more operation modes, the uninterrupted enabling identification information can be configured for the mode configuration file corresponding to the unnecessary operation mode according to actual needs, so that the terminal intelligent antenna switching control device can easily realize the personalized management of the intelligent antenna switching function in each operation mode, the user does not need to issue instructions to realize the function closing and opening, and the user experience is improved.
Example three:
the present embodiment provides a terminal on the basis of the first and second embodiments, and the foregoing method and apparatus for controlling switching of a smart antenna of a terminal are continuously described:
as shown in fig. 8, the terminal 8 includes a processor 81, a memory 82, an input unit 83, a smart antenna 84, and the like. The processor 81 can execute the terminal smart antenna switching control method, and the memory 82 can store a code corresponding to the method executed by the processor 81.
Please refer to the flowchart of the method for executing terminal intelligent antenna switching control by the processor in fig. 9:
s902, the processor configures enabling identification information in the extension items of the mode configuration file corresponding to each operation mode of the terminal.
The processor 81 can configure the enabling identification information in the extension item of the mode configuration file corresponding to each operation mode, and in this embodiment, the extension item configured with the enabling identification information is NV 28967. Of course, it will be appreciated that the configuration process of the processor 81 may be performed in conjunction with an indication from the user. For example, the user sets the description about the switching function of the smart antenna 84 in the current network mode corresponding mode profile to "on" and the description about the switching function of the smart antenna 84 in the laboratory mode corresponding mode profile to "off" through the input unit 83. The processor 81 may configure the enabling identification information value corresponding to the current network mode to "1" and configure the enabling identification information value corresponding to the laboratory mode to any value other than "1", for example, "0", according to the setting of the user.
When the configuration of the processor 81 is complete, the mode configuration file may be handed to the memory 82 for storage. When the terminal switches the operation mode, the processor 81 may control loading of a corresponding mode profile from the memory 82.
And S904, the processor extracts the enabling identification information from the mode configuration file corresponding to the current operation mode of the terminal.
When the user issues a mode switching instruction through the input unit 83, for example, when the network mode is switched to the laboratory mode from the current network mode, the processor 81 loads a mode configuration file corresponding to the laboratory mode, and reads a value of NV28967 from a configuration file of the current operation mode, that is, from an MBN file of the laboratory mode by executing a radio frequency code.
S906, the processor controls the intelligent antenna switching function of the terminal based on the enabling identification information.
Since the preset rule is to turn on the switching function of the smart antenna 84 when the enabling identification information is "1", and turn off otherwise. Therefore, the processor 81 needs to compare NV28967 extracted from the lab model configuration file MBN with "1" to determine whether its value is "1". If the judgment result is yes, the switching function of the smart antenna 84 is controlled to be started, otherwise, the switching function of the smart antenna 84 is closed.
In the terminal provided by this embodiment, the processor configures in advance a switching function for characterizing whether to turn on the smart antenna in each operation mode in the mode configuration file extension item of each operation mode. After the terminal switches the operation mode and loads the mode configuration file of the new operation mode, the control of the intelligent antenna switching function can be immediately and automatically realized according to the enabling identification information in the mode configuration file. Compared with the mode that the user sends the control command to the terminal processor in the prior art, the method has the advantages that user operation is reduced, the intelligent control degree is improved, and meanwhile, the control efficiency is improved.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (11)

1. A terminal intelligent antenna switching control method is characterized by comprising the following steps:
after the operation mode of the terminal is switched, extracting enabling identification information from a mode configuration file corresponding to the current operation mode of the terminal, wherein the mode configuration file comprises parameter configuration information of the terminal in the operation mode, and the enabling identification information is used for representing whether an intelligent antenna switching function needs to be started or not in the current operation mode of the terminal;
and controlling the intelligent antenna switching function of the terminal based on the extracted enabling identification information.
2. The terminal smart antenna switching control method of claim 1, wherein controlling the smart antenna switching function of the terminal based on the extracted enabling identification information comprises:
determining an expected state represented by the extracted enabling identification information according to a preset rule, wherein the expected state is a state in which the intelligent antenna switching function is required to be in a current operation mode;
controlling the smart antenna switching function according to the desired state.
3. The method for controlling switching of intelligent antenna of terminal as claimed in claim 2, wherein determining the expected state represented by the extracted enabling identification information according to the preset rule comprises:
comparing the value of the enabling identification information with a preset opening standard value, wherein if the enabling identification information is equal to the opening standard value, the expected state is an opening state, and otherwise, the expected state is a closing state;
or the like, or, alternatively,
and matching the value of the enabling identification information with a preset opening standard range, wherein if the value of the enabling identification information is in the opening standard range, the expected state is an opening state, and otherwise, the expected state is a closing state.
4. The terminal intelligent antenna switching control method of any one of claims 1-3, further comprising before extracting the enabling identification information:
and configuring enabling identification information in the extension items of the mode configuration files corresponding to the operation modes of the terminal.
5. The terminal intelligent antenna switching control method of claim 4, wherein the operation modes of the terminal include an existing network mode and a laboratory mode, and configuring the enabling identification information in the extension item of the mode configuration file corresponding to each operation mode of the terminal comprises:
configuring enabling identification information in a mode configuration file corresponding to the current network mode into a value representing the switching function of the intelligent antenna;
and configuring the enabling identification information in the mode configuration file corresponding to the laboratory mode into a value for closing the intelligent antenna switching function.
6. The terminal smart antenna switching control method of claim 4, wherein the extension item comprises NV 28967.
7. The utility model provides a terminal smart antenna switches controlling means which characterized in that includes:
the terminal comprises an extraction module, a switching module and a switching module, wherein the extraction module is used for extracting enabling identification information from a mode configuration file corresponding to a current operation mode of the terminal after the operation mode of the terminal is switched, the mode configuration file comprises parameter configuration information of the terminal in the operation mode, and the enabling identification information is used for representing whether an intelligent antenna switching function needs to be started or not in the current operation mode of the terminal;
and the control module is used for controlling the intelligent antenna switching function of the terminal based on the extracted enabling identification information.
8. The terminal smart antenna switching control device of claim 7, wherein said control module comprises:
a state determining module, configured to determine, according to a preset rule, an expected state represented by the extracted enabling identification information, where the expected state is a state where the smart antenna switching function is required in a current operating mode;
and the state control module is used for controlling the intelligent antenna switching function according to the expected state.
9. The terminal smart antenna switching control apparatus of claim 8, wherein said status determination module comprises:
the first judgment module is used for comparing the value of the enabling identification information with a preset opening standard value, if the enabling identification information is equal to the opening standard value, the expected state is an opening state, and if not, the expected state is a closing state;
or the like, or, alternatively,
and the second judgment module is used for matching the value of the enabling identification information with a preset opening standard range, if the value of the enabling identification information is in the opening standard range, the expected state is an opening state, and if not, the expected state is a closing state.
10. The terminal smart antenna switching control apparatus of any one of claims 7-9, further comprising:
and the configuration module is used for configuring the enabling identification information in the extension items of the mode configuration file corresponding to each operation mode of the terminal.
11. The apparatus for controlling switching of smart antenna of a terminal according to claim 10, wherein the operation modes of the terminal include an existing network mode and a laboratory mode, and the configuration module comprises:
the first configuration module is used for configuring the enabling identification information in the mode configuration file corresponding to the current network mode into a value representing the opening of the intelligent antenna switching function;
and the second configuration module is used for configuring the enabling identification information in the mode configuration file corresponding to the laboratory mode into a value for closing the intelligent antenna switching function.
CN201710375212.1A 2017-05-24 2017-05-24 Terminal intelligent antenna switching control method and device Active CN107135020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710375212.1A CN107135020B (en) 2017-05-24 2017-05-24 Terminal intelligent antenna switching control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710375212.1A CN107135020B (en) 2017-05-24 2017-05-24 Terminal intelligent antenna switching control method and device

Publications (2)

Publication Number Publication Date
CN107135020A CN107135020A (en) 2017-09-05
CN107135020B true CN107135020B (en) 2020-07-03

Family

ID=59732161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710375212.1A Active CN107135020B (en) 2017-05-24 2017-05-24 Terminal intelligent antenna switching control method and device

Country Status (1)

Country Link
CN (1) CN107135020B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111431633B (en) * 2020-03-17 2022-06-21 Oppo(重庆)智能科技有限公司 Test method and system, and storage medium
CN114363932B (en) * 2022-03-11 2022-05-24 深圳市孚邦无线技术有限公司 Automatic sending and receiving system for intelligent antenna parameter configuration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739829A (en) * 2012-06-29 2012-10-17 北京小米科技有限责任公司 Intelligent terminal and connection method and device of intelligent terminal and external antenna
CN103633451A (en) * 2012-08-27 2014-03-12 华为终端有限公司 Dual feed point antenna system and feed point switching method
CN105375995A (en) * 2015-10-10 2016-03-02 南京邮电大学 Intelligent wireless frequency spectrum online monitoring system and realization method thereof
CN105680884A (en) * 2015-12-31 2016-06-15 江苏骅盛车用电子股份有限公司 Vehicular intelligent antenna system
CN106159444A (en) * 2015-03-31 2016-11-23 联想(北京)有限公司 Antenna module, mobile terminal and control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10101447B2 (en) * 2015-05-27 2018-10-16 Garmin International, Inc. Shared aviation antenna

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739829A (en) * 2012-06-29 2012-10-17 北京小米科技有限责任公司 Intelligent terminal and connection method and device of intelligent terminal and external antenna
CN103633451A (en) * 2012-08-27 2014-03-12 华为终端有限公司 Dual feed point antenna system and feed point switching method
CN106159444A (en) * 2015-03-31 2016-11-23 联想(北京)有限公司 Antenna module, mobile terminal and control method thereof
CN105375995A (en) * 2015-10-10 2016-03-02 南京邮电大学 Intelligent wireless frequency spectrum online monitoring system and realization method thereof
CN105680884A (en) * 2015-12-31 2016-06-15 江苏骅盛车用电子股份有限公司 Vehicular intelligent antenna system

Also Published As

Publication number Publication date
CN107135020A (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN106656689A (en) Terminal-based smart home control method and terminal
CN108495344B (en) Network switching method, device and terminal
CN104145304A (en) An apparatus and method for multiple device voice control
EP3046393A1 (en) Switching device and method for automatically connecting to nfc chip and switching security element
CN103476139A (en) Connection method of WIFI (Wireless Fidelity) network and communication terminal
CN107135020B (en) Terminal intelligent antenna switching control method and device
WO2016058368A1 (en) Home appliance control method and control device, and home data terminal
CN103533670A (en) Method and device for connecting wireless network equipment, and wireless network system
KR101298364B1 (en) System and method of reducing factory program time for wireless devices
EP4064760A1 (en) Device control method and apparatus, storage medium and electronic device
CN102711201A (en) Multi-mode RAT switching method and device thereof
CN105007206A (en) Method and device for controlling intelligent household electrical appliance and mobile terminal
CN105657689A (en) MiFi control method and device
CN105893029A (en) Application program notification management method and device and mobile terminal
CN103888983A (en) WIFI work mode automatic switching method and system of terminal
CN105573837A (en) Method and device for controlling multi-system mobile terminal
KR20200014986A (en) Electronic device and method for searching plmn in wireless communication system
CN105632157A (en) Intelligent control system, intelligent terminal and network equipment
CN103517117A (en) Method and system for function expansion based on remote controller key of multimedia electronic equipment
CN106160779A (en) For sharing mobile terminal and the method for antenna
CN105517083A (en) Network switching method, device and terminal
CN108738097A (en) Method and device for reducing power consumption
CN103152005B (en) A kind of adjustment method of match circuit and device
KR102371501B1 (en) Apparatus and method for providing usb interface between potable device and external device
CN106302952A (en) The method and device of double card switching

Legal Events

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