Method and system for testing user interface of kylin system

By analyzing the response time differences and resource utilization of user interface elements, simulating user interaction behavior for load testing and thermal efficiency evaluation, and optimizing interface configuration, the problem of the existing technology being difficult to fully understand software performance in dynamic changing environments, and achieving efficient and stable performance of the user interface.

CN120066954AInactive Publication Date: 2025-05-30SHENZHEN JUMPER COMP TECH LO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510058244.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-14
Publication Date
2025-05-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing user interface testing methods are difficult to fully understand software performance in dynamic changing environments, especially in scenarios where user interactions are frequent and data loads are high, and interface response time and resource management efficiency cannot be accurately predicted, resulting in a decline in user experience and system stability affected.

Method used

By extracting interaction time and load data, analyzing the response time difference and resource utilization of interface elements, and obtaining interface performance initialization data. Then differentiated user interaction behavior is simulated, random load and task switching tests are performed on the user interface, response information is recorded, performance changes trends are analyzed, thermal efficiency is evaluated, and interface configuration is optimized based on the analysis results.

Benefits of technology

The performance evaluation and optimization of the user interface under dynamic load conditions is achieved, the stability and efficiency of the interface are improved, and the high performance performance in actual user operation scenarios is ensured, which significantly improves user satisfaction and product market competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066954A_ABST
    Figure CN120066954A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of software engineering, in particular to a method and a system for testing a user interface of a kylin system, which comprises the following steps of: extracting interaction time and load data of the kylin system from an interface operation record based on a user interface operation requirement of the kylin system; and analyzing the response time difference and the resource utilization rate of the user interface elements, and obtaining interface performance initialization data. According to the method, the load and task switching test is carried out on the interface by simulating different user interaction behaviors, the performance of the interface under various pressure conditions can be observed, the change trend of the performance can be effectively captured, the thermal response of the interface is simulated, the heat flux density and the conduction speed are analyzed, the thermal efficiency of the interface under the high load can be evaluated, and the test efficiency is improved. According to the method, optimization of the hot spot area and resource consumption is further promoted, the stability and efficiency of an interface are improved, the high-performance performance in an actual user operation scene is ensured, and the market competitiveness and the user satisfaction of software products are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software engineering, and particularly to a method and system for testing the user interface of the Kylin system. Background Art

[0002] The technical field of software engineering focuses on systematically, standardizing, and quantifying the design, development, operation, and maintenance of software, covering the entire life cycle from the determination of software requirements to the delivery of software products, including processes such as requirements analysis, design, coding, testing, and maintenance. The purpose of software engineering is to improve the efficiency and quality of software development and ensure that the software can meet user requirements within the scheduled time and budget. This field also includes multiple sub-fields such as project management, software configuration management, quality assurance, and software testing, aiming to solve the complexity problems in the software development and maintenance processes by introducing engineering principles.

[0003] Among them, the method for testing the user interface of the Kylin system refers to a set of methods for using specific technologies and tools to evaluate and verify the functions, performance, and user interactions of the user interface of the Kylin operating system. The purpose of the testing method is to ensure that the user interface is easy to use, conforms to the design specifications, and can remain stable and efficient under different user operations. Through this testing, problems in the interface design can be discovered and corrected in a timely manner, improving the overall user satisfaction and the market competitiveness of the product.

[0004] The existing methods for testing the user interface mainly rely on static performance evaluation, restricting a comprehensive understanding of the software's performance in a dynamically changing environment. Especially in scenarios with frequent user interactions and high data loads, traditional methods cannot accurately predict the interface response time and resource management efficiency. For example, during high-concurrency user operations, the software faces problems such as response latency or insufficient resource allocation, resulting in a decline in the user experience and affecting the market performance of the product. The evaluation of thermal efficiency is ignored, which leads to overheating problems in resource-intensive applications, affecting the stability and long-term operating performance of the system. The existing technologies fail to provide sufficient tools to simulate and analyze complex user operation scenarios, making it difficult to optimize the interface design to adapt to different operation pressures and user requirements. Summary of the Invention

[0005] In order to solve the technical problems existing in the prior art that it is difficult to comprehensively understand the performance in a dynamically changing environment, especially in scenarios with frequent user interactions and high data loads, traditional methods cannot accurately predict the interface response time and resource management efficiency. For example, during high-concurrency user operations, software faces problems such as response latency or insufficient resource allocation, resulting in a decline in user experience and affecting the market performance of the product. The evaluation of thermal efficiency is neglected, which leads to overheating problems in resource-intensive applications and affects the stability and long-term operating performance of the system. The prior art fails to provide sufficient tools to simulate and analyze complex user operation scenarios, making it difficult to optimize the interface design to adapt to different operating pressures and user requirements. Embodiments of the present invention provide a method and system for testing the user interface of a Kirin system. The technical solution is as follows:

[0006] On the one hand, a method for testing the user interface of a Kirin system is provided, and the method includes:

[0007] S1: Based on the user interface operation requirements of the Kirin system, extract the interaction time and the load data of the Kirin system from the interface operation records, analyze the response time differences and resource utilization rates of the user interface elements, and obtain the initial interface performance data;

[0008] S2: Use the initial interface performance data to simulate different user interaction behaviors, conduct random load and task switching tests on the user interface, record the response information of the user interface under various pressure conditions, analyze the change trend of the user interface performance, and obtain the dynamic load response data;

[0009] S3: Through the dynamic load response data, simulate the thermal response of the user interface, and evaluate the thermal efficiency of the user interface under load operations by analyzing the heat flux density and heat conduction speed of the differentiated parts of the user interface, and obtain the thermal response analysis result;

[0010] S4: Use the thermal response analysis result to adjust the user interface configuration, optimize the layout and code structure, avoid hot spots and non-critical resource consumption, and conduct experimental tests to obtain the optimized user interface configuration;

[0011] S5: According to the optimized user interface configuration, perform the evaluation of the user interface performance, test the performance of the user interface by simulating real user operation scenarios, and conduct quantitative analysis on the user interface recovery time and resource consumption to obtain the performance test evaluation result.

[0012] As a further solution of the present invention, the interface performance initialization data includes the average response time of interface elements, peak and trough resource utilization rates, and memory consumption of the Kirin system. The dynamic load response data includes CPU and GPU usage, response latency, and user interface rendering speed recorded under different simulated user operations. The thermal response analysis results include CPU temperature changes under continuous load, thermal distribution information of interface elements, and cooling efficiency. The optimized user interface configuration includes a redesigned interface layout, optimized resource call strategies, and optimized data caching mechanisms. The performance test evaluation results include the data processing speed, resource recovery efficiency, and stability of the Kirin system of the adjusted user interface in a simulated stress test.

[0013] As a further solution of the present invention, based on the user interface operation requirements of the Kirin system, the interaction time and the load data of the Kirin system are extracted from the interface operation records, and the response time difference and resource utilization rate of the user interface elements are analyzed. The steps for obtaining the interface performance initialization data are specifically as follows:

[0014] S101: Based on the user interface operation requirements of the Kirin system, record the interaction time and the load data of the Kirin system, and respectively perform timestamp marking and load measurement on the operation records to obtain interface operation and Kirin system load records;

[0015] S102: Based on the interface operation and Kirin system load records, analyze the response time difference of the user interface elements, statistically analyze the resource utilization efficiency of the differentiated elements, and obtain element response time analysis data through correlation analysis of resource consumption and response speed;

[0016] S103: Use the element response time analysis data to evaluate the performance of the differentiated user interface elements, adjust the resource configuration, optimize the element loading order and memory allocation, and obtain the interface performance initialization data.

[0017] As a further solution of the present invention, using the interface performance initialization data, simulate differentiated user interaction behaviors, perform random load and task switching tests on the user interface, record the response information of the user interface under various pressure conditions, and analyze the change trend of the user interface performance. The steps for obtaining the dynamic load response data are specifically as follows:

[0018] S201: Based on the interface performance initialization data, simulate differentiated user interaction behaviors, construct a user operation scenario in a simulated environment, perform random load application and task switching on the user interface, and obtain an interface simulation test record;

[0019] S202: Record the response information of the user interface under various pressure conditions through the interface simulation test record, including loading time, error rate, and resource consumption, conduct time series analysis and statistics of the data, and obtain the pressure test response data;

[0020] S203: Utilize the pressure test response data to analyze the change trend of the user interface performance, compare the data under different operation scenarios, evaluate the stability and efficiency of the user interface performance under dynamic load conditions, and obtain the dynamic load response data.

[0021] As a further solution of the present invention, the steps of simulating the thermal response of the user interface through the dynamic load response data, evaluating the thermal efficiency of the user interface under load operation by analyzing the heat flux density and heat conduction speed of the differentiated part of the user interface, and obtaining the thermal response analysis result are specifically as follows:

[0022] S301: Based on the dynamic load response data, simulate the thermal response of the user interface, apply thermal load in the simulation environment, track and record the heat flux density and heat conduction speed of the differentiated part of the user interface, and obtain the thermal response simulation record;

[0023] S302: Through the thermal response simulation record, conduct heat flux density and heat conduction speed simulation, calculate the heat flux change in the user interaction scenario, and obtain the thermal efficiency evaluation data;

[0024] S303: Utilize the thermal efficiency evaluation data to evaluate the thermal efficiency of the user interface under load operation, identify the thermal stability and performance of the user interface under different conditions, and obtain the thermal response analysis result.

[0025] As a further solution of the present invention, the formula for calculating the heat flux change in the user interaction scenario is:

[0026]

[0027] where Q is the thermal efficiency value of the differentiated interaction scenario, k represents the thermal conductivity of the material, A g represents the heat exchange area, T 2 -T 1 represents the temperature difference between both sides of the interface, T 2 represents the temperature on the high-temperature side, T 1 represents the temperature on the low-temperature side, d represents the thickness of the material, α is the heat conduction adjustment coefficient, and ΔT is the difference between the real-time temperature and the reference temperature T ref of.

[0028] As a further solution of the present invention, using the thermal response analysis results, adjusting the user interface configuration, optimizing the layout and code structure, avoiding hot spots and non-critical resource consumption, and conducting experimental tests, the steps to obtain the optimized user interface configuration are specifically as follows:

[0029] S401: Based on the thermal response analysis results, adjust the user interface configuration, optimize the interface layout and code structure, allocate resources to avoid hot spots, and obtain an adjusted interface configuration plan;

[0030] S402: Implement the adjusted interface configuration plan, avoid non-critical resource consumption, conduct experimental tests on the optimized user interface, track and record the performance changes and resource utilization efficiency of the interface, and obtain experimental test data;

[0031] S403: Use the experimental test data to analyze the performance optimization and resource efficiency of the user interface, evaluate the effect of the interface configuration adjustment, and obtain the optimized user interface configuration.

[0032] As a further solution of the present invention, according to the optimized user interface configuration, perform an evaluation of the user interface performance. By simulating real user operation scenarios, test the performance of the user interface, conduct quantitative analysis on the user interface recovery time and resource consumption, and the steps to obtain the performance test evaluation results are specifically as follows:

[0033] S501: Based on the optimized user interface configuration, perform a user interface performance evaluation. Replicate real user operation scenarios in a simulation environment, test the response speed and resource usage of the user interface, calculate the user interface performance difference, and obtain a performance test record;

[0034] S502: Through the performance test record, test the loading speed and operation response time of the user interface, conduct quantitative analysis on the interface recovery time and resource consumption, and obtain initialization performance analysis data;

[0035] S503: Use the initialization performance analysis data to evaluate the overall performance of the user interface under simulated operations, compare the performance changes before and after optimization, identify performance optimization indicators, and obtain the performance test evaluation results.

[0036] As a further solution of the present invention, the formula for calculating the user interface performance difference is:

[0037]

[0038] Wherein, R is the performance difference value, S A represents the user interface response speed of Scheme A, S B represents the user interface response speed of Scheme B, W Aand W B respectively represent the resource utilization rates of Solution A and Solution B, and T a is the test duration.

[0039] On the other hand, an electric vehicle status monitoring system is provided. The electric vehicle status monitoring system is used to execute the above-mentioned electric vehicle status monitoring method, and the system includes:

[0040] The load condition recognition module extracts the interaction time and the load data of the Kirin system based on the user interface operation requirements of the Kirin system, recognizes the time difference of the interface operation and the load condition of the Kirin system, and obtains a load data record;

[0041] The model construction module uses the load data record to analyze the response time and resource utilization rate of the user interface elements, and constructs a performance baseline model;

[0042] The behavior simulation module simulates different user interaction behaviors according to the performance baseline model, performs random load and task switching tests on the user interface, and obtains a dynamic load response record;

[0043] The thermal efficiency analysis module analyzes the heat flux density and heat conduction speed in the dynamic load response record, evaluates the thermal efficiency of the user interface under different loads, and obtains a thermal response analysis result;

[0044] The interface adjustment module adjusts the user interface configuration according to the thermal response analysis result, optimizes the interface layout and code structure, and obtains an optimized user interface configuration;

[0045] The performance verification module uses the optimized user interface configuration, performs an evaluation of the user interface performance by simulating a real user operation scenario, and quantitatively analyzes the recovery time and resource consumption of the user interface, and obtains a performance test evaluation result.

[0046] The beneficial effects brought by the technical solution provided by the embodiment of the present invention at least include:

[0047] By extracting the interaction time and load data and analyzing the response time difference and resource utilization rate of the interface elements, the initial interface performance data can be effectively obtained, providing an accurate benchmark for subsequent tests. Simulating different user interaction behaviors to perform load and task switching tests on the interface can observe the performance of the interface under various pressure conditions and effectively capture the changing trend of performance. Simulating the thermal response of the interface and analyzing the heat flux density and conduction speed helps to evaluate the thermal efficiency of the interface under high loads, further promoting the optimization of hot spots and resource consumption. Through this refined performance adjustment, the optimized configuration of the user interface is realized, which not only improves the stability and efficiency of the interface, but also ensures high-performance performance in the actual user operation scenario, significantly enhancing the market competitiveness and user satisfaction of software products. Brief Description of the Drawings

[0048] Figure 1 It is a schematic diagram of the working process of the present invention;

[0049] Figure 2 It is a refined flowchart of S1 of the present invention;

[0050] Figure 3 It is a refined flowchart of S2 of the present invention;

[0051] Figure 4 It is a refined flowchart of S3 of the present invention;

[0052] Figure 5 It is a refined flowchart of S4 of the present invention;

[0053] Figure 6 It is a refined flowchart of S5 of the present invention;

[0054] Figure 7 It is a system flowchart of the present invention. Detailed Description of the Invention

[0055] The following will describe the technical solutions in the present invention with reference to the accompanying drawings.

[0056] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design solution described as "example" in the present invention should not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of the word "example" is intended to present concepts in a specific manner. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or either of the two can be selected.

[0057] To make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments.

[0058] Please refer to Figure 1 , the embodiments of the present invention provide a method for testing the user interface of a Kirin system, and the processing flow of this method can include the following steps:

[0059] S1: Based on the user interface operation requirements of the Kirin system, extract the interaction time and the load data of the Kirin system from the interface operation records, analyze the response time differences and resource utilization rates of the user interface elements, and obtain the initial interface performance data;

[0060] S2: Use the initial interface performance data to simulate different user interaction behaviors, perform random load and task switching tests on the user interface, record the response information of the user interface under various pressure conditions, analyze the change trend of the user interface performance, and obtain the dynamic load response data;

[0061] S3: Simulate the thermal response of the user interface through dynamic load response data. Evaluate the thermal efficiency of the user interface under load operations by analyzing the heat flux density and heat conduction speed of the differentiated parts of the user interface, and obtain the thermal response analysis results.

[0062] S4: Utilize the thermal response analysis results to adjust the user interface configuration, optimize the layout and code structure, avoid hot spots and non-critical resource consumption, and conduct experimental tests to obtain the optimized user interface configuration.

[0063] S5: According to the optimized user interface configuration, perform the evaluation of the user interface performance. By simulating the real user operation scenario, test the performance of the user interface, and conduct quantitative analysis on the user interface recovery time and resource consumption to obtain the performance test evaluation results.

[0064] The interface performance initialization data includes the average response time of interface elements, peak and trough resource utilization rates, and memory consumption of the Kirin system. The dynamic load response data includes CPU and GPU usage, response latency, and user interface rendering speed recorded under differentiated simulated user operations. The thermal response analysis results include CPU temperature changes under continuous load, thermal distribution information of interface elements, and cooling efficiency. The optimized user interface configuration includes a redesigned interface layout, optimized resource call strategies, and optimized data caching mechanisms. The performance test evaluation results include the data processing speed, resource recovery efficiency, and stability of the Kirin system of the adjusted user interface in simulated stress tests.

[0065] Please refer to Figure 2 , based on the user interface operation requirements of the Kirin system, extract the interaction time and the load data of the Kirin system from the interface operation records, and analyze the response time differences and resource utilization rates of the user interface elements. The specific steps to obtain the interface performance initialization data are as follows:

[0066] S101: Based on the user interface operation requirements of the Kirin system, record the interaction time and the load data of the Kirin system, and respectively perform timestamp marking and load measurement on the operation records. The execution process of obtaining the interface operation and Kirin system load records is as follows;

[0067] When recording the interaction time and Kylin system load data, it is necessary to first set monitoring parameters such as the interaction timestamp and Kylin system load. Timestamp marking and load measurement are performed for each user operation. The parameters are obtained through real-time monitoring, and the Kylin system samples data regularly to ensure the accuracy and real-time nature of the data. The timestamp adopts the UNIX time format, which is easy to process and convert. The Kylin system load is calculated based on the CPU and memory usage rates. Through continuous monitoring of the data, dynamic adjustment of the Kylin system resources can be carried out to ensure the optimal performance of the Kylin system during user operations. This process also includes the storage and subsequent processing of the data. The operation records are stored in a database, which facilitates subsequent data query and analysis. The correlation analysis between the Kylin system load data and the interaction time can reveal the performance of the Kylin system under different operations, guide the optimization of the Kylin system, and obtain the interface operation and Kylin system load records.

[0068] S102: Based on the interface operation and Kylin system load records, analyze the response time differences of user interface elements, statistically analyze the resource utilization efficiency of the differentiated elements, and obtain the execution process of the element response time analysis data through the correlation analysis of resource consumption and response speed as follows;

[0069] Through the correlation analysis of resource consumption and response speed, according to the formula:

[0070]

[0071] Calculate the element response time analysis data. In the formula, R g is the response time evaluation value, C i represents the resource consumption of the i-th element, S i represents the corresponding response speed, and n represents the number of elements analyzed;

[0072] This formula evaluates the overall response time by calculating the product of the resource consumption and response speed of each user interface element and taking the average value. Based on this analysis of the data, there are three elements with resource consumptions of 10, 15, and 20 respectively, and response speeds of 0.3s, 0.4s, and 0.2s respectively. Substitute into the formula:

[0073]

[0074] This calculation process provides a practical response time evaluation through specific resource consumption and response speed data, which helps to deeply understand the impact of different elements on the performance of the Kylin system.

[0075] S103: Use the element response time analysis data to evaluate the performance of the differentiated user interface elements, adjust the resource configuration, optimize the element loading order and memory allocation, and obtain the execution process of the interface performance initialization data as follows;

[0076] When using element response time analysis data for interface performance optimization, analyze the performance of each element in detail. Based on the performance data, reconfigure the resources of the interface elements, especially optimize the memory allocation and loading order. This process includes reducing the resources of elements with poor performance and increasing the resources of elements with good performance to ensure the fairness and efficiency of resource allocation. At the same time, by simulating different loading orders, find the optimal element loading combination. The operation is based on the actual performance test results. The performance test is carried out by simulating real user operations, and the test results are fed back to the development team to adjust the code and resource configuration, providing a scientific basis for subsequent interface optimization and obtaining the initial interface performance data.

[0077] Please refer to Figure 3 , using the initial interface performance data, simulate different user interaction behaviors, conduct random load and task switching tests on the user interface, record the response information of the user interface under various stress conditions, and analyze the changing trend of the user interface performance. The steps to obtain the dynamic load response data are as follows:

[0078] S201: Based on the initial interface performance data, simulate different user interaction behaviors, construct a user operation scenario in the simulation environment, apply random loads and task switching to the user interface. The execution process of obtaining the interface simulation test record is as follows;

[0079] When constructing the simulation environment, scripts for different user interaction behaviors need to be created. The scripts simulate the user's operation scenarios, such as clicking, swiping, inputting, etc. Each operation triggers different responses from the interface. By setting different task sequences and load patterns, the simulation environment can test the reaction of the interface under different operations, such as performing batch data input and frequent task switching under high load, monitoring resource consumption and response time. During the simulation test, a special monitoring tool is used to record the execution of operations, such as timestamps, operation types, and Kirin system responses, to obtain the interface simulation test record.

[0080] S202: Through the interface simulation test record, record the response information of the user interface under various stress conditions, including loading time, error rate, and resource consumption, and conduct time series analysis and statistics of the data. The execution process of obtaining the stress test response data is as follows;

[0081] Perform time - series analysis of data. The techniques involved include meticulous recording of loading time, error rate, and resource consumption. The data is arranged in chronological order for statistical analysis. During the analysis process, special attention is paid to the performance of the interface under high - stress conditions, such as the loading time and error rate of the interface when users perform multiple tasks simultaneously or make data requests. Through dedicated analysis tools, such as time - series analysis software, the changes in interface response under different stress conditions can be revealed more accurately, providing a basis for subsequent optimization. The purpose of stress testing is to ensure that the user interface can withstand the expected maximum load in actual applications and obtain stress - test response data.

[0082] S203: Use the stress - test response data to analyze the changing trend of user - interface performance, compare the data under different operation scenarios, and evaluate the stability and efficiency of the user - interface performance under dynamic load conditions. The execution process for obtaining dynamic - load response data is as follows;

[0083] Compare the data under different operation scenarios according to the formula:

[0084]

[0085] Evaluate the stability and efficiency of the user - interface performance under dynamic load conditions. In the formula, P is the performance - scoring value, R o represents the performance score in the o - th scenario, and n o represents the number of scenarios;

[0086] Evaluate the overall stability and efficiency of the user interface by calculating the average value of the performance scores in all test scenarios. Suppose the performance scores in the scenarios are 80, 70, and 90 respectively. The calculation process is as follows:

[0087]

[0088] This average score represents the overall performance of the user interface under different operation conditions, helps to understand the performance level of the interface under changing load conditions, and guides subsequent performance - optimization strategies.

[0089] Please refer to Figure 4 , through the dynamic - load response data, simulate the thermal response of the user interface. By analyzing the heat - flux density and heat - conduction speed of the differentiated part of the user interface, evaluate the thermal efficiency of the user interface under load operations. The steps to obtain the thermal - response analysis results are as follows:

[0090] S301: Based on the dynamic - load response data, simulate the thermal response of the user interface. Apply thermal load in the simulation environment and track and record the heat - flux density and heat - conduction speed of the differentiated part of the user interface. The execution process for obtaining the thermal - response simulation record is as follows;

[0091] Set the thermal load parameters in the simulation environment, which includes specific values of heat flux density and heat conduction speed. Through the parameter simulation user interface, simulate the thermal load situation encountered in actual operation. During the simulation process, use advanced thermal imaging technology and sensors to accurately track and record the temperature changes and heat flow dynamics of each part of the interface, especially in the areas where users interact frequently, such as the touch screen and button areas, to display in detail the responses of each area under different thermal loads, provide data support for further thermal optimization, and obtain the thermal response simulation record.

[0092] S302: The execution process of simulating the heat flux density and heat conduction speed through the thermal response simulation record, calculating the heat flow change in the user interaction scenario, and obtaining the thermal efficiency evaluation data is as follows;

[0093] The formula for calculating the heat flow change in the user interaction scenario is:

[0094]

[0095] Among them, Q is the thermal efficiency value of the differential interaction scenario, k represents the thermal conductivity of the material, A g represents the heat exchange area, T 2 -T 1 represents the temperature difference between both sides of the interface, T 2 represents the temperature on the high-temperature side, T 1 represents the temperature on the low-temperature side, d represents the thickness of the material, α is the thermal conduction adjustment coefficient, and ΔT is the difference between the real-time temperature and the reference temperature T ref ;

[0096] Parameter meaning and set values:

[0097] k is the thermal conductivity of the material. The actual value depends on the material type. For a typical electronic device housing (such as aluminum alloy), k can be approximately 237;

[0098] A g is the heat exchange area, which depends on the physical size of the device. Taking a general mobile device as an example, set the interface area to be approximately 0.01m 2 ;

[0099] T 2 -T 1 is the temperature difference between both sides of the interface, which is obtained by real-time monitoring with a temperature sensor. Assuming the ambient temperature is 25°C and the interface temperature can reach 35°C during device operation, so T 2 -T 1 is 10°C;

[0100] d is the thickness of the material, which depends on the device structure; for a common mobile device housing, d can be taken as 0.002m;

[0101] α is the thermal conduction adjustment coefficient, which reflects the influence of the temperature change of the material or environment on thermal conduction and can be set based on the research literature of material properties; for aluminum alloy, α can be set to 0.0031 / K;

[0102] ΔT is the difference between the actual temperature and the reference temperature, taking T 2 -T 1 ,T ref as the reference temperature, which is generally taken as the room temperature of 20 °C;

[0103] Substitute the parameters into the formula for calculation:

[0104]

[0105] The results show that under the set conditions, the heat flux density at the interface is very high, leading to overheating of the device. The calculation results provide a basis for designing a better thermal management strategy, indicating that it is necessary to consider adding heat dissipation functions or improving material usage in the user interface design.

[0106] S303: Use the thermal efficiency evaluation data to evaluate the thermal efficiency of the user interface under load operation, identify the thermal stability and performance of the user interface under different conditions, and the execution process for obtaining the thermal response analysis results is as follows;

[0107] When analyzing using the thermal efficiency evaluation data, the evaluation tool specifically measures the thermal efficiency of the interface under high-load operation. By comparing the heat flux density and heat conduction speed under different conditions, the user interface areas that are stable under thermal load are identified, which includes calculating and recording the changes in thermal efficiency and the impact of different operating conditions on thermal stability, revealing the performance of the user interface, especially during long-term operation or operation in a high-temperature environment. The information helps to further optimize the interface design, improve durability and reliability in actual use, and obtain the thermal response analysis results.

[0108] Please refer to Figure 4 and use the thermal response analysis results to adjust the user interface configuration, optimize the layout and code structure, avoid hot spots and non-critical resource consumption, and conduct experimental tests. The specific steps to obtain the optimized user interface configuration are as follows:

[0109] S401: Based on the thermal response analysis results, adjust the user interface configuration, optimize the interface layout and code structure, allocate resources to avoid hot spots, and the execution process for obtaining the adjusted interface configuration plan is as follows;

[0110] When optimizing the user interface, focus on adjusting the layout and code structure. This includes migrating frequently accessed elements to servers with lower loads and reconfiguring resources for hotspots of user operations. During the adjustment process, detailed analysis reveals that some user interactions consume excessive resources. Isolate and optimize these areas to improve the overall user experience by enhancing code execution efficiency and reducing resource-intensive operations, making the interface more efficient and responsive in actual use, and obtaining the adjusted interface configuration plan.

[0111] S402: Implement the adjusted interface configuration plan to avoid non-critical resource consumption. Conduct experimental tests on the optimized user interface, track and record the performance changes and resource utilization efficiency of the interface. The execution process for obtaining experimental test data is as follows;

[0112] Conduct a series of experimental tests in a controlled environment. The tests aim to evaluate the performance changes and resource utilization efficiency of the interface. During the experiments, pay special attention to the performance of the interface when processing batch data and high-frequency operations. Monitoring tools record various performance metrics, such as response time, CPU, and memory consumption, record the start and end times of each operation, and the resource consumption during the operation. The data helps the development team understand the actual effects of the optimization measures. By comparing the performance differences before and after optimization, the development team can further adjust and optimize the user interface to obtain experimental test data.

[0113] S403: Use the experimental test data to analyze the performance optimization and resource efficiency of the user interface, and evaluate the effect of the interface configuration adjustment. The execution process for obtaining the optimized user interface configuration is as follows;

[0114] Conduct a performance analysis of the optimized user interface according to the formula:

[0115]

[0116] Evaluate the effect of the interface configuration adjustment. In the formula, P g represents the performance optimization value, O p represents the performance data at the pth test point before optimization, N p represents the data after optimization, and m represents the number of test points;

[0117] The formula evaluates the overall performance optimization effect by calculating the average of the differences in performance data before and after optimization. There are three test points. The performance data before optimization are 100, 150, and 200 respectively, and after optimization are 90, 135, and 180. Then the calculation process is as follows:

[0118]

[0119] This indicates that the optimization measures reduce the resource consumption by 15 units on average, demonstrating the positive impact of the user interface configuration adjustment on improving resource efficiency.

[0120] Please refer to Figure 5 , according to the optimized user interface configuration, to perform the evaluation of the user interface performance. The steps to test the user interface performance and conduct a quantitative analysis of the user interface recovery time and resource consumption to obtain the performance test evaluation results are as follows:

[0121] S501: Based on the optimized user interface configuration, perform the user interface performance evaluation. Replicate the real user operation scenario in the simulation environment, test the response speed and resource usage of the user interface, calculate the user interface performance difference, and the execution process of obtaining the performance test record is as follows;

[0122] The formula for calculating the user interface performance difference is:

[0123]

[0124] Among them, R is the performance difference value, S A represents the user interface response speed of Plan A, S B represents the user interface response speed of Plan B, W A and W B represent the resource utilization rates of Plan A and Plan B respectively, and T a is the test duration;

[0125] Parameter meanings and setting values:

[0126] S A is the user interface response speed of Plan A, measured as 0.250 seconds, reflecting the processing speed of the Kirin system under Plan A;

[0127] S B is the user interface response speed of Plan B, measured as 0.350 seconds, reflecting the processing speed of the Kirin system under Plan B;

[0128] W A is the resource utilization rate of Plan A, and the monitored value is 45%, showing the proportion of the Kirin system resources occupied during the execution of Plan A;

[0129] W B is the resource utilization rate of Plan B, and the monitored value is 65%, showing the proportion of the Kirin system resources occupied during the execution of Plan B;

[0130] T a is the test duration, set to 3600 seconds (1 hour) to ensure sufficient test depth and breadth and increase the reliability of the test results;

[0131] Substitute the parameters into the formula for calculation:

[0132]

[0133] The results show a slight difference in the user interface performance between Scheme A and Scheme B, indicating that during long-term testing, the differences in response speed and resource utilization have a relatively small impact on the overall performance. This numerical result supports continuing to optimize and fine-tune the interface design to achieve better performance.

[0134] S502: The execution process of obtaining the initial performance analysis data by recording performance tests, testing the loading speed and operation response time of the user interface, and quantitatively analyzing the interface recovery time and resource consumption is as follows;

[0135] When testing the loading speed and operation response time of the user interface, a high-precision timing tool is used to accurately capture the specific duration of each loading and response. The test involves various standard operations such as page jumps and data submissions to simulate the interface performance in a real user environment. At the same time, the quantitative analysis also includes the interface recovery time and resource consumption, such as CPU and memory usage. The data is comprehensively considered to help the technical team understand the performance bottlenecks of the interface under different operations, provide a quantitative basis for further optimization, ensure the consistency and repeatability of the test results, provide accurate data for subsequent performance comparisons, and obtain the initial performance analysis data.

[0136] S503: The execution process of obtaining the performance test evaluation results by using the initial performance analysis data to evaluate the overall performance of the user interface under simulated operations, comparing the performance changes before and after optimization, and identifying the performance optimization indicators is as follows;

[0137] Focus on the overall performance under simulated operations. By comparing the performance records before and after optimization, especially the changes in loading speed and response time, identify the performance indicators with significant improvements. The indicators include the reduction of page response time, the reduction of resource consumption, etc., which illustrate the improvement of each indicator and demonstrate the effectiveness of the optimization measures. This evaluation process includes the whole process from data collection to result analysis to ensure the accuracy and practicality of the evaluation results. The results of the performance test not only verify the rationality of the interface design but also provide empirical evidence for future interface iterations, obtaining the performance test evaluation results.

[0138] On the other hand, an electric vehicle status monitoring system is provided. The electric vehicle status monitoring system is used to execute the above-mentioned electric vehicle status monitoring method. The system includes:

[0139] Based on the user interface operation requirements of the Kirin system, the load condition identification module extracts the interaction time and the load data of the Kirin system, identifies the time difference of interface operations and the load condition of the Kirin system, and obtains the load data record;

[0140] The model construction module uses load data records to analyze the response time and resource utilization rate of user interface elements, and constructs a performance baseline model;

[0141] The behavior simulation module simulates different user interaction behaviors according to the performance baseline model, conducts random load and task switching tests on the user interface, and obtains dynamic load response records;

[0142] The thermal efficiency analysis module analyzes the heat flux density and heat conduction speed in the dynamic load response records, evaluates the thermal efficiency of the user interface under different loads, and obtains the thermal response analysis results;

[0143] The interface adjustment module adjusts the user interface configuration according to the thermal response analysis results, optimizes the interface layout and code structure, and obtains the optimized user interface configuration;

[0144] The performance verification module adopts the optimized user interface configuration, evaluates the performance of the user interface by simulating real user operation scenarios, quantitatively analyzes the recovery time and resource consumption of the user interface, and obtains the performance test evaluation results.

[0145] As mentioned above, it is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A user interface testing method for a Kylin system, characterized in that: The following steps are involved: Based on the user interface operation requirements of the Kylin system, the interaction time and the load data of the Kylin system are extracted from the interface operation records, the response time differences and resource utilization rates of the user interface elements are analyzed, and the interface performance initialization data is obtained; Using the interface performance initialization data, simulating differentiated user interaction behaviors, performing random load and task switching tests on the user interface, recording the response information of the user interface under various stress conditions, analyzing the changing trend of the user interface performance, and obtaining dynamic load response data; The thermal response of the user interface is simulated by the dynamic load response data, and the thermal efficiency of the user interface under load operation is evaluated by analyzing the heat flux density and heat conduction velocity of the differentiated part of the user interface to obtain a thermal response analysis result; Using the thermal response analysis results, adjust the user interface configuration, optimize the layout and code structure, avoid hot spots and non-critical resource consumption, and conduct experimental tests to obtain an optimized user interface configuration; According to the optimized user interface configuration, the user interface performance is evaluated, the user interface performance is tested by simulating real user operation scenarios, the user interface recovery time and resource consumption are quantitatively analyzed, and the performance test evaluation results are obtained.

2. The user interface testing method of the Kylin system according to claim 1, characterized in that: The interface performance initialization data includes the average response time of interface elements, peak and valley resource usage, and memory consumption of the Kylin system. The dynamic load response data includes the CPU and GPU usage, response delay time, and user interface rendering speed recorded under differentiated simulated user operations. The thermal response analysis results include CPU temperature changes under continuous load, thermal distribution information of interface elements, and cooling efficiency. The optimized user interface configuration includes a redesigned interface layout, optimized resource call strategy, and optimized data caching mechanism. The performance test evaluation results include the data processing speed, resource recovery efficiency, and Kylin system stability of the adjusted user interface in a simulated stress test.

3. The user interface testing method of the Kylin system according to claim 1, characterized in that: Based on the user interface operation requirements of the Kylin system, the interaction time and Kylin system load data are extracted from the interface operation records, and the response time differences and resource utilization of the user interface elements are analyzed. The specific steps for obtaining the interface performance initialization data are as follows: Based on the user interface operation requirements of the Kylin system, the interaction time and Kylin system load data are recorded, and the operation records are timestamped and load measured respectively to obtain the interface operation and Kylin system load records; Based on the interface operation and Kylin system load records, analyze the response time differences of user interface elements, collect statistics on resource utilization efficiency of differentiated elements, and obtain element response time analysis data through correlation analysis between resource consumption and response speed; The element response time analysis data is used to evaluate the performance of differentiated user interface elements, adjust resource allocation, optimize element loading sequence and memory allocation, and obtain interface performance initialization data.

4. The user interface testing method of the Kylin system according to claim 1, characterized in that: The steps of using the interface performance initialization data to simulate differentiated user interaction behaviors, perform random load and task switching tests on the user interface, record the response information of the user interface under various stress conditions, analyze the change trend of the user interface performance, and obtain dynamic load response data are as follows: Based on the interface performance initialization data, differentiated user interaction behaviors are simulated, user operation scenarios are constructed in a simulation environment, random loads are applied to the user interface and task switching is performed to obtain interface simulation test records; Through the interface simulation test record, the response information of the user interface under various stress conditions is recorded, including loading time, error rate and resource consumption, and time series analysis and statistics of the data are performed to obtain stress test response data; The stress test response data is used to analyze the changing trend of the user interface performance, compare the data under differentiated operation scenarios, evaluate the stability and efficiency of the user interface performance under dynamic load conditions, and obtain dynamic load response data.

5. The user interface testing method of the Kylin system according to claim 1, characterized in that: The steps of simulating the thermal response of the user interface by using the dynamic load response data, evaluating the thermal efficiency of the user interface under load operation by analyzing the heat flux density and heat conduction velocity of the differentiated part of the user interface, and obtaining the thermal response analysis result are specifically as follows: Based on the dynamic load response data, simulating the thermal response of the user interface, applying the thermal load in the simulation environment, tracking and recording the heat flux density and heat conduction velocity of the differentiated part of the user interface, and obtaining a thermal response simulation record; Through the thermal response simulation record, heat flux density and heat conduction velocity simulation are performed to calculate the heat flux change in the user interaction scenario and obtain thermal efficiency evaluation data; The thermal efficiency evaluation data is used to evaluate the thermal efficiency of the user interface under load operation, identify the thermal stability and performance of the user interface under differentiated conditions, and obtain thermal response analysis results.

6. The user interface testing method of the Kylin system according to claim 5, characterized in that: The formula for calculating the heat flow change in the user interaction scenario is: Among them, Q is the thermal efficiency value of the differentiated interaction scenario, k represents the thermal conductivity of the material, and A g represents the heat exchange area, T2-T1 represents the temperature difference on both sides of the interface, T2 represents the temperature on the high temperature side, T1 represents the temperature on the low temperature side, d represents the thickness of the material, α is the heat conduction adjustment coefficient, ΔT is the difference between the real-time temperature and the reference temperature T ref The difference.

7. The user interface testing method of the Kylin system according to claim 1, characterized in that: Using the thermal response analysis results, the user interface configuration is adjusted to optimize the layout and code structure, avoid hot spots and non-critical resource consumption, and experimental tests are performed to obtain the optimized user interface configuration steps as follows: Based on the thermal response analysis results, the user interface configuration is adjusted, the interface layout and code structure are optimized, and resource allocation is performed to avoid hot spots, so as to obtain an adjusted interface configuration solution; Implement the adjusted interface configuration scheme, avoid non-critical resource consumption, conduct experimental tests on the optimized user interface, track and record performance changes and resource utilization efficiency of the interface, and obtain experimental test data; The experimental test data is used to analyze the performance optimization and resource efficiency of the user interface, evaluate the effect of the interface configuration adjustment, and obtain the optimized user interface configuration.

8. The user interface testing method of the Kylin system according to claim 1, characterized in that: According to the optimized user interface configuration, the user interface performance is evaluated, the performance of the user interface is tested by simulating real user operation scenarios, and the user interface recovery time and resource consumption are quantitatively analyzed to obtain the performance test evaluation results. Specifically, the steps are as follows: Based on the optimized user interface configuration, perform user interface performance evaluation, reproduce real user operation scenarios in a simulation environment, test the response speed and resource usage of the user interface, calculate the user interface performance difference, and obtain a performance test record; Through the performance test records, the loading speed and operation response time of the user interface are tested, the interface recovery time and resource consumption are quantitatively analyzed, and initialization performance analysis data is obtained; The initialization performance analysis data is used to evaluate the overall performance of the user interface under simulated operation, compare the performance changes before and after optimization, identify the performance optimization indicators, and obtain the performance test evaluation results.

9. The user interface testing system of the Kylin system according to claim 8, characterized in that: The formula for calculating the user interface performance difference is: Among them, R is the performance difference value, S A Represents the user interface response speed of solution A, S B represents the user interface response speed of solution B, W A and W B Represent the resource utilization rates of Plan A and Plan B respectively, T a The test duration.

10. A user interface testing system for a Kylin system, characterized in that: According to the user interface testing method of the Kylin system according to any one of claims 1 to 9, the system comprises: The load condition identification module extracts the interaction time and the load data of the Kylin system based on the user interface operation requirements of the Kylin system, identifies the time difference of the interface operation and the load condition of the Kylin system, and obtains the load data record; The model building module uses the load data records to analyze the response time and resource utilization of the user interface elements and build a performance baseline model; The behavior simulation module simulates differentiated user interaction behaviors according to the performance baseline model, performs random load and task switching tests on the user interface, and obtains dynamic load response records; The thermal efficiency analysis module analyzes the heat flux density and heat conduction velocity in the dynamic load response record, evaluates the thermal efficiency of the user interface under the differentiated load, and obtains a thermal response analysis result; The interface adjustment module adjusts the user interface configuration according to the thermal response analysis result, optimizes the interface layout and code structure, and obtains an optimized user interface configuration; The performance verification module adopts the optimized user interface configuration, performs user interface performance evaluation by simulating real user operation scenarios, performs quantitative analysis on the user interface recovery time and resource consumption, and obtains performance test evaluation results.