A method and device for processing a radio frequency device description file, equipment and storage medium

By converting RF device description files into a standardized data structure, the problem of inconsistent description methods among different manufacturers is solved, achieving efficient automation and interoperability in RF device configuration.

CN118093516BActive Publication Date: 2026-11-20GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410362514.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2026-11-20
Estimated Expiration
2044-03-27

AI Technical Summary

Technical Problem

The description file formats of existing RF devices vary and lack a unified standard, which makes it time-consuming and prone to errors when users configure RF paths.

Method used

The description files of RF devices are converted from the first file format to a second file format with a standardized data structure. A unified data mapping strategy is used for description, and a tree structure or chain structure in XML format is used to standardize the device descriptions of different manufacturers, thereby improving the readability and reusability of the files.

Benefits of technology

By using standardized data structures to describe RF devices, configuration efficiency is improved, manual configuration time is reduced, error rates are lowered, and interoperability and consistency of devices from different manufacturers are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118093516B_ABST
    Figure CN118093516B_ABST
Patent Text Reader

Abstract

The application discloses a processing method and device of a radio frequency device description file, equipment, a storage medium and a computer program product. The method comprises the following steps: acquiring one or more first description files of a radio frequency device, wherein the first description file stores radio frequency device description information by using a first file format; converting the one or more first description files into a second description file with a standardized data structure based on a preset data mapping strategy, wherein the second description file stores radio frequency device description information by using a second file format; and storing the second description file, which is used for configuring the radio frequency device. In this way, the radio frequency device is described by using a unified standardized data structure, the description mode of radio frequency devices with different functions from different manufacturers can be standardized, the readability and reusability of the file are improved, the configuration information can be automatically extracted by using the standardized description file, and the radio frequency device configuration efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to electronic technology, and more particularly to a method, apparatus, device, storage medium, and computer program product for processing radio frequency device description files. Background Technology

[0002] Radio frequency (RF) devices are widely used in communication equipment, from mobile phones to tablets, Bluetooth headsets, routers, etc., all of which require RF devices for conversion, amplification, and filtering of baseband signals and RF signals.

[0003] Currently, RF devices are generally described in terms of function, configuration, and parameters through datasheets. However, different manufacturers use different methods for description, lacking a unified standard, and RF device interface standards are not unique. When configuring an RF path, users need to read the datasheet to understand the device's functions, extract configuration information, and then configure the device. As RF solutions become increasingly complex and the number of RF devices gradually increases, manually extracting configuration information is time-consuming and prone to errors. Summary of the Invention

[0004] This application aims to provide a method, apparatus, device, storage medium, and computer program product for processing radio frequency device description files.

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

[0006] Firstly, a method for processing radio frequency device description files is provided, including:

[0007] Obtain one or more first description files of an RF device, wherein the first description file stores RF device description information using a first file format;

[0008] Based on a preset data mapping strategy, the one or more first description files are converted into second description files with a standardized data structure, wherein the second description file uses a second file format to store radio frequency device description information;

[0009] The second description file is stored for configuring the radio frequency device.

[0010] Secondly, a processing apparatus for a radio frequency device description file is provided, comprising:

[0011] An acquisition unit is configured to acquire one or more first description files of a radio frequency device, wherein the first description file stores radio frequency device description information using a first file format;

[0012] The conversion unit is used to convert the one or more first description files into a second description file with a standardized data structure based on a preset data mapping strategy, wherein the second description file uses a second file format to store radio frequency device description information;

[0013] A configuration unit is used to store the second description file for configuring the radio frequency device.

[0014] Thirdly, an electronic device is provided, comprising: a processor and a memory configured to store a computer program capable of running on the processor.

[0015] Wherein, the processor is configured to execute the steps of the aforementioned method when running the computer program.

[0016] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the aforementioned method.

[0017] Fifthly, a computer program product includes a computer program that, when executed by a processor, implements the steps of the aforementioned method.

[0018] This application provides a method, apparatus, device, storage medium, and computer program product for processing radio frequency (RF) device description files. The method includes: acquiring one or more first description files for an RF device, wherein the first description files store RF device description information using a first file format; converting the one or more first description files into a second description file with a standardized data structure based on a preset data mapping strategy, wherein the second description file stores RF device description information using a second file format; and storing the second description file for configuring the RF device. Thus, using a unified standardized data structure to describe RF devices can standardize the description methods of RF devices with different functions from different manufacturers, improve file readability and reusability, and automatically extract configuration information using standardized description files, greatly improving the efficiency of RF device configuration. Attached Figure Description

[0019] Figure 1 This is a flowchart illustrating the method for processing radio frequency device description files in embodiments of this application;

[0020] Figure 2 This is a schematic diagram illustrating the implementation process of the data mapping strategy in the embodiments of this application;

[0021] Figure 3 This is a schematic diagram of the module division results of the radio frequency devices in the embodiments of this application. Figure 1 ;

[0022] Figure 4 This is a schematic diagram of the module division results of the radio frequency devices in the embodiments of this application. Figure 2 ;

[0023] Figure 5 This is a schematic diagram of the register definition of a mid-frequency power amplifier in an embodiment of this application;

[0024] Figure 6 This is a schematic diagram illustrating the composition of module description information in the embodiments of this application;

[0025] Figure 7 This is a schematic diagram of the standardized data structure in the embodiments of this application;

[0026] Figure 8 This is a schematic diagram of the logic state of the smallest unit in the embodiments of this application;

[0027] Figure 9 A schematic block diagram of a switching device provided in an embodiment of this application;

[0028] Figure 10 This is a schematic diagram of the module partitioning result of a switching device provided in an embodiment of this application;

[0029] Figure 11 This is a schematic diagram of the composition structure of the radio frequency device description file processing device in the embodiments of this application;

[0030] Figure 12 This is a schematic diagram of the composition structure of the electronic device in the embodiments of this application. Detailed Implementation

[0031] In order to gain a more detailed understanding of the features and technical content of the embodiments of this application, the implementation of the embodiments of this application will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and illustration only and are not intended to limit the embodiments of this application.

[0032] Figure 1 This is a flowchart illustrating the method for processing radio frequency device description files in embodiments of this application, such as... Figure 1 As shown, the method may specifically include:

[0033] Step 101: Obtain one or more first description files for the radio frequency device, wherein the first description file stores radio frequency device description information using a first file format;

[0034] It should be noted that the first description document can specifically be a technical document written by the manufacturer for the RF device, used to provide detailed specifications and performance information about the RF device. The first file format and description language may differ between manufacturers. The first file format can be any text file format, image file format, document and table file format, program source code format, etc. The description language can be natural language or a specific document description language.

[0035] For example, the first description file may include a datasheet, the main contents of which include, but are not limited to: product overview, electrical parameters, physical parameters, physical characteristics information such as product size, weight, and package type, pin functions and pin definitions, internal register definitions, etc.

[0036] The first description file may also include driver files for the RF device, which typically include a device description, a description section, and a test instruction section. The description section may include the device description, datasheet name, etc., while the test instruction section may involve data calculation and instruction transmission, etc.

[0037] Radio frequency devices may include at least one of the following: processors, radio frequency integrated circuits (RFICs), and radio frequency front-end devices such as power amplifiers (PAs), low noise amplifiers (LNAs), switches, filters, duplexers and diplexers, and PA modules integrated with duplexers (PAMIDs).

[0038] Radio frequency (RF) systems for electronic devices such as mobile phones, tablets, laptops, and wearable devices typically consist of at least one transmit (1T) and two receive (2R) signals per frequency band. Some frequency bands, for higher specifications, are designed as 1T4R or 2T4R. Each TX or RX signal contains several RF front-end devices. These TX or RX links support signal transmission and reception across all frequency bands of the mobile phone.

[0039] Step 102: Based on a preset data mapping strategy, convert one or more first description files into second description files with a standardized data structure, wherein the second description files use a second file format to store RF device description information;

[0040] The data mapping strategy is used to convert one or more first description files into a second description file with a standardized data structure. The corresponding second file format can be any text file format. A standardized data structure is a unified data organization and expression method used to ensure the consistency and interoperability of description files for RF devices from different manufacturers. Using a standardized data structure makes different devices easier to understand and apply. This application converts one or more first description files of RF devices into a standardized second description file, which can standardize the description methods of RF devices with different functions from different manufacturers, improve file readability and reusability, and automatically extract configuration information using the standardized description file, greatly improving the configuration efficiency of RF devices.

[0041] In some embodiments, the standardized data structure may be a tree structure, a chain structure, a graph structure, etc.

[0042] When the standardized data structure is a tree structure, it can effectively represent and process hierarchical and relational data. Its corresponding second file format includes XML. XML is self-descriptive, meaning that XML files can clearly describe their internal data structure and content. When other systems or applications need to read or process these XML files, they can accurately obtain the required information by reading and understanding the tags and attributes within the XML file, without relying on external documents or descriptions. It is easy for both humans to read and machines to parse.

[0043] When the standardized structure is a linked list, its characteristic is that different data elements are connected together by pointers or chains to form a linked list. This structure does not require logically adjacent elements to be physically adjacent, thus offering greater flexibility. For example, a linked list can be a singly linked list, a doubly linked list, a circular linked list, etc.

[0044] Step 103: Store the second description file for configuring the RF device.

[0045] Specifically, the configuration information of the RF devices is read from the second description file; the configuration information is then sent to the RF devices. A unified, standardized data structure is used to describe the RF devices, and the standardized description file automatically extracts configuration information according to requirements, greatly improving the configuration efficiency of the RF devices.

[0046] Furthermore, examples are provided to illustrate the data mapping strategy. Figure 2 This is a schematic diagram illustrating the implementation process of the data mapping strategy in this application embodiment, such as... Figure 2 As shown, data mapping strategies may include:

[0047] Step 201: Divide the radio frequency device into modules to obtain the module division result of the radio frequency device. The module division result includes one or more modules in the radio frequency device and the connection relationship between the modules.

[0048] By dividing radio frequency (RF) devices into modules, the description information of a complex RF device can be decomposed into several relatively independent, single-function modules. Each module is responsible for completing a specific task, which can reduce the complexity of RF device description, improve reusability, and reduce maintenance difficulty.

[0049] In some embodiments, the radio frequency device is divided into modules based on the radio frequency device description information in one or more description files to obtain the module division result of the radio frequency device.

[0050] The connection relationships between modules include the connection relationships between the current module and one or more associated modules. In some embodiments, the standardized data structure is a tree structure, and the connection relationships between modules of the radio frequency device include the parent-child relationships between nodes in the tree structure. The associated modules of the current module include at least one of the following: the parent node associated module and the child node associated module. Figure 3 This is a schematic diagram of the module division results of the radio frequency devices in the embodiments of this application. Figure 1 Layer 0 corresponds to the RF device itself, Layer 1 is the result of the first module division, and each module in Layer 1 is used to complete a specific task. Layer 2 is the result of the second module division, corresponding to the smallest unit of the RF device.

[0051] In some embodiments, the radio frequency device is divided into modules according to the interface bus of the radio frequency device to obtain one or more first-level modules; each first-level module is further divided into modules to obtain one or more second-level modules, until the smallest unit is reached and the division stops. Figure 4 This is a schematic diagram of the module division results of the radio frequency devices in the embodiments of this application. Figure 2 ,like Figure 4 As shown, the system is divided into n modules based on a set of interface buses (such as MIPI BUS) of the RF devices. Each sub-module within an interface bus uses m registers, and each register is functionally defined by bit. Figure 5 This is a schematic diagram of the register definition of a mid-band power amplifier in an embodiment of this application. The pin information of the mid-band (MB) power amplifier can be extracted from the register definition.

[0052] Step 202: Based on the module partitioning results, create a standardized data structure for the RF devices;

[0053] Specifically, based on the module partitioning results, a standardized data structure (such as a tree structure or a linked list structure) is selected, and one or more data elements of the standardized data structure, as well as the relationships between the data elements, are created. Each module corresponds to one data element or a set of data elements.

[0054] For example, if the connection between modules is hierarchical, a tree structure is chosen for data transformation. If the connection between modules is chained, a singly linked list structure is chosen for data transformation.

[0055] Step 203: Based on the module partitioning results, extract the module description information of the RF devices from the first description file, fill it into the corresponding module position in the standardized data structure, and obtain the second description file.

[0056] In some embodiments, the module description information includes a module tag and one or more sub-tags, wherein the one or more sub-tags include attribute information and pin information. The module tag is used to identify the module and categorize different modules. Sub-tags are tags nested within the module tag and are used to further describe the module's detailed information.

[0057] The attribute information contains one or more attribute parameters for the current module, such as Figure 6 As shown, the attribute information may include at least one of the following: module name, module type, module control interface type, module index, and logical configuration identifier.

[0058] Pin information is used to indicate the physical pins contained in the current module and the pin connection relationships. Pin information may include: attribute information of one or more pins and pin connection relationships. The pin attribute information includes at least one of the following: pin number, pin name, pin type, supported frequency band, supported wireless access technology, and supported frequency. The pin connection relationships include: the identification information of the target pin and the identification information of the source pin.

[0059] The logic configuration identifier indicates whether the RF device requires logic configuration. For configured devices, the logic states of one or more internal modules need to be configured; for non-configurable devices, the logic states of all internal modules do not need to be configured. For example, conventional switches, power amplifiers (PAs), and low-frequency amplifiers (LNAs) generally require logic configuration and are thus classified as configured devices, while duplexers, diplexers, and surface acoustic wave (SAW) filters generally do not require configuration and are thus classified as non-configurable devices.

[0060] In some embodiments, the standardized data structure is a tree structure. If the current module is not a leaf node, one or more sub-labels may also include: the number of child nodes of the current module.

[0061] If the current module is a leaf node, one or more sub-labels include: the logical state identifier of the lowest level module and the logical state mapping relationship; wherein, the logical state identifier is used to indicate the logical state of the lowest level module; the logical state mapping relationship is used to indicate the pin connection relationship corresponding to the logical state, and the pin connection relationship includes the identification information of the source pin and the identification information of the target pin.

[0062] In some embodiments, the identification information of the target pin includes the module index of the target module where the target pin is located and the target pin number, and the identification information of the source pin includes the module index of the source module where the source pin is located and the source pin number. It should be noted that the pin connection relationship can specifically be the connection relationship of pins within the current module, or the connection relationship of pins of the current module with pins of other modules.

[0063] To better illustrate the purpose of this application, based on the above embodiments, the processing method of the radio frequency device description file provided in the embodiments of this application will be further illustrated with examples.

[0064] S1: Divide the device into modules according to the device block diagram in the first description file (such as the device datasheet). The modules are distinguished by function set or control set.

[0065] S2: The divided modules are split into modules, and the modules are split into modules based on the smallest functional module or register.

[0066] S3: Based on the module division results, construct a standardized data structure (such as a tree structure).

[0067] S4: Extract all module description information from the first description file, fill it into the corresponding module position in the standardized data structure, and obtain the second description file (such as an XML file).

[0068] Figure 7 This is a schematic diagram of the standardized data structure in the embodiments of this application, such as... Figure 7As shown, taking a tree structure as an example, the RF device is divided into a three-layer tree structure, including the first layer (Device layer), the second layer (Module layer), and the third layer (minimum unit layer). The minimum unit can be a Block layer or a register layer. Extract the attribute information (including name, type, number of modules, etc.) and pin information (Pin attribute information, Pin connection relationship, etc.) of the Device layer from the datasheet. Extract the attribute information (including name, index, number of modules, etc.), interface control information (MIPI parameters, if present, can be left blank), and pin information (Pin attribute information, Pin connection relationship, etc.) of the Module layer. Extract the attribute information (including name, type, index, etc.), pin information (Pin attribute information, Pin connection relationship, etc.), and logic status information (including Port identifier and connection relationship, etc.) of the Block layer.

[0069] The Device layer includes the Device label (Device_Descriptor) and its sub-labels.

[0070] Device_Descriptor is the top-level and root tag, describing all information about the device. It has three sub-tags: Device_Attributes (device attribute information), Device_UI_Params (device pin information), and Module_Descriptor (module tag). The Device_Attributes tag contains several sub-tags, such as Device_Name (device name), Need_Config (logic configuration identifier), Device_Type (device type), Num_Modules (number of modules), and Device_Trans_Proto (device control interface information).

[0071] The Device_Name tag indicates the name of the physical device, such as QM77058. Need_Config indicates whether the device is a configurable or non-configurable device. For example, conventional switches, PAs, and LNAs generally require logic configuration and are therefore configurable devices, while duplexers and diplexers, surface acoustic wave filters (SAW filters), etc., generally do not require configuration and are therefore non-configurable devices. The Device_Type tag indicates the type of device, such as a front-end module (FEM) device, a software-defined radio (SDR) device, or a tuner device. It is mainly used to distinguish between SDR and FEM devices. The Num_Modules tag indicates how many modules the physical device contains, and the Device_Trans_Proto tag indicates the control interface type of the physical device, such as MIPI, GRFC / GPIO, QLINK, etc.

[0072] The Device_UI_Params tag is used to indicate the physical pins contained in the device and the connection relationship between the physical pins and internal modules. It mainly contains two sub-tags: Pin_Group and Pin_Connection. Pin_Group describes information such as pin_num (number of pins), pin_name (pin name), pin_type (pin type), pin_band_support (supported frequency bands), rat_support (supported wireless access technologies), and freq_support (supported frequencies).

[0073] Pin_Connection describes the connection relationship between pins of various modules. It consists of source pin information (source module index (src_module_idx), source module index (src_block_idx), and source pin number (src_pin_num)) and destination pin information (dest_module_idx), destination module index (dest_block_idx), and source pin number (dest_pin_num). This information describes the connection relationship between a pair of pins.

[0074] The Module layer includes the Module tag (Module_Descriptor) and its sub-tags.

[0075] The Module_Descriptor tag describes information related to a Module. A Device may contain one or more Module tags. The Module_Descriptor tag contains the following sub-tags: Module_Attributes (module attribute information), Module_Transport_Proto (module control interface information), Module_UI_Params (module pin information), and Block_Descriptor (block tag).

[0076] The Module_Attributes tag contains Module_Name (module name), Module_index (module index), and Num_Blocks (number of blocks) sub-tags, which respectively indicate the function name of the module, the module number in the device, and the number of blocks it contains.

[0077] The Module_Transport_Proto tag is used to describe the interface control information used by the Module, such as the Manufacture_ID, Product_ID, USID, and Product_Rev information of the MIPI interface.

[0078] The Module_UI_Params label does not protect pin information, but only the connection information between block pins within the module. If there is only one block within the module or there is no connection between blocks, this label can be left blank. The pin connection format is the same as the Pin_Connection format described in Device above, and will not be repeated here.

[0079] The `Block_Descriptor` tag describes information related to a block. A module may contain one or more `Block` tags. A block is the smallest functional unit in a device. This tag contains the following sub-tags: `Block_Attributes` (block attribute information), `Block_UI_Params` (block pin information), and `Block_Data` (block logic state information). The `Block_Attributes` tag contains several sub-tags such as `Block_name` (block name), `Block_Type` (block type), and `Block_idx` (block index), which describe the name, type, and sequence number of the block within the module, respectively.

[0080] The Block_UI_Params tag describes the pin information of the Block. The format of the pin information is the same as the pin format defined in the Device above, so it will not be described again.

[0081] The `Block_Data` tag describes the logical state of the block and the pin connections for each logical state. For example, if the block has three logical states, such as... Figure 8 As shown, the logical state identifiers are port0 / 1 / 2. Then, Block_Data describes the pin connections of the Block in the three states of Port0 / 1 / 2.

[0082] The above label information can provide a complete description of a physical layer's external physical pins, the type, name, frequency range, supported standards, and other information; the included module units; the control interface information used by the modules; the modules contained within each module; the logic pins and pin information of each module; and the connection information corresponding to each configuration logic. This basically meets the device description requirements of current front-end RF chips.

[0083] Taking a switching device as an example, the data mapping process is illustrated. Figure 9 This is a schematic block diagram of a switching device provided in an embodiment of this application. Figure 10 This is a schematic diagram of the module partitioning result of a switching device provided in an embodiment of this application. The switching device includes a logic controller and its corresponding smallest unit. The switching device can be divided into a module, which contains one module. The control pins include RF1 to RF6. The Block_Data description part can define the logic state identifier and logic state mapping relationship of the device under different configuration states.

[0084] The switching device is described in detail in the XML file as follows:

[0085]

[0086]

[0087]

[0088]

[0089] Existing technologies define registers according to device functional modules and provide device manuals to describe the registers of each module. Users need to read the device manual to understand the device's functions and configure it accordingly. This approach lacks reusability, requiring users to search for configuration information each time. Furthermore, many device manuals are even in image format, making standardized digitization difficult. The technical solution proposed in this application provides a method for dividing RF devices into functional modules and describing each module using XML. This method effectively represents the module functions and internal / external connections of the device, making it highly suitable for digitization and significantly improving device configuration reusability.

[0090] To implement the method of the embodiments of this application, based on the same inventive concept, the embodiments of this application also provide a processing method for radio frequency device description files, such as... Figure 11 As shown, the processing apparatus 110 for the radio frequency device description file includes:

[0091] The acquisition unit 1101 is used to acquire one or more first description files of an RF device, wherein the first description file stores RF device description information using a first file format;

[0092] The conversion unit 1102 is used to convert one or more first description files into a second description file with a standardized data structure based on a preset data mapping strategy, wherein the second description file uses a second file format to store radio frequency device description information;

[0093] Storage unit 1103 is used to store a second description file for configuring radio frequency devices.

[0094] In some embodiments, the data mapping strategy includes:

[0095] The radio frequency (RF) device is divided into modules to obtain the module division result of the RF device. The module division result includes one or more modules in the RF device and the connection relationship between the modules.

[0096] Based on the module division results, a standardized data structure for RF devices is created;

[0097] Based on the module partitioning results, the module description information of the RF devices is extracted from the first description file and filled into the corresponding module position in the standardized data structure to obtain the second description file.

[0098] In some embodiments, the module description information includes: a module tag and one or more sub-tags;

[0099] One or more sub-tags include: attribute information and pin information.

[0100] In some embodiments, the attribute information includes at least one of the following: module name, module type, module control interface type, module index, and logical configuration identifier;

[0101] Pin information includes: attribute information and pin connection relationships of one or more pins, wherein the pin attribute information includes at least one of the following: pin number, pin name, pin type, supported frequency band, supported wireless access technology, and supported frequency;

[0102] The pin connection relationship includes: the identification information of the target pin and the identification information of the source pin.

[0103] In some embodiments, the standardized data structure is a tree structure. If the current module is not a leaf node, one or more sub-labels may also include: the number of child nodes of the current module.

[0104] If the current module is a leaf node, one or more child tags include: the logical state identifier and logical state mapping relationship of the lowest level module;

[0105] Among them, the logical state identifier is used to indicate the logical state of the lowest level module;

[0106] The logical state mapping relationship is used to indicate the corresponding pin connection relationship in the logical state. The pin connection relationship includes the identification information of the source pin and the identification information of the target pin.

[0107] In some embodiments, the identification information of the target pin includes: the module index of the target module where the target pin is located and the pin number of the target pin;

[0108] The identification information of the source pin includes: the module index of the source module in which the source pin is located and the pin number of the source pin.

[0109] In practical applications, the aforementioned device can be an electronic device or a chip used in an electronic device. In this application, the device can implement the functions of multiple units through software, hardware, or a combination of both, enabling the device to execute the radio frequency device description file processing method provided in any of the above embodiments. Furthermore, the technical effects of each technical solution of this device can be referenced to the technical effects of the corresponding technical solutions in the radio frequency device description file processing method, and will not be elaborated upon further in this application.

[0110] Using the above-mentioned device and a unified standardized data structure to describe RF devices can standardize the description methods of RF devices with different functions from different manufacturers, improve the readability and reusability of the files, and use standardized description files to automatically extract configuration information, which greatly improves the configuration efficiency of RF devices.

[0111] Based on the hardware implementation of each unit in the above-mentioned radio frequency device description file processing device, embodiments of this application also provide an electronic device, such as... Figure 12 As shown, the electronic device 120 includes: a processor 1201 and a memory 1202 configured to store computer programs capable of running on the processor;

[0112] When the processor 1201 is configured to run a computer program, it executes the method steps described in the foregoing embodiments.

[0113] Of course, in practical applications, such as Figure 12 As shown, the various components in this electronic device are coupled together via a bus system 1203. It is understood that the bus system 1203 is used to enable communication between these components. In addition to a data bus, the bus system 1203 also includes a power bus, a control bus, and a status signal bus. However, for clarity, all buses are labeled as bus system 1203 in the figure.

[0114] In practical applications, the aforementioned processor can be at least one of the following: Application-Specific Integrated Circuit (ASIC), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), controller, microcontroller, and microprocessor. It is understood that, for different devices, the electronic devices used to implement the functions of the aforementioned processor can also be other types, and the embodiments of this application do not specifically limit this.

[0115] The aforementioned memory can be volatile memory, such as random-access memory (RAM); or non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); or a combination of the above types of memory, and provides instructions and data to the processor.

[0116] Optionally, the chip can be applied to the electronic device in the embodiments of this application, and the chip can implement the corresponding processes implemented by the processor of the electronic device in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0117] In an exemplary embodiment, this application also provides a computer-readable storage medium, such as a memory including a computer program, which can be executed by a processor of an electronic device to perform the steps of the aforementioned method.

[0118] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in any one of the embodiments of this application.

[0119] Optionally, the computer program product can be applied to the electronic device in the embodiments of this application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the electronic device in the various methods of the embodiments of this application. For the sake of brevity, they will not be described in detail here.

[0120] This application also provides a computer program.

[0121] Optionally, the computer program can be applied to the electronic device in the embodiments of this application. When the computer program is run on a computer, it causes the computer to execute the corresponding processes implemented by the electronic device in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0122] It should be understood that the terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items. The expressions “having,” “may have,” “comprising,” and “including,” or “may include” and “may contain” used herein may be used to indicate the presence of a corresponding feature (e.g., an element such as a number, function, operation, or component), but do not exclude the presence of additional features.

[0123] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and are not necessarily used to describe a specific order or sequence. For example, without departing from the scope of this invention, first information may also be referred to as second information, and similarly, second information may also be referred to as first information.

[0124] The technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.

[0125] In the several embodiments provided in this application, it should be understood that the disclosed methods, apparatus, and devices can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical, or other forms.

[0126] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0127] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0128] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method for processing radio frequency device description files, characterized in that, The method includes: Obtain one or more first description files of an RF device, wherein the first description file stores RF device description information using a first file format; Based on a preset data mapping strategy, the one or more first description files are converted into second description files with a standardized data structure, wherein the second description file uses a second file format to store radio frequency device description information; The second description file is stored for configuring the radio frequency device; The data mapping strategy includes: The radio frequency device is divided into modules to obtain the module division result of the radio frequency device, wherein the module division result includes one or more modules in the radio frequency device and the connection relationship between the modules; Based on the module division results, a standardized data structure for the radio frequency device is created; Based on the module division results, the module description information of the radio frequency device is extracted from the first description file and filled into the corresponding module position in the standardized data structure to obtain the second description file; The module description information includes: a module tag and one or more sub-tags; Among them, the one or more sub-labels include attribute information and pin information; When the standardized data structure is a tree structure, if the current module is not a leaf node, the one or more sub-labels also include: the number of child nodes of the current module; If the current module is a leaf node, the one or more sub-tags include: the logical state identifier and logical state mapping relationship of the lowest level module; The logical state identifier is used to indicate the logical state of the lowest-level module; The logical state mapping relationship is used to indicate the pin connection relationship corresponding to the logical state. The pin connection relationship includes the identification information of the source pin and the identification information of the target pin.

2. The method according to claim 1, characterized in that, The attribute information includes at least one of the following: module name, module type, module control interface type, module index, and logical configuration identifier; The pin information includes: attribute information of one or more pins and pin connection relationships, wherein the pin attribute information includes at least one of the following: pin number, pin name, pin type, supported frequency band, supported wireless access technology, and supported frequency; The pin connection relationship includes: the identification information of the target pin and the identification information of the source pin.

3. The method according to claim 1 or 2, characterized in that, The identification information of the target pin includes: the module index of the target module where the target pin is located and the pin number of the target pin; The identification information of the source pin includes: the module index of the source module where the source pin is located and the pin number of the source pin.

4. A processing apparatus for radio frequency device description files, characterized in that, The device includes: An acquisition unit is configured to acquire one or more first description files of a radio frequency device, wherein the first description file stores radio frequency device description information using a first file format; The conversion unit is used to convert the one or more first description files into a second description file with a standardized data structure based on a preset data mapping strategy, wherein the second description file uses a second file format to store radio frequency device description information; A storage unit is provided for storing the second description file, which is used to configure the radio frequency device; The data mapping strategy includes: The radio frequency device is divided into modules to obtain the module division result of the radio frequency device, wherein the module division result includes one or more modules in the radio frequency device and the connection relationship between the modules; Based on the module division results, a standardized data structure for the radio frequency device is created; Based on the module division results, the module description information of the radio frequency device is extracted from the first description file and filled into the corresponding module position in the standardized data structure to obtain the second description file; The module description information includes: a module tag and one or more sub-tags; Among them, the one or more sub-labels include attribute information and pin information; When the standardized data structure is a tree structure, if the current module is not a leaf node, the one or more sub-labels also include: the number of child nodes of the current module; If the current module is a leaf node, the one or more sub-tags include: the logical state identifier and logical state mapping relationship of the lowest level module; The logical state identifier is used to indicate the logical state of the lowest-level module; The logical state mapping relationship is used to indicate the pin connection relationship corresponding to the logical state. The pin connection relationship includes the identification information of the source pin and the identification information of the target pin.

5. An electronic device, characterized in that, Electronic devices include: a processor and memory configured to store computer programs capable of running on the processor. Wherein, when the processor is configured to run the computer program, it performs the steps of the method according to any one of claims 1 to 3.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.

7. A computer program product, comprising a computer program, characterized in that, When the computer program processor executes, it implements the steps of the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Device description file conversion

    EP1988437A1