Gateway control apparatus, method and system
Technical field
The present invention relates to electrical application technology fields, in particular to a kind of gateway control apparatus, method and system.
Background technique
With the construction of city public wireless network, in order to provide convenient public wireless network, gateway to the public
Build and popularized also with public wireless network, but to the public provide convenient public wireless network when, it is adjoint and
What is come is the safety problem of public wireless network, that is, due to serving the public, so in the presence of the user's benefit for nourishing illegal intention
Platform setting is distorted with public wireless network platform or monitors the use information of other users, therefore for current public wireless
There are above-mentioned network security problems for the construction of network.
The universal of existing public wireless network is primarily adapted for use in following environment: bus, market and restaurant, in above-mentioned environment
Under public arena in gateway, be faced with anyone and be all likely to be exposed gateway, using physical connection, wifi without
The modes such as line connection or infrared ray connection log in gateway.Especially when the hacker with certain IT technology accesses net
After closing equipment, it would be possible to gateway configuration can be distorted, or load oracle listener to equipment, thus come on motoring gateway flow
Public Subscriber use information, to bring threat safely to public network.
In the prior art since the universal of public wireless network has easily modified security risk, at present
Not yet put forward effective solutions.
Summary of the invention
The main purpose of the present invention is to provide a kind of gateway control apparatus, method and system, to solve due to public nothing
There is security risk in gauze network.
To achieve the goals above, one side according to an embodiment of the present invention provides a kind of gateway control apparatus.According to
Gateway control apparatus of the invention includes: access switch, monitor, alarm and protector, wherein monitor and access switch
Electrical connection is established, whether there is trigger action for test access switch;Monitor is electrically connected with alarm foundation, for triggering
Alarm is alerted;Monitor is electrically connected with protector foundation, for controlling whether protector locks.
To achieve the goals above, other side according to an embodiment of the present invention provides a kind of gateway control method.
Gateway control method according to the present invention includes: that the corresponding trigger signal of trigger action of access switch is received by monitor;
Judge whether to trigger alarm and protector according to trigger signal;Respective operations are executed according to judging result.
To achieve the goals above, other side according to an embodiment of the present invention provides a kind of gateway control system.
Gateway control system according to the present invention includes: gateway, gateway control apparatus, one or more terminal devices and network clothes
Business device, wherein gateway control apparatus is electrically connected with gateway foundation, for controlling gateway;Gateway with one or
Multiple terminal devices establish communication connection, communicate to connect for establishing one or more terminal devices and network server;Its
In, gateway control apparatus is above-mentioned gateway control apparatus.
According to inventive embodiments, the corresponding trigger signal of trigger action of access switch is received by monitor;According to touching
Signalling judges whether to trigger alarm and protector;Respective operations are executed according to judging result, are solved due to public wireless
There is easily modified security risk in the universal of network, achieved the effect that promote public wireless network safety.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the structure of gateway control apparatus according to an embodiment of the present invention;
Fig. 2 is the schematic diagram of the structure of gateway control apparatus according to the preferred embodiment of the invention;
The flow chart of Fig. 3 gateway control method according to an embodiment of the present invention;And
The structural schematic diagram of Fig. 4 gateway control system according to an embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
Embodiment one
The embodiment of the invention provides a kind of gateway control apparatus.
Fig. 1 is the schematic diagram of the structure of gateway control apparatus according to an embodiment of the present invention.Due to the purpose of description, drawn
Architecture be only to be suitble to an example of environment, any limitation not is proposed to the use scope of the application or function,
The gateway control apparatus should not be construed to attached any component shown in FIG. 1 or combinations thereof with any dependence or demand.
As shown in Figure 1, the gateway control apparatus includes: access switch 12, monitor 14, alarm 16 and protector 18,
Wherein,
Monitor 14 is electrically connected with the foundation of access switch 12, whether there is trigger action for test access switch 12;
Specifically, monitor 14 is electrically connected by establishing with access switch 12, and when access switch 12 is triggered, monitor
14 can carry out judging whether access switch 12 is currently triggered by the electric signal of the access switch 12 changed due to triggering.
Monitor 14 is electrically connected with the foundation of alarm 16, is alerted for triggering alarm 16;
Specifically, whether monitor 14 is triggered by snoop accesses switch 12, and then judge whether to trigger alarm 16
It is alerted.
Monitor 14 is electrically connected with the foundation of protector 18, for controlling whether protector 18 locks.
Specifically, whether being triggered in monitor 14 by snoop accesses switch 12, further judge whether that control is anti-
Shield device 18 is locked, and when snoop accesses switch 12 is triggered, protector 18 keeps unlocked state to be connected with gateway
It connects, and loads the communication information between each terminal device and gateway, while triggering the alarm of alarm 16;Work as snoop accesses
When switch 12 is not triggered, monitor 14 controls protector 18 and is locked, and then prevents artificially to carry out protector 18 non-
It authorizes a change.
By above structure, analysis is learnt, the gateway control apparatus is specific as follows when controlling gateway: as shown in Figure 1,
The corresponding trigger signal of trigger action of access switch is received by monitor;Judge whether to trigger alarm according to trigger signal
And protector;Respective operations are executed according to judging result, are solved since there are easily modified for public wireless network universal
Security hidden trouble has achieved the effect that promote public wireless network safety.
To sum up, the controlling mechanism of gateway control apparatus provided in an embodiment of the present invention is built upon even if there is the lawless people palm
The account and password of administrator are held, if gateway setting cannot still be modified by not triggering access switch, so gateway control is set
In standby, when monitor 14, which listens to access switch 12, to be triggered, monitor 14 is alerted by alarm 16, and by protecting
Device unlocks current gateway equipment, notifies the administrative staff on current periphery to interfere with this, or carried out by periphery user
Interference, to prevent the setting of lawless people malicious modification gateway from implementing illegal intention.
The gateway control apparatus provided based on the above embodiment, Fig. 2 are gateway controls according to the preferred embodiment of the invention
The schematic diagram of the structure of equipment.As shown in Figure 2, wherein alarm 16 may include: voice guard 161 or visual alarm
162, wherein
Voice guard 161 includes: buzzer siren;
Visual alarm 162 includes: LED lamp alarm device.Wherein, LED lamp alarm device notifies administrator by light flash
Or the user of current gateway equipment is nearby used, current someone is intended to modification gateway setting.
Specifically, the alarm 16 in gateway control apparatus provided in an embodiment of the present invention can be voice guard 161
Or visual alarm 162, and alarm 16 can also be by voice guard 161 and visual alarm during specific implementation
162 are combined, to enhance alarm effect.
In alarm 16 in gateway control apparatus provided in an embodiment of the present invention, voice guard 161 is only with buzzing report
For alert device, visual alarm 162 is illustrated by taking LED lamp alarm device as an example, specifically without limitation, to realize alarm for mesh
's.
Preferably, access switch 12 may include: button or coded lock, wherein
Button or coded lock are electrically connected with monitor 14, for whether triggering alarm and triggering locking control to monitor 14
The trigger signal of system.
Specifically, when access switch 12 is button, due to the electric relationship established between access switch 12 and monitor 14,
When button is pressed, the potential change that button generates when being pressed can be listened to by monitor 14, and then monitor 14 will follow up
The change triggers alarm 16 of button current potential is alarmed;
When access switch 12 is coded lock, due to the electric relationship established between access switch 12 and monitor 14, due to
The password setting of coded lock is that only administrator holds, then is touched when monitor 14 listens to the current cryptographic key of coded lock,
And it is different from preset proper password by the password that each cryptographic key is composed, then monitor 14 is carried out alarm 16 is triggered
Alarm.
The gateway control apparatus provided based on the above embodiment, button may include: unlocking device, wherein
Unlocking device is electrically connected with monitor 14, is used for 14 unlocking signal of monitor.
Specifically, the unlocking device designed in the embodiment of the present invention is being repaired for administrator or the people for having administration authority
Use when changing, gateway is arranged causes the alarm of alarm 16 due to needing to open setting to avoid in routine maintenance,
Wherein unlocking device can be the lock core being set in button, administrator or have the people of administration authority need to gateway into
During row maintenance, modification or setting, by unlock with the matched key of lock core and trigger button simultaneously, thus make
It obtains monitor 14 and the holding unlocked state of protector 18 is triggered by control signal.
The unlocking device provided in the embodiment of the present invention is only illustrated by taking lock core as an example, to realize that gateway control apparatus is
Standard, specifically without limitation, furthermore in addition to above-mentioned unlocking device is lock core, unlocking device can also be fingerprint identification device, when fingerprint is known
When fingerprint that other device is got and the finger print information successful match prestored, monitor 14 is by listening to the letter of successful match
Number, the above-mentioned effect reached equally may be implemented, equally further also may recognize that not have by fingerprint identification device and award
Quan Zhe, so that when monitor 14 passes through and listens to the signal that it fails to match, triggering alarm 16 is alerted, and control institute
Protector 18 is stated to be locked.
The connection status of gateway control apparatus provided in an embodiment of the present invention and gateway can be following two:
State one: gateway control apparatus is a part in gateway;
When gateway control apparatus is a part of gateway, the access switch 12 in gateway control apparatus will be located at net
The outside of equipment is closed, monitor 14 is set in gateway, the modification corresponding in gateway of protector 18 or setting
Functional module establishes electrical connection, wherein monitor 14 is electrically connected with the foundation of access switch 12, function and the embodiment of the present invention one
Described in method it is identical, details are not described herein again, when 14 snoop accesses switch 12 of monitor, if the corresponding state of access switch 12
Signal changes, and trigger protection device 18 is locked modification or setting functional module in current gateway equipment by monitor 14, and is triggered
Alarm 16 is alerted.
State two: gateway control apparatus is an equipment connecting with gateway.
When gateway control apparatus is an equipment connecting with gateway, protector 18 in gateway control apparatus with
Gateway establishes electrical connection, when 14 snoop accesses switch 12 of monitor, if the corresponding status signal of access switch 12 changes,
Trigger protection device 18 is locked gateway by monitor 14, and is triggered alarm 16 and alerted.
Embodiment two
The embodiment of the invention provides a kind of gateway control methods.
The flow chart of Fig. 3 gateway control method according to an embodiment of the present invention.Gateway control provided in an embodiment of the present invention
Method can be applied to any gateway control apparatus shown in fig. 1 or fig. 2 in embodiment one, specifically, if Fig. 3 shows, the gateway
Control method comprises the following steps that
Step S302 receives the corresponding trigger signal of trigger action of access switch by monitor;
Specifically, being received by monitor from access when realizing gateway control method provided in an embodiment of the present invention
The corresponding trigger signal of the trigger action of switch.Wherein, the trigger action of access switch can be according to the function packet of access switch
It includes at least one of: pressing, identifies, unlocks and decode.
The corresponding trigger signal of the corresponding trigger action can be with are as follows: is illustrated for pressing, due to pressing operation
The variation that can produce potential state, when access switch is pressed, by high level (or the low electricity for pressing access switch generation
It is flat) potential state of current accessed switch is changed, thus monitor receives the high level that current accessed switch generates.
It is identical as the above-mentioned mode that presses to identify, unlock and decode corresponding trigger signal, difference is to identify, unlock and decoding can be with
The mode of information is transferred to monitor.
Step S304 judges whether to trigger alarm and protector according to trigger signal;
Specifically, being illustrated for the trigger signal still generated by pressing access switch in step S302, it is assumed that
Access switch is being in low level before pressing, which is stored in monitor, when access switch is pressed
When, access switch triggers high level, and monitor gets current accessed switch by monitoring and carries out in high level and low level
Compare, knows that the access switch is triggered, to trigger alarm and protector;If access switch is not pressed, keep
The state of low level, the level signal that monitor is listened to is constant, does not thus trigger alarm and protector then.
Step S306 executes respective operations according to judging result.
Specifically, generating the trigger signal of corresponding alarm, and generate according to the judgement in step S304 to trigger signal
The control signal of corresponding protector.Wherein, trigger signal for trigger alarm starting alarm, and then remind periphery there is currently
The access operation of non-administrator, to remind the people of surrounding to prevent or administrator to be reminded to prevent.Control signal is used for
Whether control protector executes lock program, to prevent non-administrator from gateway setting is modified, is arranged and being loaded illegally
Oracle listener, to ensure the user network safety using the public network provided by current gateway equipment, the embodiment of the present invention
The corresponding gateway of applicable gateway control apparatus can provide wifi network for the public or, being provided by physical connection conversion
Hotspot network is subject to and realizes gateway control method provided in an embodiment of the present invention, specifically without limitation.
From the foregoing, it will be observed that gateway control method provided in an embodiment of the present invention, the triggering of access switch is received by monitor
Operate corresponding trigger signal;Judge whether to trigger alarm and protector according to trigger signal;According to judging result execution pair
It should operate, solve universal there are easily modified security hidden trouble due to public wireless network, it is public to have reached promotion
The effect of wireless network secure.
Preferably, trigger signal includes: the first unlocking signal or the second unlocking signal, wherein the first unlocking signal is non-
The unlocking signal of authorization configuration gateway;Second unlocking signal is the unlocking signal of authorization configuration gateway.
Specifically, above-mentioned trigger signal is to touch originator as standard scores as trigger signal described in step S302 are as follows:
Authorize the unlocking signal of network server and the unlocking signal of unlicensed networks server.Distinguish above-mentioned trigger signal with whether
Whether Authorized operation corresponding authorization signal is listened to when to access switch.
For example, it is assumed that access switch is coded lock, when in the password combination and monitor of coded lock current password key output
When pre-stored password is identical, the trigger signal that coded lock feeds back to monitor is then the second unlocking signal, i.e. authorization configuration
The unlocking signal of gateway.
Similarly, when access switch is fingerprint identification device, by the way that the information after identification is fed back to monitor, by preparatory
The identification information stored into monitor is judged, judges the trigger signal for the first unlocking signal or the second unlocking signal.
Preferably, in step S304, judge whether to trigger alarm and protector according to trigger signal, comprising:
Step1. by the first unlocking signal or the second unlocking signal, with preset unlocking signal for configuring gateway into
Row matching, generates matching result;
Step2. it identifies matching result, and generates judging result according to matching result.
Specifically, in conjunction with Step1 and Step2 and the type of above-mentioned trigger signal, and combine described in step S304,
When judging whether to trigger alarm and protector, first, it is determined that in the first unlocking signal or the second unlocking signal, with default use
Whether matched in the unlocking signal of configuration gateway;Secondly, generating matching result according to matching;Finally, identification matching result
Judging result is generated, so that subsequent step S306 executes corresponding operation according to the judging result.
For example, when trigger signal is the first unlocking signal, match first unlocking signal whether with for configuring gateway
The unlocking signal of equipment is identical, due to the unlocking signal that the first unlocking signal is unauthorized configuration gateway, when monitor connects
When receiving first unlocking signal, will generate matching result is unauthorized unlocking signal, therefore generating judging result is triggering report
The alarm signal of alert device and the control signal of protector, wherein the control signal unlocks gateway for trigger protection device.
It is similar, when trigger signal is the second unlocking signal, match second unlocking signal whether with for configuring
The unlocking signal of gateway is identical, due to the unlocking signal that the second unlocking signal is authorization configuration gateway, works as monitor
When receiving second unlocking signal, the unlocking signal that matching result is authorization will be generated, therefore keep current alerts device and protection
The responsive state of device, that is, alarm is kept silent (not alerting), and protector keeps unlocked state.
Preferably, the judging result in step S306 may include following two type: triggering is non-toggle.
Wherein, step S306 includes following two embodiment 1:
Situation one: when the judgment result is yes, i.e., in the case where judging result is to trigger, following behaviour can be executed
Make step:
Step1a. the alarm signal of triggering alarm is generated;
Step2 a. sends alarm signal to alarm, and triggering alarm is alerted;
Step3 a. generates the control signal of triggering protector unlock;
Step4 a. sends control signal to protector, and triggering protector is unlocked control;
Specifically, in conjunction with preferred scheme in above-mentioned steps S304, it can be by executing above-mentioned 1 a of Step to step
Step4a realizes a kind of optional embodiment of step S306, i.e., when the judgment result is yes, firstly, generating triggering alarm
The alarm signal of device;Secondly, alarm signal is sent to alarm, to trigger alarm alarm;Third is generating alarm signal
While, generate the control unlocking signal of triggering protector locking;Finally, the control signal is sent to protector, to touch
It sends out protector and executes solution lock control.
Situation two: it when the judgment result is no, i.e., in the case where judging result is not trigger, can execute as follows
Operating procedure:
Step1b. the control signal of control alarm pause alarm is generated;
Step2b. control signal is sent to alarm, triggering alarm does not alert.
Specifically, in conjunction with preferred scheme in above-mentioned steps S304, it can be by executing above-mentioned Step1 b to step
Step2b realizes another optional embodiment of step S306, i.e., when the user of triggering access switch is administrator
When, when the judgment result is No, which is unlocked state, since common user can only be surfed the Internet by gateway, but can not be with non-
Method identity is modified or is arranged to gateway, and when there are user's modification or setting gateway, which needs logical
Triggering access switch is crossed to modify to gateway, but since above-mentioned Step1 b to step Step2b is for administrator
The user of identity could modify and be arranged gateway, so during realization, by identifying that the trigger signal is the second solution
Lock signal does not alert (that is, silent status) according to second unlocking signal control alarm holding.
Preferably, the corresponding trigger signal of trigger action for receiving access switch in step S302 by monitor, can be with
Including the following two kinds embodiment:
Mode one receives the operation signal of button feedback when access switch is button;
Mode two receives the Password Operations signal of coded lock feedback when access switch is coded lock.
Specifically, the trigger signal received in gateway control method provided in an embodiment of the present invention is with the corresponding behaviour of button
Make to be illustrated for signal and the corresponding Password Operations signal of coded lock, in actual operation, trigger signal can be foundation
The function signal of corresponding access switch function, for example, it is assumed that when access switch is fingerprint identification device, trigger signal
For the identification information of fingerprint identification device feedback, therefore the embodiment of the present invention is subject to and realizes gateway control method, does not limit specifically
It is fixed.
Embodiment three
The embodiment of the invention provides a kind of gateway control systems.
The structural schematic diagram of Fig. 4 gateway control system according to an embodiment of the present invention, if Fig. 4 shows, the gateway control system
It include: gateway 42, gateway control apparatus 44, one or more terminal devices 46 and network server 48, wherein
Gateway control apparatus 44 is electrically connected with the foundation of gateway 42, for controlling gateway 42;
Gateway 42 and one or more terminal devices 46 are established and are communicated to connect, and are used for one or more terminal devices
It establishes and communicates to connect with network server 48;
Wherein, gateway control apparatus 44 can be any gateway control apparatus shown in fig. 1 or fig. 2.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, mobile terminal, server or network equipment etc.) executes side described in each embodiment of the present invention
The all or part of the steps of method.And storage medium above-mentioned include: USB flash disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. are various to be can store
The medium of program code.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.