Movatterモバイル変換


[0]ホーム

URL:


CN106940774B - Virus scanning method and device - Google Patents

Virus scanning method and device
Download PDF

Info

Publication number
CN106940774B
CN106940774BCN201710175105.4ACN201710175105ACN106940774BCN 106940774 BCN106940774 BCN 106940774BCN 201710175105 ACN201710175105 ACN 201710175105ACN 106940774 BCN106940774 BCN 106940774B
Authority
CN
China
Prior art keywords
virus
display interface
patterns
mobile terminal
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710175105.4A
Other languages
Chinese (zh)
Other versions
CN106940774A (en
Inventor
张翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN201710175105.4ApriorityCriticalpatent/CN106940774B/en
Publication of CN106940774ApublicationCriticalpatent/CN106940774A/en
Application grantedgrantedCritical
Publication of CN106940774BpublicationCriticalpatent/CN106940774B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本公开提出了一种病毒扫描方法和装置,涉及终端技术领域,该方法包括:获取扫描指令;响应于扫描指令,开始进行病毒扫描;当发现病毒存在时,在显示界面上显示N个病毒图案;其中N为大于0的自然数;控制N个病毒图案在显示界面上按照预设规则变化。本公开能够让用户直观地感受病毒的存在,并提高用户体验。

Figure 201710175105

The present disclosure provides a virus scanning method and device, which relate to the technical field of terminals. The method includes: acquiring a scanning instruction; starting virus scanning in response to the scanning instruction; and displaying N virus patterns on a display interface when a virus is found to exist ; wherein N is a natural number greater than 0; control N virus patterns to change according to preset rules on the display interface. The present disclosure enables users to intuitively feel the existence of viruses and improves user experience.

Figure 201710175105

Description

Translated fromChinese
病毒扫描方法和装置Virus scanning method and device

技术领域technical field

本公开涉及终端技术领域,尤其涉及一种病毒扫描方法和装置。The present disclosure relates to the technical field of terminals, and in particular, to a virus scanning method and device.

背景技术Background technique

随着终端的功能越来越完善,在日常生活中的普及度也更加广泛,而病毒的肆虐,会扰乱终端的功能,造成资源和财富的浪费,因此,终端使用的安全问题受到了很高的重视。在相关技术领域中,病毒扫描和处理的过程在显示界面上提供的交互方式只有进度显示或者病毒清单。As the functions of the terminal become more and more perfect, the popularity in daily life is also more extensive, and the raging virus will disrupt the function of the terminal and cause a waste of resources and wealth. Therefore, the security problem of terminal use has been very high. of attention. In the related technical field, the only interactive mode provided on the display interface for the virus scanning and processing process is a progress display or a virus list.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本公开提供一种病毒扫描方法和装置。In order to overcome the problems existing in the related art, the present disclosure provides a virus scanning method and apparatus.

为了实现上述目的,根据本公开实施例的第一方面,提供一种毒扫描方法,所述包括:In order to achieve the above object, according to a first aspect of the embodiments of the present disclosure, a poison scanning method is provided, which includes:

获取扫描指令;Get scan instructions;

响应于所述扫描指令,进行病毒扫描;In response to the scanning instruction, perform virus scanning;

当发现病毒存在时,在显示界面上显示N个病毒图案;其中N为大于0的自然数;When it is found that the virus exists, N virus patterns are displayed on the display interface; wherein N is a natural number greater than 0;

控制所述N个病毒图案在所述显示界面上按照预设规则变化。The N virus patterns are controlled to change on the display interface according to preset rules.

在本实施方式中,通过在用户下发扫描指令时,一旦发现病毒存在,在显示界面上显示多个病毒图案,从而使扫描指令的结果与显示界面上的病毒图案联系起来,能够解决相关技术中用户难以感知到病毒的存在的问题,让用户直观地感受病毒的存在,能够提高发现病毒存在时的提示效果,增强用户体验。In this embodiment, when the user issues a scan instruction, once the presence of a virus is found, multiple virus patterns are displayed on the display interface, so that the result of the scan instruction is associated with the virus pattern on the display interface, and the related art can be solved. It is difficult for users to perceive the existence of the virus, allowing users to intuitively feel the existence of the virus, which can improve the prompting effect when the existence of the virus is found, and enhance the user experience.

可选的,所述方法还包括:Optionally, the method further includes:

当监测到移动终端的重力方向发生变化时,获取所述移动终端当前的第一重力方向;When monitoring that the gravitational direction of the mobile terminal changes, acquiring the current first gravitational direction of the mobile terminal;

控制所述N个病毒图案在所述显示界面上向所述第一重力方向移动。The N virus patterns are controlled to move toward the first gravity direction on the display interface.

在本实施方式中,通过监测移动终端的重力方向,在其重力方向发生变化时,控制显示界面上的病毒图案向变化的方向移动,从而使病毒图案的显示方式响应移动终端的重力方向,能够使用户参与到扫描过程中,提高病毒查杀过程中人机交互的智能度。In this embodiment, by monitoring the gravitational direction of the mobile terminal, when the gravitational direction of the mobile terminal changes, the virus pattern on the display interface is controlled to move in the changing direction, so that the display mode of the virus pattern responds to the gravitational direction of the mobile terminal, and Make users participate in the scanning process, and improve the intelligence of human-computer interaction in the process of virus detection and killing.

可选的,所述方法还包括:Optionally, the method further includes:

监测移动终端是否发生摇晃;Monitor whether the mobile terminal shakes;

当监测到所述移动终端发生摇晃时,确定所述移动终端当前的第一摇晃频率,以及在所述显示界面上当前显示的所述病毒图案的数量M;其中M≤N;When monitoring that the mobile terminal is shaking, determine the current first shaking frequency of the mobile terminal, and the number M of the virus patterns currently displayed on the display interface; where M≤N;

当所述第一摇晃频率小于等于第一频率阈值时,按照预设的缩放比例将M个所述病毒图案的大小进行调整;When the first shaking frequency is less than or equal to the first frequency threshold, adjusting the size of the M virus patterns according to a preset scaling ratio;

当所述第一摇晃频率大于所述第一频率阈值且小于等于第二频率阈值时,在所述显示界面上显示至少一个所述病毒图案破碎的动画,其中所述至少一个小于M;在显示至少一个所述病毒图案破碎的动画之后,再次执行所述监测移动终端是否发生摇晃的步骤;When the first shaking frequency is greater than the first frequency threshold and less than or equal to the second frequency threshold, at least one animation of the virus pattern breaking is displayed on the display interface, wherein the at least one is less than M; After at least one animation of the broken virus pattern, the step of monitoring whether the mobile terminal is shaken is performed again;

当所述第一摇晃频率大于所述第二频率阈值时,在所述显示界面上显示M个所述病毒图案破碎的动画;When the first shaking frequency is greater than the second frequency threshold, displaying M animations of the virus pattern breaking on the display interface;

当所述显示界面上当前显示的所述病毒图案的数量为零时,在所述显示界面上显示用于提示病毒清理完成的提示信息。When the number of the virus patterns currently displayed on the display interface is zero, prompt information for prompting the completion of virus cleaning is displayed on the display interface.

在本实施方式中,通过监测移动终端的摇晃频率,根据该摇晃频率来控制显示界面上的病毒图像的显示方式,当第一摇晃频率小于等于第一频率阈值时,控制病毒图像的缩放比例,当第一摇晃频率大于第一频率阈值且小于等于第二频率阈值时,控制病毒图像部分破碎,直到全部病毒图像破碎,当第一摇晃频率大于第二频率阈值时,控制病毒图像全部破碎,从而使杀毒过程响应移动终端的摇晃,病毒图案的显示方式响应移动终端的摇晃频率,能够使用户参与到杀毒过程中,直观地感受病毒的存在,提高病毒查杀过程中人机交互的智能度。In this embodiment, by monitoring the shaking frequency of the mobile terminal, the display mode of the virus image on the display interface is controlled according to the shaking frequency, and when the first shaking frequency is less than or equal to the first frequency threshold, the scaling ratio of the virus image is controlled, When the first shaking frequency is greater than the first frequency threshold and less than or equal to the second frequency threshold, the virus images are controlled to be partially broken until all the virus images are broken, and when the first shaking frequency is greater than the second frequency threshold, the virus images are controlled to be completely broken, thereby The antivirus process responds to the shaking of the mobile terminal, and the display mode of the virus pattern responds to the shaking frequency of the mobile terminal, so that users can participate in the antivirus process, intuitively feel the existence of the virus, and improve the intelligence of human-computer interaction in the virus detection and killing process.

可选的,所述方法还包括:Optionally, the method further includes:

在显示至少一个所述病毒图案破碎的动画,或显示M个所述病毒图案破碎的动画时,输出响铃或者震动到所述移动终端。When displaying at least one animation in which the virus pattern is broken, or displaying M animations in which the virus pattern is broken, output a bell or vibration to the mobile terminal.

在本实施方式中,通过在有病毒图案破碎时,输出响铃或者震动到移动终端,从而提醒用户杀毒的过程,能够使用户直观地感受病毒被清理,能够提高病毒被清理时的提示效果,增强用户体验。In this embodiment, when a virus pattern is broken, a bell or vibration is output to the mobile terminal, so as to remind the user of the virus removal process, so that the user can intuitively feel that the virus is cleaned, and the prompt effect when the virus is cleaned can be improved. Enhance user experience.

可选的,所述控制所述N个病毒图案在所述显示界面上按照预设规则变化,包括以下至少一者:Optionally, the control of the N virus patterns to change on the display interface according to a preset rule includes at least one of the following:

控制所述N个病毒图案的大小在预设的图案尺寸范围内随机变化;Controlling the size of the N virus patterns to vary randomly within a preset pattern size range;

控制所述N个病毒图案在所述显示界面上随机移动。The N virus patterns are controlled to move randomly on the display interface.

在本实施方式中,通过设置病毒图案的大小和位置中至少一者的显示方式,从而能够丰富发现病毒时的提示方式,增强提示效果。In this embodiment, by setting the display mode of at least one of the size and position of the virus pattern, it is possible to enrich the prompt mode when a virus is found, and enhance the prompt effect.

可选的,所述方法还包括:Optionally, the method further includes:

当发现病毒存在时,将所述显示界面的背景色设置为指定颜色。When it is found that the virus exists, the background color of the display interface is set to a specified color.

在本实施方式中,通过在用户下发扫描指令时,一旦发现病毒存在,控制显示界面的背景颜色,从而提醒用户,能够丰富发现病毒时的提示方式,增强提示效果。In this embodiment, once a virus is found, the background color of the display interface is controlled when the user issues a scan instruction, so as to remind the user, which can enrich the prompting method when a virus is found, and enhance the prompting effect.

根据本公开实施例的第二方面,提供一种病毒扫描装置,According to a second aspect of the embodiments of the present disclosure, a virus scanning device is provided,

所述装置包括:指令获取模块、扫描模块、病毒显示模块和第一控制模块;The device includes: an instruction acquisition module, a scanning module, a virus display module and a first control module;

所述指令获取模块,被配置为获取扫描指令;The instruction acquisition module is configured to acquire scanning instructions;

所述扫描模块,被配置为响应于所述扫描指令,进行病毒扫描;The scanning module is configured to perform virus scanning in response to the scanning instruction;

所述病毒显示模块,被配置为当发现病毒存在时,在显示界面上显示N个病毒图案;其中N为大于0的自然数;The virus display module is configured to display N virus patterns on the display interface when the virus is found to exist; wherein N is a natural number greater than 0;

所述第一控制模块,被配置为控制所述N个病毒图案在所述显示界面上按照预设规则变化。The first control module is configured to control the N virus patterns to change on the display interface according to a preset rule.

可选的,所述装置还包括:重力监测模块和第二控制模块;Optionally, the device further includes: a gravity monitoring module and a second control module;

所述重力监测模块,被配置为当监测到移动终端的重力方向发生变化时,获取所述移动终端当前的第一重力方向;The gravity monitoring module is configured to acquire the current first gravity direction of the mobile terminal when monitoring that the gravity direction of the mobile terminal changes;

所述第二控制模块,被配置为控制所述N个病毒图案在所述显示界面上向所述第一重力方向移动。The second control module is configured to control the N virus patterns to move toward the first gravity direction on the display interface.

可选的,所述装置还包括:摇晃监测模块、测量模块和第三控制模块;Optionally, the device further includes: a shaking monitoring module, a measuring module and a third control module;

所述摇晃监测模块,被配置为监测移动终端是否发生摇晃;The shaking monitoring module is configured to monitor whether the mobile terminal shakes;

所述测量模块,被配置为当监测到所述移动终端发生摇晃时,确定所述移动终端当前的第一摇晃频率,以及在所述显示界面上当前显示的所述病毒图案的数量M;其中M≤N;The measuring module is configured to determine the current first shaking frequency of the mobile terminal and the number M of the virus patterns currently displayed on the display interface when the shaking of the mobile terminal is monitored; wherein M≤N;

所述第三控制模块,被配置为当所述第一摇晃频率小于等于第一频率阈值时,按照预设的缩放比例将M个所述病毒图案的大小进行调整;当所述第一摇晃频率大于所述第一频率阈值且小于等于第二频率阈值时,在所述显示界面上显示至少一个所述病毒图案破碎的动画,其中所述至少一个小于M;在显示至少一个所述病毒图案破碎的动画之后,再次执行所述测量模块所执行的步骤;当所述第一摇晃频率大于所述第二频率阈值时,在所述显示界面上显示M个所述病毒图案破碎的动画;当所述显示界面上当前显示的所述病毒图案的数量为零时,在所述显示界面上显示用于提示病毒清理完成的提示信息。The third control module is configured to adjust the size of the M virus patterns according to a preset scaling ratio when the first shaking frequency is less than or equal to a first frequency threshold; When it is greater than the first frequency threshold and less than or equal to the second frequency threshold, at least one animation of the broken virus pattern is displayed on the display interface, wherein the at least one animation is less than M; when displaying at least one broken animation of the virus pattern After the animation, perform the steps performed by the measurement module again; when the first shaking frequency is greater than the second frequency threshold, display M animations of the virus pattern breaking on the display interface; When the number of the virus patterns currently displayed on the display interface is zero, prompt information for prompting the completion of virus cleaning is displayed on the display interface.

可选的,所述装置还包括:提示模块;Optionally, the device further includes: a prompt module;

所述提示模块,被配置为在显示至少一个所述病毒图案破碎的动画,或显示M个所述病毒图案破碎的动画时,输出响铃或者震动到所述移动终端。The prompting module is configured to output a bell or a vibration to the mobile terminal when displaying at least one animation of breaking the virus pattern, or displaying M animations of breaking the virus pattern.

可选的,所述第一控制模块被配置为执行以下至少一者:Optionally, the first control module is configured to perform at least one of the following:

控制所述N个病毒图案的大小在预设的图案尺寸范围内随机变化;Controlling the size of the N virus patterns to vary randomly within a preset pattern size range;

控制所述N个病毒图案在所述显示界面上随机移动。The N virus patterns are controlled to move randomly on the display interface.

可选的,所述装置还包括:第四控制模块;Optionally, the device further includes: a fourth control module;

所述第四控制模块,被配置为当发现病毒存在时,将所述显示界面的背景色设置为指定颜色。The fourth control module is configured to set the background color of the display interface to a specified color when the virus is found to exist.

根据本公开实施例的第三方面,提供一种病毒扫描装置,所述装置包括:According to a third aspect of the embodiments of the present disclosure, there is provided a virus scanning device, the device comprising:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:wherein the processor is configured to:

获取扫描指令;Get scan instructions;

响应于所述扫描指令,进行病毒扫描;In response to the scanning instruction, perform virus scanning;

当发现病毒存在时,在显示界面上显示N个病毒图案;其中N为大于0的自然数;When it is found that the virus exists, N virus patterns are displayed on the display interface; wherein N is a natural number greater than 0;

控制所述N个病毒图案在所述显示界面上按照预设规则变化。The N virus patterns are controlled to change on the display interface according to preset rules.

根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行第一方面提供的病毒扫描方法。According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal can execute the virus provided in the first aspect scan method.

本公开的实施例提供的技术方案可以包括以下有益效果:通过在用户下发扫描指令时,一旦发现病毒存在,在显示界面上显示多个病毒图案,从而使扫描指令的结果与显示界面上的病毒图案联系起来,能够解决相关技术中用户难以感知到病毒的存在的问题,让用户直观地感受病毒的存在,能够提高发现病毒存在时的提示效果,增强用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by displaying a plurality of virus patterns on a display interface once a virus is found to exist when a user issues a scan instruction, so that the result of the scan instruction is consistent with the results of the scan instruction on the display interface. The connection of virus patterns can solve the problem in related technologies that users are difficult to perceive the existence of viruses, allowing users to intuitively feel the existence of viruses, which can improve the prompting effect when the existence of viruses is found, and enhance user experience.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification, and together with the following detailed description, are used to explain the present disclosure, but not to limit the present disclosure. In the attached image:

图1是根据一示例性实施例示出的一种病毒扫描方法的流程图;1 is a flowchart of a virus scanning method according to an exemplary embodiment;

图2是根据一示例性实施例示出的另一种病毒扫描方法的流程图;FIG. 2 is a flowchart of another virus scanning method according to an exemplary embodiment;

图3是根据一示例性实施例示出的另一种病毒扫描方法的流程图;3 is a flowchart of another virus scanning method according to an exemplary embodiment;

图4是根据一示例性实施例示出的又一种病毒扫描方法的流程图;FIG. 4 is a flowchart of yet another virus scanning method according to an exemplary embodiment;

图5是根据一示例性实施例示出的再一种病毒扫描方法的流程图;FIG. 5 is a flowchart of still another virus scanning method according to an exemplary embodiment;

图6是根据一示例性实施例示出的一种病毒扫描装置的框图;6 is a block diagram of a virus scanning device according to an exemplary embodiment;

图7是根据一示例性实施例示出的另一种病毒扫描装置的框图;FIG. 7 is a block diagram of another virus scanning apparatus according to an exemplary embodiment;

图8是根据一示例性实施例示出的另一种病毒扫描装置的框图;FIG. 8 is a block diagram of another virus scanning apparatus according to an exemplary embodiment;

图9是根据一示例性实施例示出的又一种病毒扫描装置的框图;FIG. 9 is a block diagram of yet another virus scanning apparatus according to an exemplary embodiment;

图10是根据一示例性实施例示出的再一种病毒扫描装置的框图;FIG. 10 is a block diagram of still another virus scanning apparatus according to an exemplary embodiment;

图11是根据一示例性实施例示出的一种病毒扫描装置的框图。Fig. 11 is a block diagram of a virus scanning apparatus according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

在介绍本公开提供的病毒扫描方法和装置之前,首先对本公开各个实施例所涉及应用场景进行介绍。该应用场景包括一移动终端,该移动终端支持病毒扫描和杀毒的功能,且该移动终端能够监测自身的重力方向和摇晃频率,例如该移动终端可以设置有加速度传感器来监测重力方向的变化和摇晃频率。该移动终端例如可以是智能手机、平板电脑、智能手表、PDA(英文:Personal Digital Assistant,中文:个人数字助理)等移动终端。因此,下面在本公开的各个实施例中以移动终端为设置有加速度传感器的智能手机为例,对各个示例性实施例进行说明。Before introducing the virus scanning method and apparatus provided by the present disclosure, the application scenarios involved in the various embodiments of the present disclosure are first introduced. The application scenario includes a mobile terminal, the mobile terminal supports virus scanning and anti-virus functions, and the mobile terminal can monitor its own gravity direction and shaking frequency. For example, the mobile terminal can be provided with an acceleration sensor to monitor the change and shaking of the gravity direction. frequency. The mobile terminal may be, for example, a mobile terminal such as a smart phone, a tablet computer, a smart watch, a PDA (English: Personal Digital Assistant, Chinese: Personal Digital Assistant). Therefore, in the various embodiments of the present disclosure, each exemplary embodiment will be described below by taking the mobile terminal as an example of a smart phone provided with an acceleration sensor.

图1是根据一示例性实施例示出的一种病毒扫描方法的流程图,如图1所示,该病毒扫描方法包括以下步骤:FIG. 1 is a flowchart of a virus scanning method according to an exemplary embodiment. As shown in FIG. 1 , the virus scanning method includes the following steps:

在步骤101中,获取扫描指令。Instep 101, a scan instruction is obtained.

示例的,移动终端有多种获取扫描指令的方式,以智能手机为例,可以设置为:根据用户触发了预设的手势、预设的声音或预设的按键(例如在杀毒应用程序的界面中的扫描按键),来获取扫描指令。还可以根据用户在显示界面上的指定操作来获取扫描指令,例如用户可以在显示界面上进行长按、双击或放大手势等快捷操作来获取扫描指令。For example, there are multiple ways for the mobile terminal to obtain the scan instruction. Taking a smartphone as an example, it can be set to: according to the user triggering a preset gesture, a preset sound or a preset button (for example, on the interface of the antivirus application program) Scan button in ) to get the scan command. The scan instruction can also be acquired according to the user's designated operation on the display interface. For example, the user can perform a shortcut operation such as a long press, a double-click, or a zoom-in gesture on the display interface to acquire the scan instruction.

在步骤102中,响应于扫描指令,进行病毒扫描。Instep 102, a virus scan is performed in response to the scan instruction.

此处需要说明的是,响应于扫描指令,病毒扫描的过程可以只在后台运行,也可以在显示界面上显示当前的扫描进度和当前的扫描结果。It should be noted here that, in response to the scanning instruction, the virus scanning process may only run in the background, or the current scanning progress and the current scanning result may be displayed on the display interface.

在步骤103中,当发现病毒存在时,在显示界面上显示N个病毒图案,其中N为大于0的自然数。Instep 103, when it is found that the virus exists, N virus patterns are displayed on the display interface, where N is a natural number greater than 0.

示例的,由于病毒的数量可能只有一个,也可能是有多个,因此发现病毒的数量与显示界面上显示的病毒图案的数量可以不相关,也可以相关,在发现病毒的数量与显示界面上显示的病毒图案的数量相关时,可以按照发现病毒的数量,基于预设的比例,在显示界面上显示对应数量的病毒图案。例如,当发现了1-2个病毒时,可以在显示界面上显示1个病毒图案,当发现了3-5个病毒时,可以在显示界面上显示2个病毒图案,当发现了5个以上病毒时,可以在显示界面上显示3个病毒图案。需要说明的是,在显示界面上显示病毒图案的时刻,可以设置为在病毒扫描过程中发现病毒存在时立刻显示,也可以设置为在病毒扫描过程结束时再显示。For example, since the number of viruses may be only one, or there may be multiple, the number of viruses found may not be related to the number of virus patterns displayed on the display interface, or it may be related. When the number of displayed virus patterns is related, a corresponding number of virus patterns may be displayed on the display interface according to the number of viruses found and based on a preset ratio. For example, when 1-2 viruses are found, 1 virus pattern can be displayed on the display interface; when 3-5 viruses are found, 2 virus patterns can be displayed on the display interface; when more than 5 viruses are found When a virus is detected, 3 virus patterns can be displayed on the display interface. It should be noted that, when the virus pattern is displayed on the display interface, it can be set to be displayed immediately when the virus is found to exist during the virus scanning process, or can be set to be displayed again after the virus scanning process ends.

在步骤104中,控制N个病毒图案在显示界面上按照预设规则变化。Instep 104, the N virus patterns are controlled to change on the display interface according to preset rules.

可选的,步骤104所述的控制N个病毒图案在显示界面上按照预设规则变化可以包括以下至少一者:Optionally, the controlling of the N virus patterns described instep 104 to change on the display interface according to preset rules may include at least one of the following:

控制N个病毒图案的大小在预设的图案尺寸范围内随机变化;Control the size of N virus patterns to change randomly within the preset pattern size range;

控制N个病毒图案在显示界面上随机移动。Control N virus patterns to move randomly on the display interface.

示例的,上述的第一种变化方案可以设置为N个病毒图案在预设的范围内随机缩放,N个病毒图案的预设范围可以各不相同,随机缩放的频率可以各不相同,或者也可以设置N个病毒图案的变化规则同步。第二种变化方案可以设置为N个病毒图案随机移动。第一种预设规则和第二种预设规则可以任选其一,也可以两种相互结合,能够解决用户难以感知到病毒的存在的问题,让用户直观地感受病毒的存在,能够提高发现病毒存在时的提示效果,增强用户体验。By way of example, the above-mentioned first variant may be set to randomly scale the N virus patterns within a preset range, the preset ranges of the N virus patterns may be different, and the random scaling frequency may be different, or The change rule synchronization of N virus patterns can be set. The second variation can be set as N virus patterns move randomly. One of the first preset rules and the second preset rules can be selected, or the two can be combined, which can solve the problem that users are difficult to perceive the existence of viruses, allow users to intuitively feel the existence of viruses, and improve discovery The prompt effect when the virus exists to enhance the user experience.

图2是根据一示例性实施例示出的另一种病毒扫描方法的流程图,如图2所示,该方法还包括以下步骤:Fig. 2 is a flowchart of another virus scanning method according to an exemplary embodiment. As shown in Fig. 2, the method further includes the following steps:

在步骤105中,当监测到移动终端的重力方向发生变化时,获取移动终端当前的第一重力方向。Instep 105, when a change in the gravitational direction of the mobile terminal is monitored, the current first gravitational direction of the mobile terminal is acquired.

示例的,可以通过智能手机内的重力传感器来监测智能手机的重力方向是否发生变化,例如监测智能手机当前是横屏或竖屏状态,或者智能手机当前相对于水平方向的倾角。For example, the gravity sensor in the smartphone can be used to monitor whether the gravitational direction of the smartphone changes, such as monitoring whether the smartphone is currently in a landscape or portrait state, or the current inclination of the smartphone relative to the horizontal direction.

在步骤106中,控制N个病毒图案在显示界面上向第一重力方向移动。Instep 106, the N virus patterns are controlled to move toward the first gravity direction on the display interface.

举例来说,当重力传感器监测到智能手机的重力方向发生了变化,判断智能手机当前倾向显示界面的右侧,将显示界面的右侧作为第一重力方向,则控制N个病毒图案在显示界面上向显示界面的右侧移动,这种显示方式使用户能够参与到扫描过程中,增强了与用户的互动。For example, when the gravity sensor detects that the gravity direction of the smartphone has changed, it determines that the smartphone is currently inclined to the right side of the display interface, and uses the right side of the display interface as the first gravity direction, and controls N virus patterns on the display interface. Move up to the right side of the display interface, this display mode enables the user to participate in the scanning process and enhances the interaction with the user.

图3是根据一示例性实施例示出的另一种病毒扫描方法的流程图,如图3所示,该方法还包括以下步骤:FIG. 3 is a flowchart of another virus scanning method according to an exemplary embodiment. As shown in FIG. 3 , the method further includes the following steps:

在步骤107中,监测移动终端是否发生摇晃。Instep 107, monitor whether the mobile terminal shakes.

在步骤108中,当监测到移动终端发生摇晃时,确定移动终端当前的第一摇晃频率,以及在显示界面上当前显示的病毒图案的数量M,其中M≤N。Instep 108, when it is detected that the mobile terminal shakes, the current first shaking frequency of the mobile terminal and the number M of virus patterns currently displayed on the display interface are determined, where M≤N.

示例的,可以通过智能手机内的加速度传感器来监测智能手机加速度的变化,从而判断智能手机是否发生摇晃,再根据该加速度计算出智能手机当前的第一摇晃频率。需要说明的是,当第一次执行步骤108时,显示界面上当前显示的病毒图案的数量与步骤103中显示界面上显示的病毒图案个数相同,即M=N。当再次执行步骤108时,因为N个病毒图案中可能有部分病毒图案在上一次执行步骤110时破碎,因此此时M≤N。For example, the acceleration sensor in the smartphone can be used to monitor changes in the acceleration of the smartphone, so as to determine whether the smartphone shakes, and then calculate the current first shaking frequency of the smartphone according to the acceleration. It should be noted that whenstep 108 is performed for the first time, the number of virus patterns currently displayed on the display interface is the same as the number of virus patterns displayed on the display interface instep 103, that is, M=N. Whenstep 108 is performed again, because some virus patterns among the N virus patterns may be broken whenstep 110 was performed last time, M≤N at this time.

在步骤109中,当第一摇晃频率小于等于第一频率阈值时,按照预设的缩放比例将M个病毒图案的大小进行调整。Instep 109, when the first shaking frequency is less than or equal to the first frequency threshold, the sizes of the M virus patterns are adjusted according to a preset scaling ratio.

在步骤110中,当第一摇晃频率大于第一频率阈值且小于等于第二频率阈值时,在显示界面上显示至少一个病毒图案破碎的动画,其中至少一个小于M;在显示至少一个病毒图案破碎的动画之后,再次执行监测移动终端是否发生摇晃的步骤。Instep 110, when the first shaking frequency is greater than the first frequency threshold and less than or equal to the second frequency threshold, display at least one animation of broken virus patterns on the display interface, at least one of which is less than M; After the animation, the step of monitoring whether the mobile terminal is shaken is performed again.

在步骤111中,当第一摇晃频率大于第二频率阈值时,在显示界面上显示M个病毒图案破碎的动画。Instep 111, when the first shaking frequency is greater than the second frequency threshold, an animation of M pieces of virus pattern breaking is displayed on the display interface.

即上述步骤109至步骤111可以理解为用户可以通过摇晃手机来加速杀毒的过程,并且摇晃频率越高,杀毒的速度越快,反之,杀毒的速度越慢。以第一频率阈值为10Hz,第二频率阈值为30Hz为例进行举例说明,当第一摇晃频率≤10Hz时,可以按照预设的缩放比例放大(或缩小)这M个病毒图案的大小,以表示对智能手机摇晃的响应。That is, theabove steps 109 to 111 can be understood as the user can shake the mobile phone to speed up the antivirus process, and the higher the shaking frequency, the faster the antivirus speed, and vice versa, the slower the antivirus speed. Taking the first frequency threshold as 10 Hz and the second frequency threshold as 30 Hz as an example, when the first shaking frequency is less than or equal to 10 Hz, the size of the M virus patterns can be enlarged (or reduced) according to the preset scaling ratio to Indicates a response to smartphone shaking.

当10Hz<第一摇晃频率≤30Hz时,在显示界面上显示至少一个病毒图案破碎的动画,且破碎的病毒图案数量小于M,从而表示对智能手机摇晃的响应,并向用户展示部分病毒被清理的过程,在显示至少一个病毒图案破碎的动画之后,再次执行步骤108。例如,在本实施例中,当10Hz<第一摇晃频率≤30Hz时,可以显示一个病毒图案破碎的动画,然后再次执行步骤108;或者,可以在10Hz到30Hz之间再设置一个阈值,例如20Hz,当10Hz<第一摇晃频率≤20Hz时,显示一个病毒图案破碎的动画,然后再次执行步骤108,当20Hz<第一摇晃频率≤30Hz时,显示两个病毒图案破碎的动画,然后再次执行步骤108。When 10Hz<first shaking frequency≤30Hz, display at least one virus pattern broken animation on the display interface, and the number of broken virus patterns is less than M, indicating a response to the shaking of the smartphone, and showing the user that some viruses have been cleaned up process, after displaying at least one animation of breaking the virus pattern,step 108 is performed again. For example, in this embodiment, when 10Hz<first shaking frequency≤30Hz, an animation in which the virus pattern is broken may be displayed, and then step 108 may be performed again; or, another threshold may be set between 10Hz and 30Hz, for example, 20Hz , when 10Hz < first shaking frequency ≤ 20 Hz, display an animation of broken virus patterns, and then performstep 108 again, when 20 Hz < first shaking frequency ≤ 30 Hz, display two animations of broken virus patterns, and then perform steps again 108.

当第一摇晃频率>30Hz时,在显示当前显示界面上所有病毒图案破碎的动画。When the first shaking frequency is greater than 30 Hz, the animation of all virus patterns breaking on the current display interface is displayed.

上述的这种将杀毒过程与摇晃手机进行交互的显示方式使用户能够参与到杀毒过程中,增加杀毒过程中与用户的互动。The above-mentioned display manner of interacting the antivirus process with shaking the mobile phone enables the user to participate in the antivirus process and increases the interaction with the user during the antivirus process.

在步骤112中,当显示界面上当前显示的病毒图案的数量为零时,在显示界面上显示用于提示病毒清理完成的提示信息。Instep 112, when the number of virus patterns currently displayed on the display interface is zero, prompt information for prompting the completion of virus cleaning is displayed on the display interface.

示例的,当显示界面上已不存在病毒图案时,显示用于提示病毒清理完成的提示信息,该提示信息可以显示被清理的全部病毒的清单,也可以只提示用户病毒清理过程已经完成。For example, when the virus pattern no longer exists on the display interface, a prompt message for prompting the completion of virus cleaning is displayed, and the prompt message may display a list of all cleaned viruses, or may only prompt the user that the virus cleaning process has been completed.

图4是根据一示例性实施例示出的又一种病毒扫描方法的流程图,如图4所示,该方法还包括:Fig. 4 is a flowchart of another virus scanning method according to an exemplary embodiment. As shown in Fig. 4 , the method further includes:

在步骤113中,在显示至少一个病毒图案破碎的动画,或显示M个病毒图案破碎的动画时,输出响铃或者震动到移动终端。Instep 113, output a bell or a vibration to the mobile terminal when displaying at least one animation of breaking the virus pattern, or displaying the animation of the breaking of M virus patterns.

示例的,为了增加用户对病毒清理过程的体验,可以在显示病毒图案破碎的动画时,可以根据当前智能手机设置的是响铃提醒方式还是震动提醒方式,配合输出响铃或者震动到智能手机,以提醒用户病毒的清理过程。For example, in order to increase the user's experience of the virus cleaning process, when the animation of the broken virus pattern is displayed, according to whether the current smart phone is set to be in a ringing reminder mode or a vibration reminder mode, it can output a ringing or vibrate to the smart phone. to remind users of the virus cleaning process.

图5是根据一示例性实施例示出的再一种病毒扫描方法的流程图,如图5所示,该方法还包括:Fig. 5 is a flowchart of still another virus scanning method according to an exemplary embodiment. As shown in Fig. 5, the method further includes:

在步骤114中,当发现病毒存在时,将显示界面的背景色设置为指定颜色。Instep 114, when it is found that the virus exists, the background color of the display interface is set to a specified color.

示例的,为了增加用户对病毒存在的直观感受到病毒的存在,可以将显示界面的背景色设置为指定颜色,例如可以在发现病毒存在时,将显示界面的背景色设置为红色。需要说明的是,设置显示界面背景色的时刻可以设置为在病毒扫描过程中发现病毒存在时立刻设置,也可以设置为病毒扫描过程结束时再设置。For example, in order to increase the user's intuitive perception of the existence of the virus, the background color of the display interface can be set to a specified color, for example, when the virus is found, the background color of the display interface can be set to red. It should be noted that, the time of setting the background color of the display interface can be set as soon as the virus is found during the virus scanning process, or can be set after the virus scanning process ends.

综上所述,本实施例提供的一种病毒扫描方法,通过在用户下发扫描指令时,一旦发现病毒存在,在显示界面上显示多个病毒图案,从而使扫描指令的结果与显示界面上的病毒图案联系起来,能够解决相关技术中用户难以感知到病毒的存在,导致用户忽视互联网安全的问题,让用户直观地感受病毒的存在,并提高用户体验。To sum up, in a virus scanning method provided by this embodiment, once a virus is found to exist when a user issues a scanning command, a plurality of virus patterns are displayed on the display interface, so that the result of the scanning command and the display interface are displayed on the display interface. It can solve the problem that users are difficult to perceive the existence of viruses in related technologies, causing users to ignore the problem of Internet security, allowing users to intuitively feel the existence of viruses and improving user experience.

图6是根据一示例性实施例示出的一种病毒扫描装置的框图,如图6所示,该装置包括:指令获取模块201、扫描模块202、病毒显示模块203和第一控制模块204。FIG. 6 is a block diagram of a virus scanning apparatus according to an exemplary embodiment. As shown in FIG. 6 , the apparatus includes aninstruction acquisition module 201 , ascanning module 202 , avirus display module 203 and afirst control module 204 .

指令获取模块201,被配置为获取扫描指令。Theinstruction acquisition module 201 is configured to acquire scan instructions.

扫描模块202,被配置为响应于扫描指令,开始进行病毒扫描。Thescanning module 202 is configured to start virus scanning in response to the scanning instruction.

病毒显示模块203,被配置为当发现病毒存在时,在显示界面上显示N个病毒图案,其中N为大于0的自然数。Thevirus display module 203 is configured to display N virus patterns on the display interface when a virus is found, where N is a natural number greater than 0.

第一控制模块204,被配置为控制N个病毒图案在显示界面上按照预设规则变化。Thefirst control module 204 is configured to control the N virus patterns to change on the display interface according to preset rules.

图7是根据一示例性实施例示出的另一种病毒扫描装置的框图,如图7所示,该装置还包括:重力监测模块205和第二控制模块206。FIG. 7 is a block diagram of another virus scanning apparatus according to an exemplary embodiment. As shown in FIG. 7 , the apparatus further includes: agravity monitoring module 205 and asecond control module 206 .

重力监测模块205,被配置为当监测到移动终端的重力方向发生变化时,获取移动终端当前的第一重力方向。Thegravity monitoring module 205 is configured to acquire the current first gravity direction of the mobile terminal when a change in the gravity direction of the mobile terminal is detected.

第二控制模块206,被配置为控制N个病毒图案在显示界面上向第一重力方向移动。Thesecond control module 206 is configured to control the N virus patterns to move toward the first gravity direction on the display interface.

图8是根据一示例性实施例示出的另一种病毒扫描装置的框图,如图8所示,该装置还包括:摇晃监测模块207、测量模块208和第三控制模块209。FIG. 8 is a block diagram of another virus scanning apparatus according to an exemplary embodiment. As shown in FIG. 8 , the apparatus further includes: a shakingmonitoring module 207 , ameasuring module 208 and athird control module 209 .

摇晃监测模块207,被配置为监测移动终端是否发生摇晃。The shakingmonitoring module 207 is configured to monitor whether the mobile terminal shakes.

测量模块208,被配置为当监测到移动终端发生摇晃时,确定移动终端当前的第一摇晃频率,以及在显示界面上当前显示的病毒图案的数量M,其中M≤N。Themeasurement module 208 is configured to determine the current first shaking frequency of the mobile terminal and the number M of virus patterns currently displayed on the display interface, where M≤N when shaking of the mobile terminal is detected.

第三控制模块209,被配置为当第一摇晃频率小于等于第一频率阈值时,按照预设的缩放比例将M个病毒图案的大小进行调整;当第一摇晃频率大于第一频率阈值且小于等于第二频率阈值时,在显示界面上显示至少一个病毒图案破碎的动画,其中至少一个小于M。在显示至少一个病毒图案破碎的动画之后,再次执行测量模块所执行的步骤。当第一摇晃频率大于第二频率阈值时,在显示界面上显示M个病毒图案破碎的动画。当显示界面上当前显示的病毒图案的数量为零时,在显示界面上显示用于提示病毒清理完成的提示信息。Thethird control module 209 is configured to adjust the size of the M virus patterns according to the preset scaling ratio when the first shaking frequency is less than or equal to the first frequency threshold; when the first shaking frequency is greater than the first frequency threshold and less than the first frequency threshold When it is equal to the second frequency threshold, at least one animation of breaking the virus pattern is displayed on the display interface, at least one of which is smaller than M. The steps performed by the measurement module are performed again after the animation of at least one virus pattern breaking is displayed. When the first shaking frequency is greater than the second frequency threshold, an animation of M pieces of virus pattern breaking is displayed on the display interface. When the number of virus patterns currently displayed on the display interface is zero, prompt information for prompting the completion of virus cleaning is displayed on the display interface.

图9是根据一示例性实施例示出的又一种病毒扫描装置的框图,如图9所示,该装置还包括:提示模块210。FIG. 9 is a block diagram of another virus scanning apparatus according to an exemplary embodiment. As shown in FIG. 9 , the apparatus further includes: a promptingmodule 210 .

提示模块210,被配置为在显示至少一个病毒图案破碎的动画,或显示M个病毒图案破碎的动画时,输出响铃或者震动到移动终端。The promptingmodule 210 is configured to output a bell or a vibration to the mobile terminal when displaying at least one animation of breaking the virus pattern, or displaying the animation of the breaking of M virus patterns.

可选的,第一控制模块204被配置为执行以下至少一者:Optionally, thefirst control module 204 is configured to perform at least one of the following:

控制N个病毒图案的大小在预设的图案尺寸范围内随机变化。The size of the N virus patterns is controlled to vary randomly within the preset pattern size range.

控制N个病毒图案在显示界面上随机移动。Control N virus patterns to move randomly on the display interface.

图10是根据一示例性实施例示出的再一种病毒扫描装置的框图,如图10所示,该装置还包括:第四控制模块211。FIG. 10 is a block diagram of still another virus scanning apparatus according to an exemplary embodiment. As shown in FIG. 10 , the apparatus further includes: afourth control module 211 .

第四控制模块211,被配置为当发现病毒存在时,将显示界面的背景色设置为指定颜色。Thefourth control module 211 is configured to set the background color of the display interface to a specified color when the virus is found to exist.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

综上所述,本实施例提供的一种病毒扫描装置,通过在用户下发扫描指令时,一旦发现病毒存在,在显示界面上显示多个病毒图案,从而使扫描指令的结果与显示界面上的病毒图案联系起来,能够解决相关技术中用户难以感知到病毒的存在,导致用户忽视互联网安全的问题,让用户直观地感受病毒的存在,并提高用户体验。To sum up, a virus scanning device provided by this embodiment displays a plurality of virus patterns on the display interface once a virus is found when a user issues a scan instruction, so that the result of the scan instruction is displayed on the display interface. It can solve the problem that users are difficult to perceive the existence of viruses in related technologies, causing users to ignore the problem of Internet security, allowing users to intuitively feel the existence of viruses and improving user experience.

图11是根据一示例性实施例示出的一种病毒扫描装置1100的框图。例如,装置1100可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 11 is a block diagram of avirus scanning apparatus 1100 according to an exemplary embodiment. For example,apparatus 1100 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图11,装置1100可以包括以下一个或多个组件:处理组件1102,存储器1104,电力组件1106,多媒体组件1108,音频组件1110,输入/输出(I/O)的接口1112,传感器组件1114,以及通信组件1116。11, theapparatus 1100 may include one or more of the following components: aprocessing component 1102, amemory 1104, apower component 1106, amultimedia component 1108, anaudio component 1110, an input/output (I/O)interface 1112, asensor component 1114, andcommunication component 1116.

处理组件1102通常控制装置1100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1102可以包括一个或多个处理器1120来执行指令,以完成图1-图5中任意所述的病毒扫描方法的全部或部分步骤。此外,处理组件1102可以包括一个或多个模块,便于处理组件1102和其他组件之间的交互。例如,处理组件1102可以包括多媒体模块,以方便多媒体组件1108和处理组件1102之间的交互。Theprocessing component 1102 generally controls the overall operation of thedevice 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. Theprocessing component 1102 may include one ormore processors 1120 to execute instructions to perform all or part of the steps of the virus scanning method described in any of FIGS. 1-5 . Additionally,processing component 1102 may include one or more modules that facilitate interaction betweenprocessing component 1102 and other components. For example,processing component 1102 may include a multimedia module to facilitate interaction betweenmultimedia component 1108 andprocessing component 1102.

存储器1104被配置为存储各种类型的数据以支持在装置1100的操作。这些数据的示例包括用于在装置1100上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 1104 is configured to store various types of data to support operations atdevice 1100 . Examples of such data include instructions for any application or method operating on thedevice 1100, contact data, phonebook data, messages, pictures, videos, and the like.Memory 1104 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件1106为装置1100的各种组件提供电力。电力组件1106可以包括电源管理系统,一个或多个电源,及其他与为装置1100生成、管理和分配电力相关联的组件。Power components 1106 provide power to various components ofdevice 1100 .Power components 1106 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power todevice 1100 .

多媒体组件1108包括在所述装置1100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1108包括一个前置摄像头和/或后置摄像头。当装置1100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 1108 includes a screen that provides an output interface between thedevice 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, themultimedia component 1108 includes a front-facing camera and/or a rear-facing camera. When thedevice 1100 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1110被配置为输出和/或输入音频信号。例如,音频组件1110包括一个麦克风(MIC),当装置1100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1104或经由通信组件1116发送。在一些实施例中,音频组件1110还包括一个扬声器,用于输出音频信号。Audio component 1110 is configured to output and/or input audio signals. For example,audio component 1110 includes a microphone (MIC) that is configured to receive external audio signals whendevice 1100 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored inmemory 1104 or transmitted viacommunication component 1116 . In some embodiments,audio component 1110 also includes a speaker for outputting audio signals.

I/O接口1112为处理组件1102和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1112 provides an interface between theprocessing component 1102 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件1114包括一个或多个传感器,用于为装置1100提供各个方面的状态评估。例如,传感器组件1114可以检测到装置1100的打开/关闭状态,组件的相对定位,例如所述组件为装置1100的显示器和小键盘,传感器组件1114还可以检测装置1100或装置1100一个组件的位置改变,用户与装置1100接触的存在或不存在,装置1100方位或加速/减速和装置1100的温度变化。传感器组件1114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1114 includes one or more sensors for providing status assessment of various aspects ofdevice 1100 . For example, thesensor assembly 1114 can detect the open/closed state of thedevice 1100, the relative positioning of components, such as the display and keypad of thedevice 1100, and thesensor assembly 1114 can also detect a change in the position of thedevice 1100 or a component of thedevice 1100 , the presence or absence of user contact with thedevice 1100 , thedevice 1100 orientation or acceleration/deceleration and the temperature change of thedevice 1100 .Sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.Sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件1116被配置为便于装置1100和其他设备之间有线或无线方式的通信。装置1100可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1116还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 1116 is configured to facilitate wired or wireless communication betweenapparatus 1100 and other devices.Device 1100 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, thecommunication component 1116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置1100可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的病毒扫描方法。In an exemplary embodiment,apparatus 1100 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are implemented for performing the virus scanning method described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1104,上述指令可由装置1100的处理器1120执行以完成上述的病毒扫描方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as amemory 1104 including instructions, is also provided, and the instructions can be executed by theprocessor 1120 of theapparatus 1100 to complete the virus scanning method described above. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,本领域技术人员在考虑说明书及实践本公开后,容易想到本公开的其它实施方案,均属于本公开的保护范围。The preferred embodiments of the present disclosure have been described above in detail with reference to the accompanying drawings. However, the present disclosure is not limited to the specific details of the above-mentioned embodiments. Within the scope of the technical idea of the present disclosure, those skilled in the art will , it is easy to think of other embodiments of the present disclosure, which all belong to the protection scope of the present disclosure.

另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。同时本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。本公开并不局限于上面已经描述出的精确结构,本公开的范围仅由所附的权利要求来限制。In addition, it should be noted that each specific technical feature described in the above-mentioned specific implementation manner may be combined in any suitable manner under the circumstance that there is no contradiction. At the same time, the various embodiments of the present disclosure can also be arbitrarily combined, as long as they do not violate the idea of the present disclosure, they should also be regarded as the contents disclosed in the present disclosure. The present disclosure is not to be limited to the precise structures described above, the scope of the present disclosure being limited only by the appended claims.

Claims (11)

the third control module is configured to adjust the sizes of the M virus patterns according to a preset scaling when the first shaking frequency is less than or equal to a first frequency threshold; when the first shaking frequency is larger than the first frequency threshold and smaller than or equal to a second frequency threshold, displaying an animation of the at least one virus pattern breakage on the display interface, wherein the number of the at least one virus pattern is smaller than M; after displaying the animation of at least one virus pattern fragmentation, executing the steps executed by the measurement module again; when the first shaking frequency is larger than the second frequency threshold, displaying an animation that M virus patterns are broken on the display interface; and when the number of the virus patterns currently displayed on the display interface is zero, displaying prompt information for prompting the completion of virus cleaning on the display interface.
CN201710175105.4A2017-03-222017-03-22Virus scanning method and deviceActiveCN106940774B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710175105.4ACN106940774B (en)2017-03-222017-03-22Virus scanning method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710175105.4ACN106940774B (en)2017-03-222017-03-22Virus scanning method and device

Publications (2)

Publication NumberPublication Date
CN106940774A CN106940774A (en)2017-07-11
CN106940774Btrue CN106940774B (en)2020-03-17

Family

ID=59464432

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710175105.4AActiveCN106940774B (en)2017-03-222017-03-22Virus scanning method and device

Country Status (1)

CountryLink
CN (1)CN106940774B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101668077A (en)*2008-09-022010-03-10Lg电子株式会社Mobile terminal to prevent virus infection and method of controlling operation of the mobile terminal
CN102591626A (en)*2011-01-112012-07-18腾讯科技(深圳)有限公司Window display method and device of security class software
CN102902523A (en)*2012-08-292013-01-30珠海市君天电子科技有限公司Display method and display system thereof for scan result interface of mobile device
US8490068B1 (en)*2007-01-262013-07-16Intuit Inc.Method and system for feature migration
CN105549846A (en)*2015-12-102016-05-04广东欧珀移动通信有限公司 A method for splitting a speaker group and a mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8490068B1 (en)*2007-01-262013-07-16Intuit Inc.Method and system for feature migration
CN101668077A (en)*2008-09-022010-03-10Lg电子株式会社Mobile terminal to prevent virus infection and method of controlling operation of the mobile terminal
CN102591626A (en)*2011-01-112012-07-18腾讯科技(深圳)有限公司Window display method and device of security class software
CN102902523A (en)*2012-08-292013-01-30珠海市君天电子科技有限公司Display method and display system thereof for scan result interface of mobile device
CN105549846A (en)*2015-12-102016-05-04广东欧珀移动通信有限公司 A method for splitting a speaker group and a mobile terminal

Also Published As

Publication numberPublication date
CN106940774A (en)2017-07-11

Similar Documents

PublicationPublication DateTitle
JP6199510B2 (en) Method and apparatus for switching display modes
CN105159640B (en)Display interface rotating method and device and mobile terminal
CN108509232A (en)Screen recording method, device and computer readable storage medium
CN106599251A (en)Method and device for displaying anchor rankings
CN107357505A (en)The method, apparatus and computer-readable recording medium of screenshot capture
WO2017059638A1 (en)Fingerprint identification method and device
CN107102772B (en)Touch control method and device
CN107436784A (en)Suspension window displaying method and device
CN107515669B (en)Display method and device
WO2017084183A1 (en)Information displaying method and device
CN106802741B (en)Method and device for determining screen edge touch event and mobile terminal
CN110262692B (en)Touch screen scanning method, device and medium
CN106354504B (en)Message display method and device
CN107390977A (en) Button operation method, device and storage medium
CN106095285B (en) Operation execution method and device
CN106201250A (en)Account changing method and device
CN111610899A (en) Interface display method, interface display device and storage medium
CN108124058A (en)information display control method and device
CN107809538B (en) Alarm reminder method, device and computer readable storage medium
CN106406659A (en)Double-open application establishing method and device
CN106610777A (en)Application starting method and device and mobile terminal
CN107273173A (en)Control method, device and the storage medium of fingerprint sensor
CN107832112B (en)Wallpaper setting method and device
CN106919302A (en)The method of controlling operation thereof and device of mobile terminal
US11783525B2 (en)Method, device and storage medium form playing animation of a captured image

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp