CN109802919A - A kind of web page access interception method and device - Google Patents

A kind of web page access interception method and device Download PDF

Info

Publication number
CN109802919A
CN109802919A CN201711140318.XA CN201711140318A CN109802919A CN 109802919 A CN109802919 A CN 109802919A CN 201711140318 A CN201711140318 A CN 201711140318A CN 109802919 A CN109802919 A CN 109802919A
Authority
CN
China
Prior art keywords
web page
blacklist
user
url
domain name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711140318.XA
Other languages
Chinese (zh)
Other versions
CN109802919B (en
Inventor
宋小龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711140318.XA priority Critical patent/CN109802919B/en
Publication of CN109802919A publication Critical patent/CN109802919A/en
Application granted granted Critical
Publication of CN109802919B publication Critical patent/CN109802919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of Web page access interception method and devices, to solve the problems, such as complexity height, the low efficiency of web page access interception in the prior art.The described method includes: obtaining web page blacklist;Obtain the web page URL of user's current accessed, the data on flows packet for accessing the web page and generating is obtained with by building VPN service processes, wherein, VPN service processes include TCP agent service module and DNS proxy service module, and data on flows packet is TCP data packet or DNS data packet;TCP data packet or DNS data packet are parsed, corresponding destination address or domain name are obtained;Any one in the URL, destination address and domain name is matched with web page blacklist;When determining that the URL, destination address and domain name have any one to match with the illegal web page address in web page blacklist, web page access is intercepted.

Description

A kind of web page access interception method and device
Technical field
The present invention relates to filed of network information security more particularly to a kind of web page access interception method and devices.
Background technique
With the universal development with Internet technology of mobile terminal, the accessible various web pages of mobile terminal user Information retrieval, exchange are carried out, is brought great convenience to the life of user.However, the appearance of some illegal websites is to mobile whole The information security of end subscriber brings threat.
The web page access interception method of Android (Android) terminal mainly includes following several at present:
First, web page access is intercepted by obtaining android system root (root) permission.However, due to The fragmentation of Android terminal is unable to get this method to be widely applied, also, with android system safety check Intensity increases, and the acquisition of root authority becomes more difficult.
Second, by configuring VPN (Virtual Private Network, Virtual Private Network) or APN (Access Point Name, access point name) obtain all web page flowing of access from Android terminal, and then to the non-net of justice Station is identified and is intercepted.However, realized by configuring VPN or APN to the web page access interception of Android terminal at This is excessively high, and configuration is complicated, practical relatively low.
Third passes through VPN Service API (the Application Programming of android system Interface, virtual private network services application programming interface) user's web page access data are captured, and then carry out weight Orientation intercepts to access illegal web page.But since android system synchronization only allows to run a VPN Service, once user authorize other application use VPN Service, be responsible for web page access interception using inner Function will fail, it is possible thereby to see, the robustness of this method is poor, so that intercepting efficiency reduces.
Therefore, how reduce web page access interception cost reasons under, improve intercepting efficiency, be the prior art urgently One of technical problem to be solved.
Summary of the invention
The present invention provides a kind of web page access interception method and devices, to solve web page visit in the prior art The problem of asking the high complexity of interception, low efficiency.
In a first aspect, the embodiment of the invention provides a kind of web page access interception methods, comprising:
Obtain web page blacklist, wherein the web page blacklist is the collection of preset illegal web page address It closes;
The web page uniform resource position mark URL of user's current accessed is obtained, and passes through building Virtual Private Network VPN Service processes, which obtain, accesses the data on flows packet that the web page generates, wherein the VPN service processes include transmission control Agreement TCP agent service module and domain name system DNS proxy service module, the data on flows packet are TCP data packet or DNS number According to packet;
The TCP data packet or DNS data packet are parsed, corresponding destination address or domain name are obtained;
Any one in the URL, destination address and domain name is matched with the web page blacklist;
When determine the URL, the destination address and domain name have any one in the web page blacklist Illegal web page address when matching, web page access is intercepted.
Preferably, obtaining the web page URL of user's current accessed, specifically include:
The browser data library of storage is monitored, the browser data library is accessed for recording the user using browser All web page URL;
The web page URL of user's current accessed is obtained from the browser data library.
Preferably, monitoring the browser data library of storage, specifically include:
By calling Android application program programming interface Android API register Content Observer function Monitor the browser data library of storage.
Preferably, when the determining URL, the destination address and domain name have any one and the web page When illegal web page address in blacklist matches, web page access is intercepted, is specifically included:
It, then will be described when determining that the illegal web page address in the URL and the web page blacklist matches The web page of user's current accessed jumps to blacklist and reminds the page, reminds user's page inaccessible;
When determining that the illegal web page address in the destination address and the web page blacklist matches, then lead to It crosses and distorts the destination address web page of user's current accessed is intercepted;
When determining that the illegal web page address in domain name and the web page blacklist matches, then by usurping Changing DNS response bag be resolved domain name can not, intercept to the web page of user's current accessed.
Preferably, the web page of user's current accessed, which is jumped to blacklist, reminds the page, specifically include:
By calling Android API start Activity function to jump the web page of user's current accessed The page is reminded to blacklist.
Second aspect, the embodiment of the invention provides a kind of web page access interception devices, comprising:
First acquisition unit, for obtaining web page blacklist, wherein the web page blacklist is preset illegal The set of web page address;
Second acquisition unit for obtaining the web page uniform resource position mark URL of user's current accessed, and passes through structure It builds Virtual Private Network VPN service processes and obtains the data on flows packet for accessing the web page generation, wherein the VPN service Process includes transmission control protocol TCP proxy service module and domain name system DNS proxy service module, and the data on flows packet is TCP data packet or DNS data packet;
Resolution unit obtains corresponding destination address or domain name for parsing the TCP data packet or DNS data packet;
Matching unit, for by any one and the web page blacklist in the URL, destination address and domain name It is matched;
Interception unit, for when determine the URL, the destination address and domain name have any one with it is described When illegal web page address in web page blacklist matches, web page access is intercepted.
Preferably, the second acquisition unit, specifically for monitoring the browser data library of storage, the browser data Library is used to record all web page URL that the user uses browser to access;Described in being obtained from the browser data library The web page URL of user's current accessed.
Preferably, the second acquisition unit, is specifically used for by calling Android application program programming interface Android API register Content Observer function monitors the browser data library of storage.
Preferably, the interception unit, specifically for when determine the URL with it is illegal in the web page blacklist When web page address matches, then the web page of user's current accessed is jumped into blacklist and remind the page, reminded and use The family page is inaccessible;When determining the destination address and the illegal web page address phase in the web page blacklist Timing then intercepts the web page of user's current accessed by distorting the destination address;When determining domain name When matching with the illegal web page address in the web page blacklist, then make the domain by distorting DNS response bag Name can not be resolved, and be intercepted to the web page of user's current accessed.
Preferably, the interception unit, is specifically used for by calling Android API start Activity function will The web page of user's current accessed jumps to blacklist and reminds the page.
The third aspect the embodiment of the invention provides a kind of electronic equipment, including memory, processor and is stored in described On memory and the computer program that can run on the processor, the processor realize the present invention when executing described program The web page access interception method.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey Sequence, the program realize the step in web page access interception method of the present invention when being executed by processor.
The beneficial effect comprise that
In web page access interception method and device provided in an embodiment of the present invention, the black name of acquisition for mobile terminal web page Single, web page blacklist is the set of preset illegal web page address, obtains the web page URL of user's current accessed (Uniform Resource Locator, uniform resource locator), and user's access is obtained by building VPN service processes The data on flows packet that the web page generates, wherein VPN service processes include TCP (Transmission Control Protocol, transmission control protocol) proxy service module and DNS (Domain Name System, domain name system) agency service Module, the data on flows packet are TCP data packet or DNS data packet, parse the TCP data packet or DNS data packet, obtain phase The destination address or domain name answered, by any one in the URL, destination address and domain name with the web page blacklist into Row matching, when determine the URL, the destination address and domain name have any one in the web page blacklist Illegal web page address when matching, web page access is intercepted, web page provided in an embodiment of the present invention Access interception method without obtaining root authority, but obtains the Web page of user's current accessed by monitoring browser data library Face URL and the data on flows packet two ways that the access web page generation is obtained by building VPN service processes, comprehensively Ground intercepts the access of illegal web page, also, occurs since identification intercepts in mobile terminal local, and it is unnecessary to reduce Network interaction, compared to platform side intercepting efficiency it is higher, consumed flow is less, and is easy to dispose, and reduces interception complexity.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the implementation process diagram for the web page access interception method that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram of web page access interception device provided by Embodiment 2 of the present invention.
Specific embodiment
The present invention provides a kind of web page access interception method and devices, to solve web page visit in the prior art The problem of asking the high complexity of interception, low efficiency.
The implementation principle of web page access interception method provided in an embodiment of the present invention is: the black name of acquisition for mobile terminal web Single, web blacklist is the set of preset illegal web page address, obtains the web page URL, Yi Jitong of user's current accessed It crosses building VPN service processes and obtains user and access the data on flows packet that the web page generates, wherein VPN service processes include TCP agent service module and DNS proxy service module, the data on flows packet are TCP data packet or DNS data packet, parse institute TCP data packet or DNS data packet are stated, corresponding destination address or domain name are obtained, it will be in the URL, destination address and domain name Any one is matched with the web blacklist, when determining that the URL, the destination address and domain name have arbitrarily One when matching with the illegal web page address in the web blacklist, intercepts web page access, this hair The web page access interception method that bright embodiment provides obtains use by monitoring browser data library without obtaining root authority The web page URL of family current accessed and the flow number that the access web page generation is obtained by building VPN service processes According to packet two ways, comprehensively the access of illegal web page is intercepted, also, is occurred since identification intercepts in mobile terminal It is local, reduce unnecessary network interaction, higher compared to platform side intercepting efficiency, consumed flow is less, and is easy to dispose, drop Low interception complexity.
It should be noted that the mobile terminal in the embodiment of the present invention is the mobile terminal for being equipped with android system.
Below in conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that described herein Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this hair The feature in embodiment and embodiment in bright can be combined with each other.
Embodiment one
As shown in Figure 1, the implementing procedure signal of its web page access interception method provided for the embodiment of the present invention one Figure, may comprise steps of:
S11, web page blacklist is obtained, wherein the web page blacklist is preset illegal web page address Set.
When it is implemented, mobile terminal obtains web page blacklist first, which is preset illegal The set of web page address.Specifically, the web page blacklist can be obtained by two ways: by the black name of web page The web page blacklist data is pushed to the mobile terminal by push instruction by single configuration distributing platform, and is stored in On mobile terminal;Or mobile terminal timing sends the black name of request web page to web page blacklist configuration distributing platform Forms data, and update to local.Wherein, the web page blacklist of web page blacklist configuration distributing platform can be in real time more New, illegal web page address can include but is not limited to following several addresses: the domain name addresses of web page URL, web page With the IP address of web page.Above-mentioned web page address can be complete web page address, or fuzzy web page address, for example, One complete illegal web page address is www.aaa.bb.com/item/12345678, and a fuzzy web page address is Www.a**.b*.com/item/* obscures web page address for this, if user access web page address in addition at " * " its It meets the webpage, then it is assumed that and the web page address of user's access matches with above-mentioned fuzzy web page address, for example, Www.abc.bc.com/item/111111 or www.acc.bd.com/item/222222 is and www.a**.b*.com/ Item/* matches.
S12, the web page uniform resource position mark URL for obtaining user's current accessed, and pass through building Virtual Private Network VPN service processes, which obtain, accesses the data on flows packet that the web page generates, wherein the VPN service processes include transmission control Agreement TCP agent service module processed and domain name system DNS proxy service module, the data on flows packet are TCP data packet or DNS Data packet.
When it is implemented, mobile terminal monitors the browser data library being locally stored, the browser data library is for remembering All web page URL that the user uses browser to access are recorded, it is current to obtain the user from the browser data library The web page URL of access.Specifically, by calling Android APIregister Content Observer function to monitor A newest record in historical record is read in the browser data library being locally stored when monitoring readjustment, as user currently visits The web page URL asked.
Also, mobile terminal is obtained by building Virtual Private Network VPN service processes and accesses what the web page generated Data on flows packet, wherein the VPN service processes include transmission control protocol TCP proxy service module and domain name system DNS generation Service module is managed, the data on flows packet is TCP data packet or DNS data packet.Specifically, mobile terminal is by calling VPN clothes The establish (creation) of business process obtains Parcel File Descriptor (interface description file), to local flow number It is written and read forwarding according to packet, constructs the TCP agent service of mobile terminal local and DNS proxy service, obtains and accesses the web page The data on flows packet of generation, i.e. TCP data packet or DNS data packet.
S13, the parsing TCP data packet or DNS data packet, obtain corresponding destination address or domain name.
When it is implemented, mobile terminal parses TCP data packet, TCP destination address is obtained;Or parsing DNS data packet, it obtains DNS domain name.
S14, any one in the URL, destination address and domain name is matched with the web page blacklist.
When it is implemented, the web page URL for the user's current accessed that will acquire, the TCP destination address parsed or DNS Any one in domain name is matched with web page blacklist.
S15, when determining that the URL, the destination address and domain name have any one and the black name of the web page When illegal web page address in list matches, web page access is intercepted.
When it is implemented, when determine user's current accessed web page URL with it is illegal in the web page blacklist When web page address matches, then the web page of user's current accessed is jumped into blacklist and remind the page, reminded and use The family page is inaccessible.Specifically, mobile terminal is by calling Android API start Activity function by user The web page of current accessed jumps to blacklist and reminds the page, reminds user's page inaccessible, and in turn, user can be certainly Row chooses whether to continue to access the web page.
When the TCP destination address for determining acquisition matches with the illegal web page address in the web page blacklist When, then the web page of user's current accessed is intercepted by distorting the TCP destination address.
When determining that the illegal web page address in the DNS domain name obtained and the web page blacklist matches, then By distorting DNS response bag domain name can not be resolved, the web page of user's current accessed is intercepted. Specifically, domain name can be made with can not being resolvable to IP (Internet Protocol, network protocol) by distorting DNS response bag Location, to achieve the purpose that intercept the web page of user's current accessed.
Web page access interception method provided in an embodiment of the present invention passes through acquisition for mobile terminal web blacklist, wherein Web blacklist is the set of preset illegal web page address, obtains the web page URL of user's current accessed, and is passed through Building VPN service processes obtain user and access the data on flows packet that the web page generates, wherein VPN service processes include TCP agent service module and DNS proxy service module, the data on flows packet are TCP data packet or DNS data packet, parse institute TCP data packet or DNS data packet are stated, corresponding destination address or domain name are obtained, it will be in the URL, destination address and domain name Any one is matched with the web blacklist, when determining that the URL, the destination address and domain name have arbitrarily One when matching with the illegal web page address in the web blacklist, intercepts web page access, this hair The web page access interception method that bright embodiment provides, without obtaining root authority, web page blacklist configuration distributing platform Mobile terminal can be issued to by dynamic configuration web page blacklist according to the actual situation, flexibly and easily;By monitoring browser number According to library obtain user's current accessed web page URL, can in real time to user using browser access illegal web page into Row intercepts, and the data on flows packet that the access web page generates can also be obtained by building VPN service processes and is accessed user Illegal web page is intercepted.In the case that the access right of VPN service is occupied by other application, it can still pass through prison It listens browser data library to access illegal web page using browser to user to intercept, so that intercepting has more comprehensively Effect, also, occur to reduce unnecessary network interaction in mobile terminal local, intercept compared to platform side since identification intercepts More efficient, consumed flow is less, and is easy to dispose, and reduces interception complexity.
Embodiment two
Based on the same inventive concept, a kind of web page access interception device is additionally provided in the embodiment of the present invention, due to upper It is similar to above-mentioned web page access interception method to state the principle that device solves the problems, such as, therefore the implementation of above-mentioned apparatus may refer to The implementation of method, overlaps will not be repeated.
As shown in Fig. 2, it is the structural schematic diagram of web page access interception device provided by Embodiment 2 of the present invention, it can To include:
First acquisition unit 21, for obtaining web page blacklist, wherein the web page blacklist is preset non- The set of method web page address;
Second acquisition unit 22 for obtaining the web page uniform resource position mark URL of user's current accessed, and passes through It constructs Virtual Private Network VPN service processes and obtains the data on flows packet for accessing the web page generation, wherein the VPN clothes Business process includes transmission control protocol TCP proxy service module and domain name system DNS proxy service module, the data on flows packet For TCP data packet or DNS data packet;
Resolution unit 23 obtains corresponding destination address or domain name for parsing the TCP data packet or DNS data packet;
Matching unit 24, for by any one and the black name of the web page in the URL, destination address and domain name Singly matched;
Interception unit 25, for when determine the URL, the destination address and domain name have any one with it is described When illegal web page address in web page blacklist matches, web page access is intercepted.
Preferably, the second acquisition unit 22, specifically for monitoring the browser data library of storage, the browser number It is used to record all web page URL that the user uses browser to access according to library;Institute is obtained from the browser data library State the web page URL of user's current accessed.
Preferably, the second acquisition unit 22, is specifically used for by calling Android application program programming interface Android API register Content Observer function monitors the browser data library of storage.
Preferably, the interception unit 25, specifically for when determine the URL with it is non-in the web page blacklist When method web page address matches, then the web page of user's current accessed is jumped into blacklist and remind the page, reminded User's page is inaccessible;When determining the destination address and the illegal web page address phase in the web page blacklist When matching, then the web page of user's current accessed is intercepted by distorting the destination address;When determining the domain Name is with the illegal web page address in the web page blacklist when matching, then by distorting described in DNS response bag makes Domain name can not be resolved, and be intercepted to the web page of user's current accessed.
Preferably, the interception unit 25, is specifically used for by calling Android API start Activity function The web page of user's current accessed is jumped into blacklist and reminds the page.
Embodiment three
The embodiment of the present invention three provides a kind of electronic equipment, including memory, processor and is stored in the memory Computer program that is upper and can running on the processor, the processor realize the embodiment of the present invention when executing described program Web page access interception method described in one.
Example IV
The embodiment of the present invention four provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The step in web page access interception method described in the embodiment of the present invention one is realized when sequence is executed by processor.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of web page access interception method characterized by comprising
Obtain web page blacklist, wherein the web page blacklist is the set of preset illegal web page address;
The web page uniform resource position mark URL of user's current accessed is obtained, and passes through building Virtual Private Network VPN service Process, which obtains, accesses the data on flows packet that the web page generates, wherein the VPN service processes include transmission control protocol TCP agent service module and domain name system DNS proxy service module, the data on flows packet are TCP data packet or DNS data Packet;
The TCP data packet or DNS data packet are parsed, corresponding destination address or domain name are obtained;
Any one in the URL, destination address and domain name is matched with the web page blacklist;
When determine the URL, the destination address and domain name have any one with it is non-in the web page blacklist When method web page address matches, web page access is intercepted.
2. the method as described in claim 1, which is characterized in that the web page URL for obtaining user's current accessed is specifically included:
The browser data library of storage is monitored, the browser data library is used to record the institute that the user uses browser to access There is web page URL;
The web page URL of user's current accessed is obtained from the browser data library.
3. method according to claim 2, which is characterized in that the browser data library for monitoring storage specifically includes:
By calling Android application program programming interface Android API register Content Observer function to monitor The browser data library of storage.
4. the method as described in claim 1, which is characterized in that when determining the URL, the destination address and domain name When thering is any one to match with the illegal web page address in the web page blacklist, to the web page access into Row intercepts, and specifically includes:
When determining that the illegal web page address in the URL and the web page blacklist matches, then by the user The web page of current accessed jumps to blacklist and reminds the page, reminds user's page inaccessible;
When determining that the illegal web page address in the destination address and the web page blacklist matches, then by usurping Change the destination address to intercept the web page of user's current accessed;
When determining that the illegal web page address in domain name and the web page blacklist matches, then by distorting DNS response bag be resolved domain name can not, intercept to the web page of user's current accessed.
5. method as claimed in claim 4, which is characterized in that the web page of user's current accessed is jumped to black name It is single to remind the page, it specifically includes:
It is black by calling Android API start Activity function to jump to the web page of user's current accessed List reminds the page.
6. a kind of web page access interception device characterized by comprising
First acquisition unit, for obtaining web page blacklist, wherein the web page blacklist is preset illegal web The set of web page address;
Second acquisition unit, it is empty for obtaining the web page uniform resource position mark URL of user's current accessed, and by building Quasi- dedicated network VPN service processes, which obtain, accesses the data on flows packet that the web page generates, wherein the VPN service processes Comprising transmission control protocol TCP proxy service module and domain name system DNS proxy service module, the data on flows packet is TCP Data packet or DNS data packet;
Resolution unit obtains corresponding destination address or domain name for parsing the TCP data packet or DNS data packet;
Matching unit, for carrying out any one in the URL, destination address and domain name with the web page blacklist Matching;
Interception unit, for having any one and the web net when the determining URL, the destination address and domain name When illegal web page address in page blacklist matches, web page access is intercepted.
7. device as claimed in claim 6, which is characterized in that
The second acquisition unit, specifically for monitoring the browser data library of storage, the browser data library is for recording All web page URL that the user uses browser to access;The user is obtained from the browser data library currently to visit The web page URL asked.
8. device as claimed in claim 7, which is characterized in that
The second acquisition unit is specifically used for by calling Android application program programming interface Android API register Content Observer function monitors the browser data library of storage.
9. device as claimed in claim 6, which is characterized in that
The interception unit, specifically for when the illegal web page address in the determining URL and the web page blacklist When matching, then the web page of user's current accessed is jumped into blacklist and remind the page, remind user's page can not Access;When determining that the illegal web page address in the destination address and the web page blacklist matches, then pass through The destination address is distorted to intercept the web page of user's current accessed;When determining domain name and the web net When illegal web page address in page blacklist matches, then by distorting DNS response bag domain name can not be solved Analysis, intercepts the web page of user's current accessed.
10. device as claimed in claim 9, which is characterized in that
The interception unit is specifically used for by calling Android API start Activity function that the user is current The web page of access jumps to blacklist and reminds the page.
11. a kind of electronic equipment, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program, which is characterized in that the processor is realized when executing described program such as any one of Claims 1 to 5 institute The web page access interception method stated.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step in web page access interception method as claimed in any one of claims 1 to 5 is realized when execution.
CN201711140318.XA 2017-11-16 2017-11-16 Web page access intercepting method and device Active CN109802919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711140318.XA CN109802919B (en) 2017-11-16 2017-11-16 Web page access intercepting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711140318.XA CN109802919B (en) 2017-11-16 2017-11-16 Web page access intercepting method and device

Publications (2)

Publication Number Publication Date
CN109802919A true CN109802919A (en) 2019-05-24
CN109802919B CN109802919B (en) 2021-06-29

Family

ID=66555767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711140318.XA Active CN109802919B (en) 2017-11-16 2017-11-16 Web page access intercepting method and device

Country Status (1)

Country Link
CN (1) CN109802919B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427302A (en) * 2019-07-29 2019-11-08 努比亚技术有限公司 Trigger method, mobile terminal and the computer readable storage medium of content observer
CN111399966A (en) * 2020-06-03 2020-07-10 广东睿江云计算股份有限公司 Method and system for hiding webpage
CN111429199A (en) * 2020-01-14 2020-07-17 湖北淘大集供应链有限责任公司 Intelligent O2O food material supply chain management system and method
CN113127813A (en) * 2019-12-30 2021-07-16 东软集团(上海)有限公司 J2EE WEB application abnormal access identification and control method, device and storage medium
CN113190838A (en) * 2021-03-29 2021-07-30 贵州电网有限责任公司 Web attack behavior detection method and system based on expression
CN114390108A (en) * 2021-12-07 2022-04-22 新浪网技术(中国)有限公司 Method and system for processing user service request

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338211A (en) * 2013-07-19 2013-10-02 腾讯科技(深圳)有限公司 Malicious URL (unified resource locator) authenticating method and device
CN105635178A (en) * 2016-02-26 2016-06-01 北京奇虎科技有限公司 Blocking network access method and device for ensuring safety
US20160197886A1 (en) * 2015-01-07 2016-07-07 Anchorfree Inc. Secure personal server system and method
CN106055603A (en) * 2016-05-24 2016-10-26 北京奇虎科技有限公司 VPN-based browser access website recommendation method and system, and client
CN106104550A (en) * 2014-03-19 2016-11-09 日本电信电话株式会社 Site information extraction element, system, site information extracting method and site information extraction procedure
CN106095781A (en) * 2016-05-26 2016-11-09 北京小米移动软件有限公司 Malicious websites recognition methods and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338211A (en) * 2013-07-19 2013-10-02 腾讯科技(深圳)有限公司 Malicious URL (unified resource locator) authenticating method and device
CN106104550A (en) * 2014-03-19 2016-11-09 日本电信电话株式会社 Site information extraction element, system, site information extracting method and site information extraction procedure
US20160197886A1 (en) * 2015-01-07 2016-07-07 Anchorfree Inc. Secure personal server system and method
CN105635178A (en) * 2016-02-26 2016-06-01 北京奇虎科技有限公司 Blocking network access method and device for ensuring safety
CN106055603A (en) * 2016-05-24 2016-10-26 北京奇虎科技有限公司 VPN-based browser access website recommendation method and system, and client
CN106095781A (en) * 2016-05-26 2016-11-09 北京小米移动软件有限公司 Malicious websites recognition methods and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427302A (en) * 2019-07-29 2019-11-08 努比亚技术有限公司 Trigger method, mobile terminal and the computer readable storage medium of content observer
CN113127813A (en) * 2019-12-30 2021-07-16 东软集团(上海)有限公司 J2EE WEB application abnormal access identification and control method, device and storage medium
CN111429199A (en) * 2020-01-14 2020-07-17 湖北淘大集供应链有限责任公司 Intelligent O2O food material supply chain management system and method
CN111399966A (en) * 2020-06-03 2020-07-10 广东睿江云计算股份有限公司 Method and system for hiding webpage
CN111399966B (en) * 2020-06-03 2020-09-18 广东睿江云计算股份有限公司 Method and system for hiding webpage
CN113190838A (en) * 2021-03-29 2021-07-30 贵州电网有限责任公司 Web attack behavior detection method and system based on expression
CN114390108A (en) * 2021-12-07 2022-04-22 新浪网技术(中国)有限公司 Method and system for processing user service request
CN114390108B (en) * 2021-12-07 2024-03-12 新浪技术(中国)有限公司 Method and system for processing user service request

Also Published As

Publication number Publication date
CN109802919B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN109802919A (en) A kind of web page access interception method and device
CN103607385B (en) Method and apparatus for security detection based on browser
JP7434342B2 (en) Container builder for personalized network services
CN103986735B (en) CDN (content distribution network) antitheft system and antitheft method
CN104735066B (en) A kind of single-point logging method of object web page application, device and system
WO2017129016A1 (en) Resource access method, apparatus and system
CN106095869A (en) Advertisement information processing method, subscriber equipment, background server and system
CN111885123B (en) Construction method and device of cross-K8 s target service access channel
CN107528865B (en) File downloading method and system
CN104506525B (en) Prevent the method and protective device that malice captures
CN109818937A (en) For the control method of Android permission, device and storage medium, electronic device
CN108259425A (en) The determining method, apparatus and server of query-attack
CN109491758A (en) Docker mirror image distribution method, system, data gateway and computer readable storage medium
CN106412975B (en) A kind of test method and device of content charging loophole
CN109067930A (en) Domain name cut-in method, domain name analytic method, server, terminal and storage medium
CN109376133A (en) File access method and file access system
EP4109861A1 (en) Data processing method, apparatus, computer device, and storage medium
CN102752300A (en) Dynamic antitheft link system and dynamic antitheft link method
Schomp et al. Towards a model of DNS client behavior
CN108243079A (en) A kind of method and apparatus that network access is carried out based on VPC
US9692909B2 (en) Techniques for zero rating through web reconstruction
US10931688B2 (en) Malicious website discovery using web analytics identifiers
CN108429785A (en) A kind of generation method, reptile recognition methods and the device of reptile identification encryption string
CN110348225A (en) Method and apparatus are determined for the security breaches of application programming interfaces
CN109660552A (en) A kind of Web defence method combining address jump and WAF technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant