Summary of the invention
The invention provides a kind of method of the outdoor communication machine room door integrated control ﹠ management based on communication network, its objective is and to realize that the maintainer initiatively opens the door, Surveillance center monitors situations such as maintainer, working time, gate inhibition's state automatically, and the realization real-time management also records related data in the database of monitoring central server automatically.
For achieving the above object, the technical solution used in the present invention is: a kind of method of the outdoor communication machine room door integrated control ﹠ management based on communication network thes contents are as follows:
Set up a Centralized Monitoring central platform, this Centralized Monitoring central platform mainly is made of server, network interface card and wireless modem, server is equipped with system software, database software and monitoring software, server forms wire network communication system through network interface card and Internet connection, and server is connected to form wireless transceiver system through wireless modem and wireless business correspondence network.
One cover gate inhibition's control circuit and electronic lock is installed for the gate inhibition of each outdoor communication equipment room, and corresponding each gate inhibition sets in advance unique gate inhibition's cognizance code in server database, this gate inhibition's cognizance code is corresponding one by one with the mailing address of installation gate inhibition control circuit, the communication interface of gate inhibition's control circuit is connected with server by the internet, the control end of gate inhibition's control circuit drives electronic lock and removes gate inhibition or locking gate inhibition, sets in advance the operational order of removing gate inhibition and locking gate inhibition in the server.
Be equipped with a mobile phone for each maintainer, cell-phone number is kept in the server database as maintainer's identification code in advance, set in advance one group of gate inhibition's cognizance code at each cell-phone number in the server database, this group gate inhibition cognizance code has determined the maintainer of this cell-phone number correspondence to allow to pass in and out the authority of outdoor communication equipment room.
In operational process, the maintainer use mobile phone in accordance with regulations form get in touch with by wireless business correspondence network and wireless modem to send short message mode, after wireless modem receives the note that a certain maintainer sends by mobile phone, monitoring software is at first from wireless modem short message reading and parse cell-phone number and short message content, the operation code that short message content comprises gate inhibition's cognizance code at least and removes gate inhibition or locking gate inhibition, then the cell-phone number of preserving in the cell-phone number that parses and the server database is compared and authenticate maintainer's identity, if be not recorded in the server database cell-phone number that parses for future reference by authentication, pressing refuse messages handles and termination routine, if by authentication then cell-phone number and the short message content that parses is kept in the server database, then gate inhibition's cognizance code of preserving in gate inhibition's cognizance code that will parse and the server database compares and judges whether operated gate inhibition exists, if operated gate inhibition exists, the cell-phone number that homographic solution in the gate inhibition's cognizance code that parses and the server database is separated out and one group of gate inhibition's cognizance code setting in advance compare and check maintainer's authority again, refuse next step operation if do not check monitoring software by authority, and send SMS Tip to maintainer's mobile phone, will be if check monitoring software according to releasing gate inhibition who parses or locking gate inhibition's operation code requirement by authority, send the operational order of removing gate inhibition or locking gate inhibition by the internet to the pairing gate inhibition's control circuit of the gate inhibition's cognizance code that parses, gate inhibition's control circuit and electronic lock are carried out this operational order and are removed gate inhibition or locking gate inhibition, gate inhibition's control circuit will be removed the gate inhibition or locking gate inhibition response signal is beamed back server by the internet afterwards, in server database, wireless modem sends to mobile phone by wireless business correspondence network and has removed gate inhibition or locking gate inhibition's SMS Tip monitoring software simultaneously with the time keeping of this response signal.
Related content in the technique scheme is explained as follows:
1, in the such scheme, described " wireless business correspondence network " is meant the commercial off-the-shelf cordless communication network, can select for use based on GSM, CDMA or developing from pas network etc.
2, in the such scheme, described " internet " is meant the wired ethernet of putting into commercial operation at present (all representing the internet with Ethernet among Fig. 1 and Fig. 2).
3, in the such scheme, described " wireless modem " is the visual plant of present wireless business correspondence network, and it is the unification of following two equipment at least: (1) wireless speech/data/fax MODEM; (2) SMS-Short Message Service, short message service.
4, in the such scheme, described " network interface card " is meant the network interface card that cable network uses.
5, in the such scheme, described " gate inhibition's control circuit " is meant the circuit that opens or closes of control electronic lock, sort circuit except that controlling that electronic lock opens or closes the gate inhibition and, also by having communication function between internet and the server, see shown in Figure 2.
6, in the such scheme, described server regularly sends inquiry gate inhibition status command to the pairing gate inhibition's control circuit of the gate inhibition of each outdoor communication equipment room by the internet, gate inhibition's control circuit is beamed back server with present gate inhibition's condition responsive signal by the internet after receiving inquiry gate inhibition status command.
7, in the such scheme, described monitoring software carries out statistics and analysis to the outdoor communication machine room door in the server database and maintainer's data, and generates maintenance daily record and statistical report form.
Principle of work of the present invention is: comprise Centralized Monitoring central platform, mobile phone, gate inhibition's control circuit and electronic lock.The Centralized Monitoring central platform mainly is made of server, system software, database software, monitoring software, wireless modem and wired network adapter, and wherein wireless modem can select for use based on commercial off-the-shelf cordless communication networks such as GSM, CDMA or developing from pas network.The Centralized Monitoring central platform is exactly by the operation realization of wireless modem and maintainer's mobile phone are communicated, and the maintainer communicates by letter with the Centralized Monitoring central platform by cordless communication network by the sending short message by mobile phone mode.Monitoring software carries out authentication, authority is checked, after task is confirmed, whether remove gate inhibition or locking gate inhibition's action, and utilize wired business correspondence network (internet) resource of outdoor communication equipment room to instruct to gate inhibition's control circuit transmit operation of outdoor communication equipment room, gate inhibition's control circuit receives that the instruction of Centralized Monitoring central platform is carried out the releasing gate inhibition by electronic lock or the locking gate inhibition operates, and the response signal of operating result is beamed back the Centralized Monitoring central platform.Monitoring software can carry out statistics and analysis to the outdoor communication machine room door in the server database and maintainer's data, and generates maintenance daily record and statistical report form.
Because technique scheme utilization, the present invention compared with prior art has the following advantages and effect: the invention enables the control of outdoor communication machine room door and management to become simple, the maintainer only need use mobile phone to send a note, the Centralized Monitoring central platform is checked by authentication and authority, automatically the gate inhibition to outdoor communication equipment room controls, and record data, generate maintenance log.The present invention adopts modular design, and the user can select the operator wireless communication network flexibly according to the wireless network situation of locality.The present invention can also be applied in the outdoor machine room of systems such as electric power, coal, petrochemical complex, and its gate inhibition is carried out networking, by control and the management of Centralized Monitoring central platform realization to outdoor machine room gate inhibition.
Embodiment
Below in conjunction with drawings and Examples the present invention is further described:
Embodiment: based on the method for the outdoor communication machine room door integrated control ﹠ management of communication network
Gate inhibition's networking block diagram of the present invention mainly is made up of Centralized Monitoring central platform, mobile phone, gate inhibition's control circuit and electronic lock as shown in Figure 1.Mobile phone is used by the maintainer, communicate by letter with the wireless modem of Centralized Monitoring central platform by short message mode, mobile phone can be according to the situation of local cordless communication network, when selecting cordless communication network, select corresponding mobile phone simultaneously, just select GSM mobile handset for use as the GSM network, cdma network is just selected the CDMA mobile phone for use, and developing from pas network is just selected Personal Handyphone System for use.The Centralized Monitoring central platform utilizes wired business correspondence network of outdoor communication equipment room to communicate by letter with gate inhibition's control circuit, realizes the control of Centralized Monitoring central platform to outdoor communication machine room door.Particular content is as follows:
1, sets up a Centralized Monitoring central platform, this Centralized Monitoring central platform mainly is made of server, network interface card and wireless modem, server is equipped with system software, database software and monitoring software, server forms wire network communication system through network interface card and Internet connection, and server is connected to form wireless transceiver system through wireless modem and wireless business correspondence network.The server hardware of Centralized Monitoring central platform is configured to: the above CPU of 2G, the above internal memory of 1G, the above hard disk of 160G, display more than 17 inches.Operating system can adopt WINDOWS2003 Server, and software development language is VisualStudio, and database adopts SQL SERVER 2003.Wireless modem links to each other with server by serial ports, selects according to network condition.
2, be equipped with a mobile phone for each maintainer, cell-phone number is kept in the server database as maintainer's identification code in advance, set in advance one group of gate inhibition's cognizance code at each cell-phone number in the server database, this group gate inhibition cognizance code has determined the maintainer of this cell-phone number correspondence to allow to pass in and out the authority of outdoor communication equipment room.
3, a cover gate inhibition's control circuit and an electronic lock is installed for the gate inhibition of each outdoor communication equipment room, and corresponding each gate inhibition sets in advance unique gate inhibition's cognizance code in server database, this gate inhibition's cognizance code is corresponding one by one with the mailing address of installation gate inhibition control circuit, the communication interface of gate inhibition's control circuit is connected with server by the internet, the control end of gate inhibition's control circuit drives electronic lock and removes gate inhibition or locking gate inhibition, sets in advance the operational order of removing gate inhibition and locking gate inhibition in the server.
About gate inhibition's cognizance code, introduce a kind of numbering of outdoor communication machine room door earlier.This programme requires the every Yishanmen of outdoor communication equipment room that a unique independent numbering is all arranged, and consistent with numbering in the Centralized Monitoring central platform server database.This numbering can be printed on the door, can be made up of Chinese character, English alphabet or numeral.In fact, most outdoor communication equipment rooms all carried out unified numbering by its operator, directly utilized the unified numbering of operator just passable.Less than what number, introduce a kind of numbering for minority here.
Gate inhibition's number format is as follows:
Address information characterizes the address of outdoor communication equipment room, as Suzhou Jing Maolu, and available " SZJML " presentation address information; Serial number characterizes the flowing water numbering of this outdoor communication equipment room on this address, as " 001 "; Door number is when an outdoor communication equipment room has multiple leaf door and adopt, and such as be numbered " 1 " of door, so this outdoor communication machine room door is numbered " SZJML001-1 ".
Described gate inhibition's control circuit just is mounted in the circuit of the control electronic lock on the outdoor communication equipment room door, its circuit theory as shown in Figure 2, its input end employing-48V DC power supply, produce the 5V power supply through power circuit and supply with single-chip microcomputer, and generation 12V supplies with electronic lock, single-chip microcomputer in the circuit adopts C8051F330, links to each other with serial ports/Ethernet commutator by serial ports, thereby can receive the order that the Centralized Monitoring central platform sends.The communications protocol format here is as follows:
Such as, frame head and postamble all adopt a byte, and numerical value is 0x7e;
Command number:
0x01 represents to remove gate inhibition's (mailing to the gate inhibition by monitor supervision platform) for the order of opening the door;
0x02 is inquiry gate inhibition's state (mailing to the gate inhibition by monitor supervision platform);
0x03 is inquiry gate inhibition status response order (mail to monitor supervision platform by the gate inhibition, comprise and removing and the locking two states);
0x04 receives response (mailing to monitor supervision platform by the gate inhibition) after the correct order for gate inhibition's control circuit;
0x05 receives response (mailing to monitor supervision platform by the gate inhibition) behind the bad command for gate inhibition's control circuit;
Frame length: be the byte number after these frame data are removed the frame head postamble, with two byte representations;
Data: when order is to be this gate inhibition's numbering when removing gate inhibition or locking gate inhibition, when order is inquiry gate inhibition status command, be gate inhibition's numbering, when order is inquiry gate inhibition status response order is gate inhibition's status number, as represent locking states with 0x10, represents released state with 0x20;
The data detection position: adopt a byte, for these frame data remove all data behind the frame head postamble and to 256 deliverys (delivery is exactly divided by the remainder after 256).
The program flow diagram that the reception order is unblanked in the single-chip microcomputer as shown in Figure 4.After single-chip microcomputer receives frame data, definition parses each several part data in the frame according to Frame, then data are carried out verification, it mainly is frame length checksum test bit check, whether the frame length verification detects the data length that parses in the data length receive and the frame consistent, the check digit verification is according to definition the real data that receives to be sued for peace the back to 256 deliverys, more consistent with the check digit that receives, if by verification, then Frame receives correct, send the response frame of correct data to the Centralized Monitoring central platform, otherwise send the response frame of misdata.After Frame is errorless, command number is judged, if inquiry gate inhibition state, then transmit status responsive data frame; If require to open the door, then remove the gate inhibition.
4, in operational process, when the maintainer need enter the outdoor communication equipment room that is numbered " SZJML001-1 ", use mobile phone form is in accordance with regulations got in touch with by wireless business correspondence network and wireless modem to send short message mode, short message content is gate inhibition's cognizance code and releasing gate inhibition's a operation code, such as, gate inhibition's cognizance code is " SZJML001-1 ", and operational order is " opening the door ".After wireless modem receives the note that the maintainer sends by mobile phone, monitoring software to the treatment scheme of this incident as shown in Figure 3, at first from wireless modem short message reading and parse cell-phone number and short message content, then the cell-phone number of preserving in the cell-phone number that parses and the server database is compared and authenticate maintainer's identity, if be not recorded in the server database cell-phone number that parses for future reference by authentication, pressing refuse messages handles and termination routine, if by authentication then cell-phone number and the short message content that parses is kept in the server database, then gate inhibition's cognizance code of preserving in gate inhibition's cognizance code " SZJML001-1 " that will parse and the server database compares and judges whether operated gate inhibition exists, if operated gate inhibition exists, the cell-phone number that homographic solution in gate inhibition's cognizance code " SZJML001-1 " of parsing and the server database is separated out and one group of gate inhibition's cognizance code setting in advance compare and check maintainer's authority again, refuse next step operation if do not check monitoring software by authority, and send SMS Tip to maintainer's mobile phone, if check the requirement that monitoring software will " open the door " according to the releasing gate inhibition's who parses operational order by authority, send releasing gate inhibition operational order by the internet to the pairing gate inhibition's control circuit of the gate inhibition's cognizance code " SZJML001-1 " that parses, gate inhibition's control circuit and electronic lock are carried out this operational order and are removed the gate inhibition, gate inhibition's control circuit will be removed gate inhibition's response signal and beam back server by the internet afterwards, in server database, wireless modem sends to mobile phone by wireless business correspondence network and has removed gate inhibition's SMS Tip monitoring software simultaneously with the time keeping of this response signal.
In like manner, when the maintainer need leave the outdoor communication equipment room that is numbered " SZJML001-1 ", use sending short message by mobile phone to wireless modem contact, short message content is gate inhibition's cognizance code and locking gate inhibition's a operation code, such as, gate inhibition's cognizance code is " SZJML001-1 ", and operation refers to be shut the gate.After wireless modem receives the note that the maintainer sends by mobile phone, monitoring software to the treatment scheme of this incident as shown in Figure 3, process is the same substantially, just is operating as the locking gate inhibition.
5, server can regularly send inquiry gate inhibition status command to the pairing gate inhibition's control circuit of the gate inhibition of each outdoor communication equipment room by the internet, gate inhibition's control circuit is beamed back server with present gate inhibition's condition responsive signal by the internet after receiving inquiry gate inhibition status command.
6, the present invention also with the maintainer, writes database during information of same such as the place of machine room, working time when preserving note data, can generate ASSOCIATE STATISTICS form and maintenance log on request at any time, is beneficial to managerial personnel's verification.
The foregoing description only is explanation technical conceive of the present invention and characteristics, and its purpose is to allow the personage who is familiar with this technology can understand content of the present invention and enforcement according to this, can not limit protection scope of the present invention with this.All equivalences that spirit is done according to the present invention change or modify, and all should be encompassed within protection scope of the present invention.