CN105224653A - Disposal route when a kind of browser is held as a hostage and treatment facility - Google Patents

Disposal route when a kind of browser is held as a hostage and treatment facility Download PDF

Info

Publication number
CN105224653A
CN105224653A CN201510639843.0A CN201510639843A CN105224653A CN 105224653 A CN105224653 A CN 105224653A CN 201510639843 A CN201510639843 A CN 201510639843A CN 105224653 A CN105224653 A CN 105224653A
Authority
CN
China
Prior art keywords
browser
mode
hostage
predetermined manner
held
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510639843.0A
Other languages
Chinese (zh)
Other versions
CN105224653B (en
Inventor
陈耀攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510639843.0A priority Critical patent/CN105224653B/en
Publication of CN105224653A publication Critical patent/CN105224653A/en
Application granted granted Critical
Publication of CN105224653B publication Critical patent/CN105224653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses disposal route when a kind of browser is held as a hostage and treatment facility, identify whether browser is held as a hostage; When identifying described browser and being held as a hostage, obtain the parameter setting information of the order line of the shortcut of described browser; Judge that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner; When judging described set-up mode and described predetermined manner is inconsistent, again start described browser with described predetermined manner by the shortcut of described browser.Disposal route when browser disclosed by the invention is held as a hostage and treatment facility, there is the technical matters of processing time length in the disposal route solved in prior art when browser is held as a hostage, achieves the technique effect of the utilization rate shortening the processing time and improve browser.

Description

Disposal route when a kind of browser is held as a hostage and treatment facility
Technical field
The present invention relates to computer network technical field, be specifically related to disposal route when a kind of browser is held as a hostage and treatment facility.
Background technology
Along with developing rapidly of internet, browser provides rich and varied function, can various information required for fast finding data and individual on the net for user.But, in reality, browser can pass through browser plug-in, browser auxiliary object (BrowserHelperObject, be called for short BHO), the form such as WinsockLSP distorts browser, thus browser is held as a hostage, and when browser is held as a hostage, homepage and the internet hunt page of browser can become nameless website, be diverted into malicious web pages when accessing normal website, browser speed when kidnapping website and input character that software specifies that is transferred to when the network address of input error seriously slows down.Because these browsers of being held as a hostage cause harmful effect to daily the browsing of user, the work that therefore network security tool one is very important is exactly, and needs the browser of being held as a hostage existed in network to identify.
In prior art, when browser is held as a hostage, usually process in the following ways: one, unloading browser of resetting; Two, killed virus by antivirus software; Its processing time of above-mentioned disposal route is longer, and browser can be caused not use when resetting browser, so, makes the method for being held as a hostage at process browser in prior art there is the processing time long problem causing the utilization rate of browser to reduce.
Summary of the invention
Disposal route when the embodiment of the present application is by providing a kind of browser to be held as a hostage and treatment facility, there is the technical matters of processing time length in the disposal route solved in prior art when browser is held as a hostage, achieves the technique effect of the utilization rate shortening the processing time and improve browser.
On the one hand, the application provides following technical scheme by an embodiment of the application:
This application discloses disposal route when a kind of browser is held as a hostage, comprising:
Identify whether browser is held as a hostage;
When identifying described browser and being held as a hostage, obtain the parameter setting information of the order line of the shortcut of described browser;
Judge that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner;
When judging described set-up mode and described predetermined manner is inconsistent, again start described browser with described predetermined manner by the shortcut of described browser.
Optionally, when described predetermined manner is specially manual set-up mode, describedly judge that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner, specifically comprise:
Judge whether set-up mode corresponding to described parameter setting information is manual set-up mode.
Optionally, judge described set-up mode and described predetermined manner inconsistent after, described method also comprises:
Object corresponding for described parameter setting information link is added in blacklist, wherein, in described blacklist, stores the website information of kidnapping described browser.
Optionally, before adding in blacklist by object corresponding for described parameter setting information link, described method also comprises:
According to the historical data that described browser is held as a hostage, obtain and store described blacklist.
Optionally, when judging that described set-up mode is consistent with described predetermined manner, described method also comprises:
Judge that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, in described blacklist, store the website information of kidnapping described browser;
When judging that the link of described object is arranged in described blacklist, described object link is replaced with the default link of described browser;
Restart described browser by the shortcut of described browser, and load on the described browser restarted and defaultly link corresponding webpage with described.
On the other hand, the application, by an embodiment of the application, provides following technical scheme:
Disclosed herein as well is treatment facility when a kind of browser is held as a hostage, described treatment facility comprises:
Recognition unit, for identifying whether browser is held as a hostage;
Parameter information acquiring unit, for when identifying described browser and being held as a hostage, obtains the parameter setting information of the order line of the shortcut of described browser;
Judging unit, whether consistent with predetermined manner for judging set-up mode corresponding to described parameter setting information;
Start unit, for when judging described set-up mode and described predetermined manner is inconsistent, starts described browser with described predetermined manner again by the shortcut of described browser.
Optionally, described judging unit, specifically for when described predetermined manner is specially manual set-up mode, judges whether set-up mode corresponding to described parameter setting information is manual set-up mode.
Optionally, described treatment facility, also comprises:
Adding device, for judge described set-up mode and described predetermined manner inconsistent after, by object corresponding for described parameter setting information link add in blacklist, wherein, in described blacklist, store the website information of kidnapping described browser.
Optionally, described treatment facility also comprises:
Blacklist storage unit, for before adding in blacklist by object corresponding for described parameter setting information link, according to the historical data that described browser is held as a hostage, obtains and stores described blacklist.
Optionally, described judging unit, also for when judging that described set-up mode is consistent with described predetermined manner, judges that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, the website information of kidnapping described browser is stored in described blacklist.
Optionally, described treatment facility also comprises:
Replacement unit, for when judging that the link of described object is arranged in described blacklist, replaces with the default link of described browser by described object link;
Loading unit, for restarting described browser by the shortcut of described browser, and loads and defaultly links corresponding webpage with described on the described browser restarted.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
Disposal route when a kind of browser according to the present invention is held as a hostage and treatment facility, by the present invention, when identifying browser and being held as a hostage, obtain the parameter setting information of the order line of the shortcut of described browser, when judging the set-up mode that described parameter setting information is corresponding and predetermined manner is inconsistent, again described browser is started with described predetermined manner by the shortcut of described browser, so, identify described browser and be held as a hostage and described set-up mode and described predetermined manner inconsistent time, described browser is restarted with described predetermined manner, make to restart rear described browser can normally use, and the time restarted shared by described browser is little, shorten the processing time, improve the utilization rate of browser in browser process is held as a hostage in process.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first process flow diagram of disposal route when browser that the embodiment of the present invention provides is held as a hostage;
Fig. 2 is the second process flow diagram of disposal route when browser that the embodiment of the present invention provides is held as a hostage;
Fig. 3 is the module map for the treatment of facility when browser that the embodiment of the present invention provides is held as a hostage.
Embodiment
Disposal route when the embodiment of the present application is by providing a kind of browser to be held as a hostage and treatment facility, there is the technical matters of processing time length in the disposal route solved in prior art when browser is held as a hostage, achieves the technique effect of the utilization rate shortening the processing time and improve browser.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
See Fig. 1, the disposal route when browser that the embodiment of the present invention provides is held as a hostage comprises the following steps:
S101: identify whether browser is held as a hostage;
S102: when identifying described browser and being held as a hostage, obtain the parameter setting information of the order line of the shortcut of described browser;
S103: judge that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner;
S104: when judging described set-up mode and described predetermined manner is inconsistent, by the shortcut of described browser again to start described browser with described predetermined manner.
Wherein, in step S101, the executive agent of the application can be the equipment being provided with described browser, can be described browser, the application do concrete restriction, wherein yet, when identifying that described browser is held as a hostage, whether can identify described browser by three kinds of methods to be held as a hostage, the first recognition methods, can be specifically the operation information obtaining web access requests and correspondence thereof; Detect described operation information again and whether meet preset rules, described preset rules comprises the operation requests that described browser allows; Described browser, when detecting that described operation information does not meet described preset rules, identifies described browser and is held as a hostage; When described browser detects that described operation information meets described preset rules, identify described browser and be not held as a hostage.
Wherein, after described browser starts, the operation information of user can be received, based on described operation information, described browser can automatically generate and get the web access requests corresponding with described operation information, so, make described browser can get the operation information of described web access requests and correspondence thereof, wherein, described operation information can be such as the information of the hyperlink on the navigation page of user's click browser, can also be the information of inputted search information in the search column of browser, certainly, the executive agent of the first recognition methods described can also be equipment.
Such as, for a browser, after a browser starts, receive the search information that user have input www.axxx.com in the search column of a browser, the web access requests that a browser generates access www.axxx.com based on this operation information such as includes Stringurl=" http://www.axxx.com/ ", so, make a browser can receive the access web access requests of www.axxx.com and the operation information of correspondence thereof, described operation information is the information inputting www.axxx.com in the search column of a browser, preset rules due to a browser is the first operation requests of inputted search information in the search column of browser and the hyperlink on the navigation page of browser is clicked to the second operation requests generated, because described operation information and the first operation requests described match, then determine that described operation information meets described preset rules, namely a browser is not held as a hostage to make a browser to judge, so, described browser is improved identifying the accuracy whether described browser be held as a hostage according to described judged result, and described browser judges whether voluntarily to be held as a hostage, compared with artificial judgment of the prior art, its work efficiency judged also can be greatly improved.
Specifically, the second recognition methods, can be specifically identify whether described browser is held as a hostage by domain name, its concrete implementation step be as follows: browser obtains the web access requests of navigation page, and obtains the target domain name corresponding with described web access requests; Described browser judges that whether described target domain name is consistent with the original domain name of described navigation page; Described browser when judging that described target domain name is consistent with described original domain name, then identifies described browser and is not held as a hostage; Described browser when judging described target domain name and described original domain name is inconsistent, then identifies described browser and is held as a hostage.
Wherein, described browser can load navigation page automatically when starting, and makes described browser can get the web access requests of described navigation page, then according to described web access requests, obtains described target domain name; Certainly, described browser after start-up, described browser receives user when starting the startup request of described navigation page, described browser loads described navigation page according to described startup request, and then gets the web access requests of described navigation page, then according to described web access requests, obtain described target domain name, judge that whether described target domain name is consistent with described original domain name again, certainly, the executive agent of the first recognition methods described can also be equipment.
Such as, for a browser, automatically can load a navigation page when a browser starts, a browser is when loading a navigation page, and the web access requests that can generate a navigation page such as includes Stringurl=" http://hao.bxxx.cn/ "; So, make browser can extract aiming field from the web access requests of a navigation page and be called hao.bxxx.cn, if the original domain name being previously stored with a navigation page in a browser is hao.axxx.cn, because hao.bxxx.cn and hao.axxx.cn is different, namely a browser judge described target domain name and described original domain name inconsistent, then make a browser detect described judged result characterize described target domain name and described original domain name inconsistent, thus identify a browser and be held as a hostage; If the original domain name being previously stored with a navigation page in a browser is hao.bxxx.cn, because described original domain name is identical with described aiming field name, namely a browser judges that described target domain name is consistent with described original domain name, a browser is detected, and that described judged result characterizes described target domain name is consistent with described original domain name, thus identifies a browser and be not held as a hostage.
Specifically, the third recognition method, whether can be specifically carry out described browser by the parameter setting information of the order line of shortcut to be held as a hostage, its concrete implementation step be as follows: the parameter setting information obtaining the order line of the shortcut of described browser; Judge that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner; When judging described set-up mode and described predetermined manner is inconsistent, identifying described browser and being held as a hostage; When judging that described set-up mode is consistent with described predetermined manner, identifying described browser and not being held as a hostage.
Wherein, the executive agent of described 3rd recognition method is equipment, described equipment can be such as panel computer, notebook computer, smart mobile phone, the equipment such as desktop computer, in described equipment, browser is installed, when the parameter setting information of the order line of the shortcut of acquisition browser, can by starting the order line program of installing in the apparatus, such as under windows environment, order line program is generally cmd.exe, then described equipment is when receiving corresponding with the immediate mode of the browser command information of user's input, described parameter setting information is presented in described order line program, so, according to described displaying contents, described parameter setting information can be obtained, wherein, the set-up mode information of described shortcut is included in described parameter setting information.Certainly, described parameter setting information can also be obtained by the attribute information of the shortcut of checking described browser, further, described predetermined manner is the set-up mode of the acquiescence of the shortcut of described browser, can be specifically manual set-up mode or Automatic Styles.
Such as, for notebook computer A, b browser is installed in notebook computer A and creates the shortcut of b browser, in the search column of the start menu of notebook computer A, the information of cmd is have input according to the user received, then start cmd.exe, then when the command information corresponding according to the shortcut of the search b browser received, parameter setting information corresponding for the shortcut of b browser is presented in cmd.exe, so, notebook computer A is made to get described parameter setting information, if when set-up mode corresponding to the shortcut of the set-up mode information displaying b browser of the described shortcut comprised in described parameter setting information is manual set-up mode, because manual set-up mode is identical with described predetermined manner, then determine that described set-up mode is consistent with described predetermined manner, so, can determine that b browser is not held as a hostage, if when set-up mode corresponding to the shortcut of b browser is Automatic Styles, because Automatic Styles is different from described predetermined manner, then determine described set-up mode and described predetermined manner inconsistent, so, can determine that b browser is held as a hostage.
Wherein, when b browser is not held as a hostage, the set-up mode that the shortcut of b browser is corresponding must be described predetermined manner, and when b browser is held as a hostage, whether set-up mode corresponding to the shortcut of b browser just can be different from described predetermined manner, so, consistent with described predetermined manner by judging set-up mode corresponding to the shortcut of b browser, namely can judge whether b browser is held as a hostage accurately, the accuracy judged is improved.
Following execution step S102, in this step, when identifying described browser and being held as a hostage, obtains the parameter setting information of the order line of the shortcut of described browser.
In specific implementation process, executive agent of the present invention can be treatment facility, also can be browser, described treatment facility can be such as the equipment such as panel computer, notebook computer, smart mobile phone, desktop computer, be provided with browser in described treatment facility, lower mask body is described treatment facility for executive agent.
Specifically, described treatment facility identify described browser be held as a hostage time, can by starting the order line program of installing in the apparatus, such as under windows environment, order line program is generally cmd.exe, then described equipment is when receiving corresponding with the immediate mode of the browser command information of user's input, described parameter setting information is presented in described order line program, so, according to described displaying contents, described parameter setting information can be obtained, wherein, the set-up mode information of described shortcut is included in described parameter setting information.Certainly, described parameter setting information can also be obtained by the attribute information of the shortcut of checking described browser.
Such as, for notebook computer A, b browser is installed in notebook computer A and creates the shortcut of b browser, in the search column of the start menu of notebook computer A, the information of cmd is have input according to the user received, then start cmd.exe, then when the command information corresponding according to the shortcut of the search b browser received, parameter setting information corresponding for the shortcut of b browser is presented in cmd.exe, so, notebook computer A is made to get described parameter setting information.
Following execution step S103, in this step, judges that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner.
In specific implementation process, described predetermined manner is the set-up mode of the acquiescence of the shortcut of described browser, can be specifically manual set-up mode or Automatic Styles, lower mask body is manual set-up mode for described predetermined manner, after getting described parameter setting information by step S102, the set-up mode information of described shortcut is obtained from described parameter setting information, set-up mode information based on described shortcut determines described set-up mode, then judge whether described set-up mode is manual set-up mode, when described set-up mode is manual set-up mode, then determine that described set-up mode is consistent with described predetermined manner, if when described set-up mode is not manual set-up mode, then determine described set-up mode and described predetermined manner inconsistent, wherein, when described predetermined manner is Automatic Styles, its determination methods is identical with above-mentioned determination methods.
Such as, for notebook computer A, b browser is installed in notebook computer A and creates the shortcut of b browser, in the search column of the start menu of notebook computer A, the information of cmd is have input according to the user received, then start cmd.exe, then when the command information corresponding according to the shortcut of the search b browser received, parameter setting information corresponding for the shortcut of b browser is presented in cmd.exe, so, notebook computer A is made to get described parameter setting information, if when set-up mode corresponding to the shortcut of the set-up mode information displaying b browser of the described shortcut comprised in described parameter setting information is manual set-up mode, because manual set-up mode is identical with described predetermined manner, then determine that described set-up mode is consistent with described predetermined manner, if when set-up mode corresponding to the shortcut of b browser is Automatic Styles, because Automatic Styles is different from described predetermined manner, then determine described set-up mode and described predetermined manner inconsistent.
When judging described set-up mode and described predetermined manner is inconsistent, perform step S104, by the shortcut of described browser again to start described browser with described predetermined manner.
In specific implementation process, when being judged described set-up mode by step S103 and described predetermined manner is inconsistent, then restart described browser by shortcut, and start with described predetermined manner when restarting described browser, it is the set-up mode of the acquiescence of described browser due to described predetermined manner, so, the described browser after restarting is made to be in the state of not being held as a hostage, described browser after restarting can normally be used, and the time restarting described browser is very short, shorten the time that process browser is held as a hostage, improve the utilization rate of described browser.
Such as, for notebook computer A, b browser is installed in notebook computer A, after startup b browser, notebook computer A identifies b browser and is held as a hostage, so, notebook computer A have input the information of cmd automatically in the search column of the start menu at notebook computer A, in the search column of the start menu of notebook computer A, the information of cmd is have input according to the user received, then start cmd.exe, during command information corresponding to the shortcut of search b browser that is that then receive user's input or that input voluntarily, obtain the parameter setting information that the shortcut of b browser is corresponding, if when set-up mode corresponding to the shortcut of described parameter setting information display b browser is Automatic Styles, because Automatic Styles is different from described predetermined manner, then determine described set-up mode and described predetermined manner inconsistent, so, automatically again b browser is started with described predetermined manner.
In another embodiment, judge described set-up mode and described predetermined manner inconsistent after, described method also comprises: add in blacklist by object corresponding for described parameter setting information link, wherein, store the website information of kidnapping described browser in described blacklist.
In specific implementation process, judge described set-up mode and described predetermined manner inconsistent after, can described object link be added in described blacklist, make in described blacklist, to store more website information of kidnapping browser, improve and judging by described blacklist the accuracy whether described browser is held as a hostage.
Specifically, described object link can be extracted from described parameter setting information, the information such as the network address that the such as parameter setting information of b browser comprises the set-up mode information of the shortcut of b browser, the object of loading links, so, namely described Object linking can be obtained according to the parameter setting information of b browser.
Such as, for notebook computer A, b browser is installed in notebook computer A, after startup b browser, notebook computer A identifies b browser and is held as a hostage, so, notebook computer A have input the information of cmd automatically in the search column of the start menu at notebook computer A, in the search column of the start menu of notebook computer A, the information of cmd is have input according to the user received, then start cmd.exe, during command information corresponding to the shortcut of search b browser that is that then receive user's input or that input voluntarily, obtain the parameter setting information that the shortcut of b browser is corresponding, if when set-up mode corresponding to the shortcut of described parameter setting information display b browser is Automatic Styles, because Automatic Styles is different from described predetermined manner, then extracting the link of described object from the parameter setting information of b browser is such as E network address, then E network address is then added in described blacklist, so, make in described blacklist, to store more website information of kidnapping browser.
Concrete, before object corresponding for described parameter setting information link is added in blacklist, described method also comprises: the historical data of being held as a hostage according to described browser, obtain and store described blacklist, wherein, when obtaining described historical data, described historical data can be obtained by the feedback information receiving user, also described historical data can be obtained by the mode of data acquisition and monitoring, then after obtaining described blacklist by described historical data; Certainly, constantly can also collect other data that described browser is held as a hostage, constantly update described blacklist with this, make can store more website information of kidnapping browser in described blacklist, to improve the accuracy of judgement.
Such as, for notebook computer A, b browser is installed in notebook computer A, notebook computer A collects and shows A network address, B network address and C network address in the historical data that b browser is held as a hostage and all kidnapped a browser, then set up described blacklist, make in described blacklist, to store A network address, B network address and C network address.
Again such as, for notebook computer A, b browser is installed in notebook computer A, notebook computer A according to current collection to historical data generate described blacklist, A network address is stored in described blacklist, B network address, C network address, after the described blacklist of generation, other data that notebook computer A persistent collection b browser is held as a hostage, D network address is included when also kidnapping the data of b browser in other data collected, then D network address is added in described blacklist, make to store D network address in the blacklist after upgrading, owing to storing D network address in the described blacklist after renewal, so, make in described blacklist, to store more website information of kidnapping browser, just can be judged more accurately by the described blacklist after upgrading.
In another embodiment, the embodiment of the present invention additionally provides disposal route when browser is held as a hostage, and see Fig. 2, comprises the following steps:
S201: identify whether browser is held as a hostage;
S202: when identifying described browser and being held as a hostage, obtain the parameter setting information of the order line of the shortcut of described browser;
S203: judge that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner;
S204: when judging that described set-up mode is consistent with described predetermined manner, judges that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, stores the website information of kidnapping described browser in described blacklist;
Step S205: when judging that the link of described object is arranged in described blacklist, replaces with the default link of described browser by described object link;
Step S206: restart described browser by the shortcut of described browser, and load on the described browser restarted and defaultly link corresponding webpage with described.
Wherein, in step s 201, whether when identifying that described browser is held as a hostage, can identify described browser by three kinds of methods and be held as a hostage, the first recognition methods can be specifically identify whether described browser is held as a hostage by the operation information that web access requests is corresponding; The second recognition methods can be specifically identify whether described browser is held as a hostage by domain name; Whether the third recognition method can be specifically carry out described browser by the parameter setting information of the order line of shortcut to be held as a hostage.
Following execution step S202, in this step, when identifying described browser and being held as a hostage, obtains the parameter setting information of the order line of the shortcut of described browser.
In specific implementation process, when identifying described browser and being held as a hostage, can by starting the order line program of installing in the apparatus, such as under windows environment, order line program is generally cmd.exe, then described equipment is when receiving corresponding with the immediate mode of the browser command information of user's input, described parameter setting information is presented in described order line program, so, according to described displaying contents, described parameter setting information can be obtained, wherein, the set-up mode information of described shortcut is included in described parameter setting information.Certainly, described parameter setting information can also be obtained by the attribute information of the shortcut of checking described browser.
Following execution step S203, in this step, judges that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner.
In specific implementation process, described predetermined manner is the set-up mode of the acquiescence of the shortcut of described browser, can be specifically manual set-up mode or Automatic Styles, lower mask body is manual set-up mode for described predetermined manner, after getting described parameter setting information by step S202, the set-up mode information of described shortcut is obtained from described parameter setting information, set-up mode information based on described shortcut determines described set-up mode, then judge whether described set-up mode is manual set-up mode, when described set-up mode is manual set-up mode, then determine that described set-up mode is consistent with described predetermined manner, if when described set-up mode is not manual set-up mode, then determine described set-up mode and described predetermined manner inconsistent, wherein, when described predetermined manner is Automatic Styles, its determination methods is identical with above-mentioned determination methods.
When judging that described set-up mode is consistent with described predetermined manner, perform step S204, judge that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, in described blacklist, store the website information of kidnapping described browser.
In specific implementation process, when judging that described set-up mode is consistent with described predetermined manner by step 203, also needing to judge whether the link of described object is arranged in described blacklist, when judging that the link of described object is arranged in described blacklist, performing step S205.
Such as, for notebook computer A, b browser is installed in notebook computer A, after startup b browser, notebook computer A identifies b browser and is held as a hostage, so, notebook computer A have input the information of cmd automatically in the search column of the start menu at notebook computer A, in the search column of the start menu of notebook computer A, the information of cmd is have input according to the user received, then start cmd.exe, during command information corresponding to the shortcut of search b browser that is that then receive user's input or that input voluntarily, obtain the parameter setting information that the shortcut of b browser is corresponding, if when set-up mode corresponding to the shortcut of described parameter setting information display b browser is manual set-up mode, because manual set-up mode is different from described predetermined manner, then extracting the link of described object from the parameter setting information of b browser is such as A network address, then judge whether A network address is arranged in described blacklist, if store A network address in described blacklist, B network address and C network address, then determine that the link of described object is arranged in described blacklist.
When judging that the link of described object is arranged in described blacklist, performing step S205, described object link being replaced with the default link of described browser.
In specific implementation process, the described default link being linked as described browser acquiescence, can be such as the navigation page, search engine page etc. that described browser carries, described default link is pre-stored in described browser or described treatment facility, when being judged that by step S204 the link of described object is arranged in described blacklist, then described object link is replaced with described default link, making when restarting described browser, the described browser after restarting loading and defaultly links corresponding webpage with described.
Following execution step S206, in this step, restarts described browser by the shortcut of described browser, and loads on the described browser restarted and defaultly link corresponding webpage with described.
In specific implementation process, after described object link is replaced with described default link, automatically described browser is restarted by the shortcut of described browser, and load on the described browser restarted and defaultly link corresponding webpage with described, instead of link corresponding webpage with described object, so, the described browser after restarting is made to be in the state of not being held as a hostage, described browser after restarting can normally be used, and the time restarting described browser is very short, shorten the time that process browser is held as a hostage, improve the utilization rate of described browser.
Such as, for notebook computer A, b browser is installed in notebook computer A, after startup b browser, notebook computer A identifies b browser and is held as a hostage, so, notebook computer A have input the information of cmd automatically in the search column of the start menu at notebook computer A, in the search column of the start menu of notebook computer A, the information of cmd is have input according to the user received, then start cmd.exe, during command information corresponding to the shortcut of search b browser that is that then receive user's input or that input voluntarily, obtain the parameter setting information that the shortcut of b browser is corresponding, if when set-up mode corresponding to the shortcut of described parameter setting information display b browser is manual set-up mode, because manual set-up mode is different from described predetermined manner, then extracting the link of described object from the parameter setting information of b browser is such as A network address, then judge whether A network address is arranged in described blacklist, if store A network address in described blacklist, B network address and C network address, then determine that the link of described object is arranged in described blacklist, then A network address is replaced with the b navigation page of default link such as carrying of b browser, then b browser is restarted by shortcut, and b navigation page is loaded on the b browser restarted.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
Disposal route when a kind of browser according to the present invention according to the present invention is held as a hostage, by the present invention, when identifying browser and being held as a hostage, obtains the parameter setting information of the order line of the shortcut of described browser, when judging the set-up mode that described parameter setting information is corresponding and predetermined manner is inconsistent, again described browser is started with described predetermined manner by the shortcut of described browser, so, identify described browser and be held as a hostage and described set-up mode and described predetermined manner inconsistent time, described browser is restarted with described predetermined manner, make to restart rear described browser can normally use, and the time restarted shared by described browser is little, shorten the processing time, improve the utilization rate of browser in browser process is held as a hostage in process.
Further, present invention also offers disposal route when a kind of browser is held as a hostage, when judging that described set-up mode is consistent with described predetermined manner, judge that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, if, then described object link is replaced with the default link of described browser, and automatically restart described browser by the shortcut of described browser, and load on the described browser restarted and defaultly link corresponding webpage with described, so, described set-up mode and described object consistent with described predetermined manner link be arranged in described blacklist time, directly described object link is replaced with described default link, then the automatic shortcut by described browser restarts described browser, and load on the described browser restarted and defaultly link corresponding webpage with described, make to restart rear described browser can normally use, and the time restarted shared by described browser is little, shorten the processing time, improve the utilization rate of browser in browser process is held as a hostage in process.
According to same inventive concept, treatment facility when a kind of browser is held as a hostage, see Fig. 3, described treatment facility comprises:
Recognition unit 301, for identifying whether browser is held as a hostage;
Parameter information acquiring unit 302, for when identifying described browser and being held as a hostage, obtains the parameter setting information of the order line of the shortcut of described browser;
Judging unit 303, whether consistent with predetermined manner for judging set-up mode corresponding to described parameter setting information;
Start unit 304, for when judging described set-up mode and described predetermined manner is inconsistent, starts described browser with described predetermined manner again by the shortcut of described browser.
Concrete, judging unit 303, specifically for when described predetermined manner is specially manual set-up mode, judges whether set-up mode corresponding to described parameter setting information is manual set-up mode.
Concrete, described treatment facility also comprises:
Adding device 305, for judge described set-up mode and described predetermined manner inconsistent after, by object corresponding for described parameter setting information link add in blacklist, wherein, in described blacklist, store the website information of kidnapping described browser.
Concrete, described treatment facility also comprises:
Blacklist storage unit 306, for before adding in blacklist by object corresponding for described parameter setting information link, according to the historical data that described browser is held as a hostage, obtains and stores described blacklist.
Concrete, judging unit 303, also for when judging that described set-up mode is consistent with described predetermined manner, judges that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, the website information of kidnapping described browser is stored in described blacklist.
Concrete, described treatment facility also comprises:
Replacement unit 307, for when judging that the link of described object is arranged in described blacklist, replaces with the default link of described browser by described object link;
Loading unit 308, for restarting described browser by the shortcut of described browser, and loads and defaultly links corresponding webpage with described on the described browser restarted.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
Treatment facility when a kind of browser according to the present invention according to the present invention is held as a hostage, by the present invention, when identifying browser and being held as a hostage, obtains the parameter setting information of the order line of the shortcut of described browser, when judging the set-up mode that described parameter setting information is corresponding and predetermined manner is inconsistent, again described browser is started with described predetermined manner by the shortcut of described browser, so, identify described browser and be held as a hostage and described set-up mode and described predetermined manner inconsistent time, described browser is restarted with described predetermined manner, make to restart rear described browser can normally use, and the time restarted shared by described browser is little, shorten the processing time, improve the utilization rate of browser in browser process is held as a hostage in process.
Further, present invention also offers treatment facility when a kind of browser is held as a hostage, when judging that described set-up mode is consistent with described predetermined manner, judge that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, if, then described object link is replaced with the default link of described browser, and automatically restart described browser by the shortcut of described browser, and load on the described browser restarted and defaultly link corresponding webpage with described, so, described set-up mode and described object consistent with described predetermined manner link be arranged in described blacklist time, directly described object link is replaced with described default link, then the automatic shortcut by described browser restarts described browser, and load on the described browser restarted and defaultly link corresponding webpage with described, make to restart rear described browser can normally use, and the time restarted shared by described browser is little, shorten the processing time, improve the utilization rate of browser in browser process is held as a hostage in process.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Disposal route when the present invention discloses A1, a kind of browser is held as a hostage, is characterized in that, comprising:
Identify whether browser is held as a hostage;
When identifying described browser and being held as a hostage, obtain the parameter setting information of the order line of the shortcut of described browser;
Judge that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner;
When judging described set-up mode and described predetermined manner is inconsistent, again start described browser with described predetermined manner by the shortcut of described browser.
A2, method as described in claim A1, is characterized in that, when described predetermined manner is specially manual set-up mode, describedly judges that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner, specifically comprise:
Judge whether set-up mode corresponding to described parameter setting information is manual set-up mode.
A3, method as described in claim A2, is characterized in that, judge described set-up mode and described predetermined manner inconsistent after, described method also comprises:
Object corresponding for described parameter setting information link is added in blacklist, wherein, in described blacklist, stores the website information of kidnapping described browser.
A4, method as described in claim A3, is characterized in that, before adding in blacklist by object corresponding for described parameter setting information link, described method also comprises:
According to the historical data that described browser is held as a hostage, obtain and store described blacklist.
A5, method as described in claim A1, it is characterized in that, when judging that described set-up mode is consistent with described predetermined manner, described method also comprises:
Judge that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, in described blacklist, store the website information of kidnapping described browser;
When judging that the link of described object is arranged in described blacklist, described object link is replaced with the default link of described browser;
Restart described browser by the shortcut of described browser, and load on the described browser restarted and defaultly link corresponding webpage with described.
B6, treatment facility when a kind of browser is held as a hostage, it is characterized in that, described treatment facility comprises:
Recognition unit, for identifying whether browser is held as a hostage;
Parameter information acquiring unit, for when identifying described browser and being held as a hostage, obtains the parameter setting information of the order line of the shortcut of described browser;
Judging unit, whether consistent with predetermined manner for judging set-up mode corresponding to described parameter setting information;
Start unit, for when judging described set-up mode and described predetermined manner is inconsistent, starts described browser with described predetermined manner again by the shortcut of described browser.
B7, treatment facility as described in claim B6, is characterized in that, described judging unit, specifically for when described predetermined manner is specially manual set-up mode, judges whether set-up mode corresponding to described parameter setting information is manual set-up mode.
B8, treatment facility as described in claim B7, it is characterized in that, described treatment facility, also comprises:
Adding device, for judge described set-up mode and described predetermined manner inconsistent after, by object corresponding for described parameter setting information link add in blacklist, wherein, in described blacklist, store the website information of kidnapping described browser.
B9, treatment facility as described in claim B8, it is characterized in that, described treatment facility also comprises:
Blacklist storage unit, for before adding in blacklist by object corresponding for described parameter setting information link, according to the historical data that described browser is held as a hostage, obtains and stores described blacklist.
B10, treatment facility as described in claim B6, it is characterized in that, described judging unit, also for when judging that described set-up mode is consistent with described predetermined manner, judge that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, the website information of kidnapping described browser is stored in described blacklist.
B11, treatment facility as described in claim B10, it is characterized in that, described treatment facility also comprises:
Replacement unit, for when judging that the link of described object is arranged in described blacklist, replaces with the default link of described browser by described object link;
Loading unit, for restarting described browser by the shortcut of described browser, and loads and defaultly links corresponding webpage with described on the described browser restarted.

Claims (10)

1. disposal route when browser is held as a hostage, is characterized in that, comprising:
Identify whether browser is held as a hostage;
When identifying described browser and being held as a hostage, obtain the parameter setting information of the order line of the shortcut of described browser;
Judge that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner;
When judging described set-up mode and described predetermined manner is inconsistent, again start described browser with described predetermined manner by the shortcut of described browser.
2. the method for claim 1, is characterized in that, when described predetermined manner is specially manual set-up mode, describedly judges that whether set-up mode corresponding to described parameter setting information be consistent with predetermined manner, specifically comprises:
Judge whether set-up mode corresponding to described parameter setting information is manual set-up mode.
3. method as claimed in claim 2, is characterized in that, judge described set-up mode and described predetermined manner inconsistent after, described method also comprises:
Object corresponding for described parameter setting information link is added in blacklist, wherein, in described blacklist, stores the website information of kidnapping described browser.
4. method as claimed in claim 3, is characterized in that, before adding in blacklist by object corresponding for described parameter setting information link, described method also comprises:
According to the historical data that described browser is held as a hostage, obtain and store described blacklist.
5. the method for claim 1, is characterized in that, when judging that described set-up mode is consistent with described predetermined manner, described method also comprises:
Judge that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, in described blacklist, store the website information of kidnapping described browser;
When judging that the link of described object is arranged in described blacklist, described object link is replaced with the default link of described browser;
Restart described browser by the shortcut of described browser, and load on the described browser restarted and defaultly link corresponding webpage with described.
6. treatment facility when browser is held as a hostage, is characterized in that, described treatment facility comprises:
Recognition unit, for identifying whether browser is held as a hostage;
Parameter information acquiring unit, for when identifying described browser and being held as a hostage, obtains the parameter setting information of the order line of the shortcut of described browser;
Judging unit, whether consistent with predetermined manner for judging set-up mode corresponding to described parameter setting information;
Start unit, for when judging described set-up mode and described predetermined manner is inconsistent, starts described browser with described predetermined manner again by the shortcut of described browser.
7. treatment facility as claimed in claim 6, is characterized in that, described judging unit, specifically for when described predetermined manner is specially manual set-up mode, judges whether set-up mode corresponding to described parameter setting information is manual set-up mode.
8. treatment facility as claimed in claim 7, it is characterized in that, described treatment facility, also comprises:
Adding device, for judge described set-up mode and described predetermined manner inconsistent after, by object corresponding for described parameter setting information link add in blacklist, wherein, in described blacklist, store the website information of kidnapping described browser.
9. treatment facility as claimed in claim 8, it is characterized in that, described treatment facility also comprises:
Blacklist storage unit, for before adding in blacklist by object corresponding for described parameter setting information link, according to the historical data that described browser is held as a hostage, obtains and stores described blacklist.
10. treatment facility as claimed in claim 6, it is characterized in that, described judging unit, also for when judging that described set-up mode is consistent with described predetermined manner, judge that the object corresponding with described parameter setting information links the blacklist whether being arranged in and prestoring, wherein, the website information of kidnapping described browser is stored in described blacklist.
CN201510639843.0A 2015-09-30 2015-09-30 Processing method and processing equipment when a kind of browser is held as a hostage Active CN105224653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510639843.0A CN105224653B (en) 2015-09-30 2015-09-30 Processing method and processing equipment when a kind of browser is held as a hostage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510639843.0A CN105224653B (en) 2015-09-30 2015-09-30 Processing method and processing equipment when a kind of browser is held as a hostage

Publications (2)

Publication Number Publication Date
CN105224653A true CN105224653A (en) 2016-01-06
CN105224653B CN105224653B (en) 2019-07-05

Family

ID=54993621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510639843.0A Active CN105224653B (en) 2015-09-30 2015-09-30 Processing method and processing equipment when a kind of browser is held as a hostage

Country Status (1)

Country Link
CN (1) CN105224653B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054716A1 (en) * 2015-09-30 2017-04-06 北京奇虎科技有限公司 Method for recognizing hijacked browser and browser
CN110825988A (en) * 2019-11-08 2020-02-21 北京字节跳动网络技术有限公司 Information display method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831358A (en) * 2012-09-21 2012-12-19 北京奇虎科技有限公司 Method and device for preventing homepage tamper
CN103823873A (en) * 2014-02-27 2014-05-28 北京奇虎科技有限公司 Reading/writing method, device and system of browser setting item
CN103824021A (en) * 2014-02-27 2014-05-28 北京奇虎科技有限公司 Setting method and device of browser setting item

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831358A (en) * 2012-09-21 2012-12-19 北京奇虎科技有限公司 Method and device for preventing homepage tamper
CN103823873A (en) * 2014-02-27 2014-05-28 北京奇虎科技有限公司 Reading/writing method, device and system of browser setting item
CN103824021A (en) * 2014-02-27 2014-05-28 北京奇虎科技有限公司 Setting method and device of browser setting item

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054716A1 (en) * 2015-09-30 2017-04-06 北京奇虎科技有限公司 Method for recognizing hijacked browser and browser
CN110825988A (en) * 2019-11-08 2020-02-21 北京字节跳动网络技术有限公司 Information display method and device and electronic equipment

Also Published As

Publication number Publication date
CN105224653B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN108628751B (en) Useless dependency item detection method and device
CN105160246A (en) Method for identifying hijacked browser and browser
US9876777B2 (en) Method and browser for online banking login
CN106648755B (en) Method and device for dynamically loading dex in android art environment
CN109522500B (en) Webpage display method, device, terminal and storage medium
CN109831351B (en) Link tracking method, device, terminal and storage medium
CN115562992A (en) File detection method and device, electronic equipment and storage medium
CN105354490B (en) Method and equipment for processing hijacked browser
CN110362341B (en) Business management method, device, equipment and storage medium based on micro-service architecture
WO2017054716A1 (en) Method for recognizing hijacked browser and browser
CN112083851A (en) Interface positioning method and device for BIOS (basic input output System) configuration options, server and computer readable storage medium
CN105243134A (en) Method and equipment for processing hijacked browser
CN105224653A (en) Disposal route when a kind of browser is held as a hostage and treatment facility
CN114372256A (en) Application program running method, device, equipment and storage medium
WO2017054731A1 (en) Method and device for processing hijacked browser
CN111240728A (en) Application program updating method, device, equipment and storage medium
CN105160247A (en) Method for identifying hijacked browser
CN111124545A (en) Application program starting method and device, electronic equipment and storage medium
CN116451271A (en) Automatic privacy policy extraction method for application software
CN105357265A (en) Method for identifying state of being hijacked of browser
CN115809193A (en) Front-end reverse abnormal data robustness detection method, device and storage medium
CN105205393A (en) Method and equipment for processing hijacked browser
CN104793957A (en) Method and device for detecting website existing in server and device
WO2014146445A1 (en) Method and system for managing webpage links in a browser
CN108345461B (en) Application updating method and device and computer readable 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
TR01 Transfer of patent right

Effective date of registration: 20220712

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co., Ltd

TR01 Transfer of patent right