Method, device, computer equipment and readable storage medium for displaying test results

By using animation effects to display the detection results during the security detection process, the problem of untimely display of detection results in the prior art is solved, the user experience is improved, and the differences in detection results are distinguished by the display method of different characters.

CN114648602BActive Publication Date: 2025-05-13QI-ANXIN LEGENDSEC INFORMATION TECH (BEIJING) INC +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011497786.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-17
Publication Date
2025-05-13
Estimated Expiration
2040-12-17

AI Technical Summary

Technical Problem

The prior art cannot display the detection results in real time and dynamically during the security detection process, resulting in poor user experience, especially when there are many inspection items, which takes a long time and poor user interaction experience.

Method used

By setting multiple display columns on the display canvas, the detection results and corresponding detection item identification are obtained, and the display column displays detection item identification is controlled to form an animation of character drops, and the display method of characters is adjusted according to different detection results.

Benefits of technology

It realizes dynamic display of detection results during the security detection process, enhances user experience, allows users to perceive the detection results in a timely manner through animation effects, and distinguishes the differences in detection results through the display of different characters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114648602B_ABST
    Figure CN114648602B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, computer equipment and readable storage medium for displaying test results. The display canvas includes a plurality of display columns arranged in a first direction and extending in a second direction, and the method for displaying the test results includes: obtaining the test results and the test item identification corresponding to the test results, wherein the test item identification includes a number of characters; and controlling the display column to display the test item identification so that the display column forms an animation of characters falling in the second direction, wherein the display mode of the characters is different for different test results. Through the present invention, the display effect of the test results can be enhanced and the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information display technology, and in particular to a method, device, computer equipment and readable storage medium for displaying test results. Background Art

[0002] With the rapid development of computer technology and Internet applications, information security has become increasingly important, and it has also become an important research field that has attracted much attention. In order to improve the security of information, security detection software is usually deployed on personal computers, smart phones and other terminals. After receiving security detection instructions such as Trojan detection and vulnerability scanning, security detection is performed on the set detection range. In the process of security detection, the existing technology usually only displays the progress of the detection. After the detection is completed, the final security detection results are displayed in text, for example: 1 XX Trojan, 1 account stealing software, and 1 virus software are detected. This detection method cannot allow users to perceive the detection results in time during the detection process. At the same time, the display method is relatively monotonous. When there are many detection items, it takes a long time and the user interaction experience is poor.

[0003] Therefore, how to enhance the display effect of detection results and improve user experience has become a technical problem that needs to be urgently solved in this field. Summary of the invention

[0004] The purpose of this application is to provide a method, device, computer equipment and readable storage medium for displaying test results, so as to solve the above-mentioned technical problems in the prior art.

[0005] On the one hand, to achieve the above-mentioned purpose, the present application provides a method for displaying detection results.

[0006] The display canvas includes a plurality of display columns arranged in a first direction and extending in a second direction. The method for displaying the detection result includes: obtaining the detection result and a detection item identifier corresponding to the detection result, wherein the detection item identifier includes a plurality of characters; and controlling the display column to display the detection item identifier so that the display column forms an animation of the characters falling in the second direction, wherein the display method of the characters is different according to the detection result.

[0007] Further, the display column includes a plurality of display units arranged in sequence in the second direction, the display units are used to display the characters, the first display column is any one of the display columns, and the step of controlling the display column to display the detection item identifier so that the display column forms an animation of the characters falling in the second direction includes: determining the display unit of the first display column displaying the last character of the previous detection item identifier to obtain the first display unit; determining the second display unit located after the first display unit; controlling the characters of the current detection item identifier to appear in the first display column in sequence starting from the second display unit, and to disappear in the first display column in sequence.

[0008] Further, when the first display unit is the last display unit of the first display column, the display unit located after the first display unit and adjacent to the first display unit is the first display unit of the first display column.

[0009] Furthermore, the first display unit is adjacent to the second display unit.

[0010] Furthermore, the method for displaying the detection result further includes: if the current detection item identifier is the first detection item identifier displayed in the first display column, randomly determining a display unit in the first display column as the second display unit.

[0011] Furthermore, when controlling the characters identified by the current detection item to appear in the first display column in sequence starting from the second display unit, the brightness of each character is controlled to gradually increase; and when controlling the characters to disappear in the first display column in sequence, the brightness of each character is controlled to gradually decrease.

[0012] Further, the detection identifier includes a first detection item identifier corresponding to an abnormal detection result and a second detection item identifier corresponding to a normal detection result, and the step of controlling the display column to display the detection item identifier so that the display column forms an animation of the character falling in the second direction includes: when the display column is located in a first area, controlling the display column to display the first detection item identifier; when the display column is located in a second area, controlling the display column to display the first detection item identifier and the second detection item identifier, wherein, in the first direction, the first area is located on both sides of the display canvas, and the second area is located at the center of the display canvas.

[0013] Furthermore, the method for displaying the detection results also includes: if the detection result corresponding to the current detection item identifier displayed in the display column is a detection abnormality, displaying a warning floating layer in a preset format, wherein the warning floating layer is used to display the risk description information corresponding to the current detection item identifier.

[0014] Furthermore, the step of displaying a warning floating layer in a preset format includes: determining a floating layer display area according to a display position of the current detection item identifier; and displaying the warning floating layer in the floating layer display area.

[0015] Furthermore, the step of determining the floating display area according to the display position of the current detection item identifier includes: determining a search area at the center of the display canvas; within the search area, searching for an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as a target area; and determining the floating display area according to the target area.

[0016] Furthermore, before the step of searching, within the search area, an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as the target area, the step of determining the floating layer display area according to the display position of the current detection item identifier also includes: judging whether the search area is occupied by multiple historical warning floating layers; when the search area is occupied, searching for two of the historical warning floating layers with the shortest path to the display position of the current detection item identifier, and determining the area of ​​the first preset size at the display positions of the two historical warning floating layers as the floating layer display area; wherein, when the search area is not occupied by the historical warning floating layers, executing the step of searching, within the search area, an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as the target area.

[0017] Furthermore, the step of determining the floating layer display area according to the target area includes: judging whether the target area is displaying the historical warning floating layer; when the target area is displaying the historical warning floating layer, randomly determining an area of ​​the first preset size in the search area as the floating layer display area; when the target area is idle, determining the target area as the floating layer display area.

[0018] Furthermore, the step of displaying a warning pop-up layer in a preset format also includes: after displaying the warning pop-up layer for a preset time in the pop-up layer display area, controlling the warning pop-up layer to gradually shrink to a second preset size, and gradually moving from the pop-up layer display area to a preset position outside the display canvas and disappearing, wherein the preset position is used to display the number of detection items whose detection results are abnormal; updating the number of detection items at the preset position.

[0019] Furthermore, the preset position is also used to set a risk list display control, and the method for displaying the detection results also includes: displaying a risk list in response to the operation of the risk list display control, wherein the risk list includes a number of the detection item identifiers and processing controls corresponding to the detection item identifiers; and processing the detection item identified by the detection item identifier in response to the operation of the processing control.

[0020] Furthermore, the method for displaying the test results also includes: receiving a safety test instruction; performing a safety test on the items within the test range to obtain the test results; constructing the test item identifier according to the project name of the project; storing the correspondence between the test result and the test item identifier; and adding the test item identifier to an identifier pool, wherein the step of obtaining the test result and the test item identifier corresponding to the test result includes: obtaining the test item identifier from the identifier pool, and obtaining the test result according to the obtained test item identifier and the corresponding relationship.

[0021] Furthermore, the method for displaying the detection results also includes: in response to the operation of the installation button, starting the software installation process, wherein the display canvas is displayed through the software; obtaining the software installation progress; determining the filling ratio of the preset filler in the preset icon on the installation interface according to the mapping relationship between the software installation progress and the preset, wherein the mapping relationship is used to characterize the relationship between the software installation progress and the filling ratio, when the software installation progress increases, the filling ratio increases, and the installation interface is displayed in the display canvas; and filling the preset filler in the preset icon according to the filling ratio.

[0022] Furthermore, the preset filler is a Morse code of the name of the preset icon, or the preset filler is one or a combination of numbers, letters and special symbols.

[0023] On the other hand, to achieve the above-mentioned purpose, the present application provides a display device for detection results.

[0024] The display device for the detection result includes: a display canvas, including a plurality of display columns arranged in a first direction and extending in a second direction; an acquisition module, used to acquire the detection result and a detection item identifier corresponding to the detection result, wherein the detection item identifier includes a plurality of characters; and a control module, used to control the display column to display the detection item identifier so that the display column forms an animation of the characters falling in the second direction, wherein the display mode of the characters is different according to the detection result.

[0025] On the other hand, to achieve the above objectives, the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above method when executing the computer program.

[0026] On the other hand, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method are implemented.

[0027] The display method, device, computer equipment and readable storage medium of the detection results provided by the present application have a preset display canvas for displaying the detection results. At the same time, the detection results are displayed by displaying the detection item identifiers corresponding to the detection results. The display canvas includes a plurality of display columns arranged in a first direction and extending in a second direction. The detection item identifiers include a plurality of characters. Specifically, the detection item identifiers are displayed by controlling the display columns to form an animation of characters falling in the second direction. At the same time, different detection results have different display modes of characters. Through the present invention, when displaying the detection results, an overall animation of characters arranged in the first direction and falling in the second direction is formed on the entire display canvas, presenting a dynamic display screen to the user. Moreover, through different character display modes, the user can perceive the difference in the detection results, and the display effect of the detection results is enhanced, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0029] Figure 1 A flowchart of a method for displaying test results provided in Example 1 of the present application;

[0030] Figures 2 to 6 A rendering of a display canvas provided in an embodiment of the present application;

[0031] Figure 7 The effect diagram of the software installation provided in the embodiment of the present application;

[0032] Figure 8 A block diagram of a display device for detection results provided in Embodiment 2 of the present application;

[0033] Fig. 9 This is a hardware structure diagram of the computer device provided in Example 3 of the present application. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0035] In order to improve the display effect of the detection results and increase the user experience, the present application provides a display method, device, computer equipment and readable storage medium for the detection results. In the display method of the detection results, a display canvas capable of displaying the detection results is set, and the display canvas includes multiple display columns arranged in a first direction and extending in a second direction. When displaying the detection results, they are displayed through detection item identifiers corresponding to the detection results. Specifically, the detection item identifiers include a number of characters. The detection item identifiers are displayed by controlling the display columns to make the display columns form an animation of characters falling in the second direction. At the same time, different detection results have different character display methods. Therefore, on the one hand, on the entire display canvas, an overall animation of characters arranged in the first direction and falling in the second direction can be formed, presenting a dynamic display screen to the user, and through different character display methods, the user can perceive the difference in the detection results, thereby enhancing the display effect of the detection results and improving the user experience.

[0036] Specific embodiments of the method, apparatus, computer device, and readable storage medium for displaying detection results provided in the present application will be described in detail below.

[0037] Embodiment 1

[0038] Embodiment 1 of the present application provides a method for displaying detection results, in which a display canvas is set, and the display canvas includes a plurality of display columns arranged in a first direction and extending in a second direction, wherein the first direction and the second direction are two directions located in the same plane and intersecting with each other, and there is a certain angle between the two directions, and optionally, the first direction and the second direction are perpendicular, for example, in the display window of the terminal, the first direction is a direction from left to right, and the second direction is a direction from top to bottom.

[0039] It should be noted that the display columns in the present application and the display units described below are merely logical divisions of display pixels in the display canvas area for describing the display process, and there are no physical boundaries forming the display columns and display units.

[0040] The detection item identifier corresponding to the detection result is displayed on the display canvas. Through this method, the display effect of the detection result can be enhanced and the user experience can be improved. Specifically, Figure 1This is a flow chart of a method for displaying test results provided in Example 1 of the present application, such as Figure 1 As shown, the method for displaying the detection results provided in this embodiment includes the following steps S101 and S102.

[0041] Step S101: Acquire the detection result and the detection item identifier corresponding to the detection result.

[0042] The detection item identifier includes several characters.

[0043] Among them, the detection items can be related detection items in related security detection processes such as vulnerability scanning and virus detection, such as system files, computer programs installed and / or running on the system and stored files, network ports, services and databases, etc.

[0044] When a software device such as security software detects each detection item within the detection range, a detection result will be obtained for each detection item. For example, the detection result includes normal and abnormal. When the detection result is normal, it indicates that the detection item belongs to a safe detection item; when the detection result is abnormal, it indicates that the detection item belongs to an unsafe detection item. The detection item identifier can be an identifier, symbol or code that can uniquely identify the detection item, such as the name of the detection item. In this embodiment, the detection result is displayed by displaying the detection item identifier.

[0045] In step S101, the detection result of the detection item and the corresponding detection item identifier can be obtained during the security software detection process or after the detection is completed, so as to be displayed in the following step S102.

[0046] Step S102: controlling the display column to display the detection item identifier, so that the display column forms an animation of characters falling in the second direction.

[0047] Among them, the detection results are different, and the characters are displayed differently.

[0048] After the detection item identification is obtained, it is displayed through a display column on the display canvas. Specifically, the characters of each detection item identification are displayed in a display column. The display of the characters is controlled so that the display column forms an animation of the characters falling in the second direction. At the same time, based on the character falling animation, the detection results are different, and the display methods of the characters are different. Optionally, the display colors of the characters are different. For example, a warning color is used to display the detection item identification with an abnormal detection result. Optionally, the falling speed of the characters is different. For example, the detection item identification with an abnormal detection result is displayed by falling slowly, etc. In addition, the characters can be displayed differently by using different display fonts and different font sizes.

[0049] Optionally, when the display column is controlled to display the detection item identifier, an animation of characters falling in the second direction can be formed by controlling the display mode of each character in a single detection item identifier to move in the display column; or, optionally, when the display column is controlled to display the detection item identifier, the order of display and disappearance of multiple detection item identifiers can be controlled to visually form an animation of characters falling, etc. In the present application, the specific method of realizing the animation of characters falling is not limited. By controlling the display column to display the detection item identifier, the display column can be made to form an animation of characters falling in the second direction, which is within the protection scope of the present application.

[0050] In the method for displaying the detection results provided in this embodiment, a display canvas for displaying the detection results is preset. At the same time, the detection results are displayed by displaying the detection item identifiers corresponding to the detection results. The display canvas includes multiple display columns arranged in a first direction and extending in a second direction. The detection item identifiers include a number of characters. Specifically, the detection item identifiers are displayed by controlling the display columns to form an animation of characters falling in the second direction. At the same time, different detection results have different display modes of characters. Using the method for displaying the detection results provided in this embodiment, when displaying the detection results, an overall animation of characters arranged in the first direction and falling in the second direction is formed on the entire display canvas, presenting a dynamic display screen to the user. Through different character display modes, the user can perceive the difference in the detection results, and the display effect of the detection results is enhanced, thereby improving the user experience.

[0051] Optionally, in one embodiment, Figure 2 As shown, the display canvas includes a plurality of display columns arranged in a first direction (horizontally) and extending in a second direction (longitudinal), the display column includes a plurality of display units sequentially arranged in the second direction, each display unit is used to display a character, the first display column is any one of the display columns, and the step of controlling the display column to display the detection item identifier so that the display column forms an animation of the character falling in the second direction includes:

[0052] Step S1021: determining a display unit in the first display column that displays the last character of the previous detection item identifier, to obtain a first display unit;

[0053] Step S1022: determining a second display unit located behind the first display unit;

[0054] Step S1023: Control the characters of the current detection item identifier to appear in the first display column in sequence starting from the second display unit, and to disappear in the first display column in sequence.

[0055] Specifically, in this embodiment, the process of displaying the detection item identification in any display column in the display canvas, that is, the first display column, is described.

[0056] When the first display column displays the current detection item identifier A, it first determines the display unit where the last character is located when the previous detection item identifier B is displayed, that is, the first display unit; then determines a display unit after the first display unit, that is, the second display unit, that is, in the second direction, the second display unit is located after the first display unit. Specifically, the two may be adjacent display units, or a number of display units may be spaced between the two. Optionally, when the first display unit is the last display unit of the first display column, the display unit located after the first display unit and adjacent to the first display unit is the first display unit of the first display column.

[0057] After determining the second display unit, the characters of the current detection item identifier are controlled to appear in the first display column in sequence starting from the second display unit. When all the characters of the detection item identifier appear, the characters of the current detection item identifier are controlled to disappear in sequence starting from the second display unit in the first display column, and then a new detection item identifier is acquired to become the new current detection item identifier, and the process returns to step S1021 to display again. In the process of displaying two adjacent detection item identifiers in one display column, in the second direction, the characters of the previous detection item identifier appear in sequence and then disappear, and then the characters of the next detection item identifier continue to appear in sequence and then disappear. From the perspective of visual effect, it is equivalent to the characters gradually falling on the display column, forming an animation of the characters falling in the second direction.

[0058] The method for displaying the test results provided in this embodiment controls the relative display position relationship of adjacent test item identifiers, and controls the display mode in which each character in the test item identifier appears and disappears in sequence, thereby visually realizing an animation of the characters gradually falling on the display column, and controlling each character to be displayed only once. For scenarios where a large number of test results are to be displayed, the display can be completed quickly, thereby shortening the display time of the test results and further improving the user experience.

[0059] Among them, when the first display unit is adjacent to the second display unit, the animation display effect can be increased; when the first display unit is the last display unit of the first display column, the first display unit of the first display column is defined as a display unit located after and adjacent to the first display unit, so that the control logic is simple, and at the same time, an animation effect is formed in which the character disappears from the last display unit in the first display column and then appears from the first display unit in the first display column.

[0060] Optionally, in an embodiment, the method for displaying the detection result further includes: if the current detection item identifier is the first detection item identifier displayed in the first display column, randomly determining a display unit in the first display column as the second display unit.

[0061] Specifically, for the first detection item identifier displayed in each display column, a display unit is randomly determined to start displaying. On the one hand, the detection item identifier can be quickly displayed. On the other hand, the initial display units determined by each display column on the display canvas are different, that is, the positions where the characters start to fall visually in each display column are different, thereby avoiding the animation effect of characters falling from the same position in different display columns, thereby further improving the display effect of the detection results.

[0062] Optionally, in one embodiment, when the characters identified by the current detection item are controlled to appear in the first display column successively starting from the second display unit, the brightness of each character is controlled to gradually increase; when the characters are controlled to disappear in the first display column successively, the brightness of each character is controlled to gradually decrease.

[0063] Specifically, when controlling the characters of the detection item identification to appear in the display column, in addition to controlling each character to appear in sequence from the determined second display unit, the brightness of each character is also controlled to gradually increase, that is, an animation effect of each character gradually fading in; when controlling the characters of the detection item identification to disappear in the display column, in addition to controlling each character to disappear in sequence from the determined second display unit, the brightness of each character is also controlled to gradually decrease, that is, an animation effect of each character gradually fading out, thereby enabling each character in the detection item identification to fade in and then fade out in sequence, visually achieving a softer and more coherent character falling effect, further improving the display effect of the detection results.

[0064] Optionally, in one embodiment, the detection identifier includes a first detection item identifier corresponding to an abnormal detection result and a second detection item identifier corresponding to a normal detection result, and the step of controlling the display column to display the detection item identifier so that the display column forms an animation of falling characters in the second direction includes: when the display column is located in a first area, controlling the display column to display the first detection item identifier; when the display column is located in the second area, controlling the display column to display the first detection item identifier and the second detection item identifier, wherein, in the first direction, the first area is located on both sides of the display canvas, and the second area is located in the center of the display canvas.

[0065] Specifically, the detection results include normal and abnormal, which respectively represent that the detection item is in a normal state and an abnormal state, and the corresponding detection item identifiers are defined as the first detection item identifier and the second detection item identifier. In this embodiment, the first detection item identifier is controlled to be displayed at any position in the display canvas, and the second detection item identifier is controlled to be displayed only in the central area of ​​the display canvas. That is to say, for the central area of ​​the display canvas, the first detection item identifier or the second detection item identifier can be displayed, and for the areas on both sides of the display canvas, only the first detection item identifier can be displayed. When controlling the display column to display the detection item identifier, when the display column is located in the central area of ​​the display canvas, that is, the second area, a detection item identifier can be randomly obtained, and the obtained first detection item identifier and the second detection item identifier are displayed in different display modes, such as Figure 3 As shown; when the display column is located in the two side areas of the display canvas, that is, the first area, only the first detection item identifier can be randomly obtained for display.

[0066] By using the display method of the detection results provided by this embodiment, the detection item identification of the abnormality is displayed in the central area of ​​the display canvas, and a different display mode is used from the normal detection item identification, which can enhance the warning effect of the abnormal detection result. At the same time, it is only necessary to control the display columns at different positions to obtain the corresponding detection item identification, and the control logic is simple, which is conducive to the rapid response of the display.

[0067] Optionally, in one embodiment, the method for displaying detection results also includes: if the detection result corresponding to the current detection item identifier displayed in the display column is a detection abnormality, displaying a warning floating layer in a preset format, wherein the warning floating layer is used to display the risk description information corresponding to the current detection item identifier.

[0068] Specifically, if the currently displayed detection item identifier is the identifier of an abnormal detection item, a warning floating layer is also displayed to further display the risk description information of the abnormal detection item, such as Figure 4 As shown, by displaying the warning floating layer, users can quickly obtain relevant warning content, which can further enhance the user experience.

[0069] Optionally, in one embodiment, the step of displaying a warning floating layer in a preset format includes: determining a floating layer display area according to a display position of a current detection item identifier; and displaying the warning floating layer in the floating layer display area.

[0070] Specifically, if the detection result corresponding to the current detection item identification is abnormal, the floating layer display area is determined according to the display position of the current detection item identification number to display the floating layer, so that the position of the warning floating layer changes with the display position of the detection item identification, thereby enhancing the warning effect.

[0071] Optionally, in one embodiment, the step of determining a floating display area based on the display position of the current detection item identifier includes: determining a search area at the center of the display canvas; searching within the search area for an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as a target area; and determining a floating display area based on the target area.

[0072] Specifically, when determining the search area at the center of the display canvas, a circular search area can be determined with the center of the display canvas as the center of the circle and a preset ratio multiplied by the side length of the display canvas as the radius. Alternatively, a square search area can be determined with the center of the display canvas as the geometric center and a preset ratio multiplied by the side length of the display canvas as the side length. Alternatively, the display canvas can be divided into three equal parts in the first direction, and the part including the center of the display canvas is used as the search area. Alternatively, each display edge of the display canvas can be indented toward the center of the display canvas by preset pixels, such as 40 pixels, and the resulting center area is used as the search area. After determining the search area, search for a target area of ​​a preset size in the search area. The search condition satisfied by the target area is: the area with the shortest path to the display position of the corresponding detection item identifier in the search area. Specifically, the display unit where the first character of the detection item identifier is located, that is, the midpoint between the second display unit and the display unit where the last character of the detection item identifier is located, can be used as a parameter for calibrating the display position of the detection item identifier. The geometric center of the target area is used as a parameter for calibrating the display position of the target area. The path between the midpoint and the geometric center of the target area is the shortest path between the midpoint and the geometric center of the area that meets the preset size in the search area. After determining the target area, the floating warning area can be determined according to the target area. For example, the target area can be directly used as the floating warning area, or, when a floating warning area is already displayed in the target area, the area of ​​the preset size closest to the target area can be used as the floating warning area, etc.

[0073] By adopting the method for displaying the detection results provided by this embodiment, a search area is determined at the center of the display canvas, which can make the warning floating layer more eye-catching and enhance its warning effect. At the same time, the area with the shortest path to the corresponding detection item identification is searched in the search area, and the floating layer display area is determined based on the area to display the warning floating layer. This shortens the distance between the warning floating layer and the corresponding detection item identification, which is beneficial to visually provide the correlation characteristics between the two and enhance the display effect of the detection results.

[0074] Optionally, in one embodiment, before the step of searching within the search area for an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as the target area, the step of determining the floating display area according to the display position of the current detection item identifier also includes: determining whether the search area is occupied by multiple historical warning floating layers; when the search area is full, searching for two historical warning floating layers with the shortest path to the display position of the current detection item identifier, and determining an area of ​​a first preset size at the display positions of the two historical warning floating layers as the floating display area; wherein, when the search area is not occupied by historical warning floating layers, executing the step of searching within the search area for an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as the target area.

[0075] Specifically, before searching for the target area in the search area, first determine whether the search area should be occupied by the warning pop-up layer. In some special scenarios, if the search area is completely occupied, the target area is no longer searched. Instead, two historical warning pop-ups with the shortest path to the display position of the detection item identifier are searched. For example, the historical warning pop-ups closest to the midpoint corresponding to the detection item identifier are searched. Then, an area of ​​a first preset size is determined at the display position of the two historical warning pop-ups as the pop-up display area. For example, a portion of two adjacent historical warning pop-ups is used to superimpose the pop-up display area. When the search area is not occupied by historical warning pop-ups, the target area is searched within the search area.

[0076] Optionally, in one embodiment, the step of determining a floating layer display area according to a target area includes: determining whether the target area is displaying a historical warning floating layer; when the target area is displaying a historical warning floating layer, randomly determining an area of ​​a first preset size in the search area as a floating layer display area; when the target area is idle, determining the target area as a floating layer display area.

[0077] Specifically, after determining the target area, if a warning pop-up layer (i.e., a historical warning pop-up layer) is already displayed in the target area, a region is randomly determined in the search area as the pop-up layer display area; when the target area is idle, i.e., when no warning pop-up layer is displayed in the target area, the target area is used as the pop-up layer display area.

[0078] Optionally, in one embodiment, the step of displaying a warning pop-up layer in a preset format also includes: after displaying the warning pop-up layer for a preset time in the pop-up layer display area, controlling the warning pop-up layer to gradually shrink to a second preset size, and gradually moving from the pop-up layer display area to a preset position outside the display canvas and disappearing, wherein the preset position is used to display the number of detection items whose detection results are abnormal; updating the number of detection items at the preset position.

[0079] Specifically, Figure 4 and Figure 5As shown, the warning pop-up layer is displayed in the display canvas, and the number of abnormal detection items is displayed at a preset position outside the display canvas. After the warning pop-up layer is displayed in the display canvas for a preset time, for example, after being displayed for 2 seconds, it moves from the display canvas to the preset position and disappears, and gradually shrinks to a preset size during the movement. At the same time, each time the warning pop-up layer moves to the preset position and disappears, the number of abnormal display items at the preset position is increased by 1.

[0080] Further optionally, as shown in the figure, in one embodiment, the preset position is also used to set a risk list display control, and the method for displaying the detection results also includes: in response to the operation of the risk list display control, displaying a risk list, wherein the risk list includes a number of detection item identifiers and processing controls corresponding to the detection item identifiers; in response to the operation of the processing control, processing the detection item identified by the detection item identifier.

[0081] Specifically, Figure 6 As shown, after the user clicks on the risk list display control, the identification of the detection item with an abnormal detection result and other information, such as the version of the detection item, the type of anomaly, etc., can be obtained to form a risk list for display. In addition, each item in the risk list (corresponding to a detection item identification) is provided with a corresponding processing control. When the user needs to process an item, he can click the control to jump to the link for corresponding processing.

[0082] Optionally, in one embodiment, the method for displaying the test results also includes: receiving a safety test instruction; performing a safety test on items within the test range to obtain a test result; constructing a test item identifier based on the project name of the project; storing the correspondence between the test result and the test item identifier; and adding the test item identifier to an identifier pool, wherein the step of obtaining the test result and the test item identifier corresponding to the test result includes: obtaining the test item identifier from the identifier pool, and obtaining the test result based on the obtained test item identifier and the corresponding relationship.

[0083] Specifically, the method for displaying the detection results provided by this embodiment can be implemented through security software. After the security software is started, the user selects the detection range and enters the operation to start detection. The security software receives the security detection instruction and starts to perform security detection on the items within the detection range selected by the user. During the detection process, the project name of the project is obtained to construct a detection item identifier, and the corresponding relationship between the detection result and the detection item identifier is stored. The detection item identifier is added to an identifier pool, and each time a detection result of a detection item is obtained, the corresponding detection item identifier is added to the identifier pool; when displaying the detection result, the detection item identifier is obtained from the identifier pool for display, and each time a detection item identifier is obtained, it is deleted from the identifier pool.

[0084] Optionally, in one embodiment, the method for displaying the detection result further includes: in response to the operation of the installation button, starting the software installation process, wherein the display canvas is displayed by the software; obtaining the software installation progress; determining the filling ratio of the preset filler in the preset icon on the installation interface according to the mapping relationship between the software installation progress and the preset, wherein the mapping relationship is used to characterize the relationship between the software installation progress and the filling ratio, and when the software installation progress increases, the filling ratio increases; and filling the preset filler in the preset icon according to the filling ratio. The preset filler can be the Morse code of the name of the preset icon, or the preset filler can be one or a combination of numbers, letters and special symbols.

[0085] Specifically, Figure 7 As shown, when installing software that can display a display canvas, a preset icon is displayed on the installation interface, and at the same time, the installation progress is synchronously identified by the amount of filler in the preset icon. As the installation progress increases, the filler in the preset icon also gradually increases. When all installations are completed, the preset icons are all filled with fillers, which improves the user experience during the installation process. The software can be a security detection software. During the software startup process, the installation interface is displayed in the display canvas, and as the installation progress increases, the preset filler is filled in the preset icon according to the filling ratio on the installation interface, so that the user can know the installation progress through the amount of filler in the preset chart, wherein the preset filler can be a character randomly selected from numbers, letters and / or special symbols, or it can be a Morse code corresponding to the preset icon, etc.; during the security detection process, the detection item identification is displayed in the display canvas, so that the user can know the detection result through the animation display process of the detection item identification.

[0086] Embodiment 2

[0087] Corresponding to the above-mentioned embodiment 1, embodiment 2 of the present application provides a display device for detection results. The corresponding technical feature details and corresponding technical effects can be referred to the above-mentioned embodiment 1 and will not be repeated in this embodiment. Figure 8 A block diagram of a display device for detection results provided in Embodiment 2 of the present application, such as Figure 8 As shown, the device includes: a display canvas 201, an acquisition module 202 and a control module 203.

[0088] The display canvas 201 includes a plurality of display columns arranged in a first direction and extending in a second direction; an acquisition module 202 is used to acquire a detection result and a detection item identifier corresponding to the detection result, wherein the detection item identifier includes a plurality of characters; and a control module 203 is used to control the display column to display the detection item identifier so that the display column forms an animation of the characters falling in the second direction, wherein the display method of the characters is different according to different detection results.

[0089] Optionally, in one embodiment, the display column includes a plurality of display units arranged in sequence in the second direction, the display units are used to display the characters, the first display column is any one of the display columns, and the control module 203 includes: a first determination unit, used to determine the display unit of the first display column displaying the last character of the previous detection item identifier to obtain the first display unit; a second determination unit, used to determine the second display unit located after the first display unit; and a control unit, used to control the characters of the current detection item identifier to appear in the first display column in sequence starting from the second display unit, and to disappear in the first display column in sequence.

[0090] Optionally, in an embodiment, when the first display unit is the last display unit of the first display column, the display unit located after the first display unit and adjacent to the first display unit is the first display unit of the first display column.

[0091] Optionally, in one embodiment, the first display unit is adjacent to the second display unit.

[0092] Optionally, in an embodiment, the control module 203 further includes: a third determination unit, configured to randomly determine a display unit in the first display column as the second display unit if the current detection item identifier is the first detection item identifier displayed in the first display column.

[0093] Optionally, in one embodiment, the control unit controls the brightness of each character to gradually increase when the characters identified by the current detection item appear in the first display column starting from the second display unit, and controls the brightness of each character to gradually decrease when the characters disappear in the first display column.

[0094] Optionally, in one embodiment, the detection identifier includes a first detection item identifier corresponding to an abnormal detection result and a second detection item identifier corresponding to a normal detection result, and when the display column is located in a first area, the control module 203 is used to control the display column to display the first detection item identifier; when the display column is located in a second area, the control module 203 is used to control the display column to display the first detection item identifier and the second detection item identifier, wherein, in the first direction, the first area is located on both sides of the display canvas, and the second area is located at the center of the display canvas.

[0095] Optionally, in one embodiment, the display device of the detection results also includes: a display module, used to display a warning floating layer in a preset format if the current detection item identifier displayed in the display column corresponds to a detection result that is an abnormal detection, wherein the warning floating layer is used to display the risk description information corresponding to the current detection item identifier.

[0096] Optionally, in one embodiment, the display module includes: a fourth determination unit, used to determine a floating layer display area according to a display position of the current detection item identifier; and a display unit, used to display the warning floating layer in the floating layer display area.

[0097] Optionally, in one embodiment, when the fourth determination unit determines the floating display area according to the display position of the current detection item identifier, the specific steps performed include: determining a search area at the center of the display canvas; within the search area, searching for an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as a target area; and determining the floating display area according to the target area.

[0098] Optionally, in one embodiment, before the step of searching, within the search area, an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as the target area, when the fourth determination unit determines the floating layer display area according to the display position of the current detection item identifier, the specific steps executed also include: determining whether the search area is occupied by multiple historical warning floating layers; when the search area is occupied, searching for two of the historical warning floating layers with the shortest path to the display position of the current detection item identifier, and determining the area of ​​the first preset size at the display positions of the two historical warning floating layers as the floating layer display area; wherein, when the search area is not occupied by the historical warning floating layers, the step of searching, within the search area, an area of ​​a first preset size with the shortest path to the display position of the current detection item identifier as the target area is executed.

[0099] Optionally, in one embodiment, when the fourth determination unit determines the floating layer display area according to the display position of the current detection item identifier, the specific steps performed include: judging whether the target area is displaying a historical warning floating layer; when the target area is displaying the historical warning floating layer, randomly determining an area of ​​the first preset size within the search area as the floating layer display area; when the target area is idle, determining the target area as the floating layer display area.

[0100] Optionally, in one embodiment, the display module also includes: a control unit, which is used for controlling the warning floating layer to gradually shrink to a second preset size after the display unit displays the warning floating layer for a preset time in the floating display area, and gradually moves from the floating display area to a preset position outside the display canvas and disappears, wherein the preset position is used to display the number of detection items whose detection results are abnormal; and updating the number of detection items at the preset position.

[0101] Optionally, in one embodiment, the preset position is also used to set a risk list display control, and the display device method for the detection result also includes: a first response module, used to display a risk list in response to the operation of the risk list display control, wherein the risk list includes a number of the detection item identifiers and processing controls corresponding to the detection item identifiers; a second response module, used to process the detection item identified by the detection item identifier in response to the operation of the processing control.

[0102] Optionally, in one embodiment, the display device of the detection result also includes: a receiving module for receiving a safety detection instruction; a detection module for performing a safety detection on the items within the detection range to obtain the detection result; a construction module for constructing the detection item identifier according to the project name of the project; a storage module for storing the correspondence between the detection result and the detection item identifier; and a adding module for adding the detection item identifier to an identifier pool, wherein the acquisition module 202 acquires the detection item identifier from the identifier pool when acquiring the detection result and the detection item identifier corresponding to the detection result, and acquires the detection result according to the acquired detection item identifier and the corresponding relationship.

[0103] Optionally, in one embodiment, the display device of the detection result also includes: a third response module, used to start the software installation process in response to the operation of the installation button, wherein the display canvas is displayed through the software; obtaining the software installation progress, and determining the filling ratio of a preset filler in a preset icon on the installation interface according to a mapping relationship between the software installation progress and a preset, wherein the mapping relationship is used to characterize the relationship between the software installation progress and the filling ratio, and when the software installation progress increases, the filling ratio increases, and the installation interface is displayed in the display canvas; and filling the preset icon with the preset filler according to the filling ratio.

[0104] Optionally, in one embodiment, the preset filler is a Morse code of the name of the preset icon, or the preset filler is one or a combination of numbers, letters and special symbols.

[0105] Embodiment 3

[0106] This third embodiment also provides a computer device, such as a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server or a server cluster composed of multiple servers) that can execute programs. Fig. 9 As shown, the computer device 01 of this embodiment includes at least but is not limited to: a memory 012 and a processor 011 which can be interconnected through a system bus. Figure 3 It should be pointed out that Fig. 9 Only a computer device 01 having components memory 012 and processor 011 is shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0107] In the present embodiment, the memory 012 (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 012 can be an internal storage unit of the computer device 01, such as a hard disk or memory of the computer device 01. In other embodiments, the memory 012 can also be an external storage device of the computer device 01, such as a plug-in hard disk equipped on the computer device 01, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 012 can also include both the internal storage unit of the computer device 01 and its external storage device. In the present embodiment, the memory 012 is generally used to store the operating system and various application software installed in the computer device 01, such as the program code of the display device of the detection result of the second embodiment, etc. In addition, the memory 012 can also be used to temporarily store various types of data that have been output or are to be output.

[0108] The processor 011 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 011 is generally used to control the overall operation of the computer device 01. In this embodiment, the processor 011 is used to run the program code stored in the memory 012 or process data, such as a display method for the detection result.

[0109] Embodiment 4

[0110] The fourth embodiment of the present invention also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and the program is executed by a processor to implement the corresponding function. The computer-readable storage medium of this embodiment is used for storing a display device for the test result, and when executed by the processor, the display method of the test result of the first embodiment is implemented.

[0111] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0112] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.

[0114] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for displaying a test result, characterized in that: The display canvas includes a plurality of display columns arranged in a first direction and extending in a second direction, and the method for displaying the detection result includes: Acquire a detection result and a detection item identifier corresponding to the detection result, wherein the detection item identifier includes a number of characters, the detection item identifier is used to uniquely identify the detection item, and the detection item includes a system file, a computer program installed on the system, a computer program running on the system, a file stored on the system, a network port, a service and / or a database; and The display column is controlled to display the detection item identifier, so that the display column forms an animation of the character falling in the second direction, wherein the display mode of the character is different according to the different detection results.

2. The method for displaying the detection result according to claim 1, characterized in that: The display column includes a plurality of display units sequentially arranged in the second direction, the display units are used to display the characters, the first display column is any one of the display columns, and the step of controlling the display column to display the detection item identifier so that the display column forms an animation of the characters falling in the second direction includes: Determine a display unit in which the last character of the previous detection item identifier is displayed in the first display column to obtain a first display unit; determining a second display unit located behind the first display unit; The characters of the current detection item identification are controlled to appear in the first display column in sequence starting from the second display unit, and to disappear in the first display column in sequence.

3. The method for displaying the detection result according to claim 2, characterized in that: When the first display unit is the last display unit of the first display row, the display unit located behind the first display unit and adjacent to the first display unit is the first display unit of the first display row.

4. The method for displaying the detection result according to claim 2, characterized in that: The first display unit is adjacent to the second display unit.

5. The method for displaying the detection result according to claim 2, characterized in that: The method for displaying the detection result also includes: If the current detection item identifier is the first detection item identifier displayed in the first display column, a display unit in the first display column is randomly determined as the second display unit.

6. The method for displaying the detection result according to claim 2, characterized in that: When controlling the characters identified by the current detection item to appear in the first display column in sequence starting from the second display unit, the brightness of each character is controlled to gradually increase; when controlling the characters to disappear in the first display column in sequence, the brightness of each character is controlled to gradually decrease.

7. The method for displaying the detection result according to claim 1, characterized in that: The detection item identifier includes a first detection item identifier corresponding to an abnormal detection result and a second detection item identifier corresponding to a normal detection result, and the step of controlling the display column to display the detection item identifier so that the display column forms an animation of the character falling in the second direction includes: When the display column is located in the first area, controlling the display column to display the first detection item identifier; When the display column is located in a second area, the display column is controlled to display the first detection item identifier and the second detection item identifier, wherein in the first direction, the first area is located on both sides of the display canvas, and the second area is located at the center of the display canvas.

8. The method for displaying the detection result according to claim 1, characterized in that: The method for displaying the detection result also includes: If the detection result corresponding to the current detection item identification displayed in the display column is a detection abnormality, a warning floating layer in a preset format is displayed, wherein the warning floating layer is used to display the risk description information corresponding to the current detection item identification.

9. The method for displaying the detection result according to claim 8, characterized in that: The steps for displaying a preset alert overlay include: Determine a floating layer display area according to a display position of the current detection item identifier; The warning floating layer is displayed in the floating layer display area.

10. The method for displaying the detection result according to claim 9, characterized in that: The step of determining the floating layer display area according to the display position of the current detection item identifier includes: Determining a search area at the center of the display canvas; In the search area, searching for an area of ​​a first preset size and having the shortest path to the display position of the current detection item identifier as a target area; The floating layer display area is determined according to the target area.

11. The method for displaying the detection result according to claim 10, characterized in that: Before the step of searching, within the search area, an area of ​​a first preset size and having the shortest path to the display position of the current detection item identifier as a target area, the step of determining a floating layer display area according to the display position of the current detection item identifier further includes: Determine whether the search area is occupied by multiple historical warning floating layers; When the search area is full, searching for two of the historical warning floating layers with the shortest paths to the display position of the current detection item identifier, and determining the area of ​​the first preset size at the display positions of the two historical warning floating layers as the floating layer display area; When the search area is not fully occupied by the historical warning floating layer, a step is performed to search within the search area for an area of ​​a first preset size and having the shortest path to the display position of the current detection item identifier as a target area.

12. The method for displaying the detection result according to claim 10, characterized in that: The step of determining the floating layer display area according to the target area comprises: Determine whether the target area is displaying a historical warning floating layer; When the target area is displaying the historical warning floating layer, a region of the first preset size is randomly determined in the search area as the floating layer display area; When the target area is idle, the target area is determined to be the floating layer display area.

13. The method for displaying the detection result according to claim 9, characterized in that: The step of displaying a warning pop-up layer in a preset format also includes: After the warning floating layer is displayed in the floating layer display area for a preset time, the warning floating layer is controlled to gradually shrink to a second preset size, and gradually move from the floating layer display area to a preset position outside the display canvas to disappear, wherein the preset position is used to display the number of detection items with abnormal detection results; Update the number of the detection items at the preset position.

14. The method for displaying the detection result according to claim 13, characterized in that: The preset position is also used to set a risk list display control, and the display method of the detection result also includes: In response to the operation of the risk list display control, display a risk list, wherein the risk list includes a plurality of the detection item identifiers and processing controls corresponding to the detection item identifiers; In response to the operation of the processing control, the detection item identified by the detection item identifier is processed.

15. The method for displaying the detection result according to claim 1, characterized in that: The method for displaying the detection result also includes: Receive safety inspection instructions; Performing safety testing on items within the testing range to obtain the testing results; Constructing the detection item identifier according to the project name of the project; storing the corresponding relationship between the detection result and the detection item identifier; and Add the detection item identifier to the identifier pool, The step of obtaining the detection result and the detection item identifier corresponding to the detection result includes: obtaining the detection item identifier from the identifier pool, and obtaining the detection result according to the obtained detection item identifier and the corresponding relationship.

16. The method for displaying the detection result according to claim 1, characterized in that: The method for displaying the detection result also includes: In response to operation of the install button, starting a software installation process, wherein the display canvas is displayed by the software; Get software installation progress; Determining a fill ratio of a preset filler in a preset icon on an installation interface according to a mapping relationship between the software installation progress and a preset, wherein the mapping relationship is used to characterize a relationship between the software installation progress and the fill ratio, and when the software installation progress increases, the fill ratio increases, and the installation interface is displayed in the display canvas; and The preset icon is filled with the preset filler according to the filling ratio.

17. The method for displaying the detection result according to claim 16, characterized in that: The preset filler is a Morse code of the name of the preset icon, or the preset filler is one or a combination of numbers, letters and special symbols.

18. A display device for test results, characterized in that: include: A display canvas including a plurality of display columns arranged in a first direction and extending in a second direction; an acquisition module, configured to acquire a detection result and a detection item identifier corresponding to the detection result, wherein the detection item identifier includes a number of characters, the detection item identifier is used to uniquely identify the detection item, and the detection item includes a system file, a computer program installed on the system, a computer program running on the system, a file stored on the system, a network port, a service and / or a database; and The control module is used to control the display column to display the detection item identification, so that the display column forms an animation of the character falling in the second direction, wherein the display mode of the character is different according to the different detection results.

19. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 17 are implemented.

20. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 17 are implemented.

Citation Information

Patent Citations

  • Multiple-dimension security monitoring method and system based on WEB services

    CN104767757A

  • Information display method and system

    CN108897664A