Sar test method and apparatus, electronic device, and storage medium
Patent Information
- Application Number
- CN202611361809.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-10-27
AI Technical Summary
现有SAR校对依赖人工借助高通射频控制调试工具(Qualcomm Radio ControlToolkit,QRCT)逐条核对海量参数,数据条目繁杂,人工校对耗时久且易出现错配漏检,容易引发整机辐射认证失败
[0015]综上所述,本申请实施例提供的SAR测试方法,在为待测试设备配置测试环境之后,通过待测试设备的型号对应的通信模组,获取待测试设备的SAR数据,得到第一SAR数据;根据第一SAR数据与预设SAR数据之间的对比结果,生成第一测试数据;在关闭动态功率缩减服务之后,对待测试设备的至少一个SAR参数进行调整,并在开启动态功率缩减服务之后,通过通信模组重新获取待测试设备的SAR数据,得到第二SAR数据;根据第二SAR数据与预设SAR数据之间的对比结果,生成第二测试数据;根据第一测试数据和第二测试数据,确定待测试设备的目标测试结果。基于此,本申请通过对待测试设备进行自动化测试,能够提升SAR测试的准确性和效率。
Smart Images

Figure CN122993847A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of testing technology, specifically to a SAR testing method, apparatus, electronic device, and storage medium. Background Technology
[0002] Specific Absorption Rate (SAR) is a core indicator for electromagnetic radiation compliance of wireless terminals. Current SAR calibration relies on manual verification using the Qualcomm Radio Control Toolkit (QRCT) to check a massive number of parameters one by one. This process involves numerous data entries, is time-consuming, and prone to mismatches and missed detections, easily leading to failure of overall radiation certification. Therefore, an automated SAR testing solution is urgently needed. Summary of the Invention
[0003] This invention provides a SAR testing method, apparatus, electronic device, and storage medium, aiming to achieve automated SAR testing.
[0004] Firstly, a SAR testing method is provided, including: After configuring the test environment for the device under test, the SAR data of the device under test is obtained through the communication module corresponding to the model of the device under test, thus obtaining the first SAR data; First test data is generated based on the comparison results between the first SAR data and the preset SAR data; After disabling the dynamic power reduction service, at least one SAR parameter of the device under test is adjusted, and after enabling the dynamic power reduction service, the SAR data of the device under test is reacquired through the communication module to obtain the second SAR data. Based on the comparison results between the second SAR data and the preset SAR data, second test data is generated; Based on the first test data and the second test data, the target test result of the device under test is determined; the target test result is used to indicate whether the SAR data of the device under test meets the SAR standard requirements.
[0005] In some embodiments of this application, determining the target test result of the device under test based on the first test data and the second test data includes: if the first test data indicates that the first SAR data is consistent with the preset SAR data and the second test data indicates that the second SAR data is consistent with the preset SAR data, then determining the target test result as the SAR data of the device under test conforming to the SAR standard requirements; or, if the first test data indicates that the first SAR data is inconsistent with the preset SAR data, or the second test data indicates that the second SAR data is inconsistent with the preset SAR data, then determining the target test result as the SAR data of the device under test not conforming to the SAR standard requirements.
[0006] In some embodiments of this application, after obtaining the first SAR data, the method further includes: parsing the first SAR data to obtain test identification information and SAR values corresponding to each test item in the first SAR data; after obtaining the second SAR data, the method further includes: parsing the second SAR data to obtain test identification information and SAR values corresponding to each test item in the second SAR data.
[0007] In some embodiments of this application, parsing the first SAR data includes: parsing the first SAR data to obtain test identification information; determining a corresponding SAR value extraction scheme based on the network standard information in the test identification information to extract the SAR values corresponding to each test item from the first SAR data; parsing the second SAR data includes: parsing the second SAR data to obtain test identification information; determining a corresponding SAR value extraction scheme based on the network standard information in the test identification information to extract the SAR values corresponding to each test item from the second SAR data; wherein, the network standard information includes at least one of WCDMA network standard, LTE network standard, and NR network standard.
[0008] In some embodiments of this application, generating first test data based on the comparison result between first SAR data and preset SAR data includes: comparing the differences between SAR values corresponding to the same test item in the first SAR data and preset SAR data; labeling the same SAR values in the first SAR data and preset SAR data with first information, and labeling the different SAR values in the first SAR data and preset SAR data with second information, to generate first test data; generating second test data based on the comparison result between second SAR data and preset SAR data includes: comparing the differences between the same SAR values in the second SAR data and preset SAR data; labeling the same SAR values in the second SAR data and preset SAR data with first information, and labeling the different SAR values in the second SAR data and preset SAR data with second information, to generate second test data.
[0009] In some embodiments of this application, the test identification information includes signal path information and signal frequency band information; before comparing the difference between the SAR values corresponding to the same test item in the first SAR data and the preset SAR data, the method further includes: if the signal path information and signal frequency band information of the first test item in the first SAR data are the same as those of the target test item in the preset SAR data, the first test item and the target test item are determined to be the same test item; before comparing the difference between the SAR values corresponding to the same test item in the second SAR data and the preset SAR data, the method further includes: if the signal path information and signal frequency band information of the second test item in the second SAR data are the same as those of the target test item in the preset SAR data, the second test item and the target test item are determined to be the same test item.
[0010] In some embodiments of this application, SAR data of the device under test is obtained through the communication module corresponding to the model of the device under test, including: when the communication module is a PCIE communication module, reading the SAR data in the communication module through an RF control tool; when the communication module is a USB communication module, reading the SAR data returned by the communication module through AT commands.
[0011] In some embodiments of this application, the data processing scheme corresponding to the SAR data is stored in an external configuration file. The external configuration file is used to store the location information of the test fields in the SAR data, the matching scheme of the test items, and the parsing scheme of the SAR values.
[0012] Secondly, a SAR testing device is also provided, comprising: The first acquisition module is used to acquire the SAR data of the device under test through the communication module corresponding to the model of the device under test after configuring the test environment for the device under test, and obtain the first SAR data. The first generation module is used to generate first test data based on the comparison results between the first SAR data and the preset SAR data; The second acquisition module is used to adjust at least one SAR parameter of the device under test after the dynamic power reduction service is turned off, and to reacquire the SAR data of the device under test through the communication module after the dynamic power reduction service is turned on, so as to obtain the second SAR data. The second generation module is used to generate second test data based on the comparison results between the second SAR data and the preset SAR data; The determination module is used to determine the target test result of the device under test based on the first test data and the second test data; the target test result is used to indicate whether the SAR data of the device under test meets the SAR standard requirements.
[0013] Thirdly, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program or instructions, and when the computer program or instructions are executed by the processor, the processor performs the steps in the SAR test method as described in the first aspect.
[0014] Fourthly, a computer-readable storage medium is also provided, on which a computer program or instructions are stored, which, when executed by a processor, implement the steps in the SAR testing method as described in the first aspect.
[0015] In summary, the SAR testing method provided in this application, after configuring the test environment for the device under test, acquires SAR data of the device under test through the communication module corresponding to the device's model to obtain first SAR data; generates first test data based on the comparison between the first SAR data and preset SAR data; after disabling the dynamic power reduction service, adjusts at least one SAR parameter of the device under test, and after enabling the dynamic power reduction service, reacquires SAR data of the device under test through the communication module to obtain second SAR data; generates second test data based on the comparison between the second SAR data and preset SAR data; and determines the target test result of the device under test based on the first and second test data. Therefore, this application, by automating the testing of the device under test, can improve the accuracy and efficiency of SAR testing. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.
[0017] Figure 1 This is a flowchart illustrating a SAR testing method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the first SAR data of a fourth-generation mobile communication module provided in an embodiment of this application; Figure 3 This is a schematic diagram of the first SAR data of a fifth-generation mobile communication module provided in an embodiment of this application; Figure 4 This is a schematic diagram of a preset SAR data provided in an embodiment of this application; Figure 5 This is a schematic diagram illustrating the enabling of dynamic power reduction service according to an embodiment of this application; Figure 6This is a schematic diagram illustrating the adjustment of SAR parameters according to an embodiment of this application; Figure 7 This is a schematic diagram illustrating how adjusted SAR parameters are saved, as provided in an embodiment of this application. Figure 8 This is a schematic diagram illustrating the reading of adjusted SAR parameters via a communication module, as provided in an embodiment of this application. Figure 9 This is a schematic diagram illustrating an embodiment of acquiring second SAR data provided in this application; Figure 10 This is a schematic diagram illustrating the generation of second test data provided in an embodiment of this application; Figure 11 This is a schematic diagram illustrating a configuration of first SAR data and preset SAR data provided in an embodiment of this application; Figure 12 This is a schematic diagram of the structure of a SAR testing device provided in an embodiment of this application; Figure 13 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0019] In the description of the embodiments of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0020] The use of "applies to" or "configured to" in this application implies open and inclusive language, which does not exclude the applicability to or configuration to devices performing additional tasks or steps. Additionally, the use of "based on" implies openness and inclusivity, because processes, steps, calculations, or other actions "based on" one or more of the stated conditions or values may in practice be based on additional conditions or values beyond those stated.
[0021] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0022] Specific Absorption Rate (SAR) is a core indicator for compliance with electromagnetic radiation regulations for wireless terminals. SAR refers to the ratio of electromagnetic wave energy absorbed by a wireless communication device, representing the electromagnetic power absorbed or consumed per unit mass of human tissue, measured in W / kg. Excessive electromagnetic radiation from wireless communication devices can have certain impacts on human health. Long-term exposure may cause symptoms such as fatigue, eye strain, shoulder pain, headaches, drowsiness, and anxiety. Government agencies and telecommunications regulatory bodies have formulated relevant regulations regarding electromagnetic radiation.
[0023] In related technologies, to meet the regulatory requirements of various regions, users provide Specific Absorption Rate (SAR) tables during routine testing. Engineers then create embedded file systems (EFS) based on these tables, import the EFS files into the driver package, and perform SAR tests according to the corresponding wireless communication device model. However, SAR testing requires the use of QRCT tools to read and then verify a massive number of SAR parameters one by one. The data entries are complex, manual verification is time-consuming, and prone to mismatches and omissions, which can easily lead to the failure of overall radiation certification.
[0024] To at least partially address one or more of the aforementioned problems and other potential issues, this application proposes a SAR testing scheme, which includes: after configuring a test environment for the device under test (DUT), acquiring SAR data of the DUT through a communication module corresponding to the DUT's model to obtain first SAR data; generating first test data based on a comparison between the first SAR data and preset SAR data; adjusting at least one SAR parameter of the DUT after disabling dynamic power reduction service, and re-acquiring the DUT's SAR data through the communication module after enabling dynamic power reduction service to obtain second SAR data; generating second test data based on a comparison between the second SAR data and preset SAR data; and determining a target test result for the DUT based on the first and second test data; the target test result is used to indicate whether the SAR data of the DUT meets the SAR standard requirements.
[0025] This application provides a SAR testing method. Figure 1 This is a flowchart illustrating a SAR testing method provided in an embodiment of this application, as shown below. Figure 1 As shown, it includes: S101: After configuring the test environment for the device under test, obtain the SAR data of the device under test through the communication module corresponding to the model of the device under test, and obtain the first SAR data; S102: Generate the first test data based on the comparison results between the first SAR data and the preset SAR data; S103: After disabling the dynamic power reduction service, adjust at least one SAR parameter of the device under test, and after enabling the dynamic power reduction service, reacquire the SAR data of the device under test through the communication module to obtain the second SAR data. S104: Generate second test data based on the comparison results between the second SAR data and the preset SAR data; S105: Determine the target test result of the device under test based on the first test data and the second test data.
[0026] In some embodiments, the device under test (DUT) refers to a wireless communication terminal device that needs to undergo SAR radiation compliance testing. The DUT can be various electronic devices that support mobile communication, such as smartphones, tablets, laptops, and smart wearable devices. Different models of DUTs are compatible with communication modules of different specifications and interface types to ensure that the SAR data built into the device can be accurately obtained.
[0027] In some embodiments, the test environment refers to a hardware and software configuration environment that meets the SAR test requirements. For example, the hardware configuration may include connecting to a standard test power supply, connecting the corresponding RF debugging cable and the communication module adapter interface, and the software configuration may include installing the driver matching the corresponding model of the communication module, deploying RF debugging tools, and ensuring that the device under test can be powered on and connected to a stable mobile communication network to avoid disconnection or data abnormality during data reading.
[0028] In some embodiments, the model number of the device under test (DUT) refers to the product model identifier of the DUT. Different product models correspond to different hardware configuration schemes and communication module specifications, thus allowing for quick matching of the corresponding data reading method based on the model number. The communication module refers to the SAR parameter data configured in the DUT used to store and output the SAR parameter data. Different communication interface types of communication modules correspond to different data reading methods to ensure the accuracy and stability of data acquisition.
[0029] In some embodiments, the first SAR data refers to all SAR data read by the device under test through the communication module under the default configuration scenario. The first SAR data may include SAR values corresponding to each test item under different signal paths and different signal frequency bands.
[0030] In some embodiments, preset SAR data refers to compliant SAR data that conforms to SAR standards. For example, in a specific implementation, preset SAR data can be pre-stored compliant SAR data that conforms to SAR standards, or it can be standard reference SAR data provided by the manufacturer of the device under test. The preset SAR data is used to compare with SAR data read from the device under test to generate first test data and second test data.
[0031] In actual testing, the format of preset SAR data provided by different users may vary. Some users may place frequency band information in column D, while others may place it in column E or other columns. To address this, fixing the column positions in the code would require recompiling the code whenever different preset SAR data formats are encountered. To solve this problem, the QRCT tool introduces a configurable design, extracting all parameters related to preset SAR data into an external configuration file. This allows for modification of the preset SAR data format at any time without altering the QRCT tool's code.
[0032] In some embodiments, the first test data refers to the set of comparison results between each test item in the first SAR data and the corresponding test item in the preset SAR data. The first test data may include the SAR numerical deviation and the judgment result of whether they are the same for each test item, which is used to reflect the compliance status of the SAR data under the default configuration of the device under test.
[0033] In some embodiments, Dynamic Power Reduction (DPR) refers to a service where wireless communication devices automatically adjust SAR parameter levels based on real-time transmit power. When the transmit power of the device under test exceeds a preset threshold, DPR triggers SAR parameter adjustment to reduce transmit power and meet radiation compliance requirements. Thus, by disabling this service, adjusting SAR parameters, and then re-enabling it to read data, SAR compliance detection can be covered in both default and dynamic configuration scenarios, avoiding the omission of parameter mismatch issues during the dynamic adjustment process.
[0034] In some embodiments, the second SAR data refers to all SAR data reread by the communication module after the SAR parameters have been adjusted and the dynamic power reduction service has been restarted. The second SAR data may include SAR values corresponding to each test item under different signal paths and different signal frequency bands, and is used to reflect the compliance status of SAR parameters after the dynamic power reduction service triggers the adjustment.
[0035] In some embodiments, the second test data refers to the set of comparison results between each test item in the second SAR data and the corresponding test item in the preset SAR data. The second test data may include the SAR numerical deviation and the judgment result of whether they are the same for each test item, which is used to reflect the compliance status of the SAR data of the device under test after the dynamic power reduction service restart adjustment.
[0036] In some embodiments, the target test result is used to indicate whether the SAR data of the device under test conforms to the SAR standard requirements. The target test result is obtained based on first test data and second test data. If the first test data indicates that the first SAR data is consistent with preset SAR data, and the second test data indicates that the second SAR data is consistent with preset SAR data, the target test result is determined to be that the SAR data of the device under test conforms to the SAR standard requirements; or if the first test data indicates that the first SAR data is inconsistent with preset SAR data, or the second test data indicates that the second SAR data is inconsistent with preset SAR data, the target test result is determined to be that the SAR data of the device under test does not conform to the SAR standard requirements.
[0037] For example, if the device under test is a laptop, install the driver for the corresponding SAR test item on the laptop, merge the driver into the SAR file of the laptop model, and after starting the dynamic power reduction service, the communication module will automatically import the driver to obtain SAR data. High-speed serial computer expansion bus (PCI Express, PCIE) communication modules require the use of the QRCT tool. The QRCT tool is a Qualcomm tool that can read SAR data using radio frequency non-volatile (RF NV) files. After opening the QRCT tool, connect to the Diagnostic and Monitoring (DM) port. The DM port is the communication port of the communication module, and the NV file option needs to be enabled to connect to the communication module. Communication modules include fourth-generation mobile communication modules and fifth-generation mobile communication modules; see [link to relevant documentation]. Figure 2 and Figure 3 , Figure 2 This is a schematic diagram of the first SAR data of a fourth-generation mobile communication module provided in an embodiment of this application. Figure 3 This is a schematic diagram of the first SAR data of a fifth-generation mobile communication module provided in an embodiment of this application. The fourth-generation mobile communication module needs to compare two network standards: Wideband Code Division Multiple Access (WCDMA) and Long Term Evolution (LTE). The fifth-generation mobile communication module needs to compare three network standards: WCDMA, LTE, and New Radio (NR). For each of these three network standards, two NV values, 29619 and 30007, need to be queried. NV29619 can be used to read the first SAR data of two network standards: 482 for WCDMA and 520 for LTE. Please refer to [link to relevant documentation]. Figure 4 , Figure 4This is a schematic diagram of preset SAR data provided in an embodiment of this application. The communication module QRCT reads the SAR (DPRHigh) (no backoff) column value. This column contains a large amount of data, which needs to be converted before it can be compared with the preset SAR data. Based on the comparison result between the first SAR data and the preset SAR data, first test data is generated. WCDMA and LTE read the second bit, and 5G NR reads the third bit. After dividing the read data by 10, the SAR (DPRLlow) (backoff) stored in EFS file column of the preset SAR data is compared. If the comparison result is consistent, the SAR values that are the same in the first SAR data and the preset SAR data are marked with first information (e.g., PASS), and the SAR values that are different in the first SAR data and the preset SAR data are marked with second information (e.g., Fail) to generate the first test data. Since there are many 5G frequency bands, the first SAR data and the preset SAR data need to correspond one-to-one. Please refer to [link to relevant documentation]. Figure 5 , Figure 6 , Figure 7 and Figure 8 , Figure 5 This is a schematic diagram illustrating the enabling of dynamic power reduction service according to an embodiment of this application. Figure 6 This is a schematic diagram illustrating the adjustment of SAR parameters according to an embodiment of this application. Figure 7 This is a schematic diagram illustrating how adjusted SAR parameters are saved, as provided in an embodiment of this application. Figure 8 This is a schematic diagram illustrating how a communication module reads adjusted SAR parameters according to an embodiment of this application. After disabling the dynamic power reduction service, at least one SAR parameter of the device under test is adjusted. After enabling the dynamic power reduction service, the SAR data of the device under test is reacquired through the communication module to obtain second SAR data. The Universal Serial Bus (USB) communication module can acquire the second SAR data through terminal control commands (Attention, AT). Please refer to [link to relevant documentation]. Figure 9 , Figure 9 This is a schematic diagram illustrating the acquisition of second SAR data according to an embodiment of this application. The red box shows the key parameter segment in the transmit power limit table configured by AT commands, used to dynamically reduce transmit power in different scenarios to ensure that the device's RF exposure indicators meet regulatory requirements. By using AT+QCFG="SAR_DSI", "LTE_WCDMA", after reading the second SAR value divided by 10, second test data is generated based on the comparison between the second SAR data and preset SAR data. Please refer to [link / reference]. Figure 10 , Figure 10This is a schematic diagram of generating second test data according to an embodiment of this application; the target test result of the device under test is determined based on the first test data and the second test data.
[0038] It should be noted that the communication frequency band comparison rule is as follows: the first SAR data read by QRCT has one more column than the preset SAR data. If QRCT reads SUB_BAND as 0, it is converted to BANDA; if SUB_BAND is 1, it is converted to BANDB; if SUB_BAND is 2, it is converted to BANDC; and if SUB_BAND is 3, it is converted to BANDD. When the network technology (TECH), communication frequency band (Band), and signal path (Path) are the same, if the signal path information and signal frequency band information of the first test item in the first SAR data are the same as those of the target test item in the preset SAR data, the first test item and the target test item are determined to be the same test item. If the signal path information and signal frequency band information of the second test item in the second SAR data are the same as those of the target test item in the preset SAR data, the second test item and the target test item are determined to be the same test item.
[0039] It should be noted that the NV value of the communication module can be set by the user, and the NV value differs between different projects, such as 5G projects and LTE projects. The network standards and NV values corresponding to various projects are different: a simple LTE project only needs to read the LTE configuration in NV29619, while a 5G project needs to read both WCDMA and LTE configurations in NV29619, as well as the NR configuration in NV30007, making the process more complex and less flexible. This can be addressed through configuration items: in the external configuration file, the user specifies which NV files to read and which TYPE ID configuration to extract from each NV file according to the actual needs of the current project. For 5G projects, the user needs to configure two pieces of data: the first points to the exported file of NV29619, used to obtain the SAR configuration of WCDMA and LTE; the second points to the exported file of NV30007, used to obtain the SAR configuration of NR. The tool will read these two files in the configured order and merge the data. For LTE projects, users only need to configure one piece of data to point to the exported file of NV29619, and the tool will only process the LTE standard data and will not read the NV file of NR.
[0040] Please see Figure 11 , Figure 11This is a schematic diagram of a first SAR data and a preset SAR data configuration provided in an embodiment of this application. The left side of the diagram shows the first SAR data, which includes network standard information, signal frequency band information, subdivided signal frequency band information, signal path information, and SAR parameters. The right side shows the preset SAR data. The network standard information and signal path information are directly mapped from the first SAR data. The signal frequency band information is determined and mapped by the signal frequency band information and subdivided signal frequency band information of the first SAR data. The SAR parameters are configured to be stored in an external configuration file, thereby realizing the standardized configuration of the first SAR data to the preset SAR data.
[0041] The solution in this application, after configuring the test environment for the device under test (DUT), acquires the DUT's SAR data through a communication module corresponding to the DUT's model, obtaining first SAR data; generates first test data based on the comparison between the first SAR data and preset SAR data; after disabling the dynamic power reduction service, adjusts at least one SAR parameter of the DUT, and after enabling the dynamic power reduction service, reacquires the DUT's SAR data through the communication module, obtaining second SAR data; generates second test data based on the comparison between the second SAR data and preset SAR data; and determines the target test result for the DUT based on the first and second test data. Therefore, this application, by automating the testing of the DUT, can improve the accuracy and efficiency of SAR testing.
[0042] In this embodiment of the disclosure, determining the target test result of the device under test based on the first test data and the second test data includes: if the first test data indicates that the first SAR data is consistent with the preset SAR data and the second test data indicates that the second SAR data is consistent with the preset SAR data, then the target test result is determined to be that the SAR data of the device under test meets the SAR standard requirements; or, if the first test data indicates that the first SAR data is inconsistent with the preset SAR data, or the second test data indicates that the second SAR data is inconsistent with the preset SAR data, then the target test result is determined to be that the SAR data of the device under test does not meet the SAR standard requirements.
[0043] In some embodiments, SAR standard requirements refer to mandatory limits on the electromagnetic radiation absorption ratio of wireless terminal devices set by regulatory agencies in various countries or regions. SAR standard limits vary between different countries or regions. It should be noted that compliance determination can be made by matching the corresponding standard requirements to the region where the device under test is marketed during SAR testing.
[0044] In this embodiment of the disclosure, after obtaining the first SAR data, the method further includes: parsing the first SAR data to obtain the test identification information and SAR value corresponding to each test item in the first SAR data; after obtaining the second SAR data, the method further includes: parsing the second SAR data to obtain the test identification information and SAR value corresponding to each test item in the second SAR data.
[0045] In some embodiments, each test item in the SAR data refers to an independent SAR parameter detection item set for different signal frequency bands, different transmission paths, and different power levels. Each test item corresponds to a unique test identifier, used to distinguish different test items and avoid matching errors during parameter comparison. The test identifier may include test item number, frequency band information, path number, and other content that can uniquely identify the test item, so as to quickly match and complete the comparison with the corresponding test item in the preset SAR data, improving comparison efficiency and accuracy. The SAR value corresponding to each test item in the SAR data refers to the SAR value configured by the device under test stored for each test item, used for comparison with the standard value of the corresponding test item in the preset SAR data.
[0046] In this embodiment of the disclosure, parsing the first SAR data includes: parsing the first SAR data to obtain test identification information; determining a corresponding SAR value extraction scheme based on the network standard information in the test identification information to extract the SAR values corresponding to each test item from the first SAR data; parsing the second SAR data includes: parsing the second SAR data to obtain test identification information; determining a corresponding SAR value extraction scheme based on the network standard information in the test identification information to extract the SAR values corresponding to each test item from the second SAR data.
[0047] In some embodiments, network standard information refers to the type of mobile communication network used for each test item. The storage structure and location of SAR data differ under different network standards, therefore, a matching data extraction scheme is needed to accurately extract the SAR values corresponding to each test item, ensuring the accuracy of the extraction results and avoiding extraction errors due to differences in storage formats. Network standard information includes at least one of WCDMA, LTE, and NR network standards. Specifically, Wideband Code Division Multiple Access (WCDMA) refers to the third-generation mobile communication network standard, Long Term Evolution (LTE) is the fourth-generation mobile communication network standard, and New Radio (NR) is the fifth-generation mobile communication network standard. Different network standards correspond to different SAR parameter storage rules, allowing for rapid matching of SAR value extraction schemes based on the network standard information in the identifier. In actual testing, 4G and 5G modules are used. The 4G module needs to read both WCDMA and LTE standards, while the 5G module needs to read WCDMA, LTE, and NR standards.
[0048] In some embodiments, the SAR value extraction scheme refers to the preset SAR value reading rules for different network standards, with different data offsets, data lengths, and encoding conversion rules corresponding to different storage structures. Thus, by determining the corresponding SAR value extraction scheme based on the network standard information in the test identification information, the SAR values corresponding to each test item can be quickly extracted from the parsed SAR data.
[0049] In this embodiment of the disclosure, generating first test data based on the comparison result between first SAR data and preset SAR data includes: comparing the differences between SAR values corresponding to the same test item in the first SAR data and preset SAR data; labeling the same SAR values in the first SAR data and preset SAR data with first information, and labeling the different SAR values in the first SAR data and preset SAR data with second information, to generate first test data; generating second test data based on the comparison result between second SAR data and preset SAR data includes: comparing the differences between the same SAR values in the second SAR data and preset SAR data; labeling the same SAR values in the second SAR data and preset SAR data with first information, and labeling the different SAR values in the second SAR data and preset SAR data with second information, to generate second test data.
[0050] In some embodiments, the first information refers to the identification information used to indicate that the SAR value of the corresponding test item is consistent with the preset standard value, and is used to visually mark the test items that are consistent; the second information refers to the identification information used to indicate that the SAR value of the corresponding test item is inconsistent with the preset standard value, and is used to visually mark the test items that are inconsistent.
[0051] In some embodiments, the first or second information can be labeled using various methods such as text highlighting, symbol marking, and color differentiation. Testers can customize the selection according to their viewing habits, enabling them to quickly locate test items with deviations and improve the efficiency of result viewing and problem troubleshooting. Preferably, the first information is "Pass" and the second information is "Fail".
[0052] Thus, by comparing the differences between the SAR values corresponding to the same test item in the first SAR data, the second SAR data, and the preset SAR data, and generating the first test data and the second test data in a labeled manner, the readability of the test results and the efficiency of anomaly detection can be improved.
[0053] In this embodiment of the disclosure, the test identification information includes signal path information and signal frequency band information; before comparing the difference between the SAR values corresponding to the same test item in the first SAR data and the preset SAR data, the method further includes: if the signal path information and signal frequency band information of the first test item in the first SAR data are the same as those of the target test item in the preset SAR data, the first test item and the target test item are determined to be the same test item; before comparing the difference between the SAR values corresponding to the same test item in the second SAR data and the preset SAR data, the method further includes: if the signal path information and signal frequency band information of the second test item in the second SAR data are the same as those of the target test item in the preset SAR data, the second test item and the target test item are determined to be the same test item.
[0054] In some embodiments, signal path information refers to the hardware transmission path information of the wireless signal from the power amplifier to the antenna. The same device under test typically has multiple different signal paths covering different signal frequency bands. The transmission parameters of different signal paths differ, and the corresponding SAR parameters also vary. Signal frequency band information refers to the frequency band range occupied by the transmitted signal for each test item. Under the same signal path, the upper limit of transmission power for different frequency bands is different, and the corresponding SAR parameters also need to be set separately. Determining the same test item based on both signal path information and signal frequency band information ensures the accuracy of the comparison and matching, avoids matching errors due to single-dimensional matching, and improves the reliability of the comparison results.
[0055] In some embodiments, the same test item refers to a unique corresponding parameter item determined by both signal path information and signal frequency band information. Only when both signal path information and signal frequency band information are the same can it be determined to be the same test item to be compared. If either of these pieces of information is different, it will not be determined to be the same test item for comparison, thereby ensuring the one-to-one correspondence of parameter comparison, avoiding matching errors, and improving the accuracy of comparison results.
[0056] In this embodiment of the disclosure, SAR data of the device under test is obtained through the communication module corresponding to the model of the device under test, including: when the communication module is a PCIE communication module, reading the SAR data in the communication module through an RF control tool; when the communication module is a USB communication module, reading the SAR data returned by the communication module through AT commands.
[0057] In some embodiments, a PCIE communication module refers to a communication module using the PCI Express interface protocol. For such modules, the module's storage area can be directly accessed via RF control tools to read complete SAR data. A Universal Serial Bus (USB) communication module refers to a communication module using the USB interface protocol. For such modules, SAR data can be requested from the module by sending terminal control commands (Attention, AT) to obtain the corresponding SAR data returned by the module. The RF control tool refers to a dedicated tool used to configure and read the parameters of the RF communication module. It can directly access the registers and storage area of the PCIE communication module, stably read complete SAR data, and ensure the reliability and integrity of data reading.
[0058] In this way, matching the corresponding data reading method to the communication module with different interface types can ensure the compatibility and accuracy of SAR data reading, adapt to the test equipment with different interface types, and improve the applicability of the test solution.
[0059] In this embodiment of the disclosure, the data processing scheme corresponding to the SAR data is stored in an external configuration file. The external configuration file is used to store the location information of the test fields in the SAR data, the matching scheme of the test items, and the parsing scheme of the SAR values.
[0060] In some embodiments, an external configuration file refers to a configuration file independent of the test program. It allows for adaptation to the SAR data processing needs of different models of devices under test without modifying the test program code; this reduces adaptation costs and improves the flexibility of iterative adaptation. Specifically, the location information of the test fields indicates the storage offset position corresponding to each test identifier and SAR value in the SAR data; the matching scheme for test items configures the matching rules for the same test item; and the SAR value parsing scheme configures the extraction and conversion rules for SAR values under different network standards. This allows all variable configuration information to be uniformly stored in the external configuration file, improving the maintainability of the test solution.
[0061] This application provides a SAR testing device. Figure 12 This is a schematic diagram of the structure of a SAR testing device provided in an embodiment of this application, as shown below. Figure 12 As shown, the device includes: The first acquisition module 1201 is used to acquire the SAR data of the device under test through the communication module corresponding to the model of the device under test after configuring the test environment for the device under test, and obtain the first SAR data. The first generation module 1202 is used to generate first test data based on the comparison result between the first SAR data and the preset SAR data; The second acquisition module 1203 is used to adjust at least one SAR parameter of the device under test after the dynamic power reduction service is turned off, and to reacquire the SAR data of the device under test through the communication module after the dynamic power reduction service is turned on, so as to obtain the second SAR data. The second generation module 1204 is used to generate second test data based on the comparison results between the second SAR data and the preset SAR data; The determination module 1205 is used to determine the target test result of the device under test based on the first test data and the second test data.
[0062] The target test results are used to indicate whether the SAR data of the device under test meets the SAR standard requirements.
[0063] Based on any of the above embodiments, another embodiment of this application also provides an electronic device, such as... Figure 13As shown, the electronic device may include a processor 1310, a communications interface 1320, a memory 1330, and a communication bus 1340. The processor 1310, communications interface 1320, and memory 1330 communicate with each other via the communication bus 1340. The processor 1310 can call logical instructions stored in the memory 1330 to execute the aforementioned SAR testing method.
[0064] Furthermore, when the computer program or instructions in the aforementioned memory 1330 can be implemented as a software functional unit and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0065] The above-described device embodiments are merely illustrative. The units described as separate components may or may not be physically separate, and 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 modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0066] The foregoing has provided a detailed description of a SAR testing method, apparatus, electronic device, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are 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 SAR testing method, characterized in that, include: After configuring the test environment for the device under test, the SAR data of the device under test is obtained through the communication module corresponding to the model of the device under test, and the first SAR data is obtained. Based on the comparison results between the first SAR data and the preset SAR data, the first test data is generated; After disabling the dynamic power reduction service, at least one SAR parameter of the device under test is adjusted, and after enabling the dynamic power reduction service, the SAR data of the device under test is reacquired through the communication module to obtain the second SAR data. Based on the comparison results between the second SAR data and the preset SAR data, second test data is generated; Based on the first test data and the second test data, determine the target test result of the device under test; The target test results are used to indicate whether the SAR data of the device under test meets the SAR standard requirements.
2. The method according to claim 1, characterized in that, Determining the target test result of the device under test based on the first test data and the second test data includes: If the first test data indicates that the first SAR data is consistent with the preset SAR data, and the second test data indicates that the second SAR data is consistent with the preset SAR data, then the target test result is determined to be that the SAR data of the device under test meets the SAR standard requirements; or, If the first test data indicates that the first SAR data is inconsistent with the preset SAR data, or the second test data indicates that the second SAR data is inconsistent with the preset SAR data, the target test result is determined to be that the SAR data of the device under test does not meet the SAR standard requirements.
3. The method according to claim 1, characterized in that, After obtaining the first SAR data, the method further includes: parsing the first SAR data to obtain the test identification information and SAR value corresponding to each test item in the first SAR data; After obtaining the second SAR data, the method further includes: parsing the second SAR data to obtain the test identification information and SAR value corresponding to each test item in the second SAR data.
4. The method according to claim 3, characterized in that, The step of parsing the first SAR data includes: parsing the first SAR data to obtain the test identification information; and determining the corresponding SAR value extraction scheme based on the network standard information in the test identification information, so as to extract the SAR values corresponding to each test item from the first SAR data. The step of parsing the second SAR data includes: parsing the second SAR data to obtain the test identification information; and determining the corresponding SAR value extraction scheme based on the network standard information in the test identification information, so as to extract the SAR values corresponding to each test item from the second SAR data. The network standard information includes at least one of WCDMA network standard, LTE network standard, and NR network standard.
5. The method according to claim 3, characterized in that, The step of generating first test data based on the comparison result between the first SAR data and the preset SAR data includes: comparing the difference between the SAR values corresponding to the same test item in the first SAR data and the preset SAR data; labeling the same SAR values in the first SAR data and the preset SAR data with first information, and labeling the different SAR values in the first SAR data and the preset SAR data with second information, so as to generate the first test data. The step of generating second test data based on the comparison result between the second SAR data and the preset SAR data includes: comparing the difference between the SAR values corresponding to the same test item in the second SAR data and the preset SAR data; labeling the SAR values that are the same in the second SAR data and the preset SAR data with first information, and labeling the SAR values that are different in the second SAR data and the preset SAR data with second information, so as to generate the second test data.
6. The method according to claim 5, characterized in that, The test identification information includes signal path information and signal frequency band information; Before comparing the difference between the SAR values corresponding to the same test item in the first SAR data and the preset SAR data, the method further includes: if the signal path information and signal frequency band information of the first test item in the first SAR data are the same as those of the target test item in the preset SAR data, the first test item and the target test item are determined to be the same test item. Before comparing the difference between the SAR values corresponding to the same test item in the second SAR data and the preset SAR data, the method further includes: if the signal path information and signal frequency band information of the second test item in the second SAR data are the same as those of the target test item in the preset SAR data, then the second test item and the target test item are determined to be the same test item.
7. The method according to claim 1, characterized in that, The step of obtaining the SAR data of the device under test through the communication module corresponding to the model of the device under test includes: When the communication module is a PCIe communication module, the SAR data in the communication module is read using an RF control tool; When the communication module is a USB communication module, the SAR data returned by the communication module is read via AT commands.
8. The method according to claim 1, characterized in that, The data processing scheme corresponding to the SAR data is stored in an external configuration file. The external configuration file is used to store the location information of the test fields in the SAR data, the matching scheme of the test items, and the parsing scheme of the SAR values.
9. A SAR testing device, characterized in that, include: The first acquisition module is used to acquire the SAR data of the device under test through the communication module corresponding to the model of the device under test after configuring the test environment for the device under test, and obtain the first SAR data. The first generation module is used to generate first test data based on the comparison result between the first SAR data and the preset SAR data; The second acquisition module is used to adjust at least one SAR parameter of the device under test after the dynamic power reduction service is turned off, and to reacquire the SAR data of the device under test through the communication module after the dynamic power reduction service is turned on, so as to obtain the second SAR data. The second generation module is used to generate second test data based on the comparison result between the second SAR data and the preset SAR data; The determining module is used to determine the target test result of the device under test based on the first test data and the second test data; The target test results are used to indicate whether the SAR data of the device under test meets the SAR standard requirements.
10. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program or instructions, which, when executed by the processor, cause the processor to perform the steps in the SAR testing method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, It stores a computer program or instructions that, when executed by a processor, implement the steps of the SAR testing method as described in any one of claims 1 to 8.