Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Be the realization flow figure of the cut-in method of a kind of warning device that the embodiment of the present invention provides with reference to figure 1, Fig. 1, details are as follows:
In step S101, warning device sends address request by the link address preset to first kind server;
Wherein, warning device represents the equipment that can report to the police, such as alarming machine, alarm etc.
Wherein, link address includes but not limited to IP address.
Wherein, address request is the message of the link address of request Second Type server.
Wherein, first kind server is the server of the link address storing at least one Second Type server.
Warning device sends address request by the link address preset to first kind server, can in warning device, preset link address, or, manually input link address, connect first kind server.
In step s 102, receive the link address of at least one Second Type server that described first kind server sends, send access request message according to described link address to the Second Type server corresponding with described link address;
Wherein, after warning device receives link address, send access request message by existing network to the Second Type server corresponding with described link address.
In step s 103, receive the access mark that described Second Type server sends, connect according to the described access mark Second Type server corresponding with described link address;
Wherein, access is designated character string, binary sequence number of the default figure place of such as encrypting.
Wherein, after warning device receives access mark, according to access mark and link address, the Second Type server corresponding with link address connects.
Wherein, Second Type server is the server of access warning device.
Wherein, equipment of receiving a crime report is unified first connects first kind server, by first kind server, specifies the Second Type server connected, then communicates with Second Type server.
Wherein, the corresponding relation of first kind server and Second Type server is one-to-many, namely a corresponding multiple Second Type server of first kind server, forms multilevel distributed program architecture, facilitates user to carry out the system integration and the equipment access of multiple network.
When warning device receives the access mark of Second Type server transmission, by link address, be connected to the access interface of Second Type server, at access interface, input access identifies, to connect with corresponding Second Type server.
In the present embodiment, user can log in Second Type server, checks the multiple warning device of the Second Type server second line of a couplet, the operation conditions of multiple warning device is monitored, and real-time process is carried out to warning device, improve the treatment effeciency to alert, promote the alert process ability of security protection.
With reference to figure 2, Fig. 2 be the embodiment of the present invention provide check the multiple warning device of the Second Type server second line of a couplet preferably surface chart, details are as follows:
Whether warning signal switch is opened: (option is checked expression and opens, otherwise for closing), the dependent failure information exported with warning signal is set;
Relay opening time: when there being relay information to export, maximum length in time, in seconds, whether selective relay is opened; (option is checked expression and opens, otherwise for closing), the dependent failure information exported with relay is set;
PGM opening time: when there being PGM information to export, maximum length in time, in seconds; PGM is selected whether to open; (option is checked expression and opens, otherwise for closing), the dependent failure information exported with PGM is set;
Screen intensity: user only need drag slider bar can change brightness, number range [0,100];
Screen carrys out electro activation: option is checked expression and opens, otherwise for closing.
Screen protection activates: option is checked expression and opens, otherwise for closing.
Programming: PSTN card is joined, PSTN card parameter, function description:
Can to check and change is received a crime report card parameter;
Card parameter of receiving a crime report divides two large classes: a class is basic parameter totally 9, and a class is communication handshake parameter, divides 6 groups, often organizes 6 parameters;
Telephone wire copies: on card of receiving a crime report, certain telephone wire parameter is all copied to another telephone wire.
Factory reset: make the Parameter reconstruction of Current telephony line to Default Value content;
Confirming button: click " determination " button, software will upgrade current data.
As a preferred embodiment of the present invention, the configuration parameter of the alert equipment of the reproducible Second Type server second line of a couplet, is copied to another by the configuration parameter of the equipment of receiving a crime report and receives a crime report in the configuration parameter of equipment.
Be a kind of realization flow figure controlling the cut-in method of warning device that the embodiment of the present invention provides with reference to figure 3, Fig. 3, details are as follows:
In step S301, first kind server receives the address request that warning device sends;
First kind server receives the address request of warning device transmission by existing network.
In step s 302, first kind server sends the link address of at least one Second Type server to warning device according to described address request;
Wherein, first kind server sends the link address of at least one Second Type server to warning device by existing network, sends access request message to make warning device according to link address to the Second Type server corresponding with described link address.
In step S303, Second Type server receives the access request message that warning device sends;
Wherein, Second Type server receives the access request message of warning device transmission by existing network.
In step s 304, Second Type server sends access mark according to described access request message to described warning device, to make warning device according to the described Second Type server of described access mark access;
Wherein, Second Type server sends access mark by existing network to warning device, connects according to the access mark Second Type server corresponding with link address to make warning device.
Wherein first kind server can be connected with described Second Type server, and described first kind server is the server of the link address storing at least one Second Type server, and described Second Type server is the server of access warning device.
In the present embodiment, user can log in Second Type server, checks the multiple warning device of the Second Type server second line of a couplet, the operation conditions of multiple warning device is monitored, and real-time process is carried out to warning device, improve the treatment effeciency to alert, promote the alert process ability of security protection.
As a preferred embodiment of the present invention, also comprise:
In the renewal time limit of Second Type server reading system time and configuration, judge whether upgrade the time limit arrives;
The described renewal time limit, when arriving, Second Type server connected described first kind server, provides its link address to first kind server, with the link address making first kind server update prestore.
In the present embodiment, can renewal time limit of pre-configured Second Type server entity data, such as be configured to per hour, every day, weekly or upgrade one inferior for every 10 days, system monitoring upgrades the time limit, upgrading the time limit then, the first kind server of the link address prestored from being dynamically connected, initiates the renewal process of link address, with the link address making first kind server update prestore.
As a preferred embodiment of the present invention, described address request Portable device numbering and or described access request message Portable device numbering.
Wherein, device numbering is the numbering of warning device, and each warning device only has a device numbering, and the corresponding relation of device numbering and warning device is one to one.
As a preferred embodiment of the present invention, when described address request Portable device numbering, after described first kind server receives the address request of warning device transmission, also comprise:
First kind server is in preset device numbering table, and whether inquiry exists the device numbering that address request is carried, and described device numbering table comprises multiple device numbering;
If exist, perform described first kind server sends the link address of at least one Second Type server to warning device step according to described address request.
In the present embodiment, whether inquiry exists address request Portable device numbering, can decode to device numbering, the character string of extraction equipment numbering, using the character string of device numbering as inquiry field, in preset device numbering table, whether inquiry exists device numbering.
When inquiring device numbering, represent that this device numbering is legitimate device, first kind server sends the link address of at least one Second Type server to warning device.
When inquiring about less than device numbering, represent that this device numbering is not legitimate device, first kind server does not send the link address of at least one Second Type server to warning device.
As a preferred embodiment of the present invention, when described access request message Portable device numbering, after described Second Type server receives access request message, also comprise:
Second Type server is in preset device numbering table, and whether inquiry exists the device numbering that address request is carried, and described device numbering table comprises multiple device numbering;
If exist, perform described Second Type server sends access mark to described warning device step according to described access request message.
In the present embodiment, whether inquiry exists address request Portable device numbering, can decode to device numbering, the character string of extraction equipment numbering, using the character string of device numbering as inquiry field, in preset device numbering table, whether inquiry exists device numbering.
When inquiring device numbering, represent that this device numbering is legitimate device, Second Type server sends access mark to warning device.
When inquiring about less than device numbering, represent that this device numbering is not legitimate device, Second Type server does not send access mark to warning device.
With reference to figure 4, Fig. 4 be the present invention at practical application preferably implementing procedure figure, details are as follows:
1: log in access server, IP address access.lh-csst.com(is the IP address of test computer when testing) port 8888, transmitting apparatus is numbered, and returns address and the port (during test, return value is the IP address of same test computer, and port is fixed as 8889) of server of receiving a crime report
2: log in server of receiving a crime report, keep being connected with server of receiving a crime report after having logged in;
3: after disconnecting with server of receiving a crime report, again log in access server, obtain the link address of server of receiving a crime report, server connects with receiving a crime report.
Wherein, access server is first kind server, and server of receiving a crime report is Second Type server.
As a preferred embodiment of the present invention, first kind server and Second Type server and the transfer of data of receiving a crime report between equipment, adopt self-defining data transfer mode, wherein data transfer mode comprises single frame transmission mode and multiframe transmission means.
Be the structured flowchart of the access device of a kind of warning device that the embodiment of the present invention provides with reference to figure 5, Fig. 5, this device is positioned on warning device.For convenience of explanation, illustrate only part related to the present embodiment.
First transmitting element, sends address request by the link address preset to first kind server for warning device;
Second transmitting element, for receiving the link address of at least one Second Type server that described first kind server sends, sends access request message according to described link address to the Second Type server corresponding with described link address;
Linkage unit, for receiving the access mark that described Second Type server sends, connects according to the described access mark Second Type server corresponding with described link address;
Transmitting element, be connected with described Second Type server for wherein said first kind server, described first kind server is the server of the link address storing at least one Second Type server, and described Second Type server is the server of access warning device.
With reference to figure 6, Fig. 6 is a kind of structured flowchart controlling the access device of warning device that the embodiment of the present invention provides, this device comprises first control device and second control device, wherein, described first control device is positioned on the server of the first kind, described second control device is positioned on the server of Second Type, and described first control device comprises the first receiving element and the 3rd transmitting element, and described second control device comprises the second receiving element and the 4th transmitting element;
Described first transmitting element, for receiving the address request that warning device sends;
Described 3rd transmitting element, for sending the link address of at least one Second Type server to warning device according to described address request;
Described second transmitting element, for receiving the access request message that warning device sends;
Described 4th transmitting element, for sending access mark according to described access request message to described warning device, to make warning device according to the described Second Type server of described access mark access;
Wherein said first kind server is the server of the link address storing at least one Second Type server, and described Second Type server is the server of access warning device.
Particularly, in the apparatus, described address request Portable device numbering and or described access request message Portable device numbering.
Particularly, in the apparatus, described 3rd transmitting element, comprising:
Inquiry subelement, in preset device numbering table, whether inquiry exists the device numbering that address request is carried, and described device numbering table comprises multiple device numbering;
Send subelement, if for existing, perform described first kind server sends the link address of at least one Second Type server to warning device step according to described address request.
Particularly, in the apparatus, described 4th transmitting element, comprising:
Inquiry subelement, in preset device numbering table, whether inquiry exists the device numbering that address request is carried, and described device numbering table comprises multiple device numbering;
Inquiry subelement, if for existing, performs described Second Type server sends access mark to described warning device step according to described access request message.
The device that the embodiment of the present invention provides can be applied in the embodiment of the method for aforementioned correspondence, and details, see the description of above-described embodiment, do not repeat them here.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computer, hard disk or CD etc., comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.