Browser privacy anti-tracking method and device, storage medium and electronic device
By obtaining confusion values and parameter information when the browser is started, processing network protocol requests, and disguising browser fingerprints, the problem of poor anti-tracking effects of browsers in the existing technology is solved, and the security and privacy protection of the browser are improved.
Patent Information
- Application Number
- CN202410898470.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Existing technologies use privacy protection network proxies or modify browser URLs to anti-track browser fingerprints, but are ineffective and have information security risks and the risk of being identified as forged fingerprints.
When the target browser starts, obtain the obfuscated value and parameter information from the user space, and process the parameters in the network protocol request, including configuration parameter frames, flow control window frames and header information frames, to disguise the browser fingerprint and ensure that it cannot be tracked .
The security of the browser is improved, browser fingerprints are avoided from being tracked, user privacy protection is enhanced, and the problem of poor performance in the existing technology is solved.
Smart Images

Figure CN118432958B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data security technology, and in particular to a browser privacy anti-tracking method and device, a storage medium, and an electronic device. Background Art
[0002] In the current advertising field, user tracking technology based on browser fingerprints has been widely abused, posing a great threat to users' personal privacy. Among the many browser fingerprint technologies, fingerprint technology based on the network protocol level is often overlooked due to its concealment. In addition, with the development of network technology, new protocols (for example, the second major version of the Hypertext Transfer Protocol (HTTP2)) are widely used by mainstream browsers. There is no mature solution for fingerprint obfuscation based on these new protocols. In the existing technology, anti-tracking of browser fingerprints is often achieved through privacy protection network proxies or by modifying the browser URL (URL, Uniform Resource Locator, is an address used to identify and locate specific resources on the Internet (such as web pages, pictures, videos, etc.)).
[0003] For privacy-preserving network proxies, it is necessary to intercept network traffic between client devices and server devices through the privacy-preserving network proxy, and modify the intercepted network traffic at the privacy-preserving network proxy based on the detection of attempts to perform browser fingerprinting, so as to at least partially prohibit browser fingerprinting performed by the browser fingerprinting service. However, this method of privacy-preserving network proxy can only prohibit partial browser fingerprinting, and it is also necessary to intercept network traffic between client devices and server devices. This method may bring hidden dangers to information security.
[0004] For browser URL modification, users can control the client to turn on or off the anti-tracking mode through switch commands. In anti-tracking mode, when the client sends an uplink request to the target URL, the browser URL will be randomized. However, directly modifying the browser URL has the problem of low security and the risk of being identified as a forged fingerprint.
[0005] In summary, anti-tracking of browser fingerprints through privacy-preserving network proxies or by directly modifying the browser URL has the problem of poor effect in protecting user privacy and being easily detected as a forged fingerprint. Summary of the invention
[0006] The main purpose of the present application is to provide a browser privacy anti-tracking method and device, storage medium and electronic device to solve the problem in the related art that user privacy protection is achieved by prohibiting some browser fingerprint recognition through privacy protection network proxy, resulting in poor effect on user privacy protection.
[0007] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a privacy anti-tracking method for a browser is provided. The method comprises: when a target instance of a target browser is started, obtaining an obfuscation value corresponding to the target instance and parameter information corresponding to the target browser from the user space of the target browser, wherein the instance of the target browser has a corresponding relationship with the user account; when accessing a target address through the target browser, processing the parameters in the target network protocol request issued by the target browser based on the obfuscation value and the parameter information to obtain a processed target network protocol request; and accessing the target address according to the processed target network protocol request.
[0008] Furthermore, the parameters in the target network protocol request issued by the target browser are processed based on the obfuscation value and the parameter information to obtain the processed target network protocol request, including: processing the parameters in the configuration parameter frame of the target network protocol request according to the obfuscation value and the parameter information to obtain the processed configuration parameter frame; setting the parameter values corresponding to the flow control window frame of the target network protocol request according to the parameter information to obtain the processed flow control window frame; setting the parameter sequence of the header information frame of the target network protocol request according to the parameter information to obtain the processed header information frame; obtaining the processed target network protocol request according to the processed configuration parameter frame, the processed flow control window frame and the processed header information frame.
[0009] Further, the parameters in the configuration parameter frame of the target network protocol request are processed according to the obfuscation value and the parameter information to obtain the processed configuration parameter frame, including: determining a target parameter from multiple parameters in the configuration parameter frame, wherein the target parameter is a parameter to be obfuscated; performing obfuscation processing on the target parameter according to the obfuscation value to obtain the obfuscated target parameter; judging whether it is necessary to add a custom parameter to the configuration parameter frame according to the parameter information; if it is not necessary to add the custom parameter to the configuration parameter frame, obtaining the processed configuration parameter frame according to the obfuscated target parameter and parameters in the configuration parameter frame other than the target parameter.
[0010] Further, after determining whether it is necessary to add a custom parameter to the configuration parameter frame based on the parameter information, the method further includes: if it is necessary to add the custom parameter to the configuration parameter frame, determining the custom parameter based on the obfuscation value; and obtaining the processed configuration parameter frame based on the obfuscated target parameter, the parameters in the configuration parameter frame other than the target parameter, and the custom parameter.
[0011] Furthermore, judging whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information includes: determining the browser type and kernel version number corresponding to the target browser based on the parameter information; and determining that it is necessary to add the custom parameters to the configuration parameter frame when the browser type is a preset type and the kernel version number is less than the preset version number.
[0012] Furthermore, the parameter order of the header information frame of the target network protocol request is set according to the parameter information to obtain the processed header information frame, including: determining the browser type corresponding to the target browser according to the parameter information; determining the target parameter order corresponding to the browser type; setting the parameter order of the header information frame according to the target parameter order to obtain the processed header information frame.
[0013] Furthermore, before obtaining the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser, the method also includes: determining multiple instances corresponding to the target browser and randomly generating an obfuscation value for each instance; determining the parameter information based on the browser type and kernel version number of the target browser; and storing the obfuscation value and the parameter information corresponding to each instance in the user space.
[0014] Furthermore, determining the target parameters from multiple parameters in the configuration parameter frame includes: determining multiple browsers, and performing access simulation through the multiple browsers to obtain simulation results, wherein the parameter information corresponding to the browsers in the multiple browsers is different; when performing access simulation through the multiple browsers, obtaining a target network protocol request issued by each browser; and determining the target parameters based on the simulation results and the target network protocol request.
[0015] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a privacy anti-tracking device for a browser is provided. The device comprises: an acquisition unit, which is used to acquire the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser when the target instance of the target browser is started, wherein the instance of the target browser has a corresponding relationship with the user account; a processing unit, which is used to process the parameters in the target network protocol request issued by the target browser based on the obfuscation value and the parameter information when accessing the target address through the target browser, and obtain the processed target network protocol request; an access unit, which is used to access the target address according to the processed target network protocol request.
[0016] Furthermore, the processing unit includes: a processing subunit, used to process the parameters in the configuration parameter frame of the target network protocol request according to the obfuscation value and the parameter information to obtain a processed configuration parameter frame; a first setting subunit, used to set the parameter values corresponding to the flow control window frame of the target network protocol request according to the parameter information to obtain a processed flow control window frame; a second setting subunit, used to set the parameter sequence of the header information frame of the target network protocol request according to the parameter information to obtain a processed header information frame; a determination subunit, used to obtain the processed target network protocol request based on the processed configuration parameter frame, the processed flow control window frame and the processed header information frame.
[0017] Further, the processing subunit includes: a first determination module, used to determine a target parameter from multiple parameters in the configuration parameter frame, wherein the target parameter is a parameter to be obfuscated; a processing module, used to perform obfuscation processing on the target parameter according to the obfuscation value to obtain the obfuscated target parameter; a judgment module, used to judge whether it is necessary to add a custom parameter to the configuration parameter frame according to the parameter information; and a second determination module, used to obtain the processed configuration parameter frame based on the obfuscated target parameter and the parameters in the configuration parameter frame other than the target parameter if it is not necessary to add the custom parameter to the configuration parameter frame.
[0018] Furthermore, the device also includes: a first determination unit, used to determine whether it is necessary to add a custom parameter to the configuration parameter frame based on the parameter information, and if it is necessary to add the custom parameter to the configuration parameter frame, determine the custom parameter based on the obfuscation value; and a second determination unit, used to obtain the processed configuration parameter frame based on the obfuscated target parameter, the parameters in the configuration parameter frame other than the target parameter, and the custom parameter.
[0019] Furthermore, the judgment module includes: a first determination submodule, used to determine the browser type and kernel version number corresponding to the target browser based on the parameter information; a second determination submodule, used to determine the need to add the custom parameter to the configuration parameter frame when the browser type is a preset type and the kernel version number is less than the preset version number.
[0020] Furthermore, the second setting subunit includes: a third determination module, used to determine the browser type corresponding to the target browser based on the parameter information; a fourth determination module, used to determine the target parameter order corresponding to the browser type; a setting module, used to set the parameter order of the header information frame according to the target parameter order to obtain the processed header information frame.
[0021] Furthermore, the device also includes: a third determination unit, which is used to determine multiple instances corresponding to the target browser and randomly generate an obfuscation value for each instance before obtaining the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser; a fourth determination unit, which is used to determine the parameter information based on the browser type and kernel version number of the target browser; and a storage unit, which is used to store the obfuscation value corresponding to each instance and the parameter information in the user space.
[0022] Furthermore, the first determination module includes: a third determination sub-module, used to determine multiple browsers, and perform access simulation through the multiple browsers to obtain simulation results, wherein the parameter information corresponding to the browsers in the multiple browsers is different; an acquisition sub-module, used to obtain the target network protocol request issued by each browser when performing access simulation through the multiple browsers; a fourth determination sub-module, used to determine the target parameters based on the simulation results and the target network protocol request.
[0023] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the above-mentioned browser privacy anti-tracking methods.
[0024] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is also provided, the electronic device includes one or more processors and a memory, and the memory is used to store the privacy anti-tracking method of the browser described in any one of the above-mentioned items implemented by one or more processors.
[0025] Through this application, the following steps are adopted: when the target instance of the target browser is started, the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser are obtained from the user space of the target browser, wherein the instance of the target browser has a corresponding relationship with the user account; when the target address is accessed through the target browser, the parameters in the target network protocol request issued by the target browser are processed based on the obfuscation value and the parameter information to obtain the processed target network protocol request; according to the processed target network protocol request, the target address is accessed, which solves the problem that the user privacy protection is achieved by prohibiting fingerprint recognition of some browsers through privacy protection network agents in the related technology, resulting in poor effect of user privacy protection. In this scheme, when the target instance of the target browser is accessed externally, the target network protocol request issued by the target browser is obfuscated and processed according to the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser, so as to realize the transformation of the fingerprint of the target browser, so that the target browser cannot be tracked through the fingerprint of the target browser, thereby achieving the effect of improving the security of the browser. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0027] Figure 1 This is the process of the browser privacy anti-tracking method provided by the embodiment of the present application Figure 1 ;
[0028] Figure 2 This is the process of the browser privacy anti-tracking method provided by the embodiment of the present application Figure 2 ;
[0029] Figure 3 is a schematic diagram of a privacy anti-tracking device of a browser provided according to an embodiment of the present application;
[0030] Figure 4 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set up between this system and the relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0035] The present invention is described below in conjunction with preferred implementation steps. Figure 1 This is the process of the browser privacy anti-tracking method provided by the embodiment of the present application Figure 1 ,like Figure 1 As shown, the method comprises the following steps:
[0036] Step S101, when a target instance of a target browser is started, an obfuscation value corresponding to the target instance and parameter information corresponding to the target browser are obtained from a user space of the target browser, wherein the instance of the target browser has a corresponding relationship with the user account.
[0037] Optionally, there are often multiple instances in the current browser, and different instances correspond to different users. The browser interfaces of different users may be different, and different users can achieve external access through the corresponding instances. The obfuscation values corresponding to each user account or instance and the parameter information corresponding to the target browser are stored in the user space. It should be noted that the parameter information includes but is not limited to the type of browser and the kernel version number of the browser. It should be noted that the obfuscation values corresponding to different instances may be different, that is, even if different users use the same browser, the corresponding browser fingerprints are different.
[0038] It should be noted that the above obfuscation value may be a randomly generated noise value, and the parameters in the HTTP2 request may be obfuscated by the noise value to achieve the modification of the browser fingerprint.
[0039] Step S102, when accessing the target address through the target browser, the parameters in the target network protocol request sent by the target browser are processed based on the obfuscated value and the parameter information to obtain a processed target network protocol request.
[0040] Optionally, currently existing browsers generally access externally based on HTTP2 (i.e., the above-mentioned target network protocol). When a user accesses the target address through a target browser, an HTTP2 request (i.e., the above-mentioned target network protocol request) is assembled. In order to avoid tracking the browser based on the browser fingerprint corresponding to the HTTP2 request, the parameters in the target network protocol request issued by the target browser are modified by obfuscating the value and parameter information to obtain the above-mentioned processed target network protocol request.
[0041] Step S103: access the target address according to the processed target network protocol request.
[0042] Optionally, the target address is accessed through the processed target network protocol request. The browser fingerprint obtained through the processed target network protocol request does not match the current target browser, thereby achieving the purpose of privacy anti-tracking of the browser.
[0043] To sum up, when the target instance of the target browser accesses externally, the target network protocol request issued by the target browser is obfuscated and processed according to the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser, so as to transform the fingerprint of the target browser, making it impossible to track the target browser through the fingerprint of the target browser, thereby achieving the effect of improving the security of the browser.
[0044] Optionally, in the browser privacy anti-tracking method provided in the embodiment of the present application, the parameters in the target network protocol request issued by the target browser are processed based on the obfuscation value and parameter information to obtain the processed target network protocol request, including: processing the parameters in the configuration parameter frame of the target network protocol request according to the obfuscation value and parameter information to obtain the processed configuration parameter frame; setting the parameter values corresponding to the flow control window frame of the target network protocol request according to the parameter information to obtain the processed flow control window frame; setting the parameter order of the header information frame of the target network protocol request according to the parameter information to obtain the processed header information frame; obtaining the processed target network protocol request based on the processed configuration parameter frame, the processed flow control window frame and the processed header information frame.
[0045] In an optional embodiment, the HTTP2 request includes four frames: SETTINGS (i.e., the configuration parameter frame mentioned above), WINDOW_UPDATE (i.e., the flow control window frame mentioned above), HEADERS (i.e., the header information frame mentioned above), and PRIORITY (relative priority information frame). Through simulation, it is found that SETTINGS (i.e., the configuration parameter frame mentioned above), WINDOW_UPDATE (i.e., the flow control window frame mentioned above), and HEADERS (i.e., the header information frame mentioned above) can be transformed and disguised, and will not be found to be disguised HTTP2 and report an error. Therefore, in the embodiment of the present application, the parameters in the target network protocol request issued by the target browser are processed based on the obfuscated value and parameter information, including the following steps:
[0046] First, the parameters in the configuration parameter frame of the HTTP2 request are processed by obfuscating the values and parameter information, for example, the parameter values corresponding to the parameters in the configuration parameter frame are transformed.
[0047] Then, the parameter value corresponding to the flow control window frame requested by the target network protocol is set through the parameter information to obtain the processed flow control window frame. In an optional embodiment, the parameter value corresponding to the flow control window frame can be set according to the browser type in the parameter information. For example, as shown in Table 1, WINDOW_UPDATE has different fixed values on the Chrome browser and the Firefox browser.
[0048] Table 1
[0049]
[0050] Furthermore, the parameter sequence of the header information frame of the target network protocol request is set by the parameter information to obtain the processed header information frame. In an optional embodiment, the parameter sequence of the header information frame can be set according to the browser type in the parameter information.
[0051] Finally, the processed target network protocol request is obtained by assembling the processed configuration parameter frame, the processed flow control window frame, the processed header information frame, and the original PRIORITY (relative priority information frame).
[0052] By modifying the parameters in the three frames of SETTINGS, WINDOW_UPDATE and HEADERS, the target browser can be effectively disguised.
[0053] Optionally, in the privacy anti-tracking method of the browser provided in the embodiment of the present application, the parameters in the configuration parameter frame of the target network protocol request are processed according to the obfuscation value and the parameter information to obtain the processed configuration parameter frame, including: determining the target parameter from multiple parameters in the configuration parameter frame, wherein the target parameter is the parameter to be obfuscated; performing obfuscation processing on the target parameter according to the obfuscation value to obtain the obfuscated target parameter; judging whether it is necessary to add a custom parameter to the configuration parameter frame according to the parameter information; if it is not necessary to add a custom parameter to the configuration parameter frame, obtaining the processed configuration parameter frame according to the obfuscated target parameter and the parameters in the configuration parameter frame other than the target parameter.
[0054] In an optional embodiment, after determining whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information, the method further includes: if it is necessary to add custom parameters to the configuration parameter frame, determining the custom parameters based on the obfuscation value; and obtaining a processed configuration parameter frame based on the obfuscated target parameters, the parameters in the configuration parameter frame other than the target parameters, and the custom parameters.
[0055] In an optional embodiment, in order to achieve effective disguise of the target browser, it is necessary to first determine which parameters in SETTINGS need to be obfuscated, that is, determine the target parameters that need to be obfuscated from the multiple parameters in the configuration parameter frame, and then obfuscate the target parameters through the obfuscated values, that is, obfuscate the values corresponding to the target parameters to obtain the obfuscated target parameters. In an optional embodiment, the predefined parameters and obfuscable values of the SETTINGS frame are shown in Table 2:
[0056] Table 2
[0057]
[0058] After obtaining the above-mentioned obfuscated target parameters, some browsers will recognize that HTTP2 is forged during simulation. In order to avoid this situation, you can judge whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information. If you do not need to add custom parameters, you can directly obtain the processed configuration parameter frame based on the obfuscated target parameters and the parameters in the configuration parameter frame except the target parameters.
[0059] In an optional embodiment, if it is found that a custom parameter needs to be added to the configuration parameter frame according to the parameter information, an unnamed parameter (i.e., the custom parameter mentioned above) SETTINGS_UNKNOWN_SETTING_xxxxx: yyyyy is filled in the configuration parameter frame for obfuscation. It should be noted that the value of this custom parameter can be determined according to the obfuscated value, i.e., the custom parameter is determined by the obfuscated value mentioned above. After obtaining the custom parameter, the above-mentioned processed configuration parameter frame is obtained according to the obfuscated target parameter and the parameters other than the target parameter in the configuration parameter frame and the custom parameter.
[0060] Through the above steps, the disguise of the configuration parameter frame is achieved and the disguise of the configuration parameter frame is ensured not to be recognized.
[0061] Optionally, in the browser privacy anti-tracking method provided in the embodiment of the present application, judging whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information includes: determining the browser type and kernel version number corresponding to the target browser based on the parameter information; when the browser type is a preset type and the kernel version number is less than the preset version number, determining that it is necessary to add custom parameters to the configuration parameter frame.
[0062] In an optional embodiment, the following steps are used to determine whether it is necessary to add custom parameters to the configuration parameter frame: determine the browser type and kernel version number of the target browser through the parameter information of the target browser; if the browser type is a preset type and the kernel version number is less than the preset version number, it is necessary to add custom parameters to the configuration parameter frame.
[0063] For example, Chrome browser added switches::kDisableHttp2GreaseSettings command line parameter in version 110. When emulating versions below 110, it is necessary to fill in an unnamed parameter SETTINGS_UNKNOWN_SETTING_xxxxx: yyyyy in SETTINGS for obfuscation to prevent the disguise of the configuration parameter frame from being recognized.
[0064] Optionally, in the browser privacy anti-tracking method provided in the embodiment of the present application, the parameter order of the header information frame of the target network protocol request is set according to the parameter information, and the processed header information frame includes: determining the browser type corresponding to the target browser according to the parameter information; determining the target parameter order corresponding to the browser type; setting the parameter order of the header information frame according to the target parameter order, and obtaining the processed header information frame.
[0065] In an optional embodiment, there are four fixed parameter fields in HEADERS (header information frame): method (m), authority (a), scheme (s), and path (p). The following steps are used to set the order of the four parameters in the header information frame: determine the browser type corresponding to the target browser through the parameter information, and different browser types correspond to different parameter orders. Therefore, determine the target parameter order corresponding to the browser type corresponding to the current target browser, and finally set the parameter order of the header information frame according to the target parameter order to obtain the processed header information frame.
[0066] In an optional embodiment, different parameter sequences corresponding to different browser types are shown in Table 3:
[0067] Table 3
[0068]
[0069] Through the above steps, HTTP2 can be effectively modified according to the browser's parameter information, thereby achieving the effect of browser anti-tracking.
[0070] Optionally, in the browser privacy anti-tracking method provided in the embodiment of the present application, before obtaining the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser, the method also includes: determining multiple instances corresponding to the target browser and randomly generating an obfuscation value for each instance; determining the parameter information based on the browser type and kernel version number of the target browser; and storing the obfuscation value and parameter information corresponding to each instance in the user space.
[0071] In an optional embodiment, in order to ensure that multiple sets of Web environments with different fingerprints are created in the same terminal device, that is, to achieve that different users use the same browser and present different browsers to the outside, in the embodiment of the present application, with the help of multiple instances corresponding to the target browser, for example, multiple browser instances are constructed through user-data parameters, and then corresponding obfuscation values are generated for each instance, and then the obfuscation values and browser types and kernel version numbers are pre-stored in the directory specified by user-data (that is, the above-mentioned user space), and when the instance is started, various parameters are read from the directory and saved in the memory. When the browser assembles a network request, the network request is modified by reading the noise value, browser type and kernel version number in the memory to achieve the disguise of the browser.
[0072] The above steps enable the creation of multiple Web environments with different fingerprints on the same terminal device.
[0073] Optionally, in the browser privacy anti-tracking method provided in the embodiment of the present application, determining the target parameters from multiple parameters in the configuration parameter frame includes: determining multiple browsers, and performing access simulation through the multiple browsers to obtain simulation results, wherein the parameter information corresponding to the browsers in the multiple browsers is different; when performing access simulation through multiple browsers, obtaining the target network protocol request issued by each browser; and determining the target parameters based on the simulation results and the target network protocol request.
[0074] In an optional embodiment, in order to improve the accuracy of determining the target parameters, the following steps are used to determine the target parameters: access simulation is performed on multiple existing browsers to obtain simulation results, and then the HTTP2 request issued by each browser is obtained when the access simulation is performed on multiple browsers, and finally the target parameters that can be disguised are determined through the simulation results and the HTTP2 request.
[0075] The above-mentioned simulated access process can effectively avoid being identified as artificially forged parameters, thereby causing the problem of access errors.
[0076] In an optional embodiment, the Figure 2The flowchart shown in the figure realizes anti-tracking of the browser: multiple browser instance environments are constructed through the -user-data parameter. At the same time, the preset noise value, browser type and kernel version number are pre-stored in the directory specified by -user-data. The browser instance reads various parameters from the user data directory and saves them to the memory during the startup phase. When the browser assembles the HTTP2 request, the HTTP2 request is modified by reading the noise value, browser type and kernel version number in the memory, that is, the parameters in the SETTINGS frame are processed according to the noise value and parameter information to obtain the processed SETTINGS frame; the parameter values corresponding to the WINDOW_UPDATE frame are set according to the parameter information to obtain the processed WINDOW_UPDATE frame; the parameter order of HEADERS is set according to the parameter information to obtain the processed HEADERS, and finally the disguised HTTP2 request is obtained according to the disguised parameters, and external access is performed according to the disguised HTTP2 request. For example, Figure 2 , confuse the SETTINGS frame according to the noise value, and then determine the browser type. If the browser type is Chrome and the kernel version number is less than 110, add UNKNOWN_SETTING to SETTINGS. If the kernel version number is greater than or equal to 110, set the parameter order of HEADERS to the parameter order corresponding to Chrome. If the browser type is Firefox or Safari, set HEADERS according to the parameter order corresponding to Firefox or Safari. Finally, set WINDOW_UPDATE according to the browser type to obtain the final disguised HTTP2 request.
[0077] The privacy anti-tracking method of the browser provided in the embodiment of the present application is to obtain the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser when the target instance of the target browser is started, wherein the instance of the target browser has a corresponding relationship with the user account; when accessing the target address through the target browser, the parameters in the target network protocol request issued by the target browser are processed based on the obfuscation value and the parameter information to obtain the processed target network protocol request; according to the processed target network protocol request, the target address is accessed, which solves the problem that the user privacy protection is achieved by prohibiting fingerprint recognition of some browsers through the privacy protection network agent in the related technology, resulting in poor effect of user privacy protection. In this scheme, when the target instance of the target browser is accessed externally, the target network protocol request issued by the target browser is obfuscated and processed according to the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser, so as to realize the transformation of the fingerprint of the target browser, so that the target browser cannot be tracked through the fingerprint of the target browser, thereby achieving the effect of improving the security of the browser.
[0078] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0079] The embodiment of the present application also provides a privacy anti-tracking device for a browser. It should be noted that the privacy anti-tracking device for a browser in the embodiment of the present application can be used to execute the privacy anti-tracking method for a browser provided in the embodiment of the present application. The privacy anti-tracking device for a browser provided in the embodiment of the present application is introduced below.
[0080] Figure 3 Schematic diagram of a privacy anti-tracking device of a browser according to an embodiment of the present application. Figure 3 As shown, the device includes: an acquisition unit 301, a processing unit 302 and an access unit 303.
[0081] The acquisition unit 301 is used to acquire the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser when the target instance of the target browser is started, wherein the instance of the target browser has a corresponding relationship with the user account;
[0082] The processing unit 302 is used to process the parameters in the target network protocol request sent by the target browser based on the obfuscated value and the parameter information when accessing the target address through the target browser to obtain a processed target network protocol request;
[0083] The access unit 303 is used to access the target address according to the processed target network protocol request.
[0084] The privacy anti-tracking device of the browser provided in the embodiment of the present application, when the target instance of the target browser is started, obtains the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser through the acquisition unit 301, wherein the instance of the target browser has a corresponding relationship with the user account; when the target address is accessed through the target browser, the processing unit 302 processes the parameters in the target network protocol request issued by the target browser based on the obfuscation value and the parameter information to obtain the processed target network protocol request; the access unit 303 accesses the target address according to the processed target network protocol request, which solves the problem that the user privacy protection is achieved by prohibiting the fingerprint recognition of some browsers through the privacy protection network agent in the related technology, resulting in poor effect of user privacy protection. In this scheme, when the target instance of the target browser is accessed externally, the target network protocol request issued by the target browser is obfuscated and processed according to the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser, so as to realize the transformation of the fingerprint of the target browser, so that the target browser cannot be tracked through the fingerprint of the target browser, thereby achieving the effect of improving the security of the browser.
[0085] Optionally, in the privacy anti-tracking device of the browser provided in the embodiment of the present application, the processing unit includes: a processing subunit, used to process the parameters in the configuration parameter frame of the target network protocol request according to the obfuscation value and the parameter information, to obtain a processed configuration parameter frame; a first setting subunit, used to set the parameter value corresponding to the flow control window frame of the target network protocol request according to the parameter information, to obtain a processed flow control window frame; a second setting subunit, used to set the parameter sequence of the header information frame of the target network protocol request according to the parameter information, to obtain a processed header information frame; a determination subunit, used to obtain a processed target network protocol request based on the processed configuration parameter frame, the processed flow control window frame and the processed header information frame.
[0086] Optionally, in the privacy anti-tracking device of the browser provided in the embodiment of the present application, the processing subunit includes: a first determination module, used to determine the target parameter from multiple parameters in the configuration parameter frame, wherein the target parameter is the parameter to be obfuscated; a processing module, used to perform obfuscation processing on the target parameter according to the obfuscation value to obtain the obfuscated target parameter; a judgment module, used to judge whether it is necessary to add a custom parameter to the configuration parameter frame based on the parameter information; and a second determination module, used to obtain a processed configuration parameter frame based on the obfuscated target parameter and the parameters in the configuration parameter frame other than the target parameter if it is not necessary to add a custom parameter to the configuration parameter frame.
[0087] Optionally, in the privacy anti-tracking device of the browser provided in the embodiment of the present application, the device also includes: a first determination unit, for determining whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information, and if it is necessary to add custom parameters to the configuration parameter frame, determining the custom parameters based on the obfuscation value; and a second determination unit, for obtaining a processed configuration parameter frame based on the obfuscated target parameters, the parameters in the configuration parameter frame other than the target parameters, and the custom parameters.
[0088] Optionally, in the privacy anti-tracking device of the browser provided in the embodiment of the present application, the judgment module includes: a first determination submodule, used to determine the browser type and kernel version number corresponding to the target browser based on parameter information; a second determination submodule, used to determine the need to add custom parameters to the configuration parameter frame when the browser type is a preset type and the kernel version number is less than the preset version number.
[0089] Optionally, in the browser privacy anti-tracking device provided in the embodiment of the present application, the second setting sub-unit includes: a third determination module, used to determine the browser type corresponding to the target browser based on the parameter information; a fourth determination module, used to determine the target parameter order corresponding to the browser type; a setting module, used to set the parameter order of the header information frame according to the target parameter order to obtain a processed header information frame.
[0090] Optionally, in the browser privacy anti-tracking device provided in the embodiment of the present application, the device also includes: a third determination unit, used to determine multiple instances corresponding to the target browser before obtaining the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser, and randomly generate an obfuscation value for each instance; a fourth determination unit, used to determine the parameter information based on the browser type and kernel version number of the target browser; a storage unit, used to store the obfuscation value and parameter information corresponding to each instance in the user space.
[0091] Optionally, in the browser privacy anti-tracking device provided in the embodiment of the present application, the first determination module includes: a third determination sub-module, used to determine multiple browsers, and perform access simulation through multiple browsers to obtain simulation results, wherein the parameter information corresponding to the browsers in the multiple browsers is different; an acquisition sub-module, used to obtain the target network protocol request issued by each browser when performing access simulation through multiple browsers; a fourth determination sub-module, used to determine the target parameters based on the simulation results and the target network protocol request.
[0092] The privacy anti-tracking device of the browser includes a processor and a memory. The above-mentioned acquisition unit 301, processing unit 302 and access unit 303 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0093] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set to achieve privacy anti-tracking of the browser by adjusting the kernel parameters.
[0094] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0095] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a privacy anti-tracking method of a browser is implemented.
[0096] An embodiment of the present invention provides a processor, which is used to run a program, wherein the browser's privacy anti-tracking method is executed when the program is running.
[0097] like Figure 4 As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: when a target instance of a target browser is started, an obfuscation value corresponding to the target instance and parameter information corresponding to the target browser are obtained from a user space of the target browser, wherein the instance of the target browser has a corresponding relationship with the user account; when a target address is accessed through the target browser, parameters in a target network protocol request issued by the target browser are processed based on the obfuscation value and the parameter information to obtain a processed target network protocol request; and the target address is accessed based on the processed target network protocol request.
[0098] Optionally, the parameters in the target network protocol request issued by the target browser are processed based on the obfuscation value and the parameter information to obtain the processed target network protocol request, including: processing the parameters in the configuration parameter frame of the target network protocol request according to the obfuscation value and the parameter information to obtain the processed configuration parameter frame; setting the parameter values corresponding to the flow control window frame of the target network protocol request according to the parameter information to obtain the processed flow control window frame; setting the parameter sequence of the header information frame of the target network protocol request according to the parameter information to obtain the processed header information frame; obtaining the processed target network protocol request based on the processed configuration parameter frame, the processed flow control window frame and the processed header information frame.
[0099] Optionally, processing parameters in a configuration parameter frame requested by a target network protocol according to the obfuscation value and parameter information to obtain a processed configuration parameter frame includes: determining a target parameter from a plurality of parameters in the configuration parameter frame, wherein the target parameter is a parameter to be obfuscated; performing obfuscation processing on the target parameter according to the obfuscation value to obtain an obfuscated target parameter; judging whether it is necessary to add a custom parameter to the configuration parameter frame according to the parameter information; if it is not necessary to add a custom parameter to the configuration parameter frame, obtaining a processed configuration parameter frame according to the obfuscated target parameter and parameters in the configuration parameter frame other than the target parameter.
[0100] Optionally, after determining whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information, the method further includes: if it is necessary to add custom parameters to the configuration parameter frame, determining the custom parameters based on the obfuscation value; and obtaining a processed configuration parameter frame based on the obfuscated target parameters, the parameters in the configuration parameter frame other than the target parameters, and the custom parameters.
[0101] Optionally, judging whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information includes: determining the browser type and kernel version number corresponding to the target browser based on the parameter information; and determining that it is necessary to add custom parameters to the configuration parameter frame when the browser type is a preset type and the kernel version number is less than the preset version number.
[0102] Optionally, the parameter order of the header information frame of the target network protocol request is set according to the parameter information to obtain the processed header information frame, including: determining the browser type corresponding to the target browser according to the parameter information; determining the target parameter order corresponding to the browser type; setting the parameter order of the header information frame according to the target parameter order to obtain the processed header information frame.
[0103] Optionally, before obtaining the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser, the method also includes: determining multiple instances corresponding to the target browser and randomly generating an obfuscation value for each instance; determining the parameter information based on the browser type and kernel version number of the target browser; and storing the obfuscation value and parameter information corresponding to each instance in the user space.
[0104] Optionally, determining the target parameters from multiple parameters in the configuration parameter frame includes: determining multiple browsers, and performing access simulation through the multiple browsers to obtain simulation results, wherein parameter information corresponding to the browsers in the multiple browsers is different; when performing access simulation through multiple browsers, obtaining a target network protocol request issued by each browser; and determining the target parameters based on the simulation results and the target network protocol request.
[0105] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0106] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: when a target instance of a target browser is started, obtaining an obfuscation value corresponding to the target instance and parameter information corresponding to the target browser from the user space of the target browser, wherein the instance of the target browser has a corresponding relationship with the user account; when accessing a target address through the target browser, processing parameters in a target network protocol request issued by the target browser based on the obfuscation value and the parameter information to obtain a processed target network protocol request; and accessing the target address based on the processed target network protocol request.
[0107] Optionally, the parameters in the target network protocol request issued by the target browser are processed based on the obfuscation value and the parameter information to obtain the processed target network protocol request, including: processing the parameters in the configuration parameter frame of the target network protocol request according to the obfuscation value and the parameter information to obtain the processed configuration parameter frame; setting the parameter values corresponding to the flow control window frame of the target network protocol request according to the parameter information to obtain the processed flow control window frame; setting the parameter sequence of the header information frame of the target network protocol request according to the parameter information to obtain the processed header information frame; obtaining the processed target network protocol request based on the processed configuration parameter frame, the processed flow control window frame and the processed header information frame.
[0108] Optionally, processing parameters in a configuration parameter frame requested by a target network protocol according to the obfuscation value and parameter information to obtain a processed configuration parameter frame includes: determining a target parameter from a plurality of parameters in the configuration parameter frame, wherein the target parameter is a parameter to be obfuscated; performing obfuscation processing on the target parameter according to the obfuscation value to obtain an obfuscated target parameter; judging whether it is necessary to add a custom parameter to the configuration parameter frame according to the parameter information; if it is not necessary to add a custom parameter to the configuration parameter frame, obtaining a processed configuration parameter frame according to the obfuscated target parameter and parameters in the configuration parameter frame other than the target parameter.
[0109] Optionally, after determining whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information, the method further includes: if it is necessary to add custom parameters to the configuration parameter frame, determining the custom parameters based on the obfuscation value; and obtaining a processed configuration parameter frame based on the obfuscated target parameters, the parameters in the configuration parameter frame other than the target parameters, and the custom parameters.
[0110] Optionally, judging whether it is necessary to add custom parameters to the configuration parameter frame based on the parameter information includes: determining the browser type and kernel version number corresponding to the target browser based on the parameter information; and determining that it is necessary to add custom parameters to the configuration parameter frame when the browser type is a preset type and the kernel version number is less than the preset version number.
[0111] Optionally, the parameter order of the header information frame of the target network protocol request is set according to the parameter information to obtain the processed header information frame, including: determining the browser type corresponding to the target browser according to the parameter information; determining the target parameter order corresponding to the browser type; setting the parameter order of the header information frame according to the target parameter order to obtain the processed header information frame.
[0112] Optionally, before obtaining the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser, the method also includes: determining multiple instances corresponding to the target browser and randomly generating an obfuscation value for each instance; determining the parameter information based on the browser type and kernel version number of the target browser; and storing the obfuscation value and parameter information corresponding to each instance in the user space.
[0113] Optionally, determining the target parameters from multiple parameters in the configuration parameter frame includes: determining multiple browsers, and performing access simulation through the multiple browsers to obtain simulation results, wherein parameter information corresponding to the browsers in the multiple browsers is different; when performing access simulation through multiple browsers, obtaining a target network protocol request issued by each browser; and determining the target parameters based on the simulation results and the target network protocol request.
[0114] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0115] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0118] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0119] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0120] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0121] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0122] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0123] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A privacy anti-tracking method for a browser, characterized in that: include: When a target instance of a target browser is started, obtaining an obfuscation value corresponding to the target instance and parameter information corresponding to the target browser from a user space of the target browser, wherein the instance of the target browser has a corresponding relationship with a user account; When accessing a target address through a target browser, processing parameters in a target network protocol request sent by the target browser based on the obfuscated value and the parameter information to obtain a processed target network protocol request; Accessing the target address according to the processed target network protocol request; Among them, the parameters in the target network protocol request issued by the target browser are processed based on the obfuscation value and the parameter information, and the processed target network protocol request includes: setting the parameter order of the header information frame of the target network protocol request according to the parameter information to obtain the processed header information frame, wherein the processed target network protocol request includes a configuration parameter frame, a flow control window frame and a processed header information frame.
2. The method according to claim 1, characterized in that: The parameters in the target network protocol request sent by the target browser are processed based on the obfuscated value and the parameter information, and the processed target network protocol request includes: Processing the parameters in the configuration parameter frame of the target network protocol request according to the obfuscation value and the parameter information to obtain a processed configuration parameter frame; Setting a parameter value corresponding to the flow control window frame requested by the target network protocol according to the parameter information to obtain a processed flow control window frame; The processed target network protocol request is obtained according to the processed configuration parameter frame, the processed flow control window frame and the processed header information frame.
3. The method according to claim 2, characterized in that The parameters in the configuration parameter frame of the target network protocol request are processed according to the obfuscation value and the parameter information, and the processed configuration parameter frame includes: Determining a target parameter from a plurality of parameters in the configuration parameter frame, wherein the target parameter is a parameter to be obfuscated; Performing obfuscation processing on the target parameter according to the obfuscation value to obtain an obfuscated target parameter; According to the parameter information, determining whether it is necessary to add a custom parameter to the configuration parameter frame; If it is not necessary to add the custom parameter to the configuration parameter frame, the processed configuration parameter frame is obtained according to the obfuscated target parameter and the parameters in the configuration parameter frame except the target parameter.
4. The method according to claim 3, characterized in that After determining whether it is necessary to add a custom parameter to the configuration parameter frame according to the parameter information, the method further includes: If it is necessary to add the custom parameter to the configuration parameter frame, the custom parameter is determined according to the obfuscated value; The processed configuration parameter frame is obtained according to the obfuscated target parameter, the parameters other than the target parameter in the configuration parameter frame and the custom parameter.
5. The method according to claim 3, characterized in that: Judging whether it is necessary to add a custom parameter to the configuration parameter frame according to the parameter information includes: Determine the browser type and kernel version number corresponding to the target browser according to the parameter information; When the browser type is a preset type and the kernel version number is less than the preset version number, it is determined that the custom parameter needs to be added to the configuration parameter frame.
6. The method according to claim 1, characterized in that The parameter sequence of the header information frame of the target network protocol request is set according to the parameter information, and the processed header information frame includes: Determine the browser type corresponding to the target browser according to the parameter information; Determine the target parameter sequence corresponding to the browser type; The parameter sequence of the header information frame is set according to the target parameter sequence to obtain the processed header information frame.
7. The method according to claim 1, characterized in that Before acquiring the obfuscation value corresponding to the target instance and the parameter information corresponding to the target browser from the user space of the target browser, the method further includes: Determine multiple instances corresponding to the target browser, and randomly generate an obfuscation value for each instance; Determining the parameter information according to the browser type and kernel version number of the target browser; The obfuscation value and the parameter information corresponding to each instance are stored in the user space.
8. The method according to claim 3, characterized in that Determining the target parameter from a plurality of parameters in the configuration parameter frame comprises: Determine a plurality of browsers, and perform access simulation through the plurality of browsers to obtain simulation results, wherein the parameter information corresponding to the browsers in the plurality of browsers is different; When performing access simulation through the multiple browsers, obtaining a target network protocol request issued by each browser; The target parameters are determined according to the simulation results and the target network protocol request.
9. A privacy anti-tracking device for a browser, characterized in that: include: an acquisition unit, configured to acquire, when a target instance of a target browser is started, an obfuscation value corresponding to the target instance and parameter information corresponding to the target browser from a user space of the target browser, wherein the instance of the target browser has a corresponding relationship with a user account; A processing unit, configured to process the parameters in the target network protocol request sent by the target browser based on the obfuscation value and the parameter information when accessing the target address through the target browser, so as to obtain a processed target network protocol request; An access unit, configured to access the target address according to the processed target network protocol request; Wherein, the processing unit includes: a second setting subunit, used to set the parameter order of the header information frame of the target network protocol request according to the parameter information to obtain a processed header information frame, wherein the processed target network protocol request includes a configuration parameter frame, a flow control window frame, a processed header information frame and a relative priority information frame.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the storage medium is controlled to execute the privacy anti-tracking method of the browser according to any one of claims 1 to 8 on a device.
11. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the browser privacy anti-tracking method described in any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for detecting a forged request in a browser
CN109756479A
Privacy information protection method and device, equipment and storage medium
CN116264513A
