CN103824021B - One of the browsers is provided a method and apparatus setting items - Google Patents

One of the browsers is provided a method and apparatus setting items Download PDF

Info

Publication number
CN103824021B
CN103824021B CN 201410069036 CN201410069036A CN103824021B CN 103824021 B CN103824021 B CN 103824021B CN 201410069036 CN201410069036 CN 201410069036 CN 201410069036 A CN201410069036 A CN 201410069036A CN 103824021 B CN103824021 B CN 103824021B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
browser
settings
file
signature
modified
Prior art date
Application number
CN 201410069036
Other languages
Chinese (zh)
Other versions
CN103824021A (en )
Inventor
熊鹏
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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
Grant date

Links

Abstract

本发明公开了一种浏览器设置项的设置方法和装置。 The present invention discloses a method and apparatus for setting browser settings item. 本发明实施例提供的一种浏览器设置项的设置方法,包括:在浏览器的配置文件中建立备份文件,该备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名;浏览器启动时,读取浏览器的配置文件;根据配置文件判断浏览器设置项是否被修改;当浏览器设置项被修改时,利用备份文件设置被修改的浏览器设置项。 A method for setting browser settings according to an embodiment of the present invention, comprising: establishing a backup file in the configuration file browser, the backup file comprising the contents of the browser settings recorded in the configuration file to the browser and generating a signature item; start the browser, the browser reads the configuration file; whether the file has been modified according to the configuration settings determined browser; when the browser settings are modified using the backup file settings are modified browser settings .

Description

一种浏览器设置项的设置方法和装置 One of the browsers is provided a method and apparatus setting items

技术领域 FIELD

[0001] 本发明涉及计算机网络技术领域,特别涉及一种浏览器设置项的设置方法和对浏览器设置项进行设置的装置。 [0001] The present invention relates to computer network technology, and in particular relates to an apparatus for setting browser item setting method of the browser settings and setting items.

背景技术 Background technique

[0002] 基于浏览器设置项可以设置浏览器的很多操作,如浏览器的连接、安全和主页等。 [0002] can set your browser's many operations based browser settings, such as browser connection, security, and home page. 例如,用户可以根据自己需要设定浏览器设置项中的内容,浏览器设置项保存用户的设置, 反映每个用户的喜好,便利了用户的使用。 For example, a user may need to set according to their content in the browser settings, browser settings to save user settings reflect the preferences of each user, the user's convenience.

[0003] 然而,一些软件,如木马或捆绑软件,会在不经过用户同意的情况下,对浏览器设置项自行进行修改,导致浏览器的性能不稳定,为用户的使用造成了不便。 [0003] However, some software, such as Trojans or bundled software, will be without the user's consent, the browser settings items modify, resulting in unstable browser, causing inconvenience to users.

发明内容 SUMMARY

[0004] 鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的浏览器设置项的设置方法和相应的对浏览器设置项进行设置的装置。 [0004] In view of the above problems, the present invention is proposed in order to overcome the above problems or to provide an at least partially solve the browser setting method of setting items corresponding to the above problems and means disposed browser settings.

[0005] 依据本发明的一个方面,本发明实施例提供了一种浏览器设置项的设置方法,包括: [0005] According to one aspect of the present invention, the embodiment of the present invention provides a method of setting the browser setting items, comprising:

[0006] 在浏览器的配置文件中建立备份文件,该备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名; [0006] Create a backup file in the configuration file browser, the backup file comprising a configuration file recorded in the browser settings and content items generated signature key provided to the browser;

[0007] 浏览器启动时,读取浏览器的配置文件; When [0007] the browser starts, it reads the configuration file browser;

[0008] 根据配置文件判断浏览器设置项是否被修改; [0008] It is determined whether the browser settings are modified according to the configuration file;

[0009] 当浏览器设置项被修改时,利用备份文件设置被修改的浏览器设置项。 [0009] When the browser settings are modified using the backup file settings are modified browser settings.

[0010] 其中,上述方法还包括:在选取的一个浏览器设置项中添加为浏览器设置项生成的控制界面,该控制界面上设置有控制接口;接收用户通过控制接口输入的浏览器设置项的数据;根据浏览器设置项的数据更新备份文件中浏览器设置项的内容和浏览器设置项的签名。 [0010] wherein said method further comprises: adding a browser setting item selected in the setting item control interface generated by the browser, provided on the control interface has a control interface; receiving a user through control the browser settings interface input of data; content data according to update the backup file browser settings in your browser settings and browser settings signature.

[0011] 其中,上述根据配置文件判断浏览器设置项是否被修改包括: [0011] wherein the determining browser settings items is modified according to whether or not the configuration file comprises:

[0012] 按照预定算法为配置文件中记录的浏览器设置项生成签名,判断该签名与备份文件中的签名是否一致,若是,确认浏览器设置项没有被修改,若否,确认浏览器设置项被修改。 [0012] Configuration file recorded browser settings to generate the signature, to determine whether the signature backup file signature is consistent with a predetermined algorithm, if confirmed browser setting item is not modified, if not, to confirm the browser settings modified.

[0013] 其中,上述为浏览器设置项生成的签名包括:按照预定算法为一个浏览器设置项生成一个签名;和/或,按照预定算法为多个浏览器设置项生成一个签名。 [0013] wherein said generating comprises setting the signature item for the browser: setting a predetermined algorithm to a signature generation browser item; and / or settings to generate a plurality of browsers for the signature according to a predetermined algorithm.

[0014] 其中,上述根据配置文件判断浏览器设置项是否被修改包括: [0014] wherein the determining browser settings items is modified according to whether or not the configuration file comprises:

[0015] 若备份文件中为第一浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的第一浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,确认第一浏览器设置项被修改;若备份文件中为包括第一浏览器设置项在内的多个浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的多个浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,比较配置文件中记录的第一浏览器设置项的内容与备份文件中第一浏览器设置项的内容是否相同,当相同时,确认第一浏览器设置项没有被修改,当不相同时,确认第一浏览器设置项被修改。 [0015] If the backup file is first browser settings to generate a first signature, in accordance with a predetermined algorithm determines whether the first browser settings recorded in the configuration file generated signature coincide with the first signature, if so, the first acknowledgment browser setting item is not modified, if not, a first acknowledgment browser settings are modified; if the item is provided to generate a first signature for the backup file comprising a first plurality of browsers including the browser settings, it is determined according to a predetermined algorithms for multiple browser profiles settings are recorded in the item generated signatures consistent with the first signature, and if so, confirm the first browser settings item has not been modified, if not, the first browser compares the profile record settings the contents of the backup file of the first content item in the browser settings are the same, when the same, the first browser settings confirmation has not been modified, when not the same, a first acknowledgment browser settings are modified.

[0016] 其中,第一浏览器设置项至少为如下浏览器设置项中的一种: [0016] wherein the first browser item is provided at least one of the browsers in the following settings:

[0017] 主页设置项、默认浏览器设置项、下载设置项、老板键设置项、标签设置项、鼠标手势设置项、快捷键设置项、广告过滤设置项、热键网址设置项、搜索引擎设置项、全屏看图设置项、网页设置项、地址栏设置项和隐私与安全设置项。 [0017] home page settings, default browser settings, download settings, boss key settings, label settings, mouse gestures settings, shortcuts settings, ad filtering settings, URL Hotkey settings, search engine settings term, full-screen Figure settings, page settings, the address bar settings and privacy and security settings.

[0018] 其中,上述根据配置文件判断浏览器设置项是否被修改包括: [0018] wherein the determining browser settings items is modified according to whether or not the configuration file comprises:

[0019] 采用与网络服务器侧的加密算法对应的解密算法对配置文件进行解密,得到解密后的配置文件,其中,配置文件为利用加密算法加密得到的加密文件;根据解密后的配置文件判断浏览器的设置项是否被修改。 [0019] The decryption algorithm encryption algorithm corresponding to the network server side, the configuration file is decrypted, the obtained decrypted profile, wherein the profile to use encrypted file encryption algorithm obtained; Analyzing browser based on the profile decrypted whether to set an item to be modified.

[0020] 其中,上述方法还包括:当检测到第三方软件修改浏览器配置文件中的浏览器设置项时,向用户发送认证码输入提示信息;接收到用户输入的有效认证码时,允许第三方软件修改浏览器设置项,否则,禁止第三方软件修改浏览器设置项。 [0020] wherein said method further comprises: upon detection of the third-party software modify browser settings browser configuration file, transmits the authentication code input prompt information to a user; receiving a valid authentication code input by the user while allowing the first party software to modify your browser settings, or to prohibit third-party software to modify your browser settings.

[0021] 根据本发明的另一方面,本发明实施例提供了一种对浏览器设置项进行设置的装置,包括: [0021] According to another aspect of the present invention, the present invention provides an apparatus for setting browser setting items, comprising:

[0022] 备份文件建立单元,适于在浏览器的配置文件中建立备份文件,该备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名; [0022] The backup file creating unit, adapted to establish a backup file in the configuration file browser, the backup file comprising a configuration file recorded in the browser settings and content items generated signature key provided to the browser;

[0023] 配置文件读取单元,适于浏览器启动时,读取浏览器的配置文件; [0023] Configuration file reading unit, adapted when the browser starts, reads the configuration file browser;

[0024] 判断单元,适于根据配置文件判断浏览器设置项是否被修改; [0024] determination means adapted to set the browser determines whether the item is modified according to the configuration file;

[0025] 设置单元,适于当浏览器设置项被修改时,利用备份文件设置被修改的浏览器设置项。 [0025] The setting unit is adapted when the browser settings are modified using the backup file settings are modified browser settings.

[0026] 其中,备份文件建立单元还包括控制界面生成模块和备份文件更新模块。 [0026] wherein, the backup file creating unit further includes a control interface module, and generating the backup file updating module. 控制界面生成模块,适于在选取的一个浏览器设置项中添加为浏览器设置项生成的控制界面,该控制界面上设置有控制接口。 Generating a control interface module, adapted to add control settings for the browser interface generated by the browser in a chosen setting item in the control interface is provided with a control interface. 备份文件更新模块,适于接收用户通过控制接口输入的浏览器设置项的数据;根据浏览器设置项的数据更新备份文件中浏览器设置项的内容和浏览器设置项的签名。 Backup file updating module, adapted to receive user data via the browser setting item input control interface; set the signature based on the content item and update the backup file browser data browser settings of a browser item setting items.

[0027] 其中,判断单元,适于按照预定算法为配置文件中记录的浏览器设置项生成签名, 判断该签名与备份文件中的签名是否一致,若是,确认浏览器设置项没有被修改,若否,确认浏览器设置项被修改。 [0027] wherein the determination unit in accordance with a predetermined algorithm adapted to record configuration file browser settings to generate a signature, the signature is determined whether the backup file is consistent with the signature, if so, browser settings confirmation has not been modified, if No, sure the browser settings are modified.

[0028] 其中,备份文件建立单元,适于按照预定算法为一个浏览器设置项生成一个签名; 和/或,按照预定算法为多个浏览器设置项生成一个签名。 [0028] wherein, the backup file creating unit, adapted to generate a signature item is provided a browser in accordance with a predetermined algorithm; and / or settings to generate a plurality of browsers for the signature according to a predetermined algorithm.

[0029] 其中,判断单元,适于若备份文件中为第一浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的第一浏览器设置项生成的签名是否与第一签名一致,若是, 确认第一浏览器设置项没有被修改,若否,确认第一浏览器设置项被修改;若备份文件中为包括第一浏览器设置项在内的多个浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的多个浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,比较配置文件中记录的第一浏览器设置项的内容与备份文件中第一浏览器设置项的内容是否相同,当相同时,确认第一浏览器设置项没有被修改,当不相同时,确认第一浏览器设置项被修改。 [0029] wherein the determining means is adapted to set, when the backup file entry generating a first signature, is determined in accordance with a first predetermined algorithm records in file browser configuration setting entry is a signature generated with the first signature into a first browser consistent, if confirmed first browser setting item is not modified, if not, a first acknowledgment browser settings are modified; if the browser includes a first plurality of setting items including the setting items browser to generate a backup file first signature, determining a plurality of records in the file browser configuration settings are consistent with the signature key generated according to a first predetermined signature algorithm, if confirmed first browser setting item is not modified, if not, the comparison profile the contents of the backup file of the first browser settings recorded in a first content browser settings are the same, when the same, the first browser settings confirmation has not been modified, when not the same, the first acknowledgment browser settings are modified.

[0030] 其中,第一浏览器设置项至少为如下浏览器设置项中的一种: [0030] wherein the first browser item is provided at least one of the browsers in the following settings:

[0031] 主页设置项、默认浏览器设置项、下载设置项、老板键设置项、标签设置项、鼠标手势设置项、快捷键设置项、广告过滤设置项、热键网址设置项、搜索引擎设置项、全屏看图设置项、网页设置项、地址栏设置项和隐私与安全设置项。 [0031] home page settings, default browser settings, download settings, boss key settings, label settings, mouse gestures settings, shortcuts settings, ad filtering settings, URL Hotkey settings, search engine settings term, full-screen Figure settings, page settings, the address bar settings and privacy and security settings.

[0032] 其中,判断单元,适于采用与网络服务器侧的加密算法对应的解密算法对配置文件进行解密,得到解密后的配置文件,其中,配置文件为利用加密算法加密得到的加密文件;根据解密后的配置文件判断浏览器的设置项是否被修改。 [0032] wherein the determination unit is adapted to use a decryption algorithm corresponding to the encryption algorithm of the server side and the network configuration file is decrypted, the decrypted profile obtained, wherein the configuration file for the encrypted file using the obtained encryption algorithm; according decrypted configuration file to determine whether the browser settings are modified.

[0033] 其中,上述装置还包括修改控制单元,适于当检测到第三方软件修改浏览器配置文件中的浏览器设置项时,向用户发送认证码输入提示信息;接收到用户输入的有效认证码时,允许第三方软件修改浏览器设置项,否则,禁止第三方软件修改浏览器设置项。 [0033] wherein said modifying means further comprises a control unit adapted to detect when the third party software to modify browser settings in the configuration file browser, the authentication code input prompt transmitting information to a user; receiving a user input of a valid authentication when code that allows third-party software to modify your browser settings, or to prohibit third-party software to modify your browser settings.

[0034]由上所述,本发明实施例通过在浏览器的配置文件中建立备份文件,利用配置文件判断浏览器设置项是否被修改的技术手段,能够在浏览器启动时识别出浏览器设置项是否被修改;而通过利用备份文件设置被修改的浏览器设置项的技术手段,能够将被修改的浏览器设置项的内容恢复至备份文件中保存的所期望的内容,从而解决了现有技术中浏览器设置项能被其他软件随意修改的问题,保护了浏览器设置项的安全,增强了浏览器性能的稳定性,便利了用户的使用。 [0034] From the above embodiment, the present invention by creating a backup file in the configuration file browser, using the configuration file is determined whether the browser settings are modified technical means can recognize the browser when the browser is arranged to start whether the item is modified; and the setting is modified techniques browser settings by using the backup file, the contents can be modified browser settings restored to save the backup file in the desired content, thereby solving the existing technical browser settings other issues can be free to modify the software to protect the security of the browser settings, and enhance the stability of the performance of the browser, the user's convenience.

[0035]上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段, 而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。 [0035] The above description is only an overview of the technical solution of the present invention, in order to more fully understood from the present invention, but may be implemented in accordance with the contents of the specification, and in order to make the aforementioned and other objects, features and advantages of the present invention can be more apparent from the following specific embodiments cite Patent of the present invention.

附图说明 BRIEF DESCRIPTION

[0036] 通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。 [0036] By reading the following detailed description of preferred embodiments Hereinafter, a variety of other advantages and benefits to those of ordinary skill in the art will become apparent. 附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。 The drawings are only for purposes of illustrating a preferred embodiment and are not to be considered limiting of the present invention. 而且在整个附图中,用相同的参考符号表示相同的部件。 But throughout the drawings, like parts with the same reference symbols. 在附图中: In the drawings:

[0037] 图1示出了根据本发明一个实施例的一种浏览器设置项的设置方法流程图; [0037] FIG. 1 shows a flowchart of a method of setting a browser embodiment of the present invention of setting items;

[0038] 图2示出了根据本发明一个实施例的一种主页设置项、默认浏览器设置项、下载设置项和老板键设置项的详细信息示意图; [0038] FIG. 2 shows an example of one kind of home settings embodiment of the present invention, the default browser settings, a schematic diagram of details and downloading settings boss key setting items;

[0039] 图3示出了根据本发明一个实施例的一种标签设置项的详细信息示意图; [0039] FIG. 3 shows a schematic view of details according to one embodiment of a tag set entry of the present invention;

[0040] 图4示出了根据本发明一个实施例的一种鼠标手势设置项的详细信息示意图; [0040] FIG. 4 shows a schematic view of details of the setting items in accordance with one embodiment a mouse gesture embodiment of the present invention;

[0041] 图5示出了根据本发明一个实施例的一种快捷键设置项的详细信息示意图; [0041] FIG. 5 shows a schematic view of details of the embodiment according to one embodiment of the present invention, a shortcut setting item;

[0042] 图6示出了根据本发明一个实施例的一种广告过滤设置项的详细信息示意图; [0042] FIG. 6 shows a schematic view of details according to one embodiment of the present invention, an advertising filter setting items embodiment;

[0043] 图7示出了根据本发明一个实施例的一种热键网址设置项的详细信息示意图; [0044]图8示出了根据本发明一个实施例的一种搜索引擎设置项和全屏看图设置项的详细信息示意图; [0043] FIG. 7 shows a schematic view of details of the setting items in accordance with one embodiment of the present a hotkey URL invention; [0044] FIG 8 illustrates a search engine settings and a full-screen embodiment of the present invention Figure schematic details of setting items;

[0045] 图9示出了根据本发明一个实施例的一种网页设置项、地址栏设置项和隐私与安全设置项的详细信息示意图; [0045] FIG. 9 shows a setting item on the page in accordance with one embodiment of the present invention, and a schematic view of the setting item column address details of privacy and security settings;

[0046] 图10示出了根据本发明又一个实施例的一种浏览器设置项的设置方法流程图; [0046] FIG. 10 shows a flowchart of a method for setting the browser setting items embodiment according to yet another embodiment of the present invention;

[0047]图11示出了根据本发明一个实施例的对浏览器设置项进行设置的装置的结构示意图。 [0047] FIG. 11 shows a schematic structure of an apparatus provided in accordance with browser settings to an embodiment of the present invention.

具体实施方式 Detailed ways

[0048] 下面将参照附图更详细地描述本公开的示例性实施例。 [0048] The following exemplary embodiments of the present disclosure will be described in more detail with reference to the drawings. 虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。 While the exemplary embodiment shows an exemplary embodiment of the present disclosure in the drawings, it should be understood that the present disclosure may be implemented embodiments and should not be set forth herein to limit in various forms. 相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。 Rather, these embodiments are able to more thorough understanding of the present disclosure, and the scope of the present disclosure can be completely conveying to those skilled in the art.

[0049] 本发明一个实施例提供了一种浏览器设置项的设置方法,参见图1,包括如下步骤S100至S103: [0049] An embodiment of the present invention provides a method of setting the browser settings, see Fig 1, comprising the steps of S100 to S103:

[0050] S100:在浏览器的配置文件中建立备份文件,该备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名。 [0050] S100: create a backup file in a browser's configuration file, the backup file includes a content browser settings recorded in the configuration file and set the generated signature item for the browser.

[0051] 浏览器设置项保存在浏览器的一个配置文件中,如该配置文件可以是命名为"preferences"的文件,配置文件的位置在浏览器的安装目录下。 [0051] The browser is set in the browser item stored in a configuration file, if the configuration file may be named as "preferences" of the file, and the installation configuration file in the directory browser.

[0052] 本实施例的配置文件中包括各浏览器设置项和备份文件,而备份文件中又包括与配置文件中的浏览器设置项相同的浏览器设置项,从而当配置文件中的浏览器设置项被修改时,可以利用备份文件中的浏览器设置项的内容来恢复配置文件中被修改的浏览器设置项。 [0052] Profiles of the present embodiment including the browser settings and the backup file and the backup file also includes the same browser settings item in the configuration file browser settings, so that when the configuration file browser when the settings are modified, you can use the backup files in the browser settings content items to restore the configuration file is modified browser settings.

[0053] 除了浏览器设置项,备份文件中还包括了为浏览器设置项生成的签名,以利用该签名判断浏览器设置项是否被修改。 [0053] In addition to the browser settings, further comprising a backup file settings for the browser to generate a signature, the signature is determined whether to use the browser settings are modified.

[0054] 本实施例提供的一个配置文件的示例,可以如下: [0054] Example of a configuration file provided in the present embodiment, may be as follows:

[0055] [0055]

Figure CN103824021BD00081

[0056] [0056]

Figure CN103824021BD00091

[0057] 上述示例仅仅示出了配置文件中可以包括的部分浏览器设置项,以及备份文件(backup) 的一部分,如备份文件中记录了浏览器设置项"check_default_browser"的内容为真(true), "check_default_browser" 的签名为"VToBSL4FudkTaDGjYynRx3wxX7uks2i9pSTIYMQpoZI 一" 一〇 [0057] The above example shows only a portion of part of the browser settings, and backup files (Backup) configuration files may be included, such as backup file recorded browser settings "check_default_browser" content is true (true) , "check_default_browser" the signature "VToBSL4FudkTaDGjYynRx3wxX7uks2i9pSTIYMQpoZI a" ten

[0058] 浏览器设置项的签名为按照预定算法对浏览器设置项的内容进行计算得到的。 [0058] Signature browser settings for the browser settings for content items is calculated in accordance with a predetermined algorithm. 本实施例对该预定算法不进行具体限定,例如,该预定算法可以为哈希算法、MD5 (Message Digest Algorithm,消息摘要算法第五版)算法等。 The present embodiment does not specifically define the predetermined algorithm, e.g., the algorithm may be a predetermined hash algorithm, MD5 (Message Digest Algorithm, Fifth Edition message digest algorithm) algorithm.

[0059] 本实施例可以采用如下一种或两种方式在备份文件中为浏览器设置项生成签名: [0059] The present embodiment may employ one or both of the following items to generate the signature is provided in the backup file browser:

[0060] 方式一、按照预定算法为一个浏览器设置项生成一个签名。 [0060] one embodiment, is provided to generate a signature for the item browser according to a predetermined algorithm. 这种方式,每一个浏览器设置项对应一个签名,通过对该浏览器设置项的签名进行判断,即可判断出该浏览器设置项是否被修改。 In this manner, each of the setting items corresponding to a browser signature, judged by the signature of the browser settings, this can be judged whether the browser settings are modified.

[0061] 方式二、按照预定算法为多个浏览器设置项生成一个签名。 [0061] Mode 2 is provided to generate a signature item for the plurality of browser according to a predetermined algorithm. 这种方式,多个浏览器设置项对应一个签名,通过该签名只能判断出浏览器设置项发生了修改,需要进一步比对单个浏览器的内容,来判断出具体是哪一个浏览器设置项被修改了。 In this manner, a plurality of setting items corresponding to the browser a signature, the signature can only be judged by the browser setting items have changes, the need for further alignment of the contents of a single browser, which is to determine the specific browser settings It is modified.

[0062] S101:浏览器启动时,读取浏览器的配置文件。 [0062] S101: When the browser starts, reads the configuration file browser.

[0063] 浏览器启动时,从浏览器的安装目录下读取出浏览器的配置文件,该配置文件包括备份文件。 [0063] When the browser starts, reads the directory from the installed browser is a browser profile, the profile comprising a backup file.

[0064] S102:根据配置文件判断浏览器设置项是否被修改。 [0064] S102: The profile is being modified browser settings items is determined.

[0065] 按照预定算法(该预定算法为与生成备份文件中的签名时采用的算法相同的算法)为配置文件中记录的浏览器设置项生成签名,判断该签名与备份文件中的签名是否一致,若是,确认浏览器设置项没有被修改,若否,确认浏览器设置项被修改。 If [0065] in accordance with a predetermined algorithm (the predetermined algorithm is the same algorithm as that used when generating the backup file signature) profile record browser settings to generate the signature, determining that the signature in the backup file is a signed agreement If so, confirm browser settings item has not been modified, if not, make sure your browser settings are modified.

[0066] 在确定具体是哪一个浏览器设置项被修改时,根据备份文件中签名的不同生成方式,至少具有如下两种处理方法一: [0066] In particular when determining which browser settings are modified, depending on the embodiment generates the backup file signatures, having at least the following two processing methods a:

[0067] 方法一:若备份文件中为第一浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的第一浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,确认第一浏览器设置项被修改; [0067] Method a: if the first browser settings to generate a first signature, the browser is determined as a first recorded profile according to a predetermined algorithm to generate a backup file for the entry of the signature is consistent with the first signature, if so, first browser settings confirmation has not been modified, if not, a first acknowledgment browser settings are modified;

[0068] 方法二:若备份文件中为包括第一浏览器设置项在内的多个浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的多个浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,比较配置文件中记录的第一浏览器设置项的内容与备份文件中第一浏览器设置项的内容是否相同,当相同时,确认第一浏览器设置项没有被修改,当不相同时,确认第一浏览器设置项被修改。 [0068] Method two: If the item is provided to generate a first signature for the backup file comprising a first plurality of browsers including the browser settings, determining a plurality of browsers in the configuration file recorded in accordance with a predetermined algorithm settings generated whether the signature is consistent with the first signature, and if so, confirm the first browser settings item has not been modified, if not, the contents of the backup file first browser settings files recorded in the first browser settings configuration comparison They are the same, when the same, the first browser settings confirmation has not been modified, when not the same, a first acknowledgment browser settings are modified.

[0069] 上述第一浏览器设置项为任一个浏览器设置项,例如,第一浏览器设置项至少为如下浏览器设置项中的一种: [0069] The first browser settings to any one of the browser settings, e.g., browser settings of at least the first as a browser in the following settings:

[0070] 主页(homepage)设置项、默认浏览器设置项、下载设置项、老板键设置项、标签设置项、鼠标手势设置项、快捷键设置项、广告过滤设置项、热键网址设置项、搜索引擎设置项、全屏看图设置项、网页设置项、地址栏设置项和隐私与安全设置项。 [0070] home page (homepage) settings, the default browser settings, download settings, boss key settings, label settings, mouse gestures settings, shortcuts settings, ad filtering settings, URL Hotkey settings, Search engine settings, full-screen Figure settings, page settings, the address bar settings and privacy and security settings.

[0071] 本实施例提供的一种主页设置项、默认浏览器设置项、下载设置项和老板键设置项的详细信息可以参见图2,例如,下载设置项可以包括如下各设置项: [0071] A home settings provided in the present embodiment, the default browser setting items, setting items and details download boss key settings may see FIG. 2, for example, downloading the respective setting items may include setting items:

[0072] 默认下载工具、下载内容保存位置、是否下载前询问每个文件的保存位置、是否使用上次下载目录、是否直接打开文件后保留已下载文件、当下载apk类型文件时是否询问一键安装到手机、是否使用迅雷下载加速模块、新建下载后是否显示下载窗口、任务下载完成后是否播放提示音。 [0072] the default download tool Download location, whether before downloading Ask where to save each file, whether to use the last download directory, whether directly open the file and retain the downloaded files, download the apk file types when asked whether a key installed to the phone, whether to use Thunder download acceleration module, whether to display whether to play a tone after the download window, the download is complete new download task.

[0073] 参见图3,示出了一种标签设置项的详细信息示意图。 [0073] Referring to Figure 3, a schematic diagram showing details A label setting items. 例如,标签设置项包括如下各设置项:新建标签、关闭标签、标签显示效果和鼠标在标签栏滚动。 For example, the label settings comprises for each setting item: new label, the label off, and display label on mouse scroll bar tab.

[0074] 图4示出了一种鼠标手势设置项的详细信息示意图。 [0074] FIG. 4 shows a schematic diagram of details of one kind of mouse gesture settings. 图5示出了一种快捷键设置项的详细信息示意图。 FIG. 5 shows a schematic diagram of details of a shortcut key set. 图6示出了一种广告过滤设置项的详细信息示意图。 Figure 6 shows a schematic view of details advertisement filtering settings. 其中,广告过滤设置项包括如下各设置项:拦截模式和例外排除。 Wherein the ad filter settings for each setting item comprising: intercept mode and negative exceptions. 图7示出了一种热键网址设置项的详细信息示意图。 Figure 7 shows a schematic diagram of details of one kind of setting item URLs hotkey.

[0075] 图8示出了一种搜索引擎设置项和全屏看图设置项的详细信息示意图,其中,搜索引擎设置项至少包括如下设置项:地址栏搜索引擎是否与搜索栏一致、是否在被选中文本的右上角显示"360搜索划词工具条"和是否启用搜索栏的热搜词推荐功能。 [0075] FIG. 8 shows a schematic details for searching and full engine settings Figure setting items, wherein the search engine comprises at least the following setting item setting items: the address field is consistent with the search engine search bar, whether being the upper right corner of the selected text display "360 zoned word search toolbar" and whether to enable the search bar of hot search word recommendation function. 全屏看图设置项至少包括如下设置项:是否在图片右上角显示工具栏、是否在网页包含多张大图时弹出全屏看图提示条、是否在图片左下角播放炫图和是否启动快速保存图片功能等。 Full screen Figure Set items include at least the following settings: whether to display the toolbar at the top right of the picture, whether the pop chart contains multiple full-screen plug-queen bar when prompted on the page, whether in the lower left corner of the picture and whether to start playing hyun map Quick save the picture function Wait.

[0076] 图9示出了一种网页设置项、地址栏设置项和隐私与安全设置项的详细信息示意图。 [0076] FIG. 9 shows a settings page, the address bar details and security settings and privacy settings of FIG. 其中,网页设置项至少包括如下设置项:是否显示视频独立播放提示和拖放选中的文字时是否使用搜索引擎搜索等。 Among them, the page settings include at least the following settings: whether whether to use search engines and other independent video playback and drag and drop selected text prompts.

[0077] 其中,当配置文件为由网络服务器侧的加密算法加密得到的加密文件时,步骤S102还包括:采用与网络服务器侧的加密算法对应的解密算法对配置文件进行解密,得到解密后的配置文件;根据解密后的配置文件判断浏览器的设置项是否被修改。 [0077] wherein, when the configuration file by encrypting the file encryption algorithm obtained the network server side, the step S102 further comprising: using the encryption algorithm and decryption algorithm corresponding to the network server side decrypts the configuration file, obtained after the decryption profile; Analyzing browser settings decrypted based on the profile is being modified. 上述加密算法可以采用非对称算法,如RSA算法,浏览器与网络服务器分别生成公私钥对,并通过浏览器和网络服务器之间的交互,将自己的公钥发送给对方;或者,上述加密算法也可以采用对称算法,如DES算法,3DES算法等。 The cryptographic algorithm may be an asymmetric algorithm such as the RSA algorithm, the browser and the network server generates public and private key pair, and by the interaction between the browser and the web server will send its public key to the other; Alternatively, the encryption algorithm symmetric algorithms such as DES algorithm, 3DES algorithm may also be used. 通过这种方式,只有成功解密配置文件才能对浏览器设置项进行修改,进一步保护了浏览器设置项。 In this way, only the successful decryption of configuration file to modify your browser settings to further protect the browser settings.

[0078] S103:当浏览器设置项被修改时,利用备份文件设置被修改的浏览器设置项。 [0078] S103: When the browser settings are modified, use the backup file settings are modified browser settings.

[0079] 用备份文件中保存的浏览器设置项的内容替换被修改的浏览器设置项的内容。 [0079] Content Browser settings saved with the backup file is replaced with modified browser settings content.

[0080] 进一步的,本实施例的技术方案可以根据需要对备份文件中保存的浏览器设置项的内容进行更新,例如,允许用户对备份文件中浏览器设置项的内容进行设定,则本实施例在选取的一个浏览器设置项中添加为浏览器设置项生成的控制界面,该控制界面上设置有控制接口,例如,参见图2至图9所示,在浏览器设置项"选项"中,增加了对各浏览器设置项的控制界面,并为每个浏览器设置项增加了用于勾选或输入数据的控制接口。 [0080] Further, the technical solution of the present embodiment may be required to save the contents of the backup file browser settings update, for example, allows a user to backup the contents of the file browser setting items is set, then the present in one embodiment, browser settings to add items to select items in the control interface is provided for generating a browser, provided with a control interface to the control interface, e.g., see FIG. 2 to FIG. 9, the browser setting item "options" , increasing the control interface browser settings for each item, and adds a check or control interface for each input data item browser settings. 浏览器接收用户通过控制接口输入的浏览器设置项的数据;浏览器根据输入的浏览器设置项的数据更新备份文件中浏览器设置项的内容和浏览器设置项的签名。 Browser receives a user data through the control interface of the browser settings input; browser settings according to the contents and signature items browser update the backup data file browser setting item input browser setting items. 通过控制界面,用户还可以选取需要对哪些浏览器设置项进行保护,本实施例的技术方案可以应用于所有浏览器设置项,可以仅应用于部分浏览器设置项。 Through the control interface, the user can also select which need to be protected browser settings pair technical solution of this embodiment may be applied to all the browser settings, it may be applied to only part of the browser settings.

[0081] 进一步的,上述方法还包括:当检测到第三方软件修改浏览器配置文件中的浏览器设置项时,向用户发送认证码输入提示信息;接收到用户输入的有效认证码时,允许第三方软件修改浏览器设置项,否则,禁止第三方软件修改浏览器设置项。 [0081] Further, said method further comprising: upon detection of the third-party software modify browser settings browser configuration file, transmits the authentication code input prompt information to a user; receiving a valid authentication code input by the user when the permit Third-party software to modify your browser settings, or to prohibit third-party software to modify your browser settings. 例如,对修改手机浏览器或者PC浏览器中的浏览器选项的场景,当检测到第三方软件修改浏览器设置项时,浏览器通过网络向浏览器用户的手机发送认证码输入提示信息(如短信),提示用户输入用于修改浏览器设置项的认证码,当浏览器在预定时间内接收到正确的验证码时,确认收到有效的认证码,允许第三方软件对浏览器设置项的修改,当浏览器没有收到有效的认证码时, 禁止任何软件修改浏览器设置项。 For example, the scene browser options modify the phone browser or PC browser, upon detection of a third-party software to modify your browser settings, the browser prompt for mobile phones to send information through the network authentication code to the user's browser (such as SMS), prompts the user authentication code for modifying settings of the browser, when the browser receives the correct validation code within a predetermined time, to confirm receipt of a valid authentication code, allowing third party software to the browser settings changes when the browser does not receive a valid authentication code, prohibiting any software changes browser settings.

[0082] 由上所述,本发明实施例通过在浏览器的配置文件中建立备份文件,利用配置文件判断浏览器设置项是否被修改的技术手段,能够在浏览器启动时识别出浏览器设置项是否被修改;而通过利用备份文件设置被修改的浏览器设置项的技术手段,能够将被修改的浏览器设置项的内容恢复至备份文件中保存的所期望的内容,解决了现有技术中浏览器设置项能被其他软件随意修改的问题,保护了浏览器设置项的安全,增强了浏览器性能的稳定性,便利了用户的使用。 [0082] From the above embodiment, the present invention by creating a backup file in the configuration file browser, using the configuration file is determined whether the browser settings are modified technical means can recognize the browser when the browser is arranged to start whether the item is modified; and the setting is modified techniques browser settings by using the backup file, the contents can be modified browser settings restored to save the backup file in the desired content, to solve the prior art browser settings can be free to modify other software issues, protecting the browser security settings, and enhance the stability of the performance of the browser, the user's convenience.

[0083] 本发明又一个实施例以主页设置项的修改场景为例来说明。 [0083] Yet another embodiment of the present invention to modify the scene home setting items will be described as an example. 若用户将配置文件中主页设置项的内容设置为"a. com",则在备份文件中也会记录主页设置项的内容为"a. com",并根据该主页设置项的内容生成签名。 If the user profile settings the contents of the home page is set to "a. Com", then in the backup file also records the contents of the home page settings for the "a. Com", and generate a signature based on the contents of the home page setting item.

[0084] 参见图10,本实施例提供的一种浏览器设置项的设置方法包括如下步骤: [0084] Referring to FIG. 10, the browser is provided a method of setting items according to this embodiment comprises the steps of:

[0085] S1000:浏览器启动,读取配置文件。 [0085] S1000: browser starts, reads the configuration file.

[0086] S1001:判断配置文件是否读取成功,若是,进入步骤S1002,若否,结束操作。 [0086] S1001: determining whether to read the configuration file successful, if yes, entering step S1002, and if not, the operation ends.

[0087] S1002:校验备份文件中的签名。 [0087] S1002: check the backup file signature.

[0088] 按照预定算法对读取出的配置文件中浏览器配置项的内容进行计算,得到计算结果,判断该计算结果与备份文件中对应浏览器设置项的签名是否相同。 [0088] in accordance with a predetermined algorithm to read the contents of the configuration file browser CI calculations, the results obtained, it is judged that the calculation results corresponding to the browser setting items in the backup file is the same signature.

[0089] S1003:判断签名是否校验成功。 [0089] S1003: to determine whether the signature verification was successful.

[0090] 当上述计算结果与备份文件中的相应签名相同时,判定签名校验成功,确定浏览器设置项没有被修改,结束操作。 [0090] When the above calculation result with the signature corresponding backup file are the same, the signature verification is successful determination determining browser setting item is not modified, the operation ends. 当上述计算结果与备份文件中的相应签名不相同时,判定签名校验失败,确定浏览器设置项被修改,进入步骤S1004。 When the above calculation result with the signature corresponding backup files are not the same, determines the signature verification fails, to determine the browser settings are modified, proceeds to step S1004.

[0091] 在浏览器关闭后,若其他软件修改了配置文件中的主页设置项(即preferences中的homepage),则浏览器启动后,按照预定算法对配置文件中的主页设置项进行计算,得到的计算结果会与备份文件中主页设置项的签名不相同,从而通过步骤S1003的判断,可以识别出主页设置项被修改了。 After [0091] after the browser is closed, if additional software to modify the page settings in the configuration file (i.e., preferences in Homepage), the browser starts, calculates profile page setting items in accordance with a predetermined algorithm, the result of the calculation with the signature page in the backup file settings are not the same, so that by the determining step S1003, the setting item can be identified page is modified.

[0092]需要说明的是,在浏览器运行期间,其他软件不会对浏览器的配置文件进行实质修改。 [0092] It should be noted that, during the browser to run other software does not substantive changes to the configuration file browser. 这是由于浏览器在启动时将配置文件中的数值读到内存中了,运行过程中不会再读取该数值,在浏览器关闭时,将内存中的值写回到配置文件,所以其他软件对配置文件的修改不会起作用。 This is because the value of the browser on startup configuration file into memory, and during operation will not read the number, when the browser is closed, the value is written back to the memory of the configuration file, so other the software will not work to modify the configuration file.

[0093] S1004:判断主页设置项是否被修改。 [0093] S1004: to determine whether the home page settings are modified.

[0094] 当备份文件中为所有需保护的浏览器设置项生成一个签名,或者,备份文件中为包括主页设置项在内的多个浏览器设置项生成一个签名时,判定浏览器设置项发生了修改操作之后,还需要继续比较配置文件中的主页设置项的内容与备份文件中的主页设置项的内容是否相同,判断主页设置项是否被修改,即比较preferences中的homepage和backup中的homepage的值是否相等,若两者的值相同,则说明主页设置项被修改了,进入步骤S1005; 若两者的值不同,则说明主页设置项没有修改。 [0094] When all the backup files to be protected browser settings to generate a signature, or a backup file when settings including the home, including multiple browser settings to generate a signature, determine browser settings occur after modification operations, also need to continue comparing configuration contents of the backup files in a home setting items in the home setting items are the same, to determine whether the home page settings are modified, that is relatively preferences of the homepage and backup of homepage the values ​​are equal, if both values ​​are identical, the home page has been edited, the process proceeds to step S1005; if both values ​​differ, a home setting item not modified.

[0095] S1005:用备份文件中的相应数据替换被修改了主页配置项。 [0095] S1005: Replace with the corresponding data backup file page is modified configuration item.

[0096] 用备份文件中的数据将浏览器的主页设置为用户设定或默认的主页(如a.com), 达到了阻止其他软件为了经济利益或别的目的,随意修改浏览器主页的目的。 [0096] data in the backup file to the browser's home page to the user or set the default home page (such as a.com), reaching prevent other software for financial gain or other purposes, free to modify the purpose browser home page .

[0097] 本发明又一个实施例提供了一种对浏览器设置项进行设置的装置,参见图11,该装置包括备份文件建立单元111、配置文件读取单元112、判断单元113和设置单元114。 [0097] Yet another embodiment of the present invention provides an apparatus for setting browser settings, see FIG. 11, the apparatus comprising a backup file creating unit 111, the configuration file reading unit 112, judgment unit 113 and the setting unit 114 . 可选的,该装置还可以包括修改控制单元115。 Optionally, the apparatus may further include modifying the control unit 115. 下面分别对这些单元进行说明。 Next, each of these units will be described.

[0098] 备份文件建立单元111,适于在浏览器的配置文件中建立备份文件,该备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名。 [0098] a backup file creating unit 111, adapted to establish a backup file in the configuration file browser, the backup file comprising the contents of the browser settings recorded in the configuration file and the generated signature key provided to the browser. 其中,备份文件建立单元111还包括控制界面生成模块和备份文件更新模块。 Wherein the backup file creating unit 111 further includes a control interface module, and generating the backup file updating module. 控制界面生成模块,适于在选取的一个浏览器设置项中添加为浏览器设置项生成的控制界面,该控制界面上设置有控制接口。 Generating a control interface module, adapted to add control settings for the browser interface generated by the browser in a chosen setting item in the control interface is provided with a control interface. 备份文件更新模块,适于接收用户通过控制接口输入的浏览器设置项的数据;根据浏览器设置项的数据更新备份文件中浏览器设置项的内容和浏览器设置项的签名。 Backup file updating module, adapted to receive user data via the browser setting item input control interface; set the signature based on the content item and update the backup file browser data browser settings of a browser item setting items. 具体的,备份文件建立单元111,适于按照预定算法为一个浏览器设置项生成一个签名;和/或, 按照预定算法为多个浏览器设置项生成一个签名。 Specifically, the backup file creating unit 111, adapted to generate a signature item is provided a browser in accordance with a predetermined algorithm; and / or settings to generate a plurality of browsers for the signature according to a predetermined algorithm.

[0099] 配置文件读取单元112,适于浏览器启动时,读取浏览器的配置文件。 [0099] Configuration file reading unit 112, adapted when the browser starts, reads the configuration file browser.

[0100] 判断单元113,适于根据配置文件判断浏览器设置项是否被修改。 [0100] determination unit 113, adapted to judge whether the browser settings are modified according to the configuration file. 其中,判断单元113,适于按照预定算法为配置文件中记录的浏览器设置项生成签名,判断该签名与备份文件中的签名是否一致,若是,确认浏览器设置项没有被修改,若否,确认浏览器设置项被修改。 Wherein the determining unit 113, adapted to generate a signature for the configuration settings recorded in the file browser according to a predetermined algorithm, to determine whether the signature is consistent backup file signature, if so, browser settings confirmation has not been modified, if not, confirm your browser settings are modified. 其中,判断单元113,适于若备份文件中为第一浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的第一浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,确认第一浏览器设置项被修改;若备份文件中为包括第一浏览器设置项在内的多个浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的多个浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,比较配置文件中记录的第一浏览器设置项的内容与备份文件中第一浏览器设置项的内容是否相同,当相同时,确认第一浏览器设置项没有被修改,当不相同时,确认第一浏览器设置项被修改。 Wherein the determining unit 113, if the backup file is adapted to first browser that is set to generate a first signature, is determined in accordance with a first predetermined algorithm records in file browser configuration setting items generated signature is consistent with the first signature, If confirmed first browser setting item is not modified, if not, a first acknowledgment browser settings are modified; if the backup file browser including a first plurality of setting items including the setting items to generate a first browser signature, determining whether the item is provided to generate a first signature coincides with the signature of a plurality of browser profiles recorded in accordance with a predetermined algorithm, if confirmed first browser setting item is not modified, if not, the configuration file recorded in comparison first browser settings content and the contents of the backup file first browser settings are the same, when the same, the first browser settings confirmation is not modified, when the same is not confirmed first browser settings modified. 其中,第一浏览器设置项至少为如下浏览器设置项中的一种: Wherein the first browser item is provided at least one of the browsers is provided in the following items:

[0101] 主页设置项、默认浏览器设置项、下载设置项、老板键设置项、标签设置项、鼠标手势设置项、快捷键设置项、广告过滤设置项、热键网址设置项、搜索引擎设置项、全屏看图设置项、网页设置项、地址栏设置项和隐私与安全设置项。 [0101] home page settings, default browser settings, download settings, boss key settings, label settings, mouse gestures settings, shortcuts settings, ad filtering settings, URL Hotkey settings, search engine settings term, full-screen Figure settings, page settings, the address bar settings and privacy and security settings.

[0102] 其中,判断单元113还适于采用与网络服务器侧的加密算法对应的解密算法对配置文件进行解密,得到解密后的配置文件,其中,配置文件为利用加密算法加密得到的加密文件;根据解密后的配置文件判断浏览器的设置项是否被修改。 [0102] wherein the determination unit 113 is further adapted to use an encryption algorithm and a decryption algorithm corresponding to the network server-side configuration file is decrypted, the decrypted profile obtained, wherein the configuration file for the encrypted file using the obtained encryption algorithm; It is being modified according to the decrypted configuration file to determine settings of the browser.

[0103] 设置单元114,适于当浏览器设置项被修改时,利用备份文件设置被修改的浏览器设置项。 [0103] setting unit 114, adapted when the browser settings are modified using the backup file settings are modified browser settings. 用备份文件中相应浏览器设置项的内容替换被修改的浏览器设置项的内容。 Alternatively modified browser content items provided with a respective backup file settings of the browser content.

[0104] 修改控制单元115,适于当检测到第三方软件修改浏览器配置文件中的浏览器设置项时,向用户发送认证码输入提示信息;接收到用户输入的有效认证码时,允许第三方软件修改浏览器设置项,否则,禁止第三方软件修改浏览器设置项。 [0104] modified control unit 115, adapted to detect when the third-party software modify browser settings browser configuration file, transmits the authentication code input prompt information to the user; upon receiving a valid authentication code input by the user, allowing the first party software to modify your browser settings, or to prohibit third-party software to modify your browser settings.

[0105] 本发明装置实施例中各单元的具体工作方式可以参见本发明方法实施例中的相关内容,在此不再赘述。 [0105] device of the present invention works in the specific embodiment of each unit may refer to the method of the present invention in embodiments related content, which is not repeated herein.

[0106] 由上所述,本发明实施例通过在浏览器的配置文件中建立备份文件,利用配置文件判断浏览器设置项是否被修改的技术手段,能够在浏览器启动时识别出浏览器设置项是否被修改;而通过利用备份文件设置被修改的浏览器设置项的技术手段,能够将被修改的浏览器设置项的内容恢复至备份文件中保存的所期望的内容,解决了现有技术中浏览器设置项能被其他软件随意修改的问题,保护了浏览器设置项的安全,增强了浏览器性能的稳定性,便利了用户的使用。 [0106] From the above embodiment, the present invention by creating a backup file in the configuration file browser, using the configuration file is determined whether the browser settings are modified technical means can recognize the browser when the browser is arranged to start whether the item is modified; and the setting is modified techniques browser settings by using the backup file, the contents can be modified browser settings restored to save the backup file in the desired content, to solve the prior art browser settings can be free to modify other software issues, protecting the browser security settings, and enhance the stability of the performance of the browser, the user's convenience.

[0107] 在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。 [0107] The algorithms and displays are not provided, the virtual system or other device inherently related to any particular computer. 各种通用系统也可以与基于在此的示教一起使用。 Various general-purpose systems may also be used with the teachings herein based. 根据上面的描述,构造这类系统所要求的结构是显而易见的。 According to the above description, the configuration of such a system requires a structure will be apparent. 此外,本发明也不针对任何特定编程语言。 Further, the present invention is not to any particular programming language. 应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。 It should be appreciated that a variety of programming languages ​​may be utilized to achieve the present invention described herein, the above description and specific language is made to the disclosure of preferred embodiments of the present invention.

[0108] 在此处所提供的说明书中,说明了大量具体细节。 [0108] In the description provided herein, numerous specific details are described. 然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。 However, it can be understood that the embodiments of the present invention may be practiced without these specific details. 在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。 In some examples, not shown in detail in well-known methods, structures and techniques, so as not to obscure the understanding of this description.

[0109] 类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。 [0109] Similarly, it should be understood that the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects in the description of exemplary embodiments of the present invention, various features of the invention are sometimes grouped into a single together embodiment, FIG, or the description thereof. 然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。 However, the methods disclosed herein should not be interpreted as reflecting an intention: that the claimed invention requires more features than in each of the claims expressly recited. 更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。 More specifically, as reflected in the book as the following claims, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. 因此, 遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。 Thus, the claims following the specific embodiments are hereby incorporated into this Detailed Description explicitly, with each claim itself as a separate embodiment of the present invention.

[0110] 本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。 [0110] Those skilled in the art can understand may be made to change adaptively embodiment device module and provided them with one or more devices different from this embodiment of the. 可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。 The embodiments may be modules or units into one module or component or components or units, and in addition they can be divided into a plurality of sub-modules or sub-units or sub-assemblies. 除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。 Any method other than such features and / or process, or at least some of the units are mutually exclusive, any combination of the present specification (including the accompanying claims, abstract and drawings) All of the features disclosed in, or disclosed herein and such All process units or equipment combination. 除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。 Unless expressly stated otherwise, each feature of the present specification (including the accompanying claims, abstract and drawings) may be provided by the same disclosed, characterized equivalents or similar purpose may be substituted.

[0111] 此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。 [0111] Moreover, those skilled in the art will appreciate that although in some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant in the present within the scope of the invention and form different embodiments. 例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。 For example, in one embodiment any forth in the following claims, it may be claimed in any combination used.

[0112] 本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。 Example [0112] The various components of the present invention may be implemented in hardware, or as software modules running on one or more processors, or in a combination thereof. 本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器①SP)来实现根据本发明实施例的对浏览器设置项进行设置的装置中的一些或者全部部件的一些或者全部功能。 Those skilled in the art should appreciate that a microprocessor or digital signal processor used in practice ①SP) to achieve some means is provided in accordance with some or all members of the browser settings embodiment of the present invention, all or Features. 本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。 The present invention may also be implemented as a part or all of the device or apparatus programs for performing the methods described herein (e.g., computer programs and computer program products). 这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。 Such a program implementing the present invention may be stored on a computer-readable medium, or may have the form of one or more signals. 这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。 Such signals can be downloaded from the Internet website, or provided on a carrier signal, or in any other form.

[0113] 应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。 [0113] It should be noted that the embodiments of the present invention, the above-described embodiments illustrate rather than limit the invention, and those skilled in the art without departing from the scope of the appended claims may be devised alternative embodiments. 在权利要求中, 不应将位于括号之间的任何参考符号构造成对权利要求的限制。 In the claims, should not be limited by any reference signs located claimed configured to claims between parentheses. 单词"包含"不排除存在未列在权利要求中的元件或步骤。 The word "comprising" does not exclude the presence of elements or steps not listed in the appended claims. 位于元件之前的单词"一"或"一个"不排除存在多个这样的元件。 Preceding an element of the word "a" or "an" does not exclude the presence of a plurality of such elements. 本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。 The present invention by means of hardware comprising several distinct elements, and by means of a suitably programmed computer implemented. 在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。 Unit claims enumerating several means, several of these means may be embodied by the same item of hardware. 单词第一、第二、以及第三等的使用不表示任何顺序。 Word of the first, second, and third, etc. does not denote any order. 可将这些单词解释为名称。 These words can be interpreted as names.

[0114] 本发明实施例公开了:A1、一种浏览器设置项的设置方法,包括: [0114] Example embodiments of the present invention discloses: A1, a method is provided browser setting items, comprising:

[0115] 在浏览器的配置文件中建立备份文件,所述备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名; [0115] Create a backup file in the configuration file browser, the backup file comprising a configuration file recorded in the browser settings and content items generated signature key provided to the browser;

[0116] 浏览器启动时,读取浏览器的配置文件; When [0116] the browser starts, it reads the configuration file browser;

[0117] 根据所述配置文件判断浏览器设置项是否被修改; [0117] File Browser determines whether the setting items are modified according to the configuration;

[0118] 当浏览器设置项被修改时,利用所述备份文件设置被修改的浏览器设置项。 [0118] When the browser settings are modified, using the backup file settings are modified browser settings.

[0119] A2、根据A1所述的方法,其中,所述方法还包括: [0119] A2, The method of claim A1, wherein said method further comprises:

[0120] 在选取的一个浏览器设置项中添加为浏览器设置项生成的控制界面,所述控制界面上设置有控制接口; [0120] Add control settings for the browser interface generated by the browser in the selected setting item, the control interface is provided with a control interface;

[0121] 接收用户通过所述控制接口输入的浏览器设置项的数据; [0121] received user data items provided via the input control interface browser;

[0122] 根据所述浏览器设置项的数据更新所述备份文件中浏览器设置项的内容和浏览器设置项的签名。 [0122] update the browser settings and the content of the browser settings backup file signature data according to the settings of the browser.

[0123] A3、根据A1所述的方法,其中,所述根据所述配置文件判断浏览器设置项是否被修改包括: [0123] A3, The method of claim A1, wherein the configuration file according to the determination whether the browser settings to be modified comprises:

[0124] 按照预定算法为配置文件中记录的浏览器设置项生成签名,判断该签名与备份文件中的签名是否一致,若是,确认浏览器设置项没有被修改,若否,确认浏览器设置项被修改。 [0124] Configuration file recorded browser settings to generate the signature, to determine whether the signature backup file signature is consistent with a predetermined algorithm, if confirmed browser setting item is not modified, if not, to confirm the browser settings modified.

[0125] A4、根据A3所述的方法,其中,所述在浏览器的配置文件中建立备份文件包括: [0125] A4, The method of claim A3, wherein, based on the configuration file browser backup file comprising:

[0126] 按照预定算法为一个浏览器设置项生成一个签名;和/或, [0126] generating a signature item provided according to a predetermined algorithm browser; and / or,

[0127] 按照预定算法为多个浏览器设置项生成一个签名。 [0127] generating a signature item is provided a plurality of browsers in accordance with a predetermined algorithm.

[0128] A5、根据A4所述的方法,其中,所述根据所述配置文件判断浏览器设置项是否被修改包括: [0128] A5, method according to A4, wherein the configuration file according to the determination whether the browser settings to be modified comprises:

[0129] 若备份文件中为第一浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的第一浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,确认第一浏览器设置项被修改; [0129] If the backup file is first browser settings to generate a first signature, in accordance with a predetermined algorithm determines whether the first browser settings recorded in the configuration file generated signature coincide with the first signature, if so, the first acknowledgment browser setting item is not modified, if not, a first acknowledgment browser settings are modified;

[0130] 若备份文件中为包括第一浏览器设置项在内的多个浏览器设置项生成第一签名, 判断按照预定算法为配置文件中记录的所述多个浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,比较配置文件中记录的第一浏览器设置项的内容与备份文件中第一浏览器设置项的内容是否相同,当相同时,确认第一浏览器设置项没有被修改,当不相同时,确认第一浏览器设置项被修改。 [0130] If the signature is provided to generate a first item to the backup file comprising a first plurality of browsers including the browser settings, is determined according to a predetermined algorithm to the plurality of browser profile settings recorded signature generated is consistent with the first signature, and if so, confirm the first browser settings item has not been modified, if not, comparing configuration backup file contents to the first browser settings files recorded in the first browser settings whether the same, when the same, the first browser settings confirmation has not been modified, when not the same, a first acknowledgment browser settings are modified.

[0131] A6、根据A5所述的方法,其中,所述第一浏览器设置项至少为如下浏览器设置项中的一种: [0131] A6, method according to A5, wherein the first browser item is provided at least one of the browsers in the following settings:

[0132] 主页设置项、默认浏览器设置项、下载设置项、老板键设置项、标签设置项、鼠标手势设置项、快捷键设置项、广告过滤设置项、热键网址设置项、搜索引擎设置项、全屏看图设置项、网页设置项、地址栏设置项和隐私与安全设置项。 [0132] home page settings, default browser settings, download settings, boss key settings, label settings, mouse gestures settings, shortcuts settings, ad filtering settings, URL Hotkey settings, search engine settings term, full-screen Figure settings, page settings, the address bar settings and privacy and security settings.

[0133] A7、根据A1所述的方法,其中,所述根据所述配置文件判断浏览器设置项是否被修改包括: [0133] A7, according to the method of claim A1, wherein the configuration file according to the determination whether the browser settings to be modified comprises:

[0134] 采用与网络服务器侧的加密算法对应的解密算法对配置文件进行解密,得到解密后的配置文件,其中,所述配置文件为利用所述加密算法加密得到的加密文件; [0134] The encryption algorithm and a decryption algorithm corresponding to the network server-side configuration file is decrypted, the decrypted profile obtained, wherein the configuration file for the encrypted file using the obtained encryption algorithm;

[0135] 根据解密后的配置文件判断浏览器的设置项是否被修改。 [0135] determines whether the browser settings are modified according to the configuration file decrypted.

[0136] A8、根据A1所述的方法,其中,所述方法还包括: [0136] A8, The method of claim A1, wherein said method further comprises:

[0137] 当检测到第三方软件修改浏览器配置文件中的浏览器设置项时,向用户发送认证码输入提示信息; [0137] When detecting the third-party software to modify the configuration file browser browser settings, sent to the user authentication code input prompt information;

[0138] 接收到用户输入的有效认证码时,允许第三方软件修改浏览器设置项,否则,禁止第三方软件修改浏览器设置项。 [0138] Upon receiving a valid authentication code entered by the user, allowing third-party software to modify your browser settings, or to prohibit third-party software to modify your browser settings.

[0139] B9、一种对浏览器设置项进行设置的装置,包括: [0139] B9, a kind of browser setting means setting items, comprising:

[0140] 备份文件建立单元,适于在浏览器的配置文件中建立备份文件,所述备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名; [0140] a backup file creating unit, adapted to establish a backup file in the configuration file browser, the backup file comprising a configuration file recorded in the browser settings and content items generated signature key provided to the browser;

[0141] 配置文件读取单元,适于浏览器启动时,读取浏览器的配置文件; [0141] Configuration file reading unit, adapted when the browser starts, reads the configuration file browser;

[0142] 判断单元,适于根据所述配置文件判断浏览器设置项是否被修改; [0142] determination means is adapted to set the browser determines whether the item is modified according to the configuration file;

[0143] 设置单元,适于当浏览器设置项被修改时,利用所述备份文件设置被修改的浏览器设置项。 [0143] setting unit adapted to set when the browser has been edited, using the backup file settings are modified browser settings.

[0144] B10、根据B9所述的装置,其中,所述备份文件建立单元还包括控制界面生成模块和备份文件更新模块, [0144] B10, B9 apparatus according to claim, wherein the backup file creating unit further includes a control interface module, and generating the backup file updating module,

[0145] 所述控制界面生成模块,适于在选取的一个浏览器设置项中添加为浏览器设置项生成的控制界面,所述控制界面上设置有控制接口; [0145] The control interface generating module, adapted to add control settings for the browser interface generated by the browser in the selected setting item, the control interface is provided with a control interface;

[0146] 所述备份文件更新模块,适于接收用户通过所述控制接口输入的浏览器设置项的数据;根据所述浏览器设置项的数据更新所述备份文件中浏览器设置项的内容和浏览器设置项的签名。 [0146] The backup file updating module, adapted to receive user data browser setting item input through the control interface; updating the content data item in the browser settings backup file browser settings and browser settings signature item.

[0147] B11、根据B9所述的装置,其中,所述判断单元,适于按照预定算法为配置文件中记录的浏览器设置项生成签名,判断该签名与备份文件中的签名是否一致,若是,确认浏览器设置项没有被修改,若否,确认浏览器设置项被修改。 [0147] B11, B9 apparatus according to claim, wherein said determining means is adapted to record configuration file browser settings to generate a signature, the signature is determined whether the backup file signature is consistent with a predetermined algorithm, if confirm browser settings item has not been modified, if not, make sure your browser settings are modified.

[0148] B12、根据B11所述的装置,其中,所述备份文件建立单元,适于按照预定算法为一个浏览器设置项生成一个签名;和/或,按照预定算法为多个浏览器设置项生成一个签名。 [0148] B12, B11 apparatus according to claim, wherein the backup file creating unit, adapted to generate a signature item is provided a browser in accordance with a predetermined algorithm; and / or, a plurality of browser settings according to a predetermined algorithm generate a signature. [0M9] B13、根据B12所述的装置,其中,所述判断单元,适于若备份文件中为第一浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的第一浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,确认第一浏览器设置项被修改; [0M9] B13, B12 apparatus according to claim, wherein said determining means is adapted to, if the first backup file browser settings to generate a first signature, is determined in accordance with a first predetermined algorithm recorded in the configuration file browsing Sets whether to generate a signature item consistent with the first signature, and if so, confirm the first browser settings item has not been modified, if not, make sure the first browser settings are modified;

[0150] 若备份文件中为包括第一浏览器设置项在内的多个浏览器设置项生成第一签名, 判断按照预定算法为配置文件中记录的所述多个浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,比较配置文件中记录的第一浏览器设置项的内容与备份文件中第一浏览器设置项的内容是否相同,当相同时,确认第一浏览器设置项没有被修改,当不相同时,确认第一浏览器设置项被修改。 [0150] If the signature is provided to generate a first item to the backup file comprising a first plurality of browsers including the browser settings, is determined according to a predetermined algorithm to the plurality of browser profile settings recorded signature generated is consistent with the first signature, and if so, confirm the first browser settings item has not been modified, if not, comparing configuration backup file contents to the first browser settings files recorded in the first browser settings whether the same, when the same, the first browser settings confirmation has not been modified, when not the same, a first acknowledgment browser settings are modified.

[0151] B14、根据B13所述的装置,其中,所述第一浏览器设置项至少为如下浏览器设置项中的一种: [0151] B14, B13 apparatus according to claim, wherein the first setting item browser is at least one browser settings in the following:

[0152] 主页设置项、默认浏览器设置项、下载设置项、老板键设置项、标签设置项、鼠标手势设置项、快捷键设置项、广告过滤设置项、热键网址设置项、搜索引擎设置项、全屏看图设置项、网页设置项、地址栏设置项和隐私与安全设置项。 [0152] home page settings, default browser settings, download settings, boss key settings, label settings, mouse gestures settings, shortcuts settings, ad filtering settings, URL Hotkey settings, search engine settings term, full-screen Figure settings, page settings, the address bar settings and privacy and security settings.

[0153] B15、根据B9所述的装置,其中,所述判断单元,适于采用与网络服务器侧的加密算法对应的解密算法对配置文件进行解密,得到解密后的配置文件,其中,所述配置文件为利用所述加密算法加密得到的加密文件;根据解密后的配置文件判断浏览器的设置项是否被修改。 [0153] B15, B9 apparatus according to claim, wherein said determining means is adapted to use a decryption algorithm corresponding to the encryption algorithm of the server side and the network configuration file is decrypted to obtain the decrypted configuration file, wherein said configuration file for the encrypted file using the obtained encryption algorithm; Analyzing browser settings decrypted based on the profile is being modified.

[0154] B16、根据B9所述的装置,其中,还包括修改控制单元,适于当检测到第三方软件修改浏览器配置文件中的浏览器设置项时,向用户发送认证码输入提示信息;接收到用户输入的有效认证码时,允许第三方软件修改浏览器设置项,否则,禁止第三方软件修改浏览器设置项。 [0154] B16, B9 apparatus according to claim, wherein the modification further comprises a control unit adapted to detect when the third party software to modify the browser configuration file browser settings, send the authentication code input prompt information to the user; upon receiving a valid authentication code entered by the user, allowing third-party software to modify your browser settings, or to prohibit third-party software to modify your browser settings.

Claims (14)

  1. 1. 一种浏览器设置项的设置方法,包括: 在浏览器的配置文件中建立备份文件,所述配置文件中包括各浏览器设置项的内容和备份文件,所述备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名; 浏览器启动时,读取浏览器的配置文件; 根据所述配置文件判断浏览器设置项是否被修改,包括:按照预定算法为配置文件中记录的浏览器设置项生成签名,判断该签名与备份文件中的签名是否一致,若是,确认浏览器设置项没有被修改,若否,确认浏览器设置项被修改; 当浏览器设置项被修改时,利用所述备份文件中记录的浏览器设置项的内容设置被修改的浏览器设置项。 CLAIMS 1. A method for setting the browser setting items, comprising: establishing a backup file in the configuration file browser, the contents of the configuration file and the backup file comprises browser settings for each item, the backup file comprising a configuration file browser settings content items recorded in the generated signature and setting the browser item; when the browser starts, reads the configuration file browser; Analyzing browser settings according to the configuration file is to be modified, comprising: a predetermined algorithm profile recorded in the browser settings to generate the signature, to determine whether the signature backup file signature is consistent, if confirmed browser setting item is not modified, if not, to confirm the browser settings are modified; when browsing setting item is modified, with the content of the browser settings recorded in the backup file settings are modified browser settings.
  2. 2. 根据权利要求1所述的方法,其中,所述方法还包括: 在选取的一个浏览器设置项中添加为浏览器设置项生成的控制界面,所述控制界面上设置有控制接口; 接收用户通过所述控制接口输入的浏览器设置项的数据; 根据所述浏览器设置项的数据更新所述备份文件中浏览器设置项的内容和浏览器设置项的签名。 2. The method according to claim 1, wherein said method further comprises: adding the control settings for the browser interface generated by the browser in a chosen setting item, the control interface is provided with a control interface; receiving user interface input through the control data items of the browser settings; updating the backup file browser settings and browser content item signature based on data provided by the browser setting items.
  3. 3. 根据权利要求1所述的方法,其中,所述在浏览器的配置文件中建立备份文件包括: 按照预定算法为一个浏览器设置项生成一个签名;和/或, 按照预定算法为多个浏览器设置项生成一个签名。 3. The method according to claim 1, wherein, said establishing the configuration file browser backup file comprising: setting a predetermined algorithm to a signature generation browser item; and / or, in accordance with a predetermined algorithm to a plurality of browser settings to generate a signature.
  4. 4. 根据权利要求3所述的方法,其中,所述根据所述配置文件判断浏览器设置项是否被修改包括: 若备份文件中为第一浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的第一浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,确认第一浏览器设置项被修改; 若备份文件中为包括第一浏览器设置项在内的多个浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的所述多个浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,比较配置文件中记录的第一浏览器设置项的内容与备份文件中第一浏览器设置项的内容是否相同,当相同时,确认第一浏览器设置项没有被修改,当不相同时,确认第一浏览器设置项被修改。 4. The method according to claim 3, wherein the configuration file according to the determination whether the browser settings to be modified comprises: generating a first signature key, is determined in accordance with a predetermined algorithm if a first set of the backup file browser the first browser for the configuration file settings are recorded in the item generated signatures consistent with the first signature, and if so, confirm the first browser settings item has not been modified, if not, make sure the first browser settings are modified; if backup generating a first setting item as the signature file includes a first plurality of browsers including the browser settings, it is determined according to a predetermined algorithm whether said plurality of browser profile settings recorded in the first signature generated by the signature consistent, if confirmed first browser setting item is not modified, if not, the backup file of the first contents browser settings comparison profile recorded in a first browser settings are the same, when the same confirmed first browser setting item is not modified, when not the same, a first acknowledgment browser settings are modified.
  5. 5. 根据权利要求4所述的方法,其中,所述第一浏览器设置项至少为如下浏览器设置项中的一种: 主页设置项、默认浏览器设置项、下载设置项、老板键设置项、标签设置项、鼠标手势设置项、快捷键设置项、广告过滤设置项、热键网址设置项、搜索引擎设置项、全屏看图设置项、网页设置项、地址栏设置项和隐私与安全设置项。 The method according to claim 4, wherein the first setting item browser is at least one browser settings are as follows: page settings, default browser settings, download the settings, the boss key provided item, label settings, mouse gestures settings, shortcuts settings, ad filtering settings, URL hotkey settings, the search engine settings, full-screen Figure settings, page settings, the address bar settings and privacy and security settings.
  6. 6. 根据权利要求1所述的方法,其中,所述根据所述配置文件判断浏览器设置项是否被修改进一步包括: 采用与网络服务器侧的加密算法对应的解密算法对配置文件进行解密,得到解密后的配置文件,其中,所述配置文件为利用所述加密算法加密得到的加密文件; 根据解密后的配置文件判断浏览器的设置项是否被修改。 6. The method according to claim 1, wherein the configuration file according to the determination whether the browser settings are modified further comprising: using a decryption algorithm corresponding to the encryption algorithm of the server side and the network configuration file decrypts to obtain decrypted configuration file, wherein the configuration file is encrypted file using the obtained encryption algorithm; Analyzing browser settings decrypted based on the profile is being modified.
  7. 7. 根据权利要求1所述的方法,其中,所述方法还包括: 当检测到第三方软件修改浏览器配置文件中的浏览器设置项时,向用户发送认证码输入提不ί目息; 接收到用户输入的有效认证码时,允许第三方软件修改浏览器设置项,否则,禁止第三方软件修改浏览器设置项。 7. The method according to claim 1, wherein said method further comprises: detecting when the third party software explorer modify profile settings when transmitting the authentication code input mention ί mesh information to a user; upon receiving a valid authentication code entered by the user, allowing third-party software to modify your browser settings, or to prohibit third-party software to modify your browser settings.
  8. 8. -种对浏览器设置项进行设置的装置,包括: 备份文件建立单元,适于在浏览器的配置文件中建立备份文件,所述配置文件中包括各浏览器设置项的内容和备份文件,所述备份文件中包括配置文件中记录的浏览器设置项的内容和为浏览器设置项生成的签名; 配置文件读取单元,适于浏览器启动时,读取浏览器的配置文件; 判断单元,适于根据所述配置文件判断浏览器设置项是否被修改,包括:按照预定算法为配置文件中记录的浏览器设置项生成签名,判断该签名与备份文件中的签名是否一致, 若是,确认浏览器设置项没有被修改,若否,确认浏览器设置项被修改; 设置单元,适于当浏览器设置项被修改时,利用所述备份文件中记录的浏览器设置项的内容设置被修改的浏览器设置项。 8. - kind of browser setting means setting items, comprising: a backup file creating unit, adapted to establish a backup file in the configuration file browser, the configuration file contains the content items the browser settings and backup files , the backup file comprising the contents of the browser settings recorded in the configuration file generated signature and settings for the browser; configuration file reading unit, adapted to start the browser, the browser reads the configuration file; Analyzing means adapted to judge whether the configuration file is modified browser settings, comprising: generating a signature for the configuration settings recorded in the file browser according to a predetermined algorithm, the signature and determines whether the signature is consistent backup file, if yes, browser settings confirmation has not been modified, if not, the browser settings confirmation is modified; setting unit adapted to set item when the browser is modified by setting the content browser settings items in the backup file is recorded modify browser settings.
  9. 9. 根据权利要求8所述的装置,其中,所述备份文件建立单元还包括控制界面生成模块和备份文件更新模块, 所述控制界面生成模块,适于在选取的一个浏览器设置项中添加为浏览器设置项生成的控制界面,所述控制界面上设置有控制接口; 所述备份文件更新模块,适于接收用户通过所述控制接口输入的浏览器设置项的数据;根据所述浏览器设置项的数据更新所述备份文件中浏览器设置项的内容和浏览器设置项的签名。 9. The apparatus according to claim 8, wherein the backup file creating unit further includes a control interface module, and generating the backup file updating module, a control interface generating module, adapted to add a browser setting items selected in control settings for the browser UI generator, provided on said control interface has a control interface; the backup file updating module, adapted to receive user data over the interface to control the browser settings input; according to the browser data set entries update the browser settings of the content and browser settings of the backup file signatures.
  10. 10. 根据权利要求8所述的装置,其中,所述备份文件建立单元,适于按照预定算法为一个浏览器设置项生成一个签名;和/或,按照预定算法为多个浏览器设置项生成一个签名。 10. The apparatus according to claim 8, wherein the backup file creating unit, adapted to generate a signature item is provided a browser in accordance with a predetermined algorithm; and / or, a plurality of browser item generated according to a predetermined setting algorithm a signature.
  11. 11. 根据权利要求10所述的装置,其中,所述判断单元,适于若备份文件中为第一浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的第一浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,确认第一浏览器设置项被修改; 若备份文件中为包括第一浏览器设置项在内的多个浏览器设置项生成第一签名,判断按照预定算法为配置文件中记录的所述多个浏览器设置项生成的签名是否与第一签名一致,若是,确认第一浏览器设置项没有被修改,若否,比较配置文件中记录的第一浏览器设置项的内容与备份文件中第一浏览器设置项的内容是否相同,当相同时,确认第一浏览器设置项没有被修改,当不相同时,确认第一浏览器设置项被修改。 11. The apparatus according to claim 10, wherein said determining means is adapted to, if the first backup file browser settings to generate a first signature, in accordance with the predetermined algorithm determining a first browser profile recorded set whether the item generated signatures consistent with the first signature, and if so, confirm the first browser settings item has not been modified, if not, make sure the first browser settings are modified; if the backup file to include the first browser settings including generating a plurality of browser item provided first signature, determining a plurality of records in the file browser configuration settings are consistent with the signature key generated according to a first predetermined signature algorithm, if confirmed first browser settings item is not modified, if not, compare the contents of the backup file of the first configuration browser settings file entry recorded in the content of the first browser settings are the same, when the same, the first browser settings confirmation is not modify, when not the same, a first acknowledgment browser settings are modified.
  12. 12. 根据权利要求11所述的装置,其中,所述第一浏览器设置项至少为如下浏览器设置项中的一种: 主页设置项、默认浏览器设置项、下载设置项、老板键设置项、标签设置项、鼠标手势设置项、快捷键设置项、广告过滤设置项、热键网址设置项、搜索引擎设置项、全屏看图设置项、网页设置项、地址栏设置项和隐私与安全设置项。 12. The apparatus according to claim 11, wherein the first setting item browser is at least one browser settings are as follows: page settings, default browser settings, download the settings, the boss key provided item, label settings, mouse gestures settings, shortcuts settings, ad filtering settings, URL hotkey settings, the search engine settings, full-screen Figure settings, page settings, the address bar settings and privacy and security settings.
  13. 13. 根据权利要求8所述的装置,其中,所述判断单元,进一步适于采用与网络服务器侧的加密算法对应的解密算法对配置文件进行解密,得到解密后的配置文件,其中,所述配置文件为利用所述加密算法加密得到的加密文件;根据解密后的配置文件判断浏览器的设置项是否被修改。 13. The apparatus according to claim 8, wherein said determining means is further adapted to use with the network server-side encryption algorithm corresponding decryption algorithm to decrypt the configuration file, the configuration file to obtain decrypted, wherein said configuration file for the encrypted file using the obtained encryption algorithm; Analyzing browser settings decrypted based on the profile is being modified.
  14. 14.根据权利要求8所述的装置,其中,还包括修改控制单元,适于当检测到第三方软件修改浏览器配置文件中的浏览器设置项时,向用户发送认证码输入提示信息;接收到用户输入的有效认证码时,允许第三方软件修改浏览器设置项,否则,禁止第三方软件修改浏览器设置项。 14. The apparatus according to claim 8, wherein the modification further comprises a control unit adapted to detect when the third party software to modify browser settings in the configuration file browser, the authentication code input prompt transmitting information to a user; receiving when the user enters a valid authentication code, allowing third-party software to modify your browser settings, or to prohibit third-party software to modify your browser settings.
CN 201410069036 2014-02-27 2014-02-27 One of the browsers is provided a method and apparatus setting items CN103824021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410069036 CN103824021B (en) 2014-02-27 2014-02-27 One of the browsers is provided a method and apparatus setting items

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410069036 CN103824021B (en) 2014-02-27 2014-02-27 One of the browsers is provided a method and apparatus setting items

Publications (2)

Publication Number Publication Date
CN103824021A true CN103824021A (en) 2014-05-28
CN103824021B true CN103824021B (en) 2017-05-17

Family

ID=50759077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410069036 CN103824021B (en) 2014-02-27 2014-02-27 One of the browsers is provided a method and apparatus setting items

Country Status (1)

Country Link
CN (1) CN103824021B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601543A (en) * 2014-12-05 2015-05-06 百度在线网络技术(北京)有限公司 Method and system for identifying software tampered browser home page
CN105224653A (en) * 2015-09-30 2016-01-06 北京奇虎科技有限公司 Handling method and handling device when browser is hijacked
CN105701166A (en) * 2015-12-30 2016-06-22 广东欧珀移动通信有限公司 Advertisement blocking method and system
CN106571928B (en) * 2016-11-09 2018-05-01 北京海泰方圆科技股份有限公司 One of the browsers management method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8074272B2 (en) * 2005-07-07 2011-12-06 Microsoft Corporation Browser security notification
CN101246535A (en) * 2008-03-25 2008-08-20 深圳市迅雷网络技术有限公司 Method, system and device for renovating abnormal document
CN101795276B (en) * 2010-02-09 2014-11-05 戴宇星 Static webpage anti-tampering system and method based on digital signatures
CN103500310A (en) * 2013-09-29 2014-01-08 北京金山网络科技有限公司 Method and system for protecting electronic device

Also Published As

Publication number Publication date Type
CN103824021A (en) 2014-05-28 application

Similar Documents

Publication Publication Date Title
Zhou et al. Detecting repackaged smartphone applications in third-party android marketplaces
US20130067243A1 (en) Secure Data Synchronization
US20130283377A1 (en) Detection and prevention of installation of malicious mobile applications
US20060236122A1 (en) Secure boot
US8756432B1 (en) Systems and methods for detecting malicious digitally-signed applications
US20100037317A1 (en) Mehtod and system for security monitoring of the interface between a browser and an external browser module
US20110030062A1 (en) Version-based software product activation
US8200962B1 (en) Web browser extensions
US20110277024A1 (en) Locally stored phishing countermeasure
US20100138653A1 (en) Method and system for searching for, and collecting, electronically-stored information
US20120066346A1 (en) Reputation checking obtained files
US20130347070A1 (en) System and method for embedding first party widgets in third-party applications
CN103577206A (en) Method and device for installing application software
CN102419808A (en) Method, device and system for detecting safety of download link
US9246690B1 (en) Secure execution environment services
US20140033315A1 (en) Method and system for enforcing a license dependency rule for a software application
US20040260968A1 (en) Server with file verification
US20060265756A1 (en) Disk protection using enhanced write filter
CN103617395A (en) Method, device and system for intercepting advertisement programs based on cloud security
CN103617382A (en) Privacy protection method and device
WO2002035324A2 (en) System and method for managing digital content
US20140298454A1 (en) Secure computing device using different central processing resources
CN103001947A (en) Program processing method and program processing system
CN103295046A (en) Method and device for generating and using safe two-dimensional codes
US8819827B1 (en) Method and apparatus of performing data executable integrity verification

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01