CN105701404B - Virus method, device and the mobile terminal of mobile terminal - Google Patents

Virus method, device and the mobile terminal of mobile terminal Download PDF

Info

Publication number
CN105701404B
CN105701404B CN201610009598.XA CN201610009598A CN105701404B CN 105701404 B CN105701404 B CN 105701404B CN 201610009598 A CN201610009598 A CN 201610009598A CN 105701404 B CN105701404 B CN 105701404B
Authority
CN
China
Prior art keywords
mobile terminal
full dose
upgrade package
virus
dose upgrade
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.)
Expired - Fee Related
Application number
CN201610009598.XA
Other languages
Chinese (zh)
Other versions
CN105701404A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610009598.XA priority Critical patent/CN105701404B/en
Publication of CN105701404A publication Critical patent/CN105701404A/en
Application granted granted Critical
Publication of CN105701404B publication Critical patent/CN105701404B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements
    • G06F21/568Computer malware detection or handling, e.g. anti-virus arrangements eliminating virus, restoring damaged files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Virology (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention proposes a kind of virus method of mobile terminal, device and mobile terminal, wherein, method includes:It detects and whether there is virus document in mobile terminal system subregion;If detected in system partitioning there are virus document, full dose upgrade package is obtained, wherein, full dose upgrade package includes erasing mark;Control mobile terminal enters Recovery patterns, and the caching and user partition of mobile terminal are formatted according to erasing mark;And after the formatting, mobile terminal is controlled to carry out full dose upgrading according to full dose upgrade package.This method avoid mobile terminal because leading to not to use during virus infection or dysfunction, user experience is improved.

Description

Virus method, device and the mobile terminal of mobile terminal
Technical field
The present invention relates to mobile data safety technical field more particularly to a kind of virus method of mobile terminal, device and Mobile terminal.
Background technology
At present, mobile terminal (such as mobile phone) is people's common communication equipment in life, and mobile terminal is the life of user Work brings great convenience.But user may make its virus infection during mobile terminal is used, for example, user exists When browsing some webpage, the library file that malicious virus file resides in mobile terminal may be caused medium, so as to cause shifting During dynamic starting up of terminal, malicious virus is prevailing and causes cannot be started up or dysfunction, is the life band of user It is inconvenient to come.
The content of the invention
One of the technical issues of purpose of the present invention is intended to state at least to a certain extent.
For this purpose, first purpose of the present invention is to propose a kind of virus method of mobile terminal, this method avoid shiftings Dynamic terminal leads to not use due to virus infection or dysfunction, improves user experience.
Second object of the present invention is to propose a kind of virus killing device of mobile terminal.
Third object of the present invention is to propose a kind of mobile terminal.
Fourth object of the present invention is to propose another mobile terminal.
In order to achieve the above object, the virus method of the mobile terminal of first aspect present invention embodiment, including:Detection is mobile eventually It whether there is virus document in end system subregion;If detected in the system partitioning there are virus document, full dose is obtained Upgrade package, wherein, the full dose upgrade package includes erasing mark;The mobile terminal is controlled to enter Recovery patterns, and The caching and user partition of the mobile terminal are formatted according to the erasing mark;And after the formatting, control It makes the mobile terminal and full dose upgrading is carried out according to the full dose upgrade package.
There is disease in mobile terminal system subregion when detecting in the virus method of mobile terminal according to embodiments of the present invention During malicious file, obtain full dose upgrade package and mobile terminal is controlled to enter Recovery patterns, according to the erasing in full dose upgrade package Mark is formatted the caching and user partition of mobile terminal, and mobile terminal is controlled to be risen according to full dose upgrade package Grade, it is achieved thereby that the virus document in emptying mobile terminal in mobile terminal virus infection, and by mobile terminal into Row complete upgrading avoids mobile terminal and due to virus infection leads to not use or dysfunction, promoted User experience.
In addition, in one embodiment of the invention, the acquisition full dose upgrade package includes:Judging the mobile terminal is It is no to be in open state;If the mobile terminal is in open state, downloads the full dose upgrade package and store to default Position, wherein, the mobile terminal is after restarting into the Recovery patterns and from described in predeterminated position reading Full dose upgrade package.
In one embodiment of the invention, the virus method of the mobile terminal further includes:If the mobile terminal Open state is not in, then the prompting page is provided, and the full dose upgrade package is downloaded simultaneously by the prompting page prompts user It stores to the predeterminated position.
In one embodiment of the invention, after the progress full dose upgrading according to the full dose upgrade package, also wrap It includes:Restart the mobile terminal.
In one embodiment of the invention, when there is following any file, judge there is virus in system partitioning File:The file there are daemonuis, uis, nis or with prefix .xxx under system/bin catalogues;In system/xbin There is the file with prefix .xxx under catalogue;Or exist under system/priv-app or system/app catalogues Cameraupdate.apk or thememanags.apk files.
In order to achieve the above object, the virus killing device of the mobile terminal of second aspect of the present invention embodiment, including:Detection module, It whether there is virus document in mobile terminal system subregion for detecting;Acquisition module, for detecting the system partitioning In there are during virus document, obtain full dose upgrade package, wherein, the full dose upgrade package includes erasing and marks;Control module is used Enter Recovery patterns in the control mobile terminal, and according to the erasing mark to the caching and use of the mobile terminal Family subregion is formatted;And upgraded module, for after the formatting, controlling the mobile terminal according to the full dose liter Grade bag carries out full dose upgrading.
There is disease in mobile terminal system subregion when detecting in the virus killing device of mobile terminal according to embodiments of the present invention During malicious file, obtain full dose upgrade package and mobile terminal is controlled to enter Recovery patterns, according to the erasing in full dose upgrade package Mark is formatted the caching and user partition of mobile terminal, and mobile terminal is controlled to be risen according to full dose upgrade package Grade, it is achieved thereby that the virus document in emptying mobile terminal in mobile terminal virus infection, and by mobile terminal into Row complete upgrading avoids mobile terminal and due to virus infection leads to not use or dysfunction, promoted User experience.
In addition, in one embodiment of the invention, the acquisition module specifically includes:Judging unit, for judging Mobile terminal is stated whether in open state;Download unit, for when judging that the mobile terminal is in open state, downloading The full dose upgrade package is simultaneously stored to predeterminated position, wherein, the mobile terminal enters the Recovery moulds after restarting Formula simultaneously reads the full dose upgrade package from the predeterminated position.
In one embodiment of the invention, the virus killing device of the mobile terminal, further includes:Reminding module, for When the mobile terminal is not in open state, the prompting page is provided, and by described in the prompting page prompts user download Full dose upgrade package is simultaneously stored to the predeterminated position.
In the implementation of the present invention, the virus killing device of the mobile terminal further includes:Module is restarted, in institute After upgraded module is stated according to full dose upgrade package progress full dose upgrading, the mobile terminal is restarted.
In one embodiment of the invention, when there is following any file, the detection module judges system point There are virus documents in area:The file there are daemonuis, uis, nis or with prefix .xxx under system/bin catalogues; There is the file with prefix .xxx under system/xbin catalogues;Or under system/priv-app or system/app catalogues There are cameraupdate.apk or thememanags.apk files.
In order to achieve the above object, the mobile terminal of third aspect present invention embodiment, including:Second aspect of the present invention embodiment The virus killing device of the mobile terminal.
There is disease in mobile terminal system subregion when detecting in the virus killing device of mobile terminal according to embodiments of the present invention During malicious file, obtain full dose upgrade package and mobile terminal is controlled to enter Recovery patterns, according to the erasing in full dose upgrade package Mark is formatted the caching and user partition of mobile terminal, and mobile terminal is controlled to be risen according to full dose upgrade package Grade, it is achieved thereby that the virus document in emptying mobile terminal in mobile terminal virus infection, and by mobile terminal into Row complete upgrading avoids mobile terminal and due to virus infection leads to not use or dysfunction, promoted User experience.
In order to achieve the above object, the mobile terminal of fourth aspect present invention embodiment, including processor, memory, circuit board And power circuit, wherein, the circuit board is placed in the interior volume that the housing surrounds, the processor and the memory It is arranged on the circuit board;The power circuit, for powering for each circuit or device of the mobile terminal;It is described to deposit Reservoir is used to store executable program code;The processor is by reading the executable program code stored in the memory Program corresponding with the executable program code is run, for performing following steps:Detect the mobile terminal system It whether there is virus document in subregion;If detected in the system partitioning there are virus document, full dose upgrade package is obtained, Wherein, the full dose upgrade package includes erasing mark;The mobile terminal is controlled to enter Recovery patterns, and according to described Erasing mark is formatted the caching and user partition of the mobile terminal;And after the formatting, the shifting is controlled Dynamic terminal carries out full dose upgrading according to the full dose upgrade package.
Mobile terminal according to embodiments of the present invention, when detecting in mobile terminal system subregion there are during virus document, It obtains full dose upgrade package and mobile terminal is controlled to enter Recovery patterns, the erasing in full dose upgrade package is marked to movement The caching and user partition of terminal are formatted, and mobile terminal is controlled to be upgraded according to full dose upgrade package, so as to fulfill Virus document in mobile terminal virus infection emptying mobile terminal, and by carrying out complete upgrading to mobile terminal, It avoids mobile terminal due to virus infection to lead to not use or dysfunction, improves user experience.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description It obtains substantially or is recognized by the practice of the present invention.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of the virus method of mobile terminal according to an embodiment of the invention;
Fig. 2 is the structure diagram of the virus killing device of mobile terminal according to an embodiment of the invention;
Fig. 3 is the structure diagram of the virus killing device of the mobile terminal of a specific embodiment according to the present invention;
Fig. 4 is the structure diagram of the virus killing device of the mobile terminal of another specific embodiment according to the present invention;And
Fig. 5 is the structure diagram of the virus killing device of the mobile terminal of another specific embodiment according to the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or has the function of same or like element.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the virus method, device and mobile terminal of the mobile terminal of the embodiment of the present invention are described.It needs Illustrate, in an embodiment of the present invention, mobile terminal can be mobile phone, tablet computer, personal digital assistant, wearable set Standby to wait the hardware device with various operating systems, which can be Intelligent bracelet, smartwatch, intelligent glasses Deng.
Fig. 1 is according to the flow chart of the virus method of the mobile terminal of one embodiment of the invention, as shown in Figure 1, the shifting The virus method of dynamic terminal includes:
S110 is detected and be whether there is virus document in mobile terminal system subregion.
Specifically, in one embodiment of the invention, under the open state of mobile terminal, by one it is relevant into Journey come carry out virus detection, pass through carry system partitioning, that is, system subregions, the system/bin and system/ of detecting system Whether have with daemonuis, uis, nis and band with the presence or absence of virus document, such as detection system/bin under xbin catalogues The file of prefix .xxx (xxx represents filename) detects and whether there is band prefix .xxx (xxx representatives under system/xbin catalogues Filename) as whether there is under the file of ext.base and detection system/priv-app or system/app catalogues File of cameraupdate.apk, thememanags.apk etc..
In another embodiment of the present invention, when mobile terminal in case cannot be started up and under Recovery patterns When, the detection mode for carrying out the detection of virus is consistent under open state.
It is appreciated that the filename under each catalogue that mobile terminal passes through detecting system subregion is come in detecting system subregion With the presence or absence of virus document.
S120 if detected in system partitioning there are virus document, obtains full dose upgrade package, wherein, full dose upgrading Bag includes erasing mark.
Specifically, in one embodiment of the invention, it is literary when there is virus in the system partitioning for detect mobile terminal During part, whether mobile terminal is judged in open state, if mobile terminal is in open state, movement is detected and downloaded automatically Full dose upgrade package is simultaneously stored to the predeterminated position of mobile terminal, which is the position of system default.
In another embodiment of the present invention, if it is determined that mobile terminal is in off-mode, mobile terminal can enter Reforestation practices then provide the prompting page, to be used by the prompting page prompts in the status bar of mobile terminal in recovery mode The full dose upgrade package is downloaded at family, for example prompting user no longer holds an official post load full dose upgrade package off the net, and by the full dose upgrade package store to Predeterminated position.
It should be noted that above-mentioned full dose upgrade package is the entire upgrade package of system, current latest edition is complete in this way Upgrade package is measured, full dose upgrade package is relatively large, and unlike delta package, operation full dose upgrade package may be such that in mobile terminal The cleaning that system partitioning is formatted, so as to empty the virus resided in system partitioning, i.e. full dose upgrade package is to being The thorough upgrading of system image file can be updated present in each subregion to mobile terminal, can realize to virus Empty.
S130, control mobile terminal enter Recovery patterns, and according to erasing mark to the caching and use of mobile terminal Family subregion is formatted.
It is appreciated that due to only needing to load recovery.img image files into Recovery patterns, without operation System partitioning and application program of virus etc. is resident, therefore carries out the upgrading of system to mobile terminal under Recovery patterns.
Specifically, Recovery patterns are entered after mobile terminal is restarted and click on the full dose upgrade package downloaded and completed and are carried out Installation when detecting the mark of the erasing in full dose upgrade package, is formatted caching and user partition, with to mobile terminal Factory reset.
Wherein, for above-mentioned mobile terminal into that can enter Recovery patterns by brush machine or ROOT instruments etc., i.e. movement is whole After end with above-mentioned instrument by being connected, according to the operating procedure of the instrument, so that mobile terminal enters Recovery patterns, example Such as after brush machine instrument A and mobile terminal take successful connection, by clicking on the menu " restarting Recovery patterns " of the A, move Dynamic terminal can restart and enter Recovery patterns automatically.Alternatively, can directly it be made by operating the button on mobile terminal Mobile terminal enters Recovery patterns, for example, by pin simultaneously Android mobile phone B under off-mode power key and HOME keys are with regard to that can make the mobile terminal to there are Recovery interfaces, it should be understood that mobile terminal enters Recovery patterns Mode includes but not limited to both the above.
S140, after the formatting, control mobile terminal carry out full dose upgrading according to full dose upgrade package.
Specifically, after the completion of being formatted to caching and user partition, full dose liter is carried out to other subregions there are mirror image Grade formats subregion and the corresponding subregion image file of full dose upgrade package is positioned in corresponding subregion, to complete to move Dynamic terminal carries out full dose upgrading according to full dose upgrade package.
S150 restarts mobile terminal.
Specifically, after mobile terminal carries out full dose upgrading according to full dose upgrade package, mobile terminal is restarted to complete to move The update of dynamic terminal-pair full dose upgrade package, so as to which mobile terminal can normal use.Wherein it is possible to understand, in order to enable user is more Add the upgrading progress for being apparent from mobile terminal, user can be carried in a manner of progress bar on the screen of the mobile terminal Show the installation speed of full dose upgrade package, also, under open state, after mobile terminal completes full dose upgrading, can be moved from trend The terminal instruction restarted of transmission is to control mobile terminal to be restarted.
It is appreciated that after mobile terminal completion is restarted, realize and upgraded according to the full dose of full dose upgrade package, at this time mobile terminal In be resident the system partitioning of virus and be formatted and the image file of all subregions is equivalent to and re-downloads, avoid mobile terminal sense Catch an illness poison when can not use or the occurrence of dysfunction.
There is virus text when detecting in mobile terminal system subregion in the virus method of the mobile terminal of the embodiment of the present invention During part, obtain full dose upgrade package and mobile terminal is controlled to enter Recovery patterns, the erasing mark in full dose upgrade package The caching and user partition of mobile terminal are formatted, and mobile terminal is controlled to be upgraded according to full dose upgrade package, from And realize cleaning mobile terminal in virus purpose, avoid mobile terminal lead to not use due to virus infection or Dysfunction and so on, improve user experience.
In order to realize above-described embodiment, the present invention also proposes a kind of virus killing device of mobile terminal, and Fig. 2 is according to the present invention The structure diagram of the virus killing device of the mobile terminal of one embodiment, as shown in Fig. 2, the virus killing device bag of the mobile terminal It includes:Detection module 210, acquisition module 220, control module 230 and upgraded module 240.
Wherein, detection module 210 whether there is virus document for detecting in mobile terminal system subregion.
Specifically, in one embodiment of the invention, under the open state of mobile terminal, detection module 210 can lead to A relevant process is crossed to carry out the detection of virus, by carry system partitioning, that is, system subregions, detecting system Whether carried with the presence or absence of virus document, such as detection system/bin under system/bin and system/xbin catalogues Daemonuis, uis, nis and the file with prefix .xxx (xxx represents filename), detect system/xbin catalogues under whether In the presence of with prefix .xxx (xxx represents filename) such as ext.base file and detection system/priv-app or It whether there is cameraupdate.apk, the file of thememanags.apk etc. under system/app catalogues.
In another embodiment of the present invention, when mobile terminal in case cannot be started up and under Recovery patterns When, the detection mode that detection module 210 carries out the detection of virus is consistent under open state.
Acquisition module 220, for, there are during virus document, obtaining full dose upgrade package in detecting system partitioning, wherein, Full dose upgrade package includes erasing mark.
Specifically, as shown in figure 3, acquisition module 220 includes judging unit 221 and download unit 222.Wherein, list is judged Member 221 is used to detect that there are during virus document, judge that mobile terminal is in the system partitioning of mobile terminal when detection module 210 No to be in open state, if it is determined that mobile terminal is in open state, then download unit 222 moves detects and downloads entirely automatically Amount upgrade package is simultaneously stored to the predeterminated position of mobile terminal, which is the position of system default.
In another embodiment of the present invention, if it is determined that unit 221 judges that mobile terminal is in off-mode, then to User is prompted, Fig. 4 be according to the structure diagram of the virus killing device of the mobile terminal of another of the invention specific embodiment, As shown in figure 4, on the basis of as shown in Figure 2, the virus killing device of mobile terminal further includes:Reminding module 250 is recovering mould Status bar under formula in mobile terminal provides the prompting page, to download the full dose upgrade package by prompting page prompts user, For example prompting user no longer holds an official post load full dose upgrade package off the net, and the full dose upgrade package is stored to predeterminated position.
Control module 230 is marked according to erasing to mobile terminal for mobile terminal to be controlled to enter Recovery patterns Caching and user partition be formatted.
It is appreciated that due to only needing to load recovery.img image files into Recovery patterns, without operation System partitioning and application program of virus etc. is resident, therefore carries out the upgrading of system to mobile terminal under Recovery patterns.
Specifically, control module 230 controls mobile terminal to enter Recovery patterns after restarting and clicks on download and completes Full dose upgrade package installed, when detect the erasing in full dose upgrade package mark when, to caching and user partition carry out lattice Formula, with to mobile terminal factory reset.
Wherein, above-mentioned control module 230 can control mobile terminal to enter Recovery by brush machine or ROOT instruments etc. After pattern, i.e. mobile terminal with above-mentioned instrument by being connected, according to the operating procedure of the instrument, so that mobile terminal enters Recovery patterns, such as after brush machine instrument A takes successful connection with mobile terminal, " restarted by the menu for clicking on the A Recovery patterns ", mobile terminal can restart and enter Recovery patterns automatically.It alternatively, can be mobile whole by operating Button on end directly causes mobile terminal to enter Recovery patterns, for example, by pinning the Android under off-mode simultaneously The power key and HOME keys of mobile phone B are with regard to that can make the mobile terminal to there are Recovery interfaces, it should be understood that control module 230 The mode that control mobile terminal enters Recovery patterns includes but not limited to both the above.
Upgraded module 240 is for after the formatting, control mobile terminal to carry out full dose upgrading according to full dose upgrade package.
Specifically, after the completion of being formatted to caching and user partition, there are the subregions of mirror image to other for upgraded module 240 Full dose upgrading is carried out, that is, format subregion and the corresponding subregion image file of full dose upgrade package is positioned over corresponding subregion It is interior, full dose upgrading is carried out according to full dose upgrade package to complete mobile terminal.
Further, Fig. 5 is that the structure of the virus killing device of the mobile terminal of another specific embodiment according to the present invention is shown It is intended to.As shown in figure 5, on the basis of as shown in Figure 4, which further includes:Restart module 260.
Restart module 260, after carrying out full dose upgrading according to full dose upgrade package in upgraded module, restart mobile whole End.
Specifically, after upgraded module 240 carries out full dose upgrading according to full dose upgrade package, restart module 260 and restart shifting Dynamic terminal is to complete update of the mobile terminal to full dose upgrade package, so as to which mobile terminal can normal use.Wherein it is possible to understand, In order to enable user is more apparent from the upgrading progress of mobile terminal, it can be on the screen of the mobile terminal with the side of progress bar Formula carries out user the installation speed of prompting full dose upgrade package, also, under open state, mobile terminal completes full dose upgrading Afterwards, restarting module 260 can control mobile terminal to be restarted from the instruction that the transmission of trend mobile terminal is restarted.
There is virus text when detecting in mobile terminal system subregion in the virus killing device of the mobile terminal of the embodiment of the present invention During part, obtain full dose upgrade package and mobile terminal is controlled to enter Recovery patterns, the erasing mark in full dose upgrade package The caching and user partition of mobile terminal are formatted, and mobile terminal is controlled to be upgraded according to full dose upgrade package, from And realize cleaning mobile terminal in virus purpose, avoid mobile terminal lead to not use due to virus infection or Dysfunction and so on, improve user experience.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, and the virus killing device including mobile terminal is right The function description of the virus killing device of mobile terminal fills the antivirus of mobile terminal with reference to Fig. 2 to Fig. 5 is combined in the embodiment of the present invention The concrete function description put, details are not described herein.
The mobile terminal of the embodiment of the present invention when detecting in mobile terminal system subregion there are during virus document, obtains Full dose upgrade package simultaneously controls mobile terminal to enter Recovery patterns, and the erasing in full dose upgrade package is marked to mobile terminal Caching and user partition be formatted, and mobile terminal is controlled to be upgraded according to full dose upgrade package, it is achieved thereby that clearly The purpose of the virus in mobile terminal is managed, mobile terminal is avoided and leads to not use due to virus infection or dysfunction etc. The occurrence of, improve user experience.
In order to realize above-described embodiment, the invention also provides a kind of mobile terminal, including:Processor, memory, circuit Plate and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and memory are arranged on circuit board On;Power circuit, for powering for each circuit or device of mobile terminal;Memory is used to store executable program code; Processor runs program corresponding with executable program code by reading the executable program code stored in memory, with For performing following steps:
It detects and whether there is virus document in mobile terminal system subregion.
If detected in system partitioning there are virus document, full dose upgrade package is obtained, wherein, it is wrapped in full dose upgrade package Include erasing mark.
Control mobile terminal enters Recovery patterns, and according to erasing mark to the caching and user partition of mobile terminal It is formatted;And after the formatting, mobile terminal is controlled to carry out full dose upgrading according to full dose upgrade package.
It should be noted that the explanation of the foregoing virus method embodiment to mobile terminal is also applied for the embodiment Mobile terminal, realization principle is similar, and details are not described herein again.
The mobile terminal of the embodiment of the present invention when detecting in mobile terminal system subregion there are during virus document, obtains Full dose upgrade package simultaneously controls mobile terminal to enter Recovery patterns, and the erasing in full dose upgrade package is marked to mobile terminal Caching and user partition be formatted, and mobile terminal is controlled to be upgraded according to full dose upgrade package, it is achieved thereby that clearly The purpose of the virus in mobile terminal is managed, mobile terminal is avoided and leads to not use due to virus infection or dysfunction etc. The occurrence of, improve user experience.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art Any one of row technology or their combination are realized:With for the logic gates to data-signal realization logic function Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the present invention, unless otherwise clearly defined and limited, term " installation ", " connected ", " connection ", etc. terms should It is interpreted broadly, for example, it may be being fixedly connected or being detachably connected or integral;Can be mechanical connection, It can be electrical connection;It can be directly connected, can also be indirectly connected by intermediary, can be the company inside two elements Logical or two elements interaction relationship, unless otherwise restricted clearly.For the ordinary skill in the art, may be used To understand the concrete meaning of above-mentioned term in the present invention as the case may be.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms is not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It is combined in an appropriate manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the different embodiments described in this specification or example and different embodiments or exemplary feature It closes and combines.
Although the embodiment of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, those of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (8)

1. a kind of virus method of mobile terminal, which is characterized in that comprise the following steps:
It detects and whether there is virus document in mobile terminal system subregion;
If detected in the system partitioning there are virus document, full dose upgrade package is obtained, wherein, the full dose upgrade package Include erasing mark, wherein, the acquisition full dose upgrade package includes:
Judge the mobile terminal whether in open state;
If the mobile terminal is in open state, downloads the full dose upgrade package and store to predeterminated position, wherein, institute It states mobile terminal and reads the full dose upgrade package into Recovery patterns and from the predeterminated position after restarting;
If the mobile terminal is not in open state, the prompting page is provided, and passes through the prompting page prompts user It downloads the full dose upgrade package and stores to the predeterminated position;
The mobile terminal is controlled to enter Recovery patterns, and according to the erasing mark to the caching of the mobile terminal and User partition is formatted;And
After the formatting, control the mobile terminal according to the full dose upgrade package in each subregion of the mobile terminal Existing image file carries out full dose upgrading, wherein, when carrying out the full dose upgrading, on the screen of the mobile terminal with The mode of progress bar prompts the installation speed of the full dose upgrade package.
2. the virus method of mobile terminal as described in claim 1, which is characterized in that described according to the full dose upgrade package After carrying out full dose upgrading, further include:
Restart the mobile terminal.
3. the virus method of mobile terminal as described in claim 1, which is characterized in that when there is following any file, Judge that there are virus documents in system partitioning:
The file there are daemonuis, uis, nis or with prefix .xxx under system/bin catalogues;
There is the file with prefix .xxx under system/xbin catalogues;Or
There are cameraupdate.apk or thememanags.apk under system/priv-app or system/app catalogues File.
4. a kind of virus killing device of mobile terminal, which is characterized in that including:
Detection module whether there is virus document for detecting in mobile terminal system subregion;
Acquisition module, for, there are during virus document, obtaining full dose upgrade package in detecting the system partitioning, wherein, institute Stating full dose upgrade package includes erasing mark, wherein, the acquisition module specifically includes:
Judging unit, for judging the mobile terminal whether in open state;
Download unit, for when judging that the mobile terminal is in open state, download the full dose upgrade package and store to Predeterminated position, wherein, the mobile terminal is after restarting into Recovery patterns and from described in predeterminated position reading Full dose upgrade package;
Reminding module, for when the mobile terminal is not in open state, providing the prompting page, and passing through the tips page Face prompting user downloads the full dose upgrade package and stores to the predeterminated position;
Control module, for the mobile terminal to be controlled to enter Recovery patterns, and according to the erasing mark to the shifting The caching and user partition of dynamic terminal are formatted;And
Upgraded module, for after the formatting, controlling the mobile terminal according to the full dose upgrade package to described mobile whole Image file present in each subregion at end carries out full dose upgrading, wherein, when carrying out the full dose upgrading, the upgrading mould Block is additionally operable to prompt the installation speed of the full dose upgrade package in a manner of progress bar on the screen of the mobile terminal.
5. the virus killing device of mobile terminal as claimed in claim 4, which is characterized in that further include:
Restart module, after carrying out full dose upgrading according to the full dose upgrade package in the upgraded module, restart the shifting Dynamic terminal.
6. the virus killing device of mobile terminal as claimed in claim 4, which is characterized in that when there is following any file, The detection module judges that there are virus documents in system partitioning:
The file there are daemonuis, uis, nis or with prefix .xxx under system/bin catalogues;
There is the file with prefix .xxx under system/xbin catalogues;Or
There are cameraupdate.apk or thememanags.apk under system/priv-app or system/app catalogues File.
A kind of 7. mobile terminal, which is characterized in that the antivirus dress including such as claim 4-6 any one of them mobile terminal It puts.
8. a kind of mobile terminal, which is characterized in that including:Processor, memory, circuit board and power circuit, wherein, the electricity Road plate is placed in the interior volume that housing surrounds, and the processor and the memory are arranged on the circuit board;The electricity Source circuit, for powering for each circuit or device of the mobile terminal;The memory is used to store executable program generation Code;The processor is run and the executable program generation by reading the executable program code stored in the memory The corresponding program of code, for performing following steps:
It detects and whether there is virus document in the mobile terminal system subregion;
If detected in the system partitioning there are virus document, full dose upgrade package is obtained, wherein, the full dose upgrade package Include erasing mark, wherein, the acquisition full dose upgrade package includes:
Judge the mobile terminal whether in open state;
If the mobile terminal is in open state, downloads the full dose upgrade package and store to predeterminated position, wherein, institute It states mobile terminal and reads the full dose upgrade package into Recovery patterns and from the predeterminated position after restarting;
If the mobile terminal is not in open state, the prompting page is provided, and passes through the prompting page prompts user It downloads the full dose upgrade package and stores to the predeterminated position;
The mobile terminal is controlled to enter Recovery patterns, and according to the erasing mark to the caching of the mobile terminal and User partition is formatted;And
After the formatting, control the mobile terminal according to the full dose upgrade package in each subregion of the mobile terminal Existing image file carries out full dose upgrading, wherein, when carrying out the full dose upgrading, on the screen of the mobile terminal with The mode of progress bar prompts the installation speed of the full dose upgrade package.
CN201610009598.XA 2016-01-04 2016-01-04 Virus method, device and the mobile terminal of mobile terminal Expired - Fee Related CN105701404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610009598.XA CN105701404B (en) 2016-01-04 2016-01-04 Virus method, device and the mobile terminal of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610009598.XA CN105701404B (en) 2016-01-04 2016-01-04 Virus method, device and the mobile terminal of mobile terminal

Publications (2)

Publication Number Publication Date
CN105701404A CN105701404A (en) 2016-06-22
CN105701404B true CN105701404B (en) 2018-06-05

Family

ID=56226932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610009598.XA Expired - Fee Related CN105701404B (en) 2016-01-04 2016-01-04 Virus method, device and the mobile terminal of mobile terminal

Country Status (1)

Country Link
CN (1) CN105701404B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562452A (en) * 2017-07-26 2018-01-09 捷开通讯(深圳)有限公司 Terminal preset application update method, intelligent terminal and the device with store function
CN109358864A (en) * 2018-12-13 2019-02-19 晶晨半导体(上海)股份有限公司 Method for upgrading system and device
CN110597544A (en) * 2019-08-20 2019-12-20 杭州辰汉智能科技有限公司 Software system upgrading method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855174A (en) * 2011-06-28 2013-01-02 奇智软件(北京)有限公司 Automatic-recovery target program run control method and device in automated testing
CN103632086A (en) * 2013-11-15 2014-03-12 北京奇虎科技有限公司 Method and device for repairing BIOS rogue programs
CN104318160A (en) * 2014-10-29 2015-01-28 北京奇虎科技有限公司 Malware searching and killing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855174A (en) * 2011-06-28 2013-01-02 奇智软件(北京)有限公司 Automatic-recovery target program run control method and device in automated testing
CN103632086A (en) * 2013-11-15 2014-03-12 北京奇虎科技有限公司 Method and device for repairing BIOS rogue programs
CN104318160A (en) * 2014-10-29 2015-01-28 北京奇虎科技有限公司 Malware searching and killing method and device

Also Published As

Publication number Publication date
CN105701404A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
US20200301697A1 (en) Apparatus and method for managing application
CN103902265B (en) One kind applies implementation method and relevant apparatus
CN105701404B (en) Virus method, device and the mobile terminal of mobile terminal
CN105094913B (en) System, base band firmware and system application upgrade method and device
CN108241500A (en) A kind of restorative procedure of hardware component, device, system and storage medium
CN107066473A (en) Web page operation method and the electronic equipment for supporting the web page operation method
CN107239295A (en) The method and software updating apparatus of a kind of software upgrading
CN106713608B (en) Application function state modification method and device and terminal
CN107622200A (en) The safety detecting method and device of application program
WO2015035835A1 (en) Method and apparatus for detecting application program
CN111316230B (en) Method and equipment for generating patch package
CN105095074B (en) Upgrade test method and device for configuration file
CN105354065B (en) A kind of multi-product method for upgrading software and terminal
KR20150079837A (en) System update method, apparatus, and device
CN110865837A (en) Method and terminal for upgrading system
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN108984192A (en) Information processing equipment, computer-readable medium and procedure management method
CN108431767A (en) A kind of method, user terminal and the storage medium of load software program
CN104021039A (en) Calling method for APP and browser
CN105786568B (en) A kind of updated contents display methods, device and intelligent terminal
KR101558301B1 (en) Apparatus and method for changing language in mobile communication terminal
CN104572140B (en) A kind of method, apparatus and system of operating system transplantation
CN106302531A (en) Safety protection method and device and terminal equipment
CN111984248A (en) Page editing method and device, storage medium and electronic device
CN109145598B (en) Virus detection method and device for script file, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523859 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180605