10692778225801是那个公司的屏蔽短信端口口

Sina Visitor System行业资讯information
您当前的位置:
合肥短信公司的产品应该如何使用,有什么好处?
发布人:admin
发布时间:日
合肥短信公司简介
  现在很多公司使用的合肥短信公司就是是基于中国移动,联通,电信三家运营商直接提供的短信端口与互联网连接实现与客户指定号码进行短信批量发送和自定义发送的,它分为软件客户端CS结构和网络共享版BS结构。
  合肥短信公司有哪些功能?
  合肥短信公司给企业在宣传推广方面带来了许多福利,企业使用短信群发最常见也是最常用的功能也已经成为日常的一些习惯,这些功能主要有:最基础功能——发送功能;最人性化的功能——管理功能;最实用的功能——信息查询;最便捷的功能——导入导出。
  社会水平提高,合肥短信公司台产品也要用好的
  如果你想选用最好的短信群发平台,那么就要建议选择用质量好价格优的产品,而不是单看产品价格,随着我们的社会在不断地进步发展,我们的生活水平在不断地提高。我们在消费的观念上也有所转变,就像买衣服一样,要么不买,要卖就买最好的,同样短信群发平台产品也是如此,找寻具有发送短信速度快、100%实发、实时动态显示以及支持长短信的企业。
  合肥短信公司的功能和特点?
  支持向全国移动、联通、电信三网手机用户发送的企信通!用户界面友好,无须培训即可使用。高效:信息群发群收,瞬间到达。支持GSM GPRS CDM,经济:最便宜的通讯方式,不受时间地域限制!实用:人性化界面设计,简单操作,有单机版本和网络版本,安全:无须经过互联网和短信平台,因而不会受到网络上安全威胁,具有完全的独立性
  合肥短信公司有哪些特点?
  合肥短信公司目前能够支持向全国移动、联通、电信三网手机用户发送信息,短信群发的用户界面友好,无须培训即可使用。而且信息群发群收,瞬间到达;是最便宜的通讯方式,不受时间地域限制;人性化界面设计,简单操作,有单机版本和网络版本;无须经过互联网和短信平台,因而不会受到网络上安全威胁,具有完全的独立性;广告主定好自己的支出预算,定向定条发送给目标客户。最近公司项目需要使用短信设备进行相关操作提示,于是申请了一个西门子模块的短信设备。今天刚刚到手就开始测试,按照淘宝卖家的说明进行操作总是报异常。
org.smslib.GatewayException: Comm library exception: java.lang.reflect.Invocatio
nTargetException
at org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:106)
at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:111)
at org.smslib.Service$1Starter.run(Service.java:227)&/
询问卖家原因可能在什么地方,得到的回答是不懂开发。于是开始自己“埋头苦干”。首先确定了驱动没有问题,USB模拟串口没有问题,基础环境和jar包等路径没有问题。-_-!我就崩溃了,到底是哪里的问题呢,分析了一圈,发现Myeclipse中“windows”-&“preferences”-&"java"-&"installed jres",Myeclipse默认使用的是自己的JRE,需要手动将你选择你安装的“JAVA_HOME”/JRE,这样问题就解决了。在使用卖家提供的smslib-3.3.0b2.jar只能使用网上的发送短信源码,不能使用接收短信源码。请将jar文件替换成smslib-3.5.1.jar就可以了
现将网上的源码公布一下:
测试端口
import java.util.E
import org.smslib.helper.CommPortI
public class TEST {
public static void main(String [] args){
Enumeration en = CommPortIdentifier.getPortIdentifiers();
CommPortIdentifier portId;
while (en.hasMoreElements()) {
portId = (CommPortIdentifier) en.nextElement();
if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL){
System.out.println(portId.getName());
System.out.println("=============");
发送短信源码
import org.smslib.AG
import org.smslib.GatewayE
import org.smslib.IOutboundMessageN
import org.smslib.OutboundM
import org.smslib.S
import org.smslib.Message.MessageE
import org.smslib.modem.SerialModemG
public class SendMessage {
public class OutboundNotification implements IOutboundMessageNotification {
public void process(AGateway agateway, OutboundMessage outboundmessage) {
System.out.println("Outbound handler called from Gateway: " + agateway);
System.out.println(outboundmessage);
@SuppressWarnings("deprecation")
public void sendSMS(String mobilePhones, String content) throws GatewayException {
OutboundNotification outboundNotification = new OutboundNotification();
srv = new Service();
srv = Service.getInstance();
SerialModemGateway gateway = new SerialModemGateway("modem.com3", "COM3", 115200, "wavecom", ""); // 设置端口与波特率
gateway.setInbound(true);
gateway.setOutbound(true);
gateway.setSimPin("1234");
gateway.setOutboundNotification(outboundNotification);
srv.setOutboundMessageNotification(outboundNotification);
srv.addGateway(gateway);
System.out.println("初始化成功,准备开启服务");
srv.startService();
System.out.println("服务启动成功");
String[] phones = mobilePhones.split(",");
for (int i = 0; i & phones. i++) {
msg = new OutboundMessage(phones[i], content);
msg.setEncoding(MessageEncodings.ENCUCS2); // 中文
srv.sendMessage(msg);
srv.stopService();
srv.removeGateway(gateway);
} catch (Exception e) {
e.printStackTrace();
public static void main(String[] args) throws GatewayException {
SendMessage sendMessage = new SendMessage();
sendMessage.sendSMS("手机号码", "短信内容");
接收短信源码
import java.util.ArrayL
import java.util.L
import javax.crypto.spec.SecretKeyS
import org.smslib.AG
import org.smslib.ICallN
import org.smslib.IGatewayStatusN
import org.smslib.IInboundMessageN
import org.smslib.IOrphanedMessageN
import org.smslib.InboundM
import org.smslib.L
import org.smslib.S
import org.smslib.AGateway.GatewayS
import org.smslib.AGateway.P
import org.smslib.InboundMessage.MessageC
import org.smslib.Message.MessageT
import org.smslib.crypto.AESK
import org.smslib.modem.SerialModemG
public class ReadMessages {
public static Service srv = Service.getInstance();
public void doIt() throws Exception {
List&InboundMessage& msgL
InboundNotification inboundNotification = new InboundNotification();
CallNotification callNotification = new CallNotification();
GatewayStatusNotification statusNotification = new GatewayStatusNotification();
OrphanedMessageNotification orphanedMessageNotification = new OrphanedMessageNotification();
System.out.println("Example: Read messages from a serial gsm modem.");
System.out.println(Library.getLibraryDescription());
System.out.println("Version: " + Library.getLibraryVersion());
SerialModemGateway gateway = new SerialModemGateway("modem.com3", "COM3", 115200, null, null);
gateway.setProtocol(Protocols.PDU);
gateway.setInbound(true);
gateway.setOutbound(true);
srv.setInboundMessageNotification(inboundNotification);
srv.setCallNotification(callNotification);
srv.setGatewayStatusNotification(statusNotification);
srv.setOrphanedMessageNotification(orphanedMessageNotification);
srv.addGateway(gateway);
srv.startService();
System.out.println();
System.out.println("Modem Information:");
System.out.println(" Manufacturer: " + gateway.getManufacturer());
System.out.println(" Model: " + gateway.getModel());
System.out.println(" Serial No: " + gateway.getSerialNo());
System.out.println(" SIM IMSI: " + gateway.getImsi());
System.out.println(" Signal Level: " + gateway.getSignalLevel() + "%");
System.out.println(" Battery Level: " + gateway.getBatteryLevel() + "%");
System.out.println();
srv.getKeyManager().registerKey("+8", new AESKey(new SecretKeySpec("6677".getBytes(), "AES")));
msgList = new ArrayList&InboundMessage&();
srv.readMessages(msgList, MessageClasses.ALL);
for (InboundMessage msg : msgList) {
System.out.println(msg);
srv.deleteMessage(msg);
//删除短信
System.out.println("Now Sleeping - Hit &enter& to stop service.");
System.in.read();
System.in.read();
} catch (Exception e) {
e.printStackTrace();
public class InboundNotification implements IInboundMessageNotification {
public void process(AGateway gateway, MessageTypes msgType, InboundMessage msg) {
if (msgType == MessageTypes.INBOUND)
System.out.println("&&& New Inbound message detected from Gateway: " + gateway.getGatewayId());
else if (msgType == MessageTypes.STATUSREPORT)
System.out.println("&&& New Inbound Status Report message detected from Gateway: " + gateway.getGatewayId());
System.out.println(msg);
public class CallNotification implements ICallNotification {
public void process(AGateway gateway, String callerId) {
System.out.println("&&& New call detected from Gateway: " + gateway.getGatewayId() + " : " + callerId);
public class GatewayStatusNotification implements IGatewayStatusNotification {
public void process(AGateway gateway, GatewayStatuses oldStatus, GatewayStatuses newStatus) {
System.out.println("&&& Gateway Status change for " + gateway.getGatewayId() + ", OLD: " + oldStatus + " -& NEW: " + newStatus);
public class OrphanedMessageNotification implements IOrphanedMessageNotification {
public boolean process(AGateway gateway, InboundMessage msg) {
System.out.println("&&& Orphaned message part detected from " + gateway.getGatewayId());
System.out.println(msg);
public static void main(String args[]) {
ReadMessages app = new ReadMessages();
app.doIt();
} catch (Exception e) {
e.printStackTrace();
以上所有代码均经过XP测试通过,明天进行win03测试,后续准备进行linux的测试。
浏览: 6270 次
来自: 哈尔滨
这个不需要安装就可以使用的,只需要有JDK相关文件,配置下环境 ...
确实重来不安装,直接重配一下环境变量。。。
其实JDK不需要安装的。相比之下JRokit比较彻底,“安装” ...
steafler 写道2B青年时时有,今年特别多8577086 ...
呵呵,感觉楼主确实有点2B,难道不知道JDK是绿色的么?还需要 ...
(window.slotbydup=window.slotbydup || []).push({
id: '4773203',
container: s,
size: '200,200',
display: 'inlay-fix'数百短信端口被封,中移动痛下狠手
E-mail推荐:&&
  自3月15日央视曝光垃圾短信之后,舆论导向从分众无线,转到行业监管,再转到运营商问责,为此,中移动对短信企业痛下狠手。  从内部渠道了解的消息,截至到3月24日,被分众收购的,或者和分众有关系的短信端口已经被封了82个!&除了这个之外,其他的不经客户允许发送的商业广告,代理及集团客户的端口被封了167个!估计从3月下旬到4月上旬,还有不少端口被封。  在5月1号之前移动严禁发展超低资费用户,还要清理完存量超低资费用户,就是短信实际价格低于5分、彩信2毛的。  有关白名单也跟着倒霉,从去年12月以后有过投诉的集团客户在4月10日时完成白名单加载,没被投诉过的集团客户5月31日前完成白名单加载;&加载白名单要经二次确认后方可作为短信下发的对象。  有关企业签名的情况,再说下,集团短信发送启用企业签名管理,企业签名由行业网关自动加载。简称的企业签名要与其注册名称或品牌保持理解上的一致。3月31日已经完成企业签名,签名准确率达到100%,未实行的端口已在4月1日零时全部关闭了。  有关小区短信的处理,停止利用小区短信,或者以小区短信行业信息的名义发送的商业广告。已批准开展小区广告试点的山东、辽宁、重庆、天津四个省公司暂停试点,等不良信息治理效果明显后,再由总部统一部署开展。(来源:SP论坛)
(责任编辑:赵蓉)
我要发表留言
匿名发表&&署名:&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&播客?视频
&&&彩信?手机报}

我要回帖

更多关于 网络端口是什么在哪里 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信