Method, device, electronic device and medium for displaying antenna port connection mode
By querying and converting the port connection method of frequency band combinations in the XML file collection for graphic display, the problem of poor readability of the antenna port connection method is solved, and the user experience and accuracy are improved.
Patent Information
- Application Number
- CN202210248235.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-14
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2042-03-14
AI Technical Summary
In the prior art, descriptions of antenna port connection methods are difficult to achieve high readability, resulting in unfriendly user experience and error-prone.
By obtaining the target frequency band combination selected by the user, query the corresponding XML file from the pre-configured set of XML files, and convert it into a connected graphic for display according to the graphic description syntax, supporting dynamic display to improve readability.
It realizes intuitive display of antenna port connection method, improves user understanding and wiring accuracy, and reduces error occurrence.
Smart Images

Figure CN114567565B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a method, device, electronic device and computer-readable storage medium for displaying an antenna port connection mode. Background Art
[0002] The communication module supports the 4G (the 4Generation mobile communication technology) and 5G (5th Generation Mobile Communication Technology) frequency bands and their combination requirements of global operators. It supports hundreds or even thousands of ENDC (EUTRA-NR Dual Connectivity) combinations and CA (Carrier Acceleration) combinations, involving various combinations of ultra-high frequency, high frequency, medium frequency and low frequency. The number of MIMO (Multiple-Input Multiple-Output) antenna port connection methods corresponding to these frequency band combinations is very large.
[0003] Non-signaling testing brings a problem. Testing different frequency band combinations requires a special document to describe. Currently, the connection methods for different frequency band combinations are mainly presented in the form of documents such as Excel lists or static graphics classified by connection method. The document form presents the connection relationship, which has poor readability and is often difficult for readers to understand, resulting in an unfriendly user experience on the display interface. In actual use, readers may have a wrong understanding of the document, resulting in frequent wiring errors.
[0004] It can be seen that how to improve the readability of the antenna port connection method is a problem that technical personnel in this field need to solve. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method, device, electronic device and computer-readable storage medium for displaying an antenna port connection method, which can improve the readability of the antenna port connection method.
[0006] In order to solve the above technical problems, an embodiment of the present application provides a method for displaying an antenna port connection mode, including:
[0007] Obtain the target frequency band combination selected by the user;
[0008] Querying a target XML file matching the target frequency band combination from an XML file set; wherein the XML file set includes XML files configured based on port connection modes corresponding to different frequency band combinations;
[0009] According to the graph description grammar, the target XML file is converted into a connection graph for display.
[0010] Optionally, converting the target XML file into a connection graph for display according to the graph description grammar includes:
[0011] Parsing the target XML file according to the graphic description grammar to obtain a target port connection mode corresponding to the target frequency band combination;
[0012] The target port connection mode is converted into a connection graph, and the connection graph is output.
[0013] Optionally, after converting the target port connection mode into a connection graph, the method further includes:
[0014] When the target port connection mode meets the set connection complexity requirement, the connection graph is converted into a dynamic display graph.
[0015] Optionally, when the target port connection mode meets a set connection complexity requirement, converting the connection graph into a dynamic display graph includes:
[0016] When the number of connection lines included in the target port connection mode is greater than or equal to a set threshold, the connection graph is converted into a dynamic display graph.
[0017] Optionally, for the configuration process of the XML file set, the method includes:
[0018] According to the graphic description syntax, the port connection modes corresponding to different frequency band combinations are configured as an XML file.
[0019] Optionally, configuring the port connection modes corresponding to different frequency band combinations into an XML file according to the graphic description grammar includes:
[0020] Based on the module ports and port correspondences corresponding to each frequency band in each frequency band combination, determine the port connection mode corresponding to each frequency band combination;
[0021] The port connection mode is configured as an XML file according to the set port identifier and connection identifier.
[0022] Optionally, after obtaining the target frequency band combination selected by the user, the method further includes:
[0023] When there is no target XML file matching the target frequency band combination in the XML file set, the port connection mode corresponding to the target frequency band combination is configured as a target XML file according to the graphic description grammar, and the target XML file is added to the XML file set.
[0024] The embodiment of the present application also provides a display device for antenna port connection mode, including an acquisition unit, a query unit, and a conversion unit;
[0025] The acquisition unit is used to acquire the target frequency band combination selected by the user;
[0026] The query unit is used to query a target XML file matching the target frequency band combination from an XML file set; wherein the XML file set includes XML files configured based on the port connection modes corresponding to different frequency band combinations;
[0027] The conversion unit is used to convert the target XML file into a connection graph for display according to the graph description grammar.
[0028] Optionally, the conversion unit includes a parsing subunit and an output subunit;
[0029] The parsing subunit is used to perform syntax parsing on the target XML file according to the graphic description syntax to obtain a target port connection mode corresponding to the target frequency band combination;
[0030] The output subunit is used to convert the target port connection mode into a connection graph and output the connection graph.
[0031] Optionally, a dynamic conversion unit is also included;
[0032] The dynamic conversion unit is used to convert the connection graph into a dynamic display graph when the target port connection mode meets the set connection complexity requirement.
[0033] Optionally, the dynamic conversion unit is used to convert the connection graph into a dynamic display graph when the number of connection lines included in the target port connection mode is greater than or equal to a set threshold.
[0034] Optionally, for the configuration process of the XML file set, the device further includes a configuration unit;
[0035] The configuration unit is used to configure the port connection modes corresponding to different frequency band combinations into an XML file according to the graphic description grammar.
[0036] Optionally, the configuration unit is used to determine the port connection mode corresponding to each frequency band combination based on the module ports and port correspondences corresponding to each frequency band in each frequency band combination; and configure the port connection mode into an XML file according to the set port identifier and connection identifier.
[0037] Optionally, an adding unit is also included;
[0038] The adding unit is used to configure the port connection mode corresponding to the target frequency band combination as a target XML file according to the graphic description grammar when there is no target XML file matching the target frequency band combination in the XML file set, and add the target XML file to the XML file set.
[0039] The present application also provides an electronic device, including:
[0040] Memory for storing computer programs;
[0041] A processor is used to execute the computer program to implement the steps of the method for displaying the antenna port connection mode as described above.
[0042] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for displaying the antenna port connection method as described above are implemented.
[0043] It can be seen from the above technical solution that the target frequency band combination selected by the user is obtained; the target XML file matching the target frequency band combination is queried from the XML file collection; wherein the XML file collection includes XML files configured based on the port connection methods corresponding to different frequency band combinations. The port connection method is recorded in the XML file. In order to facilitate a more intuitive display of the port connection method, the target XML file can be converted into a connection graphic for display based on the graphic description grammar. In this technical solution, the port connection methods of different frequency band combinations can be recorded by pre-setting an XML file collection. When it is necessary to display the port connection method corresponding to the target frequency band combination, the XML file collection can be directly queried without spending time generating the port connection method. And based on the description grammar of the XML file, the target XML file can be converted into a connection graphic. Compared with describing the port connection method in text form, the connection graphic is easier for users to understand, which improves the readability of the antenna port connection method. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0045] Figure 1 A flowchart of a method for displaying an antenna port connection mode provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of the structure of a display device for an antenna port connection method provided in an embodiment of the present application;
[0047] Figure 3 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.
[0050] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0051] Next, a method for displaying an antenna port connection mode provided in an embodiment of the present application is described in detail. Figure 1 A flowchart of a method for displaying an antenna port connection mode provided in an embodiment of the present application, the method comprising:
[0052] S101: Acquire a target frequency band combination selected by a user.
[0053] 4G and 5G have their corresponding frequency bands. Different frequency band combinations can be set according to different needs. A frequency band combination can contain multiple bands. Each band has its corresponding frequency range.
[0054] For the sake of distinction, the frequency band combination currently selected by the user may be referred to as a target frequency band combination. In actual applications, the user may select different bands through the band selection box displayed on the user operation interface to form a target frequency band combination.
[0055] S102: Querying a target XML file matching the target frequency band combination from the XML file set.
[0056] The XML file set includes XML files configured based on the port connection modes corresponding to different frequency band combinations.
[0057] In the embodiment of the present application, the corresponding XML file can be configured in advance according to different possible frequency band combinations.
[0058] Each frequency band combination has a corresponding XML file. The XML file can record the port connection mode of the frequency band combination according to the set grammatical form. In the embodiment of the present application, the port connection mode corresponding to different frequency band combinations can be configured as an XML file according to the graphical description grammar.
[0059] The graph description syntax may include a port identifier for distinguishing different ports and a connection identifier for representing a connection relationship between ports.
[0060] In a specific implementation, the port connection mode corresponding to each frequency band combination can be determined based on the module ports and port correspondences corresponding to each frequency band in each frequency band combination; the port connection mode is configured as an XML file according to the set port identifier and connection identifier.
[0061] The port connection mode includes the connection relationship between the antenna port of the communication module and the instrument port.
[0062] For example, the antenna port of the communication module can be set to A1, A2, A3, A4, ...An; the high, medium and low frequency input and output ports on the instrument side can be set to T1, T2, T3, T4, T5, T6, ..., Tn; the connection mode can be represented by "=", that is, the connection identifier is "=". For example, A1=T1, which means that the antenna port A1 is directly connected to the instrument port T1; AT=T1+T2, which means that the instrument ports T1 and T2 are combined and connected to the antenna port AT through the work splitter.
[0063] Considering that the number of XML files included in the XML file set is often large, in order to facilitate distinction, the XML file matching the target frequency band combination may be referred to as a target XML file.
[0064] S103: According to the graph description grammar, convert the target XML file into a connection graph for display.
[0065] The target XML file can be grammatically edited for the port connection mode according to the format requirements of the graphic description grammar to obtain an XML file. Therefore, after obtaining the target XML file, the target XML file can be parsed according to the graphic description grammar to obtain the target port connection mode corresponding to the target frequency band combination. In order to facilitate users to intuitively understand the port connection mode, the target port connection mode can be converted into a connection graph, and the connection graph can be output.
[0066] Considering that in actual applications, there may be more complicated port connection methods, in order to facilitate users to understand the port connection methods more intuitively and accurately, the connection graph can be converted into a dynamic display graph when the target port connection method meets the set connection complexity requirements.
[0067] The connection complexity requirement can be based on the user's own assessment, or a threshold can be pre-set to evaluate the number of connection lines.
[0068] When the number of connection lines included in the target port connection method is greater than or equal to the set threshold, it means that the target port connection method is relatively complex. In this case, the connection graph can be converted into a dynamic display graph.
[0069] The method of dynamically displaying connection graphics is a relatively mature technology and will not be described in detail here.
[0070] The XML file set is obtained based on the possible frequency band combination configuration. The number of XML files contained in the XML file set is limited. In actual applications, there may be a situation where there is no target XML file in the XML file set that matches the target frequency band combination. In this case, the port connection method corresponding to the target frequency band combination can be configured as the target XML file according to the graphical description syntax.
[0071] After obtaining the target XML file, the target XML file can be added to the XML file collection, thereby realizing continuous expansion of the XML file collection, so that the XML file collection can achieve a higher coverage rate.
[0072] It can be seen from the above technical solution that the target frequency band combination selected by the user is obtained; the target XML file matching the target frequency band combination is queried from the XML file collection; wherein the XML file collection includes XML files configured based on the port connection methods corresponding to different frequency band combinations. The port connection method is recorded in the XML file. In order to facilitate a more intuitive display of the port connection method, the target XML file can be converted into a connection graphic for display based on the graphic description grammar. In this technical solution, the port connection methods of different frequency band combinations can be recorded by pre-setting an XML file collection. When it is necessary to display the port connection method corresponding to the target frequency band combination, the XML file collection can be directly queried without spending time generating the port connection method. And based on the description grammar of the XML file, the target XML file can be converted into a connection graphic. Compared with describing the port connection method in text form, the connection graphic is easier for users to understand, which improves the readability of the antenna port connection method.
[0073] Figure 2 A schematic diagram of the structure of a display device for an antenna port connection mode provided in an embodiment of the present application, comprising an acquisition unit 21, a query unit 22, and a conversion unit 23;
[0074] An acquisition unit 21 is used to acquire a target frequency band combination selected by a user;
[0075] A query unit 22 is used to query a target XML file matching the target frequency band combination from the XML file set; wherein the XML file set includes XML files configured based on the port connection modes corresponding to different frequency band combinations;
[0076] The conversion unit 23 is used to convert the target XML file into a connection graph for display according to the graph description grammar.
[0077] Optionally, the conversion unit includes a parsing subunit and an output subunit;
[0078] The parsing subunit is used to parse the target XML file according to the graphic description grammar to obtain the target port connection mode corresponding to the target frequency band combination;
[0079] The output subunit is used to convert the target port connection mode into a connection graph and output the connection graph.
[0080] Optionally, a dynamic conversion unit is also included;
[0081] The dynamic conversion unit is used to convert the connection graph into a dynamic display graph when the target port connection mode meets the set connection complexity requirement.
[0082] Optionally, the dynamic conversion unit is used to convert the connection graph into a dynamic display graph when the number of connection lines included in the target port connection mode is greater than or equal to a set threshold.
[0083] Optionally, for the configuration process of the XML file set, the device further includes a configuration unit;
[0084] The configuration unit is used to configure the port connection modes corresponding to different frequency band combinations into an XML file according to the graphical description syntax.
[0085] Optionally, the configuration unit is used to determine the port connection mode corresponding to each frequency band combination based on the module ports and port correspondences corresponding to each frequency band in each frequency band combination; and configure the port connection mode into an XML file according to the set port identifier and connection identifier.
[0086] Optionally, an adding unit is also included;
[0087] The adding unit is used to configure the port connection mode corresponding to the target frequency band combination as the target XML file according to the graphic description grammar when there is no target XML file matching the target frequency band combination in the XML file collection, and add the target XML file to the XML file collection.
[0088] Figure 2 The description of the features in the corresponding embodiments can be found in Figure 1 The relevant descriptions of the corresponding embodiments will not be repeated here one by one.
[0089] It can be seen from the above technical solution that the target frequency band combination selected by the user is obtained; the target XML file matching the target frequency band combination is queried from the XML file collection; wherein the XML file collection includes XML files configured based on the port connection methods corresponding to different frequency band combinations. The port connection method is recorded in the XML file. In order to facilitate a more intuitive display of the port connection method, the target XML file can be converted into a connection graphic for display based on the graphic description grammar. In this technical solution, the port connection methods of different frequency band combinations can be recorded by pre-setting an XML file collection. When it is necessary to display the port connection method corresponding to the target frequency band combination, the XML file collection can be directly queried without spending time generating the port connection method. And based on the description grammar of the XML file, the target XML file can be converted into a connection graphic. Compared with describing the port connection method in text form, the connection graphic is easier for users to understand, which improves the readability of the antenna port connection method.
[0090] Figure 3 A structural diagram of an electronic device provided in an embodiment of the present application, such as Figure 3As shown, the electronic device includes: a memory 20 for storing a computer program;
[0091] The processor 21 is used to implement the steps of the method for displaying the antenna port connection mode in the above embodiment when executing the computer program.
[0092] The electronic device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.
[0093] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0094] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the method for displaying the antenna port connection method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. Data 203 may include but is not limited to XML file collections, etc.
[0095] In some embodiments, the electronic device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power source 25 , and a communication bus 26 .
[0096] Those skilled in the art will understand that Figure 3 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure.
[0097] It is understandable that if the display method of the antenna port connection mode in the above embodiment is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and executes all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, magnetic disk or optical disk and other media that can store program code.
[0098] Based on this, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for displaying the antenna port connection method as described above are implemented.
[0099] The functions of the functional modules of the computer-readable storage medium described in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0100] The above is a detailed introduction to a display method, device, electronic device and computer-readable storage medium for an antenna port connection method provided in an embodiment of the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0101] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0102] The above is a detailed introduction to the display method, device, electronic device and computer-readable storage medium of an antenna port connection mode provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A method for displaying an antenna port connection mode, characterized in that: include: Obtain the target frequency band combination selected by the user; Querying a target XML file matching the target frequency band combination from an XML file set; wherein the XML file set includes XML files configured based on port connection modes corresponding to different frequency band combinations; According to the graphic description grammar, converting the target XML file into a connection graphic for display; Regarding the configuration process of the XML file set, the method includes: According to the graphical description grammar, the port connection modes corresponding to different frequency band combinations are configured as an XML file; the port connection modes include the connection relationship between the antenna port of the communication module and the instrument port; The configuring of the port connection modes corresponding to different frequency band combinations into an XML file according to the graphic description grammar includes: Based on the module ports and port correspondences corresponding to each frequency band in each frequency band combination, determine the port connection mode corresponding to each frequency band combination; The port connection mode is configured as an XML file according to the set port identifier and connection identifier.
2. The method for displaying the antenna port connection mode according to claim 1, characterized in that: The converting the target XML file into a connection graph for display according to the graph description grammar includes: Parsing the target XML file according to the graphic description grammar to obtain a target port connection mode corresponding to the target frequency band combination; The target port connection mode is converted into a connection graph, and the connection graph is output.
3. The method for displaying the antenna port connection mode according to claim 2, characterized in that: After converting the target port connection mode into a connection graph, the method further includes: When the target port connection mode meets the set connection complexity requirement, the connection graph is converted into a dynamic display graph.
4. The method for displaying the antenna port connection mode according to claim 3, characterized in that: When the target port connection mode meets the set connection complexity requirement, converting the connection graph into a dynamic display graph comprises: When the number of connection lines included in the target port connection mode is greater than or equal to a set threshold, the connection graph is converted into a dynamic display graph.
5. The method for displaying the antenna port connection mode according to any one of claims 1 to 4, characterized in that: After obtaining the target frequency band combination selected by the user, the method further includes: When there is no target XML file matching the target frequency band combination in the XML file set, the port connection mode corresponding to the target frequency band combination is configured as a target XML file according to the graphic description grammar, and the target XML file is added to the XML file set.
6. A display device for antenna port connection mode, characterized in that: It includes an acquisition unit, a query unit, and a conversion unit; The acquisition unit is used to acquire the target frequency band combination selected by the user; The query unit is used to query a target XML file matching the target frequency band combination from an XML file set; wherein the XML file set includes XML files configured based on the port connection modes corresponding to different frequency band combinations; The conversion unit is used to convert the target XML file into a connection graph for display according to the graph description grammar; With respect to the configuration process of the XML file set, the device further includes a configuration unit; the configuration unit is used to configure the port connection mode corresponding to different frequency band combinations into an XML file according to the graphic description grammar; the port connection mode includes the connection relationship between the antenna port of the communication module and the instrument port; the configuration unit is used to determine the port connection mode corresponding to each frequency band combination based on the module port and port correspondence corresponding to each frequency band in each frequency band combination; and the port connection mode is configured into an XML file according to the set port identifier and connection identifier.
7. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the steps of the method for displaying the antenna port connection mode as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for displaying the antenna port connection mode according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Development method of PLC graphical editor based on XML technology
CN111782199A
Methods and systems for testing cell phones with multiple antennas
US20110124295A1