Method for parsing user equipment capability log and related apparatus
Patent Information
- Application Number
- CN202210889535.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-25
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2042-07-25
AI Technical Summary
应理解,人工搜寻的方式,效率极低,很难满足频繁的场测需求
[0014] As can be seen, this embodiment of the application obtains the data to be parsed from the UE Capability log; filters out at least one key field from each field of the data to be parsed, and obtains the format information of the UE Capability log based on the at least one key field; extracts key strings from the information corresponding to the at least one key field; and obtains the information to be displayed representing the UE Capability based on the format information and the key strings. This method of parsing the information to be displayed representing the UE Capability from the data to be parsed using a UE Capability log parsing tool, compared to manual screening, improves the efficiency of searching for key information in the UE Capability log. At the same time, it reduces the omission rate and error rate during the key information search process, thereby improving the accuracy of the obtained key information.
Smart Images

Figure CN115185538B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a method and apparatus for parsing user equipment capability logs. Background Technology
[0002] During field testing of Mobile Broadband (MBB) equipment, the network attachment behavior of its modules is of particular concern. In this case, it is necessary to analyze the User Equipment Capability (UECapability) logs to determine whether the UE's relevant capabilities meet the requirements. Related technologies involve manually searching through massive amounts of logs for information such as Carrier Aggregation (CA) and Multiple Input Multiple Output (MIMO). It should be understood that manual searching is extremely inefficient and difficult to meet the needs of frequent field testing. Furthermore, manual searching has a high probability of omissions and errors during the record search process, resulting in low accuracy of the information obtained. Moreover, related technologies have significant limitations and lack flexibility in certain scenarios. Therefore, improving the efficiency of searching for key information in UE Capability logs is a pressing issue that needs to be addressed in field testing. Summary of the Invention
[0003] To address the aforementioned issues, this application provides a method and related apparatus for parsing UE Capability logs, which helps improve the efficiency of searching for key information in UE Capability logs.
[0004] To achieve the above objectives, a first aspect of this application provides a method for parsing UE Capability logs, applied to a UE Capability log parsing tool client, the method comprising: Obtain the data to be parsed from the UE Capability log; Filter out at least one key field from the fields of the data to be parsed, and obtain the format information of the UE Capability log based on at least one key field; Extract key strings from information corresponding to at least one key field; Based on the format information, information representing the UE's Capability is obtained from the key strings.
[0005] In conjunction with the first aspect, in one possible implementation, when the standard information is first standard information, the key string includes a first sub-key string and a second sub-key string. Based on the standard information and the key string, information to be displayed representing the UE Capability is obtained, including: Based on the mapping relationship between at least one key field, a third sub-key string representing UECapability is obtained from the second sub-key string; Organize the first and third subkey strings into the information to be displayed according to the preset format corresponding to the first type of information.
[0006] In conjunction with the first aspect, in one possible implementation, when the standard information is second standard information, based on the standard information, information to be displayed representing the UE Capability is obtained based on key strings, including: Organize the key strings into the information to be displayed according to the preset format corresponding to the second type of information.
[0007] In conjunction with the first aspect, in one possible implementation, the method further includes: In response to the triggering of standard information on the user interface of the UE Capability log parsing tool client, the information to be displayed is shown on the user interface.
[0008] In conjunction with the first aspect, in one possible implementation, obtaining the data to be parsed from the UE Capability log includes: In offline parsing mode, in response to the triggering of the first preset button on the user interface of the UE Capability log parsing tool client, the data to be parsed is read from the clipboard.
[0009] In conjunction with the first aspect, in one possible implementation, obtaining the data to be parsed from the UE Capability log includes: In online parsing mode, in response to the triggering of the second preset button on the user interface of the UE Capability log parsing tool client, the raw data of the UE Capability log is obtained through AT commands; The raw data is converted into a process characteristic analysis software package file to obtain the data to be analyzed.
[0010] In conjunction with the first aspect, in one possible implementation, at least one key field includes a first key field, a second key field, a third key field, a fourth key field, a fifth key field, and a sixth key field; the mapping relationship includes a mapping relationship from the first key field to the second key field, a mapping relationship from the second key field to the third and fourth key fields, and a mapping relationship from the second key field to the fifth and sixth key fields.
[0011] A second aspect of this application provides a UE Capability log parsing apparatus, applied to a UE Capability log parsing tool client, the apparatus including an acquisition unit and a processing unit; The acquisition unit is used to acquire the data to be parsed from the UE Capability log; The processing unit is used to filter out at least one key field from the fields of the data to be parsed, and to obtain the format information of the UE Capability log based on the at least one key field; to extract key strings from the information corresponding to the at least one key field; and to obtain the information to be displayed that represents the UE Capability based on the format information and the key strings.
[0012] A third aspect of this application provides a computer device including a processor and a memory. The processor is connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to cause the computer device to perform the method as described in any one of the first aspects above.
[0013] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that is executed by a processor to implement the method as described in any one of the first aspects above.
[0014] As can be seen, this embodiment of the application obtains the data to be parsed from the UE Capability log; filters out at least one key field from each field of the data to be parsed, and obtains the format information of the UE Capability log based on the at least one key field; extracts key strings from the information corresponding to the at least one key field; and obtains the information to be displayed representing the UE Capability based on the format information and the key strings. This method of parsing the information to be displayed representing the UE Capability from the data to be parsed using a UE Capability log parsing tool, compared to manual screening, improves the efficiency of searching for key information in the UE Capability log. At the same time, it reduces the omission rate and error rate during the key information search process, thereby improving the accuracy of the obtained key information. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 A schematic diagram illustrating an application environment provided in an embodiment of this application; Figure 2 A flowchart illustrating a method for parsing UE Capability logs provided in an embodiment of this application; Figure 3 A schematic diagram of a user interface provided for an embodiment of this application; Figure 4 A schematic diagram illustrating an online / offline processing mode provided in an embodiment of this application; Figure 5 A schematic diagram of a UE Capability log parsing device provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0017] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0018] The terms "comprising" and "having," and any variations thereof, appearing in this specification, claims, and drawings, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus. Furthermore, the terms "first," "second," and "third," etc., are used to distinguish different objects and are not used to describe a specific order.
[0019] Please see Figure 1 , Figure 1 This is a schematic diagram of an application environment provided in an embodiment of this application, such as... Figure 1 As shown, this application environment can be an outdoor testing environment for MBB devices, such as conducting real-network testing of MBB devices in a subway station. This environment includes both MBB devices and computer equipment. The MBB device (specifically, a hardware module within the MBB device) interacts with the base station, generating UE Capability logs. The computer equipment can analyze these UE Capability logs to determine whether the MBB device's capabilities meet requirements. Specifically, the computer equipment and MBB device can connect via a serial port tool. The computer equipment runs a UE Capability log parsing tool client. This client can acquire UE Capability logs in offline or online parsing mode and perform operations such as key field lookup, key string extraction, relationship mapping, and string concatenation to obtain information representing the MBB device's UE Capability. The client can then display this information based on user actions, allowing users to intuitively understand the MBB device's capabilities, such as CA combination and MIMO combination.
[0020] Please see Figure 2 , Figure 2 This application provides a flowchart illustrating a method for parsing UE Capability logs. This method can be applied to UE Capability log parsing tool clients, such as... Figure 2 As shown, steps 201-204 are included: 201: Obtain the data to be parsed from the UE Capability log.
[0021] In this embodiment, the UE Capability log parsing tool supports offline parsing mode and online parsing mode. In offline parsing mode, the UE Capability log parsing tool client can read the data to be parsed from the clipboard in response to the triggering of a first preset button on the user interface. For example, the first preset button could be... Figure 3 See the "Filter" button on the user interface shown below. Figure 4In offline parsing mode, users can copy the prepared data to be parsed (or the raw data from the UE Capability log) to the clipboard, and then click the "Filter" button. The UE Capability log parsing tool client responds to the trigger of the first preset button and reads the data to be parsed from the clipboard. In online parsing mode, the UE Capability log parsing tool client responds to the trigger of the second preset button on the user interface, obtains the raw data of the UE Capability log through AT commands, and then converts the raw data into a process characteristic analysis software package file (i.e., a pcap file) to obtain the data to be parsed. For example, the second preset button could be... Figure 3 The "WireSharkPath" and "Connect" buttons on the user interface shown are illustrated below. Please refer to [link to relevant documentation]. Figure 4 In online parsing mode, the user first clicks the "WireSharkPath" button to select the path to Wireshark (a network packet analysis tool), and then clicks the "Connect" button. The UE Capability log parsing tool client can respond to the triggering of the second preset button on the user interface, calling AT commands (such as AT+EDMFAPP=6,8,0 and AT+EDMFAPP=6,8,1) to read the raw data of the UE Capability log. The format of the raw data is: +EDMFAPP:[AT command],[11(5G) / 7(4G)],[total number of bytes],[current byte position],[number of bytes in the next quotation mark],"raw data". The UE Capability log parsing tool client stores the raw data in the format of saving hexadecimal data as a text document. For raw data in text document format, the text2cap.exe tool in Wireshark is called to convert it into a pcap file to obtain the data to be parsed.
[0022] In this implementation, the UE Capability log parsing tool supports both online and offline processing modes. When a user already has UE Capability log data to be parsed, they can directly use the tool to parse the data. When a user does not have UE Capability log data to be parsed, they can use the tool to obtain the raw data of the UE Capability log and process it to obtain the data to be parsed. Compared with the existing technology that separates online and offline processing, its application mode is more flexible.
[0023] 202: Select at least one key field from the fields of the data to be parsed, and obtain the format information of the UE Capability log based on the at least one key field.
[0024] In this embodiment, for the saved pcap file, the tshark tool in Wireshark is called to filter its fields. For example, the tshark tool command may include "DLT=147", that is, to filter out at least one key field in the pcap file whose link type (Linktype) at the beginning of the field is 147, and save the entire information corresponding to each key field as a text document. For the data to be parsed in the UE Capability log under the New Radio (NR) / Multi-RAT Dual Connectivity (MRDC) standard, it usually includes 6 key fields, such as: the first key field may be supportedBandCombinationList, the second key field may be featureSetCombination, the third key field may be featureSetsDL, the fourth key field may be featureSetsDL-PerCC, the fifth key field may be featureSetsDownlink, and the sixth key field may be featureSetsDownlinkPerCC. For the data to be parsed in the UE Capability log under the Long Term Evolution (LTE) standard, it typically includes three key fields, such as supportedBandCombination-r10, supportedBandCombination-r11, and supportedBandCombination-r13.
[0025] 203: Extract the key string from the information corresponding to at least one key field.
[0026] In this embodiment, if the selected fields are six key fields under the NR / MRDC standard, the key strings that can be extracted from the information corresponding to the first key field supportedBandCombinationList include the item value of the carrier (band) combination (which can be directly displayed in the user interface), the standard information of each band under each band combination (which can be directly displayed in the user interface), the value corresponding to the band (which can be directly displayed in the user interface), the category of downlink / uplink bandwidth (e.g., six types: a, b, c, d, e, f, which can be directly displayed in the user interface), and the second key field featureSetCombination value corresponding to each band combination (not directly displayed in the user interface, but serving as an intermediate mapping relationship); the key strings that can be extracted from the information corresponding to the second key field featureSetCombination include each The values following the downlink information (downlinkSet) of the first item under the second-layer item (not directly displayed on the user interface, serving as an intermediate mapping layer); the key strings that can be extracted from the information corresponding to the third key field, featureSetsDL, include the values corresponding to all featureSetsDL-PerCC-Id under each first-layer item (not directly displayed on the user interface, serving as an intermediate mapping layer); the key strings that can be extracted from the information corresponding to the fourth key field, featureSetsDL-PerCC, include the information following supportedMIMO-Capability under each item (converted to numbers and directly displayed on the user interface), i.e., the MIMO values, for example: fourLayers represents MIMO4, twoLayers represents MIMO4. 2; The key strings that can be extracted from the information corresponding to the fifth key field, featureSetsDownlink, include the value after FeatureSetDownlinkPerCC-Id for each item (not directly displayed on the user interface, but used as an intermediate mapping layer); The key strings that can be extracted from the information corresponding to the sixth key field, featureSetsDownlinkPerCC, include the information after maxNumberMIMO for each item (which can be directly displayed on the user interface after being converted into a number), such as fourLayers.
[0027] If the selected fields are the three key fields under the LTE standard, the key strings that can be extracted from the information corresponding to the key field supportedBandCombination-r10 include the number of band combinations (how many items in the first layer), the number of bands under each band combination, which band is the current band, the downlink / uplink bandwidth category, and downlink MIMO. The key strings that can be extracted from the information corresponding to the key fields supportedBandCombination-r11 and supportedBandCombination-r13 are the same as those extracted from the information corresponding to the key field supportedBandCombination-r10. It should be understood that in the Intel format, the key field supportedBandCombination-r10 is supportedBandCombination_r10.
[0028] 204: Based on the standard information, obtain the information to be displayed that represents the UE Capability based on the key string.
[0029] In this embodiment of the application, when the standard information is first standard information, the key string includes a first sub-key string and a second sub-key string. Based on the standard information and the key string, the information to be displayed representing the UE Capability is obtained, including: Based on the mapping relationship between at least one key field, a third sub-key string representing UECapability is obtained from the second sub-key string; Organize the first and third subkey strings into the information to be displayed according to the preset format corresponding to the first type of information.
[0030] Specifically, the first standard information refers to the NR / MRDC standard; the first sub-key string refers to the key string extracted from the information corresponding to the six key fields that can be directly displayed in the user interface; the second sub-key string refers to the key string extracted from the information corresponding to the six key fields that serves as an intermediate mapping layer; and the third sub-key string refers to the key string mapped from the second sub-key string based on the mapping relationship that can be directly displayed in the user interface. The mapping relationship includes the mapping relationship from the first key field `supportedBandCombinationList` to the second key field `featureSetCombination`. For example, if the value of `featureSetCombination` extracted from the first key field `supportedBandCombinationList` is 0, it can be mapped to the position where the first-level item in the information corresponding to the second key field `featureSetCombination` is item0. Similarly, if the second-level item in the first key field `supportedBandCombinationList` is item0, it can be mapped to the position where the second-level item in the second key field `featureSetCombination` is item0. The information at this position contains the standard information of each band under the band combination, the corresponding value of the band, etc. (i.e., the third sub-key string). The mapping relationship also includes the mapping relationship from the second key field featureSetCombination to the third key field featureSetsDL and the fourth key field featureSetsDL-PerCC. For example, if the value after downlinkSet of the first item under the second-level item extracted from the second key field featureSetCombination is 1, it can be mapped to the position of item0 under the first-level item under the third key field featureSetsDL. The value of featureSetsDL-PerCC-Id at this position is 0, which can be mapped to the position of item0 under the first-level item under the fourth key field featureSetsDL-PerCC. The value of MIMO (i.e., the third sub-key string) can be obtained at this position.The mapping relationship also includes the mapping from the second key field `featureSetCombination` to the fifth key field `featureSetsDownlink` and the sixth key field `featureSetsDownlinkPerCC`. For example, if the value after `downlinkSet` of the first item under the second-level item extracted from the second key field `featureSetCombination` is 1, it can be mapped to the position of the first-level item `item0` under the fifth key field `featureSetsDownlink`. The value after `FeatureSetDownlinkPerCC-Id` at this position is 1, which can be mapped to the position of the first-level item `item0` under the sixth key field `featureSetsDownlinkPerCC`. The specific information of `maxNumberMIMO` (i.e., the third sub-key string) can be obtained at this position. For the first and third sub-key strings extracted under the NR / MRDC format, they can be concatenated according to the preset format of the NR / MRDC format to obtain the information to be displayed.
[0031] In this embodiment, when the standard information is second standard information, the information to be displayed representing UE Capability is obtained based on the standard information and key strings. This includes: organizing the key strings into the information to be displayed according to the preset format corresponding to the second standard information. Specifically, the second standard information refers to the LTE standard. Under this standard, the key strings extracted from the three key fields supportedBandCombination-r10, supportedBandCombination-r11, and supportedBandCombination-r13 are relatively concentrated and can intuitively reflect UE Capability. No mapping is required. Therefore, the key strings can be concatenated according to the preset format corresponding to the LTE standard to obtain the information to be displayed. It can be seen that the UE Capability log parsing tool provided in this application is compatible with the parsing function of UE Capability logs of different standards.
[0032] For example, the method further includes: In response to the triggering of standard information on the user interface of the UE Capability log parsing tool client, the information to be displayed is shown on the user interface.
[0033] like Figure 3As shown, the user interface of the UE Capability log parsing tool client displays the standards supported by the UE Capability log. For example, "LTE: YES" indicates that the LTE standard is supported, and "NR: NO" indicates that the NR standard is not supported. When the user selects "LTE-r10" on the user interface, the UE Capability log parsing tool client will display the information to be shown corresponding to LTE-r10 on the user interface, so that the user can intuitively see the relevant capabilities of the UE.
[0034] As can be seen, this embodiment of the application obtains the data to be parsed from the UE Capability log; filters out at least one key field from each field of the data to be parsed, and obtains the format information of the UE Capability log based on the at least one key field; extracts key strings from the information corresponding to the at least one key field; and obtains the information to be displayed representing the UE Capability based on the format information and the key strings. This method of parsing the information to be displayed representing the UE Capability from the data to be parsed using a UE Capability log parsing tool, compared to manual screening, improves the efficiency of searching for key information in the UE Capability log. At the same time, it reduces the omission rate and error rate during the key information search process, thereby improving the accuracy of the obtained key information.
[0035] For a description of the above-described UE Capability log parsing method embodiment, please refer to [link to relevant documentation]. Figure 5 , Figure 5 A schematic diagram of a UE Capability log parsing device provided in this application embodiment is shown below. Figure 5 As shown, the device includes an acquisition unit 501 and a processing unit 502; Acquisition unit 501 is used to acquire the data to be parsed from the UE Capability log; Processing unit 502 is used to filter out at least one key field from the fields of the data to be parsed, and to obtain the format information of the UE Capability log based on the at least one key field; to extract key strings from the information corresponding to the at least one key field; and to obtain the information to be displayed representing the UE Capability based on the format information and the key strings.
[0036] It can be seen that, Figure 5The UE Capability log parsing device shown acquires the data to be parsed from the UE Capability log; filters out at least one key field from each field of the data to be parsed; obtains the format information of the UE Capability log based on the at least one key field; extracts key strings from the information corresponding to the at least one key field; and obtains the information to be displayed representing the UE Capability based on the format information and the key strings. This method of parsing the information to be displayed representing the UE Capability from the data to be parsed using the UE Capability log parsing tool improves the efficiency of searching for key information in the UE Capability log compared to manual screening. At the same time, it reduces the omission rate and error rate during the key information search process, thereby improving the accuracy of the obtained key information.
[0037] In one possible implementation, when the format information is first format information, the key string includes a first sub-key string and a second sub-key string. In obtaining the information to be displayed representing UECapability based on the key string according to the format information, the processing unit 502 is specifically configured to: Based on the mapping relationship between at least one key field, a third sub-key string representing UECapability is obtained from the second sub-key string; Organize the first and third subkey strings into the information to be displayed according to the preset format corresponding to the first type of information.
[0038] In one possible implementation, when the standard information is second standard information, in terms of obtaining the information to be displayed representing the UE Capability based on the key string according to the standard information, the processing unit 502 is specifically used for: Organize the key strings into the information to be displayed according to the preset format corresponding to the second type of information.
[0039] In one possible implementation, the processing unit 502 is further configured to: In response to the triggering of standard information on the user interface of the UE Capability log parsing tool client, the information to be displayed is shown on the user interface.
[0040] In one possible implementation, the acquisition unit 501 is specifically used for: obtaining the data to be parsed from the UE Capability log. In offline parsing mode, in response to the triggering of the first preset button on the user interface of the UE Capability log parsing tool client, the data to be parsed is read from the clipboard.
[0041] In one possible implementation, the acquisition unit 501 is specifically used for: obtaining the data to be parsed from the UE Capability log. In online parsing mode, in response to the triggering of the second preset button on the user interface of the UE Capability log parsing tool client, the raw data of the UE Capability log is obtained through AT commands; The raw data is converted into a process characteristic analysis software package file to obtain the data to be analyzed.
[0042] In one possible implementation, at least one key field includes a first key field, a second key field, a third key field, a fourth key field, a fifth key field, and a sixth key field; the mapping relationship includes a mapping relationship from the first key field to the second key field, a mapping relationship from the second key field to the third and fourth key fields, and a mapping relationship from the second key field to the fifth and sixth key fields.
[0043] Based on the description of the method and apparatus embodiments above, this application also provides a computer device. Please refer to... Figure 6 The computer device includes at least a processor 601, an input device 602, an output device 603, and a memory 604. The processor 601, input device 602, output device 603, and memory 604 within the computer device can be connected via a bus or other means.
[0044] The memory 604 is used to store computer programs, which include program instructions. The processor 601 is used to execute the computer programs stored in the memory 604. The processor 601 (or CPU (Central Processing Unit)) is the computing and control core of the computer device. It is adapted to implement one or more instructions, specifically to load and execute one or more instructions to achieve corresponding methods or functions.
[0045] In one embodiment, the processor 601 of the computer device provided in this application can be used to perform a series of UE Capability log parsing methods: Obtain the data to be parsed from the UE Capability log; Filter out at least one key field from the fields of the data to be parsed, and obtain the format information of the UE Capability log based on at least one key field; Extract key strings from information corresponding to at least one key field; Based on the format information, information representing the UE's Capability is obtained from the key strings.
[0046] In another embodiment, when the standard information is first standard information, the key string includes a first sub-key string and a second sub-key string. The processor 601 executes the process of obtaining, based on the standard information and the key string, information representing the UE Capability to be displayed, including: Based on the mapping relationship between at least one key field, a third sub-key string representing UECapability is obtained from the second sub-key string; Organize the first and third subkey strings into the information to be displayed according to the preset format corresponding to the first type of information.
[0047] In another embodiment, when the standard information is second standard information, the processor 601 executes the process of obtaining display information representing the UE Capability based on the key string according to the standard information, including: Organize the key strings into the information to be displayed according to the preset format corresponding to the second type of information.
[0048] In another embodiment, the processor 601 is further configured to: In response to the triggering of standard information on the user interface of the UE Capability log parsing tool client, the information to be displayed is shown on the user interface.
[0049] In another embodiment, the processor 601 executes the process of obtaining the data to be parsed from the UE Capability log, including: In offline parsing mode, in response to the triggering of the first preset button on the user interface of the UE Capability log parsing tool client, the data to be parsed is read from the clipboard.
[0050] In another embodiment, the processor 601 executes the process of obtaining the data to be parsed from the UE Capability log, including: In online parsing mode, in response to the triggering of the second preset button on the user interface of the UE Capability log parsing tool client, the raw data of the UE Capability log is obtained through AT commands; The raw data is converted into a process characteristic analysis software package file to obtain the data to be analyzed.
[0051] In another embodiment, at least one key field includes a first key field, a second key field, a third key field, a fourth key field, a fifth key field, and a sixth key field; the mapping relationship includes a mapping relationship from the first key field to the second key field, a mapping relationship from the second key field to the third and fourth key fields, and a mapping relationship from the second key field to the fifth and sixth key fields.
[0052] For example, a computer device includes, but is not limited to, a processor 601, an input device 602, an output device 603, and a memory 604. It may also include memory, a power supply, an application client module, etc. The input device 602 may be a keyboard, a touchscreen, an RF receiver, etc., and the output device 603 may be a speaker, a display, an RF transmitter, etc. Those skilled in the art will understand that the schematic diagram is merely an example of a computer device and does not constitute a limitation on the computer device; it may include more or fewer components than illustrated, or combine certain components, or use different components.
[0053] It should be noted that since the processor 601 of the computer device implements the steps in the above-described UE Capability log parsing method when executing the computer program, all embodiments of the above-described UE Capability log parsing method are applicable to the computer device and can achieve the same or similar beneficial effects.
[0054] This application embodiment also provides a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer storage medium here can include the built-in storage medium in a terminal, or it can include extended storage media supported by the terminal. The computer storage medium provides storage space that stores the terminal's operating system. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by the processor 601. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM memory, or non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer-readable storage medium located remotely from the aforementioned processor 601. In one embodiment, the processor 601 can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the above-described method for parsing the UE Capability log.
[0055] For example, a computer program on a computer-readable storage medium includes computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0056] It should be noted that since the computer program on the computer-readable storage medium implements the steps in the above-described UE Capability log parsing method when executed by a processor, all embodiments of the above-described UE Capability log parsing method are applicable to the computer storage medium and can achieve the same or similar beneficial effects.
[0057] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for parsing user equipment capability logs, characterized in that, The method, applied to a user equipment capability log parsing tool client, includes: Obtain the data to be parsed from the user equipment capability log; Filter at least one key field from the fields of the data to be parsed, and obtain the format information of the user equipment capability log based on the at least one key field; Extract the key string from the information corresponding to the at least one key field; Based on the standard information, information representing the capabilities of the user equipment is obtained from the key strings; When the format information is first format information, the key string includes a first sub-key string and a second sub-key string, wherein the second sub-key string refers to the key string extracted from the information corresponding to the at least one key field as an intermediate mapping relationship; the step of obtaining the information to be displayed representing the user equipment capabilities based on the format information and the key string includes: Based on the mapping relationship between the at least one key field, a third sub-key string representing the capabilities of the user equipment is obtained from the second sub-key string; The first subkey string and the third subkey string are organized into the information to be displayed according to the preset format corresponding to the first standard information.
2. The method according to claim 1, characterized in that, The method further includes: In response to the triggering of the standard information on the user interface of the user equipment capability log parsing tool client, the information to be displayed is displayed on the user interface.
3. The method according to claim 1 or 2, characterized in that, The data to be parsed from the user equipment capability log includes: In offline parsing mode, in response to the triggering of the first preset button on the user interface of the user equipment capability log parsing tool client, the data to be parsed is read from the clipboard.
4. The method according to claim 1 or 2, characterized in that, The data to be parsed from the user equipment capability log includes: In online parsing mode, in response to the triggering of the second preset button on the user interface of the user equipment capability log parsing tool client, the raw data of the user equipment capability log is obtained through AT commands; The raw data is converted into a process characteristic analysis software package file to obtain the data to be parsed.
5. The method according to claim 1, characterized in that, The at least one key field includes a first key field, a second key field, a third key field, a fourth key field, a fifth key field, and a sixth key field; the mapping relationship includes a mapping relationship from the first key field to the second key field, a mapping relationship from the second key field to the third and fourth key fields, and a mapping relationship from the second key field to the fifth and sixth key fields; wherein, the first key field is supportedBandCombinationList, the second key field is featureSetCombination, the third key field is featureSetsDL, the fourth key field is featureSetsDL-PerCC, the fifth key field is featureSetsDownlink, and the sixth key field is featureSetsDownlinkPerCC.
6. A device for parsing user equipment capability logs, characterized in that, The device, used in a user equipment capability log parsing tool client, includes an acquisition unit and a processing unit. The acquisition unit is used to acquire the data to be parsed from the user equipment capability log; The processing unit is used to filter out at least one key field from each field of the data to be parsed, and to obtain the format information of the user equipment capability log based on the at least one key field. Extract the key string from the information corresponding to the at least one key field; Based on the standard information, information representing the capabilities of the user equipment is obtained from the key strings; When the format information is first format information, the key string includes a first sub-key string and a second sub-key string, wherein the second sub-key string refers to the key string extracted from the information corresponding to the at least one key field as an intermediate mapping relationship; in obtaining the information to be displayed representing the user equipment capabilities based on the format information and the key string, the processing unit is specifically used for: Based on the mapping relationship between the at least one key field, a third sub-key string representing the capabilities of the user equipment is obtained from the second sub-key string; The first subkey string and the third subkey string are organized into the information to be displayed according to the preset format corresponding to the first standard information.
7. A computer device, characterized in that, include: A processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory to cause the computer device to perform the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Binary file analysis method, apparatus and device, and storage medium
CN107704567A
Message analysis method, device and equipment and computer readable storage medium
CN110381054A
Information acquisition method, device and system, terminal and storage medium
CN113015203A