CN116545860B - Calibration data reading method and device, storage medium and electronic equipment - Google Patents

Calibration data reading method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116545860B
CN116545860B CN202310830333.6A CN202310830333A CN116545860B CN 116545860 B CN116545860 B CN 116545860B CN 202310830333 A CN202310830333 A CN 202310830333A CN 116545860 B CN116545860 B CN 116545860B
Authority
CN
China
Prior art keywords
frequency band
system software
calibration data
matched
calibration
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
CN202310830333.6A
Other languages
Chinese (zh)
Other versions
CN116545860A (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.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu 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 TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202310830333.6A priority Critical patent/CN116545860B/en
Publication of CN116545860A publication Critical patent/CN116545860A/en
Application granted granted Critical
Publication of CN116545860B publication Critical patent/CN116545860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application discloses a method and a device for reading calibration data, a storage medium and electronic equipment, and relates to the technical field of communication, wherein the method comprises the following steps: responding to a calibration data reading request, and acquiring a frequency band to be matched in current system software; matching the frequency band matched with the frequency band to be matched from the frequency band information in the file header of the calibration file to obtain a matched target frequency band, wherein the frequency band information is pre-added into the file header; determining a calibration data offset corresponding to the target frequency band according to the frequency band information; and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band to obtain the calibration data corresponding to the frequency band to be matched. The application can ensure that the system software in the terminal is not limited by the fact that the frequency band information cannot be changed in the upgrading process, can flexibly change the frequency band requirement in the terminal, and improves the communication performance of the terminal and the user experience.

Description

Calibration data reading method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and apparatus for reading calibration data, a storage medium, and an electronic device.
Background
The terminal communicates with the network normally, calibration data in a calibration file in the terminal is needed, and the calibration data is generated by using a production line instrument to strictly match the calibration configuration file according to frequency band (band) information (frequency band number, frequency band sequence and the like) in system software of the terminal at the time when the terminal is produced. And then, when the terminal is used, the offset of the required frequency band (band) is determined according to the frequency band information in the system software, and further, the calibration data under the corresponding offset is read from the calibration file.
In the current calibration data reading mode, the system software can not change the frequency band (band) information (including adding frequency bands, deleting frequency bands, changing frequency band sequences and the like), otherwise, the offset of the frequency bands is determined to be inconsistent with the calibration file, so that incorrect calibration data is read, and the current system software can not be used for normal interactive communication. However, in the actual project, the terminal which has been shipped has a condition of changing the frequency band information, and at this time, the terminal needs to be returned to the factory to format and recalibrate the upgrade system software and the calibration file, which consumes a great deal of time and cost.
Therefore, in the current calibration data reading mode, the system software in the terminal has the limitation that the frequency band information cannot be changed in the upgrading process, so that the communication performance of the terminal is limited, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a calibration data reading scheme, which can effectively prevent system software in a terminal from being limited by the fact that frequency band information cannot be changed in the upgrading process, improves the communication performance of the terminal and improves the user experience.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, a calibration data reading method includes: responding to a calibration data reading request, and acquiring a frequency band to be matched in current system software; matching the frequency band matched with the frequency band to be matched from the frequency band information in the file header of the calibration file to obtain a matched target frequency band, wherein the frequency band information is pre-added into the file header; determining a calibration data offset corresponding to the target frequency band according to the frequency band information; and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band to obtain the calibration data corresponding to the frequency band to be matched.
In some embodiments of the application, the method further comprises: if the target frequency band is not matched from the frequency band information in the file header, acquiring a unified calibration parameter of the current system software; and obtaining calibration data corresponding to the frequency band to be matched according to the unified calibration parameters of the current system software.
In some embodiments of the present application, before the acquiring the frequency band in the current system software in response to the calibration data reading request, the method further includes: receiving the calibration file transmitted by a production line instrument, wherein the production line instrument adds the frequency band information to the file head of the calibration file, and the production line instrument is an instrument of a manufacturer of the terminal; and storing the received calibration file to a preset position.
In some embodiments of the application, the method further comprises: receiving a system software upgrade package, wherein the system software upgrade package comprises information of an updated frequency band; and upgrading the current system software based on the system software upgrading package to obtain upgraded system software, wherein the upgraded system software comprises the information of the updated frequency band.
In some embodiments of the present application, after the current system software is upgraded based on the system software upgrade package to obtain upgraded system software, the method further includes: responding to a new calibration data reading request, and acquiring a frequency band to be calibrated in system software after upgrading; matching the frequency band matched with the frequency band to be calibrated from the frequency band information in the file header of the calibration file to obtain a matched frequency band; determining a calibration data offset corresponding to the matched frequency band according to the frequency band information; and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the matched frequency band to obtain the calibration data corresponding to the frequency band to be calibrated.
In some embodiments of the application, the method further comprises: if the frequency band information in the file header is not matched with the matched frequency band, acquiring a unified calibration parameter of the upgraded system software; and obtaining calibration data corresponding to the frequency band to be calibrated according to the unified calibration parameters of the upgraded system software.
In some embodiments of the application, the method further comprises: detecting system software upgrading operation; if the system software upgrading operation is detected, playing upgrading prompt information, wherein the upgrading prompt information is used for prompting the system software upgrading to modify the frequency band information.
According to an embodiment of the present application, a calibration data reading apparatus includes: the response module is used for responding to the calibration data reading request and acquiring a frequency band to be matched in the current system software; the matching module is used for matching the frequency band matched with the frequency band to be matched from the frequency band information in the file header of the calibration file to obtain a matched target frequency band, wherein the frequency band information is added into the file header in advance; the determining module is used for determining the calibration data offset corresponding to the target frequency band according to the frequency band information; and the reading module is used for reading the corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band to obtain the calibration data corresponding to the frequency band to be matched.
In some embodiments of the application, the apparatus further comprises a candidate module for: if the target frequency band is not matched from the frequency band information in the file header, acquiring a unified calibration parameter of the current system software; and obtaining calibration data corresponding to the frequency band to be matched according to the unified calibration parameters of the current system software.
In some embodiments of the present application, before the acquiring the frequency band in the current system software in response to the calibration data reading request, the apparatus further includes a configuration module configured to: receiving the calibration file transmitted by a production line instrument, wherein the production line instrument adds the frequency band information to the file head of the calibration file, and the production line instrument is an instrument of a manufacturer of the terminal; and storing the received calibration file to a preset position.
In some embodiments of the application, the apparatus further comprises a mounting module for: receiving a system software upgrade package, wherein the system software upgrade package comprises information of an updated frequency band; and upgrading the current system software based on the system software upgrading package to obtain upgraded system software, wherein the upgraded system software comprises the information of the updated frequency band.
In some embodiments of the present application, after the current system software is upgraded based on the system software upgrade package to obtain upgraded system software, the response module is further configured to: responding to a new calibration data reading request, and acquiring a frequency band to be calibrated in system software after upgrading; the matching module is further configured to: matching the frequency band matched with the frequency band to be calibrated from the frequency band information in the file header of the calibration file to obtain a matched frequency band; the determining module is further configured to: determining a calibration data offset corresponding to the matched frequency band according to the frequency band information; the reading module is further configured to: and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the matched frequency band to obtain the calibration data corresponding to the frequency band to be calibrated.
In some embodiments of the application, the candidate module is further configured to: if the frequency band information in the file header is not matched with the matched frequency band, acquiring a unified calibration parameter of the upgraded system software; and obtaining calibration data corresponding to the frequency band to be calibrated according to the unified calibration parameters of the upgraded system software.
In some embodiments of the present application, the apparatus further includes a prompt module configured to: detecting system software upgrading operation; if the system software upgrading operation is detected, playing upgrading prompt information, wherein the upgrading prompt information is used for prompting the system software upgrading to modify the frequency band information.
According to another embodiment of the present application, a storage medium has a computer program stored thereon, which when executed by a processor of a computer, causes the computer to perform the method according to the embodiment of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
According to another embodiment of the application, a computer program product or computer program includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform the methods provided in the various alternative implementations described in the embodiments of the present application.
In the embodiment of the application, a frequency band to be matched in the current system software is obtained in response to a calibration data reading request; matching the frequency band matched with the frequency band to be matched from the frequency band information in the file header of the calibration file to obtain a matched target frequency band, wherein the frequency band information is pre-added into the file header; determining a calibration data offset corresponding to the target frequency band according to the frequency band information; and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band to obtain the calibration data corresponding to the frequency band to be matched.
The beneficial effects of the application are as follows: in this way, by adding the frequency band information in the file header of the calibration file, when there is a need for reading the calibration data in the terminal, the offset is not determined based on the frequency band information in the current system software, but the calibration data offset is determined from the frequency band information matching through the file header, so that the corresponding calibration data can be accurately read. Even if the current system software changes the frequency band information in the upgrading process, the calibration data can be accurately read according to the frequency band information of the file header, so that the system software in the terminal is not limited by the fact that the frequency band information cannot be changed in the upgrading process, the frequency band requirement in the terminal can be flexibly changed, the communication performance of the terminal is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flow chart of a calibration data reading method according to an embodiment of the application.
Fig. 2 shows a block diagram of a calibration data reading device according to an embodiment of the application.
Fig. 3 shows a block diagram of an electronic device according to an embodiment of the application.
Detailed Description
The present disclosure is further described in detail below with reference to the drawings and examples. It should be understood that the examples provided herein are merely illustrative of the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are some of the embodiments for implementing the present disclosure, and not all of the embodiments for implementing the present disclosure, and the technical solutions described in the embodiments of the present disclosure may be implemented in any combination without conflict.
It should be noted that, in the embodiments of the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a method or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such method or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other related elements (e.g., a step in a method or a unit in an apparatus, e.g., a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.) in a method or apparatus comprising the element.
For example, the calibration data reading method provided in the embodiment of the present disclosure includes a series of steps, but the calibration data reading method provided in the embodiment of the present disclosure is not limited to the described steps, and similarly, the calibration data reading apparatus provided in the embodiment of the present disclosure includes a series of units, but the apparatus provided in the embodiment of the present disclosure is not limited to including explicitly described units, and may include units that are required to be set for acquiring related information or performing processing based on the information.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure.
Fig. 1 schematically shows a flow chart of a calibration data reading method according to an embodiment of the application. The execution subject of the calibration data reading method can be any terminal with communication capability, such as a television, a computer, a mobile phone, a smart watch, a household appliance and the like. In one embodiment of the present application, the terminal as the execution subject is specifically a mobile phone.
As shown in fig. 1, the calibration data reading method may include steps S110 to S140.
Step S110, responding to a calibration data reading request, and acquiring a frequency band to be matched in current system software; step S120, matching the frequency band matched with the frequency band to be matched from the frequency band information in the file header of the calibration file to obtain a matched target frequency band, wherein the frequency band information is pre-added into the file header; step S130, determining the calibration data offset corresponding to the target frequency band according to the frequency band information; and step S140, reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band to obtain the calibration data corresponding to the frequency band to be matched.
The terminal and the network can trigger a calibration data reading request under the scene of interactive communication, and the terminal responds to the calibration data reading request to acquire the frequency band meeting the requirement of reading the calibration data in the current system software from the current system software, wherein the frequency band read in the current system software is the frequency band to be matched.
The header of the calibration file is added with frequency band information, where the frequency band information may be the number of frequency bands or the frequency band ordering, for example, the frequency band information is the frequency band (band) ordering: 1. 2, 3..n. If the frequency band to be matched is 4, the frequency band to be matched can be matched to the frequency band 4 matched with the frequency band to be matched from the frequency band information in the file header, namely the target frequency band is 4.
Further, the calibration data offset of the target frequency band can be accurately determined according to the frequency band information in the file header, for example, the calibration data offset of the target frequency band 4 is 4-0=4. Furthermore, according to the calibration data offset corresponding to the target frequency band, the calibration data under the calibration data offset can be accurately read from the calibration file, the calibration data corresponding to the frequency band to be matched is obtained, and further network communication can be reliably performed. The calibration data may be data for radio frequency calibration parameters, which the terminal may use to optimise the performance of the radio frequency.
In the current related calibration data reading mode, the offset is determined according to the frequency band information of the current system software, if the frequency band information in the current system software is changed during upgrading, for example, "1, 2, 3, n" is changed to "1, 2, 4, n", at this time, the offset of the calibration data of the target frequency band 4 is determined to be 3-0=3 according to the frequency band information in the current system software, and further, the calibration data with the offset of 3 is read, so that communication cannot be performed, that is, in the current mode, the change of the frequency band information in the system software upgrading process is limited.
In the embodiment of the application, based on the mode from step S110 to step S140, when the terminal has the requirement of reading the calibration data, the offset is not determined based on the frequency band information in the current system software, but the offset of the calibration data is determined by matching the frequency band information passing through the file header, so that the corresponding calibration data can be accurately read. Even if the current system software changes the frequency band information in the upgrading process, the calibration data can be accurately read according to the frequency band information of the file header, so that the system software in the terminal is not limited by the fact that the frequency band information cannot be changed in the upgrading process, the frequency band requirement in the terminal can be flexibly changed, the communication performance of the terminal is improved, and the user experience is improved.
Further alternative embodiments of the steps performed when performing the calibration data read under the embodiment of fig. 1 are described below.
In one embodiment, the method may further comprise: if the target frequency band is not matched from the frequency band information in the file header, acquiring a unified calibration parameter of the current system software; and obtaining calibration data corresponding to the frequency band to be matched according to the unified calibration parameters of the current system software.
If the frequency band information in the file header is not matched with the target frequency band, the frequency band to be matched in the current system software is a newly added frequency band (band), and at the moment, the corresponding calibration data cannot be read from the calibration file.
In this embodiment, the unified calibration parameters are carried in the current system software, and when the frequency band to be matched in the current system software is a newly added frequency band (band), the unified calibration parameters are directly obtained as calibration data corresponding to the frequency band to be matched, so that the method can be used for calibration communication.
The unified calibration parameter may specifically be default generic calibration data configured in the MTK code. It can be understood that in the embodiment of the present application, each version of system software may carry a self-contained unified calibration parameter for implementing calibration data of a new added frequency band.
Furthermore, based on the embodiment, the system software in the terminal can be newly added with frequency bands (bands) in the upgrading process, and the unified calibration parameters are used for calibration communication, so that the medium-frequency requirements in the terminal can be flexibly changed, the communication performance of the terminal is further improved, and the user experience is improved.
In one embodiment, before the acquiring the frequency band in the current system software in response to the calibration data read request, the method further includes:
receiving the calibration file transmitted by a production line instrument, wherein the production line instrument adds the frequency band information to the file head of the calibration file, and the production line instrument is an instrument of a manufacturer of the terminal; and storing the received calibration file to a preset position.
And in the process of producing the terminal by the production line instrument of the manufacturer of the terminal, when a calibration file containing calibration data is generated by calibration, adding frequency band information matched with the calibration data to the file head of the calibration file, and storing the calibration file transmitted by the production line instrument in a preset position in the terminal by the terminal.
The mobile terminal can read the calibration data according to the frequency band information of the file header based on the embodiment of the application, so that the system software in the terminal can change the frequency band information of the system software in the upgrading process according to the requirement.
In one embodiment, the method may further comprise: receiving a system software upgrade package, wherein the system software upgrade package comprises information of an updated frequency band; and upgrading the current system software based on the system software upgrading package to obtain upgraded system software, wherein the upgraded system software comprises the information of the updated frequency band.
The terminal can receive a system software upgrade package transmitted by a cloud or related equipment and the like, wherein the system software upgrade package carries information (including adding frequency bands, deleting frequency bands, sequencing of conversion frequency bands and the like) of an updated frequency band which is changed by a user according to requirements.
The terminal upgrades the current system software based on the system software upgrade package to obtain upgraded system software, and the system software can change the frequency band information in the system software according to the requirement through the system software upgrade, and further, the upgraded system software comprises the information of the updated frequency band. And the system software after upgrading can accurately read the calibration data by using the calibration file based on the embodiment of the application, and can perform normal interactive communication.
In one embodiment, after the current system software is upgraded based on the system software upgrade package to obtain upgraded system software, the method further includes:
responding to a new calibration data reading request, and acquiring a frequency band to be calibrated in system software after upgrading; matching the frequency band matched with the frequency band to be calibrated from the frequency band information in the file header of the calibration file to obtain a matched frequency band; determining a calibration data offset corresponding to the matched frequency band according to the frequency band information; and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the matched frequency band to obtain the calibration data corresponding to the frequency band to be calibrated.
In the scene of interactive communication between the terminal and the network, a new calibration data reading request can be triggered, and the terminal can acquire the frequency band meeting the new calibration data reading requirement in the current system software from the current system software in response to the new calibration data reading request, wherein the frequency band read in the current system software is the frequency band to be calibrated.
The header of the calibration file is added with frequency band information, where the frequency band information may be the number of frequency bands or the frequency band ordering, for example, the frequency band information is the frequency band (band) ordering: 1. 2, 3..n. If the frequency band to be matched is 5, the frequency band 5 matched with the frequency band to be matched can be matched from the frequency band information in the file header, namely the matched frequency band is 5.
The calibration data offset of the matching frequency band can be accurately determined according to the frequency band information in the file header, for example, the calibration data offset of the matching frequency band 5 is 5-0=5. Furthermore, according to the calibration data offset corresponding to the matched frequency band, the calibration data under the calibration data offset can be accurately read from the calibration file, the calibration data corresponding to the frequency band to be calibrated is obtained, and further the network communication can be reliably carried out.
After the upgrade, the system software changes the frequency band information in the upgrade process, and the calibration data can be accurately read according to the frequency band information of the file header, so that the system software in the terminal is not limited by the fact that the frequency band information cannot be changed in the upgrade process, the frequency band requirement in the terminal can be flexibly changed, the communication performance of the terminal is improved, and the user experience is improved.
In one embodiment, the method further comprises: if the frequency band information in the file header is not matched with the matched frequency band, acquiring a unified calibration parameter of the upgraded system software; and obtaining calibration data corresponding to the frequency band to be calibrated according to the unified calibration parameters of the upgraded system software.
If the frequency band information in the file header is not matched with the matched frequency band, the frequency band to be calibrated in the current system software is a newly added frequency band (band), and at the moment, the corresponding calibration data cannot be read from the calibration file.
The system software after upgrading further carries own unified calibration parameters, and when a to-be-added frequency band in the system software after upgrading is a new frequency band (band), the unified calibration parameters are directly obtained to serve as calibration data corresponding to the to-be-calibrated frequency band, and the system software can be used for calibration communication.
The unified calibration parameter may specifically be default generic calibration data configured in the MTK code. It can be understood that in the embodiment of the present application, each version of system software may carry a self-contained unified calibration parameter for implementing calibration data of a new added frequency band.
Furthermore, the system software in the terminal can be newly added with a band (band) in the upgrading process, and the unified calibration parameters are used for calibration communication, so that the medium-frequency band requirements in the terminal can be flexibly changed, the communication performance of the terminal is further improved, and the user experience is improved.
In one embodiment, the method further comprises: detecting system software upgrading operation; if the system software upgrading operation is detected, playing upgrading prompt information, wherein the upgrading prompt information is used for prompting the system software upgrading to modify the frequency band information.
When a system software upgrading operation (for example, an operation for actively triggering upgrading through a control or upgrading operation of other equipment through an instruction index) is detected in the terminal, the terminal plays upgrading prompt information, and the information of a frequency band can be modified by prompting the system software upgrading through the upgrading prompt information, namely, the information of the frequency band can be modified by using a new calibration data reading scheme in the terminal, so that a user can modify the frequency band information according to requirements, and user experience is further improved. The terminal can display the upgrade prompt information through an interface, play the prompt information through voice, send the upgrade prompt information to other devices such as a server, and the like.
In order to facilitate better implementation of the calibration data reading method provided by the embodiment of the application, the embodiment of the application also provides a calibration data reading device based on the calibration data reading method. Where the meaning of the terms is the same as in the calibration data reading method described above, reference is made to the description of the method embodiments for specific implementation details. Fig. 2 shows a block diagram of a calibration data reading device according to an embodiment of the application.
As shown in fig. 2, the calibration data reading apparatus 200 may include: the response module 210 may be configured to obtain a frequency band to be matched in the current system software in response to the calibration data reading request; the matching module 220 may be configured to match a frequency band matched with the frequency band to be matched from frequency band information in a file header of a calibration file, so as to obtain a matched target frequency band, where the frequency band information is added in the file header in advance; the determining module 230 may be configured to determine, according to the frequency band information, a calibration data offset corresponding to the target frequency band; the reading module 240 may be configured to read the corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band, so as to obtain the calibration data corresponding to the frequency band to be matched.
In some embodiments of the application, the apparatus further comprises a candidate module for: if the target frequency band is not matched from the frequency band information in the file header, acquiring a unified calibration parameter of the current system software; and obtaining calibration data corresponding to the frequency band to be matched according to the unified calibration parameters of the current system software.
In some embodiments of the present application, before the acquiring the frequency band in the current system software in response to the calibration data reading request, the apparatus further includes a configuration module configured to: receiving the calibration file transmitted by a production line instrument, wherein the production line instrument adds the frequency band information to the file head of the calibration file, and the production line instrument is an instrument of a manufacturer of the terminal; and storing the received calibration file to a preset position.
In some embodiments of the application, the apparatus further comprises a mounting module for: receiving a system software upgrade package, wherein the system software upgrade package comprises information of an updated frequency band; and upgrading the current system software based on the system software upgrading package to obtain upgraded system software, wherein the upgraded system software comprises the information of the updated frequency band.
In some embodiments of the present application, after the current system software is upgraded based on the system software upgrade package to obtain upgraded system software, the response module is further configured to: responding to a new calibration data reading request, and acquiring a frequency band to be calibrated in system software after upgrading; the matching module is further configured to: matching the frequency band matched with the frequency band to be calibrated from the frequency band information in the file header of the calibration file to obtain a matched frequency band; the determining module is further configured to: determining a calibration data offset corresponding to the matched frequency band according to the frequency band information; the reading module is further configured to: and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the matched frequency band to obtain the calibration data corresponding to the frequency band to be calibrated.
In some embodiments of the application, the candidate module is further configured to: if the frequency band information in the file header is not matched with the matched frequency band, acquiring a unified calibration parameter of the upgraded system software; and obtaining calibration data corresponding to the frequency band to be calibrated according to the unified calibration parameters of the upgraded system software.
In some embodiments of the present application, the apparatus further includes a prompt module configured to: detecting system software upgrading operation; if the system software upgrading operation is detected, playing upgrading prompt information, wherein the upgrading prompt information is used for prompting the system software upgrading to modify the frequency band information.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, an embodiment of the present application further provides an electronic device, as shown in fig. 3, which shows a schematic structural diagram of the electronic device according to the embodiment of the present application, specifically:
the electronic device may include one or more processor cores 301, one or more computer-readable storage media memory 302, a power supply 303, and the like. Those skilled in the art will appreciate that the electronic device structure shown in fig. 3 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components. Wherein:
the processor 301 is the control center of the electronic device, connects the various parts of the overall computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 302, and invoking data stored in the memory 302, thereby performing overall monitoring of the electronic device. Optionally, processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user pages, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 301.
The memory 302 may be used to store software programs and modules, and the processor 301 executes various functional applications and data processing by executing the software programs and modules stored in the memory 302. The memory 302 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
The electronic device further comprises a power supply 303 for powering the various components, preferably the power supply 303 is logically connected to the processor 301 by a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 303 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
In particular, in this embodiment, the processor 301 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 302 according to the following instructions, and the processor 301 executes the computer programs stored in the memory 302, so as to implement the functions in the foregoing embodiments of the present application, for example, the processor 301 may perform the following steps:
responding to a calibration data reading request, and acquiring a frequency band to be matched in current system software; matching the frequency band matched with the frequency band to be matched from the frequency band information in the file header of the calibration file to obtain a matched target frequency band, wherein the frequency band information is pre-added into the file header; determining a calibration data offset corresponding to the target frequency band according to the frequency band information; and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band to obtain the calibration data corresponding to the frequency band to be matched.
In some embodiments of the application, further comprising: if the target frequency band is not matched from the frequency band information in the file header, acquiring a unified calibration parameter of the current system software; and obtaining calibration data corresponding to the frequency band to be matched according to the unified calibration parameters of the current system software.
In some embodiments of the present application, before the acquiring the frequency band in the current system software in response to the calibration data reading request, the method further includes: receiving the calibration file transmitted by a production line instrument, wherein the production line instrument adds the frequency band information to the file head of the calibration file, and the production line instrument is an instrument of a manufacturer of the terminal; and storing the received calibration file to a preset position.
In some embodiments of the application, further comprising: receiving a system software upgrade package, wherein the system software upgrade package comprises information of an updated frequency band; and upgrading the current system software based on the system software upgrading package to obtain upgraded system software, wherein the upgraded system software comprises the information of the updated frequency band.
In some embodiments of the present application, after the current system software is upgraded based on the system software upgrade package to obtain upgraded system software, the method further includes: responding to a new calibration data reading request, and acquiring a frequency band to be calibrated in system software after upgrading; matching the frequency band matched with the frequency band to be calibrated from the frequency band information in the file header of the calibration file to obtain a matched frequency band; determining a calibration data offset corresponding to the matched frequency band according to the frequency band information; and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the matched frequency band to obtain the calibration data corresponding to the frequency band to be calibrated.
In some embodiments of the application, further comprising: if the frequency band information in the file header is not matched with the matched frequency band, acquiring a unified calibration parameter of the upgraded system software; and obtaining calibration data corresponding to the frequency band to be calibrated according to the unified calibration parameters of the upgraded system software.
In some embodiments of the application, further comprising: detecting system software upgrading operation; if the system software upgrading operation is detected, playing upgrading prompt information, wherein the upgrading prompt information is used for prompting the system software upgrading to modify the frequency band information.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application also provides a storage medium in which a computer program is stored, the computer program being capable of being loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps of any one of the methods provided in the embodiments of the present application may be executed by the computer program stored in the storage medium, so that the beneficial effects that can be achieved by the methods provided in the embodiments of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the application is not limited to the embodiments which have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (9)

1. A method of reading calibration data, the method comprising:
responding to a calibration data reading request, and acquiring a frequency band to be matched in current system software;
matching the frequency band matched with the frequency band to be matched from the frequency band information in the file header of the calibration file to obtain a matched target frequency band, wherein the frequency band information is added in the file header in advance;
determining a calibration data offset corresponding to the target frequency band according to the frequency band information;
reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band to obtain the calibration data corresponding to the frequency band to be matched;
if the target frequency band is not matched from the frequency band information in the file header, acquiring a unified calibration parameter of the current system software;
and obtaining calibration data corresponding to the frequency band to be matched according to the unified calibration parameters of the current system software.
2. The method of claim 1, wherein prior to said obtaining the frequency band to be matched in the current system software in response to the calibration data read request, the method further comprises:
receiving the calibration file transmitted by a production line instrument, wherein the production line instrument adds the frequency band information to the file head of the calibration file, and the production line instrument is an instrument of a manufacturer of a terminal;
and storing the received calibration file to a preset position.
3. The method according to claim 1, wherein the method further comprises:
receiving a system software upgrade package, wherein the system software upgrade package comprises information of an updated frequency band;
and upgrading the current system software based on the system software upgrading package to obtain upgraded system software, wherein the upgraded system software comprises the information of the updated frequency band.
4. The method of claim 3, wherein after the current system software is upgraded based on the system software upgrade package to obtain upgraded system software, the method further comprises:
responding to a new calibration data reading request, and acquiring a frequency band to be calibrated in system software after upgrading;
matching the frequency band matched with the frequency band to be calibrated from the frequency band information in the file header of the calibration file to obtain a matched frequency band;
determining a calibration data offset corresponding to the matched frequency band according to the frequency band information;
and reading corresponding calibration data from the calibration file according to the calibration data offset corresponding to the matched frequency band to obtain the calibration data corresponding to the frequency band to be calibrated.
5. The method according to claim 4, wherein the method further comprises:
if the frequency band information in the file header is not matched with the matched frequency band, acquiring a unified calibration parameter of the upgraded system software;
and obtaining calibration data corresponding to the frequency band to be calibrated according to the unified calibration parameters of the upgraded system software.
6. The method according to any one of claims 1 to 5, further comprising:
detecting system software upgrading operation;
if the system software upgrading operation is detected, playing upgrading prompt information, wherein the upgrading prompt information is used for prompting the system software upgrading to modify the frequency band information.
7. A calibration data reading apparatus, comprising:
the response module is used for responding to the calibration data reading request and acquiring a frequency band to be matched in the current system software;
the matching module is used for matching the frequency band matched with the frequency band to be matched from the frequency band information in the file header of the calibration file to obtain a matched target frequency band, wherein the frequency band information is added in the file header in advance;
the determining module is used for determining the calibration data offset corresponding to the target frequency band according to the frequency band information;
the reading module is used for reading the corresponding calibration data from the calibration file according to the calibration data offset corresponding to the target frequency band to obtain the calibration data corresponding to the frequency band to be matched;
the candidate module is used for acquiring unified calibration parameters of the current system software if the target frequency band is not matched from the frequency band information in the file header; and obtaining calibration data corresponding to the frequency band to be matched according to the unified calibration parameters of the current system software.
8. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 6.
9. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 6.
CN202310830333.6A 2023-07-07 2023-07-07 Calibration data reading method and device, storage medium and electronic equipment Active CN116545860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310830333.6A CN116545860B (en) 2023-07-07 2023-07-07 Calibration data reading method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310830333.6A CN116545860B (en) 2023-07-07 2023-07-07 Calibration data reading method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN116545860A CN116545860A (en) 2023-08-04
CN116545860B true CN116545860B (en) 2023-10-03

Family

ID=87454654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310830333.6A Active CN116545860B (en) 2023-07-07 2023-07-07 Calibration data reading method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116545860B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105434A (en) * 2017-04-21 2017-08-29 惠州Tcl移动通信有限公司 Frequency range is calibrated and increases method, system, mobile phone and readable storage medium storing program for executing newly
CN109462446A (en) * 2019-01-10 2019-03-12 Oppo广东移动通信有限公司 A kind of RF calibration method, apparatus and computer readable storage medium
CN112394224A (en) * 2020-11-04 2021-02-23 武汉大学 Audio file generation time tracing dynamic matching method and system
CN115766490A (en) * 2022-10-17 2023-03-07 北京奕斯伟计算技术股份有限公司 Calibration data acquisition method, calibration data storage method, device and equipment
CN115802376A (en) * 2022-10-14 2023-03-14 中国电信股份有限公司 Method and device for calibrating work parameter data, electronic equipment and storage medium
CN116137552A (en) * 2021-11-16 2023-05-19 广东明创软件科技有限公司 Antenna calibration method and device, storage medium and electronic equipment
CN116366181A (en) * 2023-03-30 2023-06-30 深圳华创电科技术有限公司 Channel automatic calibration method, device, equipment and computer storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8321197B2 (en) * 2006-10-18 2012-11-27 Teresa Ruth Gaudet Method and process for performing category-based analysis, evaluation, and prescriptive practice creation upon stenographically written and voice-written text files
US20140250138A1 (en) * 2013-03-04 2014-09-04 Vonage Network Llc Method and apparatus for optimizing log file filtering
US10990531B2 (en) * 2019-08-28 2021-04-27 Intel Corporation Cloud-based frequency-based cache management
EP4111448A4 (en) * 2020-02-24 2023-12-13 Lucid Inc. Method, system, and medium for affective music recommendation and composition
US20210394020A1 (en) * 2020-06-17 2021-12-23 FitForm Technologies Inc. Tracking three-dimensional motion during an activity
US11490874B2 (en) * 2021-03-19 2022-11-08 Canon Medical Systems Corporation Self calibration method and apparatus for correcting offset angle in a photon counting computed tomography system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105434A (en) * 2017-04-21 2017-08-29 惠州Tcl移动通信有限公司 Frequency range is calibrated and increases method, system, mobile phone and readable storage medium storing program for executing newly
CN109462446A (en) * 2019-01-10 2019-03-12 Oppo广东移动通信有限公司 A kind of RF calibration method, apparatus and computer readable storage medium
CN112394224A (en) * 2020-11-04 2021-02-23 武汉大学 Audio file generation time tracing dynamic matching method and system
CN116137552A (en) * 2021-11-16 2023-05-19 广东明创软件科技有限公司 Antenna calibration method and device, storage medium and electronic equipment
CN115802376A (en) * 2022-10-14 2023-03-14 中国电信股份有限公司 Method and device for calibrating work parameter data, electronic equipment and storage medium
CN115766490A (en) * 2022-10-17 2023-03-07 北京奕斯伟计算技术股份有限公司 Calibration data acquisition method, calibration data storage method, device and equipment
CN116366181A (en) * 2023-03-30 2023-06-30 深圳华创电科技术有限公司 Channel automatic calibration method, device, equipment and computer storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Novel Calibration Method of DC-Offsets in Direct-Conversion Transmitter;Shengyi Zhang, Yu Tian;IEEE Communications Letters;第26卷(第11期);全文 *
新型大频率比多频天线技术研究;刘杨;中国优秀硕士学位论文数据库;全文 *

Also Published As

Publication number Publication date
CN116545860A (en) 2023-08-04

Similar Documents

Publication Publication Date Title
US20180077592A1 (en) Network selection method and apparatus therefor
JP5710680B2 (en) System and method for reducing factory program time for wireless devices
CN109947449A (en) Method for upgrading system, device, storage medium and electronic equipment
CN109561002B (en) Voice control method and device for household electrical appliance
CN102214106B (en) Automatic dual-system guide method of embedded device
EP2664988B1 (en) Method, device and system for installing terminal software
CN111427417B (en) Time acquisition method and device and electronic equipment
CN107861765B (en) Product configuration method, apparatus, and computer-readable storage medium
CN110362598B (en) Data query method and device, storage medium and electronic equipment
CN116545860B (en) Calibration data reading method and device, storage medium and electronic equipment
CN115022718B (en) Data importing method and data transmitting method
CN114090054A (en) Intelligent equipment upgrading method and device, storage medium and electronic equipment
CN110308959A (en) Content displaying method and device, electronic equipment and readable storage medium storing program for executing
CN106130815B (en) Board level testing method and device
CN114489711A (en) Terminal upgrading method and device and storage medium
CN108513169B (en) Method for downloading starting program from chip, chip and liquid crystal television
CN112423099A (en) Video loading method and device and electronic equipment
CN116800821B (en) System upgrading method and device, storage medium and electronic equipment
CN107018021B (en) Software upgrading processing method, device and terminal
CN117407019A (en) Upgrade processing method and device, storage medium and electronic equipment
CN113708938B (en) Token obtaining method, token obtaining device and terminal equipment
CN108469985B (en) Application program management method and device
CN117421070A (en) Data updating method, device, electronic equipment and computer readable storage medium
CN117544714A (en) Contact person information presetting method and device, storage medium and electronic equipment
CN117119096A (en) Contact person information presetting method and device, storage medium and electronic equipment

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