Interface element importance evaluation method and device based on fuzzy analytic hierarchy process
By using fuzzy hierarchical analysis to assess the importance of interface elements, constructing fuzzy complementary judgment matrices and feature matrices, and optimizing the interface layout, the problem of insufficient accuracy in assessing the importance of interface elements and low matching degree of layout optimization schemes is solved, thereby improving the rationality of the interface layout and user experience.
Patent Information
- Application Number
- CN202510992094.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-18
- Publication Date
- 2025-11-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing technologies, the accuracy of the importance assessment of interface elements is insufficient, and the layout optimization scheme has a low degree of matching with the actual needs of users. As a result, the layout of interface elements is difficult to take into account multi-dimensional interaction indicators and space utilization, which affects the user's operating efficiency and cognitive load.
A fuzzy hierarchical analysis-based method is adopted. By receiving the layout data of interface elements and the fuzzy complementary judgment matrix, a fuzzy complementary judgment matrix and a feature matrix are constructed to determine the factor weights and compatibility of interface elements, optimize the layout of interface elements, and combine historical interaction heat data and interface parameters to meet the preset optimization constraints.
It improves the accuracy of the importance of interface elements and the efficiency of layout optimization, balances functional priority with space utilization, and enhances the logic of interface layout and user experience.
Smart Images

Figure CN120909579A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent interface design, and particularly relates to an interface element importance evaluation method and device based on fuzzy analytic hierarchy process. BACKGROUND
[0002] With the rapid development of digital applications, users have increasingly high requirements for the interactive experience of software interfaces. The rationality of interface information structure and the scientificity of layout directly affect the user operation efficiency, visual comfort and response speed of the system in which the software is located.
[0003] In the prior art, the experience judgment and subjective intuition of a software interface designer are mainly relied on, and are converted into a multi-condition constraint problem to obtain an analytical solution to determine the layout of interface elements. However, the layout obtained by relying on artificial experience is difficult to quantify the importance level of interface elements, so that the matching degree of the layout structure and the user operation habit is insufficient. When there are many interface elements, the layout scheme designed by artificial design is difficult to consider multi-dimensional interactive indicators, and it is difficult to balance the functional priority and space utilization, which affects the operation efficiency and cognitive load of the user. SUMMARY
[0004] In view of the problems in the prior art, the present application provides an interface element importance evaluation method and device based on fuzzy analytic hierarchy process, which can effectively solve the problems of insufficient evaluation accuracy of interface element importance, low matching degree of layout optimization scheme and actual user demand in the prior art, and significantly improve the accuracy of interface element importance. At the same time, the key interface elements can be quickly identified to optimize the layout mode and improve the layout efficiency.
[0005] In order to solve at least one of the above problems, the present application provides the following technical scheme: In a first aspect, the present application provides an interface element importance evaluation method based on fuzzy analytic hierarchy process, comprising: receiving layout data of interface elements, the layout data comprising interface elements, a preset hierarchy corresponding to the interface elements, and a total number of interface elements; receiving an index structure corresponding to a fuzzy complementary judgment matrix, collecting index data of the interface elements at the current preset hierarchy, and constructing the fuzzy complementary judgment matrix based on the total number of elements and the index data; determining the factor weight of each interface element in the fuzzy complementary judgment matrix based on the total number of elements and the matrix elements in the fuzzy complementary judgment matrix corresponding to the current preset hierarchy, and determining a feature matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements; The compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix is determined based on a compatibility calculation rule, and in a case where the compatibility is not greater than a preset compatibility threshold, the current layout data is marked as important layout data, so as to determine the importance of each interface element based on the important layout data and optimize the layout mode of the current interface element, wherein the compatibility calculation rule is: ; wherein I represents the compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, A represents the fuzzy complementary judgment matrix, B represents the characteristic matrix, n represents the total number of elements, i represents the row, j represents the column, a represents the matrix element in the fuzzy complementary judgment matrix, and b represents the matrix element in the characteristic matrix.
[0006] Further, the layout data further includes historical interaction heat data; the index data corresponding to the interface element at the current preset level is collected, and further includes: Based on the historical interaction heat data, the click data of each interface element and the interface coordinates corresponding to the interface element are extracted, and the click data includes the click frequency, the stay time and the path operation weight; For the historical interaction heat data of each interface element corresponding to each interface coordinate, the click data is normalized by the maximum and minimum normalization method and mapped into a preset interval to obtain a normalized result; The initial index data corresponding to the interface element at the current preset level is collected, and the initial index data is adjusted based on the normalized result to obtain the index data corresponding to the current preset level.
[0007] Further, it further includes: determining any two interface elements as target interface elements, and determining the ratio of the index data corresponding to the target interface elements as the relative importance between the target interface elements; A preset fuzzy expansion coefficient is obtained, and the relative importance is expanded by the preset fuzzy expansion coefficient to obtain a maximum importance threshold and a minimum importance threshold of the relative importance; The maximum importance threshold, the relative importance and the minimum importance threshold are determined as triangular fuzzy numbers corresponding to the target interface elements; All interface elements are traversed to obtain triangular fuzzy numbers between any two interface elements, and a fuzzy complementary judgment matrix is constructed based on all triangular fuzzy numbers.
[0008] Further, it further includes: obtaining interface parameters corresponding to the interface where the interface element is placed, and the interface parameters include the interface size, the resolution and the pixel density; The importance of each interface element is determined based on the important layout data, and the importance ranking corresponding to the current important layout data is determined based on the importance; receive preset optimization constraint conditions, and optimize the layout mode of the current interface element based on the interface parameter, the importance ranking, and the preset optimization conditions.
[0009] Further, the preset optimization constraint conditions include a first constraint condition, a second constraint condition, and a third constraint condition. The first constraint condition is that the sum of the element areas corresponding to all the interface elements is not more than a preset interface area, and the preset interface area is determined based on the interface size. The second constraint condition is that the spacing between any two interface elements is not less than a preset spacing threshold. The third constraint condition is that all the interface elements are completely displayed on the interface.
[0010] Further, after determining the compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on the compatibility calculation rule, the method further includes: In a case where the compatibility is greater than a preset compatibility threshold, the deviation degree of each matrix element in the fuzzy complementary judgment matrix is determined. For each matrix element, in a case where the deviation degree is greater than a preset deviation degree, a prompt message is sent, the updated matrix element is received based on the prompt message, and the current fuzzy complementary judgment matrix, the characteristic matrix corresponding to the fuzzy complementary judgment matrix, and the compatibility are updated based on the updated matrix element, until the updated compatibility is not greater than the preset compatibility threshold. In a case where the deviation degree is not greater than the preset deviation degree, the current matrix element is maintained.
[0011] In a second aspect, the application provides an interface element importance evaluation device based on fuzzy analytic hierarchy process, which includes: A receiving module is configured to receive layout data of interface elements, the layout data including the interface elements, preset levels corresponding to the interface elements, and a total element quantity of the interface elements. A constructing module is configured to receive an index structure corresponding to a fuzzy complementary judgment matrix, collect index data corresponding to a current preset level of the interface elements, and construct the fuzzy complementary judgment matrix based on the total element quantity and the index data. A first processing module is configured to determine the factor weight of each interface element in the fuzzy complementary judgment matrix based on the total element quantity and the matrix elements in the fuzzy complementary judgment matrix corresponding to the current preset level, and determine a characteristic matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements. A second processing module is configured to determine the compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on a compatibility calculation rule, mark the current layout data as important layout data in a case where the compatibility is not greater than a preset compatibility threshold, determine the importance of each interface element based on the important layout data, and optimize the layout mode of the current interface element, wherein the compatibility calculation rule is: ; wherein I represents the compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, A represents the fuzzy complementary judgment matrix, B represents the characteristic matrix, n represents the total number of elements, i represents the row, j represents the column, a represents the matrix element in the fuzzy complementary judgment matrix, and b represents the matrix element in the characteristic matrix.
[0012] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable in the processor, wherein the processor executes the program to implement the steps of the interface element importance evaluation method based on fuzzy analytic hierarchy process.
[0013] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the steps of the interface element importance evaluation method based on fuzzy analytic hierarchy process.
[0014] In a fifth aspect, the present application provides a computer program product, comprising computer programs / instructions, wherein the computer programs / instructions are executed by a processor to implement the steps of the interface element importance evaluation method based on fuzzy analytic hierarchy process.
[0015] According to the technical solution, the application provides an interface element importance evaluation method and device based on fuzzy analytic hierarchy process. The layout data of the interface element is innovatively received, wherein the layout data includes the interface element, a preset level corresponding to the interface element, and a total element quantity of the interface element. An index structure corresponding to a fuzzy complementary judgment matrix is received. Index data corresponding to the current preset level of the interface element is collected. The fuzzy complementary judgment matrix is constructed based on the total element quantity and the index data. The factor weight of each element interface in the fuzzy complementary judgment matrix is determined according to the total element quantity and the matrix elements in the fuzzy complementary judgment matrix corresponding to the current preset level. The characteristic matrix corresponding to the fuzzy complementary judgment matrix is determined according to the element interface. The compatibility between the fuzzy complementary judgment matrix and the characteristic matrix is determined. The layout data with a compatibility less than a preset compatibility value is marked as important layout data. The importance of each interface element is determined according to the important layout data. The layout mode of the current interface element is optimized. The relative importance of the interface element in different preset levels can be accurately determined according to the fuzzy complementary judgment matrix and the fuzzy complementary judgment matrix, the accuracy of determining the importance of the interface element is improved, the layout rationality of the interface element can be effectively evaluated, the layout mode of the current interface element is optimized according to the important layout data, the functional priority and the space utilization rate of each interface element in the layout mode are balanced, the logic of the interface layout and the matching degree with the actual needs of the user are improved, and the user experience is improved. The method effectively solves the problems of the traditional technology, such as insufficient evaluation accuracy of the importance of the interface element and low matching degree between the layout optimization scheme and the actual needs of the user, significantly improves the accuracy of the importance of the interface element, and quickly identifies the key interface element to optimize the layout mode and improve the layout efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0017] Figure 1 The flowchart of the interface element importance evaluation method based on fuzzy analytic hierarchy process in the embodiments of the present application is shown. Figure 2 The structural diagram of the interface element importance evaluation device based on fuzzy analytic hierarchy process in the embodiments of the present application is shown. Figure 3 The structural diagram of the electronic device in the embodiments of the present application is shown.
[0018] Reference signs: The electronic device 9600, the central processor 9100, the memory 9140, the communication module 9110, the input unit 9120, the audio processor 9130, the display 9160, the power supply 9170, the buffer memory 9141, the application / function storage unit 9142, the data storage unit 9143, the driver program storage unit 9144, the antenna 9111, the speaker 9131, and the microphone 9132. DETAILED DESCRIPTION
[0019] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0020] The acquisition, storage, use, processing and the like of data in the technical solutions of the present application comply with relevant provisions of national laws and regulations.
[0021] In order to effectively solve the problems of insufficient evaluation accuracy of interface element importance, low matching degree of layout optimization scheme and actual user demand and the like in the prior art, significantly improve the accuracy of interface element importance, and quickly identify key interface elements to optimize the layout mode and improve the layout efficiency, an embodiment of an interface element importance evaluation method based on fuzzy analytic hierarchy process is provided in the present application, as shown in Figure 1 , which specifically includes the following contents. Step S101: receiving layout data of interface elements.
[0022] The layout data includes interface elements, preset levels corresponding to the interface elements, and total element quantity of the interface elements.
[0023] Optionally, the embodiment receives layout data of interface elements, wherein the interface elements can include but are not limited to text boxes, buttons, picture display areas and navigation bars, so as to constitute basic units of a user interface according to the interface elements. The layout data includes interface elements, preset levels corresponding to the interface elements and total quantity of the interface elements.
[0024] The preset levels corresponding to the interface elements can be fusion importance, use frequency, relevance, operation procedure, operation path and layout uniformity between the interface elements, so as to determine the importance of each interface element to be laid out in different preset levels.
[0025] The total element quantity is a statistical value for explicitly indicating the total number of elements in the current interface that need to be laid out, and the layout data can be preset and stored by the developer when designing the interface, and the layout data is received from the data storage area through a data interface and a reading protocol, so that the layout of the interface elements is performed according to the layout data when the layout is performed.
[0026] The embodiment realizes receiving detailed interface layout data, enhances the structural integrity and hierarchical plasticity of the layout, and improves the accuracy of interface element analysis.
[0027] Step S102: receiving an index structure corresponding to the fuzzy complementary judgment matrix, collecting index data of the interface elements corresponding to the current preset level, and constructing the fuzzy complementary judgment matrix based on the total element quantity and the index data.
[0028] Optionally, the embodiment receives an index structure corresponding to the fuzzy complementary judgment matrix, and collects index data of the interface elements corresponding to the current preset level, wherein the index data can be obtained by comparing the importance of the interface elements at the same preset level according to the index structure by a domain expert or a user, and the comparison result can be recorded by using a reverse symmetric scale value of 0.1-0.9.
[0029] The index structure can be marked in the manner shown in Table 1 to obtain corresponding index data. Table 1: Judgment index table of fuzzy analytic hierarchy process
[0030] wherein, r i represents an interface element, r j represents another interface element, and r ij represents a matrix factor corresponding to the relative importance between the two interface elements, and the properties of the fuzzy complementary judgment matrix obtained in this way can be represented as: and wherein, r ii represents the intersection of the row and column of the interface element in the fuzzy complementary judgment matrix, and n represents the total element quantity, and the fuzzy complementary judgment matrix can quantitatively describe the relative importance of the two interface elements at the same preset level.
[0031] In addition, by traversing all the interface elements and in the above manner, an n*n fuzzy complementary judgment matrix can be established, and n represents the total element quantity.
[0032] Further, the complementary feature of the fuzzy complementary judgment matrix can be automatically checked, the comparison items that do not satisfy the properties of the fuzzy complementary judgment matrix can be marked in red for prompting, and manual review and correction are supported to obtain a standardized matrix that satisfies the properties of the fuzzy complementary judgment matrix.
[0033] The embodiment realizes the objectivity of the importance evaluation of the interface elements, the constructed fuzzy complementary judgment matrix can reflect the importance relationship between the interface elements, the characteristics and the importance of the interface elements are quantified, and the matching degree of the interface layout and the user demand is improved.
[0034] Step S103: determining the factor weight of each interface element in the fuzzy complementary judgment matrix based on the total element quantity and the matrix element in the fuzzy complementary judgment matrix corresponding to the current preset level, and determining the characteristic matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements.
[0035] Optionally, the embodiment determines the factor weight of each interface element in the fuzzy complementary judgment matrix according to the total element quantity and the matrix element in the fuzzy complementary judgment matrix corresponding to the current preset level through a factor weight calculation manner.
[0036] The factor weight calculation manner can be expressed in the following manner: ; Among them, represents the factor weight of the interface element r in the current preset level, r i represents the interface element, r j represents another interface element, r ij represents the matrix factor corresponding to the relative importance between the two interface elements, and n represents the total element quantity.
[0037] In addition, the characteristic matrix corresponding to the fuzzy complementary matrix is determined according to the factor weight corresponding to the interface element and the performance of the interface element in the fuzzy complementary judgment matrix. The characteristic matrix can reflect the mathematical structure of the comprehensive characteristics of the interface elements under the current preset level. The characteristic value corresponding to each interface element corresponding to the current fuzzy complementary judgment matrix can be obtained through a characteristic calculation manner corresponding to the characteristic matrix, and the characteristic matrix corresponding to the current fuzzy complementary judgment matrix is formed by the characteristic value.
[0038] The characteristic calculation manner can be expressed in the following manner: ; Among them, ij represents the characteristic value corresponding to the current matrix factor, W i represents the interface element r i in the current preset level, r j represents the interface element, r j in the current preset level, and W ij is used to construct the characteristic matrix. The manner of constructing the characteristic matrix can be expressed in the following manner: ; Among them, wherein n represents the total number of elements.
[0039] Further, the feature matrix corresponding to the fuzzy complementary judgment matrix of the current preset level can be determined through a deep learning feature matrix generation algorithm, that is, a neural network model is trained with a large amount of historical interface layout data, user interaction data and corresponding fuzzy complementary judgment matrix as training samples, so that the neural network model learns the feature patterns under different preset levels and different indicators. When receiving new layout data and fuzzy complementary judgment matrix, the neural network model can generate the corresponding feature matrix, and with the continuous input of new data, the parameters of the neural network model can be automatically updated and optimized to continuously improve the feature matrix. In addition, data clustering technology can be combined to classify and integrate similar interface element features, further improving the simplicity and representativeness of the feature matrix.
[0040] The embodiment realizes that the relative importance and layout rationality of the interface elements under the same preset level can be determined more accurately by determining the factor weight in the fuzzy complementary judgment matrix and the feature matrix, thereby optimizing the interface layout, so that the optimized interface layout can better meet the actual needs and operation habits of the user.
[0041] Step S104: determining the compatibility between the current fuzzy complementary judgment matrix and the feature matrix based on a compatibility calculation rule, and marking the current layout data as important layout data when the compatibility is not greater than a preset compatibility threshold, so as to determine the importance of each interface element based on the important layout data and optimize the layout mode of the current interface element.
[0042] wherein the compatibility calculation rule is: ; wherein I represents the compatibility between the fuzzy complementary judgment matrix and the feature matrix, A represents the fuzzy complementary judgment matrix, B represents the feature matrix, n represents the total number of elements, i represents the row, j represents the column, a represents the matrix element in the fuzzy complementary judgment matrix, and b represents the matrix element in the feature matrix.
[0043] Optionally, the embodiment obtains the fuzzy complementary judgment matrix and the feature matrix of the interface elements under the current preset level, and determines the compatibility between the current fuzzy complementary judgment matrix and the feature matrix corresponding to the fuzzy complementary judgment matrix according to the compatibility calculation rule, wherein the compatibility calculation rule can be represented by the following formula: ; Wherein, I represents the compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, A represents the fuzzy complementary judgment matrix, B represents the characteristic matrix, n represents the total number of elements, i represents the row, j represents the column, a represents the matrix element in the fuzzy complementary judgment matrix, and b represents the matrix element in the characteristic matrix.
[0044] In addition, after obtaining the compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, in the case that the compatibility is not greater than a preset compatibility threshold, it can be indicated that the judgment by the fuzzy complementary judgment matrix and the characteristic matrix has consistent satisfaction, wherein the smaller the preset compatibility threshold is, the higher the requirement of the decision maker on the fuzzy complementary judgment matrix corresponding to the current preset level is, and the default value of the preset compatibility threshold can be set to 0.1.
[0045] In addition, the layout data corresponding to the case that the compatibility is not greater than the preset compatibility value is marked as important layout data, so that the importance of each interface element can be determined according to the important layout data, and the layout mode of the current interface element can be optimized, so that the current interface element can be laid out according to the optimized layout mode.
[0046] Further, a distributed compatibility calculation architecture can be constructed, the compatibility calculation task can be decomposed into multiple subtasks, and the subtasks can be distributed to different computing nodes for parallel processing. In addition, a computing load balancing strategy can be introduced in the distributed architecture, the task distribution can be dynamically adjusted according to the real-time computing resource occupation of each node, and the efficiency and stability of the compatibility calculation process can be ensured to shorten the compatibility calculation time, improve the processing capacity of large-scale interface layout data, and improve the generality of the interface layout optimization mode.
[0047] The embodiment realizes the determination of important layout data through the compatibility calculation rule, enhances the objectivity of interface element importance evaluation and the verifiability of the calculation process, improves the matching accuracy of the layout optimization mode and the user's cognitive habit, and thus improves the user experience and the interface usability.
[0048] The embodiment realizes the accurate determination of the relative importance of the interface elements at different preset levels according to the fuzzy complementary judgment matrix and the fuzzy complementary judgment matrix, improves the accuracy of determining the importance of the interface elements, and thus can effectively evaluate the layout rationality of the interface elements and optimize the layout mode of the current interface elements according to the important layout data, balances the functional priority and space utilization rate of each interface element in the layout mode, improves the logicality of the interface layout and the matching degree with the actual needs of the user, and thus improves the user experience. The method effectively solves the problems of the traditional technology, such as insufficient accuracy of interface element importance evaluation, low matching degree of the layout optimization scheme and the actual needs of the user, significantly improves the accuracy of the interface element importance, and can quickly identify the key interface elements to optimize the layout mode and improve the layout efficiency.
[0049] In some embodiments, the layout data further comprises historical interaction heat data; The acquisition interface element corresponds to the index data of the current preset level, including: Based on the historical interaction heat data, the click data of each interface element and the interface coordinates corresponding to the interface element are extracted, and the click data includes click frequency, dwell time and path operation weight; For the historical interaction heat data of each interface element corresponding to each interface coordinate, the click data is normalized by the maximum and minimum normalization method and mapped to a preset interval to obtain a normalized result; The acquisition interface element corresponds to the initial index data of the current preset level, and the initial index data is adjusted based on the normalized result to obtain the index data corresponding to the current preset level.
[0050] Optionally, the layout data of the embodiment further comprises historical interaction heat data, wherein the historical interaction heat data is used to reflect the record of the user interaction behavior with the interface element, and by collecting the click behavior, dwell time and operation path of the user on the interface element and other information, a "heat map" reflecting the attention degree and use frequency of the interface element is formed. From the "heat map", the click data of each interface element can be extracted, wherein the click data includes but is not limited to click frequency, dwell time and path operation weight indicators.
[0051] At the same time, the interface coordinates corresponding to the interface element can also be obtained, which represent the position information of the interface element in the current interface. The center position of the interface element can be represented as a point in a two-dimensional coordinate system, and the center position is determined as the interface coordinate of the interface element.
[0052] In addition, after obtaining the historical interaction heat data of the interface element corresponding to each interface coordinate, the click data can be normalized by the maximum and minimum normalization method, wherein the maximum and minimum normalization is a data standardization method, which linearly transforms the data into a preset interval, so that data of different dimensions can be compared and analyzed on the same scale.
[0053] For example, taking the click frequency as an example, the maximum and minimum values of the click frequency are found, and the click frequencies corresponding to the maximum and minimum values are mapped to a preset interval, such as the interval [0, 1]. After the click data is normalized, the normalized result corresponding to the click data is obtained, which can eliminate the influence of different dimensions and dimension units of the click frequency, dwell time and path operation weight, so that the different indicators have comparability and additivity.
[0054] Further, the preset range interval can be set as an adaptive preset range interval. For example, for a news information interface mainly for quick browsing, the distribution of click frequency and stay duration can be relatively scattered, and thus the preset range interval can be appropriately expanded, for example, from the [0, 1] range interval to the [-0.5, 1.5] range interval, so as to better reflect the differences between different interface elements and improve the accuracy and generalization ability of the normalization result.
[0055] In addition, initial index data of the interface element corresponding to the current preset level is collected, and the collected initial index data is adjusted in weight based on the normalization result. For example, if the click frequency normalization value of an interface element is high, it indicates that the interface element has received more attention from users in historical interactions, and the initial index data of the interface element can be appropriately increased in the fusion process to integrate the user preference information included in the historical interaction heat data into the initial index data, so as to obtain the index data corresponding to the current preset level and fused with the historical interaction heat data.
[0056] The embodiment realizes accurate support for interface element layout optimization by collecting initial index data of the interface element corresponding to the current preset level and combining the historical interaction heat data, reduces the maintenance cost and optimization cost, and improves the user experience, interface usability, and efficiency of the optimized layout mode.
[0057] In some embodiments, a fuzzy complementary judgment matrix is constructed, including: Any two interface elements are determined as target interface elements, and the ratio between the index data corresponding to the target interface elements is determined as the relative importance between the target interface elements; A preset fuzzy expansion coefficient is obtained, and the relative importance is expanded by the preset fuzzy expansion coefficient to obtain a maximum importance threshold and a minimum importance threshold of the relative importance; The maximum importance threshold, the relative importance, and the minimum importance threshold are determined as triangular fuzzy numbers corresponding to the target interface elements; All interface elements are traversed to obtain triangular fuzzy numbers between any two interface elements, and a fuzzy complementary judgment matrix is constructed based on all the triangular fuzzy numbers.
[0058] Optionally, the embodiment determines any two interface elements as target interface elements, the target interface elements can be any combination, for example, one button element and one text box element, obtains the index data corresponding to the two target interface elements, and can obtain the relative importance between the target interface elements by determining the ratio of the index data corresponding to the two target interface elements. For example, if the index data of interface element A is higher than that of interface element B, the relative importance of interface element A relative to interface element B is higher, and the obtained ratio can quantitatively reflect the difference in importance of interface element A relative to interface element B in the user interaction process.
[0059] In addition, a preset fuzzy expansion coefficient is obtained, the fuzzy expansion coefficient can be a parameter preset according to an actual application scenario and expert experience, and is used to consider the fuzziness and uncertainty of the user's subjective judgment. In actual application, since the judgment of the user on the importance of the interface element can not be absolutely accurate, there is a certain fuzzy range, and the fuzzy expansion coefficient can be used to expand the relative importance, so that the fuzzy complementary judgment matrix constructed can more truly reflect the actual situation.
[0060] In addition, according to the preset fuzzy expansion coefficient, the relative importance of the two target interface elements is expanded and calculated to obtain a maximum importance threshold and a minimum importance threshold of the relative importance. The maximum importance threshold and the minimum importance threshold respectively represent the upper limit and the lower limit of the relative importance between the target interface elements after considering the fuzziness. The interval between the maximum importance threshold and the minimum importance threshold can be used to construct a triangular fuzzy number.
[0061] In addition, the maximum importance threshold, the relative importance and the minimum importance threshold are combined into a triangular fuzzy number, and the triangular fuzzy number is used to describe the relative importance relationship between the target interface elements. The triangular fuzzy number is a fuzzy number representation method, which is composed of three parameters, i.e., the minimum importance threshold, the relative importance and the maximum importance threshold, which correspond to the left end point, the middle point and the right end point of the triangular fuzzy number, respectively.
[0062] For example, if the relative importance is r and the fuzzy expansion coefficient is c, the maximum importance threshold can be represented as r×(1+c), and the minimum importance threshold can be represented as r×(1-c). The actual calculation method needs to be adjusted according to the specific application scenario and fuzzy logic rules, so that the relative importance can be converted into a triangular fuzzy number to more comprehensively express the fuzzy range of the relative importance between the target interface elements.
[0063] In addition, all interface elements are traversed to determine the triangular fuzzy numbers between any two interface elements, and the obtained triangular fuzzy numbers form a matrix structure, i.e., a fuzzy complementary judgment matrix.
[0064] Each element in the fuzzy complementary judgment matrix is a triangular fuzzy number, which is used to represent the relative importance of the corresponding row interface element relative to the column interface element, wherein the fuzzy complementary judgment matrix has a complementary characteristic, that is, the triangular fuzzy numbers of the elements (i, j) and (j, i) in the fuzzy complementary judgment matrix are complementary in fuzzy logic, which reflects the mutual relationship of the relative importance between the interface elements.
[0065] For example, if the triangular fuzzy number of the interface element i relative to the interface element j indicates that it is more important, then the triangular fuzzy number of the interface element j relative to the interface element i should correspondingly indicate that it is relatively less important, and both satisfy the complementary relationship under fuzzy operation.
[0066] Further, the triangular fuzzy numbers constructed can be optimized to improve the quality and consistency of the fuzzy complementary judgment matrix. For example, a triangular fuzzy number optimization method based on a particle swarm optimization algorithm or a genetic algorithm can be used to minimize the inconsistency index of the fuzzy complementary judgment matrix as the objective function, and search for the optimal triangular fuzzy number parameter combination under the preset constraint condition.
[0067] At the same time, a matrix correction strategy is determined, and when it is found that the fuzzy complementary judgment matrix has local inconsistency or does not meet the requirement of fuzzy complementarity, the triangular fuzzy numbers in the fuzzy complementary judgment matrix are automatically corrected.
[0068] For example, through fuzzy logic operation and matrix balance adjustment algorithm, the triangular fuzzy numbers in the fuzzy complementary judgment matrix are iteratively adjusted so that they gradually meet the complementary requirement and as far as possible to maintain the rationality of the original relative importance relationship, so as to improve the reliability and effectiveness of the fuzzy complementary judgment matrix.
[0069] The embodiment realizes that through the process of constructing the fuzzy complementary judgment matrix, the accuracy, adaptability and intelligent level of the interface layout optimization can be effectively improved, so that the interface layout optimized according to the fuzzy complementary judgment matrix can better fit the actual operation habits and preferences of users, improve user experience, and at the same time improve overall efficiency and usability, and realize the best matching between interface design and user demand.
[0070] In some embodiments, the importance of each interface element is determined based on important layout data, and the layout mode of the current interface element is optimized, including: The interface parameters corresponding to the interface where the interface element is placed are obtained, and the interface parameters include interface size, resolution and pixel density; The importance of each interface element is determined based on important layout data, and the importance ranking corresponding to the current important layout data is determined based on the importance. The preset optimization constraint condition is received, and the layout mode of the current interface element is optimized based on the interface parameter, the importance ranking, and the preset optimization condition.
[0071] Optionally, the interface parameter corresponding to the interface where the interface element is placed is obtained, wherein the interface parameter includes but is not limited to the interface size, the resolution, and the pixel density.
[0072] The interface size determines the physical size of the interface, and the width and height of the interface are expressed in pixels, for example, the interface size of 1920x1080 pixels, the resolution refers to the number of pixel points contained in a unit length on the interface, which can be measured by the number of pixels per inch (PPI), the resolution can affect the clarity and detail performance of the interface element, the pixel density is related to the resolution, and determines the number of pixel points that can be displayed on the same physical area, and high pixel density represents a more delicate image display effect and more fine interface element presentation.
[0073] Further, the interface parameter can be automatically adjusted according to different device types, screen sizes, and user preferences. For example, when the application is running on different size mobile devices (such as mobile phones, tablet computers) and desktop devices, the screen size and resolution of the device can be automatically detected, and the interface size, resolution, and pixel density can be dynamically adjusted according to the preset parameter adjustment rules.
[0074] At the same time, the user preference settings can be combined, such as the user's personalized requirements for font size and interface element spacing, to further fine-tune the interface parameter, so that the interface layout can achieve the best display effect and operation experience on different devices and user environments.
[0075] In addition, according to the important layout data, the importance of each interface element can be determined through the importance calculation rule, wherein the important layout data includes the weight of the interface element at different levels, the feature matrix information, and the relative importance in the fuzzy complementary judgment matrix, which can comprehensively reflect the importance of the interface element in the user interaction process, and the importance ranking corresponding to the current important layout data is obtained according to the size of the importance value.
[0076] For example, the importance value of each interface element can be obtained by weighting the weight of the interface element in the fuzzy complementary judgment matrix and the click frequency in the historical interaction heat data. The importance value can be set as a value between 0 and 1, and the size of the importance value is positively correlated with the importance of the interface element.
[0077] In addition, preset optimization constraints are received, which can include, but are not limited to, minimum spacing between interface elements, size limits of interface elements, overall style requirements of the interface layout (such as symmetrical layout, grid layout, etc.), and performance constraints (such as layout loading time limit, memory occupation limit, etc.).
[0078] In addition, the layout of the current interface elements is optimized according to the interface parameters, importance ranking, and preset optimization constraints. For example, according to the interface size and resolution, the reasonable size and position of the interface elements are determined; according to the importance ranking, interface elements with higher importance are preferentially placed in the core area of the interface or the position of the user's visual focus, while ensuring that the spacing between interface elements meets the minimum spacing requirement, avoiding mutual occlusion and operation interference between interface elements.
[0079] Further, the overall style consistency of the interface layout can also be considered, for example, when using a grid layout, the interface elements are aligned according to the grid lines to improve the aesthetics and usability of the interface.
[0080] Further, in the overall layout optimization process, balancing the relationship between importance ranking and optimization constraints is considered as the core, both highlighting interface elements with higher importance and meeting the aesthetics, practicality, and performance requirements of the interface layout.
[0081] The embodiment realizes the determination of the importance of interface elements based on important layout data and the optimization of the layout, which can realize the personalization, precision, adaptability, and efficiency of the interface layout, improves the usability and aesthetics of the optimized interface layout, and also improves the overall performance.
[0082] In some embodiments, the preset optimization constraints include a first constraint condition, a second constraint condition, and a third constraint condition: The first constraint condition is that the sum of the element areas corresponding to all interface elements does not exceed a preset interface area, and the preset interface area is determined based on the interface size; The second constraint condition is that the spacing between any two interface elements is not less than a preset spacing threshold; The third constraint condition is that all interface elements are completely displayed on the interface.
[0083] Optionally, the preset optimization constraints of the embodiment include a first constraint condition, a second constraint condition, and a third constraint condition, and the first constraint condition is that the sum of the element areas corresponding to all interface elements does not exceed a preset interface area, wherein the preset cross-sectional area is determined based on the interface size.
[0084] The interface size is defined by width and height in pixels, for example, the interface size can be 1080x1920 pixels, and the preset interface area is the actual area available for placing interface elements after considering the frame, system status bar, virtual key area and other non-content display areas based on the above interface size.
[0085] The area of each interface element is determined by the width and height in the element size of the interface element, and the areas of all interface elements are added to obtain the sum of element areas, so that the sum of element areas does not exceed the preset interface area.
[0086] The first constraint condition ensures that the interface will not exceed the actual available display range due to too many or too large interface elements, avoiding the problem of interface elements being truncated or partially displayed.
[0087] In addition, the second constraint condition is that the distance between any two interface elements is not less than a preset distance threshold, wherein the preset distance threshold can be a minimum distance value preset according to user experience design principles, in pixels, to ensure that there is enough space between interface elements for differentiation and operation, preventing mutual interference and misoperation between interface elements.
[0088] For example, for a touch screen device, the preset distance threshold needs to consider the average touch size of the user's fingers, and the distance between adjacent clickable elements is generally not less than 8-10 pixels to ensure that the user can accurately click the target element without touching adjacent elements. If the distance between two interface elements is less than the preset distance threshold, the position of the interface element needs to be adjusted to meet the second constraint condition.
[0089] The second constraint condition improves the readability and operability of the interface, allowing users to easily distinguish and access each interface element when using the interface.
[0090] In addition, the third constraint condition is that all interface elements are completely displayed in the interface, that is, no part of the interface element can exceed the boundary range of the interface. If part of an interface element exceeds the interface boundary, it indicates that the position of the element needs to be adjusted so that it is completely displayed within the interface.
[0091] For example, for an image element that is partially hidden due to position offset in the initial layout, its coordinate value of the horizontal coordinate or the coordinate value of the vertical coordinate can be adjusted to return it to the visible range of the interface.
[0092] The third constraint condition ensures that users can view and use all interface elements completely, avoiding the problem of impaired functionality or decreased user experience due to partially invisible interface elements.
[0093] The embodiment realizes the constraint on the layout of the interface element by the preset optimization constraint condition, can ensure that the interface layout reaches a high standard in rationality and integrity, improves user experience and interface usability, and enhances the stability and reliability of the interface layout.
[0094] In some embodiments, after determining the compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on the compatibility calculation rule, further comprising: In the case where the compatibility is greater than the preset compatibility threshold, determining the deviation degree of each matrix element in the fuzzy complementary judgment matrix; For each matrix element, in the case where the deviation degree is greater than the preset deviation degree, sending a prompt message, so as to receive an updated matrix element based on the prompt message, and updating the current fuzzy complementary judgment matrix, the characteristic matrix corresponding to the fuzzy complementary judgment matrix and the compatibility based on the updated matrix element, until the updated compatibility is not greater than the preset compatibility threshold; In the case where the deviation degree is not greater than the preset deviation degree, maintaining the current matrix element.
[0095] Optionally, after determining the compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on the compatibility calculation rule, if the compatibility is greater than the preset compatibility threshold, further determining the deviation degree of each matrix element in the fuzzy complementary judgment matrix, wherein the deviation degree is used to quantify the influence degree of each matrix element on the overall compatibility, that is, the deviation degree reflects the difference between the actual value of the matrix element and the ideal value under the compatibility condition.
[0096] The way of calculating the deviation degree can be based on the error term in the compatibility calculation process or obtained by comparing the ideal matching degree of the matrix element and the corresponding element of the characteristic matrix. For example, for the element a ij in the fuzzy complementary judgment matrix and the corresponding element b ij in the characteristic matrix, the relative error or absolute error between a ij and b ij can be determined as a measurement index of the deviation degree, so as to calculate the deviation degree of each matrix element in the fuzzy complementary judgment matrix, and obtain the deviation degree distribution of the entire matrix, which can clearly determine the matrix element of the main factor causing the compatibility to exceed the threshold.
[0097] In addition, for each matrix element, if its deviation degree is greater than the preset deviation degree threshold, a prompt message is sent, wherein the prompt message can include but is not limited to detailed information such as the specific matrix element position, the current deviation degree value, and the recommended adjustment direction or range, so that the relevant designers and data analysts can accurately understand the problem and make targeted modifications.
[0098] In addition, based on the prompt message, the receiver updates the matrix element, and the updated matrix element should be closer to the corresponding ideal value in the characteristic matrix to reduce the overall compatibility.
[0099] In addition, after receiving the updated matrix element, it is necessary to reconstruct the current fuzzy complementary judgment matrix, and determine the corresponding characteristic matrix based on the new fuzzy complementary judgment matrix. The compatibility between the updated fuzzy complementary judgment matrix and the new characteristic matrix is determined again through the compatibility calculation rule, and it is checked whether the compatibility has been reduced to below the preset compatibility threshold. If the updated compatibility is still greater than the preset compatibility threshold, the above deviation determination, prompting and updating process is repeated until the updated compatibility is not greater than the preset compatibility threshold.
[0100] In addition, in the case where the deviation is not greater than the preset deviation threshold, it indicates that the matrix element is within an acceptable range of overall compatibility, and there is no need to adjust it. The value of the current matrix element is kept unchanged to maintain the stable relationship between the fuzzy complementary judgment matrix and the characteristic matrix.
[0101] The embodiment realizes that through the optimization of the compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, the compatibility and decision reliability can be effectively improved, the layout efficiency is improved, and the stability and accuracy of the layout are enhanced, thereby improving the performance and user experience.
[0102] In order to effectively solve the deficiencies of the traditional technology in the aspects of insufficient interface element importance evaluation accuracy, low matching degree of layout optimization scheme and actual user demand, significantly improve the accuracy of interface element importance, and quickly identify key interface elements to optimize the layout mode and improve the layout efficiency, an embodiment of a device for implementing all or part of the interface element importance evaluation based on fuzzy analytic hierarchy process is provided, which is based on the interface element importance evaluation based on fuzzy analytic hierarchy process, see Figure 2 The device for implementing the interface element importance evaluation based on fuzzy analytic hierarchy process specifically includes the following contents: The receiving module 10 is configured to receive layout data of interface elements, and the layout data includes interface elements, a preset hierarchy corresponding to the interface elements, and a total element quantity of the interface elements. The construction module 20 is configured to receive an index structure corresponding to the fuzzy complementary judgment matrix, collect index data corresponding to the current preset hierarchy of the interface elements, and construct the fuzzy complementary judgment matrix based on the total element quantity and the index data. The first processing module 30 is configured to determine the factor weight of each interface element in the fuzzy complementary judgment matrix based on the total element quantity and the matrix element in the fuzzy complementary judgment matrix corresponding to the current preset hierarchy, and determine the characteristic matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements. The second processing module 40 is configured to determine compatibility between the current fuzzy complementary judgment matrix and the feature matrix based on a compatibility calculation rule, mark the current layout data as important layout data in a case where the compatibility is not greater than a preset compatibility threshold, determine the importance of each interface element based on the important layout data, and optimize the layout mode of the current interface element, wherein the compatibility calculation rule is: ; wherein I represents the compatibility between the fuzzy complementary judgment matrix and the feature matrix, A represents the fuzzy complementary judgment matrix, B represents the feature matrix, n represents the total number of elements, i represents a row, j represents a column, a represents a matrix element in the fuzzy complementary judgment matrix, and b represents a matrix element in the feature matrix.
[0103] As can be seen from the above description, the interface element importance evaluation device based on fuzzy analytic hierarchy process provided by the embodiments of the present application can receive innovative layout data of interface elements, wherein the layout data includes interface elements, a preset hierarchy corresponding to the interface elements, and a total number of elements of the interface elements, receive an index structure corresponding to a fuzzy complementary judgment matrix, collect index data corresponding to a current preset hierarchy of the interface elements, and construct a fuzzy complementary judgment matrix based on the total number of elements and the index data. According to the total number of elements and the matrix elements in the fuzzy complementary judgment matrix corresponding to the current preset hierarchy, the factor weight of each element interface in the fuzzy complementary judgment matrix is determined, and according to the element interface, a feature matrix corresponding to the fuzzy complementary judgment matrix is determined. The compatibility between the fuzzy complementary judgment matrix and the feature matrix is determined, and the layout data with a compatibility not greater than a preset compatibility value is marked as important layout data. The importance of each interface element is determined according to the important layout data, and the layout mode of the current interface element is optimized. The relative importance of the interface element at different preset hierarchies can be accurately determined according to the fuzzy complementary judgment matrix and the fuzzy complementary judgment matrix, the accuracy of determining the importance of the interface element is improved, thereby the layout rationality of the interface element can be effectively evaluated, and the layout mode of the current interface element is optimized according to the important layout data, the functional priority and the space utilization rate of each interface element in the layout mode are balanced, the logic of the interface layout and the matching degree with the actual needs of the user are improved, and the user experience is improved. This method effectively solves the problems of insufficient accuracy of interface element importance evaluation, low matching degree of layout optimization scheme and actual needs of the user in the prior art, significantly improves the accuracy of the importance of the interface element, and can quickly identify key interface elements to optimize the layout mode and improve the layout efficiency.
[0104] From the hardware level, in order to effectively solve the deficiencies of the traditional technology in the interface element importance evaluation accuracy, the layout optimization scheme and the low matching degree of the actual demand of the user, etc., the accuracy of the interface element importance is significantly improved, and the key interface element can be quickly identified to optimize the layout mode and improve the layout efficiency. An embodiment of an electronic device for implementing all or part of the content of the interface element importance evaluation method based on fuzzy AHP is provided, and the electronic device specifically includes the following content: A processor, a memory, a communications interface, and a bus; wherein the processor, the memory, the communications interface, and the bus complete mutual communication through the bus; the communications interface is used for realizing information transmission between the interface element importance evaluation device based on fuzzy AHP and the core business system, the user terminal, and the related database and other related devices; the logic controller can be a desktop computer, a tablet computer, a mobile terminal, and the like, and the embodiment is not limited thereto. In the embodiment, the logic controller can be implemented with reference to the embodiment of the interface element importance evaluation method based on fuzzy AHP and the embodiment of the interface element importance evaluation device based on fuzzy AHP, the contents of which are incorporated herein, and the repeated parts will not be described herein.
[0105] It can be understood that the user terminal can include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, and the like. The smart wearable device can include smart glasses, a smart watch, a smart bracelet, and the like.
[0106] In actual application, part of the interface element importance evaluation method based on fuzzy AHP can be executed on the electronic device as described above, or all operations can be completed in the client device. Specifically, the selection can be made according to the processing capacity of the client device and the limitation of the user's use scene, and the like. The present application is not limited thereto. If all operations are completed in the client device, the client device can further include a processor.
[0107] The client device described above can have a communication module (i.e., a communication unit) and can be communicatively connected with a remote server to realize data transmission with the server. The server can include a server of a task scheduling center side, and a server of an intermediate platform in other implementation scenarios, such as a server of a third-party server platform communicatively connected with the server of the task scheduling center. The server can include a single computer device, a server cluster composed of multiple servers, or a server structure of a distributed device.
[0108] Figure 3 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is noted that the configuration shown is exemplary; other types of configurations can also be used to supplement or replace the configuration to implement telecommunication functions or other functions. Figure 3 Figure 3 is exemplary; other types of configurations can also be used to supplement or replace the configuration to implement telecommunication functions or other functions.
[0109] In an embodiment, the interface element importance evaluation method based on fuzzy analytic hierarchy process can be integrated into the central processor 9100. The central processor 9100 can be configured to perform the following control: Step S101: receiving layout data of interface elements, the layout data including interface elements, a preset hierarchy corresponding to the interface elements, and a total number of elements of the interface elements; Step S102: receiving an index structure corresponding to a fuzzy complementary judgment matrix, collecting index data of the interface elements at a current preset hierarchy, and constructing a fuzzy complementary judgment matrix based on the total number of elements and the index data; Step S103: determining a factor weight of each interface element in the fuzzy complementary judgment matrix based on matrix elements in the fuzzy complementary judgment matrix corresponding to the total number of elements and the current preset hierarchy, and determining a characteristic matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements; Step S104: determining compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on a compatibility calculation rule, marking the current layout data as important layout data in a case where the compatibility is not greater than a preset compatibility threshold, determining importance of each interface element based on the important layout data, and optimizing a layout mode of the current interface elements, wherein the compatibility calculation rule is: ; wherein I represents compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, A represents the fuzzy complementary judgment matrix, B represents the characteristic matrix, n represents the total number of elements, i represents a row, j represents a column, a represents a matrix element in the fuzzy complementary judgment matrix, and b represents a matrix element in the characteristic matrix.
[0110] As can be known from the above description, the electronic device provided by the embodiment of the application receives layout data of interface elements innovatively, wherein the layout data comprises interface elements, a preset hierarchy corresponding to the interface elements, and a total element quantity of the interface elements, receives an index structure corresponding to a fuzzy complementary judgment matrix, collects index data corresponding to the interface elements at a current preset hierarchy, and constructs the fuzzy complementary judgment matrix based on the total element quantity and the index data. The factor weight of each element interface in the fuzzy complementary judgment matrix is determined according to the total element quantity and the matrix elements in the fuzzy complementary judgment matrix corresponding to the current preset hierarchy. The characteristic matrix corresponding to the fuzzy complementary judgment matrix is determined according to the element interface. The compatibility between the fuzzy complementary judgment matrix and the characteristic matrix is determined. The layout data with a compatibility less than a preset compatibility value is marked as important layout data. The importance of each interface element is determined according to the important layout data. The layout mode of the current interface element is optimized. The relative importance of the interface elements at different preset hierarchies can be accurately determined according to the fuzzy complementary judgment matrix and the fuzzy complementary judgment matrix. The accuracy of determining the importance of the interface elements is improved. Therefore, the layout rationality of the interface elements can be effectively evaluated. The layout mode of the current interface element is optimized according to the important layout data. The functional priority and the space utilization rate of each interface element in the layout mode are balanced. The logic of the interface layout and the matching degree with the actual needs of the user are improved. Therefore, the user experience is improved. The method effectively solves the problems of the traditional technology, such as insufficient accuracy of interface element importance evaluation, low matching degree of the layout optimization scheme and the actual needs of the user, and significantly improves the accuracy of the importance of the interface elements. At the same time, the key interface elements can be quickly identified to optimize the layout mode and improve the layout efficiency.
[0111] In another embodiment, the interface element importance evaluation device based on fuzzy analytic hierarchy process can be configured separately from the central processor 9100, for example, the interface element importance evaluation device based on fuzzy analytic hierarchy process can be configured as a chip connected with the central processor 9100, and the function of the interface element importance evaluation method based on fuzzy analytic hierarchy process is realized through the control of the central processor.
[0112] As shown in FIG. 9, the electronic device 9600 can further include a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It should be noted that the electronic device 9600 does not necessarily include all the components shown in FIG. 9; in addition, the electronic device 9600 can further include components not shown in FIG. 9, which can be referred to the prior art. Figure 3 Figure 3 As shown in FIG. 9, the electronic device 9600 can further include a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It should be noted that the electronic device 9600 does not necessarily include all the components shown in FIG. 9; in addition, the electronic device 9600 can further include components not shown in FIG. 9, which can be referred to the prior art. Figure 3
[0113] As shown in FIG. 9, the electronic device 9600 can further include a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It should be noted that the electronic device 9600 does not necessarily include all the components shown in FIG. 9; in addition, the electronic device 9600 can further include components not shown in FIG. 9, which can be referred to the prior art. Figure 3 As shown, the central processing unit 9100, which is sometimes also referred to as a controller or operation control, can include a microprocessor or other processor device and / or logic device, which receives input and controls the operation of the various components of the electronic device 9600.
[0114] The memory 9140, for example, can be one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. Information relating to failures can be stored, and in addition, programs for executing the information can be stored. The central processing unit 9100 can execute the programs stored in the memory 9140 to achieve information storage or processing, etc.
[0115] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and text. The display can be, for example, an LCD display, but is not limited thereto.
[0116] The memory 9140 can be a solid state memory such as a read only memory (ROM), a random access memory (RAM), a SIM card, etc. It can also be a memory that retains information even when power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROM, etc. The memory 9140 can also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 can include an application / function storage section 9142 for storing application programs and function programs or for storing a flow for executing the operation of the electronic device 9600 by the central processing unit 9100.
[0117] The memory 9140 can also include a data storage section 9143 for storing data such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. A driver program storage section 9144 of the memory 9140 can include various driver programs of the electronic device for a communication function and / or for executing other functions of the electronic device such as a messaging application, an address book application, etc.
[0118] The communication module 9110 is a transmitter / receiver that transmits and receives signals via an antenna 9111. The communication module 9110 (transmitter / receiver) is coupled to the central processing unit 9100 to provide input signals and receive output signals, which can be the same as in the case of a conventional mobile communication terminal.
[0119] Based on different communication technologies, multiple communication modules 9110, such as a cellular network module, a Bluetooth module, and / or a wireless local area network module, etc., can be provided in the same electronic device. The communication module 9110 (transmitter / receiver) is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and to receive audio input from the microphone 9132, thereby enabling typical telecommunication functions. The audio processor 9130 can include any suitable buffers, decoders, amplifiers, etc. In addition, the audio processor 9130 is coupled to the central processor 9100, thereby enabling the recording of audio on the local device via the microphone 9132 and enabling the playing of stored audio on the local device via the speaker 9131.
[0120] The embodiments of the present application further provide a computer readable storage medium capable of implementing all steps of the interface element importance evaluation method based on fuzzy analytic hierarchy process in the above-mentioned embodiments with the execution subject being a server or a client. The computer readable storage medium stores a computer program. When the computer program is executed by a processor, all steps of the interface element importance evaluation method based on fuzzy analytic hierarchy process in the above-mentioned embodiments with the execution subject being a server or a client are implemented. For example, when the processor executes the computer program, the following steps are implemented: Step S101: receiving layout data of interface elements, the layout data including interface elements, a preset hierarchy corresponding to the interface elements, and a total element quantity of the interface elements; Step S102: receiving an index structure corresponding to a fuzzy complementary judgment matrix, collecting index data of the interface elements at a current preset hierarchy, and constructing the fuzzy complementary judgment matrix based on the total element quantity and the index data; Step S103: determining a factor weight of each interface element in the fuzzy complementary judgment matrix based on the total element quantity and a matrix element in the fuzzy complementary judgment matrix corresponding to the current preset hierarchy, and determining a characteristic matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements; Step S104: determining compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on a compatibility calculation rule, marking the current layout data as important layout data in a case where the compatibility is not greater than a preset compatibility threshold, determining importance of each interface element based on the important layout data, and optimizing a layout mode of the current interface elements, wherein the compatibility calculation rule is: ; wherein I represents compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, A represents the fuzzy complementary judgment matrix, B represents the characteristic matrix, n represents the total element quantity, i represents a row, j represents a column, a represents a matrix element in the fuzzy complementary judgment matrix, and b represents a matrix element in the characteristic matrix.
[0121] From the above description, the computer readable storage medium provided by the embodiments of the application can receive layout data of interface elements innovatively, wherein the layout data includes interface elements, a preset level corresponding to the interface elements, and a total element quantity of the interface elements, receive an index structure corresponding to a fuzzy complementary judgment matrix, collect index data corresponding to the interface elements at a current preset level, and construct a fuzzy complementary judgment matrix based on the total element quantity and the index data. According to the total element quantity and a matrix element in the fuzzy complementary judgment matrix corresponding to the current preset level, a factor weight of each element interface in the fuzzy complementary judgment matrix is determined, and according to the element interface, a feature matrix corresponding to the fuzzy complementary judgment matrix is determined. The compatibility between the fuzzy complementary judgment matrix and the feature matrix is determined. The layout data with a compatibility less than a preset compatibility value is marked as important layout data. The importance of each interface element is determined according to the important layout data, and the layout mode of the current interface element is optimized. The relative importance of the interface elements at different preset levels can be accurately determined according to the fuzzy complementary judgment matrix and the fuzzy complementary judgment matrix, the accuracy of determining the importance of the interface elements is improved, and thus the layout rationality of the interface elements can be effectively evaluated. According to the important layout data, the layout mode of the current interface element is optimized, the functional priority and the space utilization rate of each interface element in the layout mode are balanced, the logic of the interface layout and the matching degree with the actual needs of the user are improved, and thus the user experience is improved. The method effectively solves the problems of the traditional technology, such as insufficient accuracy of interface element importance evaluation, low matching degree of the layout optimization scheme and the actual needs of the user, and significantly improves the accuracy of the importance of the interface elements. Meanwhile, the key interface elements can be quickly identified to optimize the layout mode and improve the layout efficiency.
[0122] The embodiments of the application also provide a computer program product capable of implementing all steps of the interface element importance evaluation method based on fuzzy AHP in the above-mentioned embodiments, wherein the computer program / instruction is executed by a processor to implement the steps of the interface element importance evaluation method based on fuzzy AHP, for example, the computer program / instruction implements the following steps: Step S101: receiving layout data of interface elements, wherein the layout data includes interface elements, a preset level corresponding to the interface elements, and a total element quantity of the interface elements; Step S102: receiving an index structure corresponding to a fuzzy complementary judgment matrix, collecting index data corresponding to the interface elements at a current preset level, and constructing a fuzzy complementary judgment matrix based on the total element quantity and the index data; Step S103: determining a factor weight of each interface element in the fuzzy complementary judgment matrix based on the total element quantity and a matrix element in the fuzzy complementary judgment matrix corresponding to the current preset level, and determining a feature matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements. Step S104: determining the compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on a compatibility calculation rule, marking the current layout data as important layout data in a case that the compatibility is not greater than a preset compatibility threshold, determining the importance of each interface element based on the important layout data, and optimizing the layout mode of the current interface element, wherein the compatibility calculation rule is: ; wherein I represents the compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, A represents the fuzzy complementary judgment matrix, B represents the characteristic matrix, n represents the total element quantity, i represents a row, j represents a column, a represents a matrix element in the fuzzy complementary judgment matrix, and b represents a matrix element in the characteristic matrix.
[0123] From the above description, it can be seen that the computer program product provided by the embodiments of the present application innovatively receives the layout data of the interface element, wherein the layout data includes the interface element, the preset hierarchy corresponding to the interface element, and the total element quantity of the interface element, receives the index structure corresponding to the fuzzy complementary judgment matrix, collects the index data corresponding to the interface element at the current preset hierarchy, and constructs the fuzzy complementary judgment matrix based on the total element quantity and the index data. According to the total element quantity and the matrix elements in the fuzzy complementary judgment matrix corresponding to the current preset hierarchy, the factor weight of each element interface in the fuzzy complementary judgment matrix is determined, and according to the element interface, the characteristic matrix corresponding to the fuzzy complementary judgment matrix is determined. The compatibility between the fuzzy complementary judgment matrix and the characteristic matrix is determined, the layout data with a compatibility not greater than a preset compatibility value is marked as important layout data, the importance of each interface element is determined according to the important layout data, and the layout mode of the current interface element is optimized. The relative importance of the interface element at different preset hierarchies can be accurately determined according to the fuzzy complementary judgment matrix and the fuzzy complementary judgment matrix, the accuracy of determining the importance of the interface element is improved, thereby the layout rationality of the interface element can be effectively evaluated, and the layout mode of the current interface element is optimized according to the important layout data, the functional priority and the space utilization rate of each interface element in the layout mode are balanced, the logic of the interface layout and the matching degree with the actual needs of the user are improved, and the user experience is improved. This method effectively solves the problems of the traditional technology, such as insufficient accuracy of interface element importance evaluation, low matching degree of layout optimization scheme and actual needs of the user, significantly improves the accuracy of the importance of the interface element, and quickly identifies the key interface element to optimize the layout mode and improve the layout efficiency.
[0124] Those skilled in the art will appreciate that embodiments of the present application can be readily used as software, hardware, or a combination of software and hardware. In a software embodiment, the methods can be tangibly embodied in a machine-readable storage medium having stored thereon instructions that can be used to program a computer to perform any of the operations described herein. The software implementation can be for example, in the form of a computer program product which can include software agents or objects embedded in a computer readable storage medium. The computer readable storage medium can be a floppy disk, flexible disk, hard disk, USB (universal serial bus), RAM (random-access memory), flash memory, magnetic tape, or any other form of a computer readable storage medium.
[0125] The present application is described in relation to flowcharts and / or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the present application. It is understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowcharts and / or block diagrams block or blocks. Figure 1 one or more functions specified by one or more blocks Figure 1 one or more functions specified by one or more blocks.
[0126] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowcharts and / or block diagrams block or blocks. Figure 1 one or more functions specified by one or more blocks Figure 1 one or more functions specified by one or more blocks.
[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowcharts and / or block diagrams block or blocks. Figure 1 one or more functions specified by one or more blocks Figure 1 one or more functions specified by one or more blocks.
[0128] The principles and implementation modes of the present application are described in the specific embodiments. The above embodiments are only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation modes and application ranges can be changed; in conclusion, the content of the present application should not be understood as limitation.
Claims
1. An interface element importance evaluation method based on fuzzy analytic hierarchy, characterized in that, The method comprises: receiving layout data of interface elements, the layout data comprising the interface elements, preset levels corresponding to the interface elements, and total element quantities of the interface elements; receiving index structures corresponding to a fuzzy complementary judgment matrix, collecting index data of the interface elements corresponding to a current preset level, and constructing the fuzzy complementary judgment matrix based on the total element quantities and the index data; determining factor weights of the interface elements in the fuzzy complementary judgment matrix based on the total element quantities and matrix elements in the fuzzy complementary judgment matrix corresponding to the current preset level, and determining a characteristic matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements; determining compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on a compatibility calculation rule, marking the current layout data as important layout data in a case where the compatibility is not greater than a preset compatibility threshold, determining importance of the interface elements based on the important layout data, and optimizing a layout mode of a current interface element, wherein the compatibility calculation rule is: ; wherein I represents compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, A represents the fuzzy complementary judgment matrix, B represents the characteristic matrix, n represents the total element quantities, i represents a row, j represents a column, a represents a matrix element in the fuzzy complementary judgment matrix, and b represents a matrix element in the characteristic matrix.
2. The method of claim 1, wherein, The layout data further comprises historical interaction heat data; The collecting of the index data of the interface elements corresponding to the current preset level comprises: extracting click data of the interface elements and interface coordinates corresponding to the interface elements based on the historical interaction heat data, the click data comprising click frequency, dwell time, and path operation weight; performing normalization on the click data through a maximum-minimum normalization manner for the historical interaction heat data of the interface elements corresponding to each interface coordinate, and mapping the normalized click data to a preset interval to obtain a normalization result; collecting initial index data of the interface elements corresponding to the current preset level, and adjusting the initial index data based on the normalization result to obtain index data corresponding to the current preset level.
3. The method of claim 2, wherein, The constructing of the fuzzy complementary judgment matrix comprises: determining any two interface elements as target interface elements, and determining a ratio between the index data corresponding to the target interface elements as relative importance between the target interface elements; obtaining a preset fuzzy expansion coefficient, expanding the relative importance through the preset fuzzy expansion coefficient to obtain a maximum importance threshold and a minimum importance threshold of the relative importance; determining the maximum importance threshold, the relative importance, and the minimum importance threshold as triangular fuzzy numbers corresponding to the target interface elements; iterating through all the interface elements to obtain triangular fuzzy numbers between any two interface elements, and constructing the fuzzy complementary judgment matrix based on all the triangular fuzzy numbers.
4. The method of claim 1, wherein, The method comprises the following steps: obtaining interface parameters corresponding to the interface where the interface elements are placed, the interface parameters comprising interface size, resolution and pixel density; determining the importance of each interface element based on the important layout data, and determining the importance ranking of the current important layout data based on the importance; receiving preset optimization constraints, and optimizing the layout of the current interface elements based on the interface parameters, the importance ranking and the preset optimization conditions.
5. The method of claim 4, wherein, The preset optimization constraints comprise a first constraint condition, a second constraint condition and a third constraint condition: The first constraint condition is that the sum of the element areas corresponding to all the interface elements does not exceed a preset interface area, and the preset interface area is determined based on the interface size; The second constraint condition is that the distance between any two interface elements is not less than a preset distance threshold; The third constraint condition is that all the interface elements are displayed completely on the interface.
6. The method as claimed in claim 1, wherein, After determining the compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on the compatibility calculation rule, the method further comprises the following steps: In the case that the compatibility is greater than a preset compatibility threshold, determining the deviation degree of each matrix element in the fuzzy complementary judgment matrix; For each matrix element, in the case that the deviation degree is greater than a preset deviation degree, sending a prompt message, receiving an updated matrix element based on the prompt message, and updating the current fuzzy complementary judgment matrix, the characteristic matrix corresponding to the fuzzy complementary judgment matrix and the compatibility based on the updated matrix element, until the updated compatibility is not greater than the preset compatibility threshold; In the case that the deviation degree is not greater than the preset deviation degree, maintaining the current matrix element.
7. An interface element importance evaluation apparatus based on fuzzy analytic hierarchy, characterized by, The device comprises: a receiving module configured to receive layout data of interface elements, the layout data comprising the interface elements, preset levels corresponding to the interface elements, and total element quantities of the interface elements; a constructing module configured to receive an index structure corresponding to a fuzzy complementary judgment matrix, collect index data of the interface elements at a current preset level, and construct the fuzzy complementary judgment matrix based on the total element quantities and the index data; a first processing module configured to determine factor weights of the interface elements in the fuzzy complementary judgment matrix based on the total element quantities and matrix elements in the fuzzy complementary judgment matrix corresponding to the current preset level, and determine a characteristic matrix corresponding to the fuzzy complementary judgment matrix based on the interface elements; a second processing module configured to determine compatibility between the current fuzzy complementary judgment matrix and the characteristic matrix based on a compatibility calculation rule, in the case that the compatibility is not greater than a preset compatibility threshold, mark the current layout data as important layout data, determine the importance of each interface element based on the important layout data, and optimize the layout of the current interface elements, wherein the compatibility calculation rule is: ; Wherein, I represents the compatibility between the fuzzy complementary judgment matrix and the characteristic matrix, A represents the fuzzy complementary judgment matrix, B represents the characteristic matrix, n represents the total number of elements, i represents the row, j represents the column, a represents the matrix element in the fuzzy complementary judgment matrix, and b represents the matrix element in the characteristic matrix.
8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the steps of the interface element importance evaluation method based on fuzzy analytic hierarchy process in any one of claims 1 to 6 when executing the program.
9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program implements the steps of the interface element importance evaluation method based on fuzzy analytic hierarchy process in any one of claims 1 to 6 when executed by the processor.
10. A computer program product comprising computer programs / instructions, characterized in that, The computer program / instruction implements the steps of the interface element importance evaluation method based on fuzzy analytic hierarchy process in any one of claims 1 to 6 when executed by the processor.