The disclosure relates to the computer technology, and more particularly, to a method and a device for displaying a window of security class software.
The skin change technology is a product of diversification of software users. A user will feel cheesed when facing one style of display window for a long time, window styles of software is thus desired to be changed. Therefore, the technology of skin change appears accordingly. A software developer provides several sets of designated window styles to the user for selection. As shown in
Built-in window styles of software are very few and relatively rigid, the user will still produce visual fatigue and dislike after using the built-in window styles for a long time. In addition, contemporary young people pursuit personalized usage mode. Therefore, many software developers provide personalized skin change technologies, which are capable of satisfying personalized requirements of people by enabling a user to set the window style according to idea of the user, thereby adapting to requirements of different groups of people. In addition, the software developers generally may also provide shared service, so that the user can share the set window style with others.
As shown in
At present, various security class software for computer security appear, the skin change technology of which is the same as that of other general software, both are only simple change of the window style and cannot perform intelligent skin change in combination with the characteristics of the security class software.
In view of the above, the main purpose of the disclosure is to provide a method and a device for displaying a window of security class software, which is able to intelligently perform skin change in combination with the characteristics of the security class software.
In order to achieve above purpose, the technical solutions of the disclosure are provided as follows.
A method for displaying a window of security class software is provided, which includes: processing a window based on a selected window style according to a detection result of a security status of a processing equipment detected by the security class software, and displaying the window corresponding to the detection result.
The processing the window based on the selected window style according to the detection result of the security status of the processing equipment detected by the security class software may include: detecting, by the security class software, the security status of the processing equipment, and processing the window based on the selected window style according to the detection result.
The processing the window based on the selected window style according to the detection result may include:
when the detection result is that the processing equipment is running safely, processing, based on the selected window style, the window to be a window displayed when a safe operation is detected;
when the detection result is that a potential safety hazard exists in the processing equipment, processing, based on the selected window style, the window to be a window displayed when a potential safety hazard exists; and
when the detection result is that the processing equipment is infected by a virus, processing, based on the selected window style, the window to be a window displayed when there is a virus infection.
The processing the window based on the selected window style according to the detection result may include: processing, by the security class software, the window in accordance with a set rule based on the selected window style according to the detection result.
The method may further include the step, performed before the window is processed based on the selected window style according to the detection result of the security status of the processing equipment detected by the security class software, of: presetting a window corresponding to the detection result for each available window style. The processing the window based on the selected window style according to the detection result may include: invoking the corresponding window based on the selected window style according to the detection result.
The method may further include the step, performed before the window is processed based on the selected window style according to the detection result of the security status of the processing equipment detected by the security class software, of: selecting the window style of the security class software according to received user input information.
The selecting the window style of the security class software may include: selecting a window style from a built-in window style of the security class software and a user-defined window style.
A device for displaying a window of security class software is provided, which includes:
a detection unit located in the security class software and configured to detect a security status of a processing equipment;
a processing unit configured to process the window based on a selected window style according to the detection result obtained by the detection unit; and
a displaying unit configured to display the window corresponding to the detection result.
The device may further include a selecting unit configured to select the window style of the security class software according to received user input information.
The device may further include a customizing unit configured to generate a user-defined window style according to the received user input information.
Based on characteristics of the security class software, the disclosure provides a solution which can display different windows under one window style according to the detection result of the processing equipment, so that a user can intuitively know the current security status of the processing equipment through the intelligently displayed window. Using skin change technology of the security class software, a user can be informed intuitively and vividly that whether the processing equipment used by the user is safe or not. When the processing equipment is unsafe, the user is prompted timely to eliminate potential safety hazard or search and kill viruses, thereby realizing a friend human-computer interaction.
In addition, the solution of the disclosure is to intelligently display different windows according to the different detection results of the security status of the processing equipment. That is, the user is informed of the current security status of the processing equipment through displaying, which not only is adapted to general users, but also is preferably adapted to users who are amblyopic, or are of poor reading ability, or are after fashion and individuation.
In the disclosure, a window is processed based on a selected window style according to a detection result of a security status of a processing equipment detected by the security class software, and the window corresponding to the detection result is displayed. Specifically, the processing equipment may be a device having processing capacity, such as a computer, a mobile terminal and a Personal Digital Assistant (PDA). The detection result includes information indicating the security status of the processing equipment, such as safe operation, existence of potential safety hazard and virus infection.
Step 301: A window style of security class software is selected.
A user triggers a skin change mechanism and selects the window style of the security class software. The user can select one window style from a built-in window style of the security class software and a user-defined window style. The security class software selects the window style according to user input information.
Step 302: After receiving the user input information of selecting the window style, the security class software detects the security status of the processing equipment, and processes the window based on the selected window style according to the detection result by executing Step 303, or Step 304, or Step 305.
After receiving the user input information of selecting the window style, the security class software triggers detection of the security status of the processing equipment. The detection of the security status of the processing equipment performed by the security class software is identical with a function of a security class software in the prior art, description of which is not detailed herein.
Step 303: When the detection result is that the processing equipment is running safely, the window is processed to be a window displayed when a safe operation is detected based on the selected window style.
After the security class software detects the security status of the processing equipment, when the obtained detection result is that the processing equipment is running safely, the security class software processes the window to be the window displayed when a safe operation is detected based on the selected window style.
Step 304: When the detection result is that a potential safety hazard exists in the processing equipment, the window is processed to be a window displayed when a potential safety hazard exists based on the selected window style.
After the security class software detects the security status of the processing equipment, when the obtained detection result is that the potential safety hazard exists, the security class software processes the window to be a window displayed when the potential safety hazard exists based on the selected window style. The safety hazard may be a software patch or bug.
Step 305: When the detection result is that the processing equipment is infected by a virus, the window is processed to be a window displayed when there is a virus infection based on the selected window style.
After the security class software detects the security status of the processing equipment, when the obtained detection result is that the processing equipment is infected by a virus, the security class software processes the window to be the window displayed when there is a virus infection based on the selected window style.
Step 306: The corresponding window is displayed.
The security class software displays the corresponding window, which is the window corresponding to the detection result.
It can be seen from the above description that the security class software intelligently displays the corresponding window to the user according to the detection result, and intuitively and vividly informs the user of the current security status of the processing equipment using characteristics of the security class software, so that the user is prompted timely to eliminate potential safety hazard or search and kill viruses when the processing equipment is unsafe, thereby leading to a friend human-computer interaction.
That the window is processed based on the selected window style according to the detection result may include that: the security class software processes the window in accordance with a set rule based on the selected window style according to the detection result. For example, the set rule is that: when the detection result is that the processing equipment is running safely, elements such as pattern of the window, control style, font colour, font size and the like are not processed; when the detection result is that potential safety hazard exists in the processing equipment, one or more of elements such as the pattern of the window, the control style, the font colour, the font size and the like is performed mild rendering processing, for example, appropriately zooming in a part of pattern of the window, and/or appropriately deepening the font colour, and/or appropriately zooming in the font size, or the like; and when the detection result is that the processing equipment is infected by a virus, one or more of elements such as the pattern of the window, the control style, the font colour, the font size and the like is performed severe rendering processing, for example, highlighting a part of pattern of the window, and/or deepening the font colour, and/or very obviously zooming in the font size, or the like. In this way, after the detection result is obtained, the window is processed correspondingly in accordance with the set rule. When one or more of elements such as the pattern of the window, the control style, the font colour, the font size and the like need to be performed mild rendering processing or severe rendering processing, a window redrawing mechanism is triggered to redraw one or more of the elements such as the pattern of the window, the control style, the font colour, the font size and the like.
That the window is processed based on the selected window style according to the detection result may include that: the window corresponding to the detection result is preset for each available window style, that is, three different security levels of the window are set for each set of skin changeable window style. For example, after the security class software detects the security status of the processing equipment, the detection results obtained may be safe operation, the existence of potential safety hazard, or the virus infection. For each available window style, a security window, a potential safety hazard window and a virus window are set to respectively correspond to each detection result (the safe operation, the existence of potential safety hazard, or the virus infection). After the detection result is obtained, the corresponding window is invoked based on the selected window style according to the detection result, that is, when the detection result is that the processing equipment is running safely, the security window in the selected window style is invoked; when the detection result is that potential safety hazard exists in the processing equipment, the potential safety hazard window in the selected window style is invoked; and when the detection result is that the processing equipment is infected by a virus, the virus window in the selected window style is invoked. As shown in
The device further includes a selecting unit configured to select the window style of the security class software according to received user input information.
The selected window style can be a built-in window style of the security class software or a user-defined window style. When the selected window style is the user-defined window style, the device further includes a customizing unit configured to generate a user-defined window style according to the received user input information. The received user input information may be colour, pattern or decorative pattern or the like selected by the user.
Specific realization of each unit described above is identical with the related description about the foregoing method, and is therefore not described in detail herein.
Based on the detection result of the security status of the processing equipment selected by the security class software, the solution of the disclosure displays different windows to the user, in order to intuitively prompt the user the current security status of the processing equipment.
In addition, after the user eliminates potential safety hazard or searches and kills viruses in time according to the displayed window, the detection of the security status of the processing equipment may be performed again. And based on the detection result obtained, the above described processes are repeated. The specific processing is completely same and is therefore not described repeatedly herein.
The above are only the preferred embodiments of the disclosure and are not used for limiting the scope of protection of the disclosure. Any modifications, equivalent replacements, improvements or the like made within the concept and principle of the disclosure shall fall within the scope of protection of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201110004615.8 | Jan 2011 | CN | national |
This is a continuation application of International Patent Application No.: PCT/CN2011/083404, filed on Dec. 2, 2011, which claims priority to Chinese Patent Application No.: 201110004615.8, filed on Jan. 11, 2011, the disclosure of which is incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2011/083404 | Dec 2011 | US |
Child | 13900638 | US |