CN104853414B - A kind of control method and electronic equipment - Google Patents
A kind of control method and electronic equipment Download PDFInfo
- Publication number
- CN104853414B CN104853414B CN201510319736.XA CN201510319736A CN104853414B CN 104853414 B CN104853414 B CN 104853414B CN 201510319736 A CN201510319736 A CN 201510319736A CN 104853414 B CN104853414 B CN 104853414B
- Authority
- CN
- China
- Prior art keywords
- equipment
- access
- connection request
- parameter
- access parameter
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a kind of control method, applied to electronic equipment, the described method includes:Obtain the connection request that the first equipment is sent to the second equipment;Judge whether the access parameter in the connection request is able to access that second equipment, obtain judging result;When the judging result shows that the access parameter can not access second equipment, the connection request with the access parameter that first equipment is sent to second equipment is intercepted.The problem of present invention can be avoided when the first equipment cannot access the second equipment, and the first equipment power dissipation increases caused by the first equipment constantly accesses the second equipment.The invention also discloses a kind of electronic equipment.
Description
Technical field
The present invention relates to equipment control process technical field more particularly to a kind of control method and electronic equipments.
Background technology
At present, constantly expand with the overlay area of wireless network, people more and more frequently use wireless network.So
And under many scenes, providing the wireless access points of wireless network, not ensure that the equipment of access can access all
Network address.For example, the wireless access points of some companies, which may can shield some, may influence the IP of work;Market
In wireless access points may shield the IP of Streaming Media class to prevent network congestion.
However, the major applications in electronic equipment only check whether connection wireless network at present, it is current without judging
Whether the wireless access points being connected to can successful access its required network address.In this way, when user is connected by wireless network
After being connected to the wireless access points shielded to the address of its required network request itself, the application of electronic equipment is recognized
To have connected network, but and do not know about the address of request and can not access in fact.In this case, the application of electronic equipment can
Wireless network can be connected due to system, and constantly access the address or accessed again in subsequent operation same
The distinct interface of IP causes the promotion of powder consumption of electronic equipment.
The content of the invention
The present invention provides a kind of control methods, can reduce work(of the electronic equipment when accessing wireless access points
Consumption.
The present invention provides a kind of control method, applied to electronic equipment, the described method includes:
Obtain the connection request that the first equipment is sent to the second equipment;
Judge whether the access parameter in the connection request is able to access that second equipment, obtain judging result;
When the judging result shows that the access parameter can not access second equipment, first equipment is intercepted
The connection request with the access parameter sent to second equipment.
Preferably, the access parameter includes:The corresponding access address parameter of the connection request;
Correspondingly, judge whether second equipment is able to access that with the access parameter in the connection request, to obtain
Judging result, including:
Judge whether second equipment is able to access that with the corresponding access address parameter of the connection request, judged
As a result.
Preferably, the access parameter includes:The corresponding access content parameters of the connection request;
Correspondingly, judge whether second equipment is able to access that with the access parameter in the connection request, to obtain
Judging result, including:
Judge to access whether content parameters are able to access that second equipment so that the connection request is corresponding, be judged
As a result.
Preferably, it is described when the judging result shows that the access parameter can not access second equipment, it intercepts
First equipment further includes after the connection request with the access parameter that second equipment is sent:
Interception prompting information is generated, the interception prompting information is used to prompt first equipment that can not connect described second
Equipment.
Preferably, it is described when the judging result shows that the access parameter can not access second equipment, it intercepts
First equipment further includes after the connection request with the access parameter that second equipment is sent:
The access parameter is preserved;
Correspondingly, the method further includes:
Obtain new connection request;
Judge whether containing the access parameter consistent with the access parameter of preservation in the new connection request, if
It is to intercept the connection request for the access parameter with the preservation that first equipment is sent to second equipment.
A kind of electronic equipment, including:
First acquisition unit, for obtaining the connection request that the first equipment is sent to the second equipment;
Whether the first judging unit, the access parameter for judging in the connection request are able to access that described second sets
It is standby, obtain judging result;
First interception unit, for showing that the access parameter can not access second equipment in the judging result
When, intercept the connection request with the access parameter that first equipment is sent to second equipment.
Preferably, the access parameter includes:The corresponding access address parameter of the connection request;
Correspondingly, first judging unit, for judge with the corresponding access address parameter of the connection request whether
It is able to access that second equipment, obtains judging result.
Preferably, the access parameter includes:The corresponding access content parameters of the connection request;
Correspondingly, first judging unit, for judging whether access content parameters so that the connection request is corresponding
It is able to access that second equipment, obtains judging result.
Preferably, the electronic equipment further includes:
Generation unit, for generating interception prompting information, the interception prompting information for prompt first equipment without
Method connects second equipment.
Preferably, the electronic equipment further includes:
Storage unit, for the access parameter to be preserved;
Second acquisition unit, for obtaining new connection request;
Second judgment unit, for whether judging in the new connection request containing consistent with the access parameter of preservation
Access parameter;
Second interception unit contains the access consistent with the access parameter of preservation for working as in the new connection request
During parameter, the connection request for the access parameter with the preservation that first equipment is sent to second equipment is intercepted.
From said program, a kind of control method provided by the invention is sent out by obtaining the first equipment to the second equipment
The connection request sent, judges whether the access parameter in connection request is able to access that the second equipment, when judgement access parameter can not
When accessing the second equipment, the connection request with the access parameter that the first equipment is sent to second equipment is intercepted, from
And it avoids when the first equipment cannot access the second equipment, the first equipment work(caused by the first equipment constantly accesses the second equipment
The problem of consumption increase.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of control method disclosed in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of control method disclosed in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of control method disclosed in the embodiment of the present invention three;
Fig. 4 is the structure diagram of a kind of electronic equipment disclosed in the embodiment of the present invention four;
Fig. 5 is the structure diagram of a kind of electronic equipment disclosed in the embodiment of the present invention five;
Fig. 6 is the structure diagram of a kind of electronic equipment disclosed in the embodiment of the present invention six.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment belongs to the scope of protection of the invention.
As shown in Figure 1, it is a kind of flow chart of control method embodiment one disclosed by the embodiments of the present invention, wherein the side
Method is applied in electronic equipment, and the electronic equipment can be that the 3rd be connected between the first equipment and the second equipment sets
It is standby, or the part in the first equipment or the second equipment, for the first equipment to be controlled to access the second equipment.
In the present embodiment, the method may include following steps:
Step 101 obtains the connection request that the first equipment is sent to the second equipment;
Wherein, the first equipment can be that mobile terminals, second equipment such as mobile phone, IPAD, laptop can be to provide
The access points equipment of network connection.
After having network connection between the first equipment and the second equipment, network connection here can be that cable network connects
It connects, or wireless network connection;Obtain the company for access the second device network data that the first equipment is sent to the second equipment
Connect request.
For example, the wireless access points equipment in the market of the mobile phone and place of a certain user establishes wireless network connection
Afterwards, want to access the network data in wireless access points equipment, then the mobile phone of user will be to wireless access points equipment
Send the connection request for accessing wireless access points device network data.
Step 102 judges whether the access parameter in connection request is able to access that the second equipment, obtains judging result, when
Judging result, which shows to access when parameter can not access the second equipment, performs step 103.
Whether judge the access parameter for access the second device network data that the first equipment is sent to the second equipment can visit
It asks the second equipment, that is, judges whether the access parameter sent to the first equipment is shielded the second equipment.For example, certain market is
It prevents network congestion, the access parameter of wireless access points environment division network data can be shielded.
Specifically, it can be the corresponding access address parameter of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the IP address of the first equipment.When the first equipment sends the IP of itself to the second equipment
Behind address, the IP address using ping orders is tested, judges whether the IP address of the first equipment can be with the second equipment
IP address match.For example, the wireless access points equipment in market can shield the IP address of equipment component, quilt
The equipment of shielding cannot access the network data of wireless access points equipment.
Specifically, it can be the corresponding access content parameters of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the network address of a certain network data of the second equipment.For example, video network address
Deng.Sometimes market network congestion in order to prevent can access content parameters to similar video network address etc. and shield.When
After second equipment shields these network address, the first equipment to the second equipment send these network address when, then cannot
Access the corresponding network data of these network address.
Step 103 intercepts the connection request with the access parameter that the first equipment is sent to the second equipment.
After judging that the second equipment shields the access parameter in the first equipment for the first time connection request of transmission, example
Such as, the network address that the IP address to the first equipment or the first equipment are sent is shielded;Then intercept the first equipment again to
Second equipment sends the connection request with the access parameter, avoids that when the access parameter that the first equipment is sent second cannot be accessed
During equipment, frequently connection request is sent to the second equipment again.
From said program, a kind of control method embodiment one provided by the invention, by obtaining the first equipment to the
The connection request that two equipment are sent, judges whether the access parameter in connection request is able to access that the second equipment, when the first equipment
When access parameter in the connection request of transmission can not access the second equipment, the second equipment is sent to again to the first equipment
Connection request is intercepted, and so as to avoid when the first equipment cannot access the second equipment, the first equipment constantly accesses second
The problem of first equipment power dissipation caused by equipment increases.
As shown in Fig. 2, be a kind of flow chart of control method embodiment two provided by the invention, wherein the method application
In electronic equipment, the electronic equipment can be the 3rd equipment being connected between the first equipment and the second equipment, also may be used
The part in the first equipment or the second equipment is thought, for the first equipment to be controlled to access the second equipment.
In the present embodiment, the method may include following steps:
Step 201 obtains the connection request that the first equipment is sent to the second equipment;
Wherein, the first equipment can be that mobile terminals, second equipment such as mobile phone, IPAD, laptop can be to provide
The access points equipment of network connection.
After having network connection between the first equipment and the second equipment, network connection here can be that cable network connects
It connects, or wireless network connection;Obtain the company for access the second device network data that the first equipment is sent to the second equipment
Connect request.
For example, the wireless access points equipment in the market of the mobile phone and place of a certain user establishes wireless network connection
Afterwards, want to access the network data in wireless access points equipment, then the mobile phone of user will be to wireless access points equipment
Send the connection request for accessing wireless access points device network data.
Step 202 judges whether the access parameter in connection request is able to access that the second equipment, obtains judging result, when
Judging result, which shows to access when parameter can not access the second equipment, performs step 203.
Whether judge the access parameter for access the second device network data that the first equipment is sent to the second equipment can visit
It asks the second equipment, that is, judges whether the access parameter sent to the first equipment is shielded the second equipment.For example, certain market is
It prevents network congestion, the access parameter of wireless access points environment division network data can be shielded.
Specifically, it can be the corresponding access address parameter of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the IP address of the first equipment.When the first equipment sends the IP of itself to the second equipment
Behind address, the IP address using ping orders is tested, judges whether the IP address of the first equipment can be with the second equipment
IP address match.For example, the wireless access points equipment in market can shield the IP address of equipment component, quilt
The equipment of shielding cannot access the network data of wireless access points equipment.
Specifically, it can be the corresponding access content parameters of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the network address of a certain network data of the second equipment.For example, video network address
Deng.Sometimes market network congestion in order to prevent can access content parameters to similar video network address etc. and shield.When
After second equipment shields these network address, the first equipment to the second equipment send these network address when, then cannot
Access the corresponding network data of these network address.
Step 203 intercepts the connection request with the access parameter that the first equipment is sent to the second equipment.
After judging that the second equipment shields the access parameter in the first equipment for the first time connection request of transmission, example
Such as, the network address that the IP address to the first equipment or the first equipment are sent is shielded;Then intercept the first equipment again to
Second equipment sends the connection request with the access parameter, avoids that when the access parameter that the first equipment is sent second cannot be accessed
During equipment, frequently connection request is sent to the second equipment again.
Step 204, generation interception prompting information.
Wherein, the interception prompting information can not connect the second equipment for the first equipment of prompting.
When the access parameter in the connection request for judging the transmission of the first equipment can not access the second equipment, first is intercepted
While the connection request with the access parameter that equipment is sent to the second equipment, interception prompting information is also generated, and will
The interception prompting information of generation is sent to the first equipment, for prompting the first equipment.The interception prompting information can be audio
Information or text information etc..
From said program, a kind of control method embodiment two provided by the invention, on the basis of above-described embodiment one
On, when the first equipment cannot access the second equipment, interception prompting information is also generated, and interception prompting information is sent to first
Equipment can further prompt user by the interception prompting information of generation, and the connection request that the first equipment is sent instantly cannot
Enough access the second equipment.
As shown in figure 3, be a kind of flow chart of control method embodiment three provided by the invention, wherein the method application
In electronic equipment, the electronic equipment can be the 3rd equipment being connected between the first equipment and the second equipment, also may be used
The part in the first equipment or the second equipment is thought, for the first equipment to be controlled to access the second equipment.
In the present embodiment, the method may include following steps:
Step 301 obtains the connection request that the first equipment is sent to the second equipment;
Wherein, the first equipment can be that mobile terminals, second equipment such as mobile phone, IPAD, laptop can be to provide
The access points equipment of network connection.
After having network connection between the first equipment and the second equipment, network connection here can be that cable network connects
It connects, or wireless network connection;Obtain the company for access the second device network data that the first equipment is sent to the second equipment
Connect request.
For example, the wireless access points equipment in the market of the mobile phone and place of a certain user establishes wireless network connection
Afterwards, want to access the network data in wireless access points equipment, then the mobile phone of user will be to wireless access points equipment
Send the connection request for accessing wireless access points device network data.
Step 302 judges whether the access parameter in connection request is able to access that the second equipment, obtains judging result, when
Judging result, which shows to access when parameter can not access the second equipment, performs step 303.
Whether judge the access parameter for access the second device network data that the first equipment is sent to the second equipment can visit
It asks the second equipment, that is, judges whether the access parameter sent to the first equipment is shielded the second equipment.For example, certain market is
It prevents network congestion, the access parameter of wireless access points environment division network data can be shielded.
Specifically, it can be the corresponding access address parameter of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the IP address of the first equipment.When the first equipment sends the IP of itself to the second equipment
Behind address, the IP address using ping orders is tested, judges whether the IP address of the first equipment can be with the second equipment
IP address match.For example, the wireless access points equipment in market can shield the IP address of equipment component, quilt
The equipment of shielding cannot access the network data of wireless access points equipment.
Specifically, it can be the corresponding access content parameters of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the network address of a certain network data of the second equipment.For example, video network address
Deng.Sometimes market network congestion in order to prevent can access content parameters to similar video network address etc. and shield.When
After second equipment shields these network address, the first equipment to the second equipment send these network address when, then cannot
Access the corresponding network data of these network address.
Step 303 intercepts the connection request with the access parameter that the first equipment is sent to the second equipment.
After judging that the second equipment shields the access parameter in the first equipment for the first time connection request of transmission, example
Such as, the network address that the IP address to the first equipment or the first equipment are sent is shielded;Then intercept the first equipment again to
Second equipment sends the connection request with the access parameter, avoids that when the access parameter that the first equipment is sent second cannot be accessed
During equipment, frequently connection request is sent to the second equipment herein.
Step 304, generation interception prompting information.
Wherein, the interception prompting information can not connect the second equipment for the first equipment of prompting.
When the access parameter in the connection request for judging the transmission of the first equipment can not access the second equipment, first is intercepted
While the connection request with the access parameter that equipment is sent to the second equipment, interception prompting information is also generated, and will
The interception prompting information of generation is sent to the first equipment, for prompting the first equipment.The interception prompting information can be audio
Information or text information etc..
Step 305 preserves the access parameter.
When the access parameter in the connection request for judging the transmission of the first equipment can not access the second equipment, first is intercepted
The connection request with the access parameter that equipment is sent to the second equipment, while generating interception prompting information, also by institute
Access parameter is stated to be preserved.
Step 306 obtains new connection request.
When the first equipment sends new connection request to the second equipment, the new access second that the first equipment is sent is obtained
The connection request of device network data.
Step 307 judges whether join in the new connection request containing the access consistent with the access parameter of preservation
Number, if performing step S308.
Judge whether include the visit consistent with the access parameter preserved in the new connection request that the first equipment is sent
It asks parameter, that is, judges whether the access parameter in the new connection request that the first equipment is sent cannot visit with preceding first equipment several times
Ask that the access parameter sent during the second equipment is consistent.
S308, the connection request for intercepting the access parameter with the preservation that the first equipment is sent to the second equipment.
Join when containing the access consistent with the access parameter of preservation in the new connection request for judging the transmission of the first equipment
During number, that is, show that the access parameter in the new connection request that the second equipment can send the first equipment shield, then to the
The new connection request for the access parameter with the preservation that one equipment is sent again to the second equipment is intercepted.
From said program, a kind of control method embodiment three provided by the invention, on the basis of above-described embodiment,
When the first equipment cannot access the second equipment, the access parameter in the connection request sent to the first equipment preserves, when
When first equipment sends new connection request to the second equipment again, the access ginseng in the new connection request sent is first determined whether
Whether number is consistent with the access parameter of preservation, when judging consistent, then directly intercepts what the first equipment was sent to the second equipment
New connection request.
As shown in figure 4, for the structure diagram of a kind of electronic equipment example IV provided by the invention, the electronics is set
Standby can be the 3rd equipment being connected between the first equipment and the second equipment, or in the first equipment or the second equipment
A part, for the first equipment to be controlled to access the second equipment.
In the present embodiment, the electronic equipment can be included with lower structure:
First acquisition unit 401, for obtaining the connection request that the first equipment is sent to the second equipment.
Wherein, the first equipment can be that mobile terminals, second equipment such as mobile phone, IPAD, laptop can be to provide
The access points equipment of network connection.
After having network connection between the first equipment and the second equipment, network connection here can be that cable network connects
It connects, or wireless network connection;Access that first equipment sent to the second equipment the is obtained by first acquisition unit 401
The connection request of two device network data.
For example, the wireless access points equipment in the market of the mobile phone and place of a certain user establishes wireless network connection
Afterwards, want to access the network data in wireless access points equipment, then the mobile phone of user will be to wireless access points equipment
Send the connection request for accessing wireless access points device network data.
Whether the first judging unit 402, the access parameter for judging in the connection request are able to access that described second
Equipment obtains judging result.
Access the second device network data that first equipment sent to the second equipment are judged by the first judging unit 402
It accesses whether parameter is able to access that the second equipment, that is, judges whether the access parameter sent to the first equipment carries out the second equipment
Shielding.For example, certain market network congestion in order to prevent, it can be to the access parameter of wireless access points environment division network data
It is shielded.
Specifically, it can be the corresponding access address parameter of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the IP address of the first equipment.When the first equipment sends the IP of itself to the second equipment
Behind address, the IP address is tested using ping orders, the first judging unit 402 judges that the IP address of the first equipment is
It is no to match with the IP address of the second equipment.For example, the wireless access points equipment in market can be to the IP of equipment component
Address is shielded, and shielded equipment cannot access the network data of wireless access points equipment.
Specifically, it can be the corresponding access content parameters of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the network address of a certain network data of the second equipment.For example, video network address
Deng.Sometimes market network congestion in order to prevent can access content parameters to similar video network address etc. and shield.When
After second equipment shields these network address, the first equipment to the second equipment send these network address when, then cannot
Access the corresponding network data of these network address.
First interception unit 403, for showing that the access parameter can not access described second and set in the judging result
When standby, the connection request with the access parameter that first equipment is sent to second equipment is intercepted.
When the first judging unit 402 judges that the second equipment joins the access in the first equipment for the first time connection request of transmission
After number is shielded, for example, the network address that the IP address or the first equipment to the first equipment are sent is shielded;Then pass through
First interception unit 403 intercepts the first equipment and sends the connection request with the access parameter to the second equipment again, avoids working as
When the access parameter that first equipment is sent cannot access the second equipment, frequently connection request is sent to the second equipment again.
From said program, a kind of electronic equipment example IV provided by the invention is obtained by first acquisition unit
The connection request that first equipment is sent to the second equipment judges whether is access parameter in connection request by the first judging unit
It is able to access that the second equipment, when the access parameter in the connection request that the first equipment is sent can not access the second equipment, leads to
It crosses the first interception unit and is sent to the connection request of the second equipment again to the first equipment and intercept, so as to avoid when first
When equipment cannot access the second equipment, caused by the first equipment constantly accesses the second equipment the problem of the increase of the first equipment power dissipation.
As shown in figure 5, for the structure diagram of a kind of electronic equipment embodiment five provided by the invention, the electronics is set
Standby can be the 3rd equipment being connected between the first equipment and the second equipment, or in the first equipment or the second equipment
A part, for the first equipment to be controlled to access the second equipment.
In the present embodiment, the electronic equipment can be included with lower structure:
First acquisition unit 501, for obtaining the connection request that the first equipment is sent to the second equipment.
Wherein, the first equipment can be that mobile terminals, second equipment such as mobile phone, IPAD, laptop can be to provide
The access points equipment of network connection.
After having network connection between the first equipment and the second equipment, network connection here can be that cable network connects
It connects, or wireless network connection;Access that first equipment sent to the second equipment the is obtained by first acquisition unit 501
The connection request of two device network data.
For example, the wireless access points equipment in the market of the mobile phone and place of a certain user establishes wireless network connection
Afterwards, want to access the network data in wireless access points equipment, then the mobile phone of user will be to wireless access points equipment
Send the connection request for accessing wireless access points device network data.
Whether the first judging unit 502, the access parameter for judging in the connection request are able to access that described second
Equipment obtains judging result.
Access the second device network data that first equipment sent to the second equipment are judged by the first judging unit 502
It accesses whether parameter is able to access that the second equipment, that is, judges whether the access parameter sent to the first equipment carries out the second equipment
Shielding.For example, certain market network congestion in order to prevent, it can be to the access parameter of wireless access points environment division network data
It is shielded.
Specifically, it can be the corresponding access address parameter of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the IP address of the first equipment.When the first equipment sends the IP of itself to the second equipment
Behind address, the IP address is tested using ping orders, the first judging unit 502 judges that the IP address of the first equipment is
It is no to match with the IP address of the second equipment.For example, the wireless access points equipment in market can be to the IP of equipment component
Address is shielded, and shielded equipment cannot access the network data of wireless access points equipment.
Specifically, it can be the corresponding access content parameters of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the network address of a certain network data of the second equipment.For example, video network address
Deng.Sometimes market network congestion in order to prevent can access content parameters to similar video network address etc. and shield.When
After second equipment shields these network address, the first equipment to the second equipment send these network address when, then cannot
Access the corresponding network data of these network address.
First interception unit 503, for showing that the access parameter can not access described second and set in the judging result
When standby, the connection request with the access parameter that first equipment is sent to second equipment is intercepted.
When the first judging unit 502 judges that the second equipment joins the access in the first equipment for the first time connection request of transmission
After number is shielded, for example, the network address that the IP address or the first equipment to the first equipment are sent is shielded;Then pass through
First interception unit 503 intercepts the first equipment and sends the connection request with the access parameter to the second equipment again, avoids working as
When the access parameter that first equipment is sent cannot access the second equipment, frequently connection request is sent to the second equipment again.
Generation unit 504, for generating interception prompting information.
Wherein, the interception prompting information can not connect the second equipment for the first equipment of prompting.
When the access parameter in the connection request that the first judging unit 502 judges the transmission of the first equipment can not access second
During equipment, the first interception unit 503 intercepts the connection request with the access parameter that the first equipment is sent to the second equipment
While, generation unit 504 also generates interception prompting information, and the interception prompting information of generation is sent to the first equipment, uses
In prompting the first equipment.The interception prompting information can be audio-frequency information or text information etc..
From said program, a kind of electronic equipment embodiment five provided by the invention, on the basis of above-described embodiment four
On, when the first equipment cannot access the second equipment, interception prompting information is also generated by generation unit, and interception prompting is believed
Breath is sent to the first equipment, and user can be further prompted by the interception prompting information of generation, what the first equipment was sent instantly
Connection request can not access the second equipment.
As shown in fig. 6, for the structure diagram of a kind of electronic equipment embodiment six provided by the invention, the electronics is set
Standby can be the 3rd equipment being connected between the first equipment and the second equipment, or in the first equipment or the second equipment
A part, for the first equipment to be controlled to access the second equipment.
In the present embodiment, the electronic equipment can be included with lower structure:
First acquisition unit 601, for obtaining the connection request that the first equipment is sent to the second equipment.
Wherein, the first equipment can be that mobile terminals, second equipment such as mobile phone, IPAD, laptop can be to provide
The access points equipment of network connection.
After having network connection between the first equipment and the second equipment, network connection here can be that cable network connects
It connects, or wireless network connection;Access that first equipment sent to the second equipment the is obtained by first acquisition unit 601
The connection request of two device network data.
For example, the wireless access points equipment in the market of the mobile phone and place of a certain user establishes wireless network connection
Afterwards, want to access the network data in wireless access points equipment, then the mobile phone of user will be to wireless access points equipment
Send the connection request for accessing wireless access points device network data.
Whether the first judging unit 602, the access parameter for judging in the connection request are able to access that described second
Equipment obtains judging result.
Access the second device network data that first equipment sent to the second equipment are judged by the first judging unit 602
It accesses whether parameter is able to access that the second equipment, that is, judges whether the access parameter sent to the first equipment carries out the second equipment
Shielding.For example, certain market network congestion in order to prevent, it can be to the access parameter of wireless access points environment division network data
It is shielded.
Specifically, it can be the corresponding access address parameter of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the IP address of the first equipment.When the first equipment sends the IP of itself to the second equipment
Behind address, the IP address is tested using ping orders, the first judging unit 602 judges that the IP address of the first equipment is
It is no to match with the IP address of the second equipment.For example, the wireless access points equipment in market can be to the IP of equipment component
Address is shielded, and shielded equipment cannot access the network data of wireless access points equipment.
Specifically, it can be the corresponding access content parameters of connection request to access parameter, i.e. the first equipment is to the second equipment
Access parameter in the connection request of transmission is the network address of a certain network data of the second equipment.For example, video network address
Deng.Sometimes market network congestion in order to prevent can access content parameters to similar video network address etc. and shield.When
After second equipment shields these network address, the first equipment to the second equipment send these network address when, then cannot
Access the corresponding network data of these network address.
First interception unit 603, for showing that the access parameter can not access described second and set in the judging result
When standby, the connection request with the access parameter that first equipment is sent to second equipment is intercepted.
When the first judging unit 602 judges that the second equipment joins the access in the first equipment for the first time connection request of transmission
After number is shielded, for example, the network address that the IP address or the first equipment to the first equipment are sent is shielded;Then pass through
First interception unit 603 intercepts the first equipment and sends the connection request with the access parameter to the second equipment again, avoids working as
When the access parameter that first equipment is sent cannot access the second equipment, frequently connection request is sent to the second equipment again.
Generation unit 604, for generating interception prompting information.
Wherein, the interception prompting information can not connect the second equipment for the first equipment of prompting.
When the access parameter in the connection request that the first judging unit 602 judges the transmission of the first equipment can not access second
During equipment, the first interception unit 603 intercepts the connection request with the access parameter that the first equipment is sent to the second equipment
While, generation unit 604 also generates interception prompting information, and the interception prompting information of generation is sent to the first equipment, uses
In prompting the first equipment.The interception prompting information can be audio-frequency information or text information etc..
Storage unit 605, for the access parameter to be preserved.
When the access parameter in the connection request that the first judging unit 602 judges the transmission of the first equipment can not access second
During equipment, the first interception unit 603 intercepts the connection request with the access parameter that the first equipment is sent to the second equipment,
While generation unit 604 generates interception prompting information, storage unit 605 also preserves the access parameter.
Second acquisition unit 606, for obtaining new connection request.
When the first equipment sends new connection request to the second equipment, second acquisition unit 606 obtains the first equipment hair
The connection request for new access the second device network data sent.
Second judgment unit 607, for whether judging in the new connection request containing the access parameter phase with preservation
Consistent access parameter;
Second judgment unit 607 judges whether include the access with preserving in the new connection request that the first equipment is sent
The consistent access parameter of parameter, that is, judge the first equipment send new connection request in access parameter whether with it is preceding several times
It is consistent that first equipment cannot access the access parameter sent during the second equipment.
Second interception unit 608, for working as in the new connection request containing consistent with the access parameter of preservation
When accessing parameter, interception first equipment please to the connection for the access parameter with the preservation that second equipment is sent
It asks.
When second judgment unit 607 judges to contain access parameter with preservation in the new connection request that the first equipment sends
During consistent access parameter, that is, show access parameter in the new connection request that the second equipment can send the first equipment into
Row shielding, the then access with the preservation sent again to the second equipment to the first equipment by the second interception unit 608
The new connection request of parameter is intercepted.
From said program, a kind of electronic equipment example IV provided by the invention, on the basis of above-described embodiment,
When the first equipment cannot access the second equipment, the access parameter in the connection request sent to the first equipment preserves, when
When first equipment sends new connection request to the second equipment again, the access ginseng in the new connection request sent is first determined whether
Whether number is consistent with the access parameter of preservation, when judging consistent, then directly intercepts what the first equipment was sent to the second equipment
New connection request.
If the function described in the present embodiment method is realized in the form of SFU software functional unit and is independent product pin
It sells or in use, can be stored in a computing device read/write memory medium.Based on such understanding, the embodiment of the present invention
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, this is soft
Part product is stored in a storage medium, used including some instructions so that computing device (can be personal computer,
Server, mobile computing device or network equipment etc.) perform all or part of step of each embodiment the method for the present invention
Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, are deposited at read-only memory (ROM, Read-Only Memory) at random
The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic disc or CD.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other
The difference of embodiment, just to refer each other for same or similar part between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide scope caused.
Claims (8)
1. a kind of control method, applied to electronic equipment, the described method includes:
Obtain the connection request that the first equipment is sent to the second equipment;
Judge whether the access parameter in the connection request is able to access that second equipment, obtain judging result;
When the judging result shows that the access parameter can not access second equipment, first equipment is intercepted to institute
State the connection request with the access parameter of the second equipment transmission;
Interception prompting information is generated, the interception prompting information sets for prompting first equipment that can not connect described second
It is standby.
2. according to the method described in claim 1, it is characterized in that, the access parameter includes:The connection request is corresponding
Access address parameter;
Correspondingly, judge whether second equipment is able to access that with the access parameter in the connection request, to be judged
As a result, including:
Judge whether second equipment is able to access that with the corresponding access address parameter of the connection request, obtain judging knot
Fruit.
3. according to the method described in claim 1, it is characterized in that, the access parameter includes:The connection request is corresponding
Access content parameters;
Correspondingly, judge whether second equipment is able to access that with the access parameter in the connection request, to be judged
As a result, including:
Judge to access whether content parameters are able to access that second equipment so that the connection request is corresponding, obtain judging knot
Fruit.
4. according to the method described in claim 1, it is characterized in that, it is described the judging result show it is described access parameter without
When method accesses second equipment, the company with the access parameter that first equipment is sent to second equipment is intercepted
It is further included after connecing request:
The access parameter is preserved;
Correspondingly, the method further includes:
Obtain new connection request;
Judge whether containing the access parameter consistent with the access parameter of preservation in the new connection request, if so, blocking
Cut the connection request for the access parameter with the preservation that first equipment is sent to second equipment.
5. a kind of electronic equipment, which is characterized in that including:
First acquisition unit, for obtaining the connection request that the first equipment is sent to the second equipment;
Whether the first judging unit, the access parameter for judging in the connection request are able to access that second equipment, obtain
To judging result;
First interception unit, for when the judging result shows that the access parameter can not access second equipment, blocking
Cut the connection request with the access parameter that first equipment is sent to second equipment;
Generation unit, for generating interception prompting information, the interception prompting information is used to prompt first equipment that can not connect
Connect second equipment.
6. electronic equipment according to claim 5, which is characterized in that the access parameter includes:The connection request pair
The access address parameter answered;
Correspondingly, first judging unit, for judging whether can with the corresponding access address parameter of the connection request
Second equipment is accessed, obtains judging result.
7. electronic equipment according to claim 5, which is characterized in that the access parameter includes:The connection request pair
The access content parameters answered;
Correspondingly, first judging unit, for judging whether can with the corresponding content parameters that access of the connection request
Second equipment is accessed, obtains judging result.
8. electronic equipment according to claim 5, which is characterized in that further include:
Storage unit, for the access parameter to be preserved;
Second acquisition unit, for obtaining new connection request;
Second judgment unit, for judging whether contain the visit consistent with the access parameter of preservation in the new connection request
Ask parameter;
Second interception unit contains the access parameter consistent with the access parameter of preservation for working as in the new connection request
When, the connection request for the access parameter with the preservation that interception first equipment is sent to second equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510319736.XA CN104853414B (en) | 2015-06-11 | 2015-06-11 | A kind of control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510319736.XA CN104853414B (en) | 2015-06-11 | 2015-06-11 | A kind of control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104853414A CN104853414A (en) | 2015-08-19 |
CN104853414B true CN104853414B (en) | 2018-06-01 |
Family
ID=53852684
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510319736.XA Active CN104853414B (en) | 2015-06-11 | 2015-06-11 | A kind of control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104853414B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101360108A (en) * | 2008-09-22 | 2009-02-04 | 深圳市迅雷网络技术有限公司 | Method, apparatus and system determining validity of network access |
CN101742696A (en) * | 2008-11-10 | 2010-06-16 | 华为技术有限公司 | Method and device for transferring information |
CN102984783A (en) * | 2011-09-02 | 2013-03-20 | 阿尔卡特朗讯公司 | Method and apparatus for controlling terminal's access to wireless network |
CN103037337A (en) * | 2012-12-11 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method intercepting sent short message and device thereof |
CN103916857A (en) * | 2014-04-04 | 2014-07-09 | 杭州华三通信技术有限公司 | Device and method for controlling wireless access |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7706326B2 (en) * | 2004-09-10 | 2010-04-27 | Interdigital Technology Corporation | Wireless communication methods and components that implement handoff in wireless local area networks |
WO2013015835A1 (en) * | 2011-07-22 | 2013-01-31 | Seven Networks, Inc. | Mobile application traffic optimization |
-
2015
- 2015-06-11 CN CN201510319736.XA patent/CN104853414B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101360108A (en) * | 2008-09-22 | 2009-02-04 | 深圳市迅雷网络技术有限公司 | Method, apparatus and system determining validity of network access |
CN101742696A (en) * | 2008-11-10 | 2010-06-16 | 华为技术有限公司 | Method and device for transferring information |
CN102984783A (en) * | 2011-09-02 | 2013-03-20 | 阿尔卡特朗讯公司 | Method and apparatus for controlling terminal's access to wireless network |
CN103037337A (en) * | 2012-12-11 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method intercepting sent short message and device thereof |
CN103916857A (en) * | 2014-04-04 | 2014-07-09 | 杭州华三通信技术有限公司 | Device and method for controlling wireless access |
Also Published As
Publication number | Publication date |
---|---|
CN104853414A (en) | 2015-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10447560B2 (en) | Data leakage protection in cloud applications | |
CN113190464B (en) | mock testing method and device, electronic equipment and medium | |
US9185077B2 (en) | Isolation proxy server system | |
CN104468834B (en) | Carry out the method, apparatus and browser client of Cookie data processing | |
CN104580364A (en) | Resource sharing method and device | |
CN105391587B (en) | The Samba configuring management methods and system of a kind of network equipment | |
CN106686104B (en) | Method and equipment for operation and maintenance of target server | |
CN102346823B (en) | The method and system that in a kind of internet, user logs in | |
CN104410546A (en) | Testing method and device of real-time processing system | |
CN108469972A (en) | Support the method and apparatus that multiwindow is shown in WEB page | |
CN107741902A (en) | Program application detection method and program application detection means | |
CN105681380A (en) | Client offline method and system thereof | |
CN105592137B (en) | A kind of recognition methods of application type and device | |
CN105915364A (en) | Method for preventing malicious sharing of user identity and device thereof | |
CN105813078A (en) | Network authentication method, device and system and AP (ACCESS POINT) with authentication function | |
CN109889468A (en) | Transmission method, system, device, equipment and the storage medium of network data | |
CN103841157A (en) | File sharing device and method | |
CN105227532B (en) | A kind of blocking-up method and device of malicious act | |
CN104853414B (en) | A kind of control method and electronic equipment | |
CN104753961A (en) | Multimedia data processing method, client and server | |
CN108090364A (en) | A kind of localization method and system in data leak source | |
CN105487769B (en) | Media file display method and device and electronic equipment | |
CN204168327U (en) | Network Data Capture system | |
CN104750717B (en) | A kind of click volume recording method, server and client | |
CN108092946A (en) | A kind of method and system for having secure access to network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |