Movatterモバイル変換


[0]ホーム

URL:


CN106940774A - Virus scan method and apparatus - Google Patents

Virus scan method and apparatus
Download PDF

Info

Publication number
CN106940774A
CN106940774ACN201710175105.4ACN201710175105ACN106940774ACN 106940774 ACN106940774 ACN 106940774ACN 201710175105 ACN201710175105 ACN 201710175105ACN 106940774 ACN106940774 ACN 106940774A
Authority
CN
China
Prior art keywords
virus
display interface
module
mobile terminal
pattern
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.)
Granted
Application number
CN201710175105.4A
Other languages
Chinese (zh)
Other versions
CN106940774B (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

Classifications

Landscapes

Abstract

Translated fromChinese

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

The present disclosure proposes a virus scanning method and device, which relate to the field of terminal technology. The method includes: obtaining a scanning instruction; responding to the scanning instruction, starting virus scanning; when a virus is found, displaying N virus patterns on a display interface ; wherein N is a natural number greater than 0; controlling the N virus patterns to change according to preset rules on the display interface. The present disclosure can allow users to feel the existence of viruses intuitively and improve user experience.

Description

Virus scan method and apparatus
Technical field
This disclosure relates to field of terminal technology, more particularly to a kind of virus scan method and apparatus.
Background technology
More and more perfect with the function of terminal, also more extensively, and virus is wreaked havoc for popularization degree in daily life,The function of terminal can be upset, the waste of resource and wealth is caused, therefore, the safety problem that terminal is used receives very high weightDepending on.In correlative technology field, the interactive mode that the process of virus scan and processing is provided on display interface only has progress to showShow or viral inventory.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of virus scan method and apparatus.
To achieve these goals, according to the first aspect of the embodiment of the present disclosure, there is provided a kind of malicious scan method, the bagInclude:
Obtain scan instruction;
In response to the scan instruction, virus scan is carried out;
In the presence of virus is found, N number of viral pattern is shown on display interface;Wherein N is the natural number more than 0;
N number of viral pattern is controlled to change on the display interface according to preset rules.
In the present embodiment, by when user issues scan instruction, existing once discovery is viral, on display interfaceMultiple viral patterns are shown, so that the viral pattern in the result and display interface of scan instruction is connected, be can solve the problem thatThe problem of user is difficult to perceive the presence of virus in correlation technique, user is allowed intuitively to experience the presence of virus, it is possible to increaseIt was found that the prompting effect in the presence of virus, strengthens Consumer's Experience.
Optionally, methods described also includes:
When the gravity direction for monitoring mobile terminal changes, the first current gravity side of the mobile terminal is obtainedTo;
N number of viral pattern is controlled to be moved on the display interface to first gravity direction.
In the present embodiment, by monitoring the gravity direction of mobile terminal, when its gravity direction changes, controlViral pattern on display interface is moved to the direction of change, so that the display mode of viral pattern responds the weight of mobile terminalForce direction, can be such that user participates in scanning process, improve the degree of intelligence of man-machine interaction during checking and killing virus.
Optionally, methods described also includes:
Whether monitoring mobile terminal rocks;
When monitoring that the mobile terminal rocks, the first current sway frequency of the mobile terminal is determined, withAnd on the display interface the currently displaying viral pattern quantity M;Wherein M≤N;
It is described by M according to default scaling when first sway frequency is less than or equal to first frequency threshold valueThe size of viral pattern is adjusted;
When first sway frequency is more than the first frequency threshold value and is less than or equal to second frequency threshold value, describedThe broken animation of at least one described viral pattern is shown on display interface, wherein it is described at least one be less than M;In display at leastAfter the broken animation of one viral pattern, the step of whether the monitoring mobile terminal rocks is performed again;
When first sway frequency is more than the second frequency threshold value, shown on the display interface described in MThe broken animation of viral pattern;
When the quantity of the viral pattern currently displaying on the display interface is zero, show on the display interfaceShow for pointing out the virus prompt message that cleaning is completed.
In the present embodiment, by monitoring the sway frequency of mobile terminal, controlled to show boundary according to the sway frequencyThe display mode of viral image on face, when the first sway frequency is less than or equal to first frequency threshold value, the viral image of controlScaling, when the first sway frequency is more than first frequency threshold value and is less than or equal to second frequency threshold value, the viral image of controlPartial crushing, until all viral image is crushed, when the first sway frequency is more than second frequency threshold value, the viral image of control is completePortion is crushed, so that antivirus process responds rocking for mobile terminal, the display mode of viral pattern responds rocking for mobile terminalFrequency, can be such that user participates in during antivirus, intuitively experience the presence of virus, improve man-machine friendship during checking and killing virusMutual degree of intelligence.
Optionally, methods described also includes:
Showing the broken animation of at least one described viral pattern, or the broken animation of M viral patterns of displayWhen, the mobile terminal is arrived in output jingle bell or vibrations.
In the present embodiment, by the way that when there is viral pattern to crush, mobile terminal is arrived in output jingle bell or vibrations, so thatThe process of user's antivirus is reminded, user can be made intuitively to experience virus and be cleaned, it is possible to increase prompting when virus is cleanedEffect, strengthens Consumer's Experience.
Optionally, control N number of viral pattern changes on the display interface according to preset rules, including withDescend at least one:
The size of N number of viral pattern is controlled to change at random in the range of default pattern dimension;
Control N number of viral pattern random movement on the display interface.
In the present embodiment, the display mode of at least one of size and location by setting viral pattern, so thatPrompting mode when finding virus, enhancing prompting effect can be enriched.
Optionally, methods described also includes:
In the presence of virus is found, the background colour of the display interface is set to designated color.
In the present embodiment, by when user issues scan instruction, once finding that virus is present, controlling display interfaceBackground color, remind the user that, can enrich find virus when prompting mode, enhancing prompting effect.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of virus scan device,
Described device includes:Instruction acquisition module, scan module, viral display module and the first control module;
The instruction acquisition module, is configured as obtaining scan instruction;
The scan module, is configured to respond to the scan instruction, carries out virus scan;
The viral display module, is configured as in the presence of discovery virus, and N number of virus figure is shown on display interfaceCase;Wherein N is the natural number more than 0;
First control module, is configured as control N number of viral pattern on the display interface according to defaultRule change.
Optionally, described device also includes:Gravity observation module and the second control module;
The Gravity observation module, when being configured as monitoring that the gravity direction of mobile terminal changes, obtains instituteState the first current gravity direction of mobile terminal;
Second control module, is configured as control N number of viral pattern on the display interface to described theOne gravity direction is moved.
Optionally, described device also includes:Rock monitoring modular, measurement module and the 3rd control module;
It is described to rock monitoring modular, it is configured as whether monitoring mobile terminal rocks;
The measurement module, when being configured as monitoring that the mobile terminal rocks, determines the mobile terminalThe first current sway frequency, and the currently displaying viral pattern on the display interface quantity M;Wherein M≤N;
3rd control module, when being configured as first sway frequency less than or equal to first frequency threshold value, is pressedThe size of the M viral patterns is adjusted according to default scaling;When first sway frequency is more than described theOne frequency threshold and less than or equal to second frequency threshold value when, shown on the display interface at least one described viral pattern breakBroken animation, wherein it is described at least one be less than M;After the broken animation of at least one described viral pattern is shown, againPerform the step performed by the measurement module;When first sway frequency is more than the second frequency threshold value, describedThe broken animation of the M viral patterns is shown on display interface;When the virus figure currently displaying on the display interfaceWhen the quantity of case is zero, shown on the display interface for pointing out the virus prompt message that cleaning is completed.
Optionally, described device also includes:Reminding module;
The reminding module, is configured as showing the broken animation of at least one described viral pattern, or M institute of displayWhen stating the animation that viral pattern is crushed, the mobile terminal is arrived in output jingle bell or vibrations.
Optionally, first control module is configured as at least one below execution:
The size of N number of viral pattern is controlled to change at random in the range of default pattern dimension;
Control N number of viral pattern random movement on the display interface.
Optionally, described device also includes:4th control module;
4th control module, is configured as in the presence of discovery virus, the background colour of the display interface is setFor designated color.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of virus scan device, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain scan instruction;
In response to the scan instruction, virus scan is carried out;
In the presence of virus is found, N number of viral pattern is shown on display interface;Wherein N is the natural number more than 0;
N number of viral pattern is controlled to change on the display interface according to preset rules.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of non-transitorycomputer readable storage medium, when describedInstruction in storage medium by mobile terminal computing device when so that mobile terminal is able to carry out the disease of first aspect offerMalicious scan method.
The technical scheme provided by this disclosed embodiment can include the following benefits:Referred to by issuing scanning in userWhen making, once finding that virus is present, multiple viral patterns are shown on display interface, so that result and the display of scan instructionViral pattern on interface is connected, and be can solve the problem that the problem of user is difficult to perceive the presence of virus in correlation technique, is allowedUser intuitively experiences the presence of virus, it is possible to increase find the prompting effect in the presence of virus, strengthens Consumer's Experience.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, notThe disclosure can be limited.
Brief description of the drawings
Accompanying drawing is, for providing further understanding of the disclosure, and to constitute a part for specification, with following toolBody embodiment is used to explain the disclosure together, but does not constitute limitation of this disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of virus scan method according to an exemplary embodiment;
Fig. 2 is the flow chart of another virus scan method according to an exemplary embodiment;
Fig. 3 is the flow chart of another virus scan method according to an exemplary embodiment;
Fig. 4 is the flow chart of another virus scan method according to an exemplary embodiment;
Fig. 5 is the flow chart of another virus scan method according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of virus scan device according to an exemplary embodiment;
Fig. 7 is the block diagram of another virus scan device according to an exemplary embodiment;
Fig. 8 is the block diagram of another virus scan device according to an exemplary embodiment;
Fig. 9 is the block diagram of another virus scan device according to an exemplary embodiment;
Figure 10 is the block diagram of another virus scan device according to an exemplary embodiment;
Figure 11 is a kind of block diagram of virus scan device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related toDuring accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodimentDescribed in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appendedThe example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Before the virus scan method and apparatus of disclosure offer are introduced, first to involved by the disclosure each embodimentApplication scenarios are introduced.The application scenarios include a mobile terminal, and the mobile terminal supports the function of virus scan and antivirus,And the mobile terminal can monitor the gravity direction and sway frequency of itself, such as mobile terminal can be provided with acceleration biographySensor monitors change and the sway frequency of gravity direction.The mobile terminal for example can be smart mobile phone, panel computer, intelligenceWrist-watch, PDA (English:Personal Digital Assistant, Chinese:Personal digital assistant) etc. mobile terminal.Therefore, underFace so that mobile terminal is to be provided with the smart mobile phone of acceleration transducer as an example, shows each in each embodiment of the disclosureExample property embodiment is illustrated.
Fig. 1 is a kind of flow chart of virus scan method according to an exemplary embodiment, as shown in figure 1, the diseaseMalicious scan method comprises the following steps:
In a step 101, scan instruction is obtained.
Example, mobile terminal has the mode of a variety of acquisition scan instructions, by taking smart mobile phone as an example, could be arranged to:RootDefault gesture, default sound or default button (such as sweeping in the interface of antivirus application program are triggered according to userRetouch button), to obtain scan instruction.Scan instruction, example can also be obtained according to assigned operation of the user on display interfaceSuch as user can carry out long-press, double-click or amplifying gesture prompt operation to obtain scan instruction on display interface.
In a step 102, in response to scan instruction, virus scan is carried out.
Herein it should be noted that in response to scan instruction, the process of virus scan can be only in running background, can alsoCurrent scan progress and current scanning result are shown on display interface.
In step 103, in the presence of virus is found, N number of viral pattern is shown on display interface, wherein N is more than 0Natural number.
Example, because the quantity of virus may only one of which, it is also possible to have multiple, consequently found that the quantity of virus withThe quantity of the viral pattern shown on display interface can be with uncorrelated, can also be related, is finding the quantity of virus and display circle, can be according to the quantity for finding virus, based on default ratio, on display circle when the quantity of the viral pattern shown on face is relatedThe viral pattern of respective amount is shown on face.For example, when being found that 1-2 virus, 1 disease can be shown on display interfaceMalicious pattern, when being found that 3-5 virus, can show 2 viral patterns on display interface, when be found that more than 5 it is sickWhen malicious, 3 viral patterns can be shown on display interface.It should be noted that showing viral pattern on display interfaceAt the moment, it could be arranged to find during virus scan to show at once in the presence of virus, it can also be provided that in virus scanShown again at the end of process.
At step 104, N number of viral pattern is controlled to change on display interface according to preset rules.
Optionally, the N number of viral pattern of control described in step 104 can be wrapped on display interface according to preset rules changeInclude it is following at least one:
The size of N number of viral pattern is controlled to change at random in the range of default pattern dimension;
Control N number of viral pattern random movement on display interface.
Example, the first above-mentioned change programme could be arranged to N number of viral pattern and be contracted at random in default scopePut, the preset range of N number of viral pattern can be with different, and the frequency scaled at random can be with different, or can also setThe rule change for putting N number of viral pattern is synchronous.Second of change programme could be arranged to N number of viral pattern random movement.FirstKind of preset rules and second preset rules can optionally first, can also two kinds be combined with each other, can solve the problem that user is difficult to feelThe problem of knowing the presence of virus, allows user intuitively to experience the presence of virus, it is possible to increase to find the prompting in the presence of virusEffect, strengthens Consumer's Experience.
Fig. 2 is the flow chart of another virus scan method according to an exemplary embodiment, as shown in Fig. 2 shouldMethod is further comprising the steps of:
In step 105, when the gravity direction for monitoring mobile terminal changes, obtain mobile terminal it is current theOne gravity direction.
Example, whether the gravity direction that smart mobile phone can be monitored by the gravity sensor in smart mobile phone occursChange, it is currently transverse screen or portrait layout state for example to monitor smart mobile phone, or current the inclining relative to horizontal direction of smart mobile phoneAngle.
In step 106, N number of viral pattern is controlled to be moved on display interface to the first gravity direction.
For example, when gravity sensor monitors that the gravity direction of smart mobile phone is changed, smart mobile phone is judgedThe right side of current tendency display interface, using the right side of display interface as the first gravity direction, then controls N number of viral pattern aobviousShow and moved on interface to the right side of display interface, this display mode allows users to participate in scanning process, enhance withThe interaction of user.
Fig. 3 is the flow chart of another virus scan method according to an exemplary embodiment, as shown in figure 3, shouldMethod is further comprising the steps of:
In step 107, whether monitoring mobile terminal rocks.
In step 108, when monitoring that mobile terminal rocks, determine mobile terminal it is current first rock frequencyRate, and currently displaying viral pattern on display interface quantity M, wherein M≤N.
Example, the change of smart mobile phone acceleration can be monitored by the acceleration transducer in smart mobile phone, fromAnd judge whether smart mobile phone rocks, calculate the first current sway frequency of smart mobile phone further according to the accelerometer.NeedIt is noted that when first time performing step 108, the quantity and step 103 of currently displaying viral pattern on display interfaceThe viral pattern number shown on middle display interface is identical, i.e. M=N.When performing step 108 again, because N number of viral patternIn may have fractionated viral pattern it is upper once perform step 110 when broken, therefore now M≤N.
, will according to default scaling when the first sway frequency is less than or equal to first frequency threshold value in step 109The size of M viral pattern is adjusted.
In step 110, when the first sway frequency is more than first frequency threshold value and less than or equal to second frequency threshold value,The broken animation of at least one viral pattern is shown on display interface, wherein at least one is less than M;Showing at least one virusAfter the broken animation of pattern, the step of whether monitoring mobile terminal rocks is performed again.
In step 111, when the first sway frequency is more than second frequency threshold value, M virus is shown on display interfaceThe broken animation of pattern.
I.e. above-mentioned steps 109 to step 111 can be understood as user can accelerate the process of antivirus by rocking mobile phone,And sway frequency is higher, the speed of antivirus is faster, conversely, the speed of antivirus is slower.Using first frequency threshold value as 10Hz, secondFrequency threshold, can be according to default scaling as the first sway frequency≤10Hz to be illustrated exemplified by 30HzThe size of amplification (or reducing) this M viral pattern, to represent the response rocked to smart mobile phone.
As the first sway frequencies of 10Hz <≤30Hz, show that at least one viral pattern is broken on display interface and moveDraw, and broken viral number of patterns is less than M, so that the response rocked to smart mobile phone is represented, and it is sick to user's expositionThe process that poison is cleaned, after the broken animation of at least one viral pattern is shown, performs step 108 again.For example, at thisIn embodiment, as the first sway frequencies of 10Hz <≤30Hz, the broken animation of a viral pattern can be shown, then againPerform step 108;Or, a threshold value, such as 20Hz, when 10Hz < first rock can be again set between 10Hz to 30HzDuring frequency≤20Hz, the broken animation of a viral pattern is shown, step 108 is then performed again, when 20Hz < first rockDuring frequency≤30Hz, the broken animation of two viral patterns is shown, step 108 is then performed again.
As the first sway frequency > 30Hz, the broken animation of all viral patterns in display current display interface.
It is above-mentioned this by antivirus process and to rock the display mode that mobile phone interacts and allow users to participate in antivirusDuring, the interaction during increase antivirus with user.
In step 112, when the quantity of viral pattern currently displaying on display interface is zero, show on display interfaceShow for pointing out the virus prompt message that cleaning is completed.
Example, when viral pattern is not present on display interface, show for pointing out the virus prompting that cleaning is completedInformation, the prompt message can show the inventory for all virus being cleaned, and can also only point out the viral scale removal process of userThrough completing.
Fig. 4 is the flow chart of another virus scan method according to an exemplary embodiment, as shown in figure 4, shouldMethod also includes:
In step 113, the broken animation of at least one viral pattern is being shown, or show what M viral pattern was crushedDuring animation, mobile terminal is arrived in output jingle bell or vibrations.
Example, can be in the broken animation of the viral pattern of display in order to increase experience of the user to viral scale removal processWhen, can be provided that jingle bell alerting pattern or vibration reminding mode according to current smart mobile phone, coordinate output jingle bell orSmart mobile phone is shaken, to remind the scale removal process of user's virus.
Fig. 5 is the flow chart of another virus scan method according to an exemplary embodiment, as shown in figure 5, shouldMethod also includes:
In step 114, in the presence of virus is found, the background colour of display interface is set to designated color.
Example, can be by display interface in order to increase user to the direct feel of virus presence to the presence of virusBackground colour is set to designated color, for example, the background colour of display interface can be set into red in the presence of virus is found.NeedIt is noted that could be arranged to find during virus scan at the time of setting display interface background colour to stand in the presence of virusCarve and set, it can also be provided that being set again at the end of virus scan process.
In summary, a kind of virus scan method that the present embodiment is provided, by when user issues scan instruction, onceIt was found that virus is present, multiple viral patterns are shown on display interface, so that in the result and display interface of scan instructionViral pattern is connected, and can solve the problem that user is difficult to the presence for perceiving virus in correlation technique, causes user to ignore interconnectionThe problem of netting safe, allows user intuitively to experience the presence of virus, and improve Consumer's Experience.
Fig. 6 is a kind of block diagram of virus scan device according to an exemplary embodiment, as shown in fig. 6, the deviceIncluding:Instruction acquisition module 201, scan module 202, the viral control module 204 of display module 203 and first.
Instruction acquisition module 201, is configured as obtaining scan instruction.
Scan module 202, is configured to respond to scan instruction, proceeds by virus scan.
Viral display module 203, is configured as in the presence of discovery virus, N number of viral pattern is shown on display interface,Wherein N is the natural number more than 0.
First control module 204, is configured as controlling N number of viral pattern on display interface according to preset rules to change.
Fig. 7 is the block diagram of another virus scan device according to an exemplary embodiment, as shown in fig. 7, the dressPutting also includes:The control module 206 of Gravity observation module 205 and second.
Gravity observation module 205, when being configured as monitoring that the gravity direction of mobile terminal changes, obtains movementThe first current gravity direction of terminal.
Second control module 206, is configured as controlling N number of viral pattern to move to the first gravity direction on display interfaceIt is dynamic.
Fig. 8 is the block diagram of another virus scan device according to an exemplary embodiment, as shown in figure 8, the dressPutting also includes:Rock monitoring modular 207, the control module 209 of measurement module 208 and the 3rd.
Monitoring modular 207 is rocked, is configured as whether monitoring mobile terminal rocks.
Measurement module 208, when being configured as monitoring that mobile terminal rocks, determines first of mobile terminal currentlySway frequency, and currently displaying viral pattern on display interface quantity M, wherein M≤N.
3rd control module 209, when being configured as the first sway frequency less than or equal to first frequency threshold value, according to defaultScaling the size of M viral pattern is adjusted;When the first sway frequency be more than first frequency threshold value and less than etc.When second frequency threshold value, the broken animation of at least one viral pattern is shown on display interface, wherein at least one is less thanM.After the broken animation of at least one viral pattern is shown, the step performed by measurement module is performed again.Shake when firstWhen shaking frequency more than second frequency threshold value, the broken animation of M viral pattern is shown on display interface.When display interface is taken inWhen the quantity of the viral pattern of preceding display is zero, shown on display interface for pointing out the virus prompt message that cleaning is completed.
Fig. 9 is the block diagram of another virus scan device according to an exemplary embodiment, as shown in figure 9, the dressPutting also includes:Reminding module 210.
Reminding module 210, is configured as showing the broken animation of at least one viral pattern, or M virus figure of displayDuring the animation that case is crushed, mobile terminal is arrived in output jingle bell or vibrations.
Optionally, the first control module 204 is configured as at least one below execution:
The size of N number of viral pattern is controlled to change at random in the range of default pattern dimension.
Control N number of viral pattern random movement on display interface.
Figure 10 is the block diagram of another virus scan device according to an exemplary embodiment, as shown in Figure 10, shouldDevice also includes:4th control module 211.
4th control module 211, is configured as in the presence of discovery virus, the background colour of display interface is set to specifyColor.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this methodEmbodiment in be described in detail, explanation will be not set forth in detail herein.
In summary, a kind of virus scan device that the present embodiment is provided, by when user issues scan instruction, onceIt was found that virus is present, multiple viral patterns are shown on display interface, so that in the result and display interface of scan instructionViral pattern is connected, and can solve the problem that user is difficult to the presence for perceiving virus in correlation technique, causes user to ignore interconnectionThe problem of netting safe, allows user intuitively to experience the presence of virus, and improve Consumer's Experience.
Figure 11 is a kind of block diagram of virus scan device 1100 according to an exemplary embodiment.For example, device1100 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatmentEquipment, body-building equipment, personal digital assistant etc..
Reference picture 11, device 1100 can include following one or more assemblies:Processing assembly 1102, memory 1104,Electric power assembly 1106, multimedia groupware 1108, audio-frequency assembly 1110, the interface 1112 of input/output (I/O), sensor cluster1114, and communication component 1116.
The integrated operation of the usual control device 1100 of processing assembly 1102, such as with display, call, data communication,The camera operation operation associated with record operation.Processing assembly 1102 can include one or more processors 1120 to performInstruction, to complete all or part of step of any described virus scan method in Fig. 1-Fig. 5.In addition, processing assembly 1102One or more modules can be included, be easy to the interaction between processing assembly 1102 and other assemblies.For example, processing assembly 1102Multi-media module can be included, to facilitate the interaction between multimedia groupware 1108 and processing assembly 1102.
Memory 1104 is configured as storing various types of data supporting the operation in device 1100.These dataExample includes the instruction of any application program or method for being used to operate on device 1100, contact data, telephone book data,Message, picture, video etc..Memory 1104 can by any kind of volatibility or non-volatile memory device or theyCombination realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable canProgram read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memoryReservoir, disk or CD.
Electric power assembly 1106 provides electric power for the various assemblies of device 1100.Electric power assembly 1106 can include power managementSystem, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1100.
Multimedia groupware 1108 is included in the screen of one output interface of offer between described device 1100 and user.In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passedSensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamicThe border of work, but also the detection duration related to the touch or slide and pressure.In certain embodiments, it is manyMedia component 1108 includes a front camera and/or rear camera.When device 1100 is in operator scheme, mould is such as shotWhen formula or video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each preposition shootingHead and rear camera can be a fixed optical lens systems or with focusing and optical zoom capabilities.
Audio-frequency assembly 1110 is configured as output and/or input audio signal.For example, audio-frequency assembly 1110 includes a wheatGram wind (MIC), when device 1100 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone quiltIt is configured to receive external audio signal.The audio signal received can be further stored in memory 1104 or via communicationComponent 1116 is sent.In certain embodiments, audio-frequency assembly 1110 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1112 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1102 and peripheral interface moduleCan be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button andLocking press button.
Sensor cluster 1114 includes one or more sensors, and the state for providing various aspects for device 1100 is commentedEstimate.For example, sensor cluster 1114 can detect opening/closed mode of device 1100, the relative positioning of component, such as instituteDisplay and keypad that component is device 1100 are stated, sensor cluster 1114 can be with detection means 1100 or device 1,100 1The position of individual component changes, the existence or non-existence that user contacts with device 1100, the orientation of device 1100 or acceleration/deceleration and dressPut 1100 temperature change.Sensor cluster 1114 can include proximity transducer, be configured in not any physicsThe presence of object nearby is detected during contact.Sensor cluster 1114 can also include optical sensor, such as CMOS or ccd image sensingDevice, for being used in imaging applications.In certain embodiments, the sensor cluster 1114 can also include acceleration sensingDevice, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.DressThe wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1100.It is exemplary at oneIn embodiment, communication component 1116 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channelInformation.In one exemplary embodiment, the communication component 1116 also includes near-field communication (NFC) module, to promote short distanceCommunication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuits (ASIC), numeralSignal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, the virus scan method above-mentioned for performing.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally providedSuch as include the memory 1104 of instruction, above-mentioned instruction can be performed by the processor 1120 of device 1100 and swept to complete above-mentioned virusRetouch method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
The preferred embodiment of the disclosure is described in detail above in association with accompanying drawing, still, the disclosure is not limited to above-mentioned realityThe detail in mode is applied, in the range of the technology design of the disclosure, those skilled in the art are considering specification and practiceAfter the disclosure, other embodiments of the disclosure are readily apparent that, the protection domain of the disclosure is belonged to.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lanceIn the case of shield, it can be combined by any suitable means.Simultaneously between a variety of embodiments of the disclosureIt can also be combined, as long as it is without prejudice to the thought of the disclosure, it should equally be considered as disclosure disclosure of that.The disclosure is not limited to the precision architecture being described above out, and the scope of the present disclosure is only limited by appended claimSystem.

Claims (13)

Translated fromChinese
1.一种病毒扫描方法,其特征在于,所述方法包括:1. a virus scanning method, is characterized in that, described method comprises:获取扫描指令;Obtain scanning instructions;响应于所述扫描指令,进行病毒扫描;performing virus scanning in response to the scanning instruction;当发现病毒存在时,在显示界面上显示N个病毒图案;其中N为大于0的自然数;When the presence of the virus is found, N virus patterns are displayed on the display interface; wherein N is a natural number greater than 0;控制所述N个病毒图案在所述显示界面上按照预设规则变化。Controlling the N virus patterns to change on the display interface according to preset rules.2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises:当监测到移动终端的重力方向发生变化时,获取所述移动终端当前的第一重力方向;When it is detected that the direction of gravity of the mobile terminal changes, acquiring the current first direction of gravity of the mobile terminal;控制所述N个病毒图案在所述显示界面上向所述第一重力方向移动。Controlling the N virus patterns to move toward the first gravitational direction on the display interface.3.根据权利要求1或2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1 or 2, characterized in that the method further comprises:监测移动终端是否发生摇晃;Monitor whether the mobile terminal shakes;当监测到所述移动终端发生摇晃时,确定所述移动终端当前的第一摇晃频率,以及在所述显示界面上当前显示的所述病毒图案的数量M;其中M≤N;When it is detected 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 broken virus pattern is displayed on the display interface, wherein the at least one is less than M; After at least one broken animation of the virus pattern, perform the step of monitoring whether the mobile terminal shakes again;当所述第一摇晃频率大于所述第二频率阈值时,在所述显示界面上显示M个所述病毒图案破碎的动画;When the first shaking frequency is greater than the second frequency threshold, M animations of the broken virus pattern are displayed on the display interface;当所述显示界面上当前显示的所述病毒图案的数量为零时,在所述显示界面上显示用于提示病毒清理完成的提示信息。When the number of the virus patterns currently displayed on the display interface is zero, a prompt message for prompting the completion of virus cleaning is displayed on the display interface.4.根据权利要求3所述的方法,其特征在于,所述方法还包括:4. method according to claim 3, is characterized in that, described method also comprises:在显示至少一个所述病毒图案破碎的动画,或显示M个所述病毒图案破碎的动画时,输出提醒指令,所述提醒指令用于指示所述移动终端响铃或者震动。When displaying at least one animation of the broken virus pattern, or displaying M animations of broken virus patterns, a reminder instruction is output, and the reminder instruction is used to instruct the mobile terminal to ring or vibrate.5.根据权利要求1所述的方法,其特征在于,所述控制所述N个病毒图案在所述显示界面上按照预设规则变化,包括以下至少一者:5. The method according to claim 1, wherein said controlling said N virus patterns to change according to preset rules on said display interface comprises at least one of the following:控制所述N个病毒图案的大小在预设的图案尺寸范围内随机变化;Controlling the sizes of the N virus patterns to vary randomly within a preset pattern size range;控制所述N个病毒图案在所述显示界面上随机移动。Controlling the N virus patterns to move randomly on the display interface.6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method according to claim 1, further comprising:当发现病毒存在时,将所述显示界面的背景色设置为指定颜色。When a virus is found, the background color of the display interface is set to a specified color.7.一种病毒扫描装置,其特征在于,所述装置包括:指令获取模块、扫描模块、病毒显示模块和第一控制模块;7. A virus scanning device, characterized in that the device comprises: an instruction acquisition module, a scanning module, a virus display module and a first control module;所述指令获取模块,被配置为获取扫描指令;The instruction obtaining module is configured to obtain 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 a virus is found; 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 preset rules.8.根据权利要求7所述的装置,其特征在于,所述装置还包括:重力监测模块和第二控制模块;8. The device according to claim 7, further comprising: 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 it is detected 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.9.根据权利要求7或8所述的装置,其特征在于,所述装置还包括:摇晃监测模块、测量模块和第三控制模块;9. The device according to claim 7 or 8, characterized in that the device further comprises: a shaking monitoring module, a measuring module and a third control module;所述摇晃监测模块,被配置为监测移动终端是否发生摇晃;The shake monitoring module is configured to monitor whether the mobile terminal shakes;所述测量模块,被配置为当监测到所述移动终端发生摇晃时,确定所述移动终端当前的第一摇晃频率,以及在所述显示界面上当前显示的所述病毒图案的数量M;其中M≤N;The measurement 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 detected; wherein M≤N;所述第三控制模块,被配置为当所述第一摇晃频率小于等于第一频率阈值时,按照预设的缩放比例将M个所述病毒图案的大小进行调整;当所述第一摇晃频率大于所述第一频率阈值且小于等于第二频率阈值时,在所述显示界面上显示至少一个所述病毒图案破碎的动画,其中所述至少一个小于M;在显示至少一个所述病毒图案破碎的动画之后,再次执行所述测量模块所执行的步骤;当所述第一摇晃频率大于所述第二频率阈值时,在所述显示界面上显示M个所述病毒图案破碎的动画;当所述显示界面上当前显示的所述病毒图案的数量为零时,在所述显示界面上显示用于提示病毒清理完成的提示信息。The third control module is configured to adjust the size of 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 the first shaking frequency When greater than the first frequency threshold and less than or equal to the second frequency threshold, at least one broken animation of the virus pattern is displayed on the display interface, wherein the at least one is less than M; when at least one broken virus pattern is displayed 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 broken virus pattern on the display interface; When the number of the virus patterns currently displayed on the display interface is zero, a prompt message for prompting the completion of virus cleaning is displayed on the display interface.10.根据权利要求9所述的装置,其特征在于,所述装置还包括:提示模块;10. The device according to claim 9, further comprising: a prompt module;所述提示模块,被配置为在显示至少一个所述病毒图案破碎的动画,或显示M个所述病毒图案破碎的动画时,输出提醒指令,所述提醒指令用于指示所述移动终端响铃或者震动。The prompt module is configured to output a reminder instruction when displaying at least one broken animation of the virus pattern, or display M pieces of the broken virus pattern animation, and the reminder instruction is used to instruct the mobile terminal to ring the bell Or shake.11.根据权利要求7所述的装置,其特征在于,所述第一控制模块被配置为执行以下至少一者:11. The apparatus of claim 7, wherein the first control module is configured to perform at least one of the following:控制所述N个病毒图案的大小在预设的图案尺寸范围内随机变化;Controlling the sizes of the N virus patterns to vary randomly within a preset pattern size range;控制所述N个病毒图案在所述显示界面上随机移动。Controlling the N virus patterns to move randomly on the display interface.12.根据权利要求7所述的装置,其特征在于,所述装置还包括:第四控制模块;12. The device according to claim 7, further comprising: a fourth control module;所述第四控制模块,被配置为当发现病毒存在时,将所述显示界面的背景色设置为指定颜色。The fourth control module is configured to set the background color of the display interface to a specified color when a virus is found.13.一种病毒扫描装置,其特征在于,所述装置包括:13. A virus scanning device, characterized in that the device comprises:处理器;processor;用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;其中,所述处理器被配置为:Wherein, the processor is configured as:获取扫描指令;Obtain scanning instructions;响应于所述扫描指令,进行病毒扫描;performing virus scanning in response to the scanning instruction;当发现病毒存在时,在显示界面上显示N个病毒图案;其中N为大于0的自然数;When the presence of the virus is found, N virus patterns are displayed on the display interface; wherein N is a natural number greater than 0;控制所述N个病毒图案在所述显示界面上按照预设规则变化。Controlling the N virus patterns to change on the display interface according to preset rules.
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
CN106940774Atrue CN106940774A (en)2017-07-11
CN106940774B 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
CN106940774B (en)2020-03-17

Similar Documents

PublicationPublication DateTitle
CN108021302B (en) A method for displaying an application icon, a terminal, and a computer-readable storage medium
EP3099040B1 (en)Button operation processing method in single-hand mode, apparatus and electronic device
CN107896279A (en)Screenshotss processing method, device and the mobile terminal of a kind of mobile terminal
EP3557384A1 (en)Device and method for providing dynamic haptic playback for an augmented or virtual reality environments
CN106951170A (en)A kind of split screen treating method and apparatus of mobile terminal, mobile terminal
CN105912163A (en)Entity key assembly, terminal, and touch control response method and apparatus
WO2014019118A1 (en)Method and device for unlocking terminal
CN108920069B (en)Touch operation method and device, mobile terminal and storage medium
EP3065009A1 (en)Methods and apparatuses for switching state
JP2017510915A (en) Method and apparatus for switching display modes
CN106681592B (en) Display switching method and device based on electronic equipment, and electronic equipment
CN112423087A (en)Video interaction information display method and terminal equipment
CN103970818A (en)Method and electronic device for providing guide
CN111127595A (en)Image processing method and electronic device
CN108038726A (en)Article display method and device
EP3128419A1 (en)Method and apparatus for uninstalling an application
CN108196781B (en)Interface display method and mobile terminal
CN111158562A (en) A kind of anti-missing method and electronic device
CN104461283A (en)Network view screen shooting method and device and electronic device
CN106303043A (en)Method for sending information and device
CN108491177A (en)Space appraisal procedure and device
CN106527697A (en)Safety verification method and device in virtual reality
CN113253969B (en) A volume adjustment method, device and computer readable storage medium
CN107979701B (en) Method and device for controlling terminal display
CN103984476B (en)menu display method and device

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