Movatterモバイル変換


[0]ホーム

URL:


CN102480704A - Method for sending status report receiving response message, system for sending status report receiving response message and agent for sending status report receiving response message - Google Patents

Method for sending status report receiving response message, system for sending status report receiving response message and agent for sending status report receiving response message
Download PDF

Info

Publication number
CN102480704A
CN102480704ACN2010105611111ACN201010561111ACN102480704ACN 102480704 ACN102480704 ACN 102480704ACN 2010105611111 ACN2010105611111 ACN 2010105611111ACN 201010561111 ACN201010561111 ACN 201010561111ACN 102480704 ACN102480704 ACN 102480704A
Authority
CN
China
Prior art keywords
status report
response message
smsc
message
smcagent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105611111A
Other languages
Chinese (zh)
Other versions
CN102480704B (en
Inventor
杨刚
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Beijing Co Ltd
Original Assignee
China Mobile Group Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Beijing Co LtdfiledCriticalChina Mobile Group Beijing Co Ltd
Priority to CN201010561111.1ApriorityCriticalpatent/CN102480704B/en
Publication of CN102480704ApublicationCriticalpatent/CN102480704A/en
Application grantedgrantedCritical
Publication of CN102480704BpublicationCriticalpatent/CN102480704B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明公开了一种状态报告接收响应消息的发送方法、系统及短消息中心代理器,用以解决现有技术中存在的SMSC基于同步方式发送状态报告消息的效率较低的问题。方法包括:短消息中心代理器SMCAgent接收短消息服务中心SMSC发送的状态报告消息;以及向SMSC发送用于指示成功接收所述状态报告消息的状态报告接收响应消息;所述SMCAgent在发送状态报告接收响应消息之后,根据状态报告消息中承载的短消息标识Msg_Id向处理状态报告服务器DRServer发送查询请求。

Figure 201010561111

The invention discloses a method, a system and a short message center agent for sending status report receiving response messages, which are used to solve the problem in the prior art that SMSCs send status report messages in a synchronous manner with low efficiency. The method includes: the short message center agent SMCAgent receives the status report message sent by the short message service center SMSC; and sends a status report receiving response message for indicating successful reception of the status report message to the SMSC; After the response message, send a query request to the processing status report server DRServer according to the short message identifier Msg_Id carried in the status report message.

Figure 201010561111

Description

Translated fromChinese
状态报告接收响应消息的发送方法、系统与代理器Status report receiving response message sending method, system and agent

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种状态报告接收响应消息的发送方法、系统与短消息中心代理器。The invention relates to the field of communication technology, in particular to a method and system for sending status report receiving response messages and a short message center agent.

背景技术Background technique

状态报告消息为移动终端在成功接收了短消息之后向短消息服务中心(SMSC,Short Message Service Center)反馈的一个通知消息,SMSC在收到该状态报告消息后,需要将该状态报告消息发送给网关,由网关根据该状态报告消息实施计费等操作。目前,从向移动终端发送短消息直至网关完成计费并向SMSC反馈响应消息的整个流程的示意图如图1所示,该流程主要包括下述步骤:The status report message is a notification message that the mobile terminal feeds back to the Short Message Service Center (SMSC, Short Message Service Center) after successfully receiving the short message. After receiving the status report message, the SMSC needs to send the status report message to The gateway implements operations such as charging according to the status report message. At present, a schematic diagram of the whole process from sending a short message to the mobile terminal until the gateway completes the billing and feeds back a response message to the SMSC is shown in Figure 1. The process mainly includes the following steps:

步骤11,企业客户代理器(ECAgent,Enterprise Customer Agent)接收企业客户(Enterprise Customer)/服务集成商(Service Integration)(EC/SI)发送的短消息CMPP_Submit(CMPP为中国移动点对点协议,即China Mobile Peer toPeer)。Step 11, the enterprise customer agent (ECAgent, Enterprise Customer Agent) receives the short message CMPP_Submit (CMPP is China Mobile point-to-point protocol, i.e. China Mobile Peer to Peer).

步骤12,ECAgent将接收到的CMPP_Submit发送给任意短消息服务器(SMServer,Short Message Server)。一般地,由于SMServer可以有多个,因此,在向SMServer发送CMPP_Submit时,可以采用轮询的方式向SMServer发送,比如,当需要发送多个CMPP_Submit时,可以分别将不同的CMPP_Submit发送给不同的SMServer。在本步骤12中,假设只发送了一个CMPP_Submit给图中的SMServer。Step 12, ECAgent sends the received CMPP_Submit to any short message server (SMServer, Short Message Server). Generally, since there can be multiple SMSServers, when sending CMPP_Submit to SMSServer, it can be sent to SMSServer in a polling manner. For example, when multiple CMPP_Submits need to be sent, different CMPP_Submits can be sent to different SMSServers respectively. . In this step 12, it is assumed that only one CMPP_Submit is sent to the SMSServer in the figure.

步骤13,ECAgent接收由接收到该CMPP_Submit的SMServer反馈来的响应消息CMPP_Submit_Resp。Step 13, the ECAgent receives the response message CMPP_Submit_Resp fed back by the SMSServer that received the CMPP_Submit.

步骤14,ECAgent向EC/SI返回响应消息CMPP_Submit_Resp。Step 14, ECAgent returns a response message CMPP_Submit_Resp to EC/SI.

步骤15,SMServer通过任意的短消息中心代理器(SMCAgent,ShortMessage Center Agent)向SMSC发送对应于CMPP_Submit的SMPP_Submit(SMPP为短消息点对点协议,即Short Message Peer to Peer)。Step 15, SMSServer sends SMPP_Submit corresponding to CMPP_Submit (SMPP is a short message point-to-point protocol, i.e. Short Message Peer to Peer) to SMSC through any short message center agent (SMCAgent, ShortMessage Center Agent).

步骤16,SMSC将SMPP_Submit发送给移动终端,并等待移动终端反馈状态报告,同时通过SMCAgent向SMServer反馈响应消息SMPP_Submit_Resp。其中,SMPP_Submit_Resp中包含短消息标识Msg_Id。In step 16, the SMSC sends SMPP_Submit to the mobile terminal, waits for the mobile terminal to feed back a status report, and at the same time feeds back a response message SMPP_Submit_Resp to the SMSServer through the SMCAgent. Wherein, the SMPP_Submit_Resp includes the short message identifier Msg_Id.

步骤17,SMServer收到SMPP_Submit_Resp后,生成等待状态报告实体,生成等待状态报告实体的实质为对短消息标识Msg_Id进行存储,以等待与后续接收到的由移动终端通过SMSC反馈的状态报告消息中的Msg_Id进行匹配。Step 17, after SMSServer receives SMPP_Submit_Resp, it generates a waiting state reporting entity, and the essence of generating the waiting state reporting entity is to store the short message identification Msg_Id, so as to wait for the status report message fed back by the mobile terminal by the SMSC to wait for the subsequent received Msg_Id for matching.

步骤18,SMServer从多个处理状态报告服务器(DRServer,Deal withReport)中确定一个DRServer,并向确定的该DRServer发送存储消息,该存储消息中包含Msg_Id和SMServer标识的对应关系,该对应关系用以指示与该Msg_Id对应的等待状态报告实体是由相应的某个SMServer生成的。Step 18, SMSServer determines a DRServer from a plurality of processing state report servers (DRServer, Deal withReport), and sends storage message to this determined DRServer, comprises the corresponding relation of Msg_Id and SMSServer identification in this stored message, and this corresponding relationship is used for Indicates that the waiting state reporting entity corresponding to the Msg_Id is generated by a corresponding SMSServer.

步骤19,DRServer收到存储消息后,对Msg_Id和SMServer标识的对应关系进行存储。Step 19, after receiving the storage message, the DRServer stores the corresponding relationship between the Msg_Id and the SMSServer ID.

步骤110,SMSC接收移动终端发送的状态报告消息。Step 110, the SMSC receives the status report message sent by the mobile terminal.

步骤111,SMSC将状态报告消息的相关内容承载在SMPP_Deliver(该SMPP_Deliver也可以看做是状态报告消息)中发送给SMCAgent。In step 111, the SMSC carries the relevant content of the status report message in SMPP_Deliver (the SMPP_Deliver can also be regarded as a status report message) and sends it to the SMCAgent.

步骤112,SMCAgent收到SMPP_Deliver后,确定相应的DRServer,并向确定的DRServer发送查询请求,该查询请求中包含SMPP_Deliver中承载的Msg_Id。Step 112: After receiving the SMPP_Deliver, the SMCAgent determines the corresponding DRServer, and sends a query request to the determined DRServer, the query request includes the Msg_Id carried in the SMPP_Deliver.

步骤113,接收到查询请求的DRServer根据查询请求中包含的Msg_Id,在自身存储的Msg_Id和SMServer标识的对应关系中查询与接收到的该Msg_Id对应的SMServer标识。在本步骤112中,若DRServer查询失败,则会再重复查询两次,每次查询间隔1秒。Step 113 , the DRServer that has received the query request searches for the SMSServer ID corresponding to the received Msg_Id in the corresponding relationship between the Msg_Id and the SMSServer ID stored in itself according to the Msg_Id included in the query request. In this step 112, if the query by the DRServer fails, it will repeat the query twice, with an interval of 1 second between each query.

步骤114,DRServer将查询到的与状态报告消息中的Msg_Id对应的SMServer标识发送给SMCAgent。In step 114, the DRServer sends the queried SMSServer ID corresponding to the Msg_Id in the status report message to the SMCAgent.

步骤115,SMCAgent向查询到的SMServer标识指示的SMServer转发状态报告消息。Step 115, the SMCAgent forwards the status report message to the SMSServer indicated by the queried SMSServer ID.

步骤116,SMServer根据状态报告消息中的Msg_Id进行等待状态报告实体匹配,针对匹配成功的等待状态报告实体生成计费话单。In step 116, the SMSServer matches the waiting state reporting entity according to the Msg_Id in the state reporting message, and generates a charging bill for the waiting state reporting entity that is successfully matched.

步骤117,SMServer向SMCAgent反馈响应消息。In step 117, the SMSServer feeds back a response message to the SMCAgent.

步骤118,SMCAgent向SMSC发送用于指示成功接收状态报告消息的状态报告接收响应消息SMPP_Deliver_Resp。In step 118, the SMCAgent sends to the SMSC a status report reception response message SMPP_Deliver_Resp for indicating successful reception of the status report message.

在后续的执行步骤中,SMServer可以确定相应的DRServer,并向该DRServer发送删除请求,该删除请求中包含匹配成功的等待状态报告实体对应的Msg_Id。DRServer在收到删除请求后,删除相应的Msg_Id与SMServer标识的对应关系。同时,SMServer向ECAgent发送状态报告消息CMPP_Deliver,收到CMPP_Deliver的ECAgent向EC/SI转发状态报告消息并将收到的EC/SI发送来的响应消息CMPP_Deliver_Resp转发给SMServer。In subsequent execution steps, the SMSServer may determine the corresponding DRServer, and send a delete request to the DRServer, where the delete request includes the Msg_Id corresponding to the successfully matched waiting state reporting entity. After receiving the delete request, the DRServer deletes the correspondence between the corresponding Msg_Id and the SMSServer ID. At the same time, the SMSServer sends a status report message CMPP_Deliver to the ECAgent, and the ECAgent that receives the CMPP_Deliver forwards the status report message to the EC/SI and forwards the received response message CMPP_Deliver_Resp from the EC/SI to the SMSServer.

需要说明的是,上述ECAgent、SMServer、SMCAgent、DRServer共同构成了网关。It should be noted that the above-mentioned ECAgent, SMSServer, SMCAgent, and DRServer together constitute a gateway.

在如图1所示的应用场景下,SMSC发送状态报告消息是采用同步方式。该同步方式的含义在于,函数调用者需等待函数执行完成后才能进到下一步,即在如图1所示的场景下,SMSC在发送完毕一条状态报告消息后,必须等到接收到SMPP_Deliver_Resp后才能再发送下一条状态报告消息。基于同步方式和上述步骤,现有技术中提供的上述方案存在的缺陷在于,网关在收到SMSC发送的状态报告消息后,需要经过一系列复杂的内部处理(包括查询、匹配、生成计费话单等)才会给SMSC反馈响应消息SMPP_Deliver_Resp,从而导致了网关响应SMSC发送的状态报告消息的时间过长,进而导致了SMSC发送状态报告消息的效率较低,也增加了状态报告消息积压的可能性。In the application scenario shown in Figure 1, the SMSC sends the status report message in a synchronous manner. The meaning of this synchronization method is that the function caller needs to wait for the function to be executed before proceeding to the next step, that is, in the scenario shown in Figure 1, after the SMSC sends a status report message, it must wait until it receives the SMPP_Deliver_Resp before proceeding to the next step. Then send the next status report message. Based on the synchronization method and the above-mentioned steps, the defect of the above-mentioned scheme provided in the prior art is that after the gateway receives the status report message sent by the SMSC, it needs to go through a series of complicated internal processing (including query, matching, generating billing order) will feed back the response message SMPP_Deliver_Resp to the SMSC, resulting in too long a time for the gateway to respond to the status report message sent by the SMSC, which in turn leads to a low efficiency of sending the status report message by the SMSC, and also increases the possibility of a backlog of status report messages sex.

发明内容Contents of the invention

本发明实施例提供一种状态报告接收响应消息的发送方法、系统及短消息中心代理器,用以解决SMSC基于同步方式发送状态报告消息的效率较低的问题。Embodiments of the present invention provide a method and system for sending status report receiving response messages and a short message center agent to solve the problem of low efficiency of sending status report messages by SMSC based on synchronous mode.

本发明实施例采用以下技术方案:Embodiments of the present invention adopt the following technical solutions:

一种状态报告接收响应消息的发送方法,包括:短消息中心代理器SMCAgent接收短消息服务中心SMSC发送的状态报告消息;以及向SMSC发送用于指示成功接收所述状态报告消息的状态报告接收响应消息;所述SMCAgent在发送状态报告接收响应消息之后,根据状态报告消息中承载的短消息标识Msg_Id向处理状态报告服务器DRServer发送查询请求。A method for sending a status report receiving a response message, comprising: the short message center agent SMCAgent receives a status report message sent by a short message service center SMSC; and sends a status report receiving response for indicating successful reception of the status report message to the SMSC message; after the SMCAgent sends the status report and receives the response message, it sends a query request to the processing status report server DRServer according to the short message identifier Msg_Id carried in the status report message.

一种状态报告接收响应消息的发送系统,包括短消息服务中心SMSC和短消息中心代理器SMCAgent,其中,SMSC,用于接收移动终端发送的状态报告消息,并将该状态报告消息发送给SMCAgent;SMCAgent,用于接收SMSC发送的状态报告消息,并向SMSC发送用于指示成功接收所述状态报告消息的状态报告接收响应消息,以及在发送状态报告接收响应消息之后,根据状态报告消息中承载的短消息标识Msg_Id向处理状态报告服务器DRServer发送查询请求。A system for sending a status report receiving a response message, including a short message service center SMSC and a short message center agent SMCAgent, wherein the SMSC is used to receive a status report message sent by a mobile terminal, and send the status report message to the SMCAgent; SMCAgent, used to receive the status report message sent by the SMSC, and send to the SMSC a status report receiving response message for indicating that the status report message was successfully received, and after sending the status report receiving response message, according to the carried status in the status report message The short message identifier Msg_Id sends a query request to the processing status report server DRServer.

一种短消息中心代理器,包括:接收单元,用于接收短消息服务中心SMSC发送的状态报告消息;响应消息发送单元,用于向SMSC发送用于指示接收单元成功接收所述状态报告消息的状态报告接收响应消息;查询请求发送单元,用于在响应消息发送单元发送状态报告接收响应消息后,根据接收单元接收的所述状态报告消息中承载的短消息标识Msg_Id,向处理状态报告服务器DRServer发送承载Msg_Id的查询请求。A short message center agent, comprising: a receiving unit, used to receive the status report message sent by the short message service center SMSC; a response message sending unit, used to send to the SMSC a message indicating that the receiving unit successfully receives the status report message The status report receives a response message; the query request sending unit is used to send the status report to the processing status report server DRServer according to the short message identification Msg_Id carried in the status report message received by the receiving unit after the response message sending unit sends the status report receiving response message Send a query request bearing Msg_Id.

本发明实施例的有益效果如下:The beneficial effects of the embodiments of the present invention are as follows:

通过本发明实施例提供的上述方案,SMCAgent在向DRServer发送查询请求前,就先向SMSC发送状态报告接收响应消息,避免了SMSC需要等待网关进行查询、匹配、计费等一系列操作后再发送状态报告接收响应消息,从而节省了SMSC在发送状态报告消息至接收上述响应消息之间的时间,使得SMSC在发送两条状态报告消息之间间隔的时间明显缩短,在基于同步方式下,SMSC发送状态报告消息的效率提高,避免了状态报告消息在SMSC处的积压。并且,本发明实施例提供的上述方案还无需改变SMSC在发送状态报告消息所采用的同步方式。Through the above scheme provided by the embodiment of the present invention, before sending a query request to DRServer, the SMCAgent sends a status report to the SMSC to receive a response message, avoiding that the SMSC needs to wait for the gateway to perform a series of operations such as query, matching, and billing before sending The status report receives the response message, thereby saving the time between the SMSC sending the status report message and receiving the above response message, so that the time between the SMSC sending two status report messages is significantly shortened. In the synchronization-based mode, the SMSC sends The efficiency of status report messages is improved, and the backlog of status report messages at the SMSC is avoided. Moreover, the above solution provided by the embodiment of the present invention does not need to change the synchronization method adopted by the SMSC for sending the status report message.

附图说明Description of drawings

图1为现有技术中向移动终端发送短消息直至向SMSC反馈响应消息的流程示意图;Fig. 1 is the flow schematic diagram until sending short message to SMSC feedback response message to mobile terminal in the prior art;

图2为本发明实施例提供的一种状态报告接收响应消息的发送方法的具体流程示意图;FIG. 2 is a schematic flowchart of a method for sending a status report reception response message provided by an embodiment of the present invention;

图3为本发明实施例提供的方案在实际中的一个应用流程示意图;FIG. 3 is a schematic diagram of an application process of the solution provided by the embodiment of the present invention in practice;

图4为本发明实施例提供的一种状态报告接收响应消息的发送系统的具体结构示意图;FIG. 4 is a schematic structural diagram of a system for sending a status report reception response message provided by an embodiment of the present invention;

图5为本发明实施例提供的一种SMCAgent的具体结构示意图。Fig. 5 is a schematic diagram of a specific structure of an SMCAgent provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了解决前文提到的现有技术中存在的SMSC基于同步方式发送状态报告消息时,网关响应SMSC发送的状态报告消息的时间过长会导致SMSC发送状态报告消息的效率较低的问题,发明人对现有技术中如图1所示的流程进行了分析。通过分析发现,在现有技术中,造成SMSC发送状态报告消息的效率较低的主要原因在于,SMCAgent在接收到SMSC发送来的状态报告消息后,需要向DRServer发送查询请求,并需要向查询到的SMServer转发状态报告消息以实现计费等操作,正是这些操作导致了SMCAgent在较长的一段时间后才会向SMSC反馈状态报告接收响应消息,从而降低了SMSC发送状态报告消息的效率。通过进一步的分析,发明人认为,由于网关内部在接收到状态报告消息后进行的一系列处理与SMSC基本无关,因此在同步方式下,SMSC发送状态报告消息的前提可以不是网关实施计费操作完成这一条件,而是可以为SMCAgent成功接收到了状态报告消息这一条件。In order to solve the problem that in the prior art mentioned above, when the SMSC sends the status report message based on the synchronous mode, the gateway responds to the status report message sent by the SMSC for too long, which will lead to the low efficiency of the SMSC to send the status report message. The inventor The process shown in Figure 1 in the prior art is analyzed. Through analysis, it is found that in the prior art, the main reason for the low efficiency of SMSC sending status report messages is that SMCAgent needs to send a query request to DRServer after receiving the status report message sent by SMSC, and needs to query to The SMSServer forwards the status report message to implement operations such as billing. It is these operations that cause the SMCAgent to feed back the status report reception response message to the SMSC after a long period of time, thereby reducing the efficiency of the SMSC to send the status report message. Through further analysis, the inventor thinks that since the series of processing performed by the gateway after receiving the status report message is basically irrelevant to the SMSC, in the synchronous mode, the prerequisite for the SMSC to send the status report message may not be that the gateway implements the charging operation. This condition may instead be the condition that the SMCAgent has successfully received the status report message.

通过上述分析,本发明实施例提供了一种状态报告接收响应消息的方案,通过在网关接收到SMSC发送的状态报告后、进行查询计费等操作前,就将状态报告接收响应消息反馈给SMSC,从而大大缩短了SMSC等待状态报告接收响应消息的时长,实现了对SMSC发送状态报告消息效率的提高。Through the above analysis, the embodiment of the present invention provides a solution for receiving a status report response message, by feeding back the status report receiving response message to the SMSC after the gateway receives the status report sent by the SMSC and before performing operations such as querying and charging , thereby greatly shortening the time for the SMSC to wait for the status report to receive a response message, and improving the efficiency of sending the status report message to the SMSC.

以下结合附图,详细说明本发明实施例提供的方案。The solutions provided by the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

本发明实施例首先提供一种状态报告接收响应消息的发送方法,该方法的具体流程示意图如图2所示,包括下述步骤:Embodiments of the present invention firstly provide a method for sending a status report reception response message. The specific flowchart of the method is shown in FIG. 2 , including the following steps:

步骤21,SMCAgent接收SMSC发送的状态报告消息;Step 21, SMCAgent receives the status report message that SMSC sends;

步骤22,SMCAgent向SMSC发送用于指示成功接收状态报告消息的状态报告接收响应消息;Step 22, the SMCAgent sends a status report reception response message for indicating successful reception of the status report message to the SMSC;

步骤23,SMCAgent在发送状态报告接收响应消息后,根据状态报告消息中承载的短消息标识Msg_Id向DRServer发送查询请求。Step 23: After sending the status report and receiving the response message, the SMCAgent sends a query request to the DRServer according to the short message identifier Msg_Id carried in the status report message.

通过本发明实施例提供的上述方法,SMCAgent在向DRServer发送查询请求前,就先向SMSC发送状态报告接收响应消息,这就避免了SMSC需要等待网关进行查询、匹配和计费等一系列操作后再发送状态报告接收响应消息,从而节省了SMSC在发送状态报告消息至接收上述响应消息之间的时间。在同步方式下,采用本发明实施例提供的上述方法后,SMSC在发送两条状态报告消息之间间隔的时间明显缩短,SMSC发送状态报告消息的效率提高,避免了状态报告消息在SMSC处的积压。Through the above method provided by the embodiment of the present invention, SMCAgent sends a status report to SMSC before sending a query request to DRServer, and receives a response message, which avoids that SMSC needs to wait for the gateway to perform a series of operations such as query, matching and billing. The status report is resent to receive the response message, thereby saving the time between sending the status report message and receiving the above response message by the SMSC. Under the synchronous mode, after adopting the above-mentioned method that the embodiment of the present invention provides, SMSC obviously shortens the time interval between sending two status report messages, and the efficiency of SMSC sending status report message improves, avoiding status report message at SMSC place backlog.

需要说明的是,为了向DRServer发送查询请求,SMCAgent需要从状态报告消息中解析出Msg_Id。在本发明实施例中,SMCAgent从状态报告消息中解析出Msg_Id这一步骤可以是在步骤22前执行的,也可以是在步骤22之后执行的。在步骤22之后执行而不在步骤22前执行的好处在于,可以进一步缩短SMSC等待状态报告接收响应消息的时间。具体地,当在上述步骤22执行完毕后,而在执行步骤23前,还可以进一步包括SMCAgent从状态报告消息中解析得到Msg_Id。It should be noted that, in order to send a query request to the DRServer, the SMCAgent needs to parse out the Msg_Id from the status report message. In the embodiment of the present invention, the step of parsing the Msg_Id from the status report message by the SMCAgent may be performed beforestep 22 or afterstep 22 . The advantage of executing afterstep 22 but not beforestep 22 is that the time for the SMSC to wait for the status report reception response message can be further shortened. Specifically, after theabove step 22 is executed, but beforestep 23 is executed, it may further include that the SMCAgent obtains the Msg_Id by parsing the status report message.

本发明实施例提供的上述方案在实际中的一个应用流程示意图如图3所示,主要包括下述步骤:An actual application flow diagram of the above solution provided by the embodiment of the present invention is shown in Figure 3, which mainly includes the following steps:

步骤31,ECAgent接收EC/SI发送的短消息CMPP_Submit。Step 31, ECAgent receives the short message CMPP_Submit sent by EC/SI.

步骤32,ECAgent将接收到的CMPP_Submit发送给任意SMServer。Step 32, ECAgent sends the received CMPP_Submit to any SMSServer.

步骤33,ECAgent接收由SMServer反馈来的响应消息CMPP_Submit_Resp。In step 33, the ECAgent receives the response message CMPP_Submit_Resp fed back by the SMServer.

步骤34,ECAgent向EC/SI返回响应消息CMPP_Submit_Resp。In step 34, the ECAgent returns a response message CMPP_Submit_Resp to the EC/SI.

步骤35,SMServer通过任意的SMCAgent向SMSC发送对应于CMPP_Submit的SMPP_Submit,Step 35, SMSServer sends SMPP_Submit corresponding to CMPP_Submit to SMSC through any SMCAgent,

步骤36,SMSC将SMPP_Submit发送给移动终端,并等待移动终端反馈状态报告,同时通过SMCAgent向SMServer反馈响应消息SMPP_Submit_Resp。其中,SMPP_Submit_Resp中包含短消息标识Msg_Id。In step 36, the SMSC sends SMPP_Submit to the mobile terminal, waits for the mobile terminal to feed back a status report, and at the same time feeds back a response message SMPP_Submit_Resp to the SMSServer through the SMCAgent. Wherein, the SMPP_Submit_Resp includes the short message identifier Msg_Id.

步骤37,SMServer收到SMPP_Submit_Resp后,生成等待状态报告实体。Step 37: After receiving the SMPP_Submit_Resp, the SMSServer generates a waiting state reporting entity.

步骤38,SMServer从多个DRServer中确定一个DRServer,并向确定的该DRServer发送包含短消息标识Msg_Id和SMServer标识对应关系的存储消息。In step 38, the SMSServer determines a DRServer from multiple DRServers, and sends a stored message including the correspondence between the short message identifier Msg_Id and the SMSServer identifier to the determined DRServer.

步骤39,DRServer收到存储消息后,对Msg_Id和SMServer标识的对应关系进行存储。Step 39: After receiving the storage message, the DRServer stores the corresponding relationship between the Msg_Id and the SMSServer ID.

步骤310,SMSC接收移动终端发送的状态报告消息。In step 310, the SMSC receives the status report message sent by the mobile terminal.

步骤311,SMSC将状态报告消息的相关内容承载在SMPP_Deliver(该SMPP_Deliver也可以看做是状态报告消息)中发送给SMCAgent。In step 311, the SMSC carries the relevant content of the status report message in SMPP_Deliver (the SMPP_Deliver can also be regarded as a status report message) and sends it to the SMCAgent.

步骤312,SMCAgent收到SMPP_Deliver后,向SMSC发送状态报告接收响应消息SMPP_Deliver_Resp。Step 312: After receiving the SMPP_Deliver, the SMCAgent sends a status report reception response message SMPP_Deliver_Resp to the SMSC.

步骤313,SMCAgent确定相应的DRServer,并向确定的DRServer发送查询请求,该查询请求中包含SMPP_Deliver中承载的Msg_Id。In step 313, the SMCAgent determines the corresponding DRServer, and sends a query request to the determined DRServer, where the query request includes the Msg_Id carried in the SMPP_Deliver.

步骤314,接收到查询请求的DRServer根据查询请求中包含的Msg_Id,在自身存储的Msg_Id和SMServer标识的对应关系中查询与接收到的该Msg_Id对应的SMServer标识。在本步骤314中,若DRServer查询失败,则会再重复查询两次,每次查询间隔1秒。Step 314 , the DRServer that has received the query request searches for the SMSServer ID corresponding to the received Msg_Id in the corresponding relationship between the Msg_Id and the SMSServer ID stored in itself according to the Msg_Id included in the query request. In this step 314, if the query by the DRServer fails, it will repeat the query twice, with an interval of 1 second between each query.

步骤315,DRServer将查询到的与状态报告消息中的Msg_Id对应的SMServer标识发送给SMCAgent。In step 315, the DRServer sends the queried SMSServer ID corresponding to the Msg_Id in the status report message to the SMCAgent.

步骤316,SMCAgent向查询到的SMServer标识指示的SMServer转发状态报告消息。In step 316, the SMCAgent forwards the status report message to the SMSServer indicated by the queried SMSServer identifier.

步骤317,SMServer根据状态报告消息中的Msg_Id进行等待状态报告实体匹配,针对匹配成功的等待状态报告实体生成计费话单。In step 317, the SMSServer matches the waiting status reporting entity according to the Msg_Id in the status reporting message, and generates a charging bill for the matching waiting status reporting entity.

步骤318,SMServer向SMCAgent反馈响应消息。In step 318, the SMSServer feeds back a response message to the SMCAgent.

与现有技术类似,在后续的执行步骤中,SMServer可以确定相应的DRServer,并向该DRServer发送删除请求,该删除请求中包含匹配成功的等待状态报告实体对应的Msg_Id。DRServer在收到删除请求后,删除相应的Msg_Id与SMServer标识的对应关系。同时,SMServer向ECAgent发送基于CMPP的状态报告消息CMPP_Deliver,收到CMPP_Deliver的ECAgent向EC/SI转发状态报告消息并将收到的EC/SI发送来的响应消息CMPP_Deliver_Resp转发给SMServer。Similar to the prior art, in subsequent execution steps, the SMSServer can determine the corresponding DRServer, and send a delete request to the DRServer, and the delete request includes the Msg_Id corresponding to the successfully matched waiting state reporting entity. After receiving the delete request, the DRServer deletes the correspondence between the corresponding Msg_Id and the SMSServer ID. At the same time, the SMSServer sends the CMPP-based status report message CMPP_Deliver to the ECAgent, and the ECAgent that receives the CMPP_Deliver forwards the status report message to the EC/SI and forwards the received response message CMPP_Deliver_Resp from the EC/SI to the SMSServer.

采用上述方案,网关在收到SMSC发送的状态报告消息后,直接先给SMSC响应,然后再进行内部处理,这样就大大缩短了网关响应状态报告消息的时间,从而提高了SMSC发送状态报告消息的效率,也就减少了状态报告消息积压的可能性。With the above scheme, after receiving the status report message sent by the SMSC, the gateway directly responds to the SMSC first, and then performs internal processing, which greatly shortens the time for the gateway to respond to the status report message, thereby improving the efficiency of the SMSC to send the status report message. Efficiency, which reduces the possibility of a backlog of status report messages.

对应于本发明实施例提供的上述状态报告接收响应消息的发送方法,本发明实施例还提供一种状态报告接收响应消息的发送系统,该系统的具体结构如图4所示,包括SMSC41和SMCAgent42。其中,SMSC41主要用于接收移动终端发送的状态报告消息,并将该状态报告消息发送给SMCAgent42。SMCAgent42的主要作用在于,接收SMSC41发送的状态报告消息,并向SMSC发送用于指示成功接收所述状态报告消息的状态报告接收响应消息,以及在发送状态报告接收响应消息之后,根据状态报告消息中承载的短消息标识Msg_Id向DRServer发送查询请求。Corresponding to the method for sending the above-mentioned status report reception response message provided by the embodiment of the present invention, the embodiment of the present invention also provides a system for sending a status report reception response message. The specific structure of the system is shown in Figure 4, including SMSC41 and SMCAgent42 . Wherein, SMSC41 is mainly used for receiving the status report message sent by the mobile terminal, and sending the status report message to SMCAgent42. The main function of SMCAgent42 is to receive the status report message sent by SMSC41, and send to SMSC the status report receiving response message for indicating that the status report message is successfully received, and after sending the status report receiving response message, according to the status report message in the status report message The bearer short message identifier Msg_Id sends a query request to the DRServer.

在一个较佳的实施例中,上述SMCAgent42还用于在发送状态报告接收响应消息后,以及发送查询请求前,从所述状态报告消息中解析得到Msg_Id。In a preferred embodiment, the above-mentioned SMCAgent42 is further configured to parse and obtain the Msg_Id from the status report message after sending the status report receiving response message and before sending the query request.

为了解决现有技术中存在的SMSC基于同步方式发送状态报告消息时,网关响应SMSC发送的状态报告消息的时间过长会导致SMSC发送状态报告消息的效率较低的问题,对应于本发明实施例提供的上述方案,本发明实施例还提供一种如图5所示的SMCAgent,其包括下述功能单元:In order to solve the problem in the prior art that when the SMSC sends a status report message based on a synchronous manner, the gateway responds to the status report message sent by the SMSC for too long, which will lead to the low efficiency of the SMSC to send the status report message, corresponding to the embodiment of the present invention The above-mentioned scheme that provides, the embodiment of the present invention also provides a kind of SMCAgent as shown in Figure 5, and it comprises following functional unit:

接收单元51,用于接收SMSC发送的状态报告消息;Receivingunit 51, for receiving the status report message that SMSC sends;

响应消息发送单元52,用于向SMSC发送用于指示接收单元51成功接收所述状态报告消息的状态报告接收响应消息;A responsemessage sending unit 52, configured to send a status report receiving response message for indicating that the receivingunit 51 has successfully received the status report message to the SMSC;

查询请求发送单元53,用于在响应消息发送单元52发送状态报告接收响应消息后,根据接收单元51接收的状态报告消息中承载的短消息标识Msg_Id,向处理状态报告服务器DRServer发送承载Msg_Id的查询请求。The queryrequest sending unit 53 is used to send the query carrying Msg_Id to the processing status report server DRServer according to the short message identification Msg_Id carried in the status report message received by the receivingunit 51 after the responsemessage sending unit 52 sends the status report receiving response message ask.

在一个较佳的实施例中,上述装置还可以进一步包括解析单元,该解析单元用于在响应消息发送单元52发送状态报告接收响应消息后,以及在查询请求发送单元53发送查询请求前,从接收单元51接收的状态报告消息中解析得到Msg_Id。In a preferred embodiment, the above-mentioned device may further include an analysis unit, which is used to read from The Msg_Id is obtained by parsing the status report message received by the receivingunit 51 .

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (6)

CN201010561111.1A2010-11-262010-11-26Method for sending status report receiving response message, system for sending status report receiving response message and agent for sending status report receiving response messageActiveCN102480704B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201010561111.1ACN102480704B (en)2010-11-262010-11-26Method for sending status report receiving response message, system for sending status report receiving response message and agent for sending status report receiving response message

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201010561111.1ACN102480704B (en)2010-11-262010-11-26Method for sending status report receiving response message, system for sending status report receiving response message and agent for sending status report receiving response message

Publications (2)

Publication NumberPublication Date
CN102480704Atrue CN102480704A (en)2012-05-30
CN102480704B CN102480704B (en)2015-05-27

Family

ID=46093151

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201010561111.1AActiveCN102480704B (en)2010-11-262010-11-26Method for sending status report receiving response message, system for sending status report receiving response message and agent for sending status report receiving response message

Country Status (1)

CountryLink
CN (1)CN102480704B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105407505A (en)*2014-07-182016-03-16青岛海尔智能家电科技有限公司Resource control message processing method and device

Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2001080534A1 (en)*2000-04-182001-10-25Telecommunication Systems, Inc.Short messaging service center mobile-originated to http internet communications
EP1248484A1 (en)*2001-03-082002-10-09Openwave Systems Inc.Method and system for providing presence and location information of mobile devices to applications
US6959194B2 (en)*2002-09-042005-10-25Cmg International B.V.SMS-messaging
US20060025163A1 (en)*2000-04-112006-02-02Smith Richard AIntelligent delivery agent for short message distribution center
CN1856132A (en)*2005-04-262006-11-01华为技术有限公司Method for push business
WO2007033524A1 (en)*2005-09-222007-03-29Zte CorporationA method for receiving/sending short message by a g net short message center for a cdma user and the short message gateway thereof
CN1957563A (en)*2004-05-182007-05-02授权交互集团有限公司Message routing method and system
US20070136592A1 (en)*2000-04-122007-06-14Smith Richard AWireless internet gateway
CN101175046A (en)*2006-10-302008-05-07中兴通讯股份有限公司Method for actively acquiring message delivery state
CN101212344A (en)*2006-12-292008-07-02中国移动通信集团公司 Method for Acquiring Performance Parameters of Multimedia Information Service Center
CN101247562A (en)*2008-03-202008-08-20中兴通讯股份有限公司Method and system for implementing CDMA wireless intelligent network MAP short message
WO2009056932A2 (en)*2007-11-012009-05-07Telefonaktiebolaget Lm Ericsson (Publ)Circuit-switched services over sae/lte networks
EP2073467A1 (en)*2007-12-212009-06-24Nokia Siemens Networks OyMessaging mechanism
US20100069102A1 (en)*2007-03-122010-03-18Huawei Technologies Co., Ltd.Method and device for processing value-added service for short message service

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060025163A1 (en)*2000-04-112006-02-02Smith Richard AIntelligent delivery agent for short message distribution center
US20070136592A1 (en)*2000-04-122007-06-14Smith Richard AWireless internet gateway
WO2001080534A1 (en)*2000-04-182001-10-25Telecommunication Systems, Inc.Short messaging service center mobile-originated to http internet communications
EP1248484A1 (en)*2001-03-082002-10-09Openwave Systems Inc.Method and system for providing presence and location information of mobile devices to applications
US6959194B2 (en)*2002-09-042005-10-25Cmg International B.V.SMS-messaging
CN1957563A (en)*2004-05-182007-05-02授权交互集团有限公司Message routing method and system
CN1856132A (en)*2005-04-262006-11-01华为技术有限公司Method for push business
WO2007033524A1 (en)*2005-09-222007-03-29Zte CorporationA method for receiving/sending short message by a g net short message center for a cdma user and the short message gateway thereof
CN101175046A (en)*2006-10-302008-05-07中兴通讯股份有限公司Method for actively acquiring message delivery state
CN101212344A (en)*2006-12-292008-07-02中国移动通信集团公司 Method for Acquiring Performance Parameters of Multimedia Information Service Center
US20100069102A1 (en)*2007-03-122010-03-18Huawei Technologies Co., Ltd.Method and device for processing value-added service for short message service
WO2009056932A2 (en)*2007-11-012009-05-07Telefonaktiebolaget Lm Ericsson (Publ)Circuit-switched services over sae/lte networks
EP2073467A1 (en)*2007-12-212009-06-24Nokia Siemens Networks OyMessaging mechanism
CN101247562A (en)*2008-03-202008-08-20中兴通讯股份有限公司Method and system for implementing CDMA wireless intelligent network MAP short message

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
3GPP SA WG2: "S2-063417 Annex D Short Message Service Correction", 《S2-063417》, 1 September 2006 (2006-09-01)*
3GPP: "S2-051160", 《S2-051160》, 13 May 2005 (2005-05-13)*
HUAWEI: "S2-043316 Import content from Annex D of TS23234", 《S2-043316》, 15 October 2004 (2004-10-15)*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105407505A (en)*2014-07-182016-03-16青岛海尔智能家电科技有限公司Resource control message processing method and device
CN105407505B (en)*2014-07-182019-05-17青岛海尔智能家电科技有限公司A kind of processing method and processing device of Resource Control Message

Also Published As

Publication numberPublication date
CN102480704B (en)2015-05-27

Similar Documents

PublicationPublication DateTitle
US10542394B1 (en)Methods, systems, and computer redable media for optimized short message service (SMS)-based Internet of Things (IoT) device triggering
CN102647705B (en)Method and system for mobile terminal parameter configuration
EP1747650A1 (en)A method for transmitting multimedia messages
US10104033B2 (en)Method for sending message, method for reading and notifying message, method for receiving message, and apparatus
WO2021169674A1 (en)Processing method and apparatus for service data
CN1976498A (en)Immediate message server, guestroom end, processing system and processing method
WO2009082961A1 (en)Information processing method, system, and information consolidation device
WO2013113195A1 (en)Method and system for sending short message
WO2020118633A1 (en)Subscription message processing method and apparatus, and computer device and storage medium
CN114449458B (en)5G message fallback method, system, computing device and storage medium
WO2010133054A1 (en)Managing/controlling apparatus and method for terminals based on m2m application platform
CN104486327A (en)Method and client side of communication between pages and long connection servers
CN103107953B (en) M2M communication method, device and system
CN101155348A (en) A system and method for sending multimedia messages in groups
CN101686210B (en)Method and device for processing instant message report or instant message
WO2023030136A1 (en)5g message processing method, apparatus and device, and computer-readable storage medium
CN105656769B (en) Business data processing method, device and system
CN102480704B (en)Method for sending status report receiving response message, system for sending status report receiving response message and agent for sending status report receiving response message
CN101277468B (en)Method, apparatus and system for transmitting group message
WO2018202079A1 (en)Information transmission method and device and storage medium
CN110557728A (en)short message sending method, device and network equipment
CN102244844A (en)Method for transmitting multimedia message, device and system
WO2011157158A2 (en)Method, system and short message services center for sending short messages
CN118803594A (en)Message sending method, system and 5G message system
WO2011110131A2 (en)Method and apparatus for processing a multimedia message

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp