CN105760496B - A kind of processing method of shortcut, processing unit and electronic equipment - Google Patents
A kind of processing method of shortcut, processing unit and electronic equipment Download PDFInfo
- Publication number
- CN105760496B CN105760496B CN201610095049.9A CN201610095049A CN105760496B CN 105760496 B CN105760496 B CN 105760496B CN 201610095049 A CN201610095049 A CN 201610095049A CN 105760496 B CN105760496 B CN 105760496B
- Authority
- CN
- China
- Prior art keywords
- shortcut
- mark
- operation process
- kill
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of processing methods of shortcut, comprising: when detecting the operation process for deleting shortcut, obtains the mark of the shortcut and the mark of the operation process;According to the configuration information pre-established, the mark of the corresponding default process of mark of the shortcut is obtained, the configuration information includes the corresponding relationship of the mark and the mark of default process of shortcut;Judge the operation process identify whether it is identical as the mark of the corresponding default process of mark of the shortcut, if it is not, then preventing shortcut described in the operation process-kill.Correspondingly, the embodiment of the invention also discloses a kind of processing unit of shortcut and electronic equipments.Using the present invention, the behavior for preventing malice from deleting shortcut may be implemented, improve the usage experience of user.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of processing methods of shortcut, device and electronics
Equipment.
Background technique
With the continuous development of software technology, the software as the terminals such as PC are installed is more and more.Wherein, software
Shortcut be user start software, file opening and file opening folder interface, usually presented with form of icons, extend
Entitled " .Ink ".Currently, individual software can maliciously delete the shortcut of similar software, make to improve itself usage amount
The shortcut can not be found by obtaining user, affect the usage experience of user.As it can be seen that malice how to be prevented to delete shortcut
Behavior urgent need to resolve.
Summary of the invention
The embodiment of the invention provides a kind of processing method of shortcut, processing unit and electronic equipment, Ke Yishi
Malice is now prevented to delete the behavior of shortcut.
The embodiment of the invention provides a kind of processing methods of shortcut, comprising:
When detecting the operation process for deleting shortcut, the mark and the operation of the shortcut are obtained
The mark of process;
According to the configuration information pre-established, the mark of the corresponding default process of mark of the shortcut, institute are obtained
State the corresponding relationship that configuration information includes the mark and the mark of default process of shortcut;
Judge the mark phase for identifying whether default process corresponding with the mark of the shortcut of the operation process
Together, if it is not, then preventing shortcut described in the operation process-kill.
Optionally, after the operation process detected for deleting shortcut, further includes:
Obtain the path of the operation process;
Judge whether the path of the operation process is directed toward preset folder content, if so, allow it is described operate into
Journey deletes the shortcut.
It is again optional, after the mark of the mark for obtaining the shortcut and the operation process, further includes:
Judge whether the operation process is desktop process according to the mark of the operation process, if so, described in allowing
Operate shortcut described in process-kill.
Again optional, identifying whether for the judgement operation process is corresponding with the mark of the shortcut default
After the mark of process is identical, further includes:
If it is not, then popping up preset window, content shown by the preset window includes preventing the operation process-kill
The shortcut.
Further, content shown by the preset window further includes confirmation option;
Before shortcut described in the prevention operation process-kill, further includes:
It determines and gets user for the instruction of the confirmation option input.
Again optional, identifying whether for the judgement operation process is corresponding with the mark of the shortcut default
After the mark of process is identical, further includes:
If so, allowing shortcut described in the operation process-kill.
It is again optional, the method also includes:
According to prefixed time interval, presetting message is sent to cloud server, the presetting message is for requesting the cloud
End server issues more new information;
According to the more new information, the configuration information that is pre-established described in update.
It is again optional, the store path for being identified as the shortcut of the shortcut.
Correspondingly, the embodiment of the invention also provides a kind of processing units of shortcut, comprising:
First obtains module, for obtaining the quick side when detecting the operation process for deleting shortcut
The mark of formula and the mark of the operation process;
Second obtains module, for according to the configuration information pre-established, the mark for obtaining the shortcut to be corresponding
The mark of default process, the configuration information include the corresponding relationship of the mark and the mark of default process of shortcut;
Delete prevent module, for judge the operation process identify whether it is corresponding with the mark of the shortcut
The mark of default process is identical, if it is not, then preventing shortcut described in the operation process-kill.
Optionally, described device further include:
Path obtains module, for obtaining the path of the operation process;
Operation allows module, for judging whether the path of the operation process is directed toward preset folder content, if so,
Then allow shortcut described in the operation process-kill.
It is again optional, described device further include:
Operation allows module, for according to the mark of the operation process judge the operation process whether be desktop into
Journey, if so, allowing shortcut described in the operation process-kill.
It is again optional, described device further include:
Window pop-up module, for if it is determined that the mark of the operation process is corresponding with the mark of the shortcut pre-
If the mark of process is identical, then preset window is popped up, content shown by the preset window includes preventing the operation process
Delete the shortcut.
Further, content shown by the preset window further includes confirmation option;
Described device further include:
Determining module is instructed, gets user for the instruction of the confirmation option input for determining.
It is again optional, described device further include:
Operation allows module, for if it is determined that the mark of the operation process is corresponding with the mark of the shortcut pre-
If the mark of process is identical, then allow shortcut described in the operation process-kill.
It is again optional, described device further include:
Message transmission module, for sending presetting message to cloud server, described preset disappears according to prefixed time interval
Breath is for requesting the cloud server to issue more new information;
Information updating module is used for the more new information according to, the configuration information pre-established described in update.
It is again optional, the store path for being identified as the shortcut of the shortcut.
Therefore in the embodiment of the present invention, when detecting the operation process for deleting shortcut, obtain quick
The mark of mode and the mark for operating process then obtain the mark of the corresponding default process of mark of shortcut, then sentence
Identifying whether for disconnected operation process is identical as the mark of default process, if not identical, prevents operation process-kill shortcut,
The behavior for preventing malice from deleting shortcut may be implemented, improve the usage experience of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the processing method of shortcut provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the processing method of another shortcut provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the processing unit of shortcut provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of pop-up provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The processing method of shortcut provided in an embodiment of the present invention be applied to terminal, the terminal include desktop computer,
The electronic equipments such as laptop, ultrabook computer, tablet computer and smart phone.Wherein, the terminal can be installed and be transported
Row application software, the application software execute corresponding operation by call operation process.
Fig. 1 is a kind of flow diagram of the processing method of shortcut in the embodiment of the present invention.This implementation as shown in the figure
The process of processing method of shortcut in example may include:
S101 obtains mark and the institute of the shortcut when detecting the operation process for deleting shortcut
State the mark of operation process.
It is to be understood that the application software or systematic difference software of either user installation, are all to pass through call operation
Process executes corresponding operation, correspondingly, terminal can detecte the operation process that various application software are called.Specifically
, terminal lets pass to it when detecting the operation for being not intended to delete shortcut;When detecting for deleting shortcut
Operation process when, it is intercepted, and obtain the mark of the shortcut and the mark of the operation process.
Wherein, refer to can be with the character of the unique identification shortcut, optionally, shortcut for the mark of shortcut
Mark can be the path of shortcut, for example, C: Desktop iTunes.Ink.Similarly, the mark for operating process also refers to
It can be with the character of the unique identification operation process.
As an alternative embodiment, terminal after the operation process for deleting shortcut that detects, is gone back
Obtain the path of the operation process.Such as: terminal obtains the behaviour after the operation process for deleting shortcut that detects
Make process path C: Program Files Unlocker.Further, the path for the operation process that terminal judgement obtains is
It is no to be directed toward preset folder content, if so, letting pass to the operation process, allow it to delete shortcut, and stop executing
Subsequent step.Wherein, preset folder content can be preset by device manufacturer or user, be not construed as limiting here.It is optional
, preset folder content be antivirus or security software folder content, such as D: Program Files
Kingsoft.The advantage is that antivirus or security software would generally clear up some useless shortcuts, remnants, evil are such as unloaded
Meaning binding the is installed or lower shortcut of frequency of use, thus can be to avoid some useless to antivirus or security software cleaning
The behavior of shortcut prevented, improve the usage experience of user.
As another optional embodiment, terminal is in the mark and the operation process for obtaining the shortcut
After mark, judge whether the operation process is desktop process according to the mark of operation process, if so, putting to the operation process
Row allows it to delete shortcut, and stops executing subsequent step.Wherein, desktop process is generally used for response user's input
Instruction process, such as the Explore.exe in Windows operating system can be used for responding the creation of user's input, repairs
The instruction such as change and delete.The advantages of the embodiment are that can be carried out to avoid the behavior for actively deleting user shortcut
It prevents, improves the usage experience of user.
S102 obtains the mark of the corresponding default process of mark of the shortcut according to the configuration information pre-established
Know, the configuration information includes the corresponding relationship of the mark and the mark of default process of shortcut.
It should be pointed out that terminal is previously created configuration information before step S101, the configuration information includes fast
The corresponding relationship of the mark and the mark of default process of prompt mode.It is quick with being identified as shortcut during specific implementation
For the store path of mode, the form of configuration information<item>be can be<item LInkpath=" C: Desktop
ITunes.Ink " FilterProcessName=" X " >, wherein LInkpath indicates the store path of shortcut,
FilterProcessName indicates the mark of default process, i.e., configuration information<item>include C: Desktop iTunes.Ink
With the corresponding relationship of X.Wherein, the configuration information<item>pre-established can have a plurality of.Optionally, what terminal pre-established matches
The concrete operations of confidence breath are as follows: configuration information<item>is obtained from cloud server by network.It should be pointed out that quick side
The corresponding default process of formula has the permission for deleting the shortcut, and default process can be set in advance by device manufacturer or user
It is fixed, it is not construed as limiting here, certainly default process may be sky.
Optionally, terminal is established after configuration information, is also executed: according to prefixed time interval, being sent to cloud server
Presetting message, the presetting message is for requesting cloud server to issue more new information;According to the more new information issued, update pre-
The configuration information first established.That is, configuration information is not unalterable, and it is configurable, and then can be to it
It updates.The advantage is that configuration information can be modified and be increased and decreased, the flexibility of configuration information is enhanced.
Specifically, terminal obtains the corresponding default process of mark of shortcut according to the configuration information pre-established
Mark.Such as: assuming that shortcut be identified as C: Desktop iTunes.Ink, wherein configuration information<item>be<
Item LInkpath=" C: Desktop iTunes.Ink " FilterProcessName=" X " >, then terminal is according to matching
That sets the default process of acquisition of information is identified as X.
S103 judges the mark for identifying whether default process corresponding with the mark of the shortcut of the operation process
It is sensible same, if it is not, then preventing shortcut described in the operation process-kill.
Specifically, terminal judges the mark for identifying whether default process corresponding with the mark of shortcut of operation process
It is identical, if it is not, operation process-kill shortcut is then prevented, if so, allowing to operate process-kill shortcut.Such as: it is false
If the operation process for deleting shortcut is Y, the corresponding default process of the shortcut is X, then terminal decision
Process default process corresponding with shortcut is not identical, and then operation process Y is prevented to delete shortcut.
Optionally, the mark of terminal decision process is different from the mark of the corresponding default process of mark of shortcut
Later, it also executes: popping up preset window, content shown by the preset window includes preventing operation process-kill fast side
Formula, the advantage is that user can be made to have learnt that application software deletes shortcut in malice, to improve the precaution.Further,
Terminal can operate the mark of the application software of process with query calls, and the mark of the application software is shown in preset window,
Such as: as shown in figure 5, content shown by preset window include the application software of call operation process mark C: Program
Files Unlocker.exe, and the mark including shortcut C: Users testcenter Desktop Taobao it is precious
.Ink, the advantage is that user can be made further to learn which application software deletes shortcut in malice.
Further, content shown by preset window further includes confirmation option, correspondingly, terminal prevents operation process
Before deleting shortcut, also need to determine that getting user is directed to the instruction that confirmation option inputs.Such as: as shown in figure 5, default
Window further includes " immediately prevent " this confirmation option, terminal determine get user click " preventing immediately " instruction it
Afterwards, it then prevents to operate process-kill shortcut.
In the embodiment of the present invention, when detecting the operation process for deleting shortcut, the mark of shortcut is obtained
Know and the mark of operation process, then obtain the mark of the corresponding default process of mark of shortcut, then judgement operate into
Identifying whether for journey is identical as the mark of default process, if not identical, prevent operation process-kill shortcut, may be implemented
It prevents malice from deleting the behavior of shortcut, improves the usage experience of user.
Fig. 2 is the flow diagram of the processing unit of another shortcut in the embodiment of the present invention.This reality as shown in the figure
The process for applying the processing unit of the shortcut in example may include:
S201, establishes configuration information, and the configuration information includes pair of the mark and the mark of default process of shortcut
It should be related to.
Specifically, by shortcut be identified as the store path of shortcut for, the form of configuration information<item>
It can be<item LInkpath=" C: Desktop iTunes.Ink " FilterProcessName=" X ">, wherein
LInkpath indicates that the store path of shortcut, FilterProcessName indicate the mark of default process, i.e. configuration information
<item>include C: Desktop iTunes.Ink and X corresponding relationship.Wherein, the configuration information<item>pre-established can
It is a plurality of to have.Optionally, the concrete operations for the configuration information that terminal pre-establishes are as follows: matched by network from cloud server acquisition
Confidence ceases<item>.It should be pointed out that the corresponding default process of shortcut has the permission for deleting the shortcut, preset
Process can be preset by device manufacturer or user, be not construed as limiting here, and certainly default process may be sky.
Optionally, terminal is established after configuration information, is also executed: according to prefixed time interval, being sent to cloud server
Presetting message, the presetting message is for requesting cloud server to issue more new information;According to the more new information issued, update pre-
The configuration information first established.That is, configuration information is not unalterable, and it is configurable, and then can be to it
It updates.The advantage is that configuration information can be modified and be increased and decreased, the flexibility of configuration information is enhanced.
S202 judges whether to detect the operation process for deleting shortcut.
It is to be understood that the application software or systematic difference software of either user installation, are all to pass through call operation
Process executes corresponding operation, correspondingly, terminal can detecte the operation process that various application software are called.Specifically
, terminal judges whether to detect the operation process for deleting shortcut, if it is not, then continuing to test, if so, executing step
Rapid S203.
S203 obtains the path of the operation process.
Such as: terminal obtains the path of the operation process after the operation process for deleting shortcut that detects
C:\Program Files\Unlocker。
S204, judges whether the path of the operation process is directed toward preset folder content.
Specifically, terminal judges whether the path of the operation process obtained is directed toward preset folder content, if so, holding
Row step S210, if it is not, thening follow the steps S205.Wherein, preset folder content can be preparatory by device manufacturer or user
Setting, is not construed as limiting here.Optionally, preset folder content is the folder content of antivirus or security software, such as D:
Program Files\Kingsoft.The advantage is that antivirus or security software would generally clear up some useless shortcuts, such as
Unloading is remaining, the malice binding installation or lower shortcut of frequency of use, thus can be to avoid soft to antivirus or safety
The behavior that part clears up some useless shortcuts is prevented, and the usage experience of user is improved.
S205 obtains the mark of the shortcut and the mark of the operation process.
Wherein, refer to can be with the character of the unique identification shortcut, optionally, shortcut for the mark of shortcut
Mark can be the path of shortcut, for example, C: Desktop iTunes.Ink.Similarly, the mark for operating process also refers to
It can be with the character of the unique identification operation process.
S206 judges whether the operation process is desktop process according to the mark of the operation process.
Specifically, terminal judges whether operation process is desktop process according to the mark of operation process, if so, executing step
Rapid S210, if it is not, thening follow the steps S207.
Wherein, desktop process is generally used for the process of the instruction of response user's input, such as in Windows operating system
Explore.exe, can be used for responding the instruction such as creation, modification and deletion of user's input.The advantages of embodiment, exists
In can be prevented to avoid the behavior for actively deleting user shortcut, improve the usage experience of user.
S207 obtains the mark of the corresponding default process of mark of the shortcut according to the configuration information pre-established
Know.
Such as: assuming that shortcut be identified as C: Desktop iTunes.Ink, wherein a configuration information<item>
For<item LInkpath=" C: Desktop iTunes.Ink " FilterProcessName=" X ">, then terminal according to
The default process that configuration information obtains is identified as X.
S208 judges the mark for identifying whether default process corresponding with the mark of the shortcut of the operation process
It is sensible same.
Specifically, terminal judges the mark for identifying whether default process corresponding with the mark of shortcut of operation process
It is identical, if it is not, S209 is thened follow the steps, if so, thening follow the steps S210.Such as: assuming that the operation for deleting shortcut
Process is Y, and the corresponding default process of the shortcut is X, then terminal decision process is corresponding with shortcut default
Process is not identical, and then executes step S209.
S209 prevents shortcut described in the operation process-kill.
S210 allows shortcut described in the operation process-kill.
In the embodiment of the present invention, when detecting the operation process for deleting shortcut, the mark of shortcut is obtained
Know and the mark of operation process, then obtain the mark of the corresponding default process of mark of shortcut, then judgement operate into
Identifying whether for journey is identical as the mark of default process, if not identical, prevent operation process-kill shortcut, may be implemented
It prevents malice from deleting the behavior of shortcut, improves the usage experience of user.
Fig. 3 is a kind of structural schematic diagram of the processing unit of shortcut in the embodiment of the present invention.The present invention as shown in the figure
The processing unit of shortcut in embodiment at least may include that the first acquisition module 310, second obtains module 320 and deletes
Except prevention module 330, in which:
First obtains module 310, described quick for obtaining when detecting the operation process for deleting shortcut
The mark of mode and the mark of the operation process.
It is to be understood that the application software or systematic difference software of either user installation, are all to pass through call operation
Process executes corresponding operation, correspondingly, the first acquisition module 310 can detecte the behaviour that various application software are called
Make process.Specifically, the first acquisition module 310 lets pass to it when detecting the operation for being not intended to delete shortcut;When
When detecting the operation process for deleting shortcut, it is intercepted, and obtain the shortcut mark and the operation into
The mark of journey.
Wherein, refer to can be with the character of the unique identification shortcut, optionally, shortcut for the mark of shortcut
Mark can be the path of shortcut, for example, C: Desktop iTunes.Ink.Similarly, the mark for operating process also refers to
It can be with the character of the unique identification operation process.
Second obtains module 320, for according to the configuration information pre-established, the mark for obtaining the shortcut to be corresponding
Default process mark, the configuration information includes the corresponding relationship of the mark and the mark of default process of shortcut.
It should be pointed out that terminal is previously created configuration information, the configuration information include shortcut mark with
The corresponding relationship of the mark of default process.During specific implementation, with the store path for being identified as shortcut of shortcut
For, the form of configuration information<item>can be<item LInkpath=" C: Desktop iTunes.Ink "
FilterProcessName=" X " >, wherein LInkpath indicates the store path of shortcut, FilterProcessName
Indicate the mark of default process, i.e., configuration information<item>include C: Desktop iTunes.Ink and X corresponding relationship.Its
In, the configuration information<item>pre-established can have a plurality of.Optionally, the concrete operations for the configuration information that terminal pre-establishes
Are as follows: configuration information<item>is obtained from cloud server by network.It is pointed out that the corresponding default process of shortcut
Having the permission for deleting the shortcut, default process can be preset by device manufacturer or user, is not construed as limiting here, when
So default process may be sky.
It deletes and prevents module 330, for judging the mark pair of the operation process identified whether with the shortcut
The mark for the default process answered is identical, if it is not, then preventing shortcut described in the operation process-kill.
Such as: assuming that the operation process for deleting shortcut is Y, the corresponding default process of the shortcut is X, that
It deletes and prevents 330 decision process of module default process corresponding with shortcut not identical, and then prevent operation process Y
Delete shortcut.
Optionally, referring to Fig. 3, the processing unit of the shortcut in the embodiment of the present invention can also include as shown in the figure
Path, which obtains module 340 and operation, allows module 350, in which:
Path obtains module 340, for obtaining the path of the operation process.
Such as: path obtains module 340 after the operation process for deleting shortcut that detects, obtains the operation
The path of process C: Program Files Unlocker.
Operation allows module 350, for judging whether the path of the operation process is directed toward preset folder content, if
It is then to allow shortcut described in the operation process-kill.
Wherein, preset folder content can be preset by device manufacturer or user, be not construed as limiting here.It is optional
, preset folder content be antivirus or security software folder content, such as D: Program Files
Kingsoft.The advantage is that antivirus or security software would generally clear up some useless shortcuts, remnants, evil are such as unloaded
Meaning binding the is installed or lower shortcut of frequency of use, thus can be to avoid some useless to antivirus or security software cleaning
The behavior of shortcut prevented, improve the usage experience of user.
Again optional, operation allows module 350, is also used to judge the operation process according to the mark of the operation process
It whether is desktop process, if so, allowing shortcut described in the operation process-kill.
Wherein, desktop process is generally used for the process of the instruction of response user's input, such as in Windows operating system
Explore.exe, can be used for responding the instruction such as creation, modification and deletion of user's input.The advantages of embodiment, exists
In can be prevented to avoid the behavior for actively deleting user shortcut, improve the usage experience of user.
It is again optional, referring to Fig. 3, the processing unit of the shortcut in the embodiment of the present invention can also wrap as shown in the figure
Window pop-up module 360 is included, for if it is determined that the mark of the operation process is corresponding with the mark of the shortcut default
The mark of process is identical, then pops up preset window, and content shown by the preset window includes that the operation process is prevented to delete
Except the shortcut.
The advantage is that user can be made to have learnt that application software deletes shortcut in malice, to improve the precaution.Into one
Step, Window pop-up module 360 can operate the mark of the application software of process with query calls, and display should in preset window
The mark of application software, such as: as shown in figure 5, content shown by preset window includes the application software of call operation process
Mark C: Program Files Unlocker.exe, and the mark including shortcut C: Users
Testcenter Desktop Taobao treasured .Ink, the advantage is that user can be made further to learn which application software is being disliked
Meaning deletes shortcut.
Further, content shown by the preset window further includes confirmation option.Correspondingly, referring to Fig. 3, as schemed
The processing unit of shortcut in the shown embodiment of the present invention can also include instruction determining module 370, obtain for determining
To user for the instruction of the confirmation option input.
Such as: as shown in figure 5, preset window further includes " preventing immediately " this confirmation option, terminal is got in determination
User clicks the instruction of " preventing immediately " and then prevents operation process-kill shortcut.
Again optional, operation allows module 350, is also used to mark and the shortcut if it is determined that the operation process
The corresponding default process of mark mark it is identical, then allow shortcut described in the operation process-kill.
It is again optional, referring to Fig. 3, the processing unit of the shortcut in the embodiment of the present invention can also wrap as shown in the figure
Include message transmission module 380 and information updating module 390, in which:
Message transmission module 380, it is described pre- for sending presetting message to cloud server according to prefixed time interval
If message is for requesting the cloud server to issue more new information.
Information updating module 390 is used for the more new information according to, the configuration information pre-established described in update.
That is, configuration information is not unalterable, and it is configurable, and then can be updated.Advantage
It is, configuration information can be modified and be increased and decreased, enhance the flexibility of configuration information.
Referring to Fig. 4, the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention, which can be used
The processing method of the shortcut provided in the embodiment for implementing Fig. 1-Fig. 2, in which:
The electronic equipment includes: shell 401, processor 402, memory 403, circuit board 404 and power circuit 405,
Wherein, circuit board 404 is placed in the space interior that shell 401 surrounds, and processor 402 and the setting of memory 403 are on circuit boards;
Power circuit 405, for each circuit or the device power supply for terminal;Memory 403 is for storing executable program code;Place
Reason device 402 runs program corresponding with executable program code by reading the executable program code stored in memory,
For executing following steps:
When detecting the operation process for deleting shortcut, the mark and the operation of the shortcut are obtained
The mark of process;
According to the configuration information pre-established, the mark of the corresponding default process of mark of the shortcut, institute are obtained
State the corresponding relationship that configuration information includes the mark and the mark of default process of shortcut;
Judge the mark phase for identifying whether default process corresponding with the mark of the shortcut of the operation process
Together, if it is not, then preventing shortcut described in the operation process-kill.
Optionally, it after processor 402 detects the operation process for deleting shortcut, also executes:
Obtain the path of the operation process;
Judge whether the path of the operation process is directed toward preset folder content, if so, allow it is described operate into
Journey deletes the shortcut.
It is again optional, after processor 402 obtains the mark of the shortcut and the mark of the operation process, also hold
Row:
Judge whether the operation process is desktop process according to the mark of the operation process, if so, described in allowing
Operate shortcut described in process-kill.
It is again optional, processor 402 judge the operation process identify whether it is corresponding with the mark of the shortcut
Default process mark it is identical after, also execute:
If it is not, then popping up preset window, content shown by the preset window includes preventing the operation process-kill
The shortcut.
Further, content shown by the preset window further includes confirmation option.Correspondingly, processor 402 prevents
Before shortcut described in the operation process-kill, also execute:
It determines and gets user for the instruction of the confirmation option input.
It is again optional, processor 402 judge the operation process identify whether it is corresponding with the mark of the shortcut
Default process mark it is identical after, also execute:
If so, allowing shortcut described in the operation process-kill.
Again optional, processor 402 also executes:
According to prefixed time interval, presetting message is sent to cloud server, the presetting message is for requesting the cloud
End server issues more new information;
According to the more new information, the configuration information that is pre-established described in update.
It is again optional, the store path for being identified as the shortcut of the shortcut.
Substantially the part that contributes to existing technology can pass through meter to the technical solution of the embodiment of the present invention in other words
The form of calculation machine software product embodies, which is stored in storage medium (such as a ROM/RAM, magnetic disk
Or CD) in, it is provided in the embodiment including some instructions to controlling terminal execution Fig. 1 of the embodiment of the present invention-Fig. 2 quick
The step of some or all of in the processing method of mode.
In the embodiment of the present invention, when detecting the operation process for deleting shortcut, the mark of shortcut is obtained
Know and the mark of operation process, then obtain the mark of the corresponding default process of mark of shortcut, then judgement operate into
Identifying whether for journey is identical as the mark of default process, if not identical, prevent operation process-kill shortcut, may be implemented
It prevents malice from deleting the behavior of shortcut, improves the usage experience of user.
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 spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each embodiment of the present invention
In each functional unit can integrate in a processing module, be also possible to each unit and physically exist alone, can also two
A or more than two units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product when selling or using, also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (15)
1. a kind of processing method of shortcut, which is characterized in that the described method includes:
When detecting the operation process for deleting shortcut, the mark and the operation process of the shortcut are obtained
Mark;
According to the configuration information pre-established, the mark of the corresponding default process of mark of the shortcut is obtained, it is described to match
Confidence breath includes the corresponding relationship of the mark and the mark of default process of shortcut;
Judge the operation process identify whether it is identical as the mark of the corresponding default process of mark of the shortcut, if
It is no, then prevent shortcut described in the operation process-kill;
After the operation process detected for deleting shortcut, further includes:
Obtain the path of the operation process;
Judge whether the path of the operation process is directed toward preset folder content, if so, the operation process is allowed to delete
Except the shortcut, the preset folder content is the folder content of antivirus software or security software.
2. the method as described in claim 1, which is characterized in that the mark for obtaining the shortcut and it is described operate into
After the mark of journey, further includes:
Judge whether the operation process is desktop process according to the mark of the operation process, if so, allowing the operation
Shortcut described in process-kill.
3. the method as described in claim 1, which is characterized in that the judgement operation process identify whether with it is described fast
After the mark of the corresponding default process of mark of prompt mode is identical, further includes:
If it is not, then popping up preset window, content shown by the preset window includes preventing described in the operation process-kill
Shortcut.
4. method as claimed in claim 3, which is characterized in that content shown by the preset window further includes confirmation choosing
?;
Before shortcut described in the prevention operation process-kill, further includes:
It determines and gets user for the instruction of the confirmation option input.
5. the method as described in claim 1, which is characterized in that the judgement operation process identify whether with it is described fast
After the mark of the corresponding default process of mark of prompt mode is identical, further includes:
If so, allowing shortcut described in the operation process-kill.
6. the method as described in claim 1, which is characterized in that the method also includes:
According to prefixed time interval, presetting message is sent to cloud server, the presetting message is for requesting the cloud to take
Business device issues more new information;
According to the more new information, the configuration information that is pre-established described in update.
7. as the method according to claim 1 to 6, which is characterized in that the shortcut is identified as the quick side
The store path of formula.
8. a kind of processing unit of shortcut, which is characterized in that described device includes:
First obtains module, for obtaining the shortcut when detecting the operation process for deleting shortcut
The mark of mark and the operation process;
Second obtains module, for according to the configuration information pre-established, the mark for obtaining the shortcut to be corresponding default
The mark of process, the configuration information include the corresponding relationship of the mark and the mark of default process of shortcut;
Delete and prevent module, for judge the operation process identify whether it is corresponding with the mark of the shortcut default
The mark of process is identical, if it is not, then preventing shortcut described in the operation process-kill;
Path obtains module, for obtaining the path of the operation process;
Operation allows module, for judging whether the path of the operation process is directed toward preset folder content, if so, permitting
Perhaps shortcut described in the described operation process-kill, the preset folder content are the text of antivirus software or security software
Part clip directory.
9. device as claimed in claim 8, which is characterized in that described device further include:
Operation allows module, for judging whether the operation process is desktop process according to the mark of the operation process, if
It is then to allow shortcut described in the operation process-kill.
10. device as claimed in claim 8, which is characterized in that described device further include:
Window pop-up module, for if it is determined that the operation process mark it is corresponding with the mark of the shortcut preset into
The mark of journey is identical, then pops up preset window, and content shown by the preset window includes preventing the operation process-kill
The shortcut.
11. device as claimed in claim 10, which is characterized in that content shown by the preset window further includes confirmation choosing
?;
Described device further include:
Determining module is instructed, gets user for the instruction of the confirmation option input for determining.
12. device as claimed in claim 8, which is characterized in that described device further include:
Operation allow module, for if it is determined that the operation process mark it is corresponding with the mark of the shortcut preset into
The mark of journey is identical, then allows shortcut described in the operation process-kill.
13. device as claimed in claim 8, which is characterized in that described device further include:
Message transmission module, for sending presetting message to cloud server, the presetting message is used according to prefixed time interval
More new information is issued in the request cloud server;
Information updating module is used for the more new information according to, the configuration information pre-established described in update.
14. such as the described in any item devices of claim 8-13, which is characterized in that being identified as the shortcut is described quick
The store path of mode.
15. a kind of electronic equipment, which is characterized in that the electronic equipment includes: shell, processor, memory, circuit board and electricity
Source circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power supply
Circuit, for each circuit or the device power supply for terminal;Memory is for storing executable program code;Processor passes through reading
The executable program code stored in access to memory runs program corresponding with executable program code, with following for executing
Step:
When detecting the operation process for deleting shortcut, the mark and the operation process of the shortcut are obtained
Mark;
According to the configuration information pre-established, the mark of the corresponding default process of mark of the shortcut is obtained, it is described to match
Confidence breath includes the corresponding relationship of the mark and the mark of default process of shortcut;
Judge the operation process identify whether it is identical as the mark of the corresponding default process of mark of the shortcut, if
It is no, then prevent shortcut described in the operation process-kill;
After the operation process detected for deleting shortcut, further includes:
Obtain the path of the operation process;
Judge whether the path of the operation process is directed toward preset folder content, if so, the operation process is allowed to delete
Except the shortcut, the preset folder content is the folder content of antivirus software or security software.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610095049.9A CN105760496B (en) | 2016-02-19 | 2016-02-19 | A kind of processing method of shortcut, processing unit and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610095049.9A CN105760496B (en) | 2016-02-19 | 2016-02-19 | A kind of processing method of shortcut, processing unit and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105760496A CN105760496A (en) | 2016-07-13 |
CN105760496B true CN105760496B (en) | 2019-05-28 |
Family
ID=56329823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610095049.9A Active CN105760496B (en) | 2016-02-19 | 2016-02-19 | A kind of processing method of shortcut, processing unit and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105760496B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012075879A1 (en) * | 2010-12-07 | 2012-06-14 | 北京奇虎科技有限公司 | Method for implementing client software for web application |
CN103577044A (en) * | 2013-08-31 | 2014-02-12 | 成都西可科技有限公司 | Rapid management method for moving application icon onto desktop |
CN103699405A (en) * | 2013-12-05 | 2014-04-02 | 广东欧珀移动通信有限公司 | Method and device for quickly upgrading application program of intelligent terminal |
CN104267950A (en) * | 2014-09-25 | 2015-01-07 | 北京金山安全软件有限公司 | Setting method and device of terminal application program and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002259010A (en) * | 2001-03-05 | 2002-09-13 | Fujitsu Ltd | Automatic shortcut icon creation / deletion program |
CN102902909B (en) * | 2012-10-10 | 2015-09-16 | 北京奇虎科技有限公司 | A kind of system and method preventing file to be tampered |
-
2016
- 2016-02-19 CN CN201610095049.9A patent/CN105760496B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012075879A1 (en) * | 2010-12-07 | 2012-06-14 | 北京奇虎科技有限公司 | Method for implementing client software for web application |
CN103577044A (en) * | 2013-08-31 | 2014-02-12 | 成都西可科技有限公司 | Rapid management method for moving application icon onto desktop |
CN103699405A (en) * | 2013-12-05 | 2014-04-02 | 广东欧珀移动通信有限公司 | Method and device for quickly upgrading application program of intelligent terminal |
CN104267950A (en) * | 2014-09-25 | 2015-01-07 | 北京金山安全软件有限公司 | Setting method and device of terminal application program and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105760496A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11593055B2 (en) | Selective screen sharing | |
US10454942B2 (en) | Managed clone applications | |
CN104866341B (en) | Component upgrading method and device and terminal | |
US8863291B2 (en) | Reputation checking of executable programs | |
US11625469B2 (en) | Prevention of organizational data leakage across platforms based on device status | |
CN113785293B (en) | File storage service initiation for anti-virus software locally installed on user device | |
CN107491324A (en) | A kind of method and terminal for installing application program | |
CN109564517B (en) | Method and server for retaining locally deleted content at storage service | |
CN112926068A (en) | Authority management method, management server, service server and readable storage medium | |
US8972533B1 (en) | Activating touch-sensitive keys utilizing configuration settings | |
CN112988663B (en) | File storage method and electronic device | |
CN114253579A (en) | Software updating method, device and medium based on white list mechanism | |
CN105847516B (en) | A kind of method for managing contact person information and device | |
CN105760496B (en) | A kind of processing method of shortcut, processing unit and electronic equipment | |
CN109298956B (en) | File transmission method and device and terminal equipment | |
CN109271266B (en) | File transmission method and device and terminal equipment | |
CN110879701A (en) | Workflow visualization configuration method, server, system and medium | |
CN103052060A (en) | Method for improving information security of mobile terminal and mobile terminal | |
CN106648671A (en) | Application upgrade method and terminal | |
CN114048050A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN111966367A (en) | Data deleting method and device and electronic equipment | |
CN112988426A (en) | Message processing method and device | |
CN109739812A (en) | Method and device for displaying resource files | |
CN111610935B (en) | Access control method, device, equipment and medium | |
CN111125796B (en) | Method, device, equipment and storage medium for protecting mobile storage equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20181205 Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province Applicant after: Zhuhai Leopard Technology Co.,Ltd. Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |