CN109302387A - A kind of domain name screen method, equipment and storage medium based on wireless connection - Google Patents

A kind of domain name screen method, equipment and storage medium based on wireless connection Download PDF

Info

Publication number
CN109302387A
CN109302387A CN201811083511.9A CN201811083511A CN109302387A CN 109302387 A CN109302387 A CN 109302387A CN 201811083511 A CN201811083511 A CN 201811083511A CN 109302387 A CN109302387 A CN 109302387A
Authority
CN
China
Prior art keywords
information
hotspot
shielded
hot spot
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
CN201811083511.9A
Other languages
Chinese (zh)
Other versions
CN109302387B (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201811083511.9A priority Critical patent/CN109302387B/en
Publication of CN109302387A publication Critical patent/CN109302387A/en
Application granted granted Critical
Publication of CN109302387B publication Critical patent/CN109302387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

The invention discloses a kind of domain name screen method, equipment and storage medium based on wireless connection, belongs to wireless communication technology field.The described method includes: equipment sends hotspot connection request to router, hotspot connection request includes the access information and corresponding domain-name information to be shielded of Target Wireless hot spot;Equipment linking objective hotspot, and corresponding domain-name information to be shielded is added in system domain name shielding file;Equipment shows the hotspot successful connection information that domain name has shielded.In the present invention, by when connecting hotspot, shielding corresponding domain name and the corresponding network address of domain name, so that user is during online from the influence of advertisement, other webpage informations etc., online experience is improved, while effectively having ensured the health online of child.

Description

A kind of domain name screen method, equipment and storage medium based on wireless connection
Technical field
The present invention relates to wireless communication technology field more particularly to a kind of domain name screen method based on wireless connection, set Standby and storage medium.
Background technique
In today of Internet technology fast development, people are more and more obvious the dependence of the mobile devices such as mobile phone, people News, office, shopping, object for appreciation game etc. are browsed by mobile device, brings many conveniences for people's lives.However, It during people browse webpage, can usually find to show the contents such as numerous advertisements, other webpage informations in the page, allow human eye Spend it is confused, generate dislike, reduce online experience;For child, it is easy to the advertisement of page presentation, other The contents such as webpage information log in some objectionable websites, add worry to parents.
Summary of the invention
To solve the deficiencies in the prior art, the present invention provide a kind of domain name screen method based on wireless connection, equipment and Storage medium.
In a first aspect, the present invention provides a kind of domain name screen method based on wireless connection for equipment end, comprising:
Hotspot connection request is sent to router, the hotspot connection request includes connecing for Target Wireless hot spot Enter information and corresponding domain-name information to be shielded;
The Target Wireless hot spot is connected, and corresponding domain-name information to be shielded is added to system domain name shielding file In;
The hotspot successful connection information that display domain name has shielded.
Optionally, before the transmission hotspot connection request is to router, further includes:
Hotspot information inquiring request is sent to server and the synchronous corresponding domain name to be shielded of hotspot that obtains is believed Breath, the hotspot information inquiring request includes the identification information of each hotspot scanned;
Receive the hotspot information and corresponding domain-name information to be shielded that the server returns, wherein described wireless Hot information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information.
Optionally, it is described receive hotspot information that the server returns and corresponding domain-name information to be shielded it Afterwards, further includes:
In the hotspot for thering is hotspot to can access prompt information and/or hotspot connection authorization prompt information really Set the goal hotspot;
The access information acquisition request that the Target Wireless hot spot is sent to server receives connecing for the server return Enter information.
Optionally, before the transmission hotspot connection request is to router, further includes:
Hotspot information inquiring request is sent to server, receives the hotspot information that the server returns;Institute State the identification information that hotspot information inquiring request includes each hotspot scanned;
When the hotspot packet contains accessible prompt information, determine have the target of accessible prompt information without Line hot spot;
It is instructed in response to linking objective hotspot, the access information for sending the Target Wireless hot spot to server obtains It requests and synchronizes to obtain the corresponding domain-name information to be shielded of the Target Wireless hot spot, receive the access letter that the server returns Breath and corresponding domain-name information to be shielded;
When the hotspot packet contains connection authorization prompt information, determining has the mesh of connection authorization prompt information Mark hotspot;
It is instructed in response to linking objective hotspot, the connection certification request of the Target Wireless hot spot is sent to server And synchronize and obtain the corresponding domain-name information to be shielded of the Target Wireless hot spot, receive the connection certification letter that the server returns Breath and corresponding domain-name information to be shielded;
When the hotspot packet contains open hot cue information, determining has the mesh of open hot cue information Mark hotspot;
It is instructed in response to linking objective hotspot, it is corresponding wait shield to send the acquisition Target Wireless hot spot to server Domain-name information request is covered, the domain-name information to be shielded that the server returns is received.
It is optionally, described that corresponding domain-name information to be shielded is added in system domain name shielding file, comprising:
Corresponding domain name to be shielded and the corresponding network address of the domain name to be shielded are added to by lookup system master file In the system master file;
Alternatively, HTTP Proxy configuration file is searched, by corresponding domain name to be shielded and the corresponding net of the domain name to be shielded Network address is added in the HTTP Proxy configuration file;
Alternatively, dns server configuration file is searched, by corresponding domain name to be shielded and the corresponding net of the domain name to be shielded Network address is added in the dns server configuration file.
Second aspect, the present invention propose a kind of domain name screen method based on wireless connection for server end, comprising:
The corresponding domain-name information to be shielded of hotspot information inquiring request and hotspot from equipment is received to obtain Request, the hotspot information inquiring request includes the identification information of the hotspot scanned;Wherein, it comes from and sets in reception It can be synchronized when standby hotspot information inquiring request and receive the corresponding domain name letter to be shielded of hotspot from equipment end Cease acquisition request;
According to the identification information of the hotspot, the hotspot information of corresponding hotspot and corresponding wait shield is searched Cover domain-name information;
The hotspot information found and corresponding domain-name information to be shielded are returned into the equipment, wherein described Hotspot information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information.
Optionally, the method also includes:
The presence or absence of receiving device transmission line hot spot can access prompt information or have hotspot connection authorization prompt information The access information acquisition request of the access information acquisition request of Target Wireless hot spot, the Target Wireless hot spot includes Target Wireless The identification information of hot spot;
It wherein, can be with synchronous receiving equipment when the access information acquisition request of the Target Wireless hot spot sent in receiving device The corresponding domain-name information acquisition request to be shielded of the Target Wireless hot spot sent eventually;
According to the identification information of the Target Wireless hot spot, the access information of Target Wireless hot spot and corresponding wait shield is searched Cover domain-name information;
The access information of the Target Wireless hot spot found and corresponding domain-name information to be shielded are returned into the equipment.
The third aspect, the present invention propose a kind of domain name screen method based on wireless connection, comprising:
Equipment sends the access information acquisition request of Target Wireless hot spot and synchronize to server sends Target Wireless hot spot Corresponding domain-name information acquisition request to be shielded, the Target Wireless hot information inquiry request include the mark of Target Wireless hot spot Know information;
The server receives the access information acquisition request and Target Wireless for the Target Wireless hot spot that the equipment is sent The corresponding domain-name information acquisition request to be shielded of hot spot;
The server according to the identification information of the Target Wireless hot spot, search Target Wireless hot spot access information and Corresponding domain-name information to be shielded;
The server returns to the access information of the Target Wireless hot spot found and corresponding domain-name information to be shielded To the equipment;
The equipment sends hotspot connection request to router, and the hotspot connection request includes Target Wireless The access information of hot spot and corresponding domain-name information to be shielded;
The equipment connects the Target Wireless hot spot, and corresponding domain-name information to be shielded is added to system domain name screen It covers in file;
The equipment shows the hotspot successful connection information that domain name has shielded.
Fourth aspect, the present invention propose a kind of domain name screen method based on wireless connection, comprising:
Equipment sends hotspot information inquiring request and the corresponding domain to be shielded of synchronous transmission hotspot to server Name information acquisition request, the hotspot information inquiring request includes the identification information of each hotspot scanned;
Hotspot information inquiring request and hotspot of the server reception from equipment correspond to domain name to be shielded Information acquisition request;
The server according to the identification information of each hotspot, search each hotspot hotspot information and Corresponding domain-name information to be shielded;
The hotspot information found and corresponding domain-name information to be shielded are returned to the equipment by the server, Wherein, the hotspot information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information;
The equipment receives the hotspot information and corresponding domain-name information to be shielded that the server returns;
The equipment is having hotspot to can access prompt information and/or is having the nothing of hotspot connection authorization prompt information Target Wireless hot spot is determined in line hot spot;
The equipment sends the access information acquisition request of Target Wireless hot spot, the Target Wireless heat to the server The access information acquisition request of point includes the identification information of Target Wireless hot spot;
The server receives the access information acquisition request for the Target Wireless hot spot that the equipment is sent;
The server searches the access information of Target Wireless hot spot according to the identification information of the Target Wireless hot spot;
The access information of the Target Wireless hot spot found is returned to the equipment by the server;
The equipment sends hotspot connection request to router, and the hotspot connection request includes Target Wireless The access information of hot spot and corresponding domain-name information to be shielded;
The equipment connects the Target Wireless hot spot, and corresponding domain-name information to be shielded is added to system domain name screen It covers in file;
The equipment shows the hotspot successful connection information that domain name has shielded.
5th aspect, the present invention propose a kind of advertisement shielding device based on wireless connection, comprising:
One or more processors store the storage device of one or more programs;
When one or more of programs are executed by one or more of processors, one or more of processors are real Method as described in now as any to fourth aspect such as the first aspect of the present invention.
6th aspect, the present invention propose a kind of computer readable storage medium, are stored thereon with computer program, the meter When calculation machine program is executed by processor, realize the first aspect of the present invention to fourth aspect it is any as described in method.
The present invention has the advantages that
In the present invention, by shielding corresponding domain name and the corresponding network address of domain name when user connects hotspot, So that user is after being wirelessly connected successfully, browsing webpage, during playing the online such as game, the page no longer show advertisement, other The contents such as webpage information are promoted to ensure that user is not influenced during online by advertisement and other webpage informations etc. The online experience of user;For child, it can effectively be avoided to log in objectionable website, ensure that child's is strong Health online, effectively avoids the worry of parent.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Attached drawing 1 is a kind of domain name screen method flow chart based on wireless connection for equipment end provided by the invention;
Attached drawing 2 is a kind of domain name screen method process based on wireless connection for server end provided by the invention Figure;
Attached drawing 3 is a kind of domain name screen method flow chart based on wireless connection provided by the invention;
Attached drawing 4 is another domain name screen method flow chart based on wireless connection provided by the invention;
Attached drawing 5 is a kind of domain name shielding harness block diagram based on wireless connection provided by the invention.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this public affairs in attached drawing The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here The mode of applying is limited.It is to be able to thoroughly understand the disclosure on the contrary, providing these embodiments, and can be by this public affairs The range opened is fully disclosed to those skilled in the art.
Embodiment according to the present invention provides a kind of domain name screen method based on wireless connection for equipment end, As shown in Figure 1, comprising:
Step 101: sending hotspot connection request to router, the hotspot connection request includes Target Wireless The access information of hot spot and corresponding domain-name information to be shielded;
Optionally, before step 101 further include:
Step A1: hotspot information inquiring request is sent to server and synchronous acquisition hotspot is corresponding to be shielded Domain-name information, hotspot information inquiring request include the identification information of each hotspot scanned;
Wherein, identification information specifically: hotspot name and/or SSID (Service Set Identifier, services set mark Know) and/or BSSID (Basic Service Set Identifier, basic service set identifier).
Step A2: the hotspot information and corresponding domain-name information to be shielded that server returns are received, wherein wireless heat Point information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information.Wherein, hotspot can Accessing prompt information is specially to input the prompt information of connection password, and it is specially the company of certification that hotspot, which connects authorization prompt information, Connect the prompt information of password.
Embodiment according to the present invention, after step A2, further includes:
Step B1: there is hotspot to can access prompt information and/or having the nothing of hotspot connection authorization prompt information Target Wireless hot spot is determined in line hot spot;
Step B2: sending the access information acquisition request of Target Wireless hot spot to server, receives connecing for server return Enter information.
It wherein, include the identification information of Target Wireless hot spot in the access information acquisition request of Target Wireless hot spot;Target The access information of hotspot is specially the connection password of Target Wireless hot spot.
Optionally, before step 101 further include:
Hotspot information inquiring request is sent to server, receives the hotspot information that server returns;Wireless heat Point information inquiring request includes the identification information of each hotspot scanned;
When the hotspot packet received contains accessible prompt information, determining has the mesh of accessible prompt information Mark hotspot;
It is instructed in response to linking objective hotspot, the access information acquisition request of Target Wireless hot spot is sent to server And it is synchronous obtain the corresponding domain-name information to be shielded of Target Wireless hot spot, receive access information that server returns and it is corresponding to Shield domain-name information;
When the hotspot packet received contains connection authorization prompt information, determining has connection authorization prompt information Target Wireless hot spot;
It is instructed in response to linking objective hotspot, sends the connection certification request of Target Wireless hot spot and same to server Step obtains the corresponding domain-name information to be shielded of Target Wireless hot spot, receive connection authentication information that server returns and it is corresponding to Shield domain-name information;
When the hotspot packet received contains open hot cue information, determination has open hot cue information Target Wireless hot spot;
It is instructed in response to linking objective hotspot, is sent to server and obtain the corresponding domain to be shielded of Target Wireless hot spot Name information request receives the domain-name information to be shielded that server returns.
That is, equipment can obtain each nothing in the hotspot information for each hotspot that inquiry scan arrives in the present invention The corresponding domain-name information to be shielded of line hot spot;Can also for obtain Target Wireless hot spot access information when, obtain target without The corresponding domain-name information to be shielded of line hot spot;Wherein, domain-name information to be shielded includes that domain name to be shielded and domain name to be shielded are corresponding Network address.
Further, in the present invention, Target Wireless hot spot can be selection from the user, i.e. equipment display scanning is arrived Each hotspot identification information to user, and receive user selection identification information;It can also voluntarily be determined for equipment, i.e., Equipment selection target hotspot in each hotspot scanned.
Further, in the present invention, when router receives radio connection request, judge the wireless connection received Whether the access information contained in request is correct, and when being judged as YES, and saves the domain to be shielded contained in radio connection request Name information, returns response data to equipment;
It is corresponding, in step 101, after sending radio connection request to router, further includes: what receiving router returned Response data.
Step 102: linking objective hotspot, and corresponding domain-name information to be shielded is added to system domain name shielding text In part;
Wherein, linking objective connects hotspot, comprising: mentions when the hotspot packet received contains open hot spot When showing information, i.e., when Target Wireless hot spot is open hot spot, it is directly connected to Target Wireless hot spot;When the hotspot letter received When breath includes that hotspot can access prompt information and/or hotspot connection authorization prompt information, i.e. Target Wireless hot spot is When non-open hot spot, according to the access information linking objective hotspot of acquisition.
Corresponding domain-name information to be shielded is added in system domain name shielding file by embodiment according to the present invention, Include:
Corresponding domain name to be shielded and the corresponding network address of domain name to be shielded are added to lookup by lookup system master file To system master file in;
Alternatively, searching HTTP Proxy configuration file, by corresponding domain name to be shielded and the corresponding network of domain name to be shielded Location is added in the HTTP Proxy configuration file found;
Alternatively, searching dns server configuration file, by corresponding domain name to be shielded and the corresponding network of domain name to be shielded Location is added in the dns server configuration file found.
Wherein, system master file is specially Host file.
In the present invention, by when connecting hotspot, shielding the corresponding domain name of hotspot and the corresponding network of domain name Address, so that user, after being wirelessly connected successfully, during the online such as browsing webpage, object for appreciation game, the page is no longer shown accordingly The contents such as advertisement, webpage information, to ensure that user is not influenced during online by advertisement and other webpage informations, Improve the online experience of user;For child, it can effectively avoid it from logging in objectionable website, ensure child Health online, effectively avoid the worry of parent.
Step 103: the hotspot successful connection information that display domain name has shielded.
A kind of embodiment according to the present invention, it is also proposed that domain name shield side based on wireless connection for server end Method, as shown in Figure 2, comprising:
Step 201: receiving hotspot information inquiring request and the corresponding domain name to be shielded of hotspot from equipment Information acquisition request, hotspot information inquiring request include the identification information of the hotspot scanned;
Wherein, it can be synchronized when receiving the hotspot information inquiring request from equipment and receive the nothing from equipment end The corresponding domain-name information acquisition request to be shielded of line hot spot;
Step 202: according to the identification information of hotspot, searching the hotspot information of corresponding hotspot and corresponding Domain-name information to be shielded.
Wherein, domain-name information to be shielded includes: domain name to be shielded and the corresponding network address of domain name to be shielded.
Step 203: the hotspot information found and corresponding domain-name information to be shielded are returned into equipment, wherein Hotspot information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information.
Embodiment according to the present invention, this method further include:
The presence or absence of receiving device transmission line hot spot can access prompt information or have hotspot connection authorization prompt information The access information acquisition request of Target Wireless hot spot, the access information acquisition request of Target Wireless hot spot include Target Wireless hot spot Identification information;
It wherein, can be with synchronous receiving equipment when the access information acquisition request of the Target Wireless hot spot sent in receiving device The corresponding domain-name information acquisition request to be shielded of the Target Wireless hot spot sent eventually;
According to the identification information of Target Wireless hot spot, the access information of lookup Target Wireless hot spot and corresponding domain to be shielded Name information;
The access information of the Target Wireless hot spot found and corresponding domain-name information to be shielded are returned into equipment.
Embodiment according to the present invention, it is also proposed that a kind of domain name screen method based on wireless connection, as shown in figure 3, Include:
Step 301: equipment sends the access information acquisition request of Target Wireless hot spot and synchronize to server sends target The corresponding domain-name information acquisition request to be shielded of hotspot, Target Wireless hot information inquiry request includes Target Wireless hot spot Identification information;
For example, Target Wireless hot information inquiry request includes the hotspot name wifi03 of Target Wireless hot spot.
Step 302: the access information acquisition request and Target Wireless for the Target Wireless hot spot that server receiving device is sent The corresponding domain-name information acquisition request to be shielded of hot spot;
Step 303: server searches connecing for Target Wireless hot spot according to the identification information of the Target Wireless hot spot received Enter information and corresponding domain-name information to be shielded;
For example, server is according to the connection password that the hotspot name wifi03 received finds Target Wireless hot spot 123456, corresponding domain-name information to be shielded includes: domain name 12345-abc.com to be shielded, domain name 12345- to be shielded The corresponding network address 129.45.255.255 of abc.com.
Step 304: server is by the access information of the Target Wireless hot spot found and corresponding domain-name information to be shielded Return to equipment;
Step 305: equipment sends hotspot connection request to router, and hotspot connection request includes Target Wireless The access information of hot spot and corresponding domain-name information to be shielded;
For example, hotspot connection request includes: the hotspot name wifi03 of target hot spot, connection password 123456, to Shield domain name 12345-abc.com, the corresponding network address 129.45.255.255 of domain name 12345-abc.com to be shielded.
Step 306: equipment linking objective hotspot, and corresponding domain-name information to be shielded is added to system domain name screen It covers in file;
Specifically, it is the corresponding Target Wireless hot spot of wifi03 that equipment, which connects hotspot name according to connection password 123456, And it will be in domain name 12345-abc.com to be shielded and corresponding network address 129.45.255.255 write-in Host file.
Step 307: equipment shows the hotspot successful connection information that domain name has shielded.
Embodiment according to the present invention, it is also proposed that a kind of domain name screen method based on wireless connection, as shown in figure 4, Include:
Step 401: equipment sends hotspot information inquiring request to server and synchronous transmission hotspot is corresponding Domain-name information acquisition request to be shielded, hotspot information inquiring request include the identification information of each hotspot scanned;
For example, hotspot information inquiring request include each hotspot scanned hotspot name wifi01, Wifi02, wifi03's, using the corresponding hotspot of hotspot name wifi03 as hotspot to be connected, generation contains hot spot The acquisition domain name request of title wifi03 and cipher inquiry information is simultaneously sent to server.
Step 402: hotspot information inquiring request and hotspot of the server reception from equipment correspond to be shielded Domain-name information acquisition request;
Step 403: server according to the identification information of each hotspot, search each hotspot hotspot information and Corresponding domain-name information to be shielded;
For example, it is to have hotspot can access to mention that server, which finds the corresponding hotspot information of hotspot name wifi01, Show information, corresponding domain-name information to be shielded includes domain name 1234-abcd.com to be shielded, and corresponding network address is 139.45.255.256;The corresponding hotspot information of hotspot name wifi02 is to have hotspot to can access prompt information, right The domain-name information to be shielded answered includes domain name 123-abcde.com to be shielded, and corresponding network address is 129.255.255.256;The corresponding hotspot information of hotspot name wifi03 is to have hotspot to can access prompt information, right The domain-name information to be shielded answered includes domain name 12345-abc.com to be shielded, and corresponding network address is 129.45.255.255.
Step 404: the hotspot information found and corresponding domain-name information to be shielded are returned to equipment by server, Hotspot information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information;
For example, server, that is, above-mentioned information found returns to equipment.
Step 405: equipment receives the hotspot information and corresponding domain-name information to be shielded that server returns;
Step 406: equipment is having hotspot to can access prompt information and/or is having hotspot to connect authorization prompt information Hotspot in determine Target Wireless hot spot;
For example, equipment determines that the corresponding hotspot of hotspot name wifi03 is Target Wireless hot spot.
Step 407: equipment sends the access information acquisition request of Target Wireless hot spot to server, Target Wireless hot spot Access information acquisition request includes the identification information of Target Wireless hot spot;
For example, the access information acquisition request of Target Wireless hot spot includes the hotspot name wifi03 of Target Wireless hot spot.
Step 408: the access information acquisition request for the Target Wireless hot spot that server receiving device is sent;
Step 409: server searches the access information of Target Wireless hot spot according to the identification information of Target Wireless hot spot;
For example, it is 123456 that server, which finds corresponding connection password according to the hotspot name wifi03 received,.
Step 410: the access information of the Target Wireless hot spot found is returned to equipment by server;
Step 411: equipment sends hotspot connection request to router, and hotspot connection request includes Target Wireless The access information of hot spot and corresponding domain-name information to be shielded;
For example, hotspot connection request includes the hotspot name wifi03 of Target Wireless hot spot, connection password 123456, The corresponding network address 129.45.255.255 of domain name 12345-abc.com to be shielded, domain name 12345-abc.com to be shielded.
Step 412: equipment linking objective hotspot, and corresponding domain-name information to be shielded is added to system domain name screen It covers in file;
Specifically, it is the corresponding Target Wireless hot spot of wifi03 that equipment, which connects hotspot name according to connection password 123456, And it will be in domain name 12345-abc.com to be shielded and corresponding network address 129.45.255.255 write-in Host file.
Step 413: equipment shows the hotspot successful connection information that domain name has shielded.
Embodiment according to the present invention, it is also proposed that a kind of domain name shielding harness based on wireless connection, as shown in figure 5, It include: equipment and server;
Wherein, equipment includes:
First sending module, for sending hotspot connection request to router, hotspot connection request includes mesh Mark the access information and corresponding domain-name information to be shielded of hotspot
Link block is used for linking objective hotspot;
Shroud module, the corresponding domain-name information to be shielded of Target Wireless hot spot for connecting link block, which is added to, is In domain name of uniting shielding file;
Display module, the successful connection information shielded for showing domain name;
Server includes:
First receiving module, for receive hotspot information inquiring request from equipment and hotspot it is corresponding to Domain-name information acquisition request is shielded, hotspot information inquiring request includes the identification information of the hotspot scanned;Wherein, It is corresponding that hotspot of the reception from equipment end can be synchronized when receiving the hotspot information inquiring request from equipment Domain-name information acquisition request to be shielded;
Searching module, the identification information of the hotspot for being received according to the first receiving module are searched corresponding wireless The hotspot information of hot spot and corresponding domain-name information to be shielded;
Second sending module, hotspot information and corresponding domain-name information to be shielded for finding searching module Return to equipment.
Embodiment according to the present invention, equipment further include: scan module;
Scan module, for the hotspot around scanning.
Optionally, equipment further include: third sending module, the second receiving module and the first determining module;
Third sending module, for sending hotspot information inquiring request and synchronous acquisition hotspot pair to server The domain-name information to be shielded answered, hotspot information inquiring request include the mark letter for each hotspot that scan module scans Breath;
Second receiving module, for receiving the hotspot information and corresponding domain-name information to be shielded that server returns, Wherein, hotspot information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information;
First determining module, for thering is hotspot to can access prompt information and/or thering is hotspot connection certification to mention Show and determines Target Wireless hot spot in the hotspot of information;
Third sending module is also used to send the access information acquisition request of Target Wireless hot spot to server;
Second receiving module is also used to receive the access information of server return.
Optionally, equipment further include: the 4th sending module and third receiving module;
4th sending module, for sending hotspot information inquiring request to server, wherein hotspot information is looked into Ask the identification information that request includes each hotspot that scan module scans;
Third receiving module, for receiving the hotspot information of server return;
When the hotspot packet that third receiving module receives contains accessible prompt information, equipment further include: Second determining module;
Second determining module, for determining the Target Wireless hot spot for having accessible prompt information;
Corresponding, the 4th sending module is also used to: the access information acquisition request of Target Wireless hot spot is sent to server And it synchronizes and obtains the corresponding domain-name information to be shielded of Target Wireless hot spot;
Corresponding, third receiving module is also used to: receiving the access information and corresponding domain name to be shielded that server returns Information;
When the hotspot packet that third receiving module receives contains connection authorization prompt information, which is also wrapped It includes: third determining module;
Third determining module, for determining the Target Wireless hot spot for having connection authorization prompt information;
Corresponding, the 4th sending module is also used to send connection certification request and the synchronization of Target Wireless hot spot to server Obtain the corresponding domain-name information to be shielded of Target Wireless hot spot;
Corresponding, third receiving module is also used to receive the connection authentication information and corresponding domain to be shielded that server returns Name information;
When the hotspot packet that third receiving module receives contains open hot cue information, equipment is also wrapped It includes: the 4th determining module;
4th determining module, for determining the Target Wireless hot spot for having open hot cue information;
Corresponding, the 4th sending module is also used to: it is corresponding wait shield to send the acquisition Target Wireless hot spot to server Cover domain-name information request;
Third sending module is also used to receive the domain-name information to be shielded of server return.
Embodiment according to the present invention, shroud module are specifically used for:
Lookup system master file, the corresponding domain name to be shielded of the Target Wireless hot spot of connection and domain name to be shielded is corresponding Network address is added in system master file;
Alternatively, HTTP Proxy configuration file is searched, by the corresponding domain name to be shielded of the Target Wireless hot spot of connection and wait shield The corresponding network address of domain name is covered to be added in HTTP Proxy configuration file;
Alternatively, dns server configuration file is searched, by the corresponding domain name to be shielded of the Target Wireless hot spot of connection and wait shield The corresponding network address of domain name is covered to be added in dns server configuration file.
Embodiment according to the present invention, the first receiving module are also used to: the presence or absence of receiving device is sent line hot spot can connect Enter prompt information or have hotspot connection authorization prompt information Target Wireless hot spot access information acquisition request, target without The access information acquisition request of line hot spot includes the identification information of Target Wireless hot spot;Wherein, the target sent in receiving device It can be corresponding to be shielded with Target Wireless hot spot that synchronous receiving equipment is sent eventually when the access information acquisition request of hotspot Domain-name information acquisition request;
Corresponding, searching module is also used to: according to the identification information of Target Wireless hot spot, searching connecing for Target Wireless hot spot Enter information and corresponding domain-name information to be shielded;
Corresponding, the second sending module is also used to: the access information for the Target Wireless hot spot that searching module is found and Corresponding domain-name information to be shielded returns to equipment.
Embodiment according to the present invention also provides a kind of domain name shielding device based on wireless connection, comprising:
One or more processors store the storage device of one or more programs;One or more of programs are by institute When stating one or more processors execution, one or more of processors are realized as described above based on the domain name of wireless connection The step of screen method.
Embodiment according to the present invention also provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence realizes domain name screen method based on wireless connection as described above when the computer program is executed by processor Step.
In the present invention, by when connecting hotspot, shielding corresponding domain name network address corresponding with domain name, so that User is after being wirelessly connected successfully, and during the online such as browsing webpage, object for appreciation game, the page no longer shows advertisement, other webpages The contents such as information improve use to ensure that user is not influenced during online by advertisement and other webpage informations etc. The online experience at family;For child, it can effectively avoid it from logging in objectionable website, ensure in the health of child Net effectively avoids the worry of parent.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art, It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of the claim Subject to enclosing.

Claims (11)

1. a kind of domain name screen method based on wireless connection for equipment end characterized by comprising
Hotspot connection request is sent to router, the hotspot connection request includes the access letter of Target Wireless hot spot Breath and corresponding domain-name information to be shielded;
The Target Wireless hot spot is connected, and corresponding domain-name information to be shielded is added in system domain name shielding file;
The hotspot successful connection information that display domain name has shielded.
2. the method according to claim 1, wherein the transmission hotspot connection request to router it Before, further includes:
Hotspot information inquiring request and the corresponding domain-name information to be shielded of synchronous acquisition hotspot, institute are sent to server State the identification information that hotspot information inquiring request includes each hotspot scanned;
Receive the hotspot information and corresponding domain-name information to be shielded that the server returns, wherein the hotspot Information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information.
3. according to the method described in claim 2, it is characterized in that, the hotspot information for receiving the server and returning And after corresponding domain-name information to be shielded, further includes:
It is determined in the hotspot for thering is hotspot to can access prompt information and/or having hotspot connection authorization prompt information Target Wireless hot spot;
The access information acquisition request that the Target Wireless hot spot is sent to server receives the access letter that the server returns Breath.
4. the method according to claim 1, wherein the transmission hotspot connection request to router it Before, further includes:
Hotspot information inquiring request is sent to server, receives the hotspot information that the server returns;The nothing Line hot information inquiry request includes the identification information of each hotspot scanned;
When the hotspot packet contains accessible prompt information, determining has the Target Wireless heat of accessible prompt information Point;
It is instructed in response to linking objective hotspot, the access information acquisition request of the Target Wireless hot spot is sent to server And it is synchronous obtain the corresponding domain-name information to be shielded of the Target Wireless hot spot, receive access information that the server returns and Corresponding domain-name information to be shielded;
When the hotspot packet contain connection authorization prompt information when, determine have connection authorization prompt information target without Line hot spot;
It is instructed in response to linking objective hotspot, sends the connection certification request of the Target Wireless hot spot and same to server Step obtains the corresponding domain-name information to be shielded of the Target Wireless hot spot, receive connection authentication information that the server returns and Corresponding domain-name information to be shielded;
When the hotspot packet contains open hot cue information, determine have the target of open hot cue information without Line hot spot;
It is instructed in response to linking objective hotspot, is sent to server and obtain the corresponding domain to be shielded of the Target Wireless hot spot Name information request receives the domain-name information to be shielded that the server returns.
5. the method according to claim 1, wherein described be added to system for corresponding domain-name information to be shielded Domain name shields in file, comprising:
Corresponding domain name to be shielded and the corresponding network address of the domain name to be shielded are added to described by lookup system master file In system master file;
Alternatively, searching HTTP Proxy configuration file, by corresponding domain name to be shielded and the corresponding network of the domain name to be shielded Location is added in the HTTP Proxy configuration file;
Alternatively, searching dns server configuration file, by corresponding domain name to be shielded and the corresponding network of the domain name to be shielded Location is added in the dns server configuration file.
6. a kind of domain name screen method based on wireless connection for server end characterized by comprising
Hotspot information inquiring request and the corresponding domain-name information acquisition request to be shielded of hotspot from equipment are received, The hotspot information inquiring request includes the identification information of the hotspot scanned;Wherein, it is receiving from equipment Hotspot corresponding to be shielded domain-name information of the reception from equipment end can be synchronized when hotspot information inquiring request to obtain Take request;
According to the identification information of the hotspot, the hotspot information for corresponding to hotspot and corresponding domain to be shielded are searched Name information;
The hotspot information found and corresponding domain-name information to be shielded are returned into the equipment, wherein described wireless Hot information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
The presence or absence of receiving device transmission line hot spot can access prompt information or have the target of hotspot connection authorization prompt information The access information acquisition request of hotspot, the access information acquisition request of the Target Wireless hot spot include Target Wireless hot spot Identification information;
Wherein, it can be sent out eventually with synchronous receiving equipment when the access information acquisition request of the Target Wireless hot spot sent in receiving device The corresponding domain-name information acquisition request to be shielded of the Target Wireless hot spot sent;
According to the identification information of the Target Wireless hot spot, the access information of lookup Target Wireless hot spot and corresponding domain to be shielded Name information;
The access information of the Target Wireless hot spot found and corresponding domain-name information to be shielded are returned into the equipment.
8. a kind of domain name screen method based on wireless connection characterized by comprising
Equipment sends the access information acquisition request of Target Wireless hot spot to server and the synchronous Target Wireless hot spot that sends corresponds to Domain-name information acquisition request to be shielded, the Target Wireless hot information inquiry request include Target Wireless hot spot mark letter Breath;
The server receives the access information acquisition request and Target Wireless hot spot for the Target Wireless hot spot that the equipment is sent Corresponding domain-name information acquisition request to be shielded;
The server searches the access information and correspondence of Target Wireless hot spot according to the identification information of the Target Wireless hot spot Domain-name information to be shielded;
The access information of the Target Wireless hot spot found and corresponding domain-name information to be shielded are returned to institute by the server State equipment;
The equipment sends hotspot connection request to router, and the hotspot connection request includes Target Wireless hot spot Access information and corresponding domain-name information to be shielded;
The equipment connects the Target Wireless hot spot, and corresponding domain-name information to be shielded is added to system domain name shielding text In part;
The equipment shows the hotspot successful connection information that domain name has shielded.
9. a kind of domain name screen method based on wireless connection characterized by comprising
Equipment sends hotspot information inquiring request to server and the synchronous corresponding domain name to be shielded of hotspot that sends is believed Acquisition request is ceased, the hotspot information inquiring request includes the identification information of each hotspot scanned;
Hotspot information inquiring request and hotspot of the server reception from equipment correspond to domain-name information to be shielded Acquisition request;
The server searches the hotspot information and correspondence of each hotspot according to the identification information of each hotspot Domain-name information to be shielded;
The hotspot information found and corresponding domain-name information to be shielded are returned to the equipment by the server, In, the hotspot information includes that hotspot can access prompt information and/or hotspot connection authorization prompt information;
The equipment receives the hotspot information and corresponding domain-name information to be shielded that the server returns;
The equipment is having hotspot to can access prompt information and/or is having the wireless heat of hotspot connection authorization prompt information Target Wireless hot spot is determined in point;
The equipment sends the access information acquisition request of Target Wireless hot spot to the server, the Target Wireless hot spot Access information acquisition request includes the identification information of Target Wireless hot spot;
The server receives the access information acquisition request for the Target Wireless hot spot that the equipment is sent;
The server searches the access information of Target Wireless hot spot according to the identification information of the Target Wireless hot spot;
The access information of the Target Wireless hot spot found is returned to the equipment by the server;
The equipment sends hotspot connection request to router, and the hotspot connection request includes Target Wireless hot spot Access information and corresponding domain-name information to be shielded;
The equipment connects the Target Wireless hot spot, and corresponding domain-name information to be shielded is added to system domain name shielding text In part;
The equipment shows the hotspot successful connection information that domain name has shielded.
10. a kind of advertisement shielding device based on wireless connection characterized by comprising
One or more processors store the storage device of one or more programs;
When one or more of programs are executed by one or more of processors, one or more of processors are realized such as Method as claimed in claim 1 to 7.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, method as claimed in claim 1 is realized.
CN201811083511.9A 2018-09-17 2018-09-17 Domain name shielding method, device and storage medium based on wireless connection Active CN109302387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811083511.9A CN109302387B (en) 2018-09-17 2018-09-17 Domain name shielding method, device and storage medium based on wireless connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811083511.9A CN109302387B (en) 2018-09-17 2018-09-17 Domain name shielding method, device and storage medium based on wireless connection

Publications (2)

Publication Number Publication Date
CN109302387A true CN109302387A (en) 2019-02-01
CN109302387B CN109302387B (en) 2021-05-04

Family

ID=65163339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811083511.9A Active CN109302387B (en) 2018-09-17 2018-09-17 Domain name shielding method, device and storage medium based on wireless connection

Country Status (1)

Country Link
CN (1) CN109302387B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162780A (en) * 2015-08-21 2015-12-16 上海斐讯数据通信技术有限公司 URL (Uniform Resource Locator) filter address setting method and URL filter address setting system
WO2016117776A1 (en) * 2015-01-23 2016-07-28 주식회사 플랜티넷 Router-based harmful site blocking system and method therefor
CN106034362A (en) * 2015-03-19 2016-10-19 北京奇虎科技有限公司 WiFi connection method, client, server and system
CN107395628A (en) * 2017-08-23 2017-11-24 上海斐讯数据通信技术有限公司 A kind of wireless router and its domain filter method
US20170353463A1 (en) * 2016-06-07 2017-12-07 Gryphon Online Safety, Inc Remotely Controlling Access to Online Content
CN108040054A (en) * 2017-12-14 2018-05-15 上海斐讯数据通信技术有限公司 A kind of management method of internet behavior, management system and router

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016117776A1 (en) * 2015-01-23 2016-07-28 주식회사 플랜티넷 Router-based harmful site blocking system and method therefor
CN106034362A (en) * 2015-03-19 2016-10-19 北京奇虎科技有限公司 WiFi connection method, client, server and system
CN105162780A (en) * 2015-08-21 2015-12-16 上海斐讯数据通信技术有限公司 URL (Uniform Resource Locator) filter address setting method and URL filter address setting system
US20170353463A1 (en) * 2016-06-07 2017-12-07 Gryphon Online Safety, Inc Remotely Controlling Access to Online Content
CN107395628A (en) * 2017-08-23 2017-11-24 上海斐讯数据通信技术有限公司 A kind of wireless router and its domain filter method
CN108040054A (en) * 2017-12-14 2018-05-15 上海斐讯数据通信技术有限公司 A kind of management method of internet behavior, management system and router

Also Published As

Publication number Publication date
CN109302387B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
KR101543221B1 (en) - Method Apparatus and System for Providing Muti User-Multi Service
CN101978709B (en) Method and apparatus for providing location based service
CN102595407A (en) System and method both enabling mobile equipment to log in automatically and access into wireless network
US20010013037A1 (en) Information communication system, information communication method, and information provision business method
WO2014082492A1 (en) Mobile terminal, server, system and method for realizing searching
US20090073885A1 (en) Method, system and apparatus for tracking user behavior in a wireless communication network
CN101931646A (en) Internet brows management method, system and terminal
CN103532833B (en) Business system access method, terminal and agency service system
KR20130120417A (en) Method for accessing mapped information on current space by wireless device using network access device and apparatus for accessing mapped information on current space using network access device
CN102868758A (en) Portal push method and network equipment
JP5270037B1 (en) Method and system for causing mobile terminal to acquire site page of web server based on current position
CN101645854A (en) Method, device and system for acquiring user information
CN105653717B (en) A kind of method and device that information is shared
CN105339914B (en) The method and system of message are exchanged based on current location
CN101567879A (en) Method, server, equipment and system for treating terminal request
WO2014192736A1 (en) Method for displaying site page related to current position in desired condition order in portable terminal, and system
CN104320456B (en) A kind of page push method and relevant device
CN109302387A (en) A kind of domain name screen method, equipment and storage medium based on wireless connection
JP4453818B2 (en) Wireless connection setting system, wireless connection setting method, and program
CN105939367A (en) Method and device for pushing Web page
KR100810881B1 (en) System for providing a zone information related place of mobile phone and method therefor
CN105745664B (en) The guard method and protection system of the terminal local environment of malicious code in corresponding link information
JP6841129B2 (en) Control method, server and control program
US20150312315A1 (en) Method and system for causing portable terminal to obtain site page of web server associated with current location
JP4088698B2 (en) Data providing method, data providing system, and data providing agency server

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