Summary of the invention
Embodiment of the invention technical matters to be solved is, the method, gate inhibition's control device, terminal and the gate control system that provide a kind of gate inhibition of realization to control, can pass through PTT (Push-To-Talk, PTT) mode sends gate inhibition's opening request, and according to terminal gate inhibition control of authority gate inhibition's unlatching, reduced the unnecessary fastener that the user carries, be user-friendly to.
For solving the problems of the technologies described above, the method that the embodiment of the invention provides a kind of gate inhibition of realization to control comprises:
Set up and to be connected with the PTT of terminal, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal;
Obtain the user identity identification number of described terminal, and number verify whether described terminal is registered terminal according to described user identity identification;
When checking is passed through, resolve the packet of the described terminal present located geographical location information that is received, obtain described terminal present located geographical location information;
Judge whether described terminal has the authority of opening described gate inhibition in the present located geographical location;
When being judged as when being, open the gate inhibition of current geographic position of living in correspondence for described terminal.
Preferably, described when being judged as when being, also comprise open the gate inhibition of current geographic position of living in correspondence for described terminal after:
To send to described terminal with the form of message to the result of gate inhibition's opening request of described terminal.
Preferably, the described user identity identification of obtaining described terminal number, and number verify that according to described user identity identification whether described terminal is also to comprise before the registered terminal:
In advance described terminal number is registered by user identity identification, and this geographic position of unlatching of being had when being at least one geographic position of default described terminal corresponding gate inhibition's authority.
Preferably, describedly judge whether described terminal has the authority of opening the gate inhibition in the present located geographical location and specifically comprise:
Obtain the pairing geographical location information of gate inhibition that default described terminal has access permission;
Described terminal present located geographic position and the pairing geographic position of gate inhibition that the described terminal of presetting has access permission are mated, confirm whether described terminal has the authority of opening the gate inhibition in the present located geographic position.
The embodiment of the invention also provides a kind of gate inhibition's control device, comprising:
Gate inhibition's opening request receiver module is used to set up with the PTT of terminal and is connected, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal;
Authentication module is used to obtain the user identity identification number of described terminal, and number verifies whether described terminal is registered terminal according to described user identity identification;
Parsing module is used for resolving the packet of the described terminal present located geographical location information that is received when described authentication module checking is passed through, and obtains described terminal present located geographical location information;
Judge module is used to judge whether described terminal has the authority of opening described gate inhibition in the present located geographical location;
Processing module is used for being judged as when being when described judge module, opens the gate inhibition of current geographic position of living in correspondence for described terminal.
Preferably, further comprise:
The result sending module, be used for gate inhibition's opening request result of described terminal send to described terminal with the form of message.
Preferably, further comprise:
Registering modules is used in advance described terminal number is registered by user identity identification, and this geographic position of unlatching of being had when being at least one geographic position of default described terminal corresponding gate inhibition's authority.
Preferably, described judge module comprises:
Acquiring unit is used to obtain the pairing geographical location information of gate inhibition that default described terminal has access permission;
Judging unit is used for described terminal present located geographic position and the pairing geographic position of gate inhibition that the described terminal of presetting has access permission are mated, and confirms whether described terminal has the authority of opening the gate inhibition in the present located geographic position.
The embodiment of the invention also provides a kind of terminal, comprising:
The geographical location information acquisition module is used to obtain the present located geographical location information;
Sending module is used to ask the PTT that sets up with gate inhibition's control device to be connected, and door is included the packet of prohibiting opening request and present located geographical location information sends to gate inhibition's control device;
Receiver module is used to receive the message of the result of gate inhibition's opening request that gate inhibition's control device sends.
The embodiment of the invention also provides a kind of gate control system, comprises terminal, gate inhibition's control device, and by at least one gate inhibition's actuating unit of described gate inhibition's control device control;
Described terminal, be used to obtain the present located geographical location information, request is set up and is connected with the PTT of gate inhibition's control device, and the packet that will comprise gate inhibition's opening request and present located geographical location information sends to gate inhibition's control device, the message of the result of gate inhibition's opening request that reception gate inhibition control device sends;
Described gate inhibition's control device, be used to set up with the PTT of terminal and be connected, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, obtain the user identity identification number of described terminal, and number verify whether described terminal is registered terminal according to described user identity identification, when checking is passed through, resolve the packet of the described terminal present located geographical location information that is received, obtain described terminal present located geographical location information, judge whether described terminal has the authority of opening described gate inhibition in the present located geographical location, when being judged as when being, control gate inhibition's actuating unit of the current geographic position of living in of described terminal correspondence;
Described gate inhibition's actuating unit is used to receive the control of the gate inhibition of institute control device, when having access permission in described terminal present located geographic position, opens the gate inhibition.
Implement the embodiment of the invention, have following beneficial effect:
Be connected with the PTT of terminal by setting up, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, obtain the user identity identification number of described terminal, and number verify whether described terminal is registered terminal according to described user identity identification, resolve the packet of the described terminal present located geographical location information that is received, obtain described terminal present located geographical location information, judge whether described terminal has access permission in the present located geographical location, when authority, open the gate inhibition of current geographic position of living in correspondence for described terminal.Adopt the present invention, have by the PTT mode and send gate inhibition's opening request,, reduced the user and carried unnecessary fastener, the advantage that is user-friendly to according to terminal gate inhibition control of authority gate inhibition's unlatching.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
For making purpose of the present invention, technical scheme and advantage clearer, below the embodiment of the invention is further described with reference to accompanying drawing.
With reference to figure 1, be the process flow diagram that the present invention realizes first embodiment of the method that the gate inhibition controls, as shown in Figure 1, this method may further comprise the steps:
Step S101 sets up and to be connected with the PTT of terminal, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal.
In this step, described foundation is connected with the PTT of terminal, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, be specially, terminal is by obtaining described terminal present located geographical location information, and the described present located geographical location information that obtains packed, by the PTT mode packet of gate inhibition's opening request and present located geographical location information is sent to gate inhibition's control device; Described gate inhibition's control device receives packet and gate inhibition's opening request of the present located geographical location information that described terminal sends over.Described terminal is obtained described terminal present located geographical location information, specifically can pass through LBS (Location Based Service, location-based service) and obtain its residing geographical location information.
Step S102 obtains the user identity identification number of described terminal, and number verifies whether described terminal is registered terminal according to described user identity identification.
In this step, the described user identity identification of obtaining described terminal number, and number verify whether described terminal is registered terminal according to described user identity identification, be specially, gate inhibition's control device obtains the user identity identification number of described terminal when connecting by PTT mode and terminal, and number verify whether described terminal is registered terminal according to the user identity identification of described terminal, when checking is passed through, then carry out described step S103, otherwise end operation.In the user identity identification of obtaining described terminal number, and number verify that according to described user identity identification whether described terminal is before the registered terminal, need in advance described terminal number is registered by user identity identification, and the access permission of default described terminal geographic position of living in correspondence.For example, described terminal can be mobile phone, the user identity identification of described mobile phone number comprises: UID (User Identification, user identity proves) number or/and IMSI (international mobilesubscriber identity, international mobile subscriber identity) number; Simultaneously, described terminal can also be for having the portable set of customer identification number, as PDA (Personal Digital Assistant, personal digital assistant) etc.
Step S103, the packet of the described terminal present located geographical location information that parsing is received obtains described terminal present located geographical location information.
Step S104 judges whether described terminal has the authority of opening described gate inhibition in the present located geographical location.
In this step, describedly judge whether described terminal has the authority of opening described gate inhibition in the present located geographical location, when being judged as when being, execution in step S105 then, otherwise end operation, be specially, gate inhibition's control device obtains the pairing geographical location information of gate inhibition that default described terminal has access permission, described terminal present located geographic position and the pairing geographic position of gate inhibition that the described terminal of presetting has access permission are mated, confirm whether described terminal has the authority of opening the gate inhibition in the present located geographic position.With the residential quarter is example, for example, the gate inhibition of described sub-district is divided into the sub-district guard for entrance gate, the dwelling unit gate inhibition of building gate inhibition and resident family, so when registration, here register by the phone number of mobile phone with resident family, in the prescribe a time limit resident family of each sub-district of right of distribution the authority of guard for entrance gate is arranged all so, and only stay in same the resident family in the building, the building access permission that just all has the building, and have only each resident family oneself just to have the unit access permission of own unit of being lived, wherein, the authority that has of party A-subscriber comprises: the guard for entrance gate authority, the unit access permission of the building access permission in No. 1 building and Unit 101, No. 1 building; The party B-subscriber is not the registered user of this sub-district; So when the party B-subscriber wants to enter the sub-district, will present located geographical location information and gate inhibition's opening request be sent to gate inhibition's control device by the mode of PTT, described gate inhibition's control device receives present located geographical location information and the gate inhibition's opening request that the party B-subscriber sends, will obtain described party B-subscriber's cell-phone number, and verify whether described mobile phone is registered users.When the party A-subscriber wants to enter the sub-district, when described gate inhibition's control device passes through party A-subscriber's checking, will obtain described party A-subscriber's present located geographic position, and obtain the access permission of default described mobile phone geographic position of living in correspondence of when registration, described mobile phone present located geographic position and the geographic position of having preset access permission are mated, obtain the access permission in described party A-subscriber's present located geographic position.
Step S105 opens the gate inhibition of current geographic position of living in correspondence for described terminal.
Wherein, when described terminal had access permission in the present located geographic position, gate inhibition's control device was controlled described gate inhibition's actuating unit and is opened described gate inhibition.With the residential quarter is example, for example, the gate inhibition of described sub-district is divided into the sub-district guard for entrance gate, the dwelling unit gate inhibition of building gate inhibition and resident family, so when registration, here register by the phone number of mobile phone with resident family, in the prescribe a time limit resident family of each sub-district of right of distribution the authority of guard for entrance gate is arranged all so, and only stay in same the resident family in the building, the building access permission that just all has the building, and have only each resident family oneself just to have the unit access permission of own unit of being lived, wherein, the authority that has of party A-subscriber comprises: the guard for entrance gate authority, the unit access permission of the building access permission in No. 1 building and Unit 101, No. 1 building; The party B-subscriber is not the registered user of this sub-district; So when the party B-subscriber wants to enter the sub-district, will present located geographical location information and gate inhibition's opening request be sent to gate inhibition's control device by the mode of PTT, described gate inhibition's control device receives present located geographical location information and the gate inhibition's opening request that the party B-subscriber sends, will obtain described party B-subscriber's cell-phone number, and verify whether described mobile phone is registered users, when described gate inhibition's control device verifies that conclusion that described party B-subscriber obtains is illegal user, then do not open the gate inhibition so.When the party A-subscriber wants to enter the sub-district, when described gate inhibition's control device passes through party A-subscriber's checking, will obtain described party A-subscriber's present located geographic position, and obtain the access permission of default described mobile phone geographic position of living in correspondence of when registration, described mobile phone present located geographic position and the geographic position of having preset access permission are mated, obtain the access permission in described party A-subscriber's present located geographic position, as party A-subscriber geographic position of living in is after the gate then sends gate inhibition's opening request, will open guard for entrance gate; Geographic position of living in be No. 1 building and send the gate inhibition and ask after, the building gate inhibition that will open No. 1 building; Geographic position of living in is before No. 1 building 101 unit gate inhibition and after sending gate inhibition's opening request, the unit gate inhibition that will open Unit 101, No. 1 building.
Implement the embodiment of the invention, be connected with the PTT of terminal by setting up, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, obtain the user identity identification number of described terminal, and number verify whether described terminal is registered terminal according to described user identity identification, resolve the packet of the described terminal present located geographical location information that is received, obtain described terminal present located geographical location information, judge whether described terminal has access permission in the present located geographical location, when authority, open the gate inhibition of current geographic position of living in correspondence for described terminal.Adopt the present invention, have by the PTT mode and send gate inhibition's opening request,, reduced the user and carried unnecessary fastener, the advantage that is user-friendly to according to terminal gate inhibition control of authority gate inhibition's unlatching.
With reference to figure 2, be the process flow diagram that the present invention realizes second embodiment of the method that the gate inhibition controls, as shown in Figure 2, this method may further comprise the steps:
Step S201 number registers by user identity identification described terminal in advance, and this geographic position of unlatching of being had when being at least one geographic position of default described terminal corresponding gate inhibition's authority.
In this step, describedly in advance described terminal number is registered by user identity identification, and this geographic position of unlatching of being had when being at least one geographic position of default described terminal corresponding gate inhibition's authority, be specially, with the residential quarter is example, for example, the gate inhibition of described sub-district is divided into the sub-district guard for entrance gate, the dwelling unit gate inhibition of building gate inhibition and resident family, so when registration, here register by the phone number of mobile phone with resident family, in the prescribe a time limit resident family of each sub-district of right of distribution the authority of guard for entrance gate is arranged all so, and only stay in same the resident family in the building, the building access permission that just all has the building, and have only each resident family oneself just to have the unit access permission of own unit of being lived, wherein, the authority that has of party A-subscriber comprises: the guard for entrance gate authority, the unit access permission of the building access permission in No. 1 building and Unit 101, No. 1 building so will be open-minded with the authority of party A-subscriber's correspondence when registration.
Step S202 to S206 is not here just giving unnecessary details with corresponding one by one and identical with reference to figure 1 described method step S101 to S105.
Step S207 will send to described terminal with the form of message to the result of gate inhibition's opening request of described terminal.
In this step, describedly will send to described terminal with the form of message to the result of gate inhibition's opening request of described terminal, be specially, the result of gate inhibition's opening request that described terminal can be sent sends the terminal of gate inhibition's opening request with the way of short messages notice, pass through as gate inhibition's opening request, can send note and be printed words such as " gate inhibition's opening request are passed through; please enter ", if and gate inhibition's opening request is not passed through, can send note and be printed words such as " failure of gate inhibition's opening request ", " you be disabled user ", make gate control system hommization more.
Implement the embodiment of the invention, be connected with the PTT of terminal by setting up, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, obtain the user identity identification number of described terminal, and number verify whether described terminal is registered terminal according to described user identity identification, resolve the packet of the described terminal present located geographical location information that is received, obtain described terminal present located geographical location information, judge whether described terminal has access permission in the present located geographical location, when authority, open the gate inhibition of current geographic position of living in correspondence for described terminal.Adopt the present invention, have by the PTT mode and send gate inhibition's opening request,, reduced the user and carried unnecessary fastener, the advantage that is user-friendly to according to terminal gate inhibition control of authority gate inhibition's unlatching.
With reference to figure 3, be the structural representation of embodiment of the invention gate control system, as shown in Figure 3, embodiment of the invention gate control system mainly comprises: gate inhibition's control device 1,terminal 2 and gate inhibition'sactuating unit 3 that at least one is controlled by gate inhibition's control device 1.Function and mutual relationship to each device is elaborated below.
Terminal 2 is used to obtain the present located geographical location information, and request is set up and to be connected with the PTT of gate inhibition's control device, and the packet that will comprise gate inhibition's opening request and present located geographical location information sends to gate inhibition's control device;
During concrete enforcement, describedterminal 2 is for possessing the terminal of PTT communication function, and for example, it can realize described function by built-in PTT functional chip.
Gate inhibition's control device 1, be used to set up with the PTT of terminal and be connected, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, obtain the user identity identification number of described terminal, and number verify whether describedterminal 2 is registered terminal 2 according to described user identity identification, when checking is passed through, resolve the packet of the describedterminal 2 present located geographical location information that received, obtain describedterminal 2 present located geographical location information, judge whether describedterminal 2 has the authority of opening described gate inhibition in the present located geographical location, when being judged as when being, control gate inhibition's actuating unit of the current geographic position of living in of described terminal correspondence, open the gate inhibition of current geographic position of living in correspondence for described terminal 2, particularly, can be to realize this control procedure to gate inhibition's actuating unit by sending an open command to this gate inhibition's actuating unit;
During concrete enforcement, described gate inhibition's control device 1 can be computing machine with PTT communication function or server etc.
Gate inhibition'sactuating unit 3 is used to receive the control of the gate inhibition of institute control device 1, when having access permission in described terminal 2 present located geographic position, opens the gate inhibition.
Concrete, described gate inhibition'sactuating unit 3 has one at least, when described terminal 2 current described geographic position when having access permission, described gate inhibition'sactuating unit 3 will be under the control of gate inhibition's control device 1, open described terminal 2 current described the geographic position have the pairing gate inhibition of access permission.
Implement the embodiment of the invention, be connected with the PTT of terminal by setting up, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, obtain the user identity identification number of described terminal, and number verify whether described terminal is registered terminal according to described user identity identification, resolve the packet of the described terminal present located geographical location information that is received, obtain described terminal present located geographical location information, judge whether described terminal has access permission in the present located geographical location, when authority, open the gate inhibition of current geographic position of living in correspondence for described terminal.Adopt the present invention, have by the PTT mode and send gate inhibition's opening request,, reduced the user and carried unnecessary fastener, the advantage that is user-friendly to according to terminal gate inhibition control of authority gate inhibition's unlatching.
With reference to figure 4, it is the structural representation of embodiment of the invention gate inhibition control device, as shown in Figure 4, embodiment of the invention gate inhibition control device mainly comprises: Registeringmodules 11, gate inhibition's openingrequest receiver module 12,authentication module 13, parsingmodule 14,judge module 15,processing module 16 and result sending module 17.Below each Elementary Function and mutual relationship are elaborated.
Registeringmodules 11 is used in advance describedterminal 2 number is registered by user identity identification, and this geographic position of unlatching of being had when being at least one geographic position of default described terminal corresponding gate inhibition's authority.
Describedly in advance describedterminal 2 number is registered by user identity identification, and this geographic position of unlatching of being had when being at least one geographic position of default describedterminal 2 corresponding gate inhibition's authority, be specially, with the residential quarter is example, for example, the gate inhibition of described sub-district is divided into the sub-district guard for entrance gate, the dwelling unit gate inhibition of building gate inhibition and resident family, so when registration, here register by the phone number of mobile phone with resident family, in the prescribe a time limit resident family of each sub-district of right of distribution the authority of guard for entrance gate is arranged all so, and only stay in same the resident family in the building, the building access permission that just all has the building, and have only each resident family oneself just to have the unit access permission of own unit of being lived, wherein, the authority that the party A-subscriber has comprises: the guard for entrance gate authority, the unit access permission of the building access permission in No. 1 building and Unit 101, No. 1 building so will be open-minded with the authority of party A-subscriber's correspondence when registration.
Gate inhibition's openingrequest receiver module 12 is used to set up with the PTT of terminal and is connected, and the packet that comprises gate inhibition's opening request and describedterminal 2 present located geographical location information that sends over of receivingterminal 2;
Described foundation is connected with the PTT of terminal, and the packet that comprises gate inhibition's opening request and describedterminal 2 present located geographical location information that sends over of receivingterminal 2, be specially, terminal 2 is by obtaining described terminal present located geographical location information, and the described present located geographical location information that obtains packed, by the PTT mode packet of gate inhibition's opening request and present located geographical location information is sent to gate inhibition's control device 1; Packet and gate inhibition's opening request of the present located geographical location information that the describedterminal 2 of described gate inhibition's control device 1 reception sends over.Describedterminal 2 is obtained described terminal 2 present located geographical location information, specifically can obtain its residing geographical location information by LBS.
Authentication module 13 is used to obtain the user identity identification number of described terminal 2, and number verifies whether describedterminal 2 is registered terminal 2 according to described user identity identification;
The described user identity identification of obtaining described terminal 2 number, and number verify whether describedterminal 2 is registered terminal 2 according to described user identity identification, be specially, gate inhibition's control device 1 is when connecting by PTT mode andterminal 2, obtain the user identity identification number of described terminal 2, and No. 2 verify whether describedterminal 2 is registered terminal 2 according to the user identity identification of described terminal; In the user identity identification of obtaining described terminal 2 number, and number verify that according to described user identity identification whether describedterminal 2 is before the registeredterminal 2, need in advance describedterminal 2 number is registered by user identity identification, and the access permission of default describedterminal 2 geographic position of living in correspondences.For example, described terminal can be mobile phone, the user identity identification of described mobile phone number comprises: UID (User Identification, user identity proves) number or/and IMSI (international mobile subscriber identity, international mobile subscriber identity) number; Simultaneously, described terminal can also be for having the portable set of customer identification number, as PDA (PersonalDigital Assistant, personal digital assistant) etc.
Parsingmodule 14 is used for resolving the packet of the describedterminal 2 present located geographical location information that received when describedauthentication module 13 checkings are passed through, and obtains described terminal 2 present located geographical location information;
Judge module 15 is used to judge whether describedterminal 2 has the authority of opening described gate inhibition in the present located geographical location; With reference to figure 5 are structural representations of the judge module of embodiment of the invention gate inhibition control device, and as shown in Figure 5, thejudge module 15 of embodiment of the invention gate inhibition's control device 1 mainly comprises:
Acquiring unit 151 obtains the pairing geographical location information of gate inhibition that default describedterminal 2 has access permission;
Judging unit 152, be used for described terminal 2 present located geographic position and the pairing geographic position of gate inhibition that the described terminal ofpresetting 2 has access permission are mated, confirm whether describedterminal 2 has the authority of opening the gate inhibition in the present located geographic position.
With the residential quarter is example, for example, the gate inhibition of described sub-district is divided into the sub-district guard for entrance gate, the dwelling unit gate inhibition of building gate inhibition and resident family, so when registration, here register by the phone number of mobile phone with resident family, in the prescribe a time limit resident family of each sub-district of right of distribution the authority of guard for entrance gate is arranged all so, and only stay in same the resident family in the building, the building access permission that just all has the building, and have only each resident family oneself just to have the unit access permission of own unit of being lived, wherein, the authority that has of party A-subscriber comprises: the guard for entrance gate authority, the unit access permission of the building access permission in No. 1 building and Unit 101, No. 1 building; The party B-subscriber is not the registered user of this sub-district; So when the party B-subscriber wants to enter the sub-district, will present located geographical location information and gate inhibition's opening request be sent to gate inhibition's control device by the mode of PTT, described gate inhibition's control device receives present located geographical location information and the gate inhibition's opening request that the party B-subscriber sends, will obtain described party B-subscriber's cell-phone number, and verify whether described mobile phone is registered users.When the party A-subscriber wants to enter the sub-district, when described gate inhibition's control device passes through party A-subscriber's checking, will obtain described party A-subscriber's present located geographic position, and obtain the access permission of default described mobile phone geographic position of living in correspondence of when registration, described mobile phone present located geographic position and the geographic position of having preset access permission are mated, obtain the access permission in described party A-subscriber's present located geographic position.
Processing module 16 is used for being judged as when being when describedjudge module 15, is the gate inhibition that describedterminal 2 is opened current geographic position of living in correspondence.
Described is the gate inhibition that described terminal 2 is opened current geographic position of living in correspondence, be specially, with the residential quarter is example, for example, the gate inhibition of described sub-district is divided into the sub-district guard for entrance gate, the dwelling unit gate inhibition of building gate inhibition and resident family, so when registration, here register by the phone number of mobile phone with resident family, in the prescribe a time limit resident family of each sub-district of right of distribution the authority of guard for entrance gate is arranged all so, and only stay in same the resident family in the building, the building access permission that just all has the building, and have only each resident family oneself just to have the unit access permission of own unit of being lived, wherein, the authority that has of party A-subscriber comprises: the guard for entrance gate authority, the unit access permission of the building access permission in No. 1 building and Unit 101, No. 1 building; The party B-subscriber is not the registered user of this sub-district; So when the party B-subscriber wants to enter the sub-district, will present located geographical location information and gate inhibition's opening request be sent to gate inhibition's control device by the mode of PTT, described gate inhibition's control device receives present located geographical location information and the gate inhibition's opening request that the party B-subscriber sends, will obtain described party B-subscriber's cell-phone number, and verify whether described mobile phone is registered users, when described gate inhibition's control device verifies that conclusion that described party B-subscriber obtains is illegal user, then do not open the gate inhibition so.When the party A-subscriber wants to enter the sub-district, when described gate inhibition's control device passes through party A-subscriber's checking, will obtain described party A-subscriber's present located geographic position, and obtain the access permission of default described mobile phone geographic position of living in correspondence of when registration, described mobile phone present located geographic position and the geographic position of having preset access permission are mated, obtain the access permission in described party A-subscriber's present located geographic position, as party A-subscriber geographic position of living in is after the gate then sends gate inhibition's opening request, will open guard for entrance gate; Geographic position of living in be No. 1 building and send the gate inhibition and ask after, the building gate inhibition that will open No. 1 building; Geographic position of living in is before No. 1 building 101 unit gate inhibition and after sending gate inhibition's opening request, the unit gate inhibition that will open Unit 101, No. 1 building.
Result sending module 17 is used for gate inhibition's opening request result of describedterminal 2 is sent to described terminal 2 with the form of message.
Described gate inhibition's opening request result with describedterminal 2 sends to described terminal 2 with the form of message, be specially, the result of gate inhibition's opening request that describedterminal 2 can be sent sends theterminal 2 of gate inhibition's opening request with the way of short messages notice, pass through as gate inhibition's opening request, can send note and be printed words such as " gate inhibition's opening request are passed through; please enter ", if and gate inhibition's opening request is not passed through, can send note and be printed words such as " failure of gate inhibition's opening request ", " you be disabled user ", make gate control system hommization more.
Implement the embodiment of the invention, be connected with the PTT of terminal by setting up, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, obtain the user identity identification number of described terminal, and number verify whether described terminal is registered terminal according to described user identity identification, resolve the packet of the described terminal present located geographical location information that is received, obtain described terminal present located geographical location information, judge whether described terminal has access permission in the present located geographical location, when authority, open the gate inhibition of current geographic position of living in correspondence for described terminal.Adopt the present invention, have by the PTT mode and send gate inhibition's opening request,, reduced the user and carried unnecessary fastener, the advantage that is user-friendly to according to terminal gate inhibition control of authority gate inhibition's unlatching.
With reference to figure 6, be the structural representation of embodiment of the invention terminal, as shown in Figure 6, embodiment of theinvention terminal 2 mainly comprises: geographical location information acquisition module 21, sending module 22 and receiver module 23.Below each Elementary Function and mutual relationship are elaborated.
Geographical location information acquisition module 21 is used to obtain the present located geographical location information;
Sending module 22 is used to ask the PTT that sets up with gate inhibition's control device 1 to be connected, and the packet of gate inhibition's opening request and present located geographical location information is sent to gate inhibition's control device 1;
Receiver module 23 is used to receive the message of the result of gate inhibition's opening request that gate inhibition's control device 1 sends.
Implement the embodiment of the invention, be connected with the PTT of terminal by setting up, and the packet that comprises gate inhibition's opening request and described terminal present located geographical location information that sends over of receiving terminal, obtain the user identity identification number of described terminal, and number verify whether described terminal is registered terminal according to described user identity identification, resolve the packet of the described terminal present located geographical location information that is received, obtain described terminal present located geographical location information, judge whether described terminal has access permission in the present located geographical location, when authority, open the gate inhibition of current geographic position of living in correspondence for described terminal.Adopt the present invention, have by the PTT mode and send gate inhibition's opening request,, reduced the user and carried unnecessary fastener, the advantage that is user-friendly to according to terminal gate inhibition control of authority gate inhibition's unlatching.
One of ordinary skill in the art will appreciate that all or part of flow process in the method that realizes the foregoing description, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed is preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.