Page browsing control method and device, electronic equipment and storage medium

By receiving and processing page browsing control data sent by the server, and automatically detecting and configuring the target URL accessed by the browser, the problem of complex and unstable browser configuration in the prior art is solved, and security and maintainability are improved.

CN120179323APending Publication Date: 2025-06-20BEIJING HONGTENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311753667.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

In the prior art, browser configuration needs to be manually adjusted according to different systems, browser versions and types, resulting in complex operations and easy to lead to loss of user data or instability of the browser.

Method used

By receiving page browsing control data sent by the server, obtain the target URL entered by the browser, and detect the target URL based on the page browsing control data, generate the corresponding page configuration data, and control the browser to generate the target page, so that manual configuration is not required.

Benefits of technology

Improves the security of the target object when accessing the target URL and the maintainability of the browser, simplifies the browser configuration process, and reduces the risk of operation errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179323A_ABST
    Figure CN120179323A_ABST
Patent Text Reader

Abstract

The invention provides a page browsing control method, device and system and a storage medium, and the method comprises the steps: receiving page browsing control data sent by a server, the page browsing control data being used for performing page control on a website page of a browser; obtaining a target website input by the browser, and performing website detection on the target website according to the page browsing control data to obtain a website detection result; generating page configuration data corresponding to the target website according to the page browsing control data and the website detection result; the browser is controlled to generate the target page corresponding to the target website according to the page configuration data, so that the technical effect that the browser does not need to be manually configured when different target pages are browsed is achieved, and the safety of the target object when accessing the target website and the maintainability of the browser are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and particularly to a method and device for controlling page browsing, an electronic device, and a storage medium. Background Art

[0002] With the continuous development of computer technology, the functions of browsers have become increasingly rich. In related application scenarios, it is necessary to adjust the browser functions to better adapt to business requirements. For example, different kernels are set in the browser to meet development needs, etc.

[0003] In the related art, the browser needs to be manually configured according to business requirements. However, since the configuration of the browser usually needs to be adjusted according to different systems, browser versions, browser types, etc., this requires technicians to fully understand and master various situations. If the operation is improper, it will cause user data loss or make the browser in an unstable state. Summary of the Invention

[0004] This application provides a method and device for controlling page browsing, an electronic device, and a storage medium. This method can improve the security of the target object when accessing the target website and the maintainability of the browser.

[0005] In a first aspect, a method for controlling page browsing is provided. The method includes:

[0006] Receiving page browsing control data sent by a server, where the page browsing control data is used to control the web page of the browser;

[0007] Obtaining a target website input by the browser, and performing a website detection on the target website according to the page browsing control data to obtain a website detection result;

[0008] Generating page configuration data corresponding to the target website according to the page browsing control data and the website detection result;

[0009] Controlling the browser to generate a target page corresponding to the target website according to the page configuration data.

[0010] In a second aspect, a device for controlling page browsing is provided. The device includes:

[0011] A receiving module, configured to receive page browsing control data sent by a server, where the page browsing control data is used to control the web page of the browser;

[0012] An obtaining module, configured to obtain a target website input by the browser, and perform a website detection on the target website according to the page browsing control data to obtain a website detection result;

[0013] A page configuration data generation module, configured to generate page configuration data corresponding to the target URL according to the page browsing control data and the URL detection result;

[0014] A target page generation module, configured to control the browser to generate a target page corresponding to the target URL according to the page configuration data.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps of a page browsing control method as described in any one of the above are implemented.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of a page browsing control method as described in any one of the above are implemented.

[0017] The beneficial effects brought by the technical solutions provided by some embodiments of the present application at least include: The browsing control method provided by the present application detects the URL page through page browsing control data, and generates a corresponding target page through the page configuration data corresponding to the target URL, so that there is no need to manually configure different URL pages, improving the security of the target object when accessing the target URL and the maintainability of the browser. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1 It is the first flowchart of the page browsing control method provided by the embodiment of the present application.

[0020] Figure 2 It is the second flowchart of the page browsing control method provided by the embodiment of the present application.

[0021] Figure 3 It is the third flowchart of the page browsing control method provided by the embodiment of the present application.

[0022] Figure 4 It is the fourth flowchart of the page browsing control method provided by the embodiment of the present application.

[0023] Figure 5 It is the fifth flowchart of the page browsing control method provided by the embodiment of the present application.

[0024] Figure 6 It is a schematic structural diagram of a page browsing control device provided by an embodiment of the present application.

[0025] Figure 7 It is a schematic structural diagram of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0026] To make the features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.

[0027] When the following description involves the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0028] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.

[0029] The following will be described in detail respectively. It should be noted that the description order of the following embodiments does not limit the preferred order of the embodiments. Please refer to Figure 1 , Figure 1 It is the first flow schematic diagram of the page browsing control method provided by an embodiment of the present application. The specific flow of the page browsing control method can be as follows:

[0030] S101. Receive the page browsing control data sent by the server, where the page browsing control data is used to perform page control on the website page of the browser;

[0031] It should be noted that, in order to uniformly manage the browser, the page browsing control data can be pre-configured by the browser background administrator according to the actual needs of the enterprise or individual. The page browsing control data can be pre-set through a background management interface or a configuration file, etc. For example, at least one of adding, modifying, or deleting security website control sub-data, trusted website control sub-data, and privacy website control sub-data, etc.

[0032] In this embodiment, since different business requirements may require the use of different types of browsers, it is necessary to uniformly manage different types of browsers. Among them, the browser can be any type of browser or a specified type of browser, such as Internet Explorer, Google Chrome, Firefox, etc.

[0033] Specifically, in the browser background management, configure the page browsing control data corresponding to each type of browser to uniformly manage the browsers. The page browsing control data includes security URL control sub-data, trusted URL control sub-data, and privacy URL control sub-data. Among them, the security URL control sub-data can detect whether the target URL page accessed by the target object is secure and can intercept or allow access. The trusted URL control sub-data defines the trusted URL information, which can allow the target object to access the trusted URL without passing through cloud detection. For example, listing the company's internal website as the trusted URL control data can enable employees to access the company's internal website without manually adding a trusted URL. The privacy URL control sub-data defines the URLs that need to restrict privacy information. For example, listing social media websites in the privacy URL control data to restrict social media websites from collecting the privacy information of the target object in the browser and protecting the privacy security of the target object.

[0034] S102, obtain the target URL input by the browser, and perform URL detection on the target URL according to the page browsing control data to obtain a URL detection result;

[0035] In this embodiment, when the target object enters the target URL in the browser, the browser will pass the target URL to the network protocol stack for network connection and data transmission, and establish a connection through the network protocol stack and send the target URL to the server. When the server receives the target URL sent by the browser, it will detect the target URL according to the pre-set cloud detection.

[0036] Specifically, when performing cloud detection on the target URL on the server side, the domain name detection method can be used to detect the target URL. By checking whether the domain name of the target URL conforms to the specification, whether it contains illegal characters, whether it contains multiple top-level domains, etc.; at the same time, the server will also check whether the domain name has been registered and whether there are abnormal behaviors, etc.

[0037] Optionally, cloud detection can be performed on the web content of the target URL. By comparing the web content in the target URL with the samples in the cloud virus signature database, if the web content of the target URL matches the samples in the network virus signature database, it is determined that the target URL has a security risk, and at this time, the detection result of the target URL is abnormal.

[0038] The server side compares the target URL with the trusted URL control sub-data, where the trusted URL control sub-data contains pre-configured trusted URLs. When the server receives the target URL sent by the browser, it compares the target URL with the trusted URL control sub-data to determine whether the target URL is any of the pre-configured trusted URLs. If the target URL does not belong to any of the trusted URLs, the detection result of the target URL is abnormal at this time. For example, in an enterprise environment, the administrator can add all internal company websites to the trusted URL control sub-data. At this time, if an employee accesses an internal website, there is no need to perform the original detection and can directly access it, thereby improving the work efficiency of employees.

[0039] The server side compares the target URL with the privacy URL control sub-data. When the server receives the target URL sent by the browser, it compares and analyzes the target URL with the pre-set privacy URL control sub-data. The privacy URL control sub-data includes privacy protection restrictions on known potential privacy risk websites or websites with privacy leakage risks. If the target URL matches the privacy URL control sub-data, the detection result of the target URL is abnormal at this time, and the privacy mode will be enabled when the target object accesses the target URL. By comparing the target URL with the privacy URL control sub-data, it can help users better understand the privacy risks of websites and take corresponding preventive measures to protect the security of personal privacy information.

[0040] S103, generate page configuration data corresponding to the target URL according to the page view control data and the URL detection result;

[0041] It should be noted that in this application, the secure URL control sub-data, the trusted URL control sub-data, and the privacy URL control sub-data can be used alone or in combination to achieve complete control of the browser page.

[0042] Specifically, the URL detection results of the target page are respectively detected against the page browsing control data to determine whether the URL detection results of the target URL pass at least one of the data detections in the page browsing control data. The page configuration data corresponding to the target URL that meets at least one of the URL detection results is saved to the local configuration or Cookie of the browser. For example, if the URL detection result shows that the target URL corresponds to the secure URL control sub-data, the server will then send down the secure URL control sub-data corresponding to the target URL and use it as the page configuration data for the target URL; for another example, if the URL detection result shows that the target URL corresponds to the trusted URL control sub-data, the server will send down the trusted URL control sub-data corresponding to the target URL and use it as the page configuration data for the target URL; for yet another example, if the URL detection result shows that the target URL corresponds to the privacy URL control sub-data, the server will send down the privacy URL control sub-data corresponding to the target URL and use it as the page configuration data for the target URL.

[0043] S104. Control the browser to generate the target page corresponding to the target URL according to the page configuration data.

[0044] In this embodiment, when the target object inputs the target URL and requests access, the browser will load the page configuration data saved locally. The browser will parse the page configuration data at the local end to perform operations such as access restriction, privacy permission setting, or trusted site configuration on the target URL.

[0045] Specifically, according to the page configuration data, the browser generates the target page corresponding to the target URL. For example, according to the page configuration data, it is determined whether to allow the user to access the target page corresponding to the target URL, whether to add the target page to the local trusted site configuration, and whether to allow the target page to track and record the data of the target object and other permission restrictions. For example, if the target page configuration data includes privacy access permission settings that restrict the target page from obtaining the personal data corresponding to the target object, then when the user accesses the target page, the browser will execute an access block according to the privacy access permission to prevent the target page from obtaining the personal data of the target object. Through the above method of permission restriction, it can effectively help the target object avoid security problems such as privacy leakage and data theft.

[0046] As described above, in this embodiment, by receiving the page browsing control data sent by the server, where the page browsing control data is used to perform page control on the website page of the browser; obtaining the target website entered by the browser, and performing website detection on the target website according to the page browsing control data to obtain a website detection result; generating page configuration data corresponding to the target website according to the page browsing control data and the website detection result; and controlling the browser to generate a target page corresponding to the target website according to the page configuration data. Thus, manual setting of the browser configuration is not required, which can effectively improve work efficiency and ensure the privacy and security of the target object's data and information.

[0047] Optionally, please refer to Figure 2 , Figure 2 which is the second flowchart of the page browsing control method provided by the embodiment of the present application. The specific process of this page browsing control method may include:

[0048] S201, determining whether the first website detection result corresponds to the secure website control sub-data.

[0049] In this embodiment, when the target object enters the target website in the browser, the browser will pass the target website to the network protocol stack for network connection and data transmission, and establish a connection through the network protocol stack and send the target website to the server. When the server receives the target website sent by the browser, it will detect the target website according to the page browsing control data configured on the server.

[0050] Specifically, when the server receives the target website, it will compare the target website that the target object is accessing according to a preset cloud detection method. If it is found that the target website fails the cloud detection, the website detection result is abnormal. For example, perform domain name detection on the target website to obtain the domain name detection data of the target website. First, query the registration time of the domain name. If the domain name has been registered for a long time and there is no record of frequently changing the registration information, it indicates that the target website is trustworthy. Second, check whether the spelling and grammar of the domain name are correct. If the domain name has obvious spelling mistakes, variant spellings, or uses unconventional characters, it indicates that the domain name is a counterfeit or malicious website. Finally, check whether the target website uses an HTTPS secure connection. The HTTPS connection can provide encryption protection to ensure the security of data during transmission. If the target website uses HTTPS, it can increase the credibility of the website. For example, if the target website is www.example.com and it is found that the domain name has been registered for a long time, the spelling is correct, and it uses an HTTPS secure connection, then it can be determined that the target website corresponds to the secure website control sub-data. By comparing and detecting the first website detection result with the secure website control sub-data, the data security of the target object is effectively protected.

[0051] Optionally, the web content of the target URL is detected by matching with the cloud virus signature database. When a user accesses a URL, the server retrieves the web content of the target URL and compares it with the samples in the virus signature database to check if there are any features in the target web content that match the samples in the virus signature database. If the target web content matches the samples in the virus signature database, the detection result will be marked as abnormal. At this time, it is determined that the target URL does not correspond to the secure URL control sub-data.

[0052] S202, if so, generate the first page configuration data corresponding to the target URL according to the secure URL control sub-data and the first URL detection result.

[0053] In this embodiment, when the target URL passes the URL detection, the secure URL control sub-data on the server side will be sent down to generate the first target page corresponding to the target URL. When the browser receives the secure URL control sub-data, it will be saved in the local configuration for subsequent generation of the first target page corresponding to the target URL.

[0054] Specifically, when the target object accesses the target URL, the server side will detect the target URL according to the cloud detection policy to verify the legality and security of the target URL. The server side sends the corresponding secure URL control sub-data as the first page configuration data corresponding to the target URL to the browser side, and the browser can store the first page configuration data in the local storage area to ensure that the target page can be quickly loaded and generated during subsequent access. For example, if the target URL www.abbb.com is detected as secure in the cloud detection, then the first page configuration data will allow the target object to access the first target page corresponding to the target URL.

[0055] S203, control the browser to generate the first target page corresponding to the target URL according to the first page configuration data.

[0056] Specifically, when the server side sends down the secure URL control sub-data to the browser, the browser saves these data in the local storage as the first page configuration data. For example, use the local storage mechanism provided by the browser, such as cookieStorage or sessionStorage in the WebStorage API, to store these data. When the target object enters the target URL and requests access, the browser can capture this request through the first page configuration data and check if there is corresponding secure URL control sub-data in the local storage. If there is secure URL control sub-data in the local storage, the browser can use these data combined with other data returned by the server side to generate the first target page corresponding to the target URL.

[0057] As described above, by generating corresponding first page configuration data according to the secure website control sub-data corresponding to the target website to be detected by the website, different configuration data can be generated for different target websites to implement access restrictions on the page corresponding to the target website, thereby improving the data security of individuals or enterprises.

[0058] Optionally, please refer to Figure 3 , Figure 3 which is the third process schematic diagram of the data processing method provided by the embodiment of the present application. The specific process of the page browsing control method may include:

[0059] S301, determine whether the second website detection result corresponds to the trusted website control sub-data.

[0060] In this embodiment, when the target object enters the target website in the browser, the browser will pass the target website to the network protocol stack for network connection and data transmission, and establish a connection through the network protocol stack and send the target website to the server. When the server receives the target website sent by the browser, it will detect the target website according to the page browsing control data configured by the server.

[0061] Specifically, the target website is compared with the trusted website control sub-data through the server side; when the server receives the target website, it will compare the target website that the target object is accessing with the trusted website control sub-data. If it is found that the target website exists in the configured trusted website control sub-data, the second website is considered to be trusted. For example, the trusted website data existing in the trusted website control sub-data is as follows:

[0062] 1. https: / / www.example.com

[0063] 2. https: / / subdomain.example.com

[0064] When the target website requested by the user is https: / / www.example.com / page1, the server side finds that the target website matches the trusted website control sub-data 1 successfully, so the second website detection result is a trusted website. Another example is that when the target website requested by the user is https: / / maliciouswebsite.com, the server side finds that the target website does not match all the trusted website control sub-data, so it is considered that the second website detection result is abnormal.

[0065] S302, if so, generate the second page configuration data corresponding to the target website according to the trusted website control sub-data and the second website detection result.

[0066] In this embodiment, when the target website passes the cloud detection, the trusted website control sub-data on the server side will be sent down to generate the second target page corresponding to the target website. When the browser receives the trusted website control sub-data, it will be saved in the local configuration for subsequent generation of the second target page corresponding to the target website.

[0067] Specifically, when the target object accesses the target website, the server side will perform website detection to verify the credibility of the target website. When the detection result passes, the server side will send the trusted website control sub-data corresponding to the target website to the browser side as the second page configuration data corresponding to the target website. The browser will store the second page configuration data in the local storage area of the browser to ensure that the target page can be quickly loaded and generated during subsequent access. For example, if it is detected that the target website www.abbb.com is included in the trusted website control sub-data, then direct access to the second target page will be allowed in the second page configuration data without the need to perform security website control sub-data detection.

[0068] S303, control the browser to generate the second target page corresponding to the target website according to the second page configuration data.

[0069] Specifically, when the server side sends down the trusted website control sub-data to the browser, the browser saves these data in the local storage as the second page configuration data. For example, use the local storage mechanism provided by the browser, such as cookieStorage or sessionStorage in the WebStorage API, to store these data. When the user enters the target website and requests access, the browser can capture this request through the second page configuration data and check whether there is corresponding trusted website control sub-data in the local storage. If there is trusted website control sub-data in the local storage, the browser can use these data combined with other data returned by the server side to generate the first target page corresponding to the target website.

[0070] As can be seen from the above, by generating the corresponding second page configuration data after detecting the trusted website control sub-data corresponding to the target website, different configuration data can be generated for different target websites to achieve access restrictions on the pages corresponding to the target websites, which can speed up the page access speed and improve work efficiency.

[0071] Optionally, please refer to Figure 4 , Figure 4 which is the fourth process schematic diagram of the data processing method provided by the embodiment of the present application. The specific process of the page browsing control method may include:

[0072] S401, determine whether the third website detection result corresponds to the privacy website control sub-data.

[0073] In this embodiment, when the target object enters the target URL in the browser, the browser will pass the target URL to the network protocol stack. The network protocol stack will perform network connection and data transmission, establish a connection through the network protocol stack, and send the target URL to the server. When the server receives the target URL sent by the browser, it will detect the target URL according to the page browsing control data configured on the server.

[0074] Specifically, the server side compares the target URL with the privacy URL control sub-data; when the server receives the target URL, it will detect the target URL that the target object is accessing according to the privacy URL control sub-data. If it is found that the target URL in the privacy URL control sub-data has the privacy mode enabled, while the privacy mode is disabled in the local configuration of the browser, it is considered that the third URL detection result does not match the privacy URL control sub-data.

[0075] S402, if so, generate the third page configuration data corresponding to the target URL according to the privacy URL control sub-data and the third URL detection result.

[0076] In this embodiment, after the target URL passes the cloud detection, the privacy URL control sub-data on the server side will be sent down to generate the third target page corresponding to the target URL. When the browser receives the privacy URL control sub-data, it will be saved in the local configuration for subsequent generation of the third target page corresponding to the target URL.

[0077] Specifically, when the target object accesses the target URL, the server side will perform URL detection according to the privacy URL control sub-data to verify whether the target URL should enable the privacy mode. When the detection result passes, the server side will send the privacy URL control sub-data corresponding to the target URL to the browser side as the third page configuration data corresponding to the target URL. The browser will store the third page configuration data in the local storage area of the browser to ensure that the privacy data of the target object can be adjusted in strategy during subsequent access. For example, the target URL www.abbb.com in the third page configuration data has the privacy mode enabled. At this time, when the target accesses the third target page, the third target page is not allowed to record the privacy data of the target object and delete the browsing traces.

[0078] S403, control the browser to generate the second target page corresponding to the target URL according to the third page configuration data.

[0079] Specifically, when the server sends the trusted website control sub-data to the browser, the browser saves this data in the local storage as the third page configuration data. For example, the browser's provided local storage mechanism, such as cookieStorage or sessionStorage in the WebStorage API, is used to store this data. When the user enters the target website address and requests access, the browser can capture this request through the third page configuration data and check whether there is corresponding third page configuration data in the local storage. If there is third page configuration data in the local storage, the browser can use this data in combination with other data returned by the server to generate the third target page corresponding to the target website address.

[0080] As can be seen from the above, by generating the corresponding third page configuration data after detecting the trusted website control sub-data corresponding to the target website address, different configuration data can be generated for different target website addresses to implement privacy restrictions on the page corresponding to the target website address, prevent the illegal acquisition of the target object's privacy by the browser web page, and improve the data security of the target object.

[0081] Optionally, please refer to Figure 5 , Figure 5 which is the fifth process schematic diagram of the page browsing control method provided by the embodiments of the present application. The specific process of the page browsing control method may include:

[0082] S501, generate the first page configuration data corresponding to the target website address according to the secure website control sub-data and the first website detection result.

[0083] Specifically, when the target object accesses the target website address, the server will detect the target website address according to a preset cloud detection method to verify the legality and security of the target website address. After passing the detection, the server will send the corresponding secure website control sub-data as the first page configuration data corresponding to the target website address to the browser side, and the browser will store the first page configuration data in the local storage area to ensure that the target page can be quickly loaded and generated during subsequent access. For example, if the target website address www.abbb.com is detected as secure in the cloud detection, then the target object will be allowed to access the target first page corresponding to the target website address in the first page configuration data.

[0084] S502, add the trusted website control sub-data to the first page configuration data.

[0085] After generating the first page configuration data corresponding to the target website address, the server will detect whether the target website address is configured with the corresponding trusted website control sub-data to verify the credibility of the target website address.

[0086] Specifically, obtain the trusted URL control sub-data corresponding to the target URL of the server as the first page configuration corresponding to the target URL and store it in the local storage area of the browser to ensure that the target page can be quickly loaded and generated during subsequent access. For example, if it is detected that the target URL www.acbb.com is included in the trusted URL control sub-data, then direct access to the first target page will be allowed in the second page configuration data without cloud detection.

[0087] S503, Determine whether the first target page is a page corresponding to a secure URL.

[0088] After generating the first target page, it is necessary to verify and judge the first page again to prevent page redirection of the first target page.

[0089] S504, If so, add the target first page to the trusted URLs of the browser according to the trusted URL control sub-data.

[0090] Specifically, the server sends the trusted URL control sub-data corresponding to the target URL as the first page configuration data corresponding to the target URL to the browser side, and the browser will store the first page configuration data in the local storage area of the browser. For example, if it is detected that the target URL www.acbb.com is included in the trusted URL control sub-data, the target URL will be added to the trusted URLs of the browser, and direct access to the first target page will be allowed during subsequent access.

[0091] S505, Add the privacy URL control sub-data to the second page configuration data.

[0092] After generating the first page configuration data corresponding to the target URL, the server will detect whether the target URL is configured with corresponding privacy URL control sub-data.

[0093] Specifically, obtain the privacy URL control sub-data corresponding to the target URL of the server as the first page configuration corresponding to the target URL and store it in the local storage area of the browser to ensure that privacy restrictions can be imposed on the first target page during subsequent access.

[0094] S506, Determine whether the first target page is a page corresponding to a secure URL.

[0095] Detect the generated first target page according to the first configuration data corresponding to the target URL, and check whether the domain name or web page content of the first page conforms to the secure URL control sub-data in the first configuration data corresponding to the target URL. If it conforms, it is considered that the first target page is a page corresponding to a secure URL.

[0096] S507, If so, save or delete the data corresponding to the target object in the first target page according to the privacy URL control sub-data.

[0097] Specifically, the server side sends the privacy URL control sub-data corresponding to the target URL as the first page configuration data corresponding to the target URL to the browser side, and the browser can store the first page configuration data in the local storage area of the browser. For example, privacy protection is enabled for the target URL www.acbb.com in the privacy URL control sub-data. At this time, the data of the target object in the target URL www.acbb.com is deleted and saving is prohibited.

[0098] S508, if the first target page is not the page corresponding to the secure URL, an exception prompt message is generated.

[0099] If it is found that the first target page corresponding to the target URL is in an abnormal state after cloud detection of the target URL, at this time, the first target page is considered an insecure page, and an insecure prompt message is generated.

[0100] S509, according to the privacy URL control sub-data, the data corresponding to the target object in the first target page is deleted.

[0101] Determine whether the target object issues an access to the insecure first target page. If the target object persists in accessing the first target page, according to the privacy URL control sub-data corresponding to the first target page, the privacy protection of the first target page is enabled so that the first target page cannot obtain the privacy data of the target object.

[0102] The above permission restriction method uses the secure URL control sub-data, the trusted URL control sub-data, and the privacy URL control sub-data to restrict the target URL. The secure URL control sub-data and the privacy URL control sub-data can also be used to restrict the target URL on other pages. Of course, the privacy control of the page is not limited to the above several permissions, and other restriction methods can also be included. For example, when the target object accesses the target URL and the target URL passes the cloud detection, the secure URL control sub-data and the privacy URL control sub-data corresponding to the target URL are used as the page configuration data for generating the target page corresponding to the target URL. The order of the above permission restrictions can be set accordingly according to requirements, and no specific limitation is made here.

[0103] As can be seen from the above, by configuring the page browsing control data of any type or specified type of browser in the browser background management, the technical effect of unified management of any page browser can be achieved, and the security of browser access can be enhanced, standardization and consistency can be realized, and the configuration of the page browser can be simplified.

[0104] In addition, the embodiment of the present application also provides a page browsing control device. Please refer to Figure 6 , Figure 6It is a schematic structural diagram of a page browsing control device provided by an embodiment of the present application. Among them, the page browsing control device 600 may include a receiving module 601, an obtaining module 602, a page configuration data generation module 603, and a target page generation module 604, specifically as follows:

[0105] The receiving module 601 is configured to receive page browsing control data sent by a server, where the page browsing control data is used to perform page control on the website page of a browser;

[0106] The obtaining module 602 is configured to obtain a target website entered by the browser, and perform website detection on the target website according to the page browsing control data to obtain a website detection result;

[0107] The page configuration data generation module 603 is configured to generate page configuration data corresponding to the target website according to the page browsing control data and the website detection result;

[0108] The target page generation module 604 is configured to control the browser to generate a target page corresponding to the target website according to the page configuration data.

[0109] In some embodiments, the page configuration data generation module 603 further includes a first judgment module, configured to judge whether a first website detection result corresponds to security website control sub-data; if so, generate first page configuration data corresponding to the target website according to the security website control sub-data and the first website detection result;

[0110] Optionally, the page configuration data generation module 603 further includes a first target page generation module, configured to control the browser to generate a first target page corresponding to the target website according to the first page configuration data.

[0111] In some embodiments, the page configuration data generation module 603 further includes a second judgment module, configured to judge whether a second website detection result corresponds to security website control sub-data; if so, generate second page configuration data corresponding to the target website according to the trusted website control sub-data and the second website detection result;

[0112] Optionally, the page configuration data generation module 603 further includes a second target page generation module, configured to control the browser to generate a second target page corresponding to the target website according to the second page configuration data.

[0113] In some embodiments, the page configuration data generation module 603 further includes a third judgment module, configured to judge whether a third website detection result corresponds to privacy website control sub-data; if so, generate third page configuration data corresponding to the target website according to the privacy website control sub-data and the third website detection result;

[0114] Optionally, the page configuration data generation module 603 further includes a third target page generation module, which is configured to control a browser to generate a third target page corresponding to a target URL according to third page configuration data.

[0115] In some embodiments, the page configuration data generation module 603 further includes a first addition module, which is configured to add trusted URL control sub-data to the first page configuration data;

[0116] In some embodiments, the target page generation module 604 further includes a page judgment module, which is configured to judge whether the first target page is a page corresponding to a secure URL; if so, add the target first page to the trusted URLs of the browser according to the trusted URL control sub-data.

[0117] In some embodiments, the page configuration data generation module 603 further includes a second addition module, which is configured to add trusted URL control sub-data to the second page configuration data;

[0118] In some embodiments, the target page generation module 604 further includes a second page judgment module, which is configured to judge whether the first target page is a page corresponding to a secure URL; if so, save or delete the data corresponding to the target object in the first target page according to the private URL control sub-data.

[0119] In some embodiments, the page configuration data generation module 603 further includes a prompt module, which is configured to generate an exception prompt message if the first target page is not a page corresponding to a secure URL;

[0120] Optionally, the page configuration data generation module 603 further includes a deletion module, which is configured to delete the data corresponding to the target object in the first target page according to the private URL control sub-data.

[0121] In this embodiment, the page browsing control device 600 receives page browsing control data sent by a server through the acquisition module 601, where the page browsing control data is used to perform page control on the URL page of the browser; obtains a target URL input by the browser through the acquisition module 602, and performs URL detection on the target URL according to the page browsing control data to obtain a URL detection result; generates page configuration data corresponding to the target URL through the page configuration data generation module 603 according to the page browsing control data and the URL detection result; controls the browser to generate a target page corresponding to the target URL through the target page generation module 604, so as to achieve the purpose of not manually configuring the browser for different URL pages, improving the security of the target object when accessing the target URL and the maintainability of the browser.

[0122] An embodiment of the present application further provides a computer device, which may be a terminal, such as Figure 7As shown, it shows a schematic structural diagram of a terminal involved in an embodiment of the present application. Specifically:

[0123] The computer device may include a radio frequency (RF) circuit 701, a memory 702 including one or more computer-readable storage media, an input unit 703, a display unit 704, sensors 705, an audio circuit 706, a wireless fidelity (WiFi) module 707, a processor 708 including one or more processing cores, and a power supply 709 and other components. Those skilled in the art can understand that Figure 7 the terminal structure shown in does not constitute a limitation on the terminal, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0124] Among them:

[0125] The RF circuit 701 can be used for receiving and sending signals during information reception or call processes. Specifically, after receiving the downlink information of the base station, it is handed over to one or more processors 708 for processing; in addition, the data involved in the uplink is sent to the base station. Generally, the RF circuit 701 includes but is not limited to antennas, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 701 can also communicate with the network and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.

[0126] The memory 702 can be used to store software programs and modules. The processor 708 executes various functional applications and information retrievals by running the software programs and modules stored in the memory 702. The memory 702 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the terminal (such as audio data, a phone book, etc.). In addition, the memory 702 can include high-speed random access memory and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 702 can also include a memory controller to provide access to the memory 702 for the processor 708 and the input unit 703.

[0127] The input unit 703 can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to object settings and function controls. Specifically, in a specific embodiment, the input unit 703 can include a touch-sensitive surface and other input devices. The touch-sensitive surface, also known as a touch display screen or a touchpad, can collect touch operations of an object on or near it (such as an operation of an object using a finger, a stylus, or any suitable object or accessory on or near the touch-sensitive surface), and drive the corresponding connection device according to a preset program. Optionally, the touch-sensitive surface can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the object, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 708, and can receive and execute commands sent by the processor 708. In addition, multiple types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch-sensitive surface. In addition to the touch-sensitive surface, the input unit 703 can also include other input devices. Specifically, the other input devices can include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0128] The display unit 704 can be used to display information input by or provided to an object, as well as various graphical object interfaces of the terminal. These graphical object interfaces can be composed of graphics, text, icons, videos, and any combination thereof. The display unit 704 may include a display panel. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, a touch-sensitive surface can cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 708 to determine the type of touch event. Subsequently, the processor 708 provides a corresponding visual output on the display panel according to the type of touch event. Although in Figure 7 , the touch-sensitive surface and the display panel are implemented as two independent components to achieve input and input functions, but in some embodiments, the touch-sensitive surface and the display panel can be integrated to achieve input and output functions.

[0129] The terminal may further include at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. Among them, the ambient light sensor can adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor can turn off the display panel and / or the backlight when the terminal is moved to the ear. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity, and can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc.; as for other sensors that the terminal can also be configured with, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be elaborated here.

[0130] The audio circuit 706, the speaker, and the microphone can provide an audio interface between the object and the terminal. The audio circuit 706 can transmit the electrical signal converted from the received audio data to the speaker, and the speaker converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 706 and then converted into audio data. After the audio data is output and processed by the processor 708, it is sent to another terminal, for example, via the RF circuit 701, or the audio data is output to the memory 702 for further processing. The audio circuit 706 may also include an earphone jack to provide communication between the peripheral earphone and the terminal.

[0131] WiFi belongs to short-range wireless transmission technology. The terminal can help the object send and receive emails, browse the web, and access streaming media through the WiFi module 707. It provides the object with wireless broadband Internet access. AlthoughFigure 7 The WiFi module 707 is shown, but it can be understood that it does not belong to the essential components of the terminal and can be completely omitted within the scope of not changing the essence of the invention as needed.

[0132] The processor 708 is the control center of the terminal, connecting various parts of the entire mobile phone through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 702, and by calling the data stored in the memory 702, it executes various functions of the terminal and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 708 may include one or more processing cores; preferably, the processor 708 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, the object interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 708 either.

[0133] The terminal further includes a power supply 709 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 708 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 709 may also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0134] Although not shown, the terminal may further include a camera, a Bluetooth module, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 708 in the terminal will, according to the following instructions, load the executable files corresponding to the processes of one or more application programs into the memory 702, and the processor 708 will run the application programs stored in the memory 702 to realize various functions, such as: receiving page browsing control data sent by the server, where the page browsing control data is used to perform page control on the website page of the browser; obtaining the target website input by the browser, and performing website detection on the target website according to the page browsing control data to obtain a website detection result; generating page configuration data corresponding to the target website according to the page browsing control data and the website detection result; and controlling the browser to generate a target page corresponding to the target website according to the page configuration data.

[0135] Those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned various methods can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by the processor.

[0136] To this end, an embodiment of the present application provides a storage medium, which stores multiple instructions that can be loaded by a processor to execute the steps in any one of the page browsing control methods provided by the embodiments of the present application. For example, when the instructions are loaded by the processor, the following steps can be executed:

[0137] Receive page browsing control data sent by a server, where the page browsing control data is used to perform page control on the URL page of a browser;

[0138] Obtain a target URL input by the browser, and perform URL detection on the target URL according to the page browsing control data to obtain a URL detection result;

[0139] Generate page configuration data corresponding to the target URL according to the page browsing control data and the URL detection result;

[0140] Control the browser to generate a target page corresponding to the target URL according to the page configuration data.

[0141] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated herein.

[0142] In the embodiments of the present application, a target page is generated through the page configuration data corresponding to the target URL, so that there is no need to manually configure different URL pages, improving the security of the target object when accessing the target URL and the maintainability of the browser.

[0143] By implementing the above process, it is possible to improve the accuracy of material requirements, optimize material inventory management, reasonably arrange the production sequence, and optimize the execution of production tasks, thereby comprehensively improving the production efficiency and operation performance of the enterprise.

[0144] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), a magnetic disk, an optical disc, etc.

[0145] Since the instructions stored in the storage medium can execute the steps in any one of the page browsing control methods provided by the embodiments of the present application, the beneficial effects that can be achieved by any one of the page browsing control methods provided by the embodiments of the present application can be realized. For details, reference may be made to the previous embodiments, which will not be elaborated herein.

[0146] The above has introduced in detail a page browsing control method, device, electronic device, and storage medium provided by the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation on the present application.

Claims

1. A page browsing control method, characterized in that, Including: Receiving page view control data sent by a server, where the page view control data is used to perform page control on the URL page of a browser; Obtaining a target URL input by the browser, and performing URL detection on the target URL according to the page view control data to obtain a URL detection result; Generating page configuration data corresponding to the target URL according to the page view control data and the URL detection result; Controlling the browser to generate a target page corresponding to the target URL according to the page configuration data.

2. The page browsing control method according to claim 1, characterized in that, The page view control data includes at least one of security URL control sub-data, trusted URL control sub-data, and privacy URL control sub-data; Generating page configuration data corresponding to the target URL according to the page view control data and the URL detection result includes: Judging whether a first URL detection result corresponds to the security URL control sub-data; If so, generating first page configuration data corresponding to the target URL according to the security URL control sub-data and the first URL detection result; Controlling the browser to generate a target page corresponding to the target URL according to the page configuration data includes: Controlling the browser to generate a first target page corresponding to the target URL according to the first page configuration data.

3. The page browsing control method according to claim 2, characterized in that, Generating page configuration data corresponding to the target URL according to the page view control data and the URL detection result includes: Judging whether a second URL detection result corresponds to the trusted URL control sub-data; If so, generating second page configuration data corresponding to the target URL according to the trusted URL control sub-data and the second URL detection result; Controlling the browser to generate a target page corresponding to the target URL according to the page configuration data includes: Controlling the browser to generate a second target page corresponding to the target URL according to the second page configuration data.

4. The page browsing control method according to claim 2, characterized in that, Generating page configuration data corresponding to the target URL according to the page view control data and the URL detection result includes: Judging whether a third URL detection result corresponds to the privacy URL control sub-data; If so, generating third page configuration data corresponding to the target URL according to the privacy URL control sub-data and the third URL detection result; Controlling the browser to generate a target page corresponding to the target URL according to the page configuration data includes: Controlling the browser to generate a third target page corresponding to the target URL according to the third page configuration data.

5. The page browsing control method according to claim 2, characterized in that, After generating the first page configuration data corresponding to the target URL according to the security URL control sub-data and the first URL detection result, the method further includes: Adding the trusted URL control sub-data to the first page configuration data; After controlling the browser to generate a first target page corresponding to the target URL according to the first page configuration data, it includes: Judging whether the first target page is a page corresponding to a security URL; If so, adding the target first page to the trusted URLs of the browser according to the trusted URL control sub-data.

6. The page browsing control method according to claim 2, characterized in that, After generating the first page configuration data corresponding to the target URL based on the secure URL control sub-data and the first URL detection result, the method further includes: Adding the privacy URL control sub-data to the second page configuration data; After controlling the browser to generate the first target page corresponding to the target URL according to the first page configuration data, it includes: Determining whether the first target page is a page corresponding to a secure URL; If so, saving or deleting the data corresponding to the target object in the first target page according to the privacy URL control sub-data.

7. The page browsing control method according to claim 6, characterized in that, After determining whether the first target page is a page corresponding to a secure URL, the method further includes: If the first target page is not a page corresponding to a secure URL, generating an exception prompt message; Deleting the data corresponding to the target object in the first target page according to the privacy URL control sub-data.

8. A page browsing control device, characterized in that, It includes: A receiving module, configured to receive page browsing control data sent by a server, where the page browsing control data is used to perform page control on the URL page of a browser; An obtaining module, configured to obtain a target URL input by the browser, and perform URL detection on the target URL according to the page browsing control data to obtain a URL detection result; A page configuration data generation module, configured to generate page configuration data corresponding to the target URL according to the page browsing control data and the URL detection result; A target page generation module, configured to control the browser to generate a target page corresponding to the target URL according to the page configuration data.

9. An electronic device, characterized in that, It includes: A memory storing executable program code and a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the steps of the page browsing control method according to any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium stores multiple instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the page browsing control method according to any one of claims 1 to 7.