[go: up one dir, main page]

WO2020224108A1 - Url interception and conversion method, device, and computer apparatus - Google Patents

Url interception and conversion method, device, and computer apparatus Download PDF

Info

Publication number
WO2020224108A1
WO2020224108A1 PCT/CN2019/102807 CN2019102807W WO2020224108A1 WO 2020224108 A1 WO2020224108 A1 WO 2020224108A1 CN 2019102807 W CN2019102807 W CN 2019102807W WO 2020224108 A1 WO2020224108 A1 WO 2020224108A1
Authority
WO
WIPO (PCT)
Prior art keywords
url address
interception
plug
browser
url
Prior art date
Application number
PCT/CN2019/102807
Other languages
French (fr)
Chinese (zh)
Inventor
骆水明
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020224108A1 publication Critical patent/WO2020224108A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Definitions

  • This application relates to the field of security protection, in particular to a URL interception conversion method, device, computer equipment, and non-volatile computer-readable storage medium.
  • URL Uniform Resource Locator, Uniform Resource Locator
  • Uniform Resource Locator is a concise representation of the location and access method of Internet-available resources such as HTML documents, images, video clips, programs, etc., and is the address of standard resources on the Internet. Every file on the Internet has a unique URL, which contains information that indicates the location of the file and how the browser should handle it.
  • the content service provider requires certain intermediate URLs to filter, clean, and perform security checks before accessing the files corresponding to the original URL due to certain business rules.
  • the Baidu URL website has been hacked. , It is necessary to perform IP filtering on the original URL of the request to restrict requests from the same IP at a certain time. At this time, a relay server is required, that is, URL interception technology.
  • this application proposes a user URL interception conversion method, device, computer equipment, and non-volatile computer readable storage medium, which can load the latest version of the interception plug-in to the browser after starting the browser, and then Obtain the first URL address in the browser input box when the user clicks the enter key and determine whether the first URL address exists in the preset blocking list or whether it is a standardized address; when the first URL address is blocked In the list or when the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule.
  • the first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
  • this application provides a URL interception conversion method, which is applied to a terminal device, and the method includes:
  • this application also provides a URL interception conversion device, which includes:
  • the receiving module is used to receive the user's request to start the browser and start the browser; the loading module is used to load the latest version of the interception plug-in to the browser; the acquisition module is used to obtain the browser input when the user clicks the enter key The first URL address in the box; the judgment module is used to judge whether the first URL address is in the preset interception list or whether the first URL address is a standardized URL address; the interception module is used for the When a URL address exists in the interception list or the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule.
  • the present application also proposes a computer device, the computer device includes a memory and a processor, the memory stores computer-readable instructions that can run on the processor, and the computer-readable instructions are The implementation steps when the processor is executed:
  • this application also provides a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be At least one processor executes, so that the at least one processor executes the following steps:
  • the URL interception conversion method, device, computer equipment, and non-volatile computer-readable storage medium proposed in this application can load the latest version of the interception plug-in to the browser after starting the browser, and then get the user to click enter
  • the browser enters the first URL address in the box and determines whether the first URL address exists in the preset blocking list or whether it is a standardized address; when the first URL address exists in the blocking list or the
  • the first URL address is not a standardized URL address
  • the first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
  • Figure 1 is a schematic diagram of an optional hardware architecture of the computer equipment of the present application.
  • FIG. 2 is a schematic diagram of program modules of an embodiment of the URL interception conversion device of the present application
  • Fig. 3 is a schematic flowchart of an embodiment of a method for URL interception conversion according to the present application.
  • FIG. 1 is a schematic diagram of an optional hardware architecture of the computer device 1 of the present application.
  • the computer device 1 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13 that can communicate with each other through a system bus.
  • the computer device 1 is connected to a network through a network interface 13 (not shown in FIG. 1), and connected to other terminal devices such as a mobile terminal (Mobile Terminal), a user equipment (UE), a PC terminal, and a server through the network.
  • the network can be an intranet, the Internet, a global system of mobile communication (GSM), a wideband code division multiple access (WCDMA), a 4G network, and 5G Network, Bluetooth (Bluetooth), Wi-Fi, call network and other wireless or wired networks.
  • GSM global system of mobile communication
  • WCDMA wideband code division multiple access
  • 4G 4G network
  • 5G Network Bluetooth (Bluetooth), Wi-Fi, call network and other wireless or wired networks.
  • FIG. 1 only shows the computer device 1 with components 11-13, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
  • the memory 11 includes at least one type of non-volatile computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.).
  • the memory 11 may be an internal storage unit of the computer device 1, such as a hard disk or memory of the computer device 1.
  • the memory 11 may also be an external storage device of the computer device 1, for example, a plug-in hard disk equipped with the computer device 1, a smart media card (SMC), a secure digital ( Secure Digital, SD) card, etc.
  • SMC smart media card
  • SD Secure Digital
  • the memory 11 may also include both the internal storage unit of the computer device 1 and its external storage device.
  • the memory 11 is generally used to store an operating system and various application software installed in the computer device 1, such as the instruction code of the URL interception conversion device 200.
  • the memory 11 can also be used to temporarily store various types of data that have been output or will be output.
  • the instruction code of the real URL interception conversion device 200 can be used by at least one processor. Perform the following steps:
  • the processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is generally used to control the overall operation of the computer device 1, such as performing data interaction or communication-related control and processing.
  • the processor 12 is used to run instruction codes or processed data stored in the memory 11, for example, to run the URL interception conversion device 200.
  • the network interface 13 may include a wireless network interface or a wired network interface.
  • the network interface 13 is usually used to establish a communication connection between the computer device 1 and other terminal devices such as mobile terminals, user equipment, PCs, and servers. .
  • the latest version of the interception plug-in can be loaded into the browser after starting the browser. And then obtain the first URL address in the browser input box when the user clicks the enter key and determine whether the first URL address exists in the preset blocking list or is a standardized address; when the first URL address exists When in the interception list or the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule. The first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
  • this application proposes a URL interception conversion device 200.
  • FIG. 2 is a program module diagram of an embodiment of the URL interception conversion apparatus 200 of the present application.
  • the URL interception conversion device 200 includes a series of computer-readable instructions stored on the memory 11, and when the computer-readable instructions are executed by the processor 12, the URL interception in each embodiment of the present application can be implemented. Conversion function.
  • the URL interception conversion apparatus 200 may be divided into one or more modules based on specific operations implemented by various parts of the computer-readable instructions. For example, in FIG. 2, the URL interception conversion apparatus 200 can be divided into a receiving module 201, a loading module 202, an acquisition module 203, a judgment module 204, and an interception module 205. among them:
  • the receiving module 201 is used to receive a request from a user to start a browser and start the browser.
  • the loading module 202 is used to load the latest version of the interception plug-in to the browser.
  • the URL interception conversion apparatus 200 can be applied to a computer device 1, and the computer device 1 can be a mobile terminal, a user device, a PC terminal, a server, and the like.
  • the computer device 1 is in communication connection with the plug-in server.
  • the receiving module 201 receives the user's request to start the browser and starts the browser; then, the loading module 202 loads the latest version of the interception plug-in to The browser.
  • the loading module 202 loads the interception plug-in to the browser through an auxiliary interface corresponding to the browser or an extension technology applicable to the browser.
  • the plug-in server stores preset interception plug-ins for different browsers.
  • the interception plug-in is to write the interception program through the external interface of the browser.
  • the IE browser provides BHO interface (Browser Helper Object, browser auxiliary object), so you can implement the interception function by writing an interception program suitable for the BHO interface format; another example is the Google browser, you can use the chrome extension technology to directly adapt the chrome interface
  • the interception program in the format is connected to the extension module of the Google browser to realize the interception function; other browsers also have corresponding interfaces for writing the interception program.
  • the loading module 202 first obtains the intercepted plug-in information on the browser and the latest intercepted plug-in information on the plug-in server; and then combines the version number in the intercepted plug-in information with the latest intercepted plug-in The version numbers of the information are compared to determine whether the interception plug-in corresponding to the interception plug-in information is the latest version; when the interception plug-in corresponding to the interception plug-in information is not the latest version, download it from the plug-in server and silently load the latest version The version of the blocking plugin.
  • the receiving module 201 receives a request from the user to start the browser, and then starts the browser, and then the loading module 202 obtains the browser loaded on the browser. Intercept the plug-in information, and then obtain the latest intercepted plug-in information on the plug-in server.
  • the loading module 202 compares the intercepted plug-in information with the version number in the latest intercepted plug-in information to determine whether the intercepted plug-in loaded on the browser is the latest version. For example, if the version number in the interception plug-in information is V3.0, and the version number in the latest interception plug-in information is V3.4, then the interception plug-in loaded into the browser is not the latest version.
  • the loading module 202 downloads the latest version of the interception plug-in from the plug-in server and loads it silently.
  • the loading module 202 obtains that no blocking plug-in is loaded on the browser, it directly downloads the latest version of the blocking plug-in from the plug-in server and loads it silently.
  • the acquiring module 203 is configured to acquire the first URL address in the browser input box when the user clicks the enter key.
  • the acquisition module 203 monitors the browser’s input box, and monitors that the user clicks the enter key to acquire the user The first URL address information entered into the input box of the browser.
  • the acquisition module 203 monitors the API interface function corresponding to the input box of the browser.
  • the API interface function When the API interface function is called, it will monitor the variable parameter information in the API interface function in real time. When the variable parameter information is changed, record the changed content. For example, after the API interface function corresponding to the input box of the browser is called, the "character parameter" corresponding to the input box is changed from “blank” to "first URL address” and corresponds to the "confirmation parameter” of the input box When “is “confirmed”, then the acquisition module 203 records and acquires the "first URL address".
  • the judgment module 204 is configured to judge whether the first URL address exists in a preset blocking list or whether the first URL address is a standardized URL address.
  • the interception module 205 is configured to intercept the first URL address according to a preset interception rule when the first URL address exists in the interception list or the first URL address is not a standardized URL address .
  • the URL address entered by the user may be inaccurate or not a standardized URL address pointing to a network resource; however, only a standardized URL address can point to the correct network resource, and the page corresponding to the network resource can be obtained and displayed. Therefore, after the obtaining module 203 obtains the first URL address input by the user, the judgment module 204 needs to determine whether the first URL address is a standardized URL address. If it is not a standardized URL address, then The interception module 205 needs to perform interception conversion. Specifically, when the first URL address exists in the interception list or the first URL address is not a standardized URL address, the interception module 205 performs processing on the first URL address according to a preset interception rule. Intercept.
  • the interception rule includes: when the first URL address exists in the interception list, converting the first URL address into a corresponding second URL address according to the interception list;
  • the first URL address is supplemented, modified, deleted or converted according to the preset standardized URL address format;
  • the standardized URL address format includes: protocol type, Target host name or IP address.
  • the "complementing, modifying, deleting or converting the first URL address according to the format of the preset standardized URL address” includes: deleting the illegal URL address and converting it into a preset safe URL address, and The first URL address is verified according to the standardized URL address format, and parts of the wrong format are adaptively supplemented and modified.
  • illegal URL addresses are URL addresses that are unsafe or have dangerous signs.
  • the URL address generally includes five elements: protocol type, target host name or IP address, port number, storage path, and resource identifier.
  • the port number, storage path, and resource identifier can also be partially defaulted.
  • You can also jump to the correct resource address. Therefore, the standardized URL address may be preset to include: the protocol type, target host name or IP address in the URL.
  • the judgment module 204 judges the protocol type of the first URL address and whether the target host name or IP address is correct, thereby judging the first URL address. Whether the URL address is a standardized address.
  • the judging module 204 compares the protocol type in the first URL address with a preset common protocol type, thereby judging whether the protocol type in the first URL address is correct; then, it is detected by ping , Network speed test, DNS (Domain Name System) query, and router tracking methods to determine the correctness of the target host name or IP address in the first URL address to determine the first URL The address is correct.
  • the detection of the website address by means of ping detection, network speed test, DNS query and router tracking belongs to the existing technical means, and will not be repeated here.
  • the interception module 205 also presets in the intercept list list that when the input target host name or IP address part points to a serious threat or illegal resource, the host name or IP address will be automatically included.
  • the URL address is deleted and converted into the host name or IP address of the preset secure URL address (that is, jump to the specified URL address).
  • the first URL address entered by the user may only be a host name or an IP address.
  • the interception module 205 will also input according to the preset protocol type corresponding to the host name or IP address.
  • the host name or IP address in the input URL address is verified for the protocol type, and automatically supplemented or modified when the protocol type in the input URL address is default, thereby forming a standardized URL address .
  • standardized URL addresses may not be reliable.
  • the network server that stores resources is not static because the host or IP address of the data or resource is not static. Therefore, when the data or resources are transferred to other hosts or store data or After the IP of the host of the resource is changed, the original target host name or IP address entered cannot be accessed.
  • the web server will perform a jump access service in advance before changing the host or IP address. That is, after inputting the original target host name or IP address, the web server will feed back the updated host name or IP address and remind the requester. Therefore, the computer device 1 will receive and save the storage host or IP change record of the resource, obtain the updated host name or IP address, and then update and record the block list accordingly.
  • the interception module 205 finds the first URL address according to the interception list list Corresponding to the second URL address, then replace the first URL address with the second URL address and write it into the input box of the browser, and then initiate a network resource access request according to the second URL address.
  • the judgment module 204 judges that the first URL address is neither a standardized address nor exists in the interception list, and the host name or IP address in the first URL address is also wrong, then, The judging module 204 will directly return a prompt such as "URL input error, please re-enter".
  • the computer device 1 can load the latest version of the interception plug-in to the browser after starting the browser, and then obtain the first URL address in the browser input box when the user clicks the enter key and determine the Whether the first URL address exists in the preset interception list or whether it is a standardized address; when the first URL address exists in the interception list or the first URL address is not a standardized URL address, follow the preset interception The rule intercepts the first URL address.
  • the first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
  • this application also proposes a URL interception conversion method, which is applied to computer equipment.
  • FIG. 3 is a schematic flowchart of an embodiment of a method for URL interception conversion according to the present application.
  • the execution order of the steps in the flowchart shown in FIG. 3 can be changed, and some steps can be omitted.
  • Step S500 Receive the user's request to start the browser, and start the browser.
  • Step S502 Load the latest version of the blocking plug-in to the browser.
  • the computer device may be a mobile terminal, user equipment, PC terminal, server, etc., and the computer device is in communication connection with the plug-in server.
  • the computer device receives the user's request to start the browser and starts the browser; then, the latest version of the blocking plug-in is loaded into the browser.
  • the computer device loads the interception plug-in to the browser through an auxiliary interface corresponding to the browser or an extension technology applicable to the browser.
  • the plug-in server stores preset interception plug-ins for different browsers. Specifically, the interception plug-in is to write the interception program through the external interface of the browser.
  • the IE browser provides BHO interface (Browser Helper Object, browser auxiliary object), so you can implement the interception function by writing an interception program suitable for the BHO interface format; another example is the Google browser, you can use the chrome extension technology to directly adapt the chrome interface
  • the interception program in the format is connected to the extension module of the Google browser to realize the interception function; other browsers also have corresponding interfaces for writing the interception program.
  • the computer device first obtains the intercepted plug-in information on the browser and the latest intercepted plug-in information on the plug-in server; and then combines the version number in the intercepted plug-in information with the latest intercepted plug-in information Compare the version numbers of the plug-in to determine whether the intercepted plug-in corresponding to the intercepted plug-in information is the latest version; when the intercepted plug-in corresponding to the intercepted plug-in information is not the latest version, download and silently load the latest version from the plug-in server
  • the interception plugin For example, after the computer device communicates with the interception server, then the computer device receives the user's request to start the browser, and then starts the browser.
  • the computer device obtains the intercepted plug-in information loaded on the browser, and then obtains the latest intercepted plug-in information on the plug-in server.
  • the computer device judges whether the interception plug-in loaded on the browser is the latest version by comparing the interception plug-in information and the version number in the latest interception plug-in information. For example, if the version number in the interception plug-in information is V3.0, and the version number in the latest interception plug-in information is V3.4, then the interception plug-in loaded into the browser is not the latest version. Then, the computer device downloads the latest version of the interception plug-in from the plug-in server and loads it silently. Of course, if the computer device obtains that no interception plug-in is loaded on the browser, it directly downloads the latest version of the interception plug-in from the plug-in server and loads it silently.
  • Step S504 Obtain the first URL address in the browser input box when the user clicks the enter key.
  • a request information about accessing the network resource of the URL address will be generated; then the browser will link to the URL according to the request information
  • the server corresponding to the address, and access to the network resource of the URL address, such as displaying the network resource in the form of a web page.
  • the computer device loads the latest version of the interception plug-in on the browser, it will monitor the browser’s input box, and it will monitor the user’s input to the browser when the user clicks the enter key.
  • the computer device monitors the API interface function corresponding to the input box of the browser.
  • the API interface function When the API interface function is called, it will monitor the variable parameter information in the API interface function in real time. When the variable parameter information is changed, record the changed content. For example, after the API interface function corresponding to the input box of the browser is called, the "character parameter" corresponding to the input box is changed from “blank” to "first URL address” and corresponds to the "confirmation parameter” of the input box When “is “confirmed”, then the computer device records and obtains the "first URL address".
  • Step S506 Determine whether the first URL address is in a preset blocking list or whether the first URL address is a standardized URL address.
  • Step S508 When the first URL address exists in the interception list or the first URL address is not a standardized URL address, intercept the first URL address according to a preset interception rule.
  • the URL address entered by the user may be inaccurate or not a standardized URL address pointing to a network resource; however, only a standardized URL address can point to the correct network resource, and the page corresponding to the network resource can be obtained and displayed. Therefore, after the computer device obtains the first URL address entered by the user, it then needs to determine whether the first URL address is a standardized URL address. If it is not a standardized URL address, then the computer device needs to intercept and convert . Specifically, when the first URL address is in the interception list or the first URL address is not a standardized URL address, the computer device intercepts the first URL address according to a preset interception rule .
  • the interception rule includes: when the first URL address exists in the interception list, converting the first URL address into a corresponding second URL address according to the interception list;
  • the first URL address is supplemented, modified, deleted or converted according to the preset standardized URL address format;
  • the standardized URL address format includes: protocol type, Target host name or IP address.
  • the "complementing, modifying, deleting or converting the first URL address according to the format of the preset standardized URL address” includes: deleting the illegal URL address and converting it into a preset safe URL address, and The first URL address is verified according to the standardized URL address format, and parts of the wrong format are adaptively supplemented and modified.
  • illegal URL addresses are URL addresses that are unsafe or have dangerous signs.
  • the URL address generally includes five elements: protocol type, target host name or IP address, port number, storage path, and resource identifier.
  • the port number, storage path, and resource identifier can also be partially defaulted.
  • You can also jump to the correct resource address. Therefore, the standardized URL address may be preset to include: the protocol type, target host name or IP address in the URL. After the computer device obtains the first URL address input by the user, it then continues to determine whether the protocol type of the first URL address and whether the target host name or IP address is correct, so as to determine whether the first URL address is a standardized address .
  • the computer device compares the protocol type in the first URL address with a preset common protocol type to determine whether the protocol type in the first URL address is correct; then, the computer device Then, the correctness of the target host name or IP address in the first URL address is determined by means of ping detection, network speed test, DNS (Domain Name System) query and router tracking, so as to determine the correctness of the target host name or IP address in the first URL address. Whether the first URL address is correct.
  • the detection of the website address by means of ping detection, network speed test, DNS query and router tracking belongs to the prior art means, and will not be repeated here.
  • the computer device also presets in the intercept list list that when the input target host name or IP address part points to a serious threat or illegal resource, it will automatically include the host name or IP address.
  • the URL address is deleted and converted into the host name or IP address of the preset secure URL address (that is, jump to the specified URL address).
  • the first URL address entered by the user may only be a host name or an IP address.
  • the computer device will also perform an input based on the preset protocol type corresponding to the host name or IP address.
  • the host name or IP address verifies the protocol type in the input URL address, and automatically supplements or modifies it when the protocol type in the input URL address defaults to form a standardized URL address.
  • standardized URL addresses may not be reliable.
  • the network server that stores resources is not static because the host or IP address of the data or resource is not static. Therefore, when the data or resources are transferred to other hosts or store data or After the IP of the host of the resource is changed, the original target host name or IP address entered cannot be accessed.
  • the web server will perform a jump access service in advance before changing the host or IP address. That is, after inputting the original target host name or IP address, the web server will feed back the updated host name or IP address and remind the requester. Therefore, the computer device will receive and save the storage host or IP change record of the resource, obtain the updated host name or IP address, and then update and record the block list accordingly.
  • the computer device when the computer device determines that the first URL address exists in the interception list, then the computer device searches for the corresponding URL address according to the interception list. A second URL address, and then replace the first URL address with the second URL address and write it into the input box of the browser, and then initiate a network resource access request according to the second URL address.
  • the computer device determines that the first URL address is neither a standardized address nor exists in the interception list, and the host name or IP address in the first URL address is also wrong, then The computer equipment mentioned above will directly return a prompt such as "URL input error, please re-enter".
  • the URL interception conversion method proposed in this embodiment can load the latest version of the interception plug-in to the browser after starting the browser, and then obtain the first URL address in the browser input box when the user clicks the enter key, and determine all Whether the first URL address exists in the preset interception list or whether it is a standardized address; when the first URL address exists in the interception list or the first URL address is not a standardized URL address, follow the preset interception
  • the rule intercepts the first URL address.
  • the first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.

Landscapes

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

Abstract

A URL interception and conversion method, the method comprising: launching a browser, and loading a most recent version of an interception plugin to the browser; acquiring a first URL address in an input field of the browser when a user hits a carriage return key; determining whether the first URL address is in a pre-determined interception list or whether the first URL address is a standard URL address; and if the first URL address is in the interception list or is not a standard URL address, intercepting the first URL address according to a pre-determined interception rule. Further provided are a URL interception and conversion device, a computer apparatus, and a non-volatile computer readable storage medium. The invention achieves determination and interception of a first URL address input by a user on a user-side terminal apparatus by loading an interception plugin to a browser, thereby effectively accelerating a user access to a target server, eliminating interception operations that would be performed by an intermediate apparatus, and improving communication security.

Description

URL拦截转换方法、装置以及计算机设备URL interception conversion method, device and computer equipment
本申请要求于2019年05月05日提交中国专利局、申请号为201910366757.5、发明名称为“URL拦截转换方法、装置以及计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910366757.5, and the invention title is "URL interception conversion method, device, and computer equipment" on May 5, 2019. The entire content is incorporated herein by reference. Applying.
技术领域Technical field
本申请涉及安全防护领域,尤其涉及一种URL拦截转换方法、装置、计算机设备及非易失性计算机可读存储介质。This application relates to the field of security protection, in particular to a URL interception conversion method, device, computer equipment, and non-volatile computer-readable storage medium.
背景技术Background technique
URL(Uniform Resource Locator,统一资源定位符)是对互联网可用资源如HTML文档、图像、视频片段、程序等的位置和访问方法的一种简洁的表示,是互联网上标准资源的地址。互联网上的每个文件都有一个唯一的URL,它包含的信息指出文件的位置以及浏览器应该怎么处理它。然而,有时候内容服务提供方由于某些业务规则,要求访问原始URL对应的文件之前,需要先经过某些中间URL对请求进行过滤,清洗,安全检测等,比如:百度URL网站受到了黑客攻击,需要对请求的原始URL进行IP过滤,限制同一IP在某个时间断的请求,这个时候就需要有个中继服务器,也就是URL拦截技术。再比如企业用户访问某个业务系统的原始URL,但业务系统要求先到第三方的认证系统进行一下认证才能继续访问该URL,这时也需要用到URL拦截技术。但是,发明人意识到目前的拦截技术都是在服务器端进行的拦截或者搭建的中间服务器进行拦截,这种方式无疑会影响到用户访问服务器速度和服务器的安全及标准问题。有鉴于此,本申请提供一种新的URL拦截转换方法。URL (Uniform Resource Locator, Uniform Resource Locator) is a concise representation of the location and access method of Internet-available resources such as HTML documents, images, video clips, programs, etc., and is the address of standard resources on the Internet. Every file on the Internet has a unique URL, which contains information that indicates the location of the file and how the browser should handle it. However, sometimes the content service provider requires certain intermediate URLs to filter, clean, and perform security checks before accessing the files corresponding to the original URL due to certain business rules. For example, the Baidu URL website has been hacked. , It is necessary to perform IP filtering on the original URL of the request to restrict requests from the same IP at a certain time. At this time, a relay server is required, that is, URL interception technology. Another example is the original URL of a business system for enterprise users, but the business system requires a third-party authentication system for authentication before continuing to access the URL. At this time, URL blocking technology is also needed. However, the inventor realizes that the current interception technologies are all interception performed on the server side or an intermediate server built for interception. This method will undoubtedly affect the speed of user access to the server and the security and standard issues of the server. In view of this, this application provides a new URL interception conversion method.
发明内容Summary of the invention
有鉴于此,本申请提出一种用户URL拦截转换方法、装置、计算机设备及非易失性计算机可读存储介质,能够在启动浏览器之后将最新版本的拦截插件加载到所述浏览器,然后获取用户点击回车键时浏览器输入框中的第一URL地址并判断所述第一URL地址是否存在于预设拦截列表中或者是否为标准化地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。通过将拦截插件加载到浏览器的方式实现在用户侧终端设备上对用户输入的第一URL地址进行判断以及拦截。从而有效地提高用户访问目标服务器的速度,同时也减少了中间设备的拦截环节,提升了通信安全。In view of this, this application proposes a user URL interception conversion method, device, computer equipment, and non-volatile computer readable storage medium, which can load the latest version of the interception plug-in to the browser after starting the browser, and then Obtain the first URL address in the browser input box when the user clicks the enter key and determine whether the first URL address exists in the preset blocking list or whether it is a standardized address; when the first URL address is blocked In the list or when the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule. The first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
首先,为实现上述目的,本申请提供一种URL拦截转换方法,该方法应用于终端设备,所述方法包括:First of all, in order to achieve the above objective, this application provides a URL interception conversion method, which is applied to a terminal device, and the method includes:
接收用户启动浏览器的请求,启动浏览器;将最新版本的拦截插件加载到所述浏览器;获取用户点击回车键时浏览器输入框中的第一URL地址;判断所述第一URL地址是否存在于预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。Receive a request from the user to start the browser, start the browser; load the latest version of the interception plug-in to the browser; obtain the first URL address in the browser input box when the user clicks the enter key; determine the first URL address Whether it exists in a preset blocking list or whether the first URL address is a standardized URL address; when the first URL address exists in the blocking list or the first URL address is not a standardized URL address, the The set interception rule intercepts the first URL address.
此外,为实现上述目的,本申请还提供一种URL拦截转换装置,所述装置包括:In addition, in order to achieve the above-mentioned object, this application also provides a URL interception conversion device, which includes:
接收模块,用于接收用户启动浏览器的请求,启动浏览器;加载模块,用于将最新版本的拦截插件加载到所述浏览器;获取模块,用于获取用户点击回车键时浏览器输入框中的第一URL地址;判断模块,用于判断所述第一URL地址是否存在预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;拦截模块,用于当所述第一URL地址存在于所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL 地址进行拦截。The receiving module is used to receive the user's request to start the browser and start the browser; the loading module is used to load the latest version of the interception plug-in to the browser; the acquisition module is used to obtain the browser input when the user clicks the enter key The first URL address in the box; the judgment module is used to judge whether the first URL address is in the preset interception list or whether the first URL address is a standardized URL address; the interception module is used for the When a URL address exists in the interception list or the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule.
进一步地,本申请还提出一种计算机设备,所述计算机设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述计算机可读指令被所述处理器执行时实现步骤:Further, the present application also proposes a computer device, the computer device includes a memory and a processor, the memory stores computer-readable instructions that can run on the processor, and the computer-readable instructions are The implementation steps when the processor is executed:
接收用户启动浏览器的请求,启动浏览器;将最新版本的拦截插件加载到所述浏览器;获取用户点击回车键时浏览器输入框中的第一URL地址;判断所述第一URL地址是否存在于预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。Receive a request from the user to start the browser, start the browser; load the latest version of the interception plug-in to the browser; obtain the first URL address in the browser input box when the user clicks the enter key; determine the first URL address Whether it exists in a preset blocking list or whether the first URL address is a standardized URL address; when the first URL address exists in the blocking list or the first URL address is not a standardized URL address, the The set interception rule intercepts the first URL address.
进一步地,为实现上述目的,本申请还提供一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可读指令,所述计算机可读指令可被至少一个处理器执行,以使所述至少一个处理器执行以下步骤:Further, in order to achieve the above object, this application also provides a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be At least one processor executes, so that the at least one processor executes the following steps:
接收用户启动浏览器的请求,启动浏览器;将最新版本的拦截插件加载到所述浏览器;获取用户点击回车键时浏览器输入框中的第一URL地址;判断所述第一URL地址是否存在于预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。Receive a request from the user to start the browser, start the browser; load the latest version of the interception plug-in to the browser; obtain the first URL address in the browser input box when the user clicks the enter key; determine the first URL address Whether it exists in a preset blocking list or whether the first URL address is a standardized URL address; when the first URL address exists in the blocking list or the first URL address is not a standardized URL address, the The set interception rule intercepts the first URL address.
本申请所提出的URL拦截转换方法、装置、计算机设备及非易失性计算机可读存储介质,能够在启动浏览器之后将最新版本的拦截插件加载到所述浏览器,然后获取用户点击回车键时浏览器输入框中的第一URL地址并判断所述第一URL地址是否存在于预设拦截列表中或者是否为标准化地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。通过将拦截插件加载到浏览器的方式实现在用户侧终端设备上对用户输入的第一URL地址 进行判断以及拦截。从而有效地提高用户访问目标服务器的速度,同时也减少了中间设备的拦截环节,提升了通信安全。The URL interception conversion method, device, computer equipment, and non-volatile computer-readable storage medium proposed in this application can load the latest version of the interception plug-in to the browser after starting the browser, and then get the user to click enter When pressing the key, the browser enters the first URL address in the box and determines whether the first URL address exists in the preset blocking list or whether it is a standardized address; when the first URL address exists in the blocking list or the When the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule. The first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
附图说明Description of the drawings
图1是本申请计算机设备一可选的硬件架构的示意图;Figure 1 is a schematic diagram of an optional hardware architecture of the computer equipment of the present application;
图2是本申请URL拦截转换装置一实施例的程序模块示意图;FIG. 2 is a schematic diagram of program modules of an embodiment of the URL interception conversion device of the present application;
图3是本申请URL拦截转换方法一实施例的流程示意图。Fig. 3 is a schematic flowchart of an embodiment of a method for URL interception conversion according to the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and not used to limit the application. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions related to "first", "second", etc. in this application are only for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. . Therefore, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on what can be achieved by a person of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be achieved, it should be considered that such a combination of technical solutions does not exist. , Not within the scope of protection required by this application.
参阅图1所示,是本申请计算机设备1一可选的硬件架构的示意图。Refer to FIG. 1, which is a schematic diagram of an optional hardware architecture of the computer device 1 of the present application.
本实施例中,所述计算机设备1可包括,但不仅限于,可通过系统总线相互通信连接存储器11、处理器12、网络接口13。In this embodiment, the computer device 1 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13 that can communicate with each other through a system bus.
所述计算机设备1通过网络接口13连接网络(图1未标出),通过网络连接到其他终端设备如移动终端(Mobile Terminal)、用户设备(User Equipment,UE)、PC端,以及服务器等。所述网络可以是企业内部网(Intranet)、互联网(Internet)、 全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi、通话网络等无线或有线网络。The computer device 1 is connected to a network through a network interface 13 (not shown in FIG. 1), and connected to other terminal devices such as a mobile terminal (Mobile Terminal), a user equipment (UE), a PC terminal, and a server through the network. The network can be an intranet, the Internet, a global system of mobile communication (GSM), a wideband code division multiple access (WCDMA), a 4G network, and 5G Network, Bluetooth (Bluetooth), Wi-Fi, call network and other wireless or wired networks.
需要指出的是,图1仅示出了具有组件11-13的计算机设备1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。It should be pointed out that FIG. 1 only shows the computer device 1 with components 11-13, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
其中,所述存储器11至少包括一种类型的非易失性计算机可读存储介质,包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)。在一些实施例中,所述存储器11可以是所述计算机设备1的内部存储单元,例如该计算机设备1的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述计算机设备1的外部存储设备,例如该计算机设备1配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,等。当然,所述存储器11还可以既包括所述计算机设备1的内部存储单元也包括其外部存储设备。本实施例中,所述存储器11通常用于存储安装于所述计算机设备1的操作系统和各类应用软件,例如URL拦截转换装置200的指令代码等。此外,所述存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。Wherein, the memory 11 includes at least one type of non-volatile computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.). In some embodiments, the memory 11 may be an internal storage unit of the computer device 1, such as a hard disk or memory of the computer device 1. In other embodiments, the memory 11 may also be an external storage device of the computer device 1, for example, a plug-in hard disk equipped with the computer device 1, a smart media card (SMC), a secure digital ( Secure Digital, SD) card, etc. Of course, the memory 11 may also include both the internal storage unit of the computer device 1 and its external storage device. In this embodiment, the memory 11 is generally used to store an operating system and various application software installed in the computer device 1, such as the instruction code of the URL interception conversion device 200. In addition, the memory 11 can also be used to temporarily store various types of data that have been output or will be output.
当所述存储器11是一种非易失性计算机可读存储介质,且存储有所述URL拦截转换装置200的指令代码时,所述实URL拦截转换装置200的指令代码可被至少一个处理器执行以实现如下步骤:When the memory 11 is a non-volatile computer-readable storage medium and stores the instruction code of the URL interception conversion device 200, the instruction code of the real URL interception conversion device 200 can be used by at least one processor. Perform the following steps:
接收用户启动浏览器的请求,启动浏览器;将最新版本的拦截插件加载到所述浏览器;获取用户点击回车键时浏览器输入框中的第一URL地址;判断所述第一URL地址是否存在于预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。Receive a request from the user to start the browser, start the browser; load the latest version of the interception plug-in to the browser; obtain the first URL address in the browser input box when the user clicks the enter key; determine the first URL address Whether it exists in a preset blocking list or whether the first URL address is a standardized URL address; when the first URL address exists in the blocking list or the first URL address is not a standardized URL address, the The set interception rule intercepts the first URL address.
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通 常用于控制所述计算机设备1的总体操作,例如执行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12用于运行所述存储器11中存储的指令代码或者处理数据,例如运行所述的URL拦截转换装置200等。The processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is generally used to control the overall operation of the computer device 1, such as performing data interaction or communication-related control and processing. In this embodiment, the processor 12 is used to run instruction codes or processed data stored in the memory 11, for example, to run the URL interception conversion device 200.
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述计算机设备1与其他终端设备如移动终端、用户设备、PC端,以及服务器等之间建立通信连接。The network interface 13 may include a wireless network interface or a wired network interface. The network interface 13 is usually used to establish a communication connection between the computer device 1 and other terminal devices such as mobile terminals, user equipment, PCs, and servers. .
本实施例中,所述计算机设备1内安装并运行有URL拦截转换装置200时,当所述URL拦截转换装置200运行时,能够在启动浏览器之后将最新版本的拦截插件加载到所述浏览器,然后获取用户点击回车键时浏览器输入框中的第一URL地址并判断所述第一URL地址是否存在于预设拦截列表中或者是否为标准化地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。通过将拦截插件加载到浏览器的方式实现在用户侧终端设备上对用户输入的第一URL地址进行判断以及拦截。从而有效地提高用户访问目标服务器的速度,同时也减少了中间设备的拦截环节,提升了通信安全。In this embodiment, when the URL interception conversion device 200 is installed and running in the computer device 1, when the URL interception conversion device 200 is running, the latest version of the interception plug-in can be loaded into the browser after starting the browser. And then obtain the first URL address in the browser input box when the user clicks the enter key and determine whether the first URL address exists in the preset blocking list or is a standardized address; when the first URL address exists When in the interception list or the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule. The first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
至此,己经详细介绍了本申请各个实施例的应用环境和相关设备的硬件结构和功能。下面,将基于上述应用环境和相关设备,提出本申请的各个实施例。So far, the application environment of each embodiment of the present application and the hardware structure and function of related equipment have been introduced in detail. Hereinafter, various embodiments of the present application will be proposed based on the above application environment and related equipment.
首先,本申请提出一种URL拦截转换装置200。First, this application proposes a URL interception conversion device 200.
参阅图2所示,是本申请URL拦截转换装置200一实施例的程序模块图。Refer to FIG. 2, which is a program module diagram of an embodiment of the URL interception conversion apparatus 200 of the present application.
本实施例中,所述URL拦截转换装置200包括一系列的存储于存储器11上的计算机可读指令,当该计算机可读指令被处理器12执行时,可以实现本申请各实施例的URL拦截转换功能。在一些实施例中,基于该计算机可读指令各部分所实现的特定的操作,URL拦截转换装置200可以被划分为一个或多个模块。例如,在图2中,所述URL拦截转换装置200可以被分割成接收模块201、加载模块202、获取模块203、判断模块204和拦截模块205。其中:In this embodiment, the URL interception conversion device 200 includes a series of computer-readable instructions stored on the memory 11, and when the computer-readable instructions are executed by the processor 12, the URL interception in each embodiment of the present application can be implemented. Conversion function. In some embodiments, the URL interception conversion apparatus 200 may be divided into one or more modules based on specific operations implemented by various parts of the computer-readable instructions. For example, in FIG. 2, the URL interception conversion apparatus 200 can be divided into a receiving module 201, a loading module 202, an acquisition module 203, a judgment module 204, and an interception module 205. among them:
所述接收模块201,用于接收用户启动浏览器的请求,启动浏览器。The receiving module 201 is used to receive a request from a user to start a browser and start the browser.
所述加载模块202,用于将最新版本的拦截插件加载到所述浏览器。The loading module 202 is used to load the latest version of the interception plug-in to the browser.
具体地,所述URL拦截转换装置200可以应用于计算机设备1,所述计算机设备1可以是移动终端、用户设备、PC端,以及服务器等。所述计算机设备1与插件服务器通信连接。当用户在所述计算机设备1上执行启动浏览器的动作时,所述接收模块201则接收用户启动浏览器的请求,启动浏览器;然后,所述加载模块202将最新版本的拦截插件加载到所述浏览器。所述加载模块202通过所述浏览器对应的辅助接口或者所述浏览器适用的扩展技术将所述拦截插件加载到所述浏览器。在本实施例中,插件服务器存储有针对于不同的浏览器预先设置拦截插件,具体的,拦截插件就是通过浏览器的对外接口写入拦截程序,例如对于IE浏览器来说,IE浏览器提供BHO接口(Browser Helper Object,浏览器辅助对象),因此可以通过写入适于BHO接口格式的拦截程序以实现拦截功能;再如google浏览器来说,可以使用chrome扩展技术直接将适于chrome接口格式的拦截程序接入到google浏览器的扩展模块以实现拦截功能;其他浏览器同样有相对应的接口用于写入拦截程序。Specifically, the URL interception conversion apparatus 200 can be applied to a computer device 1, and the computer device 1 can be a mobile terminal, a user device, a PC terminal, a server, and the like. The computer device 1 is in communication connection with the plug-in server. When the user executes the action of starting the browser on the computer device 1, the receiving module 201 receives the user's request to start the browser and starts the browser; then, the loading module 202 loads the latest version of the interception plug-in to The browser. The loading module 202 loads the interception plug-in to the browser through an auxiliary interface corresponding to the browser or an extension technology applicable to the browser. In this embodiment, the plug-in server stores preset interception plug-ins for different browsers. Specifically, the interception plug-in is to write the interception program through the external interface of the browser. For example, for the IE browser, the IE browser provides BHO interface (Browser Helper Object, browser auxiliary object), so you can implement the interception function by writing an interception program suitable for the BHO interface format; another example is the Google browser, you can use the chrome extension technology to directly adapt the chrome interface The interception program in the format is connected to the extension module of the Google browser to realize the interception function; other browsers also have corresponding interfaces for writing the interception program.
在本实施例中,所述加载模块202首先获取所述浏览器上的拦截插件信息,以及插件服务器上的最新拦截插件信息;然后将所述拦截插件信息中的版本号与所述最新拦截插件信息的版本号进行比较,从而判断所述拦截插件信息对应的拦截插件是否为最新版本;当所述拦截插件信息对应的拦截插件并不是最新版本时,从所述插件服务器上下载并静默加载最新版本的拦截插件。例如,所述计算机设备1与拦截服务器通信连接后,所述接收模块201接收到用户启动浏览器的请求,然后启动浏览器,接着,所述加载模块202则获取加载在所述浏览器上的拦截插件信息,然后再获取插件服务器上的最新拦截插件信息。所述加载模块202通过比较所述拦截插件信息和所述最新拦截插件信息中的版本号,从而判断出加载到所述浏览器上的所述拦截插件是否为最新版本。例如,所述拦截插件信息中的版本号为V3.0,所述最新拦截插件信息中的版本号为V3.4,那么,加载到所述浏览器的拦截插件不是最新版本。那么,所述 加载模块202则从所述插件服务器上下载最新版本的拦截插件并静默加载。当然,当所述加载模块202获取到所述浏览器上并未加载任何拦截插件,那么直接从所述插件服务器上下载最新版本的拦截插件并静默加载。In this embodiment, the loading module 202 first obtains the intercepted plug-in information on the browser and the latest intercepted plug-in information on the plug-in server; and then combines the version number in the intercepted plug-in information with the latest intercepted plug-in The version numbers of the information are compared to determine whether the interception plug-in corresponding to the interception plug-in information is the latest version; when the interception plug-in corresponding to the interception plug-in information is not the latest version, download it from the plug-in server and silently load the latest version The version of the blocking plugin. For example, after the computer device 1 communicates with the interception server, the receiving module 201 receives a request from the user to start the browser, and then starts the browser, and then the loading module 202 obtains the browser loaded on the browser. Intercept the plug-in information, and then obtain the latest intercepted plug-in information on the plug-in server. The loading module 202 compares the intercepted plug-in information with the version number in the latest intercepted plug-in information to determine whether the intercepted plug-in loaded on the browser is the latest version. For example, if the version number in the interception plug-in information is V3.0, and the version number in the latest interception plug-in information is V3.4, then the interception plug-in loaded into the browser is not the latest version. Then, the loading module 202 downloads the latest version of the interception plug-in from the plug-in server and loads it silently. Of course, when the loading module 202 obtains that no blocking plug-in is loaded on the browser, it directly downloads the latest version of the blocking plug-in from the plug-in server and loads it silently.
所述获取模块203,用于获取用户点击回车键时浏览器输入框中的第一URL地址。The acquiring module 203 is configured to acquire the first URL address in the browser input box when the user clicks the enter key.
具体地,当用户在浏览器的输入框输入URL地址并点击回车键后,则会生成一条关于访问所述URL地址的网络资源的请求信息;然后浏览器根据该请求信息链接到所述URL地址所对应的服务器,并对该URL地址的网络资源进行访问,比如将该网络资源以网页形式显示出来。在本实施例中,所述加载模块202将最新版本的拦截插件加载到浏览器上之后,所述获取模块203则会对浏览器的输入框进行监控,监控到用户点击回车键时获取用户输入到浏览器的输入框中的第一URL地址信息。其中,所述获取模块203通过对浏览器的输入框所对应的API接口函数进行监控,当所述API接口函数被调用时,则会实时监控所述API接口函数中可变参数信息,当所述可变参数信息发生变更时,则将变更后的内容记录下来。例如,所述浏览器的输入框所对应的API接口函数被调用后,对应于输入框的“字符参数”由“空白”更改为“第一URL地址”,并且对应于输入框的“确认参数”为“确认”时,那么,所述获取模块203则记录并获取所述“第一URL地址”。Specifically, when the user enters the URL address in the input box of the browser and clicks the enter key, a request information about accessing the network resource of the URL address will be generated; then the browser will link to the URL according to the request information The server corresponding to the address, and access to the network resource of the URL address, such as displaying the network resource in the form of a web page. In this embodiment, after the loading module 202 loads the latest version of the blocking plug-in on the browser, the acquisition module 203 monitors the browser’s input box, and monitors that the user clicks the enter key to acquire the user The first URL address information entered into the input box of the browser. Wherein, the acquisition module 203 monitors the API interface function corresponding to the input box of the browser. When the API interface function is called, it will monitor the variable parameter information in the API interface function in real time. When the variable parameter information is changed, record the changed content. For example, after the API interface function corresponding to the input box of the browser is called, the "character parameter" corresponding to the input box is changed from "blank" to "first URL address" and corresponds to the "confirmation parameter" of the input box When "is "confirmed", then the acquisition module 203 records and acquires the "first URL address".
所述判断模块204,用于判断所述第一URL地址是否存在预设的拦截列表中或者所述第一URL地址是否为标准化URL地址。The judgment module 204 is configured to judge whether the first URL address exists in a preset blocking list or whether the first URL address is a standardized URL address.
所述拦截模块205,用于当所述第一URL地址存在于所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。The interception module 205 is configured to intercept the first URL address according to a preset interception rule when the first URL address exists in the interception list or the first URL address is not a standardized URL address .
具体地,由于用户输入的URL地址可能并不准确,或者不是指向网络资源的标准化URL地址;然而只有标准化URL地址才能指向正确的网络资源,才能获取到对应该网络资源的页面并显示。因此,所述获取模块203在获取到 用户输入的第一URL地址后,接着,所述判断模块204则需要判断所述第一URL地址是否为标准化URL地址,如果不是标准化URL地址,那么,所述拦截模块205则需要进行拦截转换。具体的,所述拦截模块205在当所述第一URL地址存在于所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。其中,所述拦截规则包括:当所述第一URL地址是否存在于所述拦截列表中时,则根据所述拦截列表将所述第一URL地址转换为对应的第二URL地址;当所述第一URL地址不是标准化URL地址时,根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换;其中,所述标准化URL地址格式包括:协议类型,目标主机名或IP地址。所述“根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换”包括:对违法的URL地址进行删除并转换成预设的安全URL地址,以及根据标准化URL地址格式对所述第一URL地址进行校验,并对其中错误格式的部分进行适应性补充和修改。其中,违法的URL地址,就是不安全或者具有危险标识的URL地址。Specifically, the URL address entered by the user may be inaccurate or not a standardized URL address pointing to a network resource; however, only a standardized URL address can point to the correct network resource, and the page corresponding to the network resource can be obtained and displayed. Therefore, after the obtaining module 203 obtains the first URL address input by the user, the judgment module 204 needs to determine whether the first URL address is a standardized URL address. If it is not a standardized URL address, then The interception module 205 needs to perform interception conversion. Specifically, when the first URL address exists in the interception list or the first URL address is not a standardized URL address, the interception module 205 performs processing on the first URL address according to a preset interception rule. Intercept. Wherein, the interception rule includes: when the first URL address exists in the interception list, converting the first URL address into a corresponding second URL address according to the interception list; When the first URL address is not a standardized URL address, the first URL address is supplemented, modified, deleted or converted according to the preset standardized URL address format; wherein, the standardized URL address format includes: protocol type, Target host name or IP address. The "complementing, modifying, deleting or converting the first URL address according to the format of the preset standardized URL address" includes: deleting the illegal URL address and converting it into a preset safe URL address, and The first URL address is verified according to the standardized URL address format, and parts of the wrong format are adaptively supplemented and modified. Among them, illegal URL addresses are URL addresses that are unsafe or have dangerous signs.
在本实施例中,由于URL地址一般包括协议类型、目标主机名或IP地址、端口号、存放路径以及资源标识5个元素,当然,端口号、存放路径和资源标识也可以进行部分缺省输入,同样可以跳转到正确的资源地址。因此,所述标准化URL地址可以预设为包括:URL中的协议类型、目标主机名或IP地址。所述获取模块204获取到用户输入的第一URL地址之后,接着,所述判断模块204则判断所述第一URL地址的协议类型,目标主机名或IP地址是否正确,从而判断所述第一URL地址是否为标准化地址。具体地,所述判断模块204通过将所述第一URL地址中的协议类型与预设的常用协议类型进行比较,从而判断所述第一URL地址中的协议类型是否正确;接着再通过ping检测、网速测试、DNS(Domain Name System,域名系统)查询以及路由器追踪的方式对所述第一URL地址中的所述目标主机名或IP地址进行正确性判断,从而判断出所述第一URL地址是否正确。其中,通过ping检测、网速测试、DNS 查询以及路由器追踪的方式检测网址属于现有技术手段,这里不做赘述。In this embodiment, the URL address generally includes five elements: protocol type, target host name or IP address, port number, storage path, and resource identifier. Of course, the port number, storage path, and resource identifier can also be partially defaulted. , You can also jump to the correct resource address. Therefore, the standardized URL address may be preset to include: the protocol type, target host name or IP address in the URL. After the obtaining module 204 obtains the first URL address input by the user, the judgment module 204 then judges the protocol type of the first URL address and whether the target host name or IP address is correct, thereby judging the first URL address. Whether the URL address is a standardized address. Specifically, the judging module 204 compares the protocol type in the first URL address with a preset common protocol type, thereby judging whether the protocol type in the first URL address is correct; then, it is detected by ping , Network speed test, DNS (Domain Name System) query, and router tracking methods to determine the correctness of the target host name or IP address in the first URL address to determine the first URL The address is correct. Among them, the detection of the website address by means of ping detection, network speed test, DNS query and router tracking belongs to the existing technical means, and will not be repeated here.
另外,所述拦截模块205还在所述拦截列表清单还预先设置了当输入的目标主机名或IP地址部分指向的是严重威胁的资源或者违法的资源时,自动将包括该主机名或IP地址的URL地址进行删除并转换成预设的安全URL地址的主机名或IP地址(即跳转到指定的URL地址)。当然,很多情况下,用户输入的所述第一URL地址,可能只有主机名或者IP地址,那么,所述拦截模块205还会根据预设的所述主机名或IP地址对应的协议类型对输入的所述主机名或IP地址对输入的URL地址中的协议类型进行校验,并在所述输入的URL地址中的协议类型缺省的情况下自动进行补充或者修改,从而形成标准化的URL地址。In addition, the interception module 205 also presets in the intercept list list that when the input target host name or IP address part points to a serious threat or illegal resource, the host name or IP address will be automatically included. The URL address is deleted and converted into the host name or IP address of the preset secure URL address (that is, jump to the specified URL address). Of course, in many cases, the first URL address entered by the user may only be a host name or an IP address. Then, the interception module 205 will also input according to the preset protocol type corresponding to the host name or IP address. The host name or IP address in the input URL address is verified for the protocol type, and automatically supplemented or modified when the protocol type in the input URL address is default, thereby forming a standardized URL address .
当然,标准化的URL地址也可能并不是可靠的,例如,存储资源的网络服务器由于存放数据或者资源的主机或者IP地址并不是一成不变的,因此,当数据或者资源转存到其他主机或者存放数据或者资源的主机的IP改变之后,那么输入的原始的目标主机名或IP地址则不能访问,这种情况下,当所述网络服务器在更换主机或者IP地址之前会提前做一个跳转接入服务,即输入原始的目标主机名或IP地址后,所述网络服务器则会将更新后的主机名或IP地址反馈并提醒给请求端。因此,所述计算机设备1则会接收并保存所述资源的存储主机或者IP的变迁记录,获取更新后的主机名或者IP地址,然后就对应地更新并记录到拦截列表清单。在本实施例中,当所述判断模块204判断出所述第一URL地址存在所述拦截列表中时,那么,所述拦截模块205则根据所述拦截列表清单查找出所述第一URL地址对应的第二URL地址,然后将所述第二URL地址替换所述第一URL地址写入到所述浏览器的输入框,然后根据所述第二URL地址发起网络资源的访问请求。Of course, standardized URL addresses may not be reliable. For example, the network server that stores resources is not static because the host or IP address of the data or resource is not static. Therefore, when the data or resources are transferred to other hosts or store data or After the IP of the host of the resource is changed, the original target host name or IP address entered cannot be accessed. In this case, the web server will perform a jump access service in advance before changing the host or IP address. That is, after inputting the original target host name or IP address, the web server will feed back the updated host name or IP address and remind the requester. Therefore, the computer device 1 will receive and save the storage host or IP change record of the resource, obtain the updated host name or IP address, and then update and record the block list accordingly. In this embodiment, when the judgment module 204 judges that the first URL address is in the interception list, then the interception module 205 finds the first URL address according to the interception list list Corresponding to the second URL address, then replace the first URL address with the second URL address and write it into the input box of the browser, and then initiate a network resource access request according to the second URL address.
此外,如果所述判断模块204判断出所述第一URL地址既不是标准化地址,也不存在于所述拦截列表中时,而且第一URL地址中的主机名或IP地址也是错误的,那么,所述判断模块204则会直接返回如“网址输入错误,请重 新输入”的提示。In addition, if the judgment module 204 judges that the first URL address is neither a standardized address nor exists in the interception list, and the host name or IP address in the first URL address is also wrong, then, The judging module 204 will directly return a prompt such as "URL input error, please re-enter".
从上文可知,所述计算机设备1能够在启动浏览器之后将最新版本的拦截插件加载到所述浏览器,然后获取用户点击回车键时浏览器输入框中的第一URL地址并判断所述第一URL地址是否存在于预设拦截列表中或者是否为标准化地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。通过将拦截插件加载到浏览器的方式实现在用户侧终端设备上对用户输入的第一URL地址进行判断以及拦截。从而有效地提高用户访问目标服务器的速度,同时也减少了中间设备的拦截环节,提升了通信安全。It can be seen from the above that the computer device 1 can load the latest version of the interception plug-in to the browser after starting the browser, and then obtain the first URL address in the browser input box when the user clicks the enter key and determine the Whether the first URL address exists in the preset interception list or whether it is a standardized address; when the first URL address exists in the interception list or the first URL address is not a standardized URL address, follow the preset interception The rule intercepts the first URL address. The first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
此外,本申请还提出一种URL拦截转换方法,所述方法应用于计算机设备。In addition, this application also proposes a URL interception conversion method, which is applied to computer equipment.
参阅图3所示,是本申请URL拦截转换方法一实施例的流程示意图。在本实施例中,根据不同的需求,图3所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。Refer to FIG. 3, which is a schematic flowchart of an embodiment of a method for URL interception conversion according to the present application. In this embodiment, according to different requirements, the execution order of the steps in the flowchart shown in FIG. 3 can be changed, and some steps can be omitted.
步骤S500,接收用户启动浏览器的请求,启动浏览器。Step S500: Receive the user's request to start the browser, and start the browser.
步骤S502,将最新版本的拦截插件加载到所述浏览器。Step S502: Load the latest version of the blocking plug-in to the browser.
具体地,所述计算机设备可以是移动终端、用户设备、PC端,以及服务器等,所述计算机设备与插件服务器通信连接。当用户在所述计算机设备上执行启动浏览器的动作时,所述计算机设备则接收用户启动浏览器的请求,启动浏览器;然后,将最新版本的拦截插件加载到所述浏览器。所述计算机设备通过所述浏览器对应的辅助接口或者所述浏览器适用的扩展技术将所述拦截插件加载到所述浏览器。在本实施例中,插件服务器存储有针对于不同的浏览器预先设置拦截插件,具体的,拦截插件就是通过浏览器的对外接口写入拦截程序,例如对于IE浏览器来说,IE浏览器提供BHO接口(Browser Helper Object,浏览器辅助对象),因此可以通过写入适于BHO接口格式的拦截程序以实现拦截功能;再如google浏览器来说,可以使用chrome扩展技术直接将适于chrome接口格式的拦截程序接入到google浏览器的扩展模块以实现拦截功能;其他 浏览器同样有相对应的接口用于写入拦截程序。Specifically, the computer device may be a mobile terminal, user equipment, PC terminal, server, etc., and the computer device is in communication connection with the plug-in server. When the user executes the action of starting the browser on the computer device, the computer device receives the user's request to start the browser and starts the browser; then, the latest version of the blocking plug-in is loaded into the browser. The computer device loads the interception plug-in to the browser through an auxiliary interface corresponding to the browser or an extension technology applicable to the browser. In this embodiment, the plug-in server stores preset interception plug-ins for different browsers. Specifically, the interception plug-in is to write the interception program through the external interface of the browser. For example, for the IE browser, the IE browser provides BHO interface (Browser Helper Object, browser auxiliary object), so you can implement the interception function by writing an interception program suitable for the BHO interface format; another example is the Google browser, you can use the chrome extension technology to directly adapt the chrome interface The interception program in the format is connected to the extension module of the Google browser to realize the interception function; other browsers also have corresponding interfaces for writing the interception program.
在本实施例中,所述计算机设备首先获取所述浏览器上的拦截插件信息,以及插件服务器上的最新拦截插件信息;然后将所述拦截插件信息中的版本号与所述最新拦截插件信息的版本号进行比较,从而判断所述拦截插件信息对应的拦截插件是否为最新版本;当所述拦截插件信息对应的拦截插件并不是最新版本时,从所述插件服务器上下载并静默加载最新版本的拦截插件。例如,所述计算机设备与拦截服务器通信连接后,接着,所述计算机设备接收到用户启动浏览器的请求,然后启动浏览器。然后,所述计算机设备获取加载在所述浏览器上的拦截插件信息,再获取插件服务器上的最新拦截插件信息。其中,所述计算机设备通过比较所述拦截插件信息和所述最新拦截插件信息中的版本号,从而判断出加载到所述浏览器上的所述拦截插件是否为最新版本。例如,所述拦截插件信息中的版本号为V3.0,所述最新拦截插件信息中的版本号为V3.4,那么,加载到所述浏览器的拦截插件不是最新版本。那么,所述计算机设备则从所述插件服务器上下载最新版本的拦截插件并静默加载。当然,所述计算机设备获取到所述浏览器上并未加载任何拦截插件,那么直接从所述插件服务器上下载最新版本的拦截插件并静默加载。In this embodiment, the computer device first obtains the intercepted plug-in information on the browser and the latest intercepted plug-in information on the plug-in server; and then combines the version number in the intercepted plug-in information with the latest intercepted plug-in information Compare the version numbers of the plug-in to determine whether the intercepted plug-in corresponding to the intercepted plug-in information is the latest version; when the intercepted plug-in corresponding to the intercepted plug-in information is not the latest version, download and silently load the latest version from the plug-in server The interception plugin. For example, after the computer device communicates with the interception server, then the computer device receives the user's request to start the browser, and then starts the browser. Then, the computer device obtains the intercepted plug-in information loaded on the browser, and then obtains the latest intercepted plug-in information on the plug-in server. Wherein, the computer device judges whether the interception plug-in loaded on the browser is the latest version by comparing the interception plug-in information and the version number in the latest interception plug-in information. For example, if the version number in the interception plug-in information is V3.0, and the version number in the latest interception plug-in information is V3.4, then the interception plug-in loaded into the browser is not the latest version. Then, the computer device downloads the latest version of the interception plug-in from the plug-in server and loads it silently. Of course, if the computer device obtains that no interception plug-in is loaded on the browser, it directly downloads the latest version of the interception plug-in from the plug-in server and loads it silently.
步骤S504,获取用户点击回车键时浏览器输入框中的第一URL地址。Step S504: Obtain the first URL address in the browser input box when the user clicks the enter key.
具体地,当用户在浏览器的输入框输入URL地址并点击回车键后,则会生成一条关于访问所述URL地址的网络资源的请求信息;然后浏览器根据该请求信息链接到所述URL地址所对应的服务器,并对该URL地址的网络资源进行访问,比如将该网络资源以网页形式显示出来。在本实施例中,所述计算机设备将最新版本的拦截插件加载到浏览器上之后,则会对浏览器的输入框进行监控,监控到用户点击回车键时获取用户输入到浏览器的输入框中的第一URL地址信息。其中,所述计算机设备通过对浏览器的输入框所对应的API接口函数进行监控,当所述API接口函数被调用时,则会实时监控所述API接口函数中可变参数信息,当所述可变参数信息发生变更时,则将变更后的内 容记录下来。例如,所述浏览器的输入框所对应的API接口函数被调用后,对应于输入框的“字符参数”由“空白”更改为“第一URL地址”,并且对应于输入框的“确认参数”为“确认”时,那么,所述计算机设备则记录并获取所述“第一URL地址”。Specifically, when the user enters the URL address in the input box of the browser and clicks the enter key, a request information about accessing the network resource of the URL address will be generated; then the browser will link to the URL according to the request information The server corresponding to the address, and access to the network resource of the URL address, such as displaying the network resource in the form of a web page. In this embodiment, after the computer device loads the latest version of the interception plug-in on the browser, it will monitor the browser’s input box, and it will monitor the user’s input to the browser when the user clicks the enter key. The first URL address information in the box. Wherein, the computer device monitors the API interface function corresponding to the input box of the browser. When the API interface function is called, it will monitor the variable parameter information in the API interface function in real time. When the variable parameter information is changed, record the changed content. For example, after the API interface function corresponding to the input box of the browser is called, the "character parameter" corresponding to the input box is changed from "blank" to "first URL address" and corresponds to the "confirmation parameter" of the input box When "is "confirmed", then the computer device records and obtains the "first URL address".
步骤S506,判断所述第一URL地址是否存在预设的拦截列表中或者所述第一URL地址是否为标准化URL地址。Step S506: Determine whether the first URL address is in a preset blocking list or whether the first URL address is a standardized URL address.
步骤S508,当所述第一URL地址存在于所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。Step S508: When the first URL address exists in the interception list or the first URL address is not a standardized URL address, intercept the first URL address according to a preset interception rule.
具体地,由于用户输入的URL地址可能并不准确,或者不是指向网络资源的标准化URL地址;然而只有标准化URL地址才能指向正确的网络资源,才能获取到对应该网络资源的页面并显示。因此,所述计算机设备在获取到用户输入的第一URL地址后,接着需要判断所述第一URL地址是否为标准化URL地址,如果不是标准化URL地址,那么,所述计算机设备则需要进行拦截转换。具体的,所述计算机设备在当所述第一URL地址存在于所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。其中,所述拦截规则包括:当所述第一URL地址是否存在于所述拦截列表中时,则根据所述拦截列表将所述第一URL地址转换为对应的第二URL地址;当所述第一URL地址不是标准化URL地址时,根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换;其中,所述标准化URL地址格式包括:协议类型,目标主机名或IP地址。所述“根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换”包括:对违法的URL地址进行删除并转换成预设的安全URL地址,以及根据标准化URL地址格式对所述第一URL地址进行校验,并对其中错误格式的部分进行适应性补充和修改。其中,违法的URL地址,就是不安全或者具有危险标识的URL地址。Specifically, the URL address entered by the user may be inaccurate or not a standardized URL address pointing to a network resource; however, only a standardized URL address can point to the correct network resource, and the page corresponding to the network resource can be obtained and displayed. Therefore, after the computer device obtains the first URL address entered by the user, it then needs to determine whether the first URL address is a standardized URL address. If it is not a standardized URL address, then the computer device needs to intercept and convert . Specifically, when the first URL address is in the interception list or the first URL address is not a standardized URL address, the computer device intercepts the first URL address according to a preset interception rule . Wherein, the interception rule includes: when the first URL address exists in the interception list, converting the first URL address into a corresponding second URL address according to the interception list; When the first URL address is not a standardized URL address, the first URL address is supplemented, modified, deleted or converted according to the preset standardized URL address format; wherein, the standardized URL address format includes: protocol type, Target host name or IP address. The "complementing, modifying, deleting or converting the first URL address according to the format of the preset standardized URL address" includes: deleting the illegal URL address and converting it into a preset safe URL address, and The first URL address is verified according to the standardized URL address format, and parts of the wrong format are adaptively supplemented and modified. Among them, illegal URL addresses are URL addresses that are unsafe or have dangerous signs.
在本实施例中,由于URL地址一般包括协议类型、目标主机名或IP地址、端口号、存放路径以及资源标识5个元素,当然,端口号、存放路径和资源标识也可以进行部分缺省输入,同样可以跳转到正确的资源地址。因此,所述标准化URL地址可以预设为包括:URL中的协议类型、目标主机名或IP地址。所述计算机设备获取到用户输入的第一URL地址之后,接着,继续判断所述第一URL地址的协议类型,目标主机名或IP地址是否正确,从而判断所述第一URL地址是否为标准化地址。具体地,所述计算机设备通过将所述第一URL地址中的协议类型与预设的常用协议类型进行比较,从而判断所述第一URL地址中的协议类型是否正确;接着,所述计算机设备再通过ping检测、网速测试、DNS(Domain Name System,域名系统)查询以及路由器追踪的方式对所述第一URL地址中的所述目标主机名或IP地址进行正确性判断,从而判断出所述第一URL地址是否正确。其中,通过ping检测、网速测试、DNS查询以及路由器追踪的方式检测网址属于现有技术手段,这里不做赘述。In this embodiment, the URL address generally includes five elements: protocol type, target host name or IP address, port number, storage path, and resource identifier. Of course, the port number, storage path, and resource identifier can also be partially defaulted. , You can also jump to the correct resource address. Therefore, the standardized URL address may be preset to include: the protocol type, target host name or IP address in the URL. After the computer device obtains the first URL address input by the user, it then continues to determine whether the protocol type of the first URL address and whether the target host name or IP address is correct, so as to determine whether the first URL address is a standardized address . Specifically, the computer device compares the protocol type in the first URL address with a preset common protocol type to determine whether the protocol type in the first URL address is correct; then, the computer device Then, the correctness of the target host name or IP address in the first URL address is determined by means of ping detection, network speed test, DNS (Domain Name System) query and router tracking, so as to determine the correctness of the target host name or IP address in the first URL address. Whether the first URL address is correct. Among them, the detection of the website address by means of ping detection, network speed test, DNS query and router tracking belongs to the prior art means, and will not be repeated here.
另外,所述计算机设备还在所述拦截列表清单还预先设置了当输入的目标主机名或IP地址部分指向的是严重威胁的资源或者违法的资源时,自动将包括该主机名或IP地址的URL地址进行删除并转换成预设的安全URL地址的主机名或IP地址(即跳转到指定的URL地址)。当然,很多情况下,用户输入的所述第一URL地址,可能只有主机名或者IP地址,那么,所述计算机设备还会根据预设的所述主机名或IP地址对应的协议类型对输入的所述主机名或IP地址对输入的URL地址中的协议类型进行校验,并在所述输入的URL地址中的协议类型缺省的情况下自动进行补充或者修改,从而形成标准化的URL地址。In addition, the computer device also presets in the intercept list list that when the input target host name or IP address part points to a serious threat or illegal resource, it will automatically include the host name or IP address. The URL address is deleted and converted into the host name or IP address of the preset secure URL address (that is, jump to the specified URL address). Of course, in many cases, the first URL address entered by the user may only be a host name or an IP address. Then, the computer device will also perform an input based on the preset protocol type corresponding to the host name or IP address. The host name or IP address verifies the protocol type in the input URL address, and automatically supplements or modifies it when the protocol type in the input URL address defaults to form a standardized URL address.
当然,标准化的URL地址也可能并不是可靠的,例如,存储资源的网络服务器由于存放数据或者资源的主机或者IP地址并不是一成不变的,因此,当数据或者资源转存到其他主机或者存放数据或者资源的主机的IP改变之后,那么输入的原始的目标主机名或IP地址则不能访问,这种情况下,当所 述网络服务器在更换主机或者IP地址之前会提前做一个跳转接入服务,即输入原始的目标主机名或IP地址后,所述网络服务器则会将更新后的主机名或IP地址反馈并提醒给请求端。因此,所述计算机设备则会接收并保存所述资源的存储主机或者IP的变迁记录,获取更新后的主机名或者IP地址,然后就对应地更新并记录到拦截列表清单。在本实施例中,当所述计算机设备判断出所述第一URL地址存在所述拦截列表中时,那么,所述计算机设备则根据所述拦截列表清单查找出所述第一URL地址对应的第二URL地址,然后将所述第二URL地址替换所述第一URL地址写入到所述浏览器的输入框,然后根据所述第二URL地址发起网络资源的访问请求。Of course, standardized URL addresses may not be reliable. For example, the network server that stores resources is not static because the host or IP address of the data or resource is not static. Therefore, when the data or resources are transferred to other hosts or store data or After the IP of the host of the resource is changed, the original target host name or IP address entered cannot be accessed. In this case, the web server will perform a jump access service in advance before changing the host or IP address. That is, after inputting the original target host name or IP address, the web server will feed back the updated host name or IP address and remind the requester. Therefore, the computer device will receive and save the storage host or IP change record of the resource, obtain the updated host name or IP address, and then update and record the block list accordingly. In this embodiment, when the computer device determines that the first URL address exists in the interception list, then the computer device searches for the corresponding URL address according to the interception list. A second URL address, and then replace the first URL address with the second URL address and write it into the input box of the browser, and then initiate a network resource access request according to the second URL address.
此外,如果所述计算机设备判断出所述第一URL地址既不是标准化地址,也不存在于所述拦截列表中时,而且第一URL地址中的主机名或IP地址也是错误的,那么,所述计算机设备则会直接返回如“网址输入错误,请重新输入”的提示。In addition, if the computer device determines that the first URL address is neither a standardized address nor exists in the interception list, and the host name or IP address in the first URL address is also wrong, then The computer equipment mentioned above will directly return a prompt such as "URL input error, please re-enter".
本实施例所提出的URL拦截转换方法能够在启动浏览器之后将最新版本的拦截插件加载到所述浏览器,然后获取用户点击回车键时浏览器输入框中的第一URL地址并判断所述第一URL地址是否存在于预设拦截列表中或者是否为标准化地址;当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。通过将拦截插件加载到浏览器的方式实现在用户侧终端设备上对用户输入的第一URL地址进行判断以及拦截。从而有效地提高用户访问目标服务器的速度,同时也减少了中间设备的拦截环节,提升了通信安全。The URL interception conversion method proposed in this embodiment can load the latest version of the interception plug-in to the browser after starting the browser, and then obtain the first URL address in the browser input box when the user clicks the enter key, and determine all Whether the first URL address exists in the preset interception list or whether it is a standardized address; when the first URL address exists in the interception list or the first URL address is not a standardized URL address, follow the preset interception The rule intercepts the first URL address. The first URL address input by the user is judged and intercepted on the user-side terminal device by loading the interception plug-in into the browser. This effectively improves the speed at which users access the target server, reduces the interception of intermediate devices, and improves communication security.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are for description only, and do not represent the superiority of the embodiments.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly used in other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种URL拦截转换方法,所述方法应用于终端设备,所述方法包括步骤:A URL interception conversion method, the method is applied to a terminal device, and the method includes the steps:
    接收用户启动浏览器的请求,启动浏览器;Receive the user's request to start the browser and start the browser;
    将最新版本的拦截插件加载到所述浏览器;Load the latest version of the blocking plug-in to the browser;
    获取用户点击回车键时浏览器输入框中的第一URL地址;Get the first URL address in the browser input box when the user clicks the enter key;
    判断所述第一URL地址是否存在于预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;Judging whether the first URL address exists in a preset blocking list or whether the first URL address is a standardized URL address;
    当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。When the first URL address exists in the interception list or the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule.
  2. 如权利要求1所述的URL拦截转换方法,所述“将最新版本的拦截插件加载到所述浏览器”的步骤包括:8. The method for URL interception conversion according to claim 1, wherein the step of "loading the latest version of the interception plug-in into the browser" comprises:
    获取所述浏览器上的拦截插件信息,以及插件服务器上的最新拦截插件信息;Acquiring the intercepting plug-in information on the browser and the latest intercepting plug-in information on the plug-in server;
    将所述拦截插件信息中的版本号与所述最新拦截插件信息的版本号进行比较,从而判断所述拦截插件信息对应的拦截插件是否为最新版本;Comparing the version number in the interception plug-in information with the version number of the latest interception plug-in information to determine whether the interception plug-in corresponding to the interception plug-in information is the latest version;
    当所述拦截插件信息对应的拦截插件并不是最新版本时,从所述插件服务器上下载并静默加载最新版本的拦截插件。When the interception plug-in corresponding to the interception plug-in information is not the latest version, download the latest version of the interception plug-in from the plug-in server and silently load it.
  3. 如权利要求1所述的URL拦截转换方法,所述方法还包括:通过所述浏览器对应的辅助接口或者所述浏览器适用的扩展技术将所述拦截插件加载到所述浏览器。The method for URL interception conversion according to claim 1, further comprising: loading the interception plug-in to the browser through an auxiliary interface corresponding to the browser or an extension technology applicable to the browser.
  4. 如权利要求2所述的URL拦截转换方法,所述方法还包括:通过所述浏览器对应的辅助接口或者所述浏览器适用的扩展技术将所述拦截插件加载到所述浏览器。The URL interception conversion method according to claim 2, the method further comprising: loading the interception plug-in to the browser through an auxiliary interface corresponding to the browser or an extension technology applicable to the browser.
  5. 如权利要求1所述的URL拦截转换方法,所述拦截规则包括:The method for URL interception conversion according to claim 1, wherein the interception rule comprises:
    当所述第一URL地址是否存在于所述拦截列表中时,则根据所述拦截列 表将所述第一URL地址转换为对应的第二URL地址;When the first URL address exists in the interception list, converting the first URL address into a corresponding second URL address according to the interception list;
    当所述第一URL地址不是标准化URL地址时,根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换。When the first URL address is not a standardized URL address, the first URL address is supplemented, modified, deleted or converted correspondingly according to the format of the preset standardized URL address.
  6. 如权利要求5所述的URL拦截转换方法,The URL interception conversion method according to claim 5,
    所述标准化URL地址格式包括:协议类型,目标主机名或IP地址;所述“根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换”包括:The standardized URL address format includes: protocol type, target host name or IP address; the "complement, modify, delete or convert the first URL address according to the preset standardized URL address format" includes:
    对违法的URL地址进行删除并转换成预设的安全URL地址;Delete the illegal URL address and convert it into a preset safe URL address;
    根据标准化URL地址格式对所述第一URL地址进行校验,并对其中错误格式的部分进行适应性补充和修改。The first URL address is verified according to the standardized URL address format, and parts of the wrong format are adaptively supplemented and modified.
  7. 一种URL拦截转换装置,所述装置包括:A URL interception conversion device, the device includes:
    接收模块,用于接收用户启动浏览器的请求,启动浏览器;The receiving module is used to receive the user's request to start the browser and start the browser;
    加载模块,用于将最新版本的拦截插件加载到所述浏览器;The loading module is used to load the latest version of the interception plug-in to the browser;
    获取模块,用于获取用户点击回车键时浏览器输入框中的第一URL地址;The obtaining module is used to obtain the first URL address in the browser input box when the user clicks the enter key;
    判断模块,用于判断所述第一URL地址是否存在预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;A judging module, configured to judge whether the first URL address exists in a preset blocking list or whether the first URL address is a standardized URL address;
    拦截模块,用于当所述第一URL地址存在于所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。The interception module is configured to intercept the first URL address according to a preset interception rule when the first URL address exists in the interception list or the first URL address is not a standardized URL address.
  8. 如权利要求7所述的URL拦截转换装置,所述加载模块,还用于:The URL interception conversion device according to claim 7, wherein the loading module is further used for:
    获取所述浏览器上的拦截插件信息,以及插件服务器上的最新拦截插件信息;Acquiring the intercepting plug-in information on the browser and the latest intercepting plug-in information on the plug-in server;
    将所述拦截插件信息中的版本号与所述最新拦截插件信息的版本号进行比较,从而判断所述拦截插件信息对应的拦截插件是否为最新版本;Comparing the version number in the interception plug-in information with the version number of the latest interception plug-in information to determine whether the interception plug-in corresponding to the interception plug-in information is the latest version;
    当所述拦截插件信息对应的拦截插件并不是最新版本时,从所述插件服务器上下载并静默加载最新版本的拦截插件。When the interception plug-in corresponding to the interception plug-in information is not the latest version, download the latest version of the interception plug-in from the plug-in server and silently load it.
  9. 如权利要求7所述的URL拦截转换装置,所述加载模块通过所述浏览器对应的辅助接口或者所述浏览器适用的扩展技术将所述拦截插件加载到所述浏览器。8. The URL interception conversion device according to claim 7, wherein the loading module loads the interception plug-in to the browser through an auxiliary interface corresponding to the browser or an extension technology applicable to the browser.
  10. 如权利要求8所述的URL拦截转换装置,所述加载模块通过所述浏览器对应的辅助接口或者所述浏览器适用的扩展技术将所述拦截插件加载到所述浏览器。8. The URL interception conversion device according to claim 8, wherein the loading module loads the interception plug-in to the browser through an auxiliary interface corresponding to the browser or an extension technology applicable to the browser.
  11. 如权利要求7所述的URL拦截转换装置,所述拦截规则包括:7. The URL interception conversion device of claim 7, wherein the interception rule comprises:
    当所述第一URL地址是否存在于所述拦截列表中时,则根据所述拦截列表将所述第一URL地址转换为对应的第二URL地址;When the first URL address exists in the interception list, converting the first URL address into a corresponding second URL address according to the interception list;
    当所述第一URL地址不是标准化URL地址时,根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换。When the first URL address is not a standardized URL address, the first URL address is supplemented, modified, deleted or converted correspondingly according to the format of the preset standardized URL address.
  12. 如权利要求11所述的URL拦截转换装置,The URL interception conversion device according to claim 11,
    所述标准化URL地址格式包括:协议类型,目标主机名或IP地址;所述拦截模块还用于:The standardized URL address format includes: protocol type, target host name or IP address; the interception module is also used for:
    对违法的URL地址进行删除并转换成预设的安全URL地址;Delete the illegal URL address and convert it into a preset safe URL address;
    根据标准化URL地址格式对所述第一URL地址进行校验,并对其中错误格式的部分进行适应性补充和修改。The first URL address is verified according to the standardized URL address format, and parts of the wrong format are adaptively supplemented and modified.
  13. 一种计算机设备,所述计算机设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述计算机可读指令被所述处理器执行时实现步骤:A computer device, the computer device includes a memory and a processor, the memory stores computer-readable instructions that can run on the processor, and the computer-readable instructions implement the steps when executed by the processor :
    接收用户启动浏览器的请求,启动浏览器;Receive the user's request to start the browser and start the browser;
    将最新版本的拦截插件加载到所述浏览器;Load the latest version of the blocking plug-in to the browser;
    获取用户点击回车键时浏览器输入框中的第一URL地址;Get the first URL address in the browser input box when the user clicks the enter key;
    判断所述第一URL地址是否存在于预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;Judging whether the first URL address exists in a preset blocking list or whether the first URL address is a standardized URL address;
    当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。When the first URL address exists in the interception list or the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule.
  14. 如权利要求13所述的计算机设备,所述“将最新版本的拦截插件加载到所述浏览器”的步骤包括:The computer device according to claim 13, wherein the step of "loading the latest version of the blocking plug-in into the browser" comprises:
    获取所述浏览器上的拦截插件信息,以及插件服务器上的最新拦截插件信 息;Obtaining information about the blocking plug-in on the browser and the latest blocking plug-in information on the plug-in server;
    将所述拦截插件信息中的版本号与所述最新拦截插件信息的版本号进行比较,从而判断所述拦截插件信息对应的拦截插件是否为最新版本;Comparing the version number in the interception plug-in information with the version number of the latest interception plug-in information to determine whether the interception plug-in corresponding to the interception plug-in information is the latest version;
    当所述拦截插件信息对应的拦截插件并不是最新版本时,从所述插件服务器上下载并静默加载最新版本的拦截插件。When the interception plug-in corresponding to the interception plug-in information is not the latest version, download the latest version of the interception plug-in from the plug-in server and silently load it.
  15. 如权利要求14所述的计算机设备,所述计算机可读指令被所述处理器执行时还实现步骤:通过所述浏览器对应的辅助接口或者所述浏览器适用的扩展技术将所述拦截插件加载到所述浏览器。The computer device according to claim 14, when the computer-readable instructions are executed by the processor, the further step is to implement the interception plug-in through the auxiliary interface corresponding to the browser or the extension technology applicable to the browser Load into the browser.
  16. 如权利要求14所述的计算机设备,所述拦截规则包括:The computer device according to claim 14, wherein the interception rule comprises:
    当所述第一URL地址是否存在于所述拦截列表中时,则根据所述拦截列表将所述第一URL地址转换为对应的第二URL地址;When the first URL address exists in the interception list, converting the first URL address into a corresponding second URL address according to the interception list;
    当所述第一URL地址不是标准化URL地址时,根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换;其中,所述标准化URL地址格式包括:协议类型,目标主机名或IP地址;所述“根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换”包括:When the first URL address is not a standardized URL address, the first URL address is supplemented, modified, deleted or converted according to the format of the preset standardized URL address; wherein, the standardized URL address format includes: Protocol type, target host name or IP address; the "complement, modify, delete or convert the first URL address according to the preset standardized URL address format" includes:
    对违法的URL地址进行删除并转换成预设的安全URL地址;Delete the illegal URL address and convert it into a preset safe URL address;
    根据标准化URL地址格式对所述第一URL地址进行校验,并对其中错误格式的部分进行适应性补充和修改。The first URL address is verified according to the standardized URL address format, and parts of the wrong format are adaptively supplemented and modified.
  17. 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可读指令,所述计算机可读指令可被至少一个处理器执行以实现步骤:A non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to implement the steps:
    接收用户启动浏览器的请求,启动浏览器;Receive the user's request to start the browser and start the browser;
    将最新版本的拦截插件加载到所述浏览器;Load the latest version of the blocking plug-in to the browser;
    获取用户点击回车键时浏览器输入框中的第一URL地址;Get the first URL address in the browser input box when the user clicks the enter key;
    判断所述第一URL地址是否存在于预设的拦截列表中或者所述第一URL地址是否为标准化URL地址;Judging whether the first URL address exists in a preset blocking list or whether the first URL address is a standardized URL address;
    当所述第一URL地址存在所述拦截列表中或者所述第一URL地址不是标准化URL地址时,按照预设的拦截规则对所述第一URL地址进行拦截。When the first URL address exists in the interception list or the first URL address is not a standardized URL address, the first URL address is intercepted according to a preset interception rule.
  18. 如权利要求17所述的非易失性计算机可读存储介质,所述“将最新版本的拦截插件加载到所述浏览器”的步骤包括:The non-volatile computer-readable storage medium according to claim 17, wherein the step of "loading the latest version of the blocking plug-in into the browser" comprises:
    获取所述浏览器上的拦截插件信息,以及插件服务器上的最新拦截插件信息;Acquiring the intercepting plug-in information on the browser and the latest intercepting plug-in information on the plug-in server;
    将所述拦截插件信息中的版本号与所述最新拦截插件信息的版本号进行比较,从而判断所述拦截插件信息对应的拦截插件是否为最新版本;Comparing the version number in the interception plug-in information with the version number of the latest interception plug-in information to determine whether the interception plug-in corresponding to the interception plug-in information is the latest version;
    当所述拦截插件信息对应的拦截插件并不是最新版本时,从所述插件服务器上下载并静默加载最新版本的拦截插件。When the interception plug-in corresponding to the interception plug-in information is not the latest version, download the latest version of the interception plug-in from the plug-in server and silently load it.
  19. 如权利要求18所述的非易失性计算机可读存储介质,所述计算机可读指令被所述处理器执行时还实现步骤:通过所述浏览器对应的辅助接口或者所述浏览器适用的扩展技术将所述拦截插件加载到所述浏览器。The non-volatile computer-readable storage medium according to claim 18, when the computer-readable instructions are executed by the processor, the step of further implementing: The extension technology loads the interception plug-in to the browser.
  20. 如权利要求18所述的非易失性计算机可读存储介质,所述拦截规则包括:The non-volatile computer-readable storage medium of claim 18, wherein the interception rule comprises:
    当所述第一URL地址是否存在于所述拦截列表中时,则根据所述拦截列表将所述第一URL地址转换为对应的第二URL地址;When the first URL address exists in the interception list, converting the first URL address into a corresponding second URL address according to the interception list;
    当所述第一URL地址不是标准化URL地址时,根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换;其中,所述标准化URL地址格式包括:协议类型,目标主机名或IP地址;所述“根据预设的标准化URL地址的格式对所述第一URL地址进行相应的补充、修改、删除或者转换”包括:When the first URL address is not a standardized URL address, the first URL address is supplemented, modified, deleted or converted according to the format of the preset standardized URL address; wherein, the standardized URL address format includes: Protocol type, target host name or IP address; the "complement, modify, delete or convert the first URL address according to the preset standardized URL address format" includes:
    对违法的URL地址进行删除并转换成预设的安全URL地址;Delete the illegal URL address and convert it into a preset safe URL address;
    根据标准化URL地址格式对所述第一URL地址进行校验,并对其中错误格式的部分进行适应性补充和修改。The first URL address is verified according to the standardized URL address format, and parts of the wrong format are adaptively supplemented and modified.
PCT/CN2019/102807 2019-05-05 2019-08-27 Url interception and conversion method, device, and computer apparatus WO2020224108A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910366757.5A CN110188294A (en) 2019-05-05 2019-05-05 URL intercepts conversion method, device and computer equipment
CN201910366757.5 2019-05-05

Publications (1)

Publication Number Publication Date
WO2020224108A1 true WO2020224108A1 (en) 2020-11-12

Family

ID=67715528

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/102807 WO2020224108A1 (en) 2019-05-05 2019-08-27 Url interception and conversion method, device, and computer apparatus

Country Status (2)

Country Link
CN (1) CN110188294A (en)
WO (1) WO2020224108A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417324A (en) * 2020-05-12 2021-02-26 上海哔哩哔哩科技有限公司 Chrome-based URL (Uniform resource locator) interception method and device and computer equipment
CN112925591A (en) * 2021-01-25 2021-06-08 北京房江湖科技有限公司 Method and device for intercepting call routing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970760A (en) * 2013-01-28 2014-08-06 腾讯科技(深圳)有限公司 Webpage request handling method and device
CN104346457A (en) * 2014-10-31 2015-02-11 北京奇虎科技有限公司 Method for intercepting business object and browser client
CN106453216A (en) * 2015-08-13 2017-02-22 阿里巴巴集团控股有限公司 Malicious website interception method, malicious website interception device and client
CN107729358A (en) * 2017-09-01 2018-02-23 小草数语(北京)科技有限公司 Page access method and apparatus based on browser
CN109688280A (en) * 2018-08-21 2019-04-26 平安科技(深圳)有限公司 Request processing method, request processing equipment, browser and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197836B (en) * 2007-12-20 2010-08-18 华为技术有限公司 Data communication control method and data communication control device
CN104536981B (en) * 2014-12-05 2018-01-16 北京奇虎科技有限公司 Realize method, browser client and the device of secure browser
CN106610988B (en) * 2015-10-22 2020-07-28 阿里巴巴集团控股有限公司 Webpage recommendation method and recommendation device
KR101761592B1 (en) * 2015-12-01 2017-07-26 주식회사 인프라웨어 Apparatus and computer program stored in computer readable medium for updating web object inserted in document
CN105574146A (en) * 2015-12-15 2016-05-11 北京奇虎科技有限公司 Website intercepting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970760A (en) * 2013-01-28 2014-08-06 腾讯科技(深圳)有限公司 Webpage request handling method and device
CN104346457A (en) * 2014-10-31 2015-02-11 北京奇虎科技有限公司 Method for intercepting business object and browser client
CN106453216A (en) * 2015-08-13 2017-02-22 阿里巴巴集团控股有限公司 Malicious website interception method, malicious website interception device and client
CN107729358A (en) * 2017-09-01 2018-02-23 小草数语(北京)科技有限公司 Page access method and apparatus based on browser
CN109688280A (en) * 2018-08-21 2019-04-26 平安科技(深圳)有限公司 Request processing method, request processing equipment, browser and storage medium

Also Published As

Publication number Publication date
CN110188294A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN106302337B (en) Vulnerability detection method and device
US10509905B2 (en) Ransomware mitigation system
US9235586B2 (en) Reputation checking obtained files
CN106462430B (en) Application upgrade package acquisition method and device
US9178940B2 (en) System and method for detecting peer-to-peer network software
US8060860B2 (en) Security methods and systems
CN109586969B (en) Content distribution network disaster tolerance method and device, computer equipment and storage medium
US8667578B2 (en) Web management authorization and delegation framework
CN109391673B (en) Method, system and terminal equipment for managing update file
CN110888838A (en) Object storage based request processing method, device, equipment and storage medium
CN102932370A (en) Safety scanning method, equipment and system
CN108989355A (en) A kind of leak detection method and device
CN109446801B (en) Method, device, server and storage medium for detecting simulator access
US11516279B2 (en) Systems and methods for accessing multiple resources via one identifier
US9191392B2 (en) Security configuration
US8978139B1 (en) Method and apparatus for detecting malicious software activity based on an internet resource information database
US8127033B1 (en) Method and apparatus for accessing local computer system resources from a browser
CN108028843B (en) Method, system and computing device for securing delivery of computer-implemented functionality
WO2020224108A1 (en) Url interception and conversion method, device, and computer apparatus
RU2491623C1 (en) System and method of verifying trusted files
CN107623693B (en) Domain name resolution protection method and device, system, computing device, and storage medium
CN110191203B (en) Method for realizing dynamic access of server and electronic equipment
CN118194322A (en) Authority control method, device, computer equipment and storage medium
CN113987501A (en) Website access method and device, storage medium and electronic device
JP4542122B2 (en) An apparatus for performing URL filtering by acquiring an original URL of content stored in a cache server or the like

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19927805

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19927805

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19927805

Country of ref document: EP

Kind code of ref document: A1