A UI design walkthrough method, device, equipment and device
Automating UI design walkthroughs through image recognition technology solves the problems of mechanical duplication and high communication costs in traditional UI design walkthroughs, and improves collaboration efficiency and project restoration quality.
Patent Information
- Application Number
- CN202210569804.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-05-24
AI Technical Summary
In traditional UI design walkthroughs, there are problems with mechanical repetitive labeling and proofreading and repeated communication and confirmation, which results in high communication costs and low efficiency. Designers need to spend a lot of time on mechanically repetitive labeling and sorting work, which reduces work efficiency.
Use image recognition technology to modularize and compare UI renderings and actual renderings, automatically detect inconsistencies, score based on module absolute coordinate error values, and generate walkthrough reports to reduce designers' mechanical duplication of work and improve collaboration. efficiency.
Through the automated walk-through process, the designer's mechanical repetitive marking and sorting work is reduced, the time cost of missing marks and repeated communication is reduced, collaboration efficiency is improved, and high-quality project restoration effects are achieved.
Smart Images

Figure CN114968458B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for checking UI design. Background Art
[0002] Excellent design can effectively convey the value of a product, but it also requires technical support. UI design walkthrough is an important part of the project process. In the traditional development model, R&D engineers submit UI walkthroughs after completing the project, and UI designers conduct manual walkthroughs of the test UI of the online product for different business scenarios in a test environment. Usually, a complete design walkthrough requires designers to mechanically and repeatedly mark, proofread, and output modification opinion documents, and communicate and confirm with R&D engineers repeatedly, which increases communication costs and reduces work efficiency. Summary of the invention
[0003] One or more embodiments of the present specification provide a UI design walkthrough method, apparatus, device, and medium to solve the problems raised by the above-mentioned background technology.
[0004] One or more embodiments of this specification adopt the following technical solutions:
[0005] One or more embodiments of this specification provide a UI design walkthrough method, including:
[0006] Obtain a plurality of UI effect diagram modules to be processed which are pre-divided into the UI effect diagram to be processed;
[0007] Divide the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed;
[0008] Respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed;
[0009] Respectively determine the absolute coordinates of the plurality of actual effect graph modules to be processed relative to the origin of the actual effect graph to be processed;
[0010] Respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed;
[0011] According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values;
[0012] Scoring the actual effect graph to be processed according to the module absolute coordinate error value to obtain a scoring result;
[0013] If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through.
[0014] One or more embodiments of this specification provide a UI design walkthrough device, including:
[0015] An acquisition unit, which acquires a plurality of UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided;
[0016] A module division unit, which divides the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed;
[0017] A first coordinate determination unit, for respectively determining the absolute coordinates of the plurality of UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed;
[0018] A second coordinate determination unit, for respectively determining the absolute coordinates of the plurality of actual effect image modules to be processed relative to the origin of the actual effect image to be processed;
[0019] A correspondence determination unit, respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed;
[0020] an error value calculation unit, which compares the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules according to the module correspondence, and obtains corresponding module absolute coordinate error values;
[0021] A result unit, scoring the actual effect diagram to be processed according to the module absolute coordinate error value to obtain a scoring result;
[0022] The walk-through evaluation unit, if the scoring result is higher than a preset threshold, the actual effect diagram to be processed passes the walk-through.
[0023] One or more embodiments of this specification provide a UI design walkthrough device, including:
[0024] at least one processor; and,
[0025] a memory communicatively connected to the at least one processor; wherein,
[0026] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0027] Obtain a plurality of UI effect diagram modules to be processed which are pre-divided into the UI effect diagram to be processed;
[0028] Divide the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed;
[0029] Respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed;
[0030] Respectively determine the absolute coordinates of the plurality of actual effect graph modules to be processed relative to the origin of the actual effect graph to be processed;
[0031] Respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed;
[0032] According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values;
[0033] Scoring the actual effect graph to be processed according to the module absolute coordinate error value to obtain a scoring result;
[0034] If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through.
[0035] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to:
[0036] Obtain a plurality of UI effect diagram modules to be processed which are pre-divided into the UI effect diagram to be processed;
[0037] Divide the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed;
[0038] Respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed;
[0039] Respectively determine the absolute coordinates of the plurality of actual effect graph modules to be processed relative to the origin of the actual effect graph to be processed;
[0040] Respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed;
[0041] According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values;
[0042] Scoring the actual effect graph to be processed according to the module absolute coordinate error value to obtain a scoring result;
[0043] If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through.
[0044] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0045] The embodiments of this specification provide a UI design walkthrough method, which can reduce the designer's mechanical and repetitive marking, proofreading and sorting work during the walkthrough, reduce the time cost of missed marks and repeated communication and confirmation with engineers, help engineers efficiently and accurately restore design drafts (i.e., UI renderings), improve collaboration efficiency, and achieve high-quality project restoration effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0047] Figure 1 A flowchart of a UI design walkthrough method provided for one or more embodiments of this specification;
[0048] Figure 2 A walkthrough flowchart of UI design provided for one or more embodiments of this specification;
[0049] Figure 3 A schematic diagram of a walkthrough device for UI design provided for one or more embodiments of this specification;
[0050] Figure 4 A schematic diagram of the structure of a walk-through device for UI design provided in one or more embodiments of this specification. DETAILED DESCRIPTION
[0051] The embodiments of this specification provide a UI design walkthrough method, device, equipment and medium.
[0052] UI design walkthrough is an important part of the project process. In the traditional development model, R&D engineers submit UI walkthroughs after completing the project, and UI designers conduct manual walkthroughs of the test UIs of the online products in different business scenarios under the test environment. Usually, a complete design walkthrough requires designers to mechanically and repeatedly mark, proofread, output modification opinion documents, and communicate with R&D engineers repeatedly for confirmation, which increases communication costs and reduces work efficiency.
[0053] In the traditional model, the UI walkthrough has the following problems:
[0054] (1) The basic components are not unified, the same type of problems occur repeatedly, and different businesses need to be marked repeatedly, which is inefficient. In the page inspection, the first thing is to check whether the visual is consistent with the design draft, such as whether the font, font size, color, size spacing, buttons, feedback status, cut-image and other styles are unified and meet the visual design specifications; check the clarity of icons and graphics and the restoration of shadows, etc., to ensure the consistency of product experience. The second is to check whether it is reasonably adapted to different screen resolutions and different browsers to ensure the readability and ease of operation of the product.
[0055] (2) There are many logically complex scenarios, which takes a long time to check and compile problem documents. First, check the scenarios and states according to the task flow to see if there are any missing scenarios and states to ensure the integrity of the product experience. Second, check the interactive actions to ensure the rationality of the operations. This includes various states of interactive controls such as operations and feedback, extreme, limit and error conditions, whether the default values, hover, click states, etc. are correct, as well as new function prompts, hot zone controls, etc., covering page walkthroughs in different states to ensure the consistency of the product experience.
[0056] (3) Repeated problem walkthroughs and repeated communication take a long time, resulting in low collaboration efficiency. The walkthrough process usually requires multiple meetings, engineers make repeated adjustments, and designers mechanically and repeatedly mark, proofread, and organize problem documents, which results in high time costs and low collaboration efficiency.
[0057] In order to better improve the user experience of the product, the embodiment of this specification relates to a method for automatically conducting a UI design walkthrough, which is as follows: before the R&D engineer delivers the UI walkthrough, the test link is uploaded to the UI design walkthrough system, and the system extracts and recognizes the image of the UI link rendering and the online image of the R&D test link, automatically proofreads and marks the inconsistencies between the two, and different types of problems can be explained with different color annotations. Scoring is performed based on the results of the automatic detection, and a walkthrough report is generated. R&D makes further modifications based on the self-inspection report. After the score reaches a certain value, it automatically passes the UI walkthrough or the process enters the manual walkthrough stage of the UI designer for manual review until a certain score is reached. This method can standardize the process between UI designers and R&D engineers, making project management more convenient; improve collaboration efficiency, save time costs, and avoid repeated annotations and repeated organization of problem documents by UI designers.
[0058] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0059] Figure 1 This is a flowchart of a UI design walkthrough method provided in one or more embodiments of this specification. The process can be executed by a UI design walkthrough system. The system can automatically check the actual effect diagram to be processed based on the UI effect diagram to be processed, without the need for manual tedious walkthrough work, which greatly improves work efficiency. Certain input parameters or intermediate results in the process allow manual intervention and adjustment to help improve accuracy.
[0060] The method steps of the embodiment of this specification are as follows:
[0061] S102, obtaining a plurality of UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided.
[0062] In an embodiment of the present specification, before obtaining the multiple UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided, the UI effect diagram to be processed can be divided into the multiple UI effect diagram modules to be processed according to the division marks in the UI effect diagram to be processed; wherein the division marks include one or more of text titles, dividing lines, and card boundaries. The division of the UI effect diagram modules to be processed can be performed by automatic recognition, and after recognition, the UI effect diagram to be processed can be divided according to the pre-set division rules.
[0063] S104, dividing the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, to obtain multiple actual effect diagram modules to be processed.
[0064] In the embodiment of the present specification, when the actual effect diagram to be processed is divided into modules, the UI effect diagram to be processed can be compared with the actual effect diagram to be processed, and then the actual effect diagram to be processed can be divided into modules. It is obtained that there is a one-to-one correspondence between multiple actual effect diagram modules to be processed and multiple UI effect diagram modules to be processed.
[0065] S106: respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed.
[0066] S108, respectively determining a plurality of actual effect picture module absolute coordinates of the plurality of actual effect picture modules to be processed relative to the origin of the actual effect picture to be processed.
[0067] S110, respectively determining module correspondences between the plurality of to-be-processed UI effect diagram modules and the plurality of to-be-processed actual effect diagram modules.
[0068] S112: According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values.
[0069] S114, scoring the actual effect image to be processed according to the module absolute coordinate error value to obtain a scoring result.
[0070] In the above process of the embodiment of this specification, the actual effect picture to be processed is scored by the module absolute coordinate error value. In order to make the scoring result more accurate, multiple actual effect picture modules to be processed and multiple UI effect picture modules to be processed can be subdivided respectively to obtain the elements in each module. For the elements in each module, the actual effect picture to be processed is scored to obtain the scoring result. The following is the specific implementation process:
[0071] First, the actual effect diagram to be processed is scored according to the module absolute coordinate error value. Before obtaining the scoring result, element segmentation can be performed respectively in the multiple UI effect diagram modules to be processed to obtain multiple UI effect diagram elements to be processed, and element segmentation can be performed respectively in the multiple actual effect diagram modules to be processed to obtain multiple actual effect diagram elements to be processed; according to the multiple UI effect diagram elements to be processed and the multiple actual effect diagram elements to be processed, the corresponding element absolute coordinate error values are obtained.
[0072] Then, when scoring the actual effect diagram to be processed according to the module absolute coordinate error value to obtain a scoring result, the actual effect diagram to be processed can be scored according to the module absolute coordinate error value and the element absolute coordinate error value to obtain a scoring result.
[0073] In the above process of the embodiment of the present specification, when executing the corresponding element absolute coordinate error values according to the multiple UI effect diagram elements to be processed and the multiple actual effect diagram elements to be processed, the multiple UI effect diagram element absolute coordinates of the multiple UI effect diagram elements to be processed relative to the origin of the UI effect diagram to be processed can be determined respectively first; then, the multiple actual effect diagram element absolute coordinates of the multiple actual effect diagram elements to be processed relative to the origin of the actual effect diagram to be processed can be determined respectively; then, the element correspondence between the multiple UI effect diagram elements to be processed and the multiple actual effect diagram elements to be processed can be determined respectively; finally, according to the element correspondence, the multiple UI effect diagram element absolute coordinates are compared with the multiple actual effect diagram element absolute coordinates to obtain corresponding element absolute coordinate error values.
[0074] In order to make the scoring result more accurate, the size information of the UI rendering module and the size information of the actual rendering module can be introduced, and the actual rendering to be processed is scored according to the size information of each UI rendering module and the actual rendering module to obtain the scoring result. The following is the specific implementation process:
[0075] First, the actual rendering to be processed is scored according to the module absolute coordinate error value. Before obtaining the scoring result, the size information of the multiple UI rendering modules to be processed can be determined respectively; the size information of the multiple actual rendering modules to be processed can be determined respectively; then, according to the module correspondence, the size information of the multiple UI rendering modules to be processed is compared with the size information of the multiple actual rendering modules to be processed to obtain the corresponding module size information error value.
[0076] Then, when scoring the actual rendering to be processed according to the module absolute coordinate error value to obtain a scoring result, the actual rendering to be processed can be scored according to the module absolute coordinate error value and the module size information error value to obtain a scoring result.
[0077] In order to make the scoring result more accurate, the size information of the UI effect diagram elements and the size information of the actual effect diagram elements can be introduced, and the actual effect diagram to be processed is scored according to the size information of each UI effect diagram element and the actual effect diagram element to obtain the scoring result. The following is the specific implementation process:
[0078] First, the actual effect diagram to be processed is scored according to the module absolute coordinate error value. Before obtaining the scoring result, the size information of the multiple UI effect diagram elements to be processed can be determined respectively; the size information of the multiple actual effect diagram elements to be processed can be determined respectively; then, according to the element correspondence, the size information of the multiple UI effect diagram elements to be processed is compared with the size information of the multiple actual effect diagram elements to be processed to obtain the corresponding element size information error value;
[0079] Then, when scoring the actual rendering to be processed according to the module absolute coordinate error value and obtaining the scoring result, the actual rendering to be processed can be scored according to the module absolute coordinate error value, the element absolute coordinate error value, the module size information error value and the element size information error value to obtain the scoring result.
[0080] In an embodiment of the present specification, when scoring the actual rendering to be processed based on the module absolute coordinate error value, the element absolute coordinate error value, the module size information error value and the element size information error value, the position deviation between the actual rendering to be processed and the UI rendering can be first determined based on the module absolute coordinate error value and the element absolute coordinate error value; then the size deviation between the actual rendering to be processed and the UI rendering can be determined based on the module size information error value and the element size information error value; finally, the position deviation between the actual rendering to be processed and the UI rendering, as well as the size deviation between the actual rendering to be processed and the UI rendering can be input into a pre-set automatic scoring system to score the actual rendering to be processed.
[0081] S116: If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through.
[0082] In the embodiments of this specification, the problems of low restoration degree and inefficient design walkthrough in Web interface development can be solved. Based on image recognition technology, automatic UI design walkthrough can be realized, reducing the mechanical and repetitive marking, proofreading and sorting work of designers during the walkthrough, reducing the time cost of missed marks and repeated communication and confirmation with engineers, helping engineers to restore design drafts efficiently and accurately, improving collaboration efficiency, achieving high-quality project restoration effects, and ensuring a more extreme user experience.
[0083] It should be noted that the embodiment of this specification focuses on developing a method for quickly and automatically checking the UI interface. Its core function is to compare the UI renderings and the actual renderings delivered by R&D by dividing the images into modules, and obtaining the inspection results through the calculation scores of the modules, intelligently guiding R&D to perform self-correction and modification, so as to achieve highly efficient inspection results. For details, please refer to Figure 2 The walkthrough flowchart of UI design is shown. For specific steps, please refer to the following content:
[0084] 1. Comparison between UI renderings and actual R&D renderings
[0085] UI uploads the completed design manuscript to the server through exporting annotation specifications, generates annotation links, and R&D develops according to the UI annotations. After development is completed, the system obtains the UI (UI renderings) and product delivery products (actual R&D renderings) respectively, and divides them separately through image recognition technology:
[0086] The system divides the UI renderings and the actual R&D renderings into modules and performs regional identification and segmentation. The division can be based on text titles, dividing lines, and card boundaries.
[0087] Identify elements within modules: remove the content-free areas around the elements within each module and separate the module elements;
[0088] Define the absolute coordinates of each module relative to the origin of the drawing board (for UI effect diagram modules, relative to the preset origin in the UI effect diagram; for actual R&D effect diagram modules, relative to the preset origin in the actual R&D effect diagram). The UI effect diagram can be represented by A(X A ,Y A ) represents the actual R&D effect diagram, which can be represented by A(x A ,y A ) represents the absolute coordinates of each element in the module relative to the origin of the drawing board (for UI effect diagram elements, it is relative to the preset origin in the UI effect diagram; for actual R&D effect diagram elements, it is relative to the preset origin in the actual R&D effect diagram). The UI effect diagram can be represented by Ai(X Ai ,Y Ai ) is expressed, the actual R&D effect diagram can be represented by Ai(x Ai ,y Ai )express;
[0089] Compare the width (UI effect diagram W, R&D actual diagram w) and height (UI effect diagram H, R&D actual diagram h) of each module and the elements within each module;
[0090] The divided elements are compared in pairs, with the focus on the size of the modules and elements, the absolute coordinate error value, and the relative coordinate error value. The text inspection also involves the comparison of text fonts, text colors, and text sizes.
[0091] 2. AI automatic scoring system
[0092] Calculate the absolute position error of each module in the UI rendering and the actual rendering, with the positive direction of the X-axis and the negative direction of the Y-axis as the increasing direction, and subtract the coordinate value of the actual rendering from the coordinate value of the UI rendering. The calculation formula is:
[0093] ΔX A =X A -x A , ΔY A =Y A -y A ;
[0094] The calculation formula for the difference between the module size and the size of each element in the module is:
[0095] ΔW A =W A -w A
[0096] ΔH A =H A -h A
[0097] The calculation method of the absolute coordinate difference of each element in the module is the same as above;
[0098] The total score of the UI walkthrough is the average score of each module. Each module is scored according to the total number of modules divided by the picture. The initial score of each module is S i =100, subtract according to the subtraction rule, the final inspection score is:
[0099]
[0100] In the module deduction rule, M can be set as the deduction score, and the calculation formula is:
[0101]
[0102] In the above-mentioned calculation formula for the deduction score, the deduction score is calculated from the length deviation, width deviation and position deviation respectively, and the denominator 8 in the position deviation is based on the 8-pixel principle in the grid system.
[0103] It should be noted that the above-mentioned score deduction formula does not involve the elements of each module. Similarly, the score deduction calculation formula can be added to the part related to the elements of each module.
[0104] In addition to the above regulations, there are also the following deduction principles for different elements:
[0105] Text: 3 points will be deducted if the font is incorrect; 2 points will be deducted if the font size is incorrect
[0106] Color: If the color value is incorrect, 2 points will be deducted;
[0107] Boundary line: When h > H, R = h / H - 1; when h < H, R = (h / H) - 1 - 1; when h = H, R = 0;
[0108] Comprehensive module score:
[0109] After determining the comprehensive module score in the embodiments of this specification, a walkthrough report is output, specifically:
[0110] (1) A column of score details can be expanded on the left side of the actual R & D effect diagram, and the overall page score is marked at the upper left corner of the page.
[0111] (2) The score value of each module can be displayed at the upper left corner of each module;
[0112] (3) The ΔX, ΔY values for comparing each module and the coordinates of the elements within the module can be marked on the right side of the R & D diagram, that is, the horizontal and vertical coordinate differences that need to be modified for the R & D of this module. A positive value means it should be offset to the right / down, and a negative value means it should be offset to the left / up;
[0113] (4) Details such as font and color can be marked separately.
[0114] The embodiments of this specification can judge the walkthrough result according to the above scores, specifically:
[0115] When the total page score is above 95 points and the score of each individual module is above 80 points, the UI walkthrough can be directly passed;
[0116] When the total page score is above 95 points but there is an individual module score between 70 - 80, or the total score is between 80 - 94 points and the score of each individual module is above 70 points, then the manual walkthrough link can be entered;
[0117] When the total page score is below 80 points and there is an individual module score below 70 points, then the R & D needs to make adjustments according to the output walkthrough report and go through the automatic walkthrough process again until the score exceeds 80 points to start the next step.
[0118] When implementing the manual walkthrough link in the embodiments of this specification, specifically:
[0119] The UI designer manually compares the UI effect diagram and the actual effect diagram in the test link, corrects the unreasonable problems existing in the intelligent system, and gives an overall score to the developed effect diagram in combination with the priorities of the project. When the overall score reaches above 95 points, the UI walkthrough is directly passed; when the overall score is less than 90 points, then UI adjustment opinions need to be given, and the R & D makes adjustments according to the output manual opinions and conducts an automatic walkthrough again until the score reaches above 95 points to pass the UI walkthrough.
[0120] The embodiments of this specification can standardize the process and make project management more convenient through the above scheme: UI designers and R&D engineers often have multiple projects in hand at the same time. After the UI walkthrough is standardized through automatic process, the redundancy caused by multiple projects in parallel will be reduced, and the work efficiency of people will be improved. At the same time, the walkthrough report can be automatically output to avoid repeated marking and repeated sorting of problem documents: After the engineer completes the development, the test walkthrough link and the UI annotation link can be cut and compared with the picture module. The walkthrough result can be obtained through the calculated score of the module, and the R&D can be intelligently informed to make corrections and modifications by themselves, avoiding repeated manual walkthroughs and repeated markings, helping engineers to restore the design draft efficiently and accurately.
[0121] The embodiments of this specification can improve collaboration efficiency and save time costs. The UI design walkthrough method can reduce the mechanical and repetitive marking and proofreading work of designers during the walkthrough, reduce the time cost of missed marks and repeated communication and confirmation with engineers, help engineers efficiently and accurately restore design drafts (UI renderings), improve collaboration efficiency, and achieve high-quality project restoration effects.
[0122] Corresponding to the above embodiment, Figure 3 A structural schematic diagram of a UI design inspection device provided for one or more embodiments of the present specification includes: an acquisition unit 302, a module division unit 304, a first coordinate determination unit 306, a second coordinate determination unit 308, a correspondence determination unit 310, an error value calculation unit 312, a result unit 314 and an inspection and evaluation unit 316.
[0123] An acquiring unit 302 acquires a plurality of UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided;
[0124] A module division unit 304 divides the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed;
[0125] A first coordinate determining unit 306 is configured to respectively determine the absolute coordinates of the plurality of UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed;
[0126] A second coordinate determining unit 308 is configured to respectively determine the absolute coordinates of the plurality of actual effect image modules to be processed relative to the origin of the actual effect image to be processed;
[0127] A correspondence determination unit 310 is configured to respectively determine module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed;
[0128] The error value calculation unit 312 compares the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules according to the module correspondence relationship to obtain corresponding module absolute coordinate error values;
[0129] A result unit 314 scores the actual effect image to be processed according to the module absolute coordinate error value to obtain a scoring result;
[0130] The walk-through evaluation unit 316 , if the scoring result is higher than a preset threshold, the actual effect diagram to be processed passes the walk-through.
[0131] Corresponding to the above embodiment, Figure 4 A schematic diagram of a walkthrough device for UI design provided for one or more embodiments of this specification includes:
[0132] at least one processor; and,
[0133] a memory communicatively connected to the at least one processor; wherein,
[0134] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0135] Obtain a plurality of UI effect diagram modules to be processed which are pre-divided into the UI effect diagram to be processed;
[0136] Divide the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed;
[0137] Respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed;
[0138] Respectively determine the absolute coordinates of the plurality of actual effect graph modules to be processed relative to the origin of the actual effect graph to be processed;
[0139] Respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed;
[0140] According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values;
[0141] Scoring the actual effect graph to be processed according to the module absolute coordinate error value to obtain a scoring result;
[0142] If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through.
[0143] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to:
[0144] Obtain a plurality of UI effect diagram modules to be processed which are pre-divided into the UI effect diagram to be processed;
[0145] Divide the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed;
[0146] Respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed;
[0147] Respectively determine the absolute coordinates of the plurality of actual effect graph modules to be processed relative to the origin of the actual effect graph to be processed;
[0148] Respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed;
[0149] According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values;
[0150] Scoring the actual effect graph to be processed according to the module absolute coordinate error value to obtain a scoring result;
[0151] If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through.
[0152] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0153] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0154] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.
Claims
1. A UI design walkthrough method, characterized in that: include: Obtain a plurality of UI effect diagram modules to be processed which are pre-divided into the UI effect diagram to be processed; Divide the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed; Respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed; Respectively determine the absolute coordinates of the plurality of actual effect graph modules to be processed relative to the origin of the actual effect graph to be processed; Respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed; According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values; Scoring the actual effect graph to be processed according to the module absolute coordinate error value to obtain a scoring result; If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through; Before obtaining the plurality of UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided, the method further includes: According to the division marks in the UI effect diagram to be processed, the UI effect diagram to be processed is divided into the plurality of UI effect diagram modules to be processed; wherein the division marks include one or more of text titles, dividing lines, and card boundaries.
2. The method according to claim 1, characterized in that According to the module absolute coordinate error value, the actual effect diagram to be processed is scored, and before obtaining the scoring result, the method further includes: Performing element segmentation in the plurality of UI effect diagram modules to be processed respectively to obtain a plurality of UI effect diagram elements to be processed, and performing element segmentation in the plurality of actual effect diagram modules to be processed respectively to obtain a plurality of actual effect diagram elements to be processed; Obtaining corresponding element absolute coordinate error values according to the plurality of UI effect diagram elements to be processed and the plurality of actual effect diagram elements to be processed; Scoring the actual effect image to be processed according to the module absolute coordinate error value to obtain a scoring result specifically includes: The actual effect diagram to be processed is scored according to the module absolute coordinate error value and the element absolute coordinate error value to obtain a scoring result.
3. The method according to claim 2, characterized in that The obtaining corresponding element absolute coordinate error values according to the plurality of UI effect diagram elements to be processed and the plurality of actual effect diagram elements to be processed specifically includes: Respectively determine the absolute coordinates of the multiple UI effect diagram elements to be processed relative to the origin of the UI effect diagram to be processed; Respectively determine the absolute coordinates of the plurality of actual effect graph elements to be processed relative to the origin of the actual effect graph to be processed; Respectively determining the element correspondence between the plurality of UI effect diagram elements to be processed and the plurality of actual effect diagram elements to be processed; According to the element correspondence, the absolute coordinates of the multiple UI effect diagram elements are compared with the absolute coordinates of the multiple actual effect diagram elements to obtain corresponding element absolute coordinate error values.
4. The method according to claim 3, characterized in that According to the module absolute coordinate error value, the actual effect diagram to be processed is scored, and before obtaining the scoring result, the method further includes: Respectively determine the size information of the multiple UI effect diagram modules to be processed; Respectively determine the size information of the plurality of actual effect image modules to be processed; According to the module correspondence, respectively compare the size information of the plurality of UI effect diagram modules to be processed with the size information of the plurality of actual effect diagram modules to be processed to obtain corresponding module size information error values; Scoring the actual effect image to be processed according to the module absolute coordinate error value to obtain a scoring result specifically includes: The actual effect diagram to be processed is scored according to the module absolute coordinate error value and the module size information error value to obtain a scoring result.
5. The method according to claim 4, characterized in that According to the module absolute coordinate error value, the actual effect diagram to be processed is scored, and before obtaining the scoring result, the method further includes: Respectively determine the size information of the multiple UI effect diagram elements to be processed; Respectively determine the size information of the plurality of actual effect image elements to be processed; According to the element correspondence, respectively compare the size information of the plurality of UI effect diagram elements to be processed with the size information of the plurality of actual effect diagram elements to be processed to obtain corresponding element size information error values; Scoring the actual effect image to be processed according to the module absolute coordinate error value to obtain a scoring result specifically includes: The actual effect diagram to be processed is scored according to the module absolute coordinate error value, the element absolute coordinate error value, the module size information error value and the element size information error value to obtain a scoring result.
6. The method according to claim 5, characterized in that The scoring of the actual effect diagram to be processed according to the module absolute coordinate error value, the element absolute coordinate error value, the module size information error value and the element size information error value specifically includes: Determine the position deviation between the actual effect diagram to be processed and the UI effect diagram according to the module absolute coordinate error value and the element absolute coordinate error value; Determine the size deviation between the actual effect diagram to be processed and the UI effect diagram according to the module size information error value and the element size information error value; The position deviation between the actual rendering to be processed and the UI rendering, and the size deviation between the actual rendering to be processed and the UI rendering are input into a preset automatic scoring system to score the actual rendering to be processed.
7. A UI design walkthrough device, characterized in that: include: An acquisition unit, which acquires a plurality of UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided; A module division unit, which divides the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed; A first coordinate determination unit, for respectively determining the absolute coordinates of the plurality of UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed; A second coordinate determination unit, for respectively determining the absolute coordinates of the plurality of actual effect image modules to be processed relative to the origin of the actual effect image to be processed; A correspondence determination unit, respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed; an error value calculation unit, which compares the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules according to the module correspondence, and obtains corresponding module absolute coordinate error values; A result unit, scoring the actual effect diagram to be processed according to the module absolute coordinate error value to obtain a scoring result; A walk-through evaluation unit, if the scoring result is higher than a preset threshold, the actual effect diagram to be processed passes the walk-through; Before obtaining the plurality of UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided, the device is further used for: According to the division marks in the UI effect diagram to be processed, the UI effect diagram to be processed is divided into the plurality of UI effect diagram modules to be processed; wherein the division marks include one or more of text titles, dividing lines, and card boundaries.
8. A UI design walkthrough device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Obtain a plurality of UI effect diagram modules to be processed which are pre-divided into the UI effect diagram to be processed; Divide the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed; Respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed; Respectively determine the absolute coordinates of the plurality of actual effect graph modules to be processed relative to the origin of the actual effect graph to be processed; Respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed; According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values; Scoring the actual effect graph to be processed according to the module absolute coordinate error value to obtain a scoring result; If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through; Before obtaining the multiple UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided, the method further includes: According to the division marks in the UI effect diagram to be processed, the UI effect diagram to be processed is divided into the plurality of UI effect diagram modules to be processed; wherein the division marks include one or more of text titles, dividing lines, and card boundaries.
9. A non-volatile computer storage medium, characterized in that: A computer executable instruction is stored, wherein the computer executable instruction is configured to: Obtain a plurality of UI effect diagram modules to be processed which are pre-divided into the UI effect diagram to be processed; Divide the actual effect diagram to be processed into modules according to the multiple UI effect diagram modules to be processed, so as to obtain multiple actual effect diagram modules to be processed; Respectively determine the absolute coordinates of the multiple UI effect diagram modules to be processed relative to the origin of the UI effect diagram to be processed; Respectively determine the absolute coordinates of the plurality of actual effect graph modules to be processed relative to the origin of the actual effect graph to be processed; Respectively determining module correspondences between the plurality of UI effect diagram modules to be processed and the plurality of actual effect diagram modules to be processed; According to the module correspondence, respectively compare the absolute coordinates of the multiple UI effect diagram modules with the absolute coordinates of the multiple actual effect diagram modules to obtain corresponding module absolute coordinate error values; Scoring the actual effect graph to be processed according to the module absolute coordinate error value to obtain a scoring result; If the scoring result is higher than a preset threshold, the actual rendering to be processed passes the walk-through; Before obtaining the multiple UI effect diagram modules to be processed into which the UI effect diagram to be processed is pre-divided, the method further includes: According to the division marks in the UI effect diagram to be processed, the UI effect diagram to be processed is divided into the plurality of UI effect diagram modules to be processed; wherein the division marks include one or more of text titles, dividing lines, and card boundaries.
Citation Information
Patent Citations
User interface visual acceptance processing method, device and equipment
CN111045924A
Page data processing method and device, electronic equipment and storage medium
CN114185544A
