A kind of Short Message Service Gateway intelligent connection apparatus
Technical field
The present invention relates to enterprise messaging mobile communication technology field, more particularly to a kind of Short Message Service Gateway intelligent connection apparatus.
Background technology
At present, since China's mobile phone has obtained very big popularization, mobile phone not merely mutually exchanges as people
With the instrument of communication, the popular bridge to obtain information in time and the instrument of amusement and recreation are more increasingly becoming.With mobile phone short message
Further genralrlization, short message service also begin to incorporate enterprise operation system, become one of means of communication of enterprise.
The bridge of " at any time, arbitrarily, everywhere " has been erected in the application of short message service for enterprise, it is by shortening product and information
The time in market is released, it can be with enterprise product competition advantage;Customer service is improved by the customer relationship provided at any time, is carried
High customer satisfaction with services.
But in actual short message service application practice, it has been found that much there is the problem of generality.China it is existing
Three big mobile communications operators:China Mobile, China Telecom and China Unicom although they are provided which short message service, are also supported
Across a network receives and dispatches short message, but since the short message industry gateway interface that they provide is different, current enterprise messaging forwarding generation
Reason always uses corresponding short message industry gateway interface according to the operator ownership of client's number.But if corporate client
Number largely concentrate on an operator, then the short message industry gateway of the operator will certainly be largely occupied during bulk SMS
Interface circuit declines so as to cause short message forward efficiency, increases the probability for sending failure.And the present invention can well solve
The problem of face.
The content of the invention
In view of the deficienciess of the prior art, present invention aims at a kind of Short Message Service Gateway intelligent connection apparatus is designed, it should
Device can solve the problems, such as follows:1. using the inter-network forwarding feature of industry gateway, idle channel is selected to send short message;2. certain is logical
Road overload can be reminded by LED light;3. all channel loads are overweight to pass through buzzer warning.
The technical scheme adopted by the invention to solve the technical problem is that:A kind of Short Message Service Gateway intelligent connection apparatus, the dress
Put is by microcontroller 1, ethernet controller 2,3,4,5, red and green color LED light 6,7,8, RS232 serial line interfaces 9 and buzzer 10
Composition, microcontroller 1 are connect with ethernet controller 2,3,4,5, LED light 6,7,8 and buzzer 10 by the GPIO of microcontroller 1
Mouth connection;The microcontroller 1 receives short message message by ethernet controller 2, selects 3,4,5 count value of ethernet controller
Minimum conduct sending port, short message message is sent;The microcontroller 1 is according to 3,4,5 count value control of ethernet controller
Make corresponding LED light 6,7,8 and buzzer 10;The microcontroller 1 sends status signal by RS232 serial interfaces to server
With reception control signal.The LED light 6,7,8 and ethernet controller 3,4,5 correspond, in ethernet controller 3,4,5
Any one has short message message by the way that then corresponding LED light dodges green light, any one count value is more than threshold values, then corresponds to
LED light is always on feux rouges, and when whole count values are more than threshold values, then buzzer 10 sends alarm sound.
4 ethernet controller chip ports of the microcontroller 1, including ethernet controller input port 2, ether
It is net controller output port 3, ethernet controller output port 4 and ethernet controller output port 5, dual-colored LED lamp 6, double
Color LED light 7, dual-colored LED lamp 8, serial line interface 9 and buzzer 10.Ethernet controller chip controls network data transmission, and every
One input port is connected with output port, and all ethernet controller chips all connect microcontroller, and input port is connected into enterprise
Internal lan, 3 output ports are respectively connected to Short Message Service Gateway by internet, and microcontroller 1 performs the TCP/IP messages of standard
Retransmission protocol;All dual-colored LED lamps and buzzer 10 are connected to microcontroller, are controlled by microcontroller, and each output port is all provided with
A counter and a dual-colored LED lamp are put, any one output port is there are one complete short message message by just inciting somebody to action corresponding
Counter adds 1, and corresponding LED light dodges green light, and then signal, microcontroller control are sent to microcontroller when counter reaches pre-set threshold value
It makes corresponding LED light and is always on feux rouges, and serially interface 9 sends overburden signal;When all counters reach pre-set threshold value
Signal then is sent to microcontroller, microcontroller control buzzer sounds the alarm, and serially interface 9 sends full load signal;It is single
Piece chance resets counter according to the control command received from serial line interface 9;Microcontroller is in short message of the forwarding from input port
During message, that output port forwarding of counter values minimum can be automatically selected.
The present invention can carry out short message forwarding with the industry gateway channels of intelligent selection light load, be more than load in single channel
When can be warned using red light, can be warned in whole passage full loads using buzzer, computer lab management personnel can be reminded in time;
Loading condition can return to enterprise sender in real time simultaneously, for sender's dynamic adjustable strategies and frequency.
Advantageous effect:
Short message forward efficiency can be significantly increased in the present invention, and effectively reduces the several of short message retransmission failure
Rate.
Description of the drawings
Fig. 1 is the structural diagram of the present invention
Identifier declaration:1- microcontrollers;2- ethernet controller input ports;3,4,5- ethernet controller output terminals
Mouthful;6,7,8- red and green color LED light;9-RS232 serial line interfaces;10- buzzers.
Specific embodiment
Below in conjunction with Figure of description, the present invention is described in further detail.
As described in Figure 1, the present invention is that ethernet controller input port 2, ethernet controller output port 3,4,5 all connect
The idle GPIO port of microcontroller 1 is connected to, each ethernet controller includes the RJ45 network ports, ethernet controller input
The RJ45 ports of port 2 are connected to intranet gateway server, the RJ45 ports of ethernet controller output port 3,4,5
It is connected into Short Message Service Gateway passage respectively by internet, it is respectively ethernet controller output that 1 inside of microcontroller, which sets 3 counters,
Port 3,4,5 counts.9 one end of RS232 serial line interfaces is connected to microcontroller 1, and the other end passes through DB9 ports and intranet net
Server is closed to be connected.Dual-colored LED lamp 6,7,8 and buzzer 10 are connected to the idle GPIO port of microcontroller 1, dual-colored LED lamp
6,7,8 correspond respectively with ethernet controller output port 3,4,5.
The process of short message forwarding of the present invention includes the following steps:
Step 1:Intranet gateway server controls the short message message sent from intranet by Ethernet
The RJ45 ports of device 2 are sent;
Step 2:Microcontroller 1 receives short message message from ethernet controller 2, and meter is selected in ethernet controller 3,4,5
The conduct of number device value minimums sends port, and short message message is forwarded to the port, and by the corresponding counting of the ethernet controller
Device value adds 1;
Step 3:Microcontroller 1 controls the corresponding LED light of industry gateway channels, sends the instruction for dodging green light;
Step 4:The ethernet controller of short message message is received by short message sending to corresponding industry gateway, follow-up work by
Communicate the industry gateway processes of operator.
The process of the wall scroll industry gateway channels overburden alarm of the present invention includes the following steps:
Step 1:When certain industry gateway channels Counter Value be more than pre-set threshold value, send single channel to microcontroller 1 and surpass
Load signal;
Step 2:Microcontroller 1 controls the corresponding LED light of this passage, sends the instruction for being always on feux rouges;
Step 3:Microcontroller 1 sends single channel overload status signal by RS232 serial line interfaces 9 to server.
The process of whole industry gateway channels full loads alarm of the present invention includes the following steps:
Step 1:When the Counter Value of three industry gateway channels is more than pre-set threshold value, sending full tunnel to microcontroller 1 expires
Load signal;
Step 2:Microcontroller 1 controls buzzer 10, sends alarm sound;
Step 3:Microcontroller 1 sends full tunnel full load status signal by RS232 serial line interfaces 9 to server.
The process that counter of the present invention is reset includes the following steps:
Step 1:Microcontroller 1 receives the command signal of server replacement counter from RS232 serial line interfaces 9;
Step 2:Corresponding Counter Value is reset to 0 by microcontroller 1 according to command signal content.
Above example is merely illustrative of the invention's technical idea, it is impossible to protection scope of the present invention is limited with this, it is every
According to technological thought proposed by the present invention, any change done on the basis of technical solution each falls within the claims in the present invention
Protection domain within;The technology that the present invention is not directed to can be realized by the prior art.