CN102480704B - 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
CN102480704B
CN102480704B CN201010561111.1A CN201010561111A CN102480704B CN 102480704 B CN102480704 B CN 102480704B CN 201010561111 A CN201010561111 A CN 201010561111A CN 102480704 B CN102480704 B CN 102480704B
Authority
CN
China
Prior art keywords
message
status report
smsc
receiving
response
Prior art date
Application number
CN201010561111.1A
Other languages
Chinese (zh)
Other versions
CN102480704A (en
Inventor
杨刚
张磊
Original Assignee
中国移动通信集团北京有限公司
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 中国移动通信集团北京有限公司 filed Critical 中国移动通信集团北京有限公司
Priority to CN201010561111.1A priority Critical patent/CN102480704B/en
Publication of CN102480704A publication Critical patent/CN102480704A/en
Application granted granted Critical
Publication of CN102480704B publication Critical patent/CN102480704B/en

Links

Abstract

本发明公开了一种状态报告接收响应消息的发送方法、系统及短消息中心代理器,用以解决现有技术中存在的SMSC基于同步方式发送状态报告消息的效率较低的问题。 The present invention discloses a status report in response to receiving a message transmission method, the system and the short message center agent, in the prior art to solve the SMSC based on the synchronization state less efficient way to send messages to report the problem. 方法包括:短消息中心代理器SMCAgent接收短消息服务中心SMSC发送的状态报告消息;以及向SMSC发送用于指示成功接收所述状态报告消息的状态报告接收响应消息;所述SMCAgent在发送状态报告接收响应消息之后,根据状态报告消息中承载的短消息标识Msg_Id向处理状态报告服务器DRServer发送查询请求。 The method comprises: a short message center agent SMCAgent short message service center receives the status report message transmitted from the SMSC; and to the SMSC transmits the status indicates a successful reception of the status report message in response to receiving a report message; receiving the status report is sent SMCAgent after the response message, the short message status report message identifier carried in Msg_Id sends a query to the status report processing server DRServer.

Description

状态报告接收响应消息的发送方法、系统与代理器 The method of transmitting a status report response message is received, the system agent

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及一种状态报告接收响应消息的发送方法、系统与短消息中心代理器。 [0001] The present invention relates to communications technologies, and in particular relates to a method for transmitting a status report response message is received, the short message center system and agent.

背景技术 Background technique

[0002] 状态报告消息为移动终端在成功接收了短消息之后向短消息服务中心(SMSC,Short Message Service Center)反馈的一个通知消息,SMSC在收到该状态报告消息后,需要将该状态报告消息发送给网关,由网关根据该状态报告消息实施计费等操作。 [0002] status report message to the mobile terminal a notification message after successful reception of the short message feedback to the short message service center (SMSC, Short Message Service Center), SMSC after receiving the status report message, the status report is needed message to the gateway, the gateway billing and other operations by the embodiment according to the state report message. 目前,从向移动终端发送短消息直至网关完成计费并向SMSC反馈响应消息的整个流程的示意图如图1所示,该流程主要包括下述步骤: Currently, completion of sending a short message from the mobile terminal to the billing gateway until the entire process in response to the SMSC feedback message shown in FIG. 1 is a schematic, the process includes the steps of:

[0003] 步骤11,企业客户代理器(ECAgent,Enterprise Customer Agent)接收企业客户(Enterprise Customer)/ 服务集成商(Service Integrat1n) (EC/SI)发送的短消息CMPP_Submit(CMPP 为中国移动点对点协议,即China Mobile Peer to Peer)。 [0003] Step 11, business customers agent (ECAgent, Enterprise Customer Agent) receives corporate customers (Enterprise Customer) / Service Integrator (Service Integrat1n) (EC / SI) Short Message CMPP_Submit sent (CMPP China Mobile Point to Point Protocol, namely China Mobile Peer to Peer).

[0004] 步骤12,ECAgent将接收到的CMPP_Submit发送给任意短消息服务器(SMServer,Short Message Server)。 [0004] Step 12, ECAgent CMPP_Submit received any message sent to the server (SMServer, Short Message Server). 一般地,由于SMServer可以有多个,因此,在向SMServer发送CMPP_Submit时,可以采用轮询的方式向SMServer发送,比如,当需要发送多个CMPP_Submit时,可以分别将不同的CMPP_Submit发送给不同的SMServer。 In general, since there can be multiple SMServer Therefore, when sending CMPP_Submit to SMServer, polling methods can be used to send SMServer, for example, when it is necessary to transmit a plurality CMPP_Submit, may each be different CMPP_Submit sent to different SMServer . 在本步骤12中,假设只发送了一个CMPP_Submit给图中的SMServer。 In this step 12, it is assumed to send only one CMPP_Submit in FIG SMServer.

[0005] 步骤13,ECAgent接收由接收到该CMPP_Submit的SMServer反馈来的响应消息CMPP_Submit_Resp0 [0005] Step 13, ECAgent SMServer received by the received feedback of the CMPP_Submit response message CMPP_Submit_Resp0

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

[0007] 步骤15,SMServer通过任意的短消息中心代理器(SMCAgent,ShortMessageCenter Agent)向SMSC发送对应于CMPP_Submit的SMPP_Submit (SMPP为短消息点对点协议,即Short Message Peer to Peer)。 [0007] Step 15, SMServer SMSC sends the short message center through any agent (SMCAgent, ShortMessageCenter Agent) corresponding to the CMPP_Submit SMPP_Submit (SMPP Short Message Peer to Peer protocol is that the Short Message Peer to Peer).

[0008] 步骤16,SMSC将SMPP_Submit发送给移动终端,并等待移动终端反馈状态报告,同时通过SMCAgent 向SMServer 反馈响应消息SMPP_Submit_Resp。 [0008] Step 16, SMSC to the mobile terminal to SMPP_Submit, and waits for the mobile terminal feeds back a status report, and the feedback response message SMPP_Submit_Resp SMServer by SMCAgent. 其中,SMPP_Submit_Resp中包含短消息标识Msg_Id。 Wherein, SMPP_Submit_Resp message contains identification Msg_Id.

[0009] 步骤17,SMServer收到SMPP_Submit_Resp后,生成等待状态报告实体,生成等待状态报告实体的实质为对短消息标识Msg_Id进行存储,以等待与后续接收到的由移动终端通过SMSC反馈的状态报告消息中的Msg_Id进行匹配。 [0009] Step 17, after received SMServer SMPP_Submit_Resp, entity generates a wait status report, status report generated substantial waiting for the entity identification Msg_Id short message is stored to wait state by the mobile terminal through the SMSC subsequent to receiving feedback reports message Msg_Id match.

[0010] 步骤18,SMServer从多个处理状态报告服务器(DRServer,Deal with Report)中确定一个DRServer,并向确定的该DRServer发送存储消息,该存储消息中包含Msg_Id和SMServer标识的对应关系,该对应关系用以指示与该Msg_Id对应的等待状态报告实体是由相应的某个SMServer生成的。 [0010] Step 18, SMServer determining a plurality of processing status reports from the server (DRServer, Deal with Report) in a DRServer, and transmits the stored message DRServer determined that the stored message contains correspondence relationship Msg_Id SMServer and identification of the reporting entity to indicate a correspondence relationship with the waiting state in the corresponding Msg_Id generated by the respective one SMServer.

[0011] 步骤19,DRServer收到存储消息后,对Msg_Id和SMServer标识的对应关系进行存储。 [0011] Step 19, the storage DRServer received message, and the correspondence relationship Msg_Id SMServer identification stored.

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

[0013] 步骤111,SMSC将状态报告消息的相关内容承载在SMPP_Del iver (该SMPP_Deliver也可以看做是状态报告消息)中发送给SMCAgent。 [0013] Step 111, SMSC status report message content carried SMPP_Del iver (which can also be seen SMPP_Deliver status report message) sent to SMCAgent.

[0014] 步骤112,SMCAgent收到SMPP_Deliver后,确定相应的DRServer,并向确定的DRServer发送查询请求,该查询请求中包含SMPP_Deliver中承载的Msg_Id。 [0014] Step 112, after received SMCAgent SMPP_Deliver, corresponding DRServer determined, and the determined transmission DRServer query request, the query request contains Msg_Id SMPP_Deliver carried in.

[0015] 步骤113,接收到查询请求的DRServer根据查询请求中包含的Msg_Id,在自身存储的Msg_Id和SMServer标识的对应关系中查询与接收到的该Msg_Id对应的SMServer标识。 [0015] Step 113, the query request is received in accordance with Msg_Id DRServer query request contained in the query stored in the correspondence relation itself and SMServer Msg_Id identification received in the corresponding SMServer Msg_Id identification. 在本步骤112中,若DRServer查询失败,则会再重复查询两次,每次查询间隔I秒。 In this step 112, if the DRServer query fails, the query is repeated twice query interval I second.

[0016] 步骤114,DRServer将查询到的与状态报告消息中的Msg_Id对应的SMServer标识发送给SMCAgent。 [0016] Step 114, DRServer to query the status report message corresponding Msg_Id SMServer ID to SMCAgent.

[0017] 步骤115,SMCAgent向查询到的SMServer标识指示的SMServer转发状态报告消息。 [0017] Step 115, SMServer SMCAgent indication to forward the query to the status report message identifying SMServer.

[0018] 步骤116,SMServer根据状态报告消息中的Msg_Id进行等待状态报告实体匹配,针对匹配成功的等待状态报告实体生成计费话单。 [0018] Step 116, SMServer The status report message waiting status reporting entities matching Msg_Id, reporting entities generate a charging state of waiting for a successful match.

[0019] 步骤117,SMServer向SMCAgent反馈响应消息。 [0019] Step 117, SMServer SMCAgent feedback response to the message.

[0020] 步骤118,SMCAgent向SMSC发送用于指示成功接收状态报告消息的状态报告接收响应消息SMPP_De I iver_Resp。 [0020] Step 118, SMCAgent SMSC sends a status report message indicating successful reception of a status report in response to receiving a message SMPP_De I iver_Resp.

[0021] 在后续的执行步骤中,SMServer可以确定相应的DRServer,并向该DRServer发送删除请求,该删除请求中包含匹配成功的等待状态报告实体对应的Msg_Id。 [0021] In a subsequent step execution, SMServer can determine the corresponding DRServer, and sends the deletion request DRServer, the deletion request contained in waiting status report successfully matched entity corresponding Msg_Id. DRServer在收到删除请求后,删除相应的Msg_Id与SMServer标识的对应关系。 DRServer after receiving the delete request, delete the correspondence relation with SMServer Msg_Id identified. 同时,SMServer向ECAgent发送状态报告消息CMPP_Deliver,收到CMPP_Deliver的ECAgent向EC/SI转发状态报告消息并将收到的EC/SI发送来的响应消息CMPP_Deliver_Resp转发给SMServer。 Meanwhile, SMServer status report message sent to CMPP_Deliver ECAgent, the received CMPP_Deliver ECAgent forwarding state to EC / SI report message and forwards the received EC / SI transmitted in response to the message CMPP_Deliver_Resp SMServer.

[0022]需要说明的是,上述 ECAgent、SMServer、SMCAgent> DRServer 共同构成了网关。 [0022] It should be noted that the above ECAgent, SMServer, SMCAgent> DRServer constitute the gateway.

[0023] 在如图1所示的应用场景下,SMSC发送状态报告消息是采用同步方式。 [0023] In the application scenario illustrated in Figure 1, SMSC sends a status report message is a synchronous manner. 该同步方式的含义在于,函数调用者需等待函数执行完成后才能进到下一步,即在如图1所示的场景下,SMSC在发送完毕一条状态报告消息后,必须等到接收到SMPP_Deliver_Resp后才能再发送下一条状态报告消息。 The meaning of this synchronization system is that the caller must wait function to execute the function proceeds to the next step after the completion, i.e., in the scenario shown in FIG. 1, SMSC has been sent in a state report message, you must wait before receiving the SMPP_Deliver_Resp under a status report message resending. 基于同步方式和上述步骤,现有技术中提供的上述方案存在的缺陷在于,网关在收到SMSC发送的状态报告消息后,需要经过一系列复杂的内部处理(包括查询、匹配、生成计费话单等)才会给SMSC反馈响应消息SMPP_Deliver_Resp,从而导致了网关响应SMSC发送的状态报告消息的时间过长,进而导致了SMSC发送状态报告消息的效率较低,也增加了状态报告消息积压的可能性。 And a synchronized manner based on the above steps, the above-described prior art embodiment of the defects that provide the gateway after receiving the status report message transmitted from the SMSC, need to go through a series of complex internal processing (including a query, matching, generate a charging single, etc.) will give feedback response message SMSC SMPP_Deliver_Resp, resulting SMSC gateway status report message sent in response to a long time, leading to the SMSC sends a status report message low efficiency, but also increases the likelihood of a status report message backlog sex.

发明内容 SUMMARY

[0024] 本发明实施例提供一种状态报告接收响应消息的发送方法、系统及短消息中心代理器,用以解决SMSC基于同步方式发送状态报告消息的效率较低的问题。 [0024] An embodiment provides a method for transmitting a status report in response to receiving a message, the short message center system and agent, to solve the problem SMSC sends a status report message-based synchronization method of the present invention is less efficient.

[0025] 本发明实施例采用以下技术方案: [0025] The embodiments of the present invention adopts the following technical scheme:

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

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

[0028] 一种短消息中心代理器,包括:接收单元,用于接收短消息服务中心SMSC发送的状态报告消息;响应消息发送单元,用于向SMSC发送用于指示接收单元成功接收所述状态报告消息的状态报告接收响应消息;查询请求发送单元,用于在响应消息发送单元发送状态报告接收响应消息后,根据接收单元接收的所述状态报告消息中承载的短消息标识Msg_Id,向处理状态报告服务器DRServer发送承载Msg_Id的查询请求。 [0028] A short message center agent, comprising: a receiving unit for receiving a short message service center SMSC status report message sent; response message sending unit, configured to indicate to the SMSC transmits the successful reception state receiving means receiving a report message status report response message; query request sending means for receiving a response message after a response message sending unit sends a status report, according to the state receiving unit receives the short message identifier carried in the report message MSG_ID, the processing state DRServer report server transmits a query request carrying Msg_Id.

[0029] 本发明实施例的有益效果如下: [0029] Advantageous effects of the embodiments of the present invention are as follows:

[0030] 通过本发明实施例提供的上述方案,SMCAgent在向DRServer发送查询请求前,就先向SMSC发送状态报告接收响应消息,避免了SMSC需要等待网关进行查询、匹配、计费等一系列操作后再发送状态报告接收响应消息,从而节省了SMSC在发送状态报告消息至接收上述响应消息之间的时间,使得SMSC在发送两条状态报告消息之间间隔的时间明显缩短,在基于同步方式下,SMSC发送状态报告消息的效率提高,避免了状态报告消息在SMSC处的积压。 [0030] The solution provided by the embodiment of the present invention, SMCAgent before sending query request to DRServer, Xianxiang SMSC sends a status report response message is received, avoiding the need to wait SMSC gateway query, matching, a series of operations billing and then send the status report in response to receiving a message, thus saving time in the transmission between the SMSC receives the above status report message in response to the message, so that the SMSC significantly shorten the time interval between two transmission report message state in the synchronous mode based on , SMSC sends a status report message improve efficiency, avoid the backlog of messages in a status report at the SMSC. 并且,本发明实施例提供的上述方案还无需改变SMSC在发送状态报告消息所采用的同步方式。 And the solutions provided in the embodiment of the present invention without changing the synchronous mode SMSC sends a status report message used.

附图说明 BRIEF DESCRIPTION

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

[0032]图2为本发明实施例提供的一种状态报告接收响应消息的发送方法的具体流程示意图; [0032] FIG. 2 shows a specific process in a state report provided in response to receiving a message transmission method of embodiment of the invention;

[0033] 图3为本发明实施例提供的方案在实际中的一个应用流程示意图; [0033] FIG. 3 provides a schematic diagram of the embodiment in a practical application of the process embodiment of the invention;

[0034]图4为本发明实施例提供的一种状态报告接收响应消息的发送系统的具体结构示意图; [0034] FIG. 4 specific configuration diagram of an embodiment to provide a status report in response to reception of the message transmission system of the embodiment of the present invention;

[0035] 图5为本发明实施例提供的一种SMCAgent的具体结构示意图。 [0035] FIG. 5 is a specific configuration diagram of an SMCAgent according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0036] 为了解决前文提到的现有技术中存在的SMSC基于同步方式发送状态报告消息时,网关响应SMSC发送的状态报告消息的时间过长会导致SMSC发送状态报告消息的效率较低的问题,发明人对现有技术中如图1所示的流程进行了分析。 [0036] In order to solve the previously mentioned prior art in the present embodiment SMSC based on the synchronization state report message transmission, the gateway response status report message transmitted from the SMSC too long leads to a lower SMSC sends a status report message efficiency , the inventors of the prior art process shown in Figure 1 are analyzed. 通过分析发现,在现有技术中,造成SMSC发送状态报告消息的效率较低的主要原因在于,SMCAgent在接收到SMSC发送来的状态报告消息后,需要向DRServer发送查询请求,并需要向查询到的SMServer转发状态报告消息以实现计费等操作,正是这些操作导致了SMCAgent在较长的一段时间后才会向SMSC反馈状态报告接收响应消息,从而降低了SMSC发送状态报告消息的效率。 The analysis revealed that, in the prior art, resulting in the SMSC sends a status report message that the main reason for lower efficiency, SMCAgent after receiving the status report message sent by the SMSC needs to send a query request to DRServer, and the need to query the status report message forwarding SMServer to enable billing and other operations, it is these operations resulted SMCAgent response message is received after a longer period of time before feedback status report to the SMSC, thus reducing the efficiency of the SMSC sends a status report message. 通过进一步的分析,发明人认为,由于网关内部在接收到状态报告消息后进行的一系列处理与SMSC基本无关,因此在同步方式下,SMSC发送状态报告消息的前提可以不是网关实施计费操作完成这一条件,而是可以为SMCAgent成功接收到了状态报告消息这一条件。 By further analysis, the inventors believe that the series of processing inside the gateway receiving the status report message to the SMSC after substantially independent, and therefore in the synchronous mode, SMSC sends a status report message may not be a prerequisite for an accounting operation is completed the gateway this condition, but can be successfully received as to the status report message SMCAgent this condition.

[0037] 通过上述分析,本发明实施例提供了一种状态报告接收响应消息的方案,通过在网关接收到SMSC发送的状态报告后、进行查询计费等操作前,就将状态报告接收响应消息反馈给SMSC,从而大大缩短了SMSC等待状态报告接收响应消息的时长,实现了对SMSC发送状态报告消息效率的提高。 [0037] Through the above analysis, embodiments of the present invention provides a status report program received response message, after receiving by the gateway status report transmitted from the SMSC, billing inquiries before the operation, the status report will receive a response message back to the SMSC, thus greatly reducing the long waiting status report SMSC receives the response message, to achieve improved efficiency for the SMSC report message transmission status.

[0038] 以下结合附图,详细说明本发明实施例提供的方案。 [0038] conjunction with the drawings, embodiments provide a program of the present invention in detail.

[0039] 本发明实施例首先提供一种状态报告接收响应消息的发送方法,该方法的具体流程示意图如图2所示,包括下述步骤: [0039] First embodiment of the invention provides a method for transmitting a status report in response to receiving the message, the specific flow of the method shown in Figure 2 a schematic view, comprising the steps of:

[0040] 步骤21,SMCAgent接收SMSC发送的状态报告消息; [0040] Step 21, SMCAgent reception state report message transmitted from the SMSC;

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

[0042] 步骤23,SMCAgent在发送状态报告接收响应消息后,根据状态报告消息中承载的短消息标识Msg_Id向DRServer发送查询请求。 [0042] Step 23, after receiving a response message sent SMCAgent status report identifying Msg_Id DRServer sends a query to the short message carried in the status report message.

[0043] 通过本发明实施例提供的上述方法,SMCAgent在向DRServer发送查询请求前,就先向SMSC发送状态报告接收响应消息,这就避免了SMSC需要等待网关进行查询、匹配和计费等一系列操作后再发送状态报告接收响应消息,从而节省了SMSC在发送状态报告消息至接收上述响应消息之间的时间。 According to the method provided by the [0043] embodiment of the present invention, SMCAgent before sending query request to DRServer, Xianxiang SMSC sends a status report in response to receiving a message, which avoids the need to wait SMSC gateway query, matching and billing a the series of operations after receiving a response message delivery status report, thereby saving time in the transmission between the SMSC receives the status report message to a response message. 在同步方式下,采用本发明实施例提供的上述方法后,SMSC在发送两条状态报告消息之间间隔的时间明显缩短,SMSC发送状态报告消息的效率提高,避免了状态报告消息在SMSC处的积压。 In synchronous mode, the present invention is provided in the above-described method embodiments, SMSC shorten the time interval between two transmit status report message, SMSC sends a status report message improved efficiency, avoids the status report message at the SMSC backlog.

[0044] 需要说明的是,为了向DRServer发送查询请求,SMCAgent需要从状态报告消息中解析出Msg_Id。 [0044] Incidentally, in order to send a query request to DRServer, SMCAgent need Msg_Id parsed from the status report message. 在本发明实施例中,SMCAgent从状态报告消息中解析出Msg_Id这一步骤可以是在步骤22前执行的,也可以是在步骤22之后执行的。 In an embodiment of the present invention, SMCAgent status report message from the parsed out Msg_Id This step may be performed before step 22 may be performed after the step 22. 在步骤22之后执行而不在步骤22前执行的好处在于,可以进一步缩短SMSC等待状态报告接收响应消息的时间。 Benefits performed without performing step 22 after step 22 before that the SMSC can be further shortened waiting time in response to receiving the status report message. 具体地,当在上述步骤22执行完毕后,而在执行步骤23前,还可以进一步包括SMCAgent从状态报告消息中解析得到Msg_Id。 Specifically, when the above-described step 22 is finished, but before performing step 23 may further include a message from the status report SMCAgent parsed Msg_Id.

[0045] 本发明实施例提供的上述方案在实际中的一个应用流程示意图如图3所示,主要包括下述步骤: [0045] The solution provided in the embodiment of the present invention in a practical application flow diagram shown in Figure 3, including the steps of:

[0046]步骤 31,ECAgent 接收EC/SI 发送的短消息CMPP_Submit。 [0046] Step 31, ECAgent short message reception CMPP_Submit EC / SI transmitted.

[0047] 步骤32,ECAgent将接收到的CMPP_Submit发送给任意SMServer。 [0047] Step 32, ECAgent received CMPP_Submit sent to any SMServer.

[0048]步骤 33,ECAgent 接收由SMServer 反馈来的响应消息CMPP_Submit_Resp。 [0048] Step 33, ECAgent receives a response message fed back by the SMServer CMPP_Submit_Resp.

[0049]步骤 34,ECAgent 向EC/SI 返回响应消息CMPP_Submit_Resp。 [0049] Step 34, ECAgent returns to the EC / SI response message CMPP_Submit_Resp.

[0050]步骤 35,SMServer 通过任意的SMCAgent 向SMSC 发送对应于CMPP_Submit 的SMPP_Submit, [0050] Step 35, SMServer by any SMCAgent SMSC sends the corresponding SMPP_Submit CMPP_Submit,

[0051] 步骤36,SMSC将SMPP_Submit发送给移动终端,并等待移动终端反馈状态报告,同时通过SMCAgent 向SMServer 反馈响应消息SMPP_Submit_Resp。 [0051] Step 36, SMSC to the mobile terminal to SMPP_Submit, and waits for the mobile terminal feeds back a status report, and the feedback response message SMPP_Submit_Resp SMServer by SMCAgent. 其中,SMPP_Submit_Resp中包含短消息标识Msg_Id。 Wherein, SMPP_Submit_Resp message contains identification Msg_Id.

[0052] 步骤37,SMServer收到SMPP_Submit_Resp后,生成等待状态报告实体。 [0052] Step 37, after received SMServer SMPP_Submit_Resp, generates a wait status reporting entity.

[0053] 步骤38,SMServer从多个DRServer中确定一个DRServer,并向确定的该DRServer发送包含短消息标识Msg_Id和SMServer标识对应关系的存储消息。 [0053] Step 38, SMServer DRServer determined from a plurality DRServer, the DRServer transmitted to the determined short message comprising identification and SMServer Msg_Id stored message identifier corresponding relationship.

[0054] 步骤39,DRServer收到存储消息后,对Msg_Id和SMServer标识的对应关系进行存储。 [0054] Step 39, the storage DRServer received message, and the correspondence relationship Msg_Id SMServer identification stored.

[0055] 步骤310,SMSC接收移动终端发送的状态报告消息。 [0055] Step 310, SMSC reception state report message sent by the mobile terminal.

[0056] 步骤311,SMSC将状态报告消息的相关内容承载在SMPP_De I i ver (该SMPP_Deliver也可以看做是状态报告消息)中发送给SMCAgent。 [0056] Step 311, SMSC status report message content carried SMPP_De I i ver (which can also be seen SMPP_Deliver status report message) sent to SMCAgent.

[0057] 步骤312,SMCAgent收到SMPP_Deliver后,向SMSC发送状态报告接收响应消息SMPP_Deliver_Resp。 [0057] Step 312, after received SMCAgent SMPP_Deliver, send a status report to the SMSC receives a response message SMPP_Deliver_Resp.

[0058] 步骤313,SMCAgent确定相应的DRServer,并向确定的DRServer发送查询请求,该查询请求中包含SMPP_Deliver中承载的Msg_Id。 [0058] Step 313, SMCAgent corresponding DRServer determined, and the determined transmission DRServer query request, the query request contains Msg_Id SMPP_Deliver carried in.

[0059] 步骤314,接收到查询请求的DRServer根据查询请求中包含的Msg_Id,在自身存储的Msg_Id和SMServer标识的对应关系中查询与接收到的该Msg_Id对应的SMServer标识。 [0059] Step 314, the query request is received in accordance with Msg_Id DRServer query request contained in the query stored in the correspondence relation itself and SMServer Msg_Id identification received in the corresponding SMServer Msg_Id identification. 在本步骤314中,若DRServer查询失败,则会再重复查询两次,每次查询间隔I秒。 In this step 314, if the DRServer query fails, the query is repeated twice query interval I second.

[0060] 步骤315,DRServer将查询到的与状态报告消息中的Msg_Id对应的SMServer标识发送给SMCAgent。 [0060] Step 315, DRServer to query the status report message corresponding Msg_Id SMServer ID to SMCAgent.

[0061] 步骤316,SMCAgent向查询到的SMServer标识指示的SMServer转发状态报告消息。 [0061] Step 316, SMServer SMCAgent indication to forward the query to the status report message identifying SMServer.

[0062] 步骤317,SMServer根据状态报告消息中的Msg_Id进行等待状态报告实体匹配,针对匹配成功的等待状态报告实体生成计费话单。 [0062] Step 317, SMServer The status report message waiting status reporting entities matching Msg_Id, reporting entities generate a charging state of waiting for a successful match.

[0063] 步骤318,SMServer向SMCAgent反馈响应消息。 [0063] Step 318, SMServer feedback response message to SMCAgent.

[0064] 与现有技术类似,在后续的执行步骤中,SMServer可以确定相应的DRServer,并向该DRServer发送删除请求,该删除请求中包含匹配成功的等待状态报告实体对应的Msg_Id。 [0064] Similar to the prior art, in a subsequent step execution, SMServer can determine the corresponding DRServer, and sends the deletion request DRServer, the deletion request contained in waiting status report successfully matched entity corresponding Msg_Id. DRServer在收到删除请求后,删除相应的Msg_Id与SMServer标识的对应关系。 DRServer after receiving the delete request, delete the correspondence relation with SMServer Msg_Id identified. 同时,SMServer向ECAgent发送基于CMPP的状态报告消息CMPP_Deliver,收到CMPP_Deliver的ECAgent向EC/SI转发状态报告消息并将收到的EC/SI发送来的响应消息CMPP_Deliver_Resp 转发给SMServer。 Meanwhile, SMServer CMPP transmission based on the status report message to CMPP_Deliver ECAgent, the received CMPP_Deliver ECAgent forwarding state to EC / SI report message and forwards the received EC / SI transmitted in response to the message CMPP_Deliver_Resp SMServer.

[0065] 采用上述方案,网关在收到SMSC发送的状态报告消息后,直接先给SMSC响应,然后再进行内部处理,这样就大大缩短了网关响应状态报告消息的时间,从而提高了SMSC发送状态报告消息的效率,也就减少了状态报告消息积压的可能性。 [0065] With the above embodiment, the gateway after receiving the status report message transmitted from the SMSC, give direct response to SMSC, and then the internal processing, thus greatly reducing the gateway response time of the status report message, thereby improving the SMSC sends a status efficiency report message, thus reducing the likelihood of a status report message backlog.

[0066] 对应于本发明实施例提供的上述状态报告接收响应消息的发送方法,本发明实施例还提供一种状态报告接收响应消息的发送系统,该系统的具体结构如图4所示,包括SMSC41和SMCAgent42。 [0066] status report corresponding to the above-described embodiments provide a method of receiving a message sent in response to the embodiment of the present invention, embodiments of the present invention further provides a transmission system in response to receiving a status report message, the specific structure of the system shown in Figure 4, comprising SMSC41 and SMCAgent42. 其中,SMSC41主要用于接收移动终端发送的状态报告消息,并将该状态报告消息发送给SMCAgent42。 Wherein, SMSC41 mainly for reception state report message sent by the mobile terminal, and transmits the status report message to SMCAgent42. SMCAgent42的主要作用在于,接收SMSC41发送的状态报告消息,并向SMSC发送用于指示成功接收所述状态报告消息的状态报告接收响应消息,以及在发送状态报告接收响应消息之后,根据状态报告消息中承载的短消息标识Msg_Id向DRServer发送查询请求。 SMCAgent42 main role is to SMSC41 reception state report message sent, to the SMSC transmits the status report indicates a successful reception of the message in response to receiving the status report message, and receiving a response message after transmitting the status report, status report message in accordance with SMS bearer identification Msg_Id sends a query to DRServer.

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

[0068] 为了解决现有技术中存在的SMSC基于同步方式发送状态报告消息时,网关响应SMSC发送的状态报告消息的时间过长会导致SMSC发送状态报告消息的效率较低的问题,对应于本发明实施例提供的上述方案,本发明实施例还提供一种如图5所示的SMCAgent,其包括下述功能单元: [0068] In order to solve the prior art present SMSC based on the synchronization state report message send, in response to the gateway status report message transmitted from the SMSC too long can lead to less efficient SMSC sends a status report message question, corresponds to a the above scheme provided by the embodiment of the invention, embodiments of the present invention further provides a SMCAgent shown in FIG. 5, which comprises the following functional units:

[0069] 接收单元51,用于接收SMSC发送的状态报告消息; [0069] The receiving unit 51, for receiving a status report message transmitted from the SMSC;

[0070] 响应消息发送单元52,用于向SMSC发送用于指示接收单元51成功接收所述状态报告消息的状态报告接收响应消息; Status [0070] The response message sending unit 52, for transmission to the SMSC for instructing the receiving unit 51 successfully receives the status report message to report receiving a response message;

[0071] 查询请求发送单元53,用于在响应消息发送单元52发送状态报告接收响应消息后,根据接收单元51接收的状态报告消息中承载的短消息标识Msg_Id,向处理状态报告服务器DRServer发送承载Msg_Id的查询请求。 [0071] query request sending unit 53, for the response message sending unit 52 sends a status report in response to receiving a message, a short message identifier carried in the message Msg_Id report, status report transmission bearer to the processing server DRServer The receiving unit 51 receives the state Msg_Id query request.

[0072] 在一个较佳的实施例中,上述装置还可以进一步包括解析单元,该解析单元用于在响应消息发送单元52发送状态报告接收响应消息后,以及在查询请求发送单元53发送查询请求前,从接收单元51接收的状态报告消息中解析得到Msg_Id。 [0072] In a preferred embodiment, the apparatus may further include a parsing unit parsing unit configured to, after the response message sending unit 52 sends a status report response message is received, the query request and sending the query request sending unit 53 before, from the receiving unit 51 receives the status report message parsed Msg_Id.

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

Claims (6)

1.一种状态报告接收响应消息的发送方法,其特征在于,包括: 短消息中心代理器SMCAgent接收短消息服务器SMServer发送的短消息,并将所述短消息发送至短消息服务中心SMSC ; SMCAgent接收SMSC反馈的响应消息,并将反馈的响应消息发送至SMServer ; SMCAgent接收SMSC发送的状态报告消息;以及向SMSC发送用于指示成功接收所述状态报告消息的状态报告接收响应消息;所述状态报告消息为移动终端在成功接收了SMSC发送的所述短消息之后向SMSC反馈的一个通知消息; 所述SMCAgent在发送状态报告接收响应消息之后,根据状态报告消息中承载的短消息标识Msg_Id向处理状态报告服务器DRServer发送查询请求。 CLAIMS 1. A method for transmitting a status report in response to receiving the message, characterized by comprising: a short message service center receives a short message broker SMCAgent SMServer short message transmission server, and sends the short message to the short message service center SMSC; SMCAgent SMSC feedback received response message, and feeds back a response message to the SMServer; SMCAgent reception state report message transmitted from the SMSC; and state to the SMSC transmits the status report indicates a successful reception of the message in response to receiving a report message; the state after the report message to the mobile terminal has received the short message transmitted from the SMSC to the SMSC in the success of a feedback notification message; receiving a response message after the transmission SMCAgent status report, status report message according to the short message identifier carried in the processing Msg_Id status report server DRServer send request.
2.如权利要求1所述的方法,其特征在于,在SMCAgent发送状态报告接收响应消息后,以及发送查询请求前,还包括: SMCAgent从所述状态报告消息中解析得到Msg_Id。 2. The before method according to claim 1, wherein the status report is sent in response to receiving a message SMCAgent, and a transmission inquiry request, further comprising: SMCAgent status report message from the parsed Msg_Id.
3.一种状态报告接收响应消息的发送系统,包括短消息服务中心SMSC和短消息中心代理器SMCAgent,其特征在于: SMSC,用于接收SMCAgent发送的短消息,向SMCAgent反馈响应消息,并将所述短消息发送给移动终端;接收移动终端发送的状态报告消息,并将该状态报告消息发送给SMCAgent ;所述状态报告消息为移动终端在成功接收了SMSC发送的所述短消息之后向SMSC反馈的一个通知消息; SMCAgent,用于接收短消息服务器SMServer发送的短消息,并将所述短消息发送至SMSC ;接收SMSC反馈的响应消息,并将反馈的响应消息发送至SMServer ;接收SMSC发送的状态报告消息,并向SMSC发送用于指示成功接收所述状态报告消息的状态报告接收响应消息,以及在发送状态报告接收响应消息之后,根据状态报告消息中承载的短消息标识Msg_Id向处理状态报告服务器DRServer发送查询请求。 A transmission system in response to receiving the status report message including a short message service center SMSC and a short message service center SMCAgent agent, wherein: SMSC, SMCAgent for receiving a short message sent to SMCAgent feedback response message, and the short message to the mobile terminal; receiving a status report message sent by the mobile terminal, and transmits the status report message to SMCAgent; after the status report message to the mobile terminal successfully receives the short message transmitted from the SMSC to the SMSC a feedback notification message; SMCAgent, for receiving a short message sent by a short message server SMServer and the short message to the SMSC; SMSC feedback received response message, and sends a response message fed back to SMServer; SMSC receives transmission after the status report message, to the SMSC transmits the status indicates a successful reception of the status report message in response to receiving a report message, receiving a response message and transmitting the status report, status MSG_ID to the processing status report message according to the short message identifier carried in report server DRServer send request.
4.如权利要求3所述的系统,其特征在于,SMCAgent还用于在发送状态报告接收响应消息后,以及发送查询请求前,从所述状态报告消息中解析得到Msg_Id。 4. The system according to claim 3, characterized in that, SMCAgent further configured to send a status report after receiving a response message, and before sending a query request, a report message from the parsed Msg_Id state.
5.一种短消息中心代理器,其特征在于,包括: 接收单元,用于接收短消息服务器SMServer发送的短消息,并将所述短消息发送至短消息服务中心SMSC ;接收SMSC反馈的响应消息,并将反馈的响应消息发送至SMServer ;接收SMSC发送的状态报告消息;所述状态报告消息为移动终端在成功接收了SMSC发送的所述短消息之后向SMSC反馈的一个通知消息; 响应消息发送单元,用于向SMSC发送用于指示接收单元成功接收所述状态报告消息的状态报告接收响应消息; 查询请求发送单元,用于在响应消息发送单元发送状态报告接收响应消息后,根据接收单元接收的所述状态报告消息中承载的短消息标识Msg_Id,向处理状态报告服务器DRServer发送承载Msg_Id的查询请求。 A short message center agent, characterized in that, comprising: receiving means for receiving a short message the short message transmission server SMServer, and sends the short message to the short message service center SMSC; SMSC receives the feedback response after the status report message to the mobile terminal successfully receives the short message transmitted from the SMSC a notification message to the SMSC feedback;; message, and sends a response message fed back to SMServer; receiving a status report message transmitted from the SMSC a response message state transmission means for transmitting to the SMSC for instructing the receiving unit receives the status report successfully report message in response to receiving a message; query request sending means for receiving a response message after a response message sending unit sends a status report, the receiving unit in accordance with identifying the short message Msg_Id status message carried in the received report, the query request transmitted Msg_Id bearer status reports to the processing server DRServer.
6.如权利要求5所述的短消息中心代理器,其特征在于,还包括: 解析单元,用于在响应消息发送单元发送状态报告接收响应消息后,以及在查询请求发送单元发送查询请求前,从接收单元接收的所述状态报告消息中解析得到Msg_Id。 Before parsing unit, configured to, after the response message transmitting unit transmitting a status report response message is received, and the query request transmitting unit transmits a query request: The short message center 6. Agent according to claim 5, characterized in that, further comprising , from the state receiving unit receives the report message parsed Msg_Id.
CN201010561111.1A 2010-11-26 2010-11-26 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 CN102480704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010561111.1A CN102480704B (en) 2010-11-26 2010-11-26 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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010561111.1A CN102480704B (en) 2010-11-26 2010-11-26 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

Publications (2)

Publication Number Publication Date
CN102480704A CN102480704A (en) 2012-05-30
CN102480704B true CN102480704B (en) 2015-05-27

Family

ID=46093151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010561111.1A CN102480704B (en) 2010-11-26 2010-11-26 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

Country Status (1)

Country Link
CN (1) CN102480704B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407505B (en) * 2014-07-18 2019-05-17 青岛海尔智能家电科技有限公司 A kind of processing method and processing device of Resource Control Message

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001080534A1 (en) * 2000-04-18 2001-10-25 Telecommunication Systems, Inc. Short messaging service center mobile-originated to http internet communications
US6959194B2 (en) * 2002-09-04 2005-10-25 Cmg International B.V. SMS-messaging
CN1957563A (en) * 2004-05-18 2007-05-02 授权交互集团有限公司 Message routing method and system
CN101175046A (en) * 2006-10-30 2008-05-07 中兴通讯股份有限公司 Method for actively acquiring message delivery state
CN101212344A (en) * 2006-12-29 2008-07-02 中国移动通信集团公司 Method for obtaining performance parameters of multimedia information service center
EP2073467A1 (en) * 2007-12-21 2009-06-24 Nokia Siemens Networks Oy Messaging mechanism

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU5336101A (en) * 2000-04-11 2001-10-23 Telecomm Systems Inc Intelligent delivery agent for short message distribution center
US7949773B2 (en) * 2000-04-12 2011-05-24 Telecommunication Systems, Inc. Wireless internet gateway
US20030018704A1 (en) * 2001-03-08 2003-01-23 Vasilis Polychronidis Network presence and location agent
CN100364342C (en) * 2005-04-26 2008-01-23 华为技术有限公司 Method for push business
WO2007033524A1 (en) * 2005-09-22 2007-03-29 Zte Corporation A method for receiving/sending short message by a g net short message center for a cdma user and the short message gateway thereof
CN101267592B (en) * 2007-03-12 2013-04-17 华为技术有限公司 SMS value-added service processing method and center
EP3203804B1 (en) * 2007-11-01 2018-08-01 Telefonaktiebolaget LM Ericsson (publ) Circuit-switched services over sae/lte networks
CN101247562B (en) * 2008-03-20 2011-06-22 中兴通讯股份有限公司 Method and system for implementing CDMA wireless intelligent network MAP short message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001080534A1 (en) * 2000-04-18 2001-10-25 Telecommunication Systems, Inc. Short messaging service center mobile-originated to http internet communications
US6959194B2 (en) * 2002-09-04 2005-10-25 Cmg International B.V. SMS-messaging
CN1957563A (en) * 2004-05-18 2007-05-02 授权交互集团有限公司 Message routing method and system
CN101175046A (en) * 2006-10-30 2008-05-07 中兴通讯股份有限公司 Method for actively acquiring message delivery state
CN101212344A (en) * 2006-12-29 2008-07-02 中国移动通信集团公司 Method for obtaining performance parameters of multimedia information service center
EP2073467A1 (en) * 2007-12-21 2009-06-24 Nokia Siemens Networks Oy Messaging mechanism

Also Published As

Publication number Publication date
CN102480704A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
KR20120094454A (en) Service networks and methods for handling machine type communication device triggering
CN101355524B (en) Method, system, server and terminal for processing information
CN105230053A (en) Resuming packet services in a mobile network
CN104471876A (en) Device trigger recall/replace feature for 3gpp/m2m systems
NO331955B1 (en) Reports terminal characteristics for a support short message service
EP1747650A1 (en) A method for transmitting multimedia messages
EP1777971A1 (en) A method for realizing push service
WO2006107181A8 (en) System and method for instant message transmission in mobile communication terminal
CN101595677A (en) Method and apparatus for notification and delivery of messages to mobile PC users
CN103188653A (en) Method of data receiving, method of data sending, mobile terminal and server
CN101155331B (en) Method and system for group sending short messages
EP1829315B1 (en) Method for delivering multimedia files
CN103907317B (en) Message forwarding in disparate communication network
CN101594242A (en) Method, system and device for transmitting video data
CN101552740A (en) Instant communication system, clients, server and method for judging on-line state
JP5567693B2 (en) Method for handling multimedia broadcast / multicast service session updates
CN103916442A (en) Message pushing achieving method, mobile terminal and message pushing system
CN101155389B (en) Method and device for processing call collision
CN101730123A (en) M2M platform system, junction terminal and terminal control method
CN100345425C (en) Method and system for transmitting information from information system to mobile terminal
CN102083003A (en) Methods and devices for requesting and feeding back multimedia broadcast and multicast service (MBMS) state
WO2009082961A1 (en) Information processing method, system, and information consolidation device
CN102761864B (en) Data transmission method, system and device
CN102427604B (en) Method and apparatus for delivery confirmation trigger message MTC Device
CN102143444A (en) Method, relevant equipment and system for pushing service delivery platform message

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted