CN-122019350-A - Automatic positioning method for computer graphics application compatibility conflict
Abstract
The invention discloses a computer graphic application compatibility conflict automatic positioning method, which relates to the technical field of computer graphic processing and has the technical scheme that the method comprises the following steps of obtaining conflict association multi-source data of a computer graphic application; the conflict association multi-source data comprises code compiling adaptation data, graphic rendering output data, system resource scheduling data and cross-platform interaction log data, conflict feature vectors are obtained by carrying out anomaly detection and feature extraction on the conflict association multi-source data, conflict type tags are matched according to the conflict feature vectors, and conflict influence assessment parameters are generated according to the conflict type tags, wherein the conflict influence assessment parameters comprise comprehensive quantification indexes of conflict application operation performance, function realization and user experience, the effect is that resource waste of full verification is avoided, positioning accuracy and verification efficiency are effectively balanced, and conflict investigation cost under a cross-platform scene is remarkably reduced.
Inventors
- XIAO CHENG
- ZOU XIAOWEI
Assignees
- 湖南大学
Dates
- Publication Date
- 20260512
- Application Date
- 20260130
Claims (8)
- 1. A computer graphics application compatibility conflict automation positioning method, characterized in that the method comprises the following steps: The method comprises the steps of obtaining conflict-associated multi-source data of a computer graphic application, wherein the conflict-associated multi-source data comprises code compiling adaptation data, graphic rendering output data, system resource scheduling data and cross-platform interaction log data; performing anomaly detection and feature extraction on conflict-associated multi-source data to obtain conflict feature vectors, matching conflict type labels according to the conflict feature vectors, and generating conflict influence assessment parameters according to the conflict type labels, wherein the conflict influence assessment parameters comprise conflict application operation performance, function realization and comprehensive quantization indexes of user experience; determining a key verification dimension of conflict positioning according to the conflict influence evaluation parameters and preset positioning requirements, and judging resource loss of the key verification dimension to obtain a conflict positioning confidence coefficient; Based on the component dependency relationship of the computer graphics application, the conflict related components are subjected to priority ranking to obtain a core conflict component and a secondary conflict component, and a component positioning efficiency coefficient is obtained according to the verification complexity and the association strength of the core conflict component and the secondary conflict component; and automatically positioning the conflict of the computer graphic application according to the conflict positioning confidence coefficient and the component positioning efficiency coefficient.
- 2. The automatic positioning method for computer graphics application compatibility conflict as claimed in claim 1, wherein the method comprises the steps of: carrying out grammar judgment and compatibility rule verification on code compiling adaptation data, and extracting compiling layer characteristics, wherein the compiling layer characteristics comprise compiling error codes, incompatible grammar structures and dependency library version conflicts; Performing pixel level comparison and rendering quality evaluation on the graphic rendering output data, and extracting rendering layer characteristics, wherein the rendering layer characteristics comprise picture distortion parameters, a frame rate fluctuation range and rendering stuck time; Carrying out real-time monitoring and statistical judgment on system resource scheduling data, and extracting resource layer characteristics, wherein the resource layer characteristics comprise CPU occupation peak value, memory leakage quantity and GPU computing power distribution duty ratio; Performing log analysis and semantic mining on cross-platform interaction log data, and extracting interaction layer characteristics, wherein the interaction layer characteristics comprise interaction protocol incompatibility identification, data transmission failure record and platform response abnormal information; and combining the extracted compiling layer characteristics, rendering layer characteristics, resource layer characteristics and interaction layer characteristics to form conflict characteristic vectors.
- 3. The automated positioning method for computer graphics application compatibility conflict as claimed in claim 2, wherein the conflict type tag is matched according to the conflict feature vector, and the conflict influence assessment parameter is generated according to the conflict type tag, and specifically comprising the steps of: Presetting a conflict type tag library, wherein the conflict type tag library comprises feature vector templates corresponding to various compatibility conflicts and influence weight configuration, and each conflict type tag is associated with an influence assessment dimension; Calculating the similarity between the conflict feature vector and each feature vector template in the tag library, and marking the conflict type tag corresponding to the feature vector template with the highest similarity as a target tag; And calculating based on the influence evaluation dimension corresponding to the target label and the quantized value of each feature in the conflict feature vector to obtain a conflict influence evaluation parameter.
- 4. A computer graphics application compatibility conflict automation localization method according to claim 3, characterized in that the key verification dimension of the conflict localization is determined according to the conflict influence assessment parameter and the preset localization requirement, specifically comprising the following steps: taking the operation performance influence value, the function realization influence value and the user experience influence value in the conflict influence evaluation parameter as influence factors respectively, and calculating the influence factors to obtain a comprehensive influence value; If the comprehensive influence value is greater than or equal to a preset high influence threshold, the key verification dimension comprises full dimension verification of a code layer, a rendering layer, a resource layer and an interaction layer; if the comprehensive influence score is smaller than a preset high influence threshold and larger than or equal to a preset middle influence threshold, the key verification dimension comprises a rendering layer and an interaction layer verification corresponding to the core function; if the comprehensive influence score is smaller than a preset middle influence threshold, the key verification dimension only reserves the resource layer verification related to the running performance; and screening out candidate verification dimensions meeting the reliability threshold requirement by combining the positioning requirement, and combining the candidate verification dimensions to form a key verification dimension.
- 5. The automatic positioning method for computer graphics application compatibility conflict as claimed in claim 4, wherein the resource loss judgment is performed on the key verification dimension to obtain the conflict positioning confidence coefficient, and the method specifically comprises the following steps: accounting the resource loss parameters corresponding to the key verification dimension, wherein the resource loss parameters comprise computing power resources, time cost and storage resource occupation amount required by the verification process; calculating a resource loss adaptation rate based on the resource loss parameter and a preset maximum resource loss threshold; And calculating a conflict positioning confidence coefficient by combining the comprehensive influence value of the conflict influence evaluation parameter, wherein the conflict positioning confidence coefficient is in positive correlation with the comprehensive influence value, and the conflict positioning confidence coefficient is in negative correlation with the resource loss adaptation rate.
- 6. The automated positioning method for computer graphics application compatibility conflict as recited in claim 5, wherein prioritizing conflict-related components based on component dependencies of the computer graphics application results in a core conflict component and a secondary conflict component, comprising the steps of: Identifying all functional components of the application and dependency relationships among the components, including direct dependencies and indirect dependencies, through a component dependency determination tool; calculating conflict propagation weight of each component, wherein the conflict propagation weight is an influence range and degree quantization value of the component on other components when the component collides; and setting a weight threshold, marking components with collision propagation weights greater than or equal to the threshold as core collision components, and marking components with collision propagation weights smaller than the threshold as secondary collision components.
- 7. The automated positioning method of computer graphics application compatibility conflict as recited in claim 6, wherein the component positioning efficiency coefficient is obtained based on the verification complexity and association strength of the core conflict component and the secondary conflict component, comprising the steps of: Determining the verification complexity coefficient of each conflict component by judging the code scale, the logic complexity and the interface number of the components; Calculating the association strength value of each conflict component and the compatibility conflict feature vector; And calculating a component positioning efficiency coefficient by taking the conflict propagation weight of the core conflict component and the secondary conflict component as a basic weight and combining the verification complexity coefficient and the correlation strength value.
- 8. The automated positioning method for computer graphics application compatibility conflict as recited in claim 7, wherein automatically positioning the conflict of the computer graphics application based on the conflict positioning confidence coefficient and the component positioning efficiency coefficient, comprises the steps of: if the conflict positioning confidence coefficient is greater than or equal to the component positioning efficiency coefficient, synchronously carrying out verification and investigation on the core conflict component and the secondary conflict component according to the key verification dimension until the conflict source is positioned; if the conflict positioning confidence coefficient is smaller than the component positioning efficiency coefficient, performing key verification and investigation on the core conflict component according to the key verification dimension, gradually verifying the secondary conflict component after the key verification dimension is completed, and ending the follow-up verification flow if the conflict source is positioned halfway.
Description
Automatic positioning method for computer graphics application compatibility conflict Technical Field The invention relates to the technical field of computer graphics processing, in particular to an automatic positioning method for computer graphics application compatibility conflict. Background With the deep penetration of computer graphics technology in the fields of game development, industrial simulation, digital twinning and the like, the cross-platform deployment requirement of graphics application is increased in an explosive manner. The compatibility conflict problem is increasingly prominent when the application runs under the hardware environments of Windows, linux, mobile terminals and other multiple operating systems and different GPU architectures and driving versions. The conflict inducement is often distributed in a full link from code compiling to cross-platform interaction, such as mismatching of dependency library versions in a compiling stage, pipeline adaptation difference in a rendering stage, unbalanced calculation power distribution in a resource scheduling stage, or protocol isomerism in an interaction stage, and finally, the conflict inducement is manifested as picture distortion, frame rate dip, abnormal functions and even application collapse, so that the landing efficiency and user experience of the graphic application are severely restricted. Traditional compatibility conflict positioning mainly relies on empirical investigation of developers, and solves the problem of positioning by full log analysis and manual breakpoint debugging. This mode is not only labor-intensive, and has a long positioning cycle, but also makes it difficult to comb the dependency relationships and collision propagation paths between components when applied to complex graphics containing tens or hundreds of components. In addition, the prior art is used for detecting the multi-focus single-dimension abnormality, for example, only performing isolation analysis on rendering output or resource occupation data, and is lack of full-link associated modeling of code compiling, graphic rendering, resource scheduling and cross-platform interaction, so that the underlying source of conflict is difficult to trace back from the system level. Disclosure of Invention Aiming at the defects existing in the prior art, the invention aims to provide an automatic positioning method for computer graphics application compatibility conflict. In order to achieve the above purpose, the present invention provides the following technical solutions: a computer graphics application compatibility conflict automation localization method, the method comprising the steps of: The method comprises the steps of obtaining conflict-associated multi-source data of a computer graphic application, wherein the conflict-associated multi-source data comprises code compiling adaptation data, graphic rendering output data, system resource scheduling data and cross-platform interaction log data; performing anomaly detection and feature extraction on conflict-associated multi-source data to obtain conflict feature vectors, matching conflict type labels according to the conflict feature vectors, and generating conflict influence assessment parameters according to the conflict type labels, wherein the conflict influence assessment parameters comprise conflict application operation performance, function realization and comprehensive quantization indexes of user experience; determining a key verification dimension of conflict positioning according to the conflict influence evaluation parameters and preset positioning requirements, and judging resource loss of the key verification dimension to obtain a conflict positioning confidence coefficient; Based on the component dependency relationship of the computer graphics application, the conflict related components are subjected to priority ranking to obtain a core conflict component and a secondary conflict component, and a component positioning efficiency coefficient is obtained according to the verification complexity and the association strength of the core conflict component and the secondary conflict component; and automatically positioning the conflict of the computer graphic application according to the conflict positioning confidence coefficient and the component positioning efficiency coefficient. Preferably, the method for performing anomaly detection and feature extraction on the conflict-associated multi-source data to obtain conflict feature vectors specifically comprises the following steps: carrying out grammar judgment and compatibility rule verification on code compiling adaptation data, and extracting compiling layer characteristics, wherein the compiling layer characteristics comprise compiling error codes, incompatible grammar structures and dependency library version conflicts; Performing pixel level comparison and rendering quality evaluation on the graphic rendering output data, and ex