CN108551346B - Method and device for controlling frequency band in communication terminal - Google Patents

Method and device for controlling frequency band in communication terminal Download PDF

Info

Publication number
CN108551346B
CN108551346B CN201810343880.0A CN201810343880A CN108551346B CN 108551346 B CN108551346 B CN 108551346B CN 201810343880 A CN201810343880 A CN 201810343880A CN 108551346 B CN108551346 B CN 108551346B
Authority
CN
China
Prior art keywords
frequency band
file
information
configuration
state information
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
CN201810343880.0A
Other languages
Chinese (zh)
Other versions
CN108551346A (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.)
Shenzhen Waterward Software Technology Co ltd
Original Assignee
Shenzhen Water World 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 Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN201810343880.0A priority Critical patent/CN108551346B/en
Publication of CN108551346A publication Critical patent/CN108551346A/en
Application granted granted Critical
Publication of CN108551346B publication Critical patent/CN108551346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges

Abstract

The invention provides a method and a device for controlling a middle frequency band of a communication terminal, which comprise the following steps: acquiring state information detected by a detection interface on a circuit board in a communication terminal; matching corresponding frequency band configuration information in a preset configuration table according to the state information; and controlling a radio frequency module to select a corresponding frequency band according to the frequency band configuration information. According to the invention, when the circuit board is connected with different radio frequency hardware, the corresponding frequency band is automatically selected for the radio frequency module, and various different circuit boards are not required to be designed, so that the development period is shortened.

Description

Method and device for controlling frequency band in communication terminal
Technical Field
The present invention relates to the field of communications terminals, and in particular, to a method and an apparatus for controlling a middle frequency band of a communications terminal.
Background
With the increasing development of the electronic industry, the updating speed of the mobile phone communication industry is faster and faster, so that the requirements on the development period and the modularization of the mobile phone are stricter if the mobile phone can keep pace with the era. Different main boards are required to be designed for different countries by mobile phone solution suppliers such as apple, samsung and Huache which are popular at present, and because the frequency bands used by operators in each country are different, different circuit boards are required to be designed for different countries to match different radio frequency solutions, so that a plurality of PCB boards are required to be designed, and a plurality of boards are required to be debugged in the whole machine test and radio frequency debugging, thereby greatly prolonging the development period.
Disclosure of Invention
The invention mainly aims to provide a method and a device for controlling a frequency band in a communication terminal, which automatically control a radio frequency module to adapt to a corresponding frequency band.
The invention provides a control method of a middle frequency band of a communication terminal, which comprises the following steps:
acquiring state information detected by a detection interface on a circuit board in a communication terminal;
matching corresponding frequency band configuration information in a preset configuration table according to the state information;
and controlling a radio frequency module to select a corresponding frequency band according to the frequency band configuration information.
Further, the detection interface comprises a plurality of GPIO interfaces and/or ADC pins arranged on the circuit board; the step of obtaining the state information detected by the detection interface on the circuit board in the communication terminal comprises the following steps:
and acquiring the level states detected by the GPIO interfaces and/or the voltage states detected by the ADC pins. Further, the step of matching out corresponding frequency band configuration information in a preset configuration table according to the state information includes:
correspondingly expressing the state information as binary digits according to a preset rule;
converting the binary digits into decimal digits;
and matching a differential file with the decimal number in the file name in a preset configuration table according to the decimal number.
Further, the frequency band configuration information is a differential file, and the differential file includes frequency band parameters; the step of controlling the radio frequency module to select the corresponding frequency band according to the frequency band configuration information comprises the following steps:
synthesizing the matched differential file into a basic configuration file to generate a frequency band control file; the basic configuration file comprises channel number and power information;
and controlling a radio frequency module to select a corresponding frequency band according to the configuration information included in the frequency band control file.
Further, the number of the GPIO interfaces is three.
The invention also provides a control device of the communication terminal middle frequency band, which comprises:
the acquisition unit is used for acquiring the state information of the circuit board detection radio frequency hardware in the communication terminal;
the matching unit is used for matching corresponding frequency band configuration information in a preset configuration table according to the state information;
and the control unit is used for controlling the radio frequency module to select the corresponding frequency band according to the frequency band configuration information.
Further, the detection interface comprises a plurality of GPIO interfaces and/or ADC pins arranged on the circuit board; the obtaining unit is specifically configured to:
and acquiring the level states detected by the GPIO interfaces and/or the voltage states detected by the ADC pins. Further, the matching unit includes:
the representing subunit is used for correspondingly representing the state information into binary digits according to a preset rule;
a conversion subunit for converting the binary digits into decimal digits;
and the matching subunit is used for matching a differential file with the decimal number in the file name in a preset configuration table according to the decimal number.
Further, the frequency band configuration information is a differential file, and the differential file includes frequency band parameters; the control unit includes:
the generating subunit is used for synthesizing the matched differential file into a basic configuration file to generate a frequency band control file; the basic configuration file comprises channel number and power information;
and the control subunit is used for controlling the radio frequency module to select the corresponding frequency band according to the configuration information included in the frequency band control file.
Further, the number of the GPIO interfaces is three.
The method and the device for controlling the intermediate frequency band of the communication terminal have the following beneficial effects:
the method and the device for controlling the intermediate frequency band of the communication terminal provided by the invention are used for acquiring the state information detected by a detection interface on a circuit board in the communication terminal; matching corresponding frequency band configuration information in a preset configuration table according to the state information; controlling a radio frequency module to select a corresponding frequency band according to the frequency band configuration information; when the circuit board is connected with different radio frequency hardware, the corresponding frequency band is automatically selected for the radio frequency module, and various different circuit boards are not required to be designed, so that the development period is shortened.
Drawings
Fig. 1 is a schematic diagram illustrating steps of a method for controlling a middle frequency band of a communication terminal according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating the detailed step of step S3 according to an embodiment of the present invention;
fig. 3 is a block diagram of a device for controlling a middle frequency band of a communication terminal according to an embodiment of the present invention;
FIG. 4 is a block diagram of a control unit according to an embodiment of the present invention;
fig. 5 is a block diagram of a matching unit according to an embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" include plural referents unless the content clearly dictates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, units, modules, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, units, modules, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Referring to fig. 1, an embodiment of the present invention provides a method for controlling a middle frequency band of a communication terminal, including the following steps:
step S1, obtaining status information detected by the detection interface on the circuit board in the communication terminal.
In this step, the communication terminal is an intelligent terminal with a communication function, and includes a mobile phone, a tablet and other terminals. The circuit board is provided with a detection interface, the detection interface is used for connecting radio frequency hardware, and the state information presented by the detection interface is different for different radio frequency hardware. Therefore, different radio frequency hardware can be identified by detecting the state information of the interface.
And step S2, matching corresponding frequency band configuration information in a preset configuration table according to the state information.
In this step, a preset configuration table is stored in the memory of the mobile phone, and the configuration table stores a corresponding relationship between the frequency band configuration information and the state information of the detection interface, so that the corresponding frequency band configuration information can be matched in the preset configuration table according to the state information.
And step S3, controlling the radio frequency module to select the corresponding frequency band according to the frequency band configuration information.
In this step, according to the frequency band configuration information matched from the configuration table, a corresponding frequency band configuration parameter is analyzed, and the radio frequency module is controlled to select a corresponding frequency band according to the frequency band configuration parameter. Therefore, the corresponding frequency band can be automatically selected for the radio frequency module according to the requirements of different radio frequency hardware, so that the mobile phone can normally communicate in the corresponding frequency band. The mobile phone in the embodiment can not only shorten the development period, but also not increase the cost, and simultaneously can reduce manpower and material resources.
In an embodiment, the detection interface includes a plurality of GPIO (general purpose Input/Output) interfaces and/or ADC pins (pins of the analog-to-digital converter) disposed on the circuit board. In one embodiment, the number of the GPIO interfaces is three.
The step S1 of obtaining status information detected by the detection interface on the circuit board in the communication terminal includes:
and acquiring the level states detected by the GPIO interfaces and/or the voltage states detected by the ADC pins.
In this embodiment, the GPIO interface or the ADC pin is used to identify different rf hardware, where the different rf hardware has different resistance values, and the voltage detected by the ADC pin or the level state detected by the GPIO interface is inconsistent according to the difference in resistance values of the GPIO interface/ADC pin connections. After a mobile phone is designed, if the mobile phone is exported to other countries, hardware only needs to change the resistance value of an ADC pin resistor or pull the level of a GPIO interface high or low on a plurality of specified GPIO interfaces, so that different frequency band combinations can be realized due to the fact that the read voltages of the ADC pin or the states of the GPIO interfaces are inconsistent, and the cost cannot be increased in the process.
Referring to fig. 2, in an embodiment, the frequency band configuration information is a difference file, and the difference file includes frequency band parameters; the step of controlling the radio frequency module to select the corresponding frequency band S1 according to the frequency band configuration information includes:
step S301, synthesizing the matched differential file into a basic configuration file, and generating a frequency band control file; the basic configuration file comprises the number of channels, power information, an antenna switch and the like; the basic configuration file is the same information shared by all frequency bands, and the difference between different frequency bands is only the difference of the difference file.
Step S302, according to the configuration information included in the frequency band control file, controlling the radio frequency module to select the corresponding frequency band.
In this embodiment, a basic configuration file and a plurality of differential files corresponding to frequency bands are preset, where the basic configuration file is the same information shared by all frequency bands, and the differential files are different between different frequency bands. Therefore, when the frequency band needs to be changed, only the differential file needs to be replaced. And adding the difference file and the basic configuration file to obtain a frequency band control file for controlling the radio frequency module to select the corresponding frequency band.
In this embodiment, the step S2 of matching the corresponding frequency band configuration information in the preset configuration table according to the state information includes:
a. correspondingly expressing the state information as binary digits according to a preset rule;
b. converting the binary digits into decimal digits;
c. and matching a differential file with the decimal number in the file name in a preset configuration table according to the decimal number.
In this embodiment, the state information detected by the GPIO interface is correspondingly represented as a binary number according to a preset rule, for example, if the GPIO interface is in a high level state, it is represented as a binary "1", and if the GPIO interface is in a low level state, it is represented as a binary "0". In the embodiment, a plurality of GPIO interfaces are arranged, the state of each GPIO interface corresponds to one binary digit, and the binary digits corresponding to the GPIO interfaces are arranged and then converted into decimal digits; and finally, matching a differential file with the decimal number in the file name in a preset configuration table according to the decimal number. The differential file in the present embodiment includes decimal digits corresponding to the above-described status information in the file name, that is, in the file name thereof.
In a specific embodiment, referring to table 1 below, three GPIO interfaces are provided on the circuit board, where the three GPIO interfaces are GPIO233, GPIO232, and GPIO230, respectively, and the state of GPIO230 is always represented as 0; according to the level states of the GPIOs 233 and 232, four different binary digits, four different frequency bands and a differential file can be corresponded. In this embodiment, only the case with the GPIO interface is described, and the process is similar to that when the ADC pin is provided, and further description is omitted.
Frequency band GPIO233 GPIO232 GPIO230 Differential file name Configuration of
G4W25 0 0 0 Base, no nomenclature 00 configuration
G4W15 0 1 0 hw_ver02.nv 02 configuration
G4W18 1 0 0 hw_ver04.nv 04 arrangement
G4W158 1 1 0 hw_ver06.nv 06 arrangement
TABLE 1
Specifically, as shown in table 1, the level states of the GPIOs 233 and 232 correspond to four different frequency bands, which correspond to G4W25, G4W15, G4W18, and G4W125, respectively, where G denotes GSM (Global System for mobile communication), 4 denotes quad-band, and the quad-band corresponds to 2100, 1900, 900, 850, and W denotes WCDMA (Wideband Code Division Multiple Access).
In this embodiment, GPIO233 is placed at bit2, GPIO232 is placed at bit1, and GPIO230 placed at bit0 is always 0, where a high-level GPIO interface indicates a binary "1", and a low-level GPIO interface indicates a binary "0".
The correspondence between the four frequency bands and the corresponding GPIO interface status information shown in table 1 above is described with reference to the following:
1. when the GPIO233 interface is pulled low and the GPIO232 interface is pulled low, it is checked that both GPIO interfaces are at low level, i.e., 00 state, and the corresponding configuration is G4W25, i.e., default NV configuration, i.e., 00 configuration in the table, where the default NV is set according to the configuration of G4W25 when the mobile phone is turned on.
2. If the GPIO233 is pulled low and the GPIO232 is pulled high, under the condition, the binary digit of the state information is 010, the binary digit is converted into a decimal digit which is 02, the corresponding decimal digit is 02 configuration in a table, corresponding to a G4W15 frequency band, the 02 configuration is searched according to the digit 02, namely a differential file named as hw _ ver02.nv is searched in a specified Modem partition (wherein, the name naming rule of the hw _ ver02.nv differential file name is that hw _ ver is fixed, and the following digit is a configuration number and is inquired through the state of a GPIO interface). The content of the hw _ ver02.NV difference file is modified from the basic NV (G4W25) to G4W15, and the hw _ ver02.NV difference file is covered in the basic NV, so that the frequency band of the basic NV becomes the G4W15 frequency band.
3. If the GPIO233 is pulled high and the GPIO232 is pulled low, under the condition, the binary digit of the state information is 100, the binary digit is converted into a decimal digit which is 04, the corresponding decimal digit is 04 configuration in the table, the frequency band of the G4W18 corresponds to, and the 04 configuration is searched according to the digit 04, namely a difference file named as hw _ ver04.nv is searched in a designated Modem partition. The content of the hw _ ver04.NV difference file is modified from the basic NV (G4W25) to G4W18, and the frequency band of the basic NV is changed to the G4W18 frequency band by covering the difference file of hw _ ver04.NV in the basic NV.
4: if the GPIO233 is pulled high and the GPIO232 is pulled high, under the condition, the binary digit of the state information is 110, the binary digit is converted into a decimal digit which is 06, the decimal digit corresponds to 06 configuration in the table and corresponds to the G4W158 frequency band, and the 06 configuration is searched according to the digit 06, namely a difference file called hw _ ver06.nv is searched in a designated Modem partition. The content of the hw _ ver06.NV difference file is modified from the basic NV (G4W25) to G4W158, and the frequency band of the basic NV is changed into the G4W158 frequency band by covering the difference file of hw _ ver06.NV in the basic NV.
In summary, in the method for controlling the middle frequency band of the communication terminal provided in the embodiment of the present invention, state information detected by a detection interface on a circuit board in the communication terminal is obtained; matching corresponding frequency band configuration information in a preset configuration table according to the state information; controlling a radio frequency module to select a corresponding frequency band according to the frequency band configuration information; when the circuit board is connected with different radio frequency hardware, the corresponding frequency band is automatically selected for the radio frequency module, and various different circuit boards are not required to be designed, so that the development period is shortened.
Referring to fig. 3, an embodiment of the present invention further provides a device for controlling a middle frequency band of a communication terminal, including:
an obtaining unit 10, configured to obtain status information of a circuit board detection radio frequency hardware in a communication terminal;
in this embodiment, the communication terminal is an intelligent terminal having a communication function, and includes a mobile phone, a tablet and other terminals. The circuit board is provided with a detection interface, the detection interface is used for connecting radio frequency hardware, and the state information presented by the detection interface is different for different radio frequency hardware. Therefore, the acquiring unit 10 can identify different rf hardware by detecting the status information of the interface.
The matching unit 20 is configured to match corresponding frequency band configuration information in a preset configuration table according to the state information;
in this embodiment, a preset configuration table is stored in the memory of the mobile phone, and the configuration table stores a corresponding relationship between the frequency band configuration information and the state information of the detection interface, and the matching unit 20 can match the corresponding frequency band configuration information in the preset configuration table according to the state information.
And the control unit 30 is configured to control the radio frequency module to select a corresponding frequency band according to the frequency band configuration information.
In this embodiment, the control unit 30 analyzes the corresponding frequency band configuration parameter according to the frequency band configuration information matched from the configuration table, and controls the radio frequency module to select the corresponding frequency band according to the frequency band configuration parameter. Therefore, the corresponding frequency band can be automatically selected for the radio frequency module according to the requirements of different radio frequency hardware, so that the mobile phone can normally communicate in the corresponding frequency band. The mobile phone in the embodiment can not only shorten the development period, but also not increase the cost, and simultaneously can reduce manpower and material resources.
In an embodiment, the detection interface includes a plurality of GPIO interfaces and/or ADC pins disposed on the circuit board; in one embodiment, the number of the GPIO interfaces is three.
The obtaining unit 10 is specifically configured to:
and acquiring the level states detected by the GPIO interfaces and/or the voltage states detected by the ADC pins.
In this embodiment, the obtaining unit 10 uses the GPIO interface or the ADC pin to identify different rf hardware, where the different rf hardware has different resistance values, and the voltage detected by the ADC pin or the level state detected by the GPIO interface is also different according to the difference in resistance values of the GPIO interface/ADC pin connections. After a mobile phone is designed, if the mobile phone is exported to other countries, hardware only needs to change the resistance value of an ADC pin resistor or pull the level of a GPIO interface high or low on a plurality of specified GPIO interfaces, so that different frequency band combinations can be realized due to the fact that the read voltages of the ADC pin or the states of the GPIO interfaces are inconsistent, and the cost cannot be increased in the process.
Referring to fig. 4, in an embodiment, the frequency band configuration information is a difference file, and the difference file includes frequency band parameters; the control unit 30 includes:
a generating subunit 301, configured to synthesize the matched difference file into a basic configuration file, and generate a frequency band control file; the basic configuration file comprises the number of channels, power information, an antenna switch and the like; the basic configuration file is the same information shared by all frequency bands, and the difference between different frequency bands is only the difference of the difference file.
And a control subunit 302, configured to control the radio frequency module to select a corresponding frequency band according to the configuration information included in the frequency band control file.
In this embodiment, a basic configuration file and a plurality of differential files corresponding to frequency bands are preset, where the basic configuration file is the same information shared by all frequency bands, and the differential files are different between different frequency bands. Therefore, when the frequency band needs to be changed, only the differential file needs to be replaced. And adding the difference file and the basic configuration file to obtain a frequency band control file for controlling the radio frequency module to select the corresponding frequency band.
Referring to fig. 5, in an embodiment, the matching unit 20 includes:
a representation subunit 201, configured to correspondingly represent the state information as binary digits according to a preset rule;
a conversion subunit 202, configured to convert the binary digits into decimal digits;
and the matching subunit 203 is configured to match a difference file with the decimal number in the file name in a preset configuration table according to the decimal number.
In this embodiment, the state information detected by the GPIO interface indicates that the subunit 201 is correspondingly represented as a binary digit according to a preset rule, for example, if the GPIO interface is in a high level state, it is represented as a binary "1", and if the GPIO interface is in a low level state, it is represented as a binary "0". In this embodiment, a plurality of GPIO interfaces are provided, the state of each GPIO interface corresponds to one binary digit, and the binary digits corresponding to the plurality of GPIO interfaces are arranged and then converted into decimal digits by the conversion subunit 202; finally, the matching subunit 203 matches the difference file with the decimal number in the file name in the preset configuration table according to the decimal number. The differential file in the present embodiment includes decimal digits corresponding to the above-described status information in the file name, that is, in the file name thereof.
For the specific matching process of the matching unit 20, please refer to the specific embodiment of the method embodiment and the table 1, which is not described herein again.
In summary, the method and the apparatus for controlling a middle frequency band of a communication terminal according to the embodiments of the present invention obtain status information detected by a detection interface on a circuit board of the communication terminal; matching corresponding frequency band configuration information in a preset configuration table according to the state information; controlling a radio frequency module to select a corresponding frequency band according to the frequency band configuration information; when the circuit board is connected with different radio frequency hardware, the corresponding frequency band is automatically selected for the radio frequency module, and various different circuit boards are not required to be designed, so that the development period is shortened.
Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, 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, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (4)

1. A control method for a middle frequency band of a communication terminal is characterized by comprising the following steps:
acquiring state information detected by a detection interface on a circuit board in a communication terminal;
matching corresponding frequency band configuration information in a preset configuration table according to the state information; the frequency band configuration information is a differential file, and the differential file comprises frequency band parameters;
synthesizing the matched differential file into a basic configuration file to generate a frequency band control file; the basic configuration file comprises channel number and power information; the basic configuration file is the same information shared by all frequency bands, and the difference between different frequency bands is only the difference of the difference files;
controlling a radio frequency module to select a corresponding frequency band according to configuration information included in the frequency band control file;
the detection interface comprises a plurality of GPIO interfaces and/or ADC pins arranged on the circuit board; the step of obtaining the state information detected by the detection interface on the circuit board in the communication terminal comprises the following steps:
acquiring level states detected by a plurality of GPIO interfaces and/or voltage states detected by ADC pins;
the step of matching out corresponding frequency band configuration information in a preset configuration table according to the state information comprises:
correspondingly expressing the state information as binary digits according to a preset rule;
converting the binary digits into decimal digits;
and matching a differential file with the decimal number in the file name in a preset configuration table according to the decimal number.
2. The method as claimed in claim 1, wherein the number of GPIO interfaces is three.
3. A control device for a middle frequency band of a communication terminal, comprising:
the acquisition unit is used for acquiring the state information of the circuit board detection radio frequency hardware in the communication terminal;
the matching unit is used for matching corresponding frequency band configuration information in a preset configuration table according to the state information; the frequency band configuration information is a differential file, and the differential file comprises frequency band parameters;
the control unit is used for controlling the radio frequency module to select a corresponding frequency band according to the frequency band configuration information;
wherein the control unit includes:
the generating subunit is used for synthesizing the matched differential file into a basic configuration file to generate a frequency band control file; the basic configuration file comprises channel number and power information; the basic configuration file is the same information shared by all frequency bands, and the difference between different frequency bands is only the difference of the difference files;
the control subunit is used for controlling the radio frequency module to select a corresponding frequency band according to the configuration information included in the frequency band control file;
the detection interface comprises a plurality of GPIO interfaces and/or ADC pins arranged on the circuit board; the obtaining unit is specifically configured to:
acquiring level states detected by a plurality of GPIO interfaces and/or voltage states detected by ADC pins;
the matching unit includes:
the representing subunit is used for correspondingly representing the state information into binary digits according to a preset rule;
a conversion subunit for converting the binary digits into decimal digits;
and the matching subunit is used for matching a differential file with the decimal number in the file name in a preset configuration table according to the decimal number.
4. The device as claimed in claim 3, wherein the number of the GPIO interfaces is three.
CN201810343880.0A 2018-04-17 2018-04-17 Method and device for controlling frequency band in communication terminal Active CN108551346B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810343880.0A CN108551346B (en) 2018-04-17 2018-04-17 Method and device for controlling frequency band in communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810343880.0A CN108551346B (en) 2018-04-17 2018-04-17 Method and device for controlling frequency band in communication terminal

Publications (2)

Publication Number Publication Date
CN108551346A CN108551346A (en) 2018-09-18
CN108551346B true CN108551346B (en) 2020-08-18

Family

ID=63515349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810343880.0A Active CN108551346B (en) 2018-04-17 2018-04-17 Method and device for controlling frequency band in communication terminal

Country Status (1)

Country Link
CN (1) CN108551346B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201388196Y (en) * 2009-03-13 2010-01-20 中兴通讯股份有限公司 Mobile terminal realizing the multiband matching of antennas
CN103675531A (en) * 2013-11-27 2014-03-26 华为终端有限公司 Circuit for recognizing classes of devices, circuit board, terminal equipment and signal controller
CN105101479A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Adaptive configuration method and device for network frequency band of mobile terminal
CN105653288A (en) * 2015-12-31 2016-06-08 深圳市中兴物联科技股份有限公司 Method and device for automatic identification of hardware by software of module product
CN105701429A (en) * 2015-12-31 2016-06-22 宇龙计算机通信科技(深圳)有限公司 User-defined adaptive method and system for RFID card
CN106294687A (en) * 2016-08-08 2017-01-04 深圳酷比通信股份有限公司 The processing method of a kind of inquiry mobile phone mainboard project support frequency range and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7283794B2 (en) * 2001-03-30 2007-10-16 Skyworks Solutions, Inc. Low voltage digital interface
TWI499227B (en) * 2012-11-30 2015-09-01 Mediatek Inc A communication device and a method for setting rf hardware configuration thereof
CN105120528B (en) * 2015-08-14 2019-06-11 北京奇虎科技有限公司 A kind of equipment room carries out the method, apparatus and system of configurability setting
CN106102083B (en) * 2016-05-19 2020-02-07 青岛海信移动通信技术股份有限公司 Configuration method and equipment
CN106060795A (en) * 2016-05-27 2016-10-26 努比亚技术有限公司 Radio frequency parameter configuration device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201388196Y (en) * 2009-03-13 2010-01-20 中兴通讯股份有限公司 Mobile terminal realizing the multiband matching of antennas
CN103675531A (en) * 2013-11-27 2014-03-26 华为终端有限公司 Circuit for recognizing classes of devices, circuit board, terminal equipment and signal controller
CN105101479A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Adaptive configuration method and device for network frequency band of mobile terminal
CN105653288A (en) * 2015-12-31 2016-06-08 深圳市中兴物联科技股份有限公司 Method and device for automatic identification of hardware by software of module product
CN105701429A (en) * 2015-12-31 2016-06-22 宇龙计算机通信科技(深圳)有限公司 User-defined adaptive method and system for RFID card
CN106294687A (en) * 2016-08-08 2017-01-04 深圳酷比通信股份有限公司 The processing method of a kind of inquiry mobile phone mainboard project support frequency range and system

Also Published As

Publication number Publication date
CN108551346A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
US7308608B1 (en) Reconfigurable testing system and method
CN109814524B (en) Vehicle diagnosis method, device and system
CN108363581B (en) Data writing method, system, device, equipment and medium of integrated circuit chip
Mishra et al. Notice of Violation of IEEE Publication Principles: Software defined radio based receivers using RTL—SDR: A review
CN107742066B (en) Account permission configuration method and device, terminal equipment and computer storage medium
CN105517122A (en) Network switching method and apparatus, and terminal
CN114036064A (en) Method and device for generating assembly code file of test case and electronic equipment
CN108551346B (en) Method and device for controlling frequency band in communication terminal
CN111930395B (en) Program downloading method of intelligent terminal and intelligent terminal
CN110674069B (en) Digital pin conversion circuit and method of chip and chip
CN111782277A (en) Information processing method and device, cloud device and terminal
CN115550826A (en) MIC array detection and analysis method, device, equipment and storage medium
CN104536887A (en) Communication data detection method and device
CN110234059B (en) Audio device testing method, system, testing frame and storage medium
CN109558387B (en) Method and device for processing identity card number, storage medium and terminal
CN211478501U (en) Multifunctional device for wireless charging test and development
CN104253623B (en) Mobile communication radio-frequency module product and its offer method
CN114337858A (en) Parameter processing method and device
CN105446650A (en) Keyboard input information recording method, apparatus and system
CN112989036A (en) Feature extraction method and device for text classification
CN104460490A (en) Programmable logic control processing method of frequency converter, digital processor and frequency converter
CN113704115B (en) Problem positioning method and device for system development and computer equipment
CN103941177A (en) Method for testing digital circuits of Sigma-delta ADC and Sigma-delta DAC with same accuracy in chip
CN113760809B (en) Configuration method, system and device of GPIO interface and readable storage medium
CN107621809B (en) Method for configuring IO channel and semiconductor processing method

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
TR01 Transfer of patent right

Effective date of registration: 20220527

Address after: 518000 floor 2, building 3, Dexin Chang wisdom Park, No. 23 Heping Road, Qinghua community, Longhua street, Longhua District, Shenzhen, Guangdong Province

Patentee after: Shenzhen waterward Software Technology Co.,Ltd.

Address before: 518000, block B, huayuancheng digital building, 1079 Nanhai Avenue, Shekou, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN WATER WORLD Co.,Ltd.

TR01 Transfer of patent right