Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that embodiments of the invention described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment one
Embodiments provide a kind of gateway control apparatus.
Fig. 1 is the schematic diagram of the structure of gateway control apparatus according to the embodiment of the present invention.Due to the object described, the architecture painted is only an example of applicable environment, not any limitation is proposed to the scope of application of the application or function, also this gateway control apparatus should be interpreted as the arbitrary assembly shown in accompanying drawing 1 or its combination has any dependence or demand.
As shown in Figure 1, this gateway control apparatus comprises: access switch 12, monitor 14, alarm 16 and protector 18, wherein,
Monitor 14 is set up with access switch 12 and is electrically connected, and whether there is trigger action for test access switch 12;
Concrete, monitor 14 is electrically connected by setting up with access switch 12, and when access switch 12 is triggered, whether monitor 14 by the signal of telecommunication owing to triggering the access switch 12 changed, can carry out judging that access switch 12 is current and be triggered.
Monitor 14 is set up with alarm 16 and is electrically connected, and carries out alarm for triggered alarm 16;
Concrete, whether monitor 14 is triggered by snoop accesses switch 12, and then judges whether that triggered alarm 16 carries out alarm.
Whether monitor 14 is set up with protector 18 and is electrically connected, lock for controlling protector 18.
Concrete, whether be triggered by snoop accesses switch 12 at monitor 14, further judge whether that controlling protector 18 locks, when snoop accesses switch 12 is triggered, protector 18 keeps released state to be connected with gateway device, and the communication information loaded between each terminal equipment and gateway device, simultaneously triggered alarm 16 alarm; When snoop accesses switch 12 is not triggered, monitor 14 controls protector 18 and locks, and then prevention artificially carries out unauthorized update to protector 18.
By said structure, analysis is learnt, this gateway control apparatus is specific as follows when controlling gateway device: as shown in Figure 1, by the triggering signal that the trigger action of monitor reception access switch is corresponding; Triggered alarm and protector is judged whether according to triggering signal; Perform respective operations according to judged result, solve because the universal of public wireless network exists easily modified security hidden trouble, reach the effect promoting public wireless network safety.
To sum up, even if the controlling mechanism of the gateway control apparatus that the embodiment of the present invention provides is based upon account and the password that lawless people grasps keeper, if do not trigger access switch still can not revise gateway setting, so in gateway control apparatus, when monitor 14 listen to access switch 12 be triggered time, monitor 14 carries out alarm by alarm 16, and unlock current gateway equipment by protector, notify that the administrative staff of current periphery interfere with this, or interfered by periphery user, thus prevent lawless people malicious modification gateway from the illegal intention of enforcement is set.
Based on the gateway control apparatus that above-described embodiment provides, Fig. 2 is the schematic diagram of the structure of gateway control apparatus according to the preferred embodiment of the invention.As shown in Figure 2, wherein, alarm 16 can comprise: voice guard 161 or visual alarm 162, wherein,
Voice guard 161 comprises: buzzer siren;
Visual alarm 162 comprises: LED lamp alarm device.Wherein, LED lamp alarm device notifies the user of keeper or neighbouring use current gateway equipment by light flash, and the current people of having is intended to amendment gateway device and arranges.
Concrete, alarm 16 in the gateway control apparatus that the embodiment of the present invention provides can be voice guard 161 or visual alarm 162, and in specific implementation process, voice guard 161 and visual alarm 162 can also combine by alarm 16, to strengthen alarm effect.
In alarm 16 in the gateway control apparatus that the embodiment of the present invention provides, voice guard 161 is only for buzzer siren, and visual alarm 162 is described for LED lamp alarm device, does not specifically limit, to realize for the purpose of alarm.
Preferably, access switch 12 can comprise: button or coded lock, wherein,
Button or coded lock are electrically connected with monitor 14, for monitor 14 whether trigger alarm and trigger the triggering signal that locking controls.
Concrete, when access switch 12 is button, due to the electric relation set up between access switch 12 and monitor 14, when button is pressed, the potential change produced when button is pressed can be listened to by monitor 14, and then will the follow up change triggers alarm 16 of button current potential of monitor 14 is reported to the police;
When access switch 12 is coded lock, due to the electric relation set up between access switch 12 and monitor 14, because the password setting of coded lock is held for only having keeper, the cryptographic key then listening to coded lock current when monitor 14 is touched, and the password combined by each cryptographic key is different from the proper password preset, then triggered alarm 16 is reported to the police by monitor 14.
Based on the gateway control apparatus that above-described embodiment provides, button can comprise: unlocking device, wherein,
Unlocking device is electrically connected with monitor 14, for monitor 14 unlocking signal.
Concrete, the unlocking device designed in the embodiment of the present invention be for keeper or possess administration authority people in amendment, use when gateway device is set, to avoid reporting to the police because needs unlatching arranges initiation alarm 16 in routine maintenance, wherein unlocking device can for being arranged at the lock core in button, keeper or the people possessing administration authority keep in repair gateway device at needs, amendment, or in the process arranged, undertaken unblanking by the key mated with lock core and simultaneously trigger button, make monitor 14 trigger protector 18 by control signal thus and keep released state.
The unlocking device provided in the embodiment of the present invention is only described for lock core, be as the criterion to realize gateway control apparatus, specifically do not limit, in addition except above-mentioned unlocking device is lock core, unlocking device can also be fingerprint identification device, when the match is successful for the fingerprint that fingerprint identification device gets and the finger print information prestored, monitor 14 is by listening to the signal that the match is successful, the above-mentioned effect reached can be realized equally, gone out by the further also identifiable design of fingerprint identification device equally and do not possess authorized person, so that when monitor 14 is by listening to the signal that it fails to match, triggered alarm 16 carries out alarm, and control described protector 18 and lock.
The connection status of the gateway control apparatus that the embodiment of the present invention provides and gateway device can be following two kinds:
State one: gateway control apparatus is the part in gateway device;
When gateway control apparatus is gateway device a part of, access switch 12 in gateway control apparatus will be positioned at the outside of gateway device, monitor 14 is arranged in gateway device, protector 18 and the corresponding amendment in gateway device or functional module is set sets up and be electrically connected, wherein, monitor 14 is set up with access switch 12 and is electrically connected, its function is identical with method described in the embodiment of the present invention one, repeat no more herein, when monitor 14 snoop accesses switch 12, if the status signal of access switch 12 correspondence changes, trigger protection device 18 is locked the amendment in current gateway equipment or arranges functional module by monitor 14, and triggered alarm 16 carries out alarm.
State two: gateway control apparatus is the equipment be connected with gateway device.
When gateway control apparatus is the equipment be connected with gateway device; protector 18 in gateway control apparatus is set up with gateway device and is electrically connected; when monitor 14 snoop accesses switch 12; if the status signal of access switch 12 correspondence changes; trigger protection device 18 is locked gateway device by monitor 14, and triggered alarm 16 carries out alarm.
Embodiment two
Embodiments provide a kind of gateway control method.
Fig. 3 is according to the flow chart of the gateway control method of the embodiment of the present invention.The gateway control method that the embodiment of the present invention provides can be applied to any one gateway control apparatus in embodiment one shown in Fig. 1 or Fig. 2, and specifically, as Fig. 3 shows, it is as follows that this gateway control method comprises step:
Step S302, by the triggering signal that the trigger action of monitor reception access switch is corresponding;
Concrete, when realizing the gateway control method that the embodiment of the present invention provides, received from triggering signal corresponding to the trigger action of access switch by monitor.Wherein, access switch trigger action can according to the function of access switch comprise following one of at least: press pressure, identification, unlock and decoding.
The triggering signal that this corresponding trigger action is corresponding can be: be described to press pressure, the change of potential state can be produced owing to pressing press operation, when access switch is pressed pressure, the high level (or low level) produced by pressing pressure access switch makes the potential state of current accessed switch change, and monitor receives the high level that current accessed switch produces thus.The corresponding triggering signal that identifies, unlocks and decode is identical with above-mentioned pressure mode of pressing, and difference is to identify, unlock and decode and can be passed to monitor in the mode of information.
Step S304, judges whether triggered alarm and protector according to triggering signal;
Concrete, the triggering signal still produced to press pressure access switch in step S302 is described, suppose that access switch was in low level before being pressed pressure, this low level state is stored in monitor, when access switch is pressed pressure, access switch triggers high level, and monitor gets current accessed switch by monitoring and is in high level and low level compares, know that this access switch is triggered, thus triggered alarm and protector; If access switch is not pressed pressure, then keep low level, the state of the level signal that monitor listens to is constant, thus then not triggered alarm and protector.
Step S306, performs respective operations according to judged result.
Concrete, according to the judgement to triggering signal in step S304, generate the triggering signal of corresponding alarm, and generate the control signal of corresponding protector.Wherein, triggering signal is used for triggered alarm and starts alarm, and then reminds the current accessing operation that there is non-administrator of periphery, to remind people around to carry out stoping or remind keeper to stop.Whether control signal performs lock program for controlling protector, to prevent non-administrator, illegal oracle listener is modified, arranges and is loaded in gateway setting, thus ensure the user network safety that the public network provided by current gateway equipment is provided, gateway device corresponding to the gateway control apparatus that the embodiment of the present invention is suitable for can for the public provide wifi network or, the hotspot network provided by physical connection conversion, the gateway control method provided to realize the embodiment of the present invention is as the criterion, and does not specifically limit.
As from the foregoing, the gateway control method that the embodiment of the present invention provides, by the triggering signal that the trigger action of monitor reception access switch is corresponding; Triggered alarm and protector is judged whether according to triggering signal; Perform respective operations according to judged result, solve because the universal of public wireless network exists easily modified security hidden trouble, reach the effect promoting public wireless network safety.
Preferably, triggering signal comprises: the first unlocking signal or the second unlocking signal, and wherein, the first unlocking signal is the unlocking signal of unauthorized h.323-configured gateway equipment; Second unlocking signal is the unlocking signal of authorization configuration gateway device.
Concrete, the same with the triggering signal described in step S302, above-mentioned triggering signal with tactile originator for standard is divided into: the unlocking signal of authorisation network server and the unlocking signal of unlicensed networks server.Distinguish above-mentioned triggering signal with whether to whether listening to authorization signal corresponding to Authorized operation during access switch.
Such as, suppose that access switch is coded lock, when the password combination that coded lock current password key exports is identical with the password prestored in monitor, the triggering signal that coded lock feeds back to monitor is then the second unlocking signal, the i.e. unlocking signal of authorization configuration gateway device.
In like manner, when access switch is fingerprint identification device, by by identify after information feed back to monitor, judged by the identifying information prestored in monitor, judge that this triggering signal is the first unlocking signal or the second unlocking signal.
Preferably, in step S304, judge whether triggered alarm and protector according to triggering signal, comprising:
Step1. by the first unlocking signal or the second unlocking signal, mate with the unlocking signal preset for h.323-configured gateway equipment, generate matching result;
Step2. identify matching result, and generate judged result according to matching result.
Concrete, in conjunction with Step1 and Step2, and the type of above-mentioned triggering signal, and described in integrating step S304, when judging whether triggered alarm and protector, first, judge, in the first unlocking signal or the second unlocking signal, whether to mate with the unlocking signal preset for h.323-configured gateway equipment; Secondly, matching result is generated according to coupling; Finally, identify that matching result generates judged result, so that subsequent step S306 performs corresponding operation according to this judged result.
Such as; when triggering signal is the first unlocking signal; whether identically with the unlocking signal for h.323-configured gateway equipment mate this first unlocking signal; due to the unlocking signal that the first unlocking signal is unauthorized h.323-configured gateway equipment; when monitor receives this first unlocking signal, be unauthorized unlocking signal by generation matching result, therefore generating judged result is the alarm signal of triggered alarm and the control signal of protector; wherein, this control signal is used for trigger protection device unblock gateway device.
Similar; when triggering signal is the second unlocking signal; whether identically with the unlocking signal for h.323-configured gateway equipment mate this second unlocking signal; due to the unlocking signal that the second unlocking signal is authorization configuration gateway device, when monitor receives this second unlocking signal, be the unlocking signal of authorizing by generating matching result; therefore the responsive state of current alerts device and protector is kept; that is, alarm keeps mourning in silence (not alarm), and protector keeps released state.
Preferably, the judged result in step S306 can comprise following two types: trigger or non-toggle.
Wherein, step S306 comprises following two kinds of execution modes 1:
Situation one: when judged result is for being, namely when judged result is generation triggering, can perform following operating procedure:
Step1a. the alarm signal of triggered alarm is generated;
Step2 a. sends alarm signal to alarm, and triggered alarm carries out alarm;
Step3 a. generates the control signal triggering protector and unlock;
Step4 a. transmits control signal to protector, triggers protector and carries out solution lock control;
Concrete, in conjunction with scheme preferred in above-mentioned steps S304, the optional embodiment of one of step S306 can being realized by performing above-mentioned Step 1 a to step Step4a, namely when judged result is for being, first, generating the alarm signal of triggered alarm; Secondly, send alarm signal to alarm, thus triggered alarm alarm; 3rd, while generation alarm signal, generate the control unlocking signal triggering protector locking; Finally, this control signal is sent to protector, thus triggers protector execution solution lock control.
Situation two: when judged result is no, namely when judged result be do not occur trigger, following operating procedure can be performed:
Step1b. generate and control the control signal that alarm suspends alarm;
Step2b. transmit control signal to alarm, triggered alarm not alarm.
Concrete, in conjunction with scheme preferred in above-mentioned steps S304, another optional embodiment of step S306 can be realized by performing above-mentioned Step1 b to step Step2b, namely when the user triggering access switch is keeper, when judged result is no, which is released state, because common user can only be surfed the Net by gateway, but cannot identity modify to gateway device or arrange to illegally, and when there is user's amendment or arranging gateway device, this user needs to modify to gateway device by triggering access switch, but because above-mentioned Step1 b to step Step2b could revise for the user of keeper's identity and arrange gateway device, so in implementation procedure, by identifying that this triggering signal is the second unlocking signal, (namely control alarm according to this second unlocking signal keeps not alarm, silent status).
Preferably, by the triggering signal that the trigger action of monitor reception access switch is corresponding in step S302, the following two kinds execution mode can be comprised:
Mode one, when access switch is button, receives the operation signal of button feedback;
Mode two, when access switch is coded lock, receives the Password Operations signal of coded lock feedback.
Concrete, the triggering signal received in the gateway control method that the embodiment of the present invention provides is with operation signal corresponding to button, the Password Operations signal corresponding with coded lock is that example is described, in practical operation, triggering signal can be the function signal according to corresponding access switch function, such as, when supposing that access switch is fingerprint identification device, triggering signal can be just the identifying information of fingerprint identification device feedback, therefore the embodiment of the present invention is as the criterion to realize gateway control method, does not specifically limit.
Embodiment three
Embodiments provide a kind of gateway control system.
Fig. 4 is according to the structural representation of the gateway control system of the embodiment of the present invention, and as Fig. 4 shows, this gateway control system comprises: gateway device 42, gateway control apparatus 44, one or more terminal equipment 46 and the webserver 48, wherein,
Gateway control apparatus 44 is set up with gateway device 42 and is electrically connected, for controlling gateway device 42;
Gateway device 42 and one or more terminal equipment 46 establish a communications link, for one or more terminal equipment and the webserver 48 being established a communications link;
Wherein, gateway control apparatus 44 can be any one gateway control apparatus shown in Fig. 1 or Fig. 2.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, mobile terminal, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.