CN103067883B - A kind of converged message service processing method, equipment and system - Google Patents
A kind of converged message service processing method, equipment and system Download PDFInfo
- Publication number
- CN103067883B CN103067883B CN201110320599.3A CN201110320599A CN103067883B CN 103067883 B CN103067883 B CN 103067883B CN 201110320599 A CN201110320599 A CN 201110320599A CN 103067883 B CN103067883 B CN 103067883B
- Authority
- CN
- China
- Prior art keywords
- message
- receiving terminal
- sending
- type
- sent
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种融合消息业务处理方法、设备以及系统,包括:接收到发送终端发送的终端发起消息时,确定向接收终端发送的终端接收消息的消息类型;根据确定出的终端接收消息的消息类型构建向接收终端发送的终端接收消息,并通过承载该消息类型的终端接收消息的通信网络向接收终端发送构建的终端接收消息。本发明保证了接收终端在不同网络之间漫游时,即使没有注册到承载终端发起消息的消息类型的通信网络中,也可以通过注册的承载终端接收消息的消息类型的通信网络接收到终端接收消息。
The invention discloses a method, device and system for processing a converged message service. The message type constructs the terminal reception message sent to the receiving terminal, and sends the constructed terminal reception message to the receiving terminal through the communication network carrying the terminal reception message of the message type. The present invention ensures that when the receiving terminal roams between different networks, even if it is not registered in the communication network of the message type that bears the message initiated by the terminal, it can still receive the message received by the terminal through the registered communication network that bears the message type that the terminal receives the message .
Description
技术领域technical field
本发明涉及通信领域,尤指一种融合消息业务处理方法、设备以及系统。The present invention relates to the communication field, in particular to a fusion message service processing method, device and system.
背景技术Background technique
在现有的2G/3G移动网络中,出现了很多的消息类业务,例如:短消息业务、多媒体消息业务、即时消息(Instant Message,IM)业务等等,这三类消息业务分别是由核心网的电路域、分组域和互联网协议多媒体子系统(IPMultimedia Subsystem,IMS)域承载的。这三类消息业务是相互独立的,由不同的消息中心负责处理不同类型的消息业务:短消息业务由短消息中心处理,基于核心网的电路域提供业务;多媒体消息业务由多媒体消息中心处理,基于核心网的分组域和电路域提供业务;IMS消息业务则由IMS应用服务器处理,基于核心网的分组域和IMS提供业务。In the existing 2G/3G mobile network, there are many message services, such as: short message service, multimedia message service, instant message (Instant Message, IM) service, etc. These three types of message services are respectively provided by the core It is carried by the circuit domain, packet domain and Internet Protocol Multimedia Subsystem (IPMultimedia Subsystem, IMS) domain of the network. These three types of message services are independent of each other, and different message centers are responsible for processing different types of message services: the short message service is processed by the short message center, and the service is provided based on the circuit domain of the core network; the multimedia message service is processed by the multimedia message center, Services are provided based on the packet domain and circuit domain of the core network; IMS message services are processed by the IMS application server, and services are provided based on the packet domain and IMS of the core network.
长期演进(Long Term Evolution,LTE)/演进分组核心(Evolved Packet Core,EPC)架构的核心网中只包含分组域,该分组域仅提供与IMS域连接的通道,实际是由IMS域处理移动用户的业务。由于LTE/EPC架构的核心网不包含电路域,那么就需要解决为LTE终端提供电路域所承载的短消息业务的问题。在同时拥有2G/3G网络和LTE/EPC网络时,由于多模双待LTE终端能够同时驻留在LTE网络和2G/3G网络中,LTE终端的短消息业务可经2G/3G核心网的电路域来传送,由短消息中心处理业务。而单待LTE终端驻留在LTE网络时,就不能在2G/3G网络中注册,也就不能通过2G/3G核心网电路域收发短消息和彩信。The core network of the Long Term Evolution (LTE)/Evolved Packet Core (EPC) architecture only includes the packet domain, which only provides a channel to connect to the IMS domain, and the IMS domain actually handles mobile users Business. Since the core network of the LTE/EPC architecture does not include the circuit domain, it is necessary to solve the problem of providing LTE terminals with the short message service carried by the circuit domain. When there are 2G/3G network and LTE/EPC network at the same time, since the multi-mode dual-standby LTE terminal can reside in both the LTE network and the 2G/3G network at the same time, the short message service of the LTE terminal can pass through the circuit of the 2G/3G core network Domain to transmit, and the business is handled by the short message center. However, when the LTE terminal resides on the LTE network, it cannot register in the 2G/3G network, and cannot send and receive short messages and multimedia messages through the circuit domain of the 2G/3G core network.
现有技术的不足在于:由于上述三类消息中心之间相互独立,并且终端发起(Mobile Originated,MO)消息和终端接收(Mobile Terminated,MT)消息紧耦合,也就是说当MO消息为短消息时,MT消息只能是短消息;当MO消息是多媒体消息,MT消息也只能是多媒体消息。所以,当终端在不同网络之间漫游时,只能收发通过其注册网络的消息,不能收发通过其未注册网络的消息,如果终端没有在承载MO消息的网络中注册时,就不能接收到MT消息,这就会导致终端不能正常接收消息。The disadvantage of the prior art is: since the above three types of message centers are independent of each other, and the mobile originated (Mobile Originated, MO) message and the terminal received (Mobile Terminated, MT) message are tightly coupled, that is to say, when the MO message is a short message When , the MT message can only be a short message; when the MO message is a multimedia message, the MT message can only be a multimedia message. Therefore, when a terminal roams between different networks, it can only send and receive messages through its registered network, but cannot send and receive messages through its unregistered network. If the terminal is not registered in the network carrying MO messages, it cannot receive MT message, which will cause the terminal to fail to receive messages normally.
发明内容Contents of the invention
本发明实施例提供一种融合消息业务处理方法、设备以及系统,用以解决现有技术中存在的由于MO消息与MT消息紧耦合,导致的当终端在不同网络中漫游时不能正常接收消息的问题。Embodiments of the present invention provide a method, device, and system for processing converged message services, which are used to solve the problem in the prior art that the terminal cannot normally receive messages when roaming in different networks due to the tight coupling between MO messages and MT messages. question.
本发明实施例提供了一种融合消息业务处理方法,包括:An embodiment of the present invention provides a converged message service processing method, including:
接收到发送终端发送的MO消息时,确定向接收终端发送的MT消息的消息类型;When receiving the MO message sent by the sending terminal, determine the message type of the MT message sent to the receiving terminal;
确定向接收终端发送的MT消息可选用的消息类型的排列顺序;Determine the sequence of message types that can be selected for the MT message sent to the receiving terminal;
按照确定出的所述可选用的消息类型的排列顺序,依次获取可选用的消息类型,针对获取的可选用的消息类型执行下列步骤:According to the determined sequence of the available message types, the available message types are obtained sequentially, and the following steps are performed for the obtained available message types:
判断接收终端是否能够接收获取的可选用消息类型的MT消息;Judging whether the receiving terminal can receive the acquired MT message of an optional message type;
若能够接收,根据获取的可选用的消息类型构建向接收终端发送的MT消息,通过承载获取的可选用消息类型的MT消息的通信网络向接收终端发送构建的MT消息;If it can be received, construct an MT message sent to the receiving terminal according to the obtained optional message type, and send the constructed MT message to the receiving terminal through the communication network carrying the obtained optional message type of the MT message;
若不能接收,判断获取的可选用的消息类型是否是可选用的消息类型的排列顺序中的最后一个消息类型;若否,继续获取下一个可选用的消息类型;若是,在设定的时间周期到期后重新执行构建和发送所述MT消息的过程。If it cannot be received, it is judged whether the obtained optional message type is the last message type in the order of the available message types; if not, continue to obtain the next optional message type; if so, within the set time period After the expiration, re-execute the process of constructing and sending the MT message.
本发明实施例提供了一种融合消息业务处理设备,包括:An embodiment of the present invention provides a converged message service processing device, including:
消息接收单元,用于接收发送终端发送的MO消息;A message receiving unit, configured to receive the MO message sent by the sending terminal;
核心处理单元,用于所述消息接收单元接收到所述MO消息时,确定向接收终端发送的MT消息的消息类型,并确定出向接收终端发送的MT消息可选用的消息类型的排列顺序;The core processing unit is used to determine the message type of the MT message sent to the receiving terminal when the message receiving unit receives the MO message, and determine the sequence of message types that can be selected for the MT message sent to the receiving terminal;
消息发送单元,用于当所述核心处理单元确定出向接收终端发送的MT消息可选用的消息类型的排列顺序时,按照确定出的所述可选用的消息类型的排列顺序,依次获取可选用的消息类型;针对获取的可选用的消息类型,判断接收终端是否能够接收获取的可选用消息类型的MT消息;若能够接收,根据获取的可选用的消息类型构建向接收终端发送的MT消息,通过承载获取的可选用消息类型的MT消息的通信网络向接收终端发送构建的MT消息;若不能接收,判断获取的可选用的消息类型是否是可选用的消息类型的排列顺序中的最后一个消息类型;若否,继续获取下一个可选用的消息类型;若是,在设定的时间周期到期后重新执行构建和发送所述MT消息的过程。The message sending unit is configured to, when the core processing unit determines the sequence of the optional message types of the MT message sent to the receiving terminal, sequentially obtain the optional message types according to the determined sequence of the optional message types Message type; for the obtained optional message type, judge whether the receiving terminal can receive the MT message of the obtained optional message type; if it can receive, construct the MT message sent to the receiving terminal according to the obtained optional message type, and pass The communication network carrying the obtained MT message of the optional message type sends the constructed MT message to the receiving terminal; if it cannot be received, it is judged whether the obtained optional message type is the last message type in the order of the optional message types ; If not, continue to obtain the next available message type; if yes, re-execute the process of constructing and sending the MT message after the set time period expires.
本发明实施例提供了一种融合消息业务处理系统,包括:发送终端、接收终端和消息业务处理设备,所述消息业务处理设备接收发送终端发送的MO消息,以及向接收终端发送MT消息;其中所述消息业务处理设备包括融合消息业务处理设备。An embodiment of the present invention provides a converged message service processing system, including: a sending terminal, a receiving terminal and a message service processing device, the message service processing device receives the MO message sent by the sending terminal, and sends the MT message to the receiving terminal; wherein The message service processing device includes a converged message service processing device.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
本发明实施例提供了一种融合消息业务处理方法、设备及系统,当融合消息业务处理设备接收到发送终端发送的MO消息时,确定向接收终端发送的MT消息的消息类型;根据确定出的MT消息的消息类型构建向接收终端发送的MT消息,并通过承载该消息类型的MT消息的通信网络向接收终端发送构建的MT消息。该方案是根据配置的消息类型发送规则来确定向接收终端发送的MT消息的消息类型的,可以对MT消息的消息类型进行选择,不再像现有技术中MT消息的消息类型必须要与MO消息的消息类型一致,也就是说MT消息的消息类型不再依赖于MO消息的消息类型,这就保证了接收终端在不同网络之间漫游时,即使没有注册到承载MO消息的通信网络中,可以通过将MO消息转换为接收终端注册的通信网络能够承载的MT消息,避免了现有技术中接收终端没有注册到承载MO消息的通信网络中而接收不到MT消息的问题。Embodiments of the present invention provide a method, device, and system for processing a converged message service. When a converged message service processing device receives an MO message sent by a sending terminal, it determines the message type of the MT message sent to the receiving terminal; according to the determined The message type of the MT message constructs the MT message sent to the receiving terminal, and sends the constructed MT message to the receiving terminal through the communication network carrying the MT message of the message type. This solution is to determine the message type of the MT message sent to the receiving terminal according to the configured message type sending rule, and the message type of the MT message can be selected, and it is no longer necessary to match the message type of the MT message in the prior art. The message type of the message is consistent, that is to say, the message type of the MT message no longer depends on the message type of the MO message, which ensures that when the receiving terminal roams between different networks, even if it is not registered in the communication network carrying the MO message, By converting the MO message into an MT message that can be carried by the communication network that the receiving terminal is registered with, the problem in the prior art that the receiving terminal cannot receive the MT message because it is not registered in the communication network carrying the MO message can be avoided.
附图说明Description of drawings
图1为本发明实施例中的融合消息业务处理方法的流程图;FIG. 1 is a flowchart of a method for processing a converged message service in an embodiment of the present invention;
图2为本发明实施例中的一个可选的构建和发送MT消息的流程图;Fig. 2 is an optional flow chart of constructing and sending an MT message in an embodiment of the present invention;
图3为本发明实施例中的另一可选的构建和发送MT消息的流程图;Fig. 3 is another optional flow chart of constructing and sending MT messages in the embodiment of the present invention;
图4为本发明实施例中的构建和发送MT消息的流程图;Fig. 4 is the flowchart of constructing and sending MT message in the embodiment of the present invention;
图5为本发明实施例中的融合消息业务处理设备的结构示意图;FIG. 5 is a schematic structural diagram of a converged message service processing device in an embodiment of the present invention;
图6为本发明实施例中的融合消息业务处理系统的结构示意图;FIG. 6 is a schematic structural diagram of a converged message service processing system in an embodiment of the present invention;
图7为本发明实施例中一种优选的融合消息业务处理系统的结构示意图;FIG. 7 is a schematic structural diagram of a preferred converged message service processing system in an embodiment of the present invention;
图8为本发明实施例中另一种优选的融合消息业务处理系统的结构示意图;FIG. 8 is a schematic structural diagram of another preferred converged message service processing system in an embodiment of the present invention;
图9为本发明实施例中优选实施一的融合消息业务处理方法的流程图;FIG. 9 is a flow chart of a method for processing a converged message service in preferred implementation 1 of the embodiment of the present invention;
图10为本发明实施例中优选实施二的融合消息业务处理方法的流程图;FIG. 10 is a flow chart of a method for processing a converged message service preferably implemented in the second embodiment of the present invention;
图11为本发明实施例中优选实施三的融合消息业务处理方法的流程图。Fig. 11 is a flow chart of a method for processing a converged message service preferably implemented in the third embodiment of the present invention.
具体实施方式Detailed ways
针对现有技术中存在的由于MO消息与MT消息紧耦合,导致的当终端在不同网络中漫游时不能正常接收消息的问题,本发明实施例提供了一种融合消息业务处理方法,本发明方法的流程如图1所示,执行步骤如下:Aiming at the problem in the prior art that the terminal cannot normally receive messages when roaming in different networks due to the tight coupling between MO messages and MT messages, the embodiment of the present invention provides a method for processing converged message services. The method of the present invention The process flow is shown in Figure 1, and the execution steps are as follows:
S10:接收到发送终端发送的MO消息时,确定向接收终端发送的MT消息的消息类型。S10: When receiving the MO message sent by the sending terminal, determine the message type of the MT message sent to the receiving terminal.
接收到的发送终端发送的MO消息可以是短消息、多媒体消息和IMS消息等等,这三种类型的消息分别是通过核心网的电路域、分组域和IMS域承载传送的。其中,多媒体消息是通过核心网的分组域和电路域承载的,多媒体消息的发送过程是首先通过核心网的电路域短消息通知接收终端,然后由接收终端通过核心网分组域来获取多媒体消息,IMS消息是通过核心网的分组域和IMS承载的。The received MO message sent by the sending terminal may be a short message, a multimedia message, an IMS message, etc., and these three types of messages are carried and transmitted through the circuit domain, packet domain and IMS domain of the core network respectively. Among them, the multimedia message is carried by the packet domain and the circuit domain of the core network. The sending process of the multimedia message is to first notify the receiving terminal through the short message of the circuit domain of the core network, and then the receiving terminal obtains the multimedia message through the packet domain of the core network. The IMS message is carried by the packet domain of the core network and the IMS.
具体的,上述接收发送终端发送的MO消息,具体可以包括:接收管辖范围内的发送终端发送的MO消息或者接收非管辖范围内的发送终端通过归属的消息业务处理设备发送的MO消息;消息业务处理设备可以是融合消息业务处理设备、短消息中心、多媒体消息中心、IMS应用服务器其中之一。Specifically, the receiving of the MO message sent by the sending terminal may specifically include: receiving the MO message sent by the sending terminal within the jurisdiction or receiving the MO message sent by the sending terminal not within the jurisdiction through the belonging message service processing device; The processing device may be one of a converged message service processing device, a short message center, a multimedia message center, and an IMS application server.
接收的发送终端发送的MO消息可能是管辖范围内的发送终端发送的MO消息,也有可能是非管辖范围内的发送终端通过归属的消息业务处理设备发送的MO消息。例如,北京的消息业务处理设备可以直接接收北京的发送终端向北京的接收终端发送的MO消息;而当上海的发送终端向北京的接收终端发送MO消息时,该MO消息首先发送至上海的消息业务处理设备,然后再由上海的消息业务处理设备发送至北京的消息业务处理设备,再由北京的消息业务处理设备将MT消息发送至接收终端。The received MO message sent by the sending terminal may be the MO message sent by the sending terminal within the jurisdiction, or it may be the MO message sent by the sending terminal not within the jurisdiction through the message service processing device it belongs to. For example, the message service processing equipment in Beijing can directly receive the MO message sent from the sending terminal in Beijing to the receiving terminal in Beijing; and when the sending terminal in Shanghai sends an MO message to the receiving terminal in Beijing, the MO message is first sent to the message in Shanghai. The message service processing device in Shanghai sends the message service processing device to the message service processing device in Beijing, and then the message service processing device in Beijing sends the MT message to the receiving terminal.
在现有技术中,如果短消息的发送终端和接收终端所归属的消息业务处理设备不同时,例如北京的发送终端向上海的接收终端发送短消息时,是在北京的短消息中心接收到发送终端发送的MO消息后,直接将MT短消息发送至上海的接收终端。而在本实施例中,不是直接向上海的接收终端发送MT消息,而是将MO消息发送至上海的消息业务处理设备,然后再由上海的消息业务处理设备根据接收终端的状态进行后续的发送MT消息的流程;当消息类型为短消息时,该消息业务处理设备为短消息中心或者融合消息业务处理设备。也就是说,在本实施例中,消息业务处理设备既可以接收管辖范围内的发送终端发送的MO消息,也可以接收非管辖范围内的发送终端通过归属的消息业务处理设备发送的MO消息。其中,融合消息业务处理设备可以接收处理所有消息类型的消息,例如:短消息、多媒体消息、IMS消息等等。In the prior art, if the sending terminal of the short message and the message service processing device to which the receiving terminal belong are different, for example, when the sending terminal in Beijing sends a short message to the receiving terminal in Shanghai, the short message sent is received by the short message center in Beijing. After the terminal sends the MO message, it directly sends the MT short message to the receiving terminal in Shanghai. In this embodiment, instead of sending the MT message directly to the receiving terminal in Shanghai, the MO message is sent to the message service processing device in Shanghai, and then the message service processing device in Shanghai performs subsequent sending according to the state of the receiving terminal MT message flow; when the message type is a short message, the message service processing device is a short message center or a converged message service processing device. That is to say, in this embodiment, the message service processing device can receive the MO message sent by the sending terminal within the jurisdiction, and can also receive the MO message sent by the sending terminal not under the jurisdiction through the message service processing device to which it belongs. Wherein, the converged message service processing device can receive and process messages of all types of messages, such as short messages, multimedia messages, IMS messages and so on.
S20:根据确定出的MT消息的消息类型构建向接收终端发送的MT消息,并通过承载该消息类型的MT消息的通信网络向接收终端发送构建的MT消息。S20: Construct an MT message to be sent to the receiving terminal according to the determined message type of the MT message, and send the constructed MT message to the receiving terminal through the communication network carrying the MT message of the message type.
具体的,上述根据配置的消息类型发送规则确定向接收终端发送的MT消息的消息类型,包括以下三种情况:Specifically, the above-mentioned message type of the MT message sent to the receiving terminal is determined according to the configured message type sending rule, including the following three situations:
第一种:根据MO消息的消息类型,以及配置的MO消息与MT消息的对应关系,确定向接收终端发送的MT消息的消息类型。The first method: according to the message type of the MO message and the configured corresponding relationship between the MO message and the MT message, the message type of the MT message sent to the receiving terminal is determined.
配置的MO消息与MT消息的对应关系可以是MO消息的消息类型与MT消息的消息类型一致,也可以是MO消息的消息类型与MT消息的消息类型不一致。例如,当MO消息为短消息时,MT消息可以是短消息,也可以是其他类型的消息,MO消息与MT消息的对应关系可以根据实际的应用环境进行配置。The configured correspondence between the MO message and the MT message may be that the message type of the MO message is consistent with the message type of the MT message, or that the message type of the MO message is inconsistent with the message type of the MT message. For example, when the MO message is a short message, the MT message may be a short message or other types of messages, and the corresponding relationship between the MO message and the MT message may be configured according to the actual application environment.
第二种:根据接收终端设定的消息类型接收规则确定向接收终端发送的MT消息的消息类型。The second type: the message type of the MT message sent to the receiving terminal is determined according to the message type receiving rule set by the receiving terminal.
接收终端可以在消息业务处理设备设置消息类型接收规则,在本实施例中是在融合消息业务处理设备中设定可以接收的消息类型,下面列举几种接收终端可以设定的消息类型接收规则,接收终端接收的MT消息的消息类型的顺序为:(1)首选IMS消息、次选短消息、后选多媒体消息;(2)首选短消息、次选IMS消息、后选多媒体消息;(3)同时接收短消息、IMS消息和多媒体消息中的两种或三种的消息类型的MT消息;(4)首选IMS消息、次选多媒体消息、后选短消息的顺序;(5)首选短消息、次选多媒体消息、后选IMS消息的顺序;(6)首选多媒体消息、次选IMS消息、后选短消息的顺序;(7)首选多媒体消息、次选短消息、后选IMS消息。The receiving terminal can set message type receiving rules in the message service processing device. In this embodiment, the message types that can be received are set in the converged message service processing device. Several types of message receiving rules that can be set by the receiving terminal are listed below. The order of the message types of the MT message received by the receiving terminal is: (1) preferred IMS message, secondly selected short message, and secondly selected multimedia message; (2) preferred short message, secondly selected IMS message, and secondly selected multimedia message; (3) Simultaneously receive MT messages of two or three message types in short messages, IMS messages and multimedia messages; (4) the order of preferred IMS messages, secondary multimedia messages, and post-selected short messages; (5) preferred short messages, (6) the order of the first multimedia message, the second IMS message, and the last short message; (7) the first multimedia message, the second short message, and the second IMS message.
在本实施例中,仅仅列举了接收终端可以设定的七种消息类型接收规则,还有很多种情况在这里不再一一列举。接收终端可以根据自身所处的网络情况或者自身的特性进行预先设置,这样便于能够正常接收MT消息。In this embodiment, only seven message type receiving rules that can be set by the receiving terminal are listed, and there are many other situations that will not be listed here. The receiving terminal can be pre-set according to its own network conditions or its own characteristics, so that it can receive MT messages normally.
第三种:根据接收终端所在的通信网络确定向接收终端发送的MT消息的消息类型。The third method: the message type of the MT message sent to the receiving terminal is determined according to the communication network where the receiving terminal is located.
根据当前接收终端所在的通信网络来确定向接收终端发送的MT消息的消息类型,这可以保证接收终端能够接收到发送的MT消息。例如,当接收终端在IMS域注册时,不管发送终端发送的MO消息是什么类型的消息,接收终端接收到的MT消息的消息类型均为IMS消息。也就是说接收终端接收的MT消息的消息类型不再依赖于MO消息的消息类型,而是依据接收终端所在的通信网络,从而保证接收终端可以接收到MT消息。The message type of the MT message sent to the receiving terminal is determined according to the current communication network where the receiving terminal is located, which can ensure that the receiving terminal can receive the sent MT message. For example, when the receiving terminal is registered in the IMS domain, no matter what type of message the MO message sent by the sending terminal is, the message type of the MT message received by the receiving terminal is an IMS message. That is to say, the message type of the MT message received by the receiving terminal no longer depends on the message type of the MO message, but depends on the communication network where the receiving terminal is located, so as to ensure that the receiving terminal can receive the MT message.
根据上述配置的消息类型发送规则,可以确定出向接收终端发送的MT消息可选用的消息类型的排列顺序或者向接收终端发送的MT消息使用的至少一种消息类型。According to the message type sending rule configured above, the order of message types that can be selected for the MT message sent to the receiving terminal or at least one message type used by the MT message sent to the receiving terminal can be determined.
具体的,当确定出向接收终端发送的MT消息可选用的消息类型的排列顺序时,S20中的构建向接收终端发送的MT消息和发送构建的MT消息的一个可选流程如图2所示,具体可以包括下列步骤:Specifically, when the sequence of message types that can be selected for the MT message sent to the receiving terminal is determined, an optional flow of constructing the MT message to be sent to the receiving terminal and sending the constructed MT message in S20 is shown in FIG. 2 , Specifically, the following steps may be included:
S201:按照确定出的可选用的消息类型的排列顺序,获取第一个可选用的消息类型。S201: Obtain the first available message type according to the sequence of the determined available message types.
S202:判断接收终端是否能够接收获取的可选用消息类型的MT消息;若能够接收,执行S203;若不能接收,执行S205。S202: Determine whether the receiving terminal can receive the acquired MT message of an optional message type; if it can receive it, perform S203; if it cannot receive it, perform S205.
S203:根据获取的可选用的消息类型构建向接收终端发送的MT消息,通过承载获取的可选用消息类型的MT消息的通信网络向接收终端发送构建的MT消息。S203: Construct an MT message to be sent to the receiving terminal according to the obtained optional message type, and send the constructed MT message to the receiving terminal through the communication network carrying the obtained optional message type of the MT message.
S204:判断MT消息是否发送成功;若发送成功,执行S208;若发送失败,执行S205。S204: Determine whether the MT message is sent successfully; if the sending is successful, execute S208; if the sending fails, execute S205.
上述判断发送结果的步骤可以作为一个优选的步骤,也可以在执行完S203之后直接执行S205。The above step of judging the sending result can be regarded as a preferred step, and S205 can also be directly executed after S203 is executed.
S205:判断获取的可选用的消息类型是否是可选用的消息类型的排列顺序中的最后一个消息类型;若否,执行S206;若是,执行S207。S205: Judging whether the obtained available message type is the last message type in the sequence of available message types; if not, execute S206; if yes, execute S207.
S206:获取下一个可选用的消息类型,执行S202。从而可以实现按照确定出的可选用的消息类型的排列顺序,依次获取可选用的消息类型,并针对获取的可选用的消息类型执行S202-S205的处理过程。S206: Obtain the next available message type, and execute S202. Therefore, it is possible to obtain the available message types sequentially according to the determined arrangement order of the available message types, and execute the processing procedures of S202-S205 for the obtained available message types.
S207:监控设定的时间周期是否到期,到期后,执行S201。S207: Monitor whether the set time period expires, and execute S201 after the expiration.
S208:流程结束。S208: the process ends.
当接收终端不能够接收获取的可选用消息类型,并且当获取的可选用的消息类型是可选用的消息类型顺序中的最后一个消息类型时,重新执行上述整个流程。设定时间周期,并在到期后重新执行构建发送是考虑到,当出现某些原因导致终端不能接收时,可以通过重新执行上述流程后使得接收终端可以成功接收构建的消息。例如:当接收终端因为关机不能正常接收,那么当在开机后会因重新执行过程而成功接收构建的消息。When the receiving terminal cannot receive the acquired optional message type, and when the acquired optional message type is the last message type in the sequence of available optional message types, the above-mentioned entire process is re-executed. Setting the time period and re-executing the construction and sending after the expiration is considered. When the terminal cannot receive due to some reasons, the receiving terminal can successfully receive the construction message by re-executing the above process. For example: when the receiving terminal cannot receive normally because it is turned off, it will successfully receive the constructed message after the process is re-executed after it is turned on.
下述实施例中,设定时间周期,并在到期后重新执行构建发送的作用相同,不再一一赘述。In the following embodiments, setting the time period and re-executing the construction and sending after the expiration has the same effect, and details will not be repeated here.
具体的,当确定出向接收终端发送的MT消息可选用的消息类型的排列顺序时,S20中的构建向接收终端发送的MT消息和发送构建的MT消息的另一个可选流程如图3所示,具体下列步骤:Specifically, when the order of the message types that can be selected for the MT message sent to the receiving terminal is determined, another optional process for constructing the MT message sent to the receiving terminal and sending the constructed MT message in S20 is shown in Figure 3 , specifically the following steps:
S211:按照确定出的可选用的消息类型的排列顺序,获取第一个可选用的消息类型。S211: Obtain the first available message type according to the sequence of the determined available message types.
S212:判断接收终端是否能够接收获取的可选用消息类型的MT消息;若能够接收,执行S213;若不能接收,执行S215。S212: Determine whether the receiving terminal can receive the acquired MT message of an optional message type; if it can receive it, execute S213; if it cannot receive it, execute S215.
S213:根据获取的可选用的消息类型构建向接收终端发送的MT消息,通过承载获取的可选用消息类型的MT消息的通信网络向接收终端发送构建的MT消息。S213: Construct an MT message to be sent to the receiving terminal according to the obtained optional message type, and send the constructed MT message to the receiving terminal through the communication network carrying the obtained optional message type of the MT message.
S214:判断MT消息是否发送成功,若发送成功,执行S220;若发送失败,执行S218。S214: Determine whether the MT message is sent successfully, if the sending is successful, execute S220; if the sending fails, execute S218.
上述判断发送结果的步骤可以作为一个优选的步骤,也可以在执行完S213之后直接执行S215。The above step of judging the sending result can be regarded as a preferred step, and S215 can also be directly executed after S213 is executed.
S215:判断获取的可选用的消息类型是否是可选用的消息类型的排列顺序中的最后一个消息类型;若否,执行S216;若是,执行S217。S215: Determine whether the acquired optional message type is the last message type in the sequence of available message types; if not, execute S216; if yes, execute S217.
S216:获取下一个可选用的消息类型,执行S212。S216: Obtain the next available message type, and execute S212.
从而可以实现按照确定出的可选用的消息类型的排列顺序,依次获取可选用的消息类型,并针对获取的可选用的消息类型执行S212-S215的处理过程。Therefore, it is possible to obtain the available message types sequentially according to the determined arrangement order of the available message types, and execute the processing procedures of S212-S215 for the obtained available message types.
S217:监控设定的时间周期是否到期,到期后,执行S211。S217: Monitor whether the set time period expires, and execute S211 after expiration.
S218:监控设定的时间周期是否到期,到期后,执行S219。S218: Monitor whether the set time period expires, and execute S219 after expiration.
S219:重新发送MT消息。S219: Resend the MT message.
S220:流程结束。S220: the process ends.
当接收终端不能够接收获取的可选用消息类型,并且当获取的可选用的消息类型是可选用的消息类型顺序中的最后一个消息类型时,重新执行上述整个流程。When the receiving terminal cannot receive the acquired optional message type, and when the acquired optional message type is the last message type in the sequence of available optional message types, the above-mentioned entire process is re-executed.
S211-220与S201-208的区别在于,S202判断出接收终端不能接收获取的可选用消息类型的MT消息之后和S203向接收终端发送构建的MT消息失败之后,都会去判断获取的可选用的消息类型是否是可选用的消息类型的排列顺序中的最后一个消息类型,若否,获取可选用的消息类型的排列顺序中的下一个消息类型再进行判断。而S212在判断出接收终端不能接收获取的可选用消息类型的MT消息之后,会去判断获取的可选用的消息类型是否是可选用的消息类型的排列顺序的最后一个消息类型,S214向接收终端发送构建的MT消息失败之后,在设定的时间周期到期后会去执行S211,开始新的流程。The difference between S211-220 and S201-208 is that after S202 judges that the receiving terminal cannot receive the obtained MT message of the optional message type and after S203 fails to send the constructed MT message to the receiving terminal, it will judge the obtained optional message Whether the type is the last message type in the order of the available message types, if not, obtain the next message type in the order of the available message types before making a judgment. After S212 judges that the receiving terminal cannot receive the MT message of the optional message type obtained, it will judge whether the obtained optional message type is the last message type in the order of the optional message types, and S214 sends a message to the receiving terminal After failing to send the constructed MT message, S211 will be executed after the set time period expires to start a new process.
具体的,当确定出向接收终端发送的MT消息使用的至少一种消息类型,S20中的构建向接收终端发送的MT消息和发送构建的MT消息的过程,如图4所示,具体包括以下步骤:Specifically, when at least one message type used in the MT message sent to the receiving terminal is determined, the process of constructing the MT message sent to the receiving terminal and sending the constructed MT message in S20, as shown in Figure 4, specifically includes the following steps :
S221:流程开始。S221: the process starts.
S222:分别判断接收终端是否能够接收确定出消息类型的MT消息,若能够接收,执行S223;若不能接收,执行S225。S222: Determine respectively whether the receiving terminal can receive the MT message of the determined message type, if it can receive it, execute S223; if it cannot receive it, execute S225.
S223:根据接收终端能够接收的MT消息的消息类型构建向接收终端发送的MT消息,通过承载确定出消息类型的MT消息的通信网络向接收终端发送构建的MT消息;S223: Construct an MT message to be sent to the receiving terminal according to the message type of the MT message that the receiving terminal can receive, and send the constructed MT message to the receiving terminal through the communication network carrying the MT message of the determined message type;
S224:判断MT消息是否发送成功,若发送失败,执行S225;若发送成功,执行S226。S224: Determine whether the MT message is sent successfully, if the sending fails, execute S225; if the sending is successful, execute S226.
上述判断发送结果的步骤可以作为一个优选的步骤,也可以在执行完S223之后直接执行S225。The above step of judging the sending result can be regarded as a preferred step, and S225 can also be directly executed after S223 is executed.
S225:监控设定的时间周期是否到期,到期后,执行S221。S225: Monitor whether the set time period expires, and execute S221 after expiration.
S226:流程结束。S226: the process ends.
当接收终端不能够接收获取的可选用消息类型时,重新执行上述整个流程。When the receiving terminal cannot receive the obtained optional message types, the above-mentioned entire process is re-executed.
基于同一发明构思,本发明实施例还提供一种融合消息业务处理设备,其结构如图5所示,包括:Based on the same inventive concept, an embodiment of the present invention also provides a converged message service processing device, the structure of which is shown in Figure 5, including:
消息接收单元10,用于接收发送终端发送的MO消息。The message receiving unit 10 is configured to receive the MO message sent by the sending terminal.
核心处理单元20,用于消息接收单元10接收到MO消息时,根据配置的消息类型发送规则确定向接收终端发送的MT消息的消息类型。The core processing unit 20 is configured to determine the message type of the MT message sent to the receiving terminal according to the configured message type sending rule when the message receiving unit 10 receives the MO message.
消息发送单元30,用于根据确定出的MT消息的消息类型构建向接收终端发送的MT消息,并通过承载该消息类型的MT消息的通信网络向接收终端发送构建的MT消息。The message sending unit 30 is configured to construct an MT message to be sent to the receiving terminal according to the determined message type of the MT message, and send the constructed MT message to the receiving terminal through the communication network carrying the MT message of the message type.
也可以由核心处理单元确定出向接收终端发送的MT消息的消息类型并构建MT消息,然后由消息发送单元来发送构建的MT消息。It is also possible that the core processing unit determines the message type of the MT message sent to the receiving terminal and constructs the MT message, and then the message sending unit sends the constructed MT message.
当上述消息接收单元10接收到的MO消息非常多,核心处理单元20不能及时处理的时候,消息接收单元10可以用于存储接收到的MO消息直到核心处理单元20可以进行处理的时候。When the above-mentioned message receiving unit 10 receives so many MO messages that the core processing unit 20 cannot process them in time, the message receiving unit 10 can be used to store the received MO messages until the core processing unit 20 can process them.
具体的,上述核心处理单元20,具体用于:根据MO消息的消息类型,以及配置的MO消息与MT消息的对应关系,确定向接收终端发送的MT消息的消息类型;或者根据接收终端设定的消息类型接收规则确定向接收终端发送的MT消息的消息类型;或者根据接收终端所在的通信网络确定向接收终端发送的MT消息的消息类型。Specifically, the above-mentioned core processing unit 20 is specifically configured to: determine the message type of the MT message sent to the receiving terminal according to the message type of the MO message and the corresponding relationship between the configured MO message and the MT message; The message type receiving rule determines the message type of the MT message sent to the receiving terminal; or determines the message type of the MT message sent to the receiving terminal according to the communication network where the receiving terminal is located.
具体的,上述核心处理单元20,进一步用于:在确定向接收终端发送的MT消息的消息类型后,确定向接收终端发送的MT消息可选用的消息类型的排列顺序。Specifically, the above-mentioned core processing unit 20 is further configured to: after determining the message type of the MT message sent to the receiving terminal, determine the sequence order of the message types that can be selected for the MT message sent to the receiving terminal.
上述消息发送单元30包括消息类型获取子单元301和消息发送子单元302,其中:The message sending unit 30 includes a message type acquisition subunit 301 and a message sending subunit 302, wherein:
上述消息类型获取子单元301,用于当所述核心处理单元20确定出向接收终端发送的MT消息可选用的消息类型的排列顺序时,按照确定出的所述可选用的消息类型的排列顺序,依次获取可选用的消息类型;The above-mentioned message type acquisition subunit 301 is configured to, when the core processing unit 20 determines the arrangement order of the optional message types for the MT message sent to the receiving terminal, according to the determined arrangement order of the optional message types, Obtain the available message types in turn;
上述消息发送子单元302,用于针对消息类型获取子单元301获取的可选用的消息类型,判断接收终端是否能够接收获取的可选用消息类型的MT消息;若能够接收,根据获取的可选用的消息类型构建向接收终端发送的MT消息,通过承载获取的可选用消息类型的MT消息的通信网络向接收终端发送构建的MT消息;若不能接收,判断获取的可选用的消息类型是否是可选用的消息类型的排列顺序中的最后一个消息类型;若否,继续获取下一个可选用的消息类型;若是,在设定的时间周期到期后重新执行构建和发送所述MT消息的过程。The above-mentioned message sending subunit 302 is used to determine whether the receiving terminal can receive the MT message of the optional message type obtained according to the optional message type obtained by the message type obtaining subunit 301; if it can receive, according to the obtained optional message type The message type constructs the MT message sent to the receiving terminal, and sends the constructed MT message to the receiving terminal through the communication network carrying the obtained MT message of the optional message type; if it cannot be received, it is judged whether the obtained optional message type is optional If not, continue to obtain the next available message type; if yes, re-execute the process of constructing and sending the MT message after the set time period expires.
较优的,上述消息发送单元30,还包括:发送结果判断子单元303,用于在消息发送子单元302通过承载该消息类型的MT消息的通信网络向接收终端发送构建的MT消息之后,判断向接收终端发送构建的MT消息是否成功;若发送失败,在设定的时间周期到期后重新发送;或者,判断向接收终端发送构建的MT消息是否成功;若发送失败,判断获取的可选用的消息类型是否是可选用的消息类型的排列顺序中的最后一个消息类型;若否,继续获取下一个可选用的消息类型;若是,在设定的时间周期到期后重新执行构建和发送所述MT消息的过程。Preferably, the above-mentioned message sending unit 30 further includes: a sending result judging subunit 303, which is used for judging after the message sending subunit 302 sends the constructed MT message to the receiving terminal through the communication network carrying the MT message of the message type. Send the constructed MT message to the receiving terminal whether it is successful; if the sending fails, resend it after the set time period expires; or, judge whether sending the constructed MT message to the receiving terminal is successful; if the sending fails, judge the obtained optional Whether the message type is the last message type in the order of available message types; if not, continue to obtain the next available message type; if so, re-execute building and sending all Describe the process of MT message.
具体的,上述核心处理单元20,进一步用于在确定向接收终端发送的MT消息的消息类型后,确定出向接收终端发送的MT消息使用的至少一种消息类型。Specifically, the core processing unit 20 is further configured to determine at least one message type used in the MT message sent to the receiving terminal after determining the message type of the MT message sent to the receiving terminal.
上述消息发送单元30,具体用于:当核心处理单元20确定出向接收终端发送的MT消息使用的至少一种消息类型时,分别判断接收终端是否能够接收确定出消息类型的MT消息;针对接收终端能够接收的MT消息的消息类型,根据接收终端能够接收的MT消息的消息类型构建向接收终端发送的MT消息,通过承载确定出的消息类型的MT消息的通信网络向接收终端发送构建的MT消息。The above-mentioned message sending unit 30 is specifically used for: when the core processing unit 20 determines at least one message type used by the MT message sent to the receiving terminal, respectively judge whether the receiving terminal can receive the MT message of the determined message type; for the receiving terminal The message type of the MT message that can be received, the MT message sent to the receiving terminal is constructed according to the message type of the MT message that the receiving terminal can receive, and the constructed MT message is sent to the receiving terminal through the communication network carrying the MT message of the determined message type .
较优的,上述消息发送单元30还包括:发送结果判断子单元303,用于在所述消息发送子单元302通过承载该消息类型的MT消息的通信网络向接收终端发送构建的MT消息之后,判断向接收终端发送构建的MT消息是否成功;若发送失败,在设定的时间周期到期后重新发送构建的MT消息。Preferably, the message sending unit 30 further includes: a sending result judging subunit 303, configured to, after the message sending subunit 302 sends the constructed MT message to the receiving terminal through the communication network carrying the MT message of the message type, It is judged whether sending the constructed MT message to the receiving terminal is successful; if the sending fails, the constructed MT message is resent after the set time period expires.
具体的,上述消息接收单元10,具体用于:接收管辖范围内的发送终端发送的MO消息或者接收非管辖范围内的发送终端通过归属的消息业务处理设备发送的MO消息;其中,消息业务处理设备是融合消息业务处理设备、短消息中心、多媒体消息中心、IMS应用服务器其中之一。Specifically, the above-mentioned message receiving unit 10 is specifically configured to: receive the MO message sent by the sending terminal within the jurisdiction or receive the MO message sent by the sending terminal not within the jurisdiction through the message service processing device; wherein, the message service processing The device is one of a converged message service processing device, a short message center, a multimedia message center, and an IMS application server.
本实施例中的融合消息业务处理设备可集中处理各个类型的消息业务,处理消息业务的方式更加灵活,特别是接收MT消息的消息类型不再是唯一的,而是可以选择的;MO消息与MT消息的传送方式松耦合,可根据配置的消息类型发送规则来确定MT消息的消息类型,并构建该消息类型的MT消息类型,这就保证了接收终端可以接收到MT消息。The integrated message service processing device in this embodiment can centrally process various types of message services, and the method of processing message services is more flexible, especially the message type for receiving MT messages is no longer unique, but optional; The transmission mode of the MT message is loosely coupled, and the message type of the MT message can be determined according to the configured message type sending rules, and the MT message type of the message type can be constructed, which ensures that the receiving terminal can receive the MT message.
基于同一发明构思,本发明实施例还提供一种融合消息业务处理系统,包括:发送终端、消息业务处理设备和接收终端,消息业务处理设备接收发送终端发送的MO消息,以及向接收终端发送MT消息。当消息业务处理设备是融合消息业务处理设备时,融合消息业务处理系统的结构如图6所示,包括:发送终端1、如图5所示的融合消息业务处理设备2和接收终端3。Based on the same inventive concept, an embodiment of the present invention also provides a converged message service processing system, including: a sending terminal, a message service processing device, and a receiving terminal. The message service processing device receives the MO message sent by the sending terminal, and sends the MT message to the receiving terminal. information. When the message service processing device is a converged message service processing device, the structure of the converged message service processing system is shown in FIG. 6 , including: a sending terminal 1, a converged message service processing device 2 and a receiving terminal 3 as shown in FIG. 5 .
较优的,一种融合消息业务处理系统的结构如图7所示,包括:发送终端1、融合消息业务处理设备2、接收终端3、核心网的电路域4、核心网的分组域5、核心网的IMS域6。其中融合消息业务处理设备2的消息接收单元10可以包括短消息接收子单元11、多媒体消息接收子单元12、IMS消息接收子单元13,消息发送单元30可以包括短消息发送子单元31、多媒体消息发送子单元32、IMS消息发送子单元33,短消息接收子单元11、短消息发送子单元31与核心网的电路域4连接,用来实现短消息的接收和发送;多媒体消息接收子单元12、多媒体消息发送子单元32与核心网的分组域5连接,用来实现多媒体消息的接收和发送;IMS消息接收子单元13、IMS消息发送子单元33与核心网的IMS域6连接,用来实现IMS消息接收和发送。Preferably, the structure of a converged message service processing system is shown in Figure 7, including: a sending terminal 1, a converged message service processing device 2, a receiving terminal 3, a circuit domain 4 of the core network, a packet domain 5 of the core network, IMS domain 6 of the core network. Wherein the message receiving unit 10 of the fusion message service processing device 2 may include a short message receiving subunit 11, a multimedia message receiving subunit 12, an IMS message receiving subunit 13, and the message sending unit 30 may include a short message sending subunit 31, a multimedia message receiving subunit 13 Sending subunit 32, IMS message sending subunit 33, short message receiving subunit 11, short message sending subunit 31 are connected with the circuit domain 4 of core network, used for realizing the receiving and sending of short message; Multimedia message receiving subunit 12 1. The multimedia message sending subunit 32 is connected with the packet domain 5 of the core network for receiving and sending the multimedia message; the IMS message receiving subunit 13 and the IMS message sending subunit 33 are connected with the IMS domain 6 of the core network for Implement IMS message receiving and sending.
可以由核心处理单元20来确定出MT消息的消息类型,然后由对应该消息类型的消息发送单元中包含的子单元来构建MT消息并向接收终端发送构建的MT消息,其中短消息由短消息发送子单元进行构建并发送、多媒体消息由多媒体消息发送子单元进行构建并发送、IMS消息由IMS消息子单元进行构建并发送。也可以由核心处理单元20确定出MT消息的消息类型,并构建该消息类型的MT消息,然后再由与该消息类型对应的消息发送单元中包含的子单元向接收终端发送核心处理单元构建的MT消息。其中,短消息由短消息发送子单元进行发送、多媒体消息由多媒体发送子弹元进行发送、IMS消息由IMS消息发送子单元进行发送。The message type of the MT message can be determined by the core processing unit 20, and then the subunit contained in the message sending unit corresponding to the message type is used to construct the MT message and send the constructed MT message to the receiving terminal, wherein the short message consists of a short message The sending subunit constructs and sends, the multimedia message is constructed and sent by the multimedia message sending subunit, and the IMS message is constructed and sent by the IMS message subunit. It is also possible to determine the message type of the MT message by the core processing unit 20, and construct the MT message of the message type, and then send the message constructed by the core processing unit to the receiving terminal by the subunit contained in the message sending unit corresponding to the message type. MT news. Wherein, the short message is sent by the short message sending subunit, the multimedia message is sent by the multimedia sending subunit, and the IMS message is sent by the IMS message sending subunit.
当接收终端位于电路域时,接收终端可以通过电路域的服务器告知电路域的归属寄存器自身当前所在的位置,电路域的归属寄存器记录接收终端的位置信息,便于后续在向接收终端发送MT消息的时候,可以准确的找到接收终端的位置。When the receiving terminal is located in the CS domain, the receiving terminal can notify the home register of the CS domain of its current location through the server of the CS domain, and the home register of the CS domain records the location information of the receiving terminal, which is convenient for subsequent sending of MT messages to the receiving terminal. At this time, the location of the receiving terminal can be accurately found.
当接收终端位于IMS域或者是通过LTE/EPC网络接入IMS域时,接收终端是通过IMS域直接注册在融合消息处理设备,当融合消息处理设备需要向终端发送IMS消息时,直接在自身中查找接收终端的注册信息即可。When the receiving terminal is located in the IMS domain or accesses the IMS domain through the LTE/EPC network, the receiving terminal is directly registered with the converged message processing device through the IMS domain. When the converged message processing device needs to send an IMS message to the terminal, it directly Just look up the registration information of the receiving terminal.
较优的,当接收终端与发送终端归属的消息业务处理设备不同的时候,融合消息业务处理系统的结构如图8所示,上述融合消息业务处理系统中的消息业务处理设备是短消息中心81、多媒体消息中心82、IMS应用服务器83其中之一。Preferably, when the receiving terminal and the sending terminal belong to different message service processing devices, the structure of the converged message service processing system is shown in Figure 8, and the message service processing device in the above-mentioned converged message service processing system is a short message center 81 , one of the multimedia message center 82 and the IMS application server 83 .
上述融合消息业务处理设备85,具体用于接收管辖范围内的发送终端86发送的MO消息,或者接收非管辖范围内的发送终端87、91、93、95通过归属的短消息中心81、多媒体消息中心82、IMS应用服务器83或融合消息业务处理设备84发送的MO消息;以及向管辖范围内的接收终端88发送MT消息,或者通过非管辖范围内的接收终端89、90、92、94归属的的短消息中心81、多媒体消息中心82、IMS应用服务器83或融合消息业务处理设备84向非管辖范围内的接收终端89、90、92、94发送MT消息。The above-mentioned converged message service processing device 85 is specifically used to receive the MO message sent by the sending terminal 86 within the jurisdiction, or receive the MO message sent by the sending terminal 87, 91, 93, 95 not within the jurisdiction through the home short message center 81, multimedia message The MO message sent by the center 82, the IMS application server 83 or the integrated message service processing device 84; and the MT message sent to the receiving terminal 88 within the jurisdiction, or through the receiving terminal 89, 90, 92, 94 belonging to the non-jurisdictional The short message center 81, multimedia message center 82, IMS application server 83 or converged message service processing device 84 sends MT messages to receiving terminals 89, 90, 92, 94 outside the jurisdiction.
当发送终端与接收终端归属的消息业务处理设备不同时,例如发送终端归属的消息业务处理设备是融合消息业务处理设备,终端发送终端归属的融合消息业务处理设备可以接收发送终端发送的MO消息,并将该MO消息发送至接收终端归属的短消息中心、多媒体消息中心、IMS应用服务器或融合消息业务处理设备,再由接收终端归属的短消息中心、多媒体消息中心、IMS应用服务器或融合消息业务处理设备将MT消息发送至接收终端。当然也可以是发送终端归属的短消息中心、多媒体消息中心、IMS应用服务器或融合消息业务处理设备接收发送终端发送的MO消息,并将该MO消息发送至接收终端归属的融合消息业务处理设备,再由接收终端归属的融合消息业务处理设备将MT消息发送至接收终端。When the message service processing device to which the sending terminal belongs is different from that of the receiving terminal, for example, the message service processing device to which the sending terminal belongs is a converged message service processing device, and the converged message service processing device to which the sending terminal belongs can receive the MO message sent by the sending terminal, And send the MO message to the short message center, multimedia message center, IMS application server or converged message service processing equipment that the receiving terminal belongs to, and then the short message center, multimedia message center, IMS application server or converged message service that the receiving terminal belongs to The processing device sends the MT message to the receiving terminal. Of course, the short message center, multimedia message center, IMS application server, or converged message service processing device to which the sending terminal belongs may receive the MO message sent by the sending terminal, and send the MO message to the converged message service processing device to which the receiving terminal belongs, Then, the converged message service processing device to which the receiving terminal belongs sends the MT message to the receiving terminal.
由于发送终端归属的多媒体消息中心与接收终端的多媒体消息中心之间、发送终端归属的IMS消息中心与接收终端归属的IMS应用服务器之间的交互是现有技术,并且发送终端归属的短消息中心与接收终端归属的多媒体消息中心或者IMS应用服务器是不能产生交互的,还有其他几种不能交互的情况在这里不赘述,因此,在这里仅说明发送终端归属的融合消息业务处理设备与接收终端归属的短消息中心、多媒体消息中心、IMS应用服务器或者融合消息业务处理设备之间的交互,以及发送终端归属的短消息中心、多媒体消息中心、IMS应用服务器或者融合消息业务处理设备与接收终端归属的融合消息业务处理设备之间的交互。Since the interaction between the multimedia message center to which the sending terminal belongs and the multimedia message center to which the receiving terminal belongs, and between the IMS message center to which the sending terminal belongs and the IMS application server to which the receiving terminal belongs are existing technologies, and the short message center to which the sending terminal belongs It cannot interact with the multimedia message center or IMS application server to which the receiving terminal belongs, and there are several other situations that cannot be interacted with here. Therefore, only the converged message service processing device to which the sending terminal belongs and the receiving terminal are described here. The interaction between the short message center, multimedia message center, IMS application server or converged message service processing equipment that belongs to it, and the short message center, multimedia message center, IMS application server or converged message service processing equipment that the sending terminal belongs to and the belonging of the receiving terminal The converged message service processes the interaction between devices.
下面以三个具体的实施例来详细说明融合消息业务处理过程:In the following, three specific embodiments are used to describe in detail the integrated message service processing process:
实施例一Embodiment one
当确定出向接收终端发送的MT消息可选用的消息类型的排列顺序时,如图9所示,融合消息业务处理方法的具体步骤如下:When the order of the message types that can be selected for the MT message sent to the receiving terminal is determined, as shown in Figure 9, the specific steps of the integrated message service processing method are as follows:
S2301:接收发送终端发送的MO消息。S2301: Receive the MO message sent by the sending terminal.
接收到的MO消息可以是管辖范围内的发送终端发送的,也可以是非管辖范围内的发送终端通过其归属的消息业务处理设备发送的,在这里以接收到的MO消息为管辖范围内的发送终端发送的为例进行说明。The received MO message can be sent by the sending terminal within the jurisdiction, or it can be sent by the sending terminal not within the jurisdiction through its own message service processing device. Here, the received MO message is regarded as the sending within the jurisdiction The terminal sent as an example for description.
S2302:确定出向接收终端发送的MT消息可选用的消息类型的排列顺序后,获取第一个可选用的消息类型。S2302: After determining the arrangement order of the message types that can be selected for the MT message sent to the receiving terminal, obtain the first message type that can be selected.
下面以可选用的消息类型的排列顺序为首选IMS消息、次选短消息、后选多媒体消息进行说明。In the following, the arrangement order of the available message types is described as the preferred IMS message, the second selected short message, and the second selected multimedia message.
S2303:判断接收终端是否能够接收IMS消息,若能够接收,执行S2304;若不能接收,执行S2306。S2303: Determine whether the receiving terminal can receive the IMS message, if it can receive the IMS message, execute S2304; if not, execute S2306.
接收终端不能接收IMS消息的原因可以是接收终端未在IMS域注册等等。The reason why the receiving terminal cannot receive the IMS message may be that the receiving terminal is not registered in the IMS domain or the like.
S2304:构建向接收终端发送的IMS消息,通过核心网的IMS域向接收终端发送构建的IMS消息。S2304: Construct an IMS message to be sent to the receiving terminal, and send the constructed IMS message to the receiving terminal through the IMS domain of the core network.
S2305:判断IMS消息是否发送成功,执行S2316;若发送失败,执行S2306。S2305: Determine whether the IMS message is sent successfully, and execute S2316; if the sending fails, execute S2306.
每种类型的消息的数据包中都包含表征该类型消息的特征信息,例如可以在数据包的包头或者包尾记录消息类型特征信息。当MO消息的消息类型与MT消息的消息类型不一致时,只需修改数据包的包头或者包尾记录的消息类型特征信息,就可以构建新的消息类型的MT消息。The data packet of each type of message includes characteristic information representing the type of message, for example, the characteristic information of the message type may be recorded at the header or tail of the data packet. When the message type of the MO message is inconsistent with the message type of the MT message, the MT message of a new message type can be constructed only by modifying the message type characteristic information recorded in the packet header or packet tail.
S2306:判断IMS消息是否是可选用的消息类型的排列顺序中的最后一个消息类型;若否,执行S2307;若是,执行S2315。S2306: Determine whether the IMS message is the last message type in the sequence of available message types; if not, execute S2307; if yes, execute S2315.
S2307:获取可选用的消息类型排列顺序中的短消息类型,判断接收终端是否能够接收短消息,若能够接收,执行S2308;若不能接收,执行S2310。S2307: Obtain the short message type in the sequence of available message types, and judge whether the receiving terminal can receive the short message. If the receiving terminal can receive the short message, execute S2308; if not, execute S2310.
S2308:构建向接收终端发送的短消息,通过核心网的电路域向接收终端发送构建的短消息。S2308: Construct a short message to be sent to the receiving terminal, and send the constructed short message to the receiving terminal through the circuit domain of the core network.
S2309:判断短消息是否发送成功,若发送成功,执行S2316;若发送失败,执行S2310。S2309: Determine whether the short message is sent successfully, if the sending is successful, execute S2316; if the sending fails, execute S2310.
S2310:判断短消息是否是可选用的消息类型的排列顺序中的最后一个消息类型;若是,执行S2315;若否,执行S2311。S2310: Determine whether the short message is the last message type in the sequence of available message types; if yes, execute S2315; if not, execute S2311.
S2311:获取可选用的消息类型排列顺序中的多媒体消息类型,并判断接收终端是否能够接收多媒体消息,若能够接收,执行S2312;若不能接收,执行S2314。S2311: Obtain the multimedia message type in the arrangement order of the available message types, and judge whether the receiving terminal can receive the multimedia message, if it can receive the multimedia message, execute S2312; if not, execute S2314.
S2312:构建并发送多媒体消息。S2312: Construct and send a multimedia message.
S2313:判断多媒体消息是否发送成功,若发送成功,执行S2316;若发送失败,执行S2315。S2313: Determine whether the multimedia message is sent successfully, if the sending is successful, execute S2316; if the sending fails, execute S2315.
S2314:判断多媒体消息是否是可选用的消息类型的排列顺序中的最后一个消息类型;若否,执行S2317;若是,执行S2315。S2314: Determine whether the multimedia message is the last message type in the sequence of available message types; if not, execute S2317; if yes, execute S2315.
S2315:监控设定的时间周期是否到期,到期后,执行S2302。S2315: Monitor whether the set time period expires, and execute S2302 after expiration.
S2316:流程结束。S2316: The process ends.
S2317:查找下一个消息类型。S2317: Find the next message type.
实施例二Embodiment two
当确定出向接收终端发送的MT消息可选用的消息类型的排列顺序时,如图10所示,融合消息业务处理方法的具体步骤可以如下:When the sequence of message types that can be selected for the MT message sent to the receiving terminal is determined, as shown in Figure 10, the specific steps of the method for processing the converged message service can be as follows:
S2401:接收非管辖范围内的发送终端通过其归属的消息业务处理设备发送的MO消息。S2401: Receive an MO message sent by a sending terminal not within the jurisdiction through its message service processing device.
接收到的MO消息可以是管辖范围内的发送终端发送的,也可以是非管辖范围内的发送终端通过其归属的消息业务处理设备发送的,在这里以接收到的MO消息为非管辖范围内的发送终端通过其归属的消息业务处理设备发送的为例进行说明。The received MO message can be sent by the sending terminal within the jurisdiction, or it can be sent by the sending terminal not within the jurisdiction through its own message service processing device. Here, the received MO message is regarded as the non-jurisdictional The sending terminal sends through its belonging message service processing device as an example for description.
S2402:确定出向接收终端发送的MT消息可选用的消息类型的排列顺序后,获取第一个可选用的消息类型。S2402: After determining the arrangement order of the message types that can be selected for the MT message sent to the receiving terminal, acquire the first message type that can be selected.
下面以可选用的消息类型的排列顺序为首选短消息、次选IMS消息、后选多媒体消息进行说明。In the following, the arrangement order of the available message types is described as short message first, IMS message second, and multimedia message second.
S2403:判断接收终端是否能够接收短消息,若能够接收,执行S2404;若不能接收,执行S2406。S2403: Determine whether the receiving terminal can receive the short message, if it can receive the short message, execute S2404; if not, execute S2406.
S2404:构建短消息,通过核心网的电路域发送短消息。S2404: Construct a short message, and send the short message through the circuit domain of the core network.
S2405:判断短消息是否发送成功,若发送成功,执行S2418;若发送失败,执行S2416。S2405: Determine whether the short message is sent successfully, if the sending is successful, execute S2418; if the sending fails, execute S2416.
S2406:判断短消息是否是可选用的消息类型的排列顺序中的最后一个消息类型;若是,执行S2415;若否,执行S2407。S2406: Determine whether the short message is the last message type in the sequence of available message types; if yes, execute S2415; if not, execute S2407.
S2407:获取IMS消息类型,判断接收终端是否能够接收IMS消息,若能够接收,执行S2408;若不能接收,执行S2410。S2407: Obtain the type of the IMS message, and judge whether the receiving terminal can receive the IMS message, if it can receive the IMS message, execute S2408; if it cannot receive it, execute S2410.
S2408:构建IMS消息,通过核心网的IMS域发送IMS消息。S2408: Construct an IMS message, and send the IMS message through the IMS domain of the core network.
S2409:判断IMS消息是否发送成功,若发送成功,执行S2418;若发送失败,执行S2416。S2409: Determine whether the IMS message is sent successfully, if the sending is successful, execute S2418; if the sending fails, execute S2416.
S2410:判断IMS消息是否是可选用的消息类型的排列顺序中的最后一个消息类型;若是,执行S2415;若否,执行S2411。S2410: Determine whether the IMS message is the last message type in the sequence of available message types; if yes, execute S2415; if not, execute S2411.
S2411:获取多媒体消息类型,判断接收终端是否能够接收多媒体消息,若能够接收,执行S2412;若不能接收,执行S2414。S2411: Obtain the type of the multimedia message, and judge whether the receiving terminal can receive the multimedia message, if it can receive the multimedia message, execute S2412; if it cannot receive it, execute S2414.
S2412:构建并发送多媒体消息.S2412: Construct and send a multimedia message.
S2413:判断多媒体消息是否发送成功,若发送成功,执行S2418;若发送失败,执行S2416。S2413: Determine whether the multimedia message is sent successfully, if the sending is successful, execute S2418; if the sending fails, execute S2416.
S2414:判断多媒体消息是否是可选用的消息类型的排列顺序中的最后一个消息类型;若是,执行S2415;若否,执行S2419。S2414: Determine whether the multimedia message is the last message type in the sequence of available message types; if yes, execute S2415; if not, execute S2419.
S2415:监控设定的时间周期是否到期,到期后,执行S2402。S2415: Monitor whether the set time period expires, and execute S2402 after expiration.
S2416:监控设定的时间周期是否到期,到期后,执行S2417。S2416: Monitor whether the set time period expires, and execute S2417 after the expiration.
S2417:重新发送MT消息。S2417: Resend the MT message.
S2418:流程结束。S2418: The process ends.
S2419:查找下一个消息类型。S2419: Find the next message type.
实施例三Embodiment three
当确定出向接收终端发送的MT消息时使用的至少一种消息类型时,在这里以MO消息的消息类型与MT消息的消息类型一致并且同时向接收终端发送三种消息类型的MT消息为例进行说明,如图11所示,融合消息业务处理方法的具体步骤可以如下:When at least one message type used when determining the MT message sent to the receiving terminal, the message type of the MO message is consistent with the message type of the MT message and the MT message of three message types is sent to the receiving terminal at the same time as an example. Note, as shown in Figure 11, the specific steps of the integrated message service processing method can be as follows:
S2501:接收发送终端发送的MO消息。S2501: Receive the MO message sent by the sending terminal.
S2502:确定向接收终端发送的MT消息的至少一种消息类型。S2502: Determine at least one message type of the MT message sent to the receiving terminal.
在本实施例中,以同时向接收终端发送的IMS消息、短消息、多媒体消息三种消息类型的MT消息为例进行说明。In this embodiment, an MT message of three message types, namely an IMS message, a short message and a multimedia message, which are simultaneously sent to a receiving terminal is taken as an example for illustration.
S2503:判断接收终端是否能够接收IMS消息、短消息、多媒体消息,若能够接收IMS消息,执行S2504;若能够接收短消息,执行S2506;若能够接收多媒体消息,执行S2508。S2503: Determine whether the receiving terminal can receive IMS messages, short messages, and multimedia messages. If it can receive IMS messages, perform S2504; if it can receive short messages, perform S2506; if it can receive multimedia messages, perform S2508.
S2504:构建IMS消息,通过核心网的IMS域发送构建的IMS消息。S2504: Construct an IMS message, and send the constructed IMS message through the IMS domain of the core network.
S2505:判断IMS消息是否发送成功,若发送成功,执行S2511;若发送失败,执行S2510。S2505: Determine whether the IMS message is sent successfully, if the sending is successful, execute S2511; if the sending fails, execute S2510.
S2506:构建短消息,通过核心网的电路域发送短消息。S2506: Construct a short message, and send the short message through the circuit domain of the core network.
S2507:判断短消息是否发送成功,若发送成功,执行S2511;若发送失败,执行S2510。S2507: Determine whether the short message is sent successfully, if the sending is successful, execute S2511; if the sending fails, execute S2510.
S2508:构建并发送多媒体消息。S2508: Construct and send a multimedia message.
S2509:判断多媒体消息是否发送成功,若发送成功,执行S2511;若发送失败,执行S2510。S2509: Determine whether the multimedia message is sent successfully, if the sending is successful, execute S2511; if the sending fails, execute S2510.
S2510:监控设定的时间周期是否到期,到期后,执行S2502。S2510: Monitor whether the set time period expires, and execute S2502 after expiration.
S2511:流程结束。S2511: the process ends.
在本发明实施例提供的技术方案中,根据配置的消息类型发送规则来确定向接收终端发送的MT消息的消息类型,不用再像现有技术一样需要根据MO消息的消息类型来确定MT消息的消息类型,也就是说MT消息的消息类型不再依赖于MO消息的消息类型,这就保证了接收终端在不同网络之间漫游时,即使没有注册到承载MO消息的消息类型的通信网络中,也可以接收到MT消息,避免了现有技术中接收终端没有注册到承载MO消息的消息类型的通信网络中而不能接收MT消息的问题。In the technical solution provided by the embodiment of the present invention, the message type of the MT message sent to the receiving terminal is determined according to the configured message type sending rule, and it is no longer necessary to determine the message type of the MT message according to the message type of the MO message as in the prior art. The message type, that is to say, the message type of the MT message no longer depends on the message type of the MO message, which ensures that when the receiving terminal roams between different networks, even if it is not registered in the communication network carrying the message type of the MO message, The MT message can also be received, which avoids the problem in the prior art that the receiving terminal cannot receive the MT message because it is not registered in the communication network carrying the message type of the MO message.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。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 (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110320599.3A CN103067883B (en) | 2011-10-20 | 2011-10-20 | A kind of converged message service processing method, equipment and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110320599.3A CN103067883B (en) | 2011-10-20 | 2011-10-20 | A kind of converged message service processing method, equipment and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103067883A CN103067883A (en) | 2013-04-24 |
| CN103067883B true CN103067883B (en) | 2015-08-19 |
Family
ID=48110312
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201110320599.3A Active CN103067883B (en) | 2011-10-20 | 2011-10-20 | A kind of converged message service processing method, equipment and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103067883B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106130874B (en) * | 2016-06-17 | 2019-12-10 | 上海帜讯信息技术股份有限公司 | enterprise integrated information processing method fusing multiple communication modes |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1897578A (en) * | 2005-07-14 | 2007-01-17 | 华为技术有限公司 | Message conversion and converting system |
| CN101621769A (en) * | 2009-08-14 | 2010-01-06 | 中兴通讯股份有限公司 | Method for intercommunicating short message signals and short message service center |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20100061295A (en) * | 2008-11-28 | 2010-06-07 | 삼성전자주식회사 | Method and system for controlling a session for interworking in converged ip messaging service |
-
2011
- 2011-10-20 CN CN201110320599.3A patent/CN103067883B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1897578A (en) * | 2005-07-14 | 2007-01-17 | 华为技术有限公司 | Message conversion and converting system |
| CN101621769A (en) * | 2009-08-14 | 2010-01-06 | 中兴通讯股份有限公司 | Method for intercommunicating short message signals and short message service center |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103067883A (en) | 2013-04-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108712485B (en) | Resource subscription method and device for Internet of things equipment | |
| US10848526B2 (en) | Device triggering | |
| EP2730108B1 (en) | Machine to machine (m2m) application server, xdms server, and methods for m2m applications group management | |
| CN105577527B (en) | Interaction method and device for smart watch and WeChat platform and smart watch | |
| EP2727385B1 (en) | A node and method for communications handling | |
| CN102123362A (en) | Method for automatically acquiring mobile phone number by mobile equipment | |
| RU2012106659A (en) | METHOD FOR TRANSFERRING A COMMUNICATION SESSION IN A TELECOMMUNICATION NETWORK OF THE FIRST CONNECTION TO THE SECOND CONNECTION | |
| CN102740466B (en) | The method in Internet of Things, resource operated and device | |
| CN112580730B (en) | Terminal type identification method and device | |
| CN113596957B (en) | Data processing method and device, equipment and storage medium | |
| CN103067883B (en) | A kind of converged message service processing method, equipment and system | |
| CN111404975A (en) | Message transmission method, device, equipment and computer storage medium | |
| CN116347513B (en) | Communication method and device, communication system, storage medium and electronic device | |
| CN107770035A (en) | A kind of method and apparatus for pushing offline notification | |
| CN115150890B (en) | Network auxiliary data transmission method and device, electronic equipment and storage medium | |
| CN108260182B (en) | Wireless binding sending method, receiving method, sending end and receiving end | |
| CN114760267A (en) | Domain name plugging method, device, equipment, medium and program product | |
| CN103905287B (en) | Signal procedure correlating method and device based on local area network | |
| CN114143729B (en) | Apparatus, method and computer readable storage medium for data transceiving with IoT devices | |
| JP2020500434A (en) | Method and apparatus for determining a communication network for providing a communication service to a terminal communication device | |
| CN113079174A (en) | 4G or 5G-based voice call method and system and computer main equipment | |
| CN104137485A (en) | Method and advertisement server for providing network information for terminal | |
| CN107466018B (en) | Data transmission method of terminal equipment and terminal equipment | |
| CN104158728A (en) | Group adding method for social network site, group adding system and server | |
| CN103501276B (en) | The method and device that a kind of server communicates with sensor node |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |