WO2014101530A1 - Method and device for transmitting messages - Google Patents

Method and device for transmitting messages Download PDF

Info

Publication number
WO2014101530A1
WO2014101530A1 PCT/CN2013/085225 CN2013085225W WO2014101530A1 WO 2014101530 A1 WO2014101530 A1 WO 2014101530A1 CN 2013085225 W CN2013085225 W CN 2013085225W WO 2014101530 A1 WO2014101530 A1 WO 2014101530A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
ussd
terminal
sms
paging
Prior art date
Application number
PCT/CN2013/085225
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Publication of WO2014101530A1 publication Critical patent/WO2014101530A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/04Registration at HLR or HSS [Home Subscriber Server]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like
    • H04W68/005Transmission of information for alerting of incoming communication

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a method and an apparatus for transmitting a message. Background technique
  • Unstructured Supplementary Service Data is a global mobile communication system based on GSM (Global System for Mobile)
  • SIM Subscriber Identity Module
  • USSD service can be used alone or with general packet radio service (General Packet Radio
  • GPRS GPRS
  • value-added services such as mobile banking, financial stock trading, mobile phone billing, weather forecasting and inquiries, email sending and receiving, flight inquiries, online booking, polls Wait.
  • the USSD has a small impact on the structure of the existing communication system, and the operator can flexibly launch functional services for the specific conditions of the local network to conveniently provide various types of data services for mobile users. Therefore, the way to spread messages based on USSD services has become more and more applications.
  • UMTS Evolved UMTS Territorial Radio Access Network
  • GERAN GSM EDGE Radio Access Network
  • UTRAN UMTS Territorial Radio Access Network
  • CSFB Circuit Switched Fallback
  • the 3GPP 23.272 protocol defines a procedure for a terminal to perform a CSFB operation. Taking a standard CSFB networking architecture as an example, the transmitting message device receives the USSD request message sent by the Home Location Register (HLR), and then sends the search.
  • HLR Home Location Register
  • the call message is advertised to the mobility management entity (Mobility Management Entity, ⁇ ).
  • the MME After receiving the paging message, the MME notifies the terminal to perform circuit domain fallback through the evolved base station (Evolved Node ⁇ , ⁇ -NodeB), and completes the circuit at the terminal. After the domain falls back, the transmission message device, the HLR, the MME, and the terminal complete the subsequent USSD service flow.
  • each USSD service process will trigger the CSFB operation.
  • Frequent USSD services will cause CSFB to occur frequently, and each CSFB operation needs a certain amount.
  • Time although the time of a single CSFB operation is short, the frequent occurrence of CSFB may result in a large terminal fallback delay, a delay of the terminal returning to the LTE network, and a packet switching (PS) service interruption, etc., and
  • PS packet switching
  • Each CSFB operation will occupy the air interface resources. It takes a certain time to translate the air interface resources after the CSFB operation is completed. Frequent CSFB operations will cause the air interface resources to be occupied by CSFB operations, resulting in tight air interface resources.
  • the embodiments of the present invention provide a method and a device for transmitting a message, which solves the problem that the CSFB frequently occurs when the terminal is in the LTE scenario and the message is frequently transmitted through the USSD service mode, and the message can be transmitted through the USSD service mode.
  • the number of times that it needs to fall back to the CS domain thereby reducing the delay caused by CSFB, improving the stability of the PS service, and reducing the occupation of the air interface resources by the CSFB.
  • an embodiment of the present invention provides a method for transmitting a message, including:
  • the transport message device receives the unstructured supplementary service data USSD notification message sent by the home location register HLR, where the USSD notification message includes an identifier of the terminal that resides in the LTE network of the long term evolution system;
  • the SMS message After receiving the paging response message sent by the terminal, the SMS message is sent to the terminal through the SGs interface.
  • the USSD notification message includes a parameter for indicating a USSD coding mode and an USSD string for displaying on the terminal, where the one or more SMS messages include an encoding mode parameter and a user data parameter.
  • Decoding the USSD notification message, and converting the decoded USSD notification message into one or more SMS messages including:
  • the USSD string is encapsulated into user data parameters of one or more SMS messages constructed.
  • the constructing the one or more SMS messages includes: if the length of the USSD string is greater than 140 bytes and not greater than 160 Byte, the transport message device constructs two SMS messages;
  • the encapsulating the USSD string into the user data parameter of the constructed SMS message includes:
  • the USSD string is split into two parts of USSD strings each having a length of no more than 140 bytes, and the two parts of the USSD string are respectively encapsulated into the two SMS messages constructed.
  • the constructing the one or more SMS messages includes: if the length of the USSD string is not greater than 140 bytes, The transport message device constructs an SMS message.
  • an embodiment of the present invention provides a device for transmitting a message, including:
  • a receiving unit configured to receive an unstructured supplementary service data USSD message sent by a home location register HLR, where the USSD message includes an identifier of a terminal residing on the Long Term Evolution (LTE) system; and a converting unit, configured to be in the receiving unit After receiving the USSD notification message, converting the USSD notification message into one or more short message service SMS messages;
  • LTE Long Term Evolution
  • a sending unit configured to send, according to the identifier of the terminal received by the receiving unit, a paging message to the terminal;
  • the receiving unit is further configured to: after the sending unit sends a paging message, receive a paging response message sent by the terminal;
  • the sending unit is further configured to: after the receiving unit receives the paging response message, send, by using an SGs interface, one or more SMS messages obtained by the conversion unit by using the SGs interface.
  • the USSD notification message includes a parameter for indicating a USSD coding mode and a USSD string, where the one or more SMS messages include parameters of the coding mode and user data.
  • the conversion unit includes:
  • An obtaining unit configured to decode the USSD notification message, and obtain the parameter used to indicate the USSD encoding mode and the USSD string used for displaying on the terminal;
  • Encapsulating unit configured to construct one or more SMS messages, and the parameters used to represent the USSD encoding mode and the USSD string obtained by the obtaining unit encapsulate the parameters used to represent the USSD encoding mode into the In the parameter of the encoding mode of the constructed SMS message; encapsulating the USSD string into the user data parameter of the constructed SMS message.
  • the encapsulating unit constructing one or more SMS messages includes: if the length of the USSD string is greater than 140 bytes and not greater than 160 Byte, the encapsulation unit constructs two SMS messages,
  • the encapsulating unit encapsulates the USSD string into the user data parameter of the constructed SMS message, including:
  • the encapsulating unit constructing one or more SMS messages includes: if the length of the USSD string is not greater than 140 bytes, The encapsulation unit constructs an SMS message.
  • the transmission message device receives the USSD notification message sent by the HLR, decodes the USSD notification message, and converts the decoded USSD notification message into one or more short messages.
  • a message service SMS message, and the SMS message is sent to the terminal.
  • the method for transmitting the SMS message by the SMS over SGs does not cause the CSFB to be generated.
  • the embodiment of the present invention solves the problem that the terminal is frequently transmitted through the USSD service mode in the LTE scenario.
  • the message causes frequent occurrence of CSFB, which reduces the delay of the terminal fallback and the delay of the terminal returning to the LTE network, improves the stability of the PS service, and reduces the waste of air interface resources.
  • FIG. 1 is a structural diagram of an application environment according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of Embodiment 2 of the present invention.
  • FIG. 4 is a structural diagram of a device in Embodiment 3 of the present invention.
  • FIG. 5 is a block diagram showing the hardware architecture of the device in Embodiment 3 of the present invention. detailed description
  • FIG. 1 is a schematic diagram of an application environment architecture according to an embodiment of the present invention.
  • the architecture includes a radio access network (RAN) and a core network (Core Network, CN).
  • the CN is logically divided into a Circuit Switched (CS) domain and a Packet Switched (PS) domain.
  • Mobile Soft Switch Center (MSC) is CS The entities in the domain, including the visited mobile switching center 11 (the visited MSC, VMSC) and the gateway mobile softswitching center 12 (Gateway MSC, GMSC), wherein the VMSC can exchange information with the charging system and the like, and the home address
  • the register/home subscriber server HLR/HSS 13 communicate with each other to perform basic call and message transmission.
  • the VMSC can implement the function of CSFB, or adopt a dedicated CSFB proxy, that is, CSFB Proxy to implement the function of CSFB.
  • the MSC including the VMSC and GMSC
  • the CSFB Proxy are defined as transport message devices.
  • the VMSC and the MME are connected through an SGs interface to implement interconnection and interworking between the UMTS network and the LTE network.
  • the mobility management entity MME14, S-GW/P-GW15 is an entity of the PS domain in the LTE network.
  • the terminal resides in the LTE network, and the message of the USSD service type is initiated by the HLR.
  • the SGs interface is delivered to the terminal residing on the LTE network, and the terminal can receive the message sent by the transmission message device without performing CSFB operation.
  • the US SD messages initiated by the network side can be divided into two types: US SD request message and US SD notification message.
  • USSD request message requires the end user to interact; the USSD notification message does not require terminal user interaction and belongs to the passive reception of the terminal.
  • the USSD notification message in the embodiment of the present invention is used to provide a timely interaction message, which is characterized by "session-oriented", that is, when a session connection is established, the established session will remain until the mobile phone user or the application is released. The session is connected.
  • USSD messages support the same encoding method, and support 7BIT, 8BIT, and UCS2 modes. The difference is that the USSD message is connection-oriented and has good interactivity, but does not support store-and-forward.
  • the SMS message has no session channel on the physical bearer layer. It is only a store-and-forward system.
  • the USSD message contains the USSD string.
  • the USSD string is the actual content that is actually presented to the user.
  • the maximum length is 160 bytes, and the maximum length of the SMS message is 140 bytes.
  • the method disclosed in the foregoing embodiments of the present invention may be implemented in a central processing unit, or by a central processing unit.
  • the central processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a central processing unit or an instruction in a form of software.
  • the foregoing central processing unit may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • Device discrete gate or transistor method, step and logic block diagram.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the central processor reads the information in the memory, and combines the hardware to complete the steps of the foregoing method.
  • Embodiment 1 Embodiment 1:
  • the process of propagating the USSD message in the embodiment of the present invention is as follows:
  • the circuit domain fallback transmission message device receives the unstructured supplementary service data sent by the home location register, the USSD notification message, where the USSD notification message includes an identifier of the terminal that resides on the LTE-LTE system.
  • the application scenario of the embodiment of the present invention is a scenario in which the terminal resides on the LTE, and the transmission message device includes a mobile switching center MSC or a CSFB Proxy.
  • the identifier of the terminal included in the USSD notification message may be an International Mobile Subscriber Identity (IMSI), which is used to determine the terminal of the message to be received.
  • IMSI International Mobile Subscriber Identity
  • the USSD notification message includes a parameter for indicating the USSD coding mode and a USSD string. Converting the decoded USSD notification message into one or more SMS messages, as follows: Transmitting the message device to decode the USSD notification message, and obtaining a parameter indicating the USSD Data Coding Scheme and the USSD string;
  • the transmission message device constructs one or more SMS messages, and the construction manner can be constructed according to the standard SMS message format of the 3GPP 23.038 protocol, which is not described here.
  • the parameter for indicating the USSD encoding mode and the USSD string are encapsulated into one or more SMS messages of the construct, and the one or more SMS messages that are configured are to be sent to the The SMS message of the terminal.
  • the transport message device can construct only one SMS message.
  • the transport message device may construct at least two SMS messages; in one embodiment of the present invention, the length of the USSD string does not exceed 160 bytes, When the length of the USSD string is greater than 140 bytes, two SMS messages can be constructed.
  • the transport message device encapsulates the parameter for indicating the USSD encoding mode and the USSD string into one or more of the constructs. In the SMS message, the specific is:
  • the transport message device sequentially encapsulates the parameters for identifying the USSD encoding mode into the two SMS messages constructed, that is, the transport message device constructs two SMS messages, and not only encapsulates the parameter into the first SMS message.
  • the message is also encapsulated into a second SMS message.
  • the messaging device splits the USSD string into two partial USSD strings each having a length of no more than 140 bytes, and respectively encapsulating the two partial USSD strings into the two SMS messages constructed.
  • the USSD string is 150 bytes long, and the transmission message device can split the USSD string into two parts according to a preset format, the first part is 140 bytes, the second part is 10 bytes, and the first part is Encapsulated into the first constructed SMS message, the second part is encapsulated into the second constructed SMS message. It should be noted that the step of the encapsulation does not have a strict timing relationship.
  • the parameters for identifying the USSD encoding mode and the two parts of the USSD string may be encapsulated into two SMS messages, or may be encapsulated one after another.
  • the paging message is constructed by the transmission message device, and the paging message includes an identifier of the paging type, and the identifier is specifically an SMS indicator, indicating that the paging type is an SMS type.
  • the transmission message device After receiving the paging response message sent by the terminal, the transmission message device sends the one or more SMS messages to the terminal through the SGs interface (SMS over SGs).
  • the SGs interface is an interface for transmitting communication between the message device and the MME.
  • the 3GPP 23.272 protocol defines how to send SMS messages to the terminal in the manner of SMS over SGs, which is not described here. It should be noted that the SMS over SGs is a way to send the SMS message on the GERAN/UTRAN to the terminal camping on the LTE network, and does not cause the CSFB to fall back to the terminal camping on the LTE network.
  • the transmission message device sends a USSD notification success response message to the HLR, or, if the system is faulty during transmission, or during transmission
  • the noise caused by the noise causes the data to be lost or incorrect.
  • the SMS message received by the terminal is incorrect.
  • the terminal determines that the SMS message failed to be sent as long as any one of the SMS messages is incorrect.
  • the terminal returns an SMS message error report to the transmission message device; when the SMS message received by the terminal is one, if the SMS message is incorrect, the terminal determines that the SMS message is failed to be sent, and also returns an SMS message error report to the transmission message.
  • the device after receiving the SMS message error report, determines that any one of the one or more SMS short messages fails to be sent, and the transmitting message device sends a USSD notification failure response message to the HLR.
  • the transmission message device receives the USSD notification message sent by the HLR, decodes the USSD notification message, and converts the decoded USSD notification message into one or more short message service SMS messages. And sending the one or more SMS messages to the terminal through the SGs interface. Since the transmission message device converts the USSD notification message into an SMS message, the way of sending the SMS message through the SMS over SGs does not cause CSFB to occur, so The embodiment of the invention solves the problem that the CSFB frequently occurs when the message is transmitted through the USSD service mode, reduces the delay of the terminal falling back and the delay of the terminal returning to the LTE network, improves the stability of the PS service, and reduces the waste of the air interface resource.
  • Embodiment 2 Embodiment 2:
  • FIG. 3 is a flowchart of an embodiment of the present invention. As shown in FIG. 3, the process of the embodiment of the present invention is as follows:
  • S201 The transmitting message device receives the USSD message sent by the HLR.
  • the embodiment of the present invention can be used in both the standard CSFB scenario and the CSFB Proxy networking scenario.
  • the message device is a VMSC supporting the CSFB function, and in the CSFB Proxy networking scenario, the message device is transmitted.
  • the message device is transmitted.
  • CSFB Proxy For CSFB Proxy.
  • the transmitting message device receives the USSD message sent by the HLR, and identifies the USSD message by identifying the identifier of the USSD message in the USSD message, and the identifier can identify that the USSD message is USSD notification message.
  • the notification message includes an identifier of a terminal that resides in the LTE network, and the identifier may be an International Mobile Subscriber Identity (IMSI) in the embodiment of the present invention.
  • IMSI International Mobile Subscriber Identity
  • the transmitting message device can deliver the message to the terminal corresponding to the identifier according to the identifier.
  • the USSD notification message is encoded by a plurality of parameter information in a specific format.
  • the parameter information includes but is not limited to: USSD version information, USSD operation type, USSD code scheme (USSD Code Scheme), and USSD string content (USSD String).
  • USSD operation type is a notification type, including request, notification, session response, and session translation.
  • the operation type of the USSD is a notification class.
  • the USSD encoding method determines the encoding format of the USSD string, including 7-bit encoding, 8-bit encoding, and 2-byte Universal Character Set (UCS2) encoding.
  • the USSD string is the final content that is ultimately displayed to the user, with a maximum length of 160 bytes.
  • 3 GPP 23.272 protocol defines that when the terminal resides in the LTE network, for the SMS message, the CSFB is not required to fall back, but the SMS message is sent based on the SGs interface (SMS over SGs), that is, the SMS message is transmitted to the LTE through the SGs interface. Terminal under the network.
  • the coding manner of the SMS message is the same as that of the USSD, that is, the SMS message also supports the 7-bit coding, the 8-bit coding, and the UCS2 coding.
  • the coding mode of the USSD and the SMS message is not required to be converted. Both conversions can be achieved. The following describes the specific conversion process:
  • the transmitting message device After receiving the USSD notification message, the transmitting message device decodes the USSD notification message to obtain the USSD Data Coding Scheme and the USSD string in the USSD notification message.
  • the specific decoding process may be inverse coding according to the USSD notification message encoded according to the specific format described above, and is not described here. If the length of the USSD string is greater than 140 bytes, the transport message device splits the contents of the US SD string into two parts that are not longer than 140 bytes, and are respectively encapsulated into two SMS messages. If the length of the USSD string is not more than 140 bytes, it is only encapsulated in an SMS message.
  • the SMS message is constructed by the transport message device, and after receiving the USSD notification message, the number of SMS messages to be constructed is determined according to the length of the USSD string obtained by the decoding.
  • the embodiment of the present invention has no limitation on what kind of rules to be split and encapsulated. For example, if the USSD string is 150 bytes, it can be split into 140 bytes in the first part and 10 bytes in the second part. , respectively encapsulated into the Transport Protocol Data Unit (TPDU) of two SMS messages.
  • TPDU Transport Protocol Data Unit
  • the transport message device needs to encapsulate the USSD encoding mode parameter and the USSD string in the USSD notification message into the corresponding SMS parameters.
  • the transmission message device decodes the USSD notification message, obtains parameters and USSD strings for indicating the USSD Data Coding Scheme, and encapsulates the TP-DCS and TP in the SMS message according to the format of Table 1. - in the UD parameter.
  • the USSD notification message is converted into an SMS message, and the SMS message is sent to the terminal by means of the SMS over SGs, which avoids the problem that the terminal needs the CSFB to fall back, causing the fallback delay, the delay of returning to the LTE network, the interruption of the packet switching service, and the occupation of air interface resources. .
  • the transmitting message device sends a paging message to the MME.
  • the paging Paging message is sent to the MME.
  • the paging message includes a parameter named a service indicator, and the transmission message device sets the parameter value to 2, indicating that it is an SMS message type (SMS message indicator), that is, the paging message is an SMS message.
  • SMS message indicator SMS message indicator
  • Non-voice page message (CS call Indicator ).
  • the MME transparently sends a paging message to the terminal.
  • the MME After receiving the paging message sent by the message transmitting device, the MME transparently transmits the paging message to the terminal. It should be noted that the paging message sent by the transmission message device includes the identifier of the terminal, and the MME transparently transmits the paging message to the terminal corresponding to the identifier according to the identifier.
  • the service request message is sent to the MME on the terminal.
  • the terminal After receiving the paging message sent by the MME, the terminal determines, according to the parameter of the service indication code in the paging message, that the type of the paging message is an SMS message type, and constructs a service request message as a paging. The message is sent, and the service request message is sent to the MME without CSFB fallback.
  • the terminal constructs an extended service request message (Extended Service Request Message), and sends the extended service request message to the MME, and the MME forwards the extended service.
  • the request message is sent to the message device.
  • the terminal triggers the terminal to perform the corresponding CSFB operation.
  • the MME transmits a service request message to the transmission message device.
  • the MME After receiving the service request message, the MME transparently transmits the service request message to the transmission message device. S207.
  • the transmission message device sends an SMS message to the MME.
  • the transport message device After receiving the service request message, the transport message device sends an SMS message to the MME according to the service request message, and the SMS message may be included in a downlink unit data message in the SMS over SGs standard flow.
  • the transmitting message device determines that the terminal is in an idle state and can receive the SMS message, and then sends the SMS message to the terminal by means of SMS over SGs. S208.
  • the MME sends a non-access stratum NAS message to the terminal.
  • the MME encapsulates the SMS message into the NAS message and sends the NAS message to the terminal.
  • the terminal sends a delivery report to the MME. After receiving the NAS message encapsulating the SMS message, the terminal sends a delivery report to the MME, indicating that the SMS message has been received.
  • the MME transparently sends the delivery report to the transmission message device.
  • the transmission message device sends a USSD notification response message to the HLR.
  • the USSD notification response message is sent to the HLR. It should be noted that if the SMS message translated by the US SD notification message is one, when the SMS message is successfully sent, the US SD notification response message is a USSD success response message, and vice versa, a USSD failure response message; or, if USSD If the SMS message of the notification message is changed to 2, only the SMS messages of the two messages are sent successfully to indicate that the actual content of the USSD notification message has been transmitted. If the data is lost or incorrect due to system failure or noise during transmission, the SMS message received by the terminal is incorrect. When the SMS message received by the terminal is two, only one of the SMS messages is received. If the error is made, the terminal determines that the SMS message has failed to be sent.
  • the terminal returns an SMS message error report to the transmission message device.
  • the SMS message received by the terminal is one, if the SMS message is incorrect, the terminal determines the current SMS message. The transmission fails, and an SMS message error report is also returned to the transmission message device. After the transmission message device receives the SMS message error report, it is determined that any one of the one or more SMS short messages fails to be sent, and the transmission message device fails to send the USSD. The response message is sent to the HLR. Conversely, if the transmission message device determines that the SMS message is successfully sent, the USSD success response message is sent to the HLR.
  • the transmission message device completes a subsequent release connection process.
  • the transport message device sends a delivery report acknowledgement message to the MME, and the MME forwards the acknowledgement message to the terminal. In addition, the transport message device also sends a release request message to the MME to release the current connection.
  • the transport message device receives the unstructured supplementary service USSD notification message sent by the home location register HLR, converts the USSD message into one or more SMS messages, and sends the one or more short messages.
  • the message is sent to the terminal to complete the propagation of the message.
  • the method for transmitting the SMS message by the SMS over SGs does not cause the CSFB to be generated.
  • the embodiment of the present invention solves the problem that the CSFB frequently occurs when the message is transmitted through the USSD service mode. Reduce the delay of terminal fallback and terminal return The delay of returning to the LTE network improves the stability of the PS service and reduces the waste of air interface resources.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 4 is a structural diagram of a device for transmitting a message, as shown in FIG. 4, including:
  • the receiving unit 301 is configured to receive an unstructured supplementary service data USSD notification message sent by the home location register HLR, where the USSD notification message includes an identifier of a terminal that resides on the Long Term Evolution (LTE) system;
  • LTE Long Term Evolution
  • the application scenario of the embodiment of the present invention is a scenario in which the terminal resides on the LTE, and the transmission message device may be a mobile switching center MSC or a CSFB proxy proxy.
  • the identifier of the terminal included in the USSD notification message may be an International Mobile Subscriber Identity (IMSI), which is used to determine the terminal to receive the message.
  • IMSI International Mobile Subscriber Identity
  • the converting unit 302 is configured to: after the receiving unit 301 receives the USSD notification message, convert the USSD notification message into one or more short message service SMS messages; in the embodiment of the present invention, the USSD notification message includes Indicates the USSD encoding mode parameters and USSD string. Thereafter, the converting unit 302 converts the USSD into one or more SMS messages.
  • the conversion unit 302 specifically includes an obtaining unit and a packaging unit, where
  • the obtaining unit decodes the USSD notification message, and obtains a parameter indicating the USSD Data Coding Scheme and the USSD string.
  • the encapsulating unit constructs one or more SMS messages, and the construction manner can be constructed according to the standard SMS message format of the 3GPP 23.038 protocol, which is not described here.
  • the parameter for indicating the USSD coding mode and the USSD string are encapsulated into the one or more SMS messages that are configured, and the one or more SMS messages that are configured are to be sent to The SMS message of the terminal.
  • the encapsulating unit can construct only one SMS message. And when the length of the USSD string is greater than 140 bytes, the encapsulating unit can construct at least two SMS messages. In one embodiment of the present invention, the length of the USSD string does not exceed 160 bytes, so when the length of the USSD string is greater than At 140 bytes, two SMS messages can be constructed. In this case, the encapsulating unit encapsulates the parameter for indicating the USSD encoding mode and the USSD string into one or more SMS messages of the construct, specifically :
  • the encapsulating unit sequentially encapsulates the parameters for identifying the USSD encoding mode into the two SMS messages constructed, that is, the encapsulating unit constructs two SMS messages, and not only encapsulates the parameter into the first SMS message, but also encapsulates the parameter into the first SMS message.
  • the parameter is to be encapsulated into a second SMS message.
  • the encapsulation unit splits the USSD string into two partial USSD strings each having a length of no more than 140 bytes, and encapsulates the two partial USSD strings into the two SMS messages constructed. For example, the USSD string is 150 bytes long.
  • the encapsulation unit can split the USSD string into two parts according to a preset format.
  • the first part is 140 bytes, and the second part is 10 bytes.
  • the first part is encapsulated.
  • the second part is encapsulated into the second constructed SMS message. It should be noted that the step of the encapsulation does not have a strict timing relationship.
  • the parameters for identifying the USSD encoding mode and the two USSD strings may be encapsulated into two SMS messages, or may be encapsulated one after another.
  • the sending unit 303 is configured to send, according to the identifier of the terminal, a paging message to the terminal.
  • the paging message is constructed by a building unit of the transmission message device, and the paging message includes searching
  • the identifier of the call type, the identifier is specifically an SMS indicator, indicating that the paging type is an SMS type.
  • the receiving unit 301 is further configured to: after the sending unit 303 sends the paging message, receive a paging response message sent by the terminal;
  • the receiving unit 301 receives the paging response message sent by the terminal after the sending unit 303 sends the paging message.
  • the sending unit 303 is further configured to: after the receiving unit receives the paging response message, The one or more SMS messages are sent to the terminal via the SGs interface.
  • the transmitting unit 303 After the receiving unit 301 receives the paging response message, the transmitting unit 303 will transmit the converted SMS message to the terminal through the SGs interface (SMS over SGs). Before the sending unit 303 sends the one or more SMS messages to the terminal, the sending unit 303 further needs to send a paging message to the terminal, so that the terminal sends a paging response message to the receiving unit of the transmitting message device. 301.
  • the paging message includes an identifier of the terminal and a parameter used to indicate the paging type.
  • the sending unit 303 sends a USSD notification success response message to the HLR, or if a system failure occurs during transmission, or during transmission
  • the noise caused by the noise causes the data to be lost or incorrect.
  • the SMS message received by the terminal is incorrect.
  • the terminal determines that the SMS message failed to be sent as long as any one of the SMS messages is incorrect.
  • the terminal returns an SMS message error report to the receiving unit 301; when the SMS message received by the terminal is one, if the SMS message is incorrect, the terminal determines that the SMS message is failed to be sent, and also returns an SMS message error report to the transmission message.
  • the receiving unit 301 After receiving the SMS message error report, the receiving unit 301 receives the SMS message error report, and after the determining unit determines that any one of the one or more SMS short messages fails to be sent, the sending unit 303 of the transmitting message device sends a USSD notification failure response. Message to the HLR.
  • FIG. 5 depicts a hardware architecture diagram of a cornerstone out-of-facilities management node provided by another embodiment of the present invention, including at least one processor 401 (eg, a CPU), at least one network interface 402 or other communication interface, memory 403, and at least one communication.
  • a bus 404 is used to implement connection communication between these devices.
  • the processor 401 is configured to execute an executable module, such as a computer program, stored in the memory 403.
  • the memory 403 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory such as at least one disk memory.
  • RAM Random Access Memory
  • the communication connection between the system gateway and at least one other network element is implemented by at least one network interface 402 (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • the memory 403 stores program instructions, and the program instructions may be executed by the processor 401.
  • the program instructions include a receiving unit 301, a converting unit 302, and a sending unit 303, wherein specific implementations of the units are shown in FIG. The corresponding units disclosed are not described here.
  • the receiving unit receives the USSD notification message sent by the HLR, the converting unit decodes the USSD notification message, and converts the decoded USSD notification message into one or more short message service SMS messages. And sending the SMS message to the terminal by the sending unit.
  • the method for transmitting the SMS message by the SMS over SGs does not cause the occurrence of the CSFB.
  • the embodiment of the present invention solves the problem that the terminal residing in the LTE scenario frequently passes the USSD.
  • the problem of frequent occurrence of CSFB is caused by the transmission of the service mode, which reduces the delay of the terminal fallback and the delay of the terminal returning to the LTE network, improves the stability of the PS service, and reduces the waste of the air interface resources.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure.
  • any connection may suitably be a computer readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
  • coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwaves are included in the fixing of the associated media.
  • a disk and a disc include a compact disc (CD), a laser disc, a disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray.
  • Optical discs in which discs are usually magnetically replicated, while discs use lasers to optically replicate data. Combinations of the above should also be included within the protection hierarchy of computer readable media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a method for transmitting messages. The method comprises: receiving a unstructured supplementary service data (USSD) notification message sent by a home location register (HLR), wherein the USSD notice message contains the identifier of a terminal residing in a long term evolution (LTE) network; converting the USSD notification message into one or more short message service (SMS) messages; sending a paging message to the terminal according to the identifier of the terminal; and after receiving a paging response message sent by the terminal, sending the one or more SMS messages to the terminal through an SGs interface. Correspondingly, the present invention provides a device for transmitting messages, and solves the problems that the terminal residing in the LTE network scene transmits messages frequently through a USSD business mode and, as a result, circuit switched fallback (CSFB) occurs frequently, and the time delay when the terminal falls back and the time delay when the terminal returns to the LTE network are reduced, and the waste of air interface resources is reduced.

Description

一种传输消息的方法及装置  Method and device for transmitting messages
本申请要求了 2012年 12月 28日提交的、 申请号为 201210584331.5、 发明 名称为"一种传输消息的方法及装置"的中国申请的优先权,其全部内容通过引用 结合在本申请中。 技术领域  The present application claims priority to the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the disclosure. Technical field
本发明实施例涉及通信领域, 尤其涉及一种传输消息的方法及装置。 背景技术  The embodiments of the present invention relate to the field of communications, and in particular, to a method and an apparatus for transmitting a message. Background technique
非结构 ^^卜充数据 (Unstructured Supplementary Service Data, USSD) 业 务是一种基于全球移动通信系统 GSM(Global System for Mobile  Unstructured Supplementary Service Data (USSD) is a global mobile communication system based on GSM (Global System for Mobile)
Communications)网络的、 实时在线的交互会话数据业务; 它基于用户识别模 块 (Subscriber Identity Module , SIM)卡, 利用 GSM网络的信令通道传送数 据, 是在 GSM的短消息系统技术基础上推出的业务。 Communications) network, real-time online interactive session data service; it is based on the Subscriber Identity Module (SIM) card, which uses the signaling channel of the GSM network to transmit data. It is a service launched on the basis of GSM short message system technology. .
USSD业务可以单独使用或与通用分组无线业务 (General Packet Radio USSD service can be used alone or with general packet radio service (General Packet Radio
Service , GPRS)技术相结合使用, 可为客户提供种类繁多的增值业务, 如移 动银行、 金融股票交易、 手机话费查询、 气象信息预报和查询、 电子邮件收 发、 航班查询、 网上订票、 民意测验等。 采用 USSD对现有通信系统的结构 影响较小, 且运营商还可以针对本地网的具体情况灵活地推出功能业务, 方 便地为移动用户提供各类数据业务。 因此, 基于 USSD业务来传播消息的方 式得到了越来越多的应用。 Service, GPRS) technology can be used to provide customers with a wide range of value-added services, such as mobile banking, financial stock trading, mobile phone billing, weather forecasting and inquiries, email sending and receiving, flight inquiries, online booking, polls Wait. The USSD has a small impact on the structure of the existing communication system, and the operator can flexibly launch functional services for the specific conditions of the local network to conveniently provide various types of data services for mobile users. Therefore, the way to spread messages based on USSD services has become more and more applications.
由于目前的 USSD业务是基于 GSM网络来发起的, 在长期演进系统( Long Term Evolution, LTE ) 网络下却没有相应的传输机制, 故, USSD业务需要从演 进的通用移动通信系统 ( Universal Mobile Telecommunications System, UMTS ) 陆地无线接入网 ( Evolved UMTS Territorial Radio Access Network , E-UTRAN ) 返回 GSM EDGE无线接入网 (GSM EDGE Radio Access Network , GERAN ) /UMTS陆地无线接入网 ( UMTS Territorial Radio Access Network, UTRAN )来 完成, 这种方法称为电路域回落(Circuit Switched Fallback, CSFB ) 。 现有技 术中, 3GPP 23.272协议定义了终端执行 CSFB操作的流程, 以标准 CSFB组网架 构为例, 传输消息装置接收归属位置寄存器( Home Location Register, HLR ) 发送的 USSD请求消息后, 下发寻呼消息 Paging至移动性管理实体 (Mobility Management Entity ,ΜΜΕ) , MME收到该寻呼消息后, 通过演进的基站( Evolved Node Β,Ε-NodeB )通知终端进行电路域回落, 在终端完成了电路域回落后, 传 输消息装置、 HLR、 MME和终端完成后续的 USSD业务流程。 Since the current USSD service is initiated based on the GSM network, there is no corresponding transmission mechanism under the Long Term Evolution (LTE) network. Therefore, the USSD service needs to evolve from the Universal Mobile Telecommunications System. , UMTS) Evolved UMTS Territorial Radio Access Network (E-UTRAN) returns GSM EDGE Radio Access Network (GERAN) /UMTS Territorial Radio Access Network (UTRAN), this method is called Circuit Switched Fallback (CSFB). In the prior art, the 3GPP 23.272 protocol defines a procedure for a terminal to perform a CSFB operation. Taking a standard CSFB networking architecture as an example, the transmitting message device receives the USSD request message sent by the Home Location Register (HLR), and then sends the search. The call message is advertised to the mobility management entity (Mobility Management Entity, ΜΜΕ). After receiving the paging message, the MME notifies the terminal to perform circuit domain fallback through the evolved base station (Evolved Node Β, Ε-NodeB), and completes the circuit at the terminal. After the domain falls back, the transmission message device, the HLR, the MME, and the terminal complete the subsequent USSD service flow.
在终端驻留在 LTE网络时, 消息通过 USSD业务的方式进行传输, 而每一次 USSD业务流程都将触发 CSFB操作, 频繁的 USSD业务会导致 CSFB频繁发生, 而每一次的 CSFB操作都需要一定的时间, 虽然单次的 CSFB操作的时间较短,但 是 CSFB的频繁发生会产生较大的终端回落时延、 终端返回 LTE网络的时延以及 分组交换(Packet Switched, PS )业务中断等, 并且, 每一次的 CSFB操作会占 用空口资源, 在 CSFB操作完成后译放空口资源需要一定的时间, 频繁的 CSFB 操作会导致空口资源一直被 CSFB操作占用, 造成空口资源紧张。 发明内容  When the terminal resides on the LTE network, the message is transmitted through the USSD service. Each USSD service process will trigger the CSFB operation. Frequent USSD services will cause CSFB to occur frequently, and each CSFB operation needs a certain amount. Time, although the time of a single CSFB operation is short, the frequent occurrence of CSFB may result in a large terminal fallback delay, a delay of the terminal returning to the LTE network, and a packet switching (PS) service interruption, etc., and Each CSFB operation will occupy the air interface resources. It takes a certain time to translate the air interface resources after the CSFB operation is completed. Frequent CSFB operations will cause the air interface resources to be occupied by CSFB operations, resulting in tight air interface resources. Summary of the invention
有鉴于此, 本发明实施例提供了一种传输消息的方法及装置, 解决了终端 驻留在 LTE场景下频繁通过 USSD业务方式传输消息导致 CSFB频繁发生的问题, 能够减少通过 USSD业务方式传输消息需要回落到 CS域的次数, 从而降低因为 CSFB而导致的时延, 提高了 PS业务的稳定性, 减少了 CSFB对空口资源的占用。  In view of the above, the embodiments of the present invention provide a method and a device for transmitting a message, which solves the problem that the CSFB frequently occurs when the terminal is in the LTE scenario and the message is frequently transmitted through the USSD service mode, and the message can be transmitted through the USSD service mode. The number of times that it needs to fall back to the CS domain, thereby reducing the delay caused by CSFB, improving the stability of the PS service, and reducing the occupation of the air interface resources by the CSFB.
第一方面, 本发明实施例提供了一种传输消息的方法, 包括:  In a first aspect, an embodiment of the present invention provides a method for transmitting a message, including:
传输消息装置接收归属位置寄存器 HLR发送的非结构化补充业务数据 USSD通知消息, 所述 USSD通知消息中包含驻留在长期演进系统 LTE网络的 终端的标识;  The transport message device receives the unstructured supplementary service data USSD notification message sent by the home location register HLR, where the USSD notification message includes an identifier of the terminal that resides in the LTE network of the long term evolution system;
将所述 USSD通知消息转换为一条或多条短消息业务 SMS消息; 根据所述终端的标识, 向所述终端发送寻呼消息; Converting the USSD notification message into one or more short message service SMS messages; Sending a paging message to the terminal according to the identifier of the terminal;
在接收到所述终端发送的寻呼响应消息后, 通过 SGs接口向所述终端发送 所述 SMS消息。  After receiving the paging response message sent by the terminal, the SMS message is sent to the terminal through the SGs interface.
在第一方面的第一种可能的实现方式中,  In a first possible implementation of the first aspect,
所述 USSD通知消息中包含用于表示 USSD编码方式的参数和用于在所 述终端上显示的 USSD字符串,所述一条或多条 SMS消息包括编码方式的参 数及用户数据参数,  The USSD notification message includes a parameter for indicating a USSD coding mode and an USSD string for displaying on the terminal, where the one or more SMS messages include an encoding mode parameter and a user data parameter.
所述将所述 USSD通知消息进行解码, 并将所述解码后的 USSD通知消 息转换为一条或多条 SMS消息, 包括:  Decoding the USSD notification message, and converting the decoded USSD notification message into one or more SMS messages, including:
对所述 USSD通知消息进行解码, 获取所述用于表示 USSD编码方式的 参数及所述 USSD字符串;  Decoding the USSD notification message, and acquiring the parameter for indicating the USSD coding mode and the USSD string;
构建一条或多条 SMS消息,将所述用于表示 USSD编码方式的参数封装 进所述构建的 SMS消息的编码方式的参数中;  Constructing one or more SMS messages, and encapsulating the parameters for indicating the USSD coding mode into parameters of the coding mode of the constructed SMS message;
将所述 USSD字符串封装进所述构建的一条或多条 SMS消息的用户数据 参数中。  The USSD string is encapsulated into user data parameters of one or more SMS messages constructed.
结合在第一方面的第一种可能的实现方式,在第二种可能的实现方式中, 所述构建一条或多条 SMS 消息包括: 如果所述 USSD字符串长度大于 140字节且不大于 160字节, 所述传输消息装置构建两条 SMS消息;  In conjunction with the first possible implementation of the first aspect, in the second possible implementation, the constructing the one or more SMS messages includes: if the length of the USSD string is greater than 140 bytes and not greater than 160 Byte, the transport message device constructs two SMS messages;
所述将所述 USSD字符串封装进所述构建的 SMS消息的用户数据参数中 包括:  The encapsulating the USSD string into the user data parameter of the constructed SMS message includes:
将所述 USSD字符串拆分为长度均不大于 140字节的两部分 USSD字符 串, 分别将所述两部分 USSD字符串封装进所述构建的两条 SMS消息中。  The USSD string is split into two parts of USSD strings each having a length of no more than 140 bytes, and the two parts of the USSD string are respectively encapsulated into the two SMS messages constructed.
结合在第一方面的第一种可能的实现方式,在第三种可能的实现方式中, 所述构建一条或多条 SMS消息包括: 如果所述 USSD字符串长度不大于 140 字节, 所述传输消息装置构建一条 SMS消息。 第二方面, 本发明实施例提供一种传输消息装置, 包括: In conjunction with the first possible implementation of the first aspect, in a third possible implementation, the constructing the one or more SMS messages includes: if the length of the USSD string is not greater than 140 bytes, The transport message device constructs an SMS message. In a second aspect, an embodiment of the present invention provides a device for transmitting a message, including:
接收单元, 用于接收归属位置寄存器 HLR发送的非结构化补充业务数据 USSD消息, 所述 USSD消息中包含驻留在长期演进系统 LTE上的终端的标识; 转换单元, 用于在所述接收单元接收到所述 USSD通知消息后, 将所述 USSD通知消息转换为一条或多条短消息业务 SMS消息;  a receiving unit, configured to receive an unstructured supplementary service data USSD message sent by a home location register HLR, where the USSD message includes an identifier of a terminal residing on the Long Term Evolution (LTE) system; and a converting unit, configured to be in the receiving unit After receiving the USSD notification message, converting the USSD notification message into one or more short message service SMS messages;
发送单元, 用于根据所述接收单元接收的终端的标识, 向所述终端发送 寻呼消息;  a sending unit, configured to send, according to the identifier of the terminal received by the receiving unit, a paging message to the terminal;
所述接收单元,还用于在所述发送单元发送寻呼消息后,接收所述终端发送 的寻呼响应消息;  The receiving unit is further configured to: after the sending unit sends a paging message, receive a paging response message sent by the terminal;
所述发送单元, 还用于在所述接收单元接收到所述寻呼响应消息后, 通过 SGs接口向所述终端发送所述转换单元转换获得的一条或多条 SMS消息。  The sending unit is further configured to: after the receiving unit receives the paging response message, send, by using an SGs interface, one or more SMS messages obtained by the conversion unit by using the SGs interface.
在第二方面的第一种可能的实现方式中, 所述 USSD通知消息中包含用 于表示 USSD编码方式的参数和 USSD字符串, 所述一条或多条 SMS消息 包括编码方式的参数及用户数据参数, 所述转换单元包括:  In a first possible implementation manner of the second aspect, the USSD notification message includes a parameter for indicating a USSD coding mode and a USSD string, where the one or more SMS messages include parameters of the coding mode and user data. Parameters, the conversion unit includes:
获取单元, 用于将所述 USSD 通知消息进行解码, 获取所述用于表示 USSD编码方式的参数及所述用于在所述终端上显示的 USSD字符串;  An obtaining unit, configured to decode the USSD notification message, and obtain the parameter used to indicate the USSD encoding mode and the USSD string used for displaying on the terminal;
封装单元, 用于构建一条或多条 SMS消息, 将所述获取单元获取的所述 用于表示 USSD编码方式的参数及所述 USSD字符串将所述用于表示 USSD 编码方式的参数封装进所述构建的 SMS 消息的编码方式的参数中; 将所述 USSD字符串封装进所述构建的 SMS消息的用户数据参数中。  Encapsulating unit, configured to construct one or more SMS messages, and the parameters used to represent the USSD encoding mode and the USSD string obtained by the obtaining unit encapsulate the parameters used to represent the USSD encoding mode into the In the parameter of the encoding mode of the constructed SMS message; encapsulating the USSD string into the user data parameter of the constructed SMS message.
结合在第二方面的第一种可能的实现方式,在第二种可能的实现方式中, 封装单元构建一条或多条 SMS消息包括:如果所述 USSD字符串长度大 于 140字节且不大于 160字节, 所述封装单元构建两条 SMS消息,  In conjunction with the first possible implementation of the second aspect, in a second possible implementation, the encapsulating unit constructing one or more SMS messages includes: if the length of the USSD string is greater than 140 bytes and not greater than 160 Byte, the encapsulation unit constructs two SMS messages,
所述封装单元将所述 USSD字符串封装进所述构建的 SMS消息的用户数 据参数中包括:  The encapsulating unit encapsulates the USSD string into the user data parameter of the constructed SMS message, including:
将所述 USSD字符串拆分为长度均不大于 140字节的两部分 USSD字符 串,分别将所述两部分 USSD字符串封装进所述构建的两条 SMS消息的用户 数据参数中。 Split the USSD string into two parts of USSD characters each having a length of no more than 140 bytes. The string is encapsulated into the user data parameters of the two SMS messages constructed by the two parts.
结合在第二方面的第一种可能的实现方式,在第三种可能的实现方式中, 所述封装单元构建一条或多条 SMS消息包括:如果所述 USSD字符串长 度不大于 140字节, 所述封装单元构建一条 SMS消息。  In conjunction with the first possible implementation of the second aspect, in a third possible implementation, the encapsulating unit constructing one or more SMS messages includes: if the length of the USSD string is not greater than 140 bytes, The encapsulation unit constructs an SMS message.
本发明实施例提供的实现传输消息的方法及装置, 传输消息装置接收 HLR发送的 USSD通知消息, 将所述 USSD通知消息进行解码, 并将该解码 后的 USSD通知消息转换为一条或多条短消息业务 SMS消息, 并将该 SMS 消息发送至所述终端。由于传输消息装置将 USSD通知消息转化为 SMS消息, 通过 SMS over SGs的发送 SMS消息的方式不会引起 CSFB的发生, 故本发 明实施例解决了终端驻留在 LTE场景下频繁通过 USSD业务方式传输消息导 致 CSFB频繁发生的问题, 降低了终端回落的时延及终端返回 LTE网络的时 延, 提高了 PS业务的稳定性, 减少了空口资源的浪费。 附图说明  The method and device for implementing a transmission message provided by the embodiment of the present invention, the transmission message device receives the USSD notification message sent by the HLR, decodes the USSD notification message, and converts the decoded USSD notification message into one or more short messages. A message service SMS message, and the SMS message is sent to the terminal. The method for transmitting the SMS message by the SMS over SGs does not cause the CSFB to be generated. The embodiment of the present invention solves the problem that the terminal is frequently transmitted through the USSD service mode in the LTE scenario. The message causes frequent occurrence of CSFB, which reduces the delay of the terminal fallback and the delay of the terminal returning to the LTE network, improves the stability of the PS service, and reduces the waste of air interface resources. DRAWINGS
图 1 为本发明实施例应用环境的架构图;  FIG. 1 is a structural diagram of an application environment according to an embodiment of the present invention;
图 2为本发明实施例 1的流程图;  2 is a flowchart of Embodiment 1 of the present invention;
图 3为本发明实施例 2中的流程图;  Figure 3 is a flowchart of Embodiment 2 of the present invention;
图 4为本发明实施例 3中的装置组成图;  4 is a structural diagram of a device in Embodiment 3 of the present invention;
图 5为本发明实施例 3中的装置硬件架构图。 具体实施方式  Figure 5 is a block diagram showing the hardware architecture of the device in Embodiment 3 of the present invention. detailed description
图 1是本发明实施例的应用环境架构图, 如图 1所示, 该架构包括无线接 入网络( Radio Access Network, RAN )和核心网络( Core Network, CN ) 两部 分。 CN从逻辑上分为电路交换(Circuit Switched, CS )域和分组交换(Packet Switched, PS )域。 移动软交换中心 (Mobile Soft Switch Center, MSC )是 CS 域中的实体, 包括拜访地移动软交换中心 11 ( Visited MSC, VMSC )和关口移动 软交换中心 12 ( Gateway MSC, GMSC ), 其中, VMSC可以与计费系统等进行 信息交互, 并与归属地址寄存器 /归属用户服务器 HLR/HSS 13相互通信, 完成 基本的呼叫及消息传输。 在本发明实施例中, VMSC可以实现 CSFB的功能, 或采用专用的 CSFB 代理, 即 CSFB Proxy来实现 CSFB的功能。 在本发明实施 例中, 将 MSC (包括 VMSC和 GMSC )和 CSFB Proxy定义为传输消息装置。 VMSC与 MME通过 SGs接口相连,以实现 UMTS网络与 LTE网络的互联互通。 移动管理实体 MME14、 S-GW/P-GW15是 LTE网络中 PS域的实体, 在本发明 实施例的应用环境中, 终端驻留在 LTE网络下, USSD业务类型的消息从 HLR 发起, 经过传输消息装置处理之后, 通过 SGs接口下发至驻留在 LTE网络的终 端上, 该终端无需进行 CSFB操作就可以接收传输消息装置发送的消息。 FIG. 1 is a schematic diagram of an application environment architecture according to an embodiment of the present invention. As shown in FIG. 1 , the architecture includes a radio access network (RAN) and a core network (Core Network, CN). The CN is logically divided into a Circuit Switched (CS) domain and a Packet Switched (PS) domain. Mobile Soft Switch Center (MSC) is CS The entities in the domain, including the visited mobile switching center 11 (the visited MSC, VMSC) and the gateway mobile softswitching center 12 (Gateway MSC, GMSC), wherein the VMSC can exchange information with the charging system and the like, and the home address The register/home subscriber server HLR/HSS 13 communicate with each other to perform basic call and message transmission. In the embodiment of the present invention, the VMSC can implement the function of CSFB, or adopt a dedicated CSFB proxy, that is, CSFB Proxy to implement the function of CSFB. In an embodiment of the invention, the MSC (including the VMSC and GMSC) and the CSFB Proxy are defined as transport message devices. The VMSC and the MME are connected through an SGs interface to implement interconnection and interworking between the UMTS network and the LTE network. The mobility management entity MME14, S-GW/P-GW15 is an entity of the PS domain in the LTE network. In the application environment of the embodiment of the present invention, the terminal resides in the LTE network, and the message of the USSD service type is initiated by the HLR. After being processed by the message device, the SGs interface is delivered to the terminal residing on the LTE network, and the terminal can receive the message sent by the transmission message device without performing CSFB operation.
由网络侧发起的 US SD消息可以分为两种: US SD请求消息和 US SD通 知消息。 USSD请求消息需要终端用户进行交互; USSD 通知消息不需要终 端用户交互, 属于终端的被动接收。  The US SD messages initiated by the network side can be divided into two types: US SD request message and US SD notification message. The USSD request message requires the end user to interact; the USSD notification message does not require terminal user interaction and belongs to the passive reception of the terminal.
本发明实施例中的 USSD通知消息用于提供一种及时性交互的消息, 特 点是"面向会话", 即当一个会话连接建立起来之后, 建立起来的会话将保持 直至手机用户或应用任一方释放该会话连接。  The USSD notification message in the embodiment of the present invention is used to provide a timely interaction message, which is characterized by "session-oriented", that is, when a session connection is established, the established session will remain until the mobile phone user or the application is released. The session is connected.
USSD 消息与 SMS 消息相比, 支持的编码方式是一样的, 均支持 7BIT ,8BIT ,UCS2三种模式。 其区别在于: USSD消息是面向连接的, 即时交 互性较好, 但并不支持存储转发, 而 SMS消息在物理承载层没有会话通道, 只是一个存储转发系统; USSD消息中包含 USSD字符串, 该 USSD字符串 是真正展现给用户的实际内容, 最大长度为 160字节, 而 SMS消息最大长度 为 140 字节; 在 USSD 字符串剩余 7 个填充 bit 位时, 则 USSD 会使 用,,0001101"即 "回车 "来填充, 而不是用" 0000000",避免接收端将 "0000000" 理解为字符串" @"。 SMS消息的填充没有此要求。  Compared with SMS messages, USSD messages support the same encoding method, and support 7BIT, 8BIT, and UCS2 modes. The difference is that the USSD message is connection-oriented and has good interactivity, but does not support store-and-forward. The SMS message has no session channel on the physical bearer layer. It is only a store-and-forward system. The USSD message contains the USSD string. The USSD string is the actual content that is actually presented to the user. The maximum length is 160 bytes, and the maximum length of the SMS message is 140 bytes. When the remaining 7 padding bits of the USSD string are used, USSD will use 0001101. "Enter" to fill, instead of "0000000", to prevent the receiver from interpreting "0000000" as the string "@". The filling of SMS messages does not have this requirement.
上述本发明实施例揭示的方法可以中央处理器中, 或者说由中央处理器 以实现。 中央处理器可能是一种集成电路芯片, 具有信号的处理能力。 在实 现过程中, 上述方法的各步骤可以通过中央处理器中的硬件的集成逻辑电路 或者软件形式的指令完成。 用于执行本发明实施例揭示的方法, 上述的中央 处理器可以是通用处理器、数字信号处理器(DSP )、专用集成电路(ASIC ) 、 现成可编程门阵列 (FPGA ) 或者其他可编程逻辑器件、 分立门或者晶体管 法、 步骤及逻辑框图。 通用处理器可以是微处理器或者该处理器也可以是任 何常规的处理器等。 结合本发明实施例所公开的方法的步骤可以直接体现为 硬件处理器执行完成, 或者用处理器中的硬件及软件模块组合执行完成。软 件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电 可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于 存储器, 中央处理器读取存储器中的信息, 结合其硬件完成上述方法的步骤。 实施例一: The method disclosed in the foregoing embodiments of the present invention may be implemented in a central processing unit, or by a central processing unit. To achieve. The central processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in a central processing unit or an instruction in a form of software. For performing the method disclosed in the embodiments of the present invention, the foregoing central processing unit may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic. Device, discrete gate or transistor method, step and logic block diagram. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory, and the central processor reads the information in the memory, and combines the hardware to complete the steps of the foregoing method. Embodiment 1:
如图 2所示, 本发明实施例中对 USSD消息进行传播的流程如下: As shown in FIG. 2, the process of propagating the USSD message in the embodiment of the present invention is as follows:
5101、 电路域回落传输消息装置接收归属位置寄存器 HLR发送的非结构化 补充业务数据 USSD通知消息, 所述 USSD通知消息中包含驻留在长期演进系 统 LTE上的终端的标识; 5101. The circuit domain fallback transmission message device receives the unstructured supplementary service data sent by the home location register, the USSD notification message, where the USSD notification message includes an identifier of the terminal that resides on the LTE-LTE system.
需要说明的是, 本发明实施例的应用场景为终端驻留在 LTE上的场景, 传 输消息装置包括移动交换中心 MSC或 CSFB Proxy。 USSD通知消息中包含的终 端的标识, 可以是国际移动用户识别码 IMSI, 该标识用于确定待接收消息的终 端。  It should be noted that the application scenario of the embodiment of the present invention is a scenario in which the terminal resides on the LTE, and the transmission message device includes a mobile switching center MSC or a CSFB Proxy. The identifier of the terminal included in the USSD notification message may be an International Mobile Subscriber Identity (IMSI), which is used to determine the terminal of the message to be received.
5102、 将所述 USSD通知消息转换为一条或多条短消息业务 SMS消息; 在本发明实施例中, USSD通知消息中包含用于表示 USSD编码方式的 参数和 USSD 字符串。 将所述解码后的 USSD 通知消息转换为一条或多条 SMS消息, 具体如下: 传输消息装置将 USSD通知消息进行解码, 并获取用于表示 USSD编码 方式 ( USSD Data Coding Scheme ) 的参数及所述 USSD字符串; 5102. Convert the USSD notification message into one or more short message service SMS messages. In the embodiment of the present invention, the USSD notification message includes a parameter for indicating the USSD coding mode and a USSD string. Converting the decoded USSD notification message into one or more SMS messages, as follows: Transmitting the message device to decode the USSD notification message, and obtaining a parameter indicating the USSD Data Coding Scheme and the USSD string;
获取到该参数及字符串之后, 传输消息装置构建一条或多条 SMS消息, 构建方式可以按照 3GPP 23.038协议的标准 SMS消息格式来构建,这里不再 累述。 构建之后, 将所述用于表示 USSD编码方式的参数及所述 USSD字符 串封装进所述构建的一条或多条 SMS消息中, 该构建的一条或多条 SMS消 息即为待发送至所述终端的 SMS消息。  After obtaining the parameter and the string, the transmission message device constructs one or more SMS messages, and the construction manner can be constructed according to the standard SMS message format of the 3GPP 23.038 protocol, which is not described here. After the constructing, the parameter for indicating the USSD encoding mode and the USSD string are encapsulated into one or more SMS messages of the construct, and the one or more SMS messages that are configured are to be sent to the The SMS message of the terminal.
需要说明的是, 由于 SMS消息的最大长度为 140字节, 故当所述 USSD 字符串长度不大于 140字节时,所述传输消息装置可以只构建一条 SMS消息。 而当所述 USSD字符串长度大于 140字节时, 所述传输消息装置则可以构建 至少两条 SMS消息; 在本发明的一个实施例中, USSD字符串的长度不会超 过 160字节, 因此当 USSD字符串长度大于 140字节时, 可以构建两条 SMS 消息, 此时, 传输消息装置将所述用于表示 USSD 编码方式的参数及所述 USSD字符串封装进所述构建的一条或多条 SMS消息中, 具体为:  It should be noted that, since the maximum length of the SMS message is 140 bytes, when the length of the USSD string is not more than 140 bytes, the transport message device can construct only one SMS message. When the length of the USSD string is greater than 140 bytes, the transport message device may construct at least two SMS messages; in one embodiment of the present invention, the length of the USSD string does not exceed 160 bytes, When the length of the USSD string is greater than 140 bytes, two SMS messages can be constructed. At this time, the transport message device encapsulates the parameter for indicating the USSD encoding mode and the USSD string into one or more of the constructs. In the SMS message, the specific is:
传输消息装置将所述用于标识 USSD编码方式的参数依次封装进所述构 建的两条 SMS消息中, 即, 传输消息装置构建了两条 SMS消息, 不仅要将 该参数封装进第一条 SMS消息, 还要将该参数封装进第二条 SMS消息。 传 输消息装置将所述 USSD 字符串拆分为长度均不大于 140 字节的两部分 USSD字符串, 分别将所述两部分 USSD字符串封装进所述构建的两条 SMS 消息中。 例如, USSD字符串为 150字节长度, 传输消息装置可以按照预设 定的格式, 将该 USSD字符串拆为两部分, 第一部分为 140字节, 第二部分 为 10字节, 将第一部分封装进第一条构建的 SMS消息, 第二部分封装进第 二条构建的 SMS消息。需要说明的是,该封装的步骤并没有严格的时序关系, 可以是同时封装用于标识 USSD编码方式的参数及两部分 USSD字符串进两 条 SMS消息, 也可以是一先一后进行封装。  The transport message device sequentially encapsulates the parameters for identifying the USSD encoding mode into the two SMS messages constructed, that is, the transport message device constructs two SMS messages, and not only encapsulates the parameter into the first SMS message. The message is also encapsulated into a second SMS message. The messaging device splits the USSD string into two partial USSD strings each having a length of no more than 140 bytes, and respectively encapsulating the two partial USSD strings into the two SMS messages constructed. For example, the USSD string is 150 bytes long, and the transmission message device can split the USSD string into two parts according to a preset format, the first part is 140 bytes, the second part is 10 bytes, and the first part is Encapsulated into the first constructed SMS message, the second part is encapsulated into the second constructed SMS message. It should be noted that the step of the encapsulation does not have a strict timing relationship. The parameters for identifying the USSD encoding mode and the two parts of the USSD string may be encapsulated into two SMS messages, or may be encapsulated one after another.
S103、 根据所述终端的标识, 向所述终端发送寻呼消息; 需要说明的是, 该寻呼消息由传输消息装置构建而成, 并且, 该寻呼消息 包含寻呼类型的标识, 该标识具体为 SMS指示 (SMS indicator), 表明该寻呼类 型为 SMS类型。 S103. Send a paging message to the terminal according to the identifier of the terminal. It should be noted that the paging message is constructed by the transmission message device, and the paging message includes an identifier of the paging type, and the identifier is specifically an SMS indicator, indicating that the paging type is an SMS type.
S104、 在接收到所述终端发送的寻呼响应消息后, 通过 SGs接口向所述终 端发送所述一条或多条 SMS消息。  S104. After receiving the paging response message sent by the terminal, send the one or more SMS messages to the terminal by using an SGs interface.
在收到终端发送的寻呼响应消息后, 传输消息装置通过 SGs接口 (SMS over SGs ) 向终端发送所述一条或多条 SMS消息。 SGs接口是传输消息装置 与 MME之间进行通信的一个接口 , 3GPP 23.272协议定义了具体如何采用 SMS over SGs的方式发送 SMS消息至终端, 这里不再累述。 需要说明的是, SMS over SGs是一种将 GERAN/UTRAN上的 SMS消息发送至驻留在 LTE 网络上的终端的方式, 不会导致该驻留在 LTE网络的终端进行 CSFB回落。  After receiving the paging response message sent by the terminal, the transmission message device sends the one or more SMS messages to the terminal through the SGs interface (SMS over SGs). The SGs interface is an interface for transmitting communication between the message device and the MME. The 3GPP 23.272 protocol defines how to send SMS messages to the terminal in the manner of SMS over SGs, which is not described here. It should be noted that the SMS over SGs is a way to send the SMS message on the GERAN/UTRAN to the terminal camping on the LTE network, and does not cause the CSFB to fall back to the terminal camping on the LTE network.
需要说明的是, 当所述一条或多条 SMS短消息发送成功时, 所述传输消 息装置发送 USSD通知成功响应消息至所述 HLR, 或, 若在发送过程中由于 系统故障, 或者传输过程中噪声的干扰造成数据的丟失或错误, 导致终端接 收到的 SMS消息错误, 当终端接收到的 SMS消息是两条时, 只要其中任一 条 SMS消息错误则终端判断本次 SMS消息发送失败, 此时, 终端返回一条 SMS消息错误报告至传输消息装置; 当终端接收到的 SMS消息是一条时, 若该 SMS消息错误,则终端判断本次 SMS消息发送失败,同样返回一条 SMS 消息错误报告至传输消息装置,传输消息装置收到 SMS消息错误报告后, 判 断所述一条或多条 SMS 短消息中的任一条发送失败, 则传输消息装置发送 USSD通知失败响应消息至所述 HLR。  It should be noted that, when the one or more SMS short messages are successfully sent, the transmission message device sends a USSD notification success response message to the HLR, or, if the system is faulty during transmission, or during transmission The noise caused by the noise causes the data to be lost or incorrect. The SMS message received by the terminal is incorrect. When the SMS message received by the terminal is two, the terminal determines that the SMS message failed to be sent as long as any one of the SMS messages is incorrect. The terminal returns an SMS message error report to the transmission message device; when the SMS message received by the terminal is one, if the SMS message is incorrect, the terminal determines that the SMS message is failed to be sent, and also returns an SMS message error report to the transmission message. The device, after receiving the SMS message error report, determines that any one of the one or more SMS short messages fails to be sent, and the transmitting message device sends a USSD notification failure response message to the HLR.
本发明实施例所提供的方法, 传输消息装置接收 HLR发送的 USSD通知 消息, 将所述 USSD通知消息进行解码, 并将该解码后的 USSD通知消息转 换为一条或多条短消息业务 SMS消息, 并通过 SGs接口向所述终端发送该 一条或多条 SMS消息。 由于传输消息装置将 USSD通知消息转化为 SMS消 息, 通过 SMS over SGs的发送 SMS消息的方式不会引起 CSFB的发生, 故 本发明实施例解决了通过 USSD业务方式传输消息导致 CSFB频繁发生的问 题, 降低了终端回落的时延及终端返回 LTE网络的时延, 提高了 PS业务的 稳定性, 减少了空口资源的浪费。 实施例二: According to the method provided by the embodiment of the present invention, the transmission message device receives the USSD notification message sent by the HLR, decodes the USSD notification message, and converts the decoded USSD notification message into one or more short message service SMS messages. And sending the one or more SMS messages to the terminal through the SGs interface. Since the transmission message device converts the USSD notification message into an SMS message, the way of sending the SMS message through the SMS over SGs does not cause CSFB to occur, so The embodiment of the invention solves the problem that the CSFB frequently occurs when the message is transmitted through the USSD service mode, reduces the delay of the terminal falling back and the delay of the terminal returning to the LTE network, improves the stability of the PS service, and reduces the waste of the air interface resource. Embodiment 2:
图 3是本发明实施例的流程图, 如图 3所示, 本发明实施例流程如下: FIG. 3 is a flowchart of an embodiment of the present invention. As shown in FIG. 3, the process of the embodiment of the present invention is as follows:
5201、 传输消息装置接收 HLR发送的 USSD消息; S201: The transmitting message device receives the USSD message sent by the HLR.
本发明实施例可以同时用于标准 CSFB的场景以及 CSFB Proxy组网的场 景, 在标准 CSFB的场景中, 传输消息装置为支持 CSFB功能的 VMSC, 而 在 CSFB Proxy组网的场景中, 传输消息装置为 CSFB Proxy。  The embodiment of the present invention can be used in both the standard CSFB scenario and the CSFB Proxy networking scenario. In the standard CSFB scenario, the message device is a VMSC supporting the CSFB function, and in the CSFB Proxy networking scenario, the message device is transmitted. For CSFB Proxy.
传输消息装置接收 HLR发送的 USSD消息, 并对该 USSD消息进行识 别, 其识别方式可以是解析出该 USSD消息中的用于表示该 USSD消息类型 的标识, 通过该标识可以识别出该 USSD消息是 USSD通知消息。 该通知消 息中包含驻留在 LTE网络的终端的标识, 该标识在本发明实施例中, 可以为 国际移动用户识别码 ( International Mobile Subscriber Identity, IMSI ) 。 传输 消息装置可以根据该标识将消息送达至该标识对应的终端上。  The transmitting message device receives the USSD message sent by the HLR, and identifies the USSD message by identifying the identifier of the USSD message in the USSD message, and the identifier can identify that the USSD message is USSD notification message. The notification message includes an identifier of a terminal that resides in the LTE network, and the identifier may be an International Mobile Subscriber Identity (IMSI) in the embodiment of the present invention. The transmitting message device can deliver the message to the terminal corresponding to the identifier according to the identifier.
5202、 将 USSD通知消息转换为 SMS消息; 5202. Convert the USSD notification message into an SMS message.
USSD 通知消息由多个参数信息按照特定的格式编码而成。 其中, 参数 信息包括但不限于: USSD版本信息、 USSD操作类型、 USSD编码方式( USSD Code Scheme )和 USSD字符串内容 (USSD String)。 USSD的操作类型是通知 类型, 包括请求、 通知、 会话响应及会话译放。 在本发明实施例中, USSD 的操作类型为通知类。 USSD编码方式决定了 USSD字符串的编码格式, 包 括 7位编码、 8位编码及 2字节通用字符集 (2-byte Universal Character Set , UCS2)编码。 USSD字符串是最终显示给用户的实质性内容, 最大长度为 160 字节。 3 GPP 23.272协议定义了, 在终端驻留在 LTE网络时, 对于 SMS消息 , 不需要 CSFB回落, 而是采用基于 SGs接口发送 SMS消息 ( SMS over SGs ) 方式, 即通过 SGs接口传输 SMS消息至 LTE网络下的终端。 并且, SMS消 息的编码方式与 USSD的编码方式是一样的, 即 SMS消息也支持 7位编码、 8位编码及 UCS2编码, 则本发明实施例中, 不需要转换 USSD与 SMS消息 的编码方式即可实现双方的转换。 下面介绍一下具体的转换过程: The USSD notification message is encoded by a plurality of parameter information in a specific format. The parameter information includes but is not limited to: USSD version information, USSD operation type, USSD code scheme (USSD Code Scheme), and USSD string content (USSD String). The USSD operation type is a notification type, including request, notification, session response, and session translation. In the embodiment of the present invention, the operation type of the USSD is a notification class. The USSD encoding method determines the encoding format of the USSD string, including 7-bit encoding, 8-bit encoding, and 2-byte Universal Character Set (UCS2) encoding. The USSD string is the final content that is ultimately displayed to the user, with a maximum length of 160 bytes. 3 GPP 23.272 protocol defines that when the terminal resides in the LTE network, for the SMS message, the CSFB is not required to fall back, but the SMS message is sent based on the SGs interface (SMS over SGs), that is, the SMS message is transmitted to the LTE through the SGs interface. Terminal under the network. In addition, the coding manner of the SMS message is the same as that of the USSD, that is, the SMS message also supports the 7-bit coding, the 8-bit coding, and the UCS2 coding. In the embodiment of the present invention, the coding mode of the USSD and the SMS message is not required to be converted. Both conversions can be achieved. The following describes the specific conversion process:
传输消息装置收到 USSD通知消息后, 将 USSD通知消息进行解码, 获取 USSD通知消息中的用于表示 USSD编码方式的参数 (USSD Data Coding Scheme ) 和 USSD字符串。 具体的解码过程可以是根据上面所述的按照特定 格式进行编码的 USSD通知消息进行逆编码, 这里不再累述。 如果 USSD字符 串的长度大于 140字节, 则传输消息装置对 US SD字符串内容拆分为长度均不 高于 140字节的两部分, 分别封装到两个 SMS消息中。 若 USSD的字符串长度 不大于 140字节, 则只需封装在一个 SMS消息中。 SMS消息由传输消息装置构 建而成, 且可以在接收到 USSD通知消息之后, 根据解码获得的 USSD字符串 长度决定需要构建的 SMS消息的数目。 本发明实施例对其按照什么样的规则 进行拆分与封装并无限制, 例如, 该 USSD字符串为 150字节, 则可以拆分为 第一部分为 140字节, 第二部分为 10字节, 分别封装进两个 SMS消息的传输协 议数据单元 ( Transport Protocol Data Unit,TPDU ) 中。 具体的封装进 SMS消 息的格式如表 1所述:  After receiving the USSD notification message, the transmitting message device decodes the USSD notification message to obtain the USSD Data Coding Scheme and the USSD string in the USSD notification message. The specific decoding process may be inverse coding according to the USSD notification message encoded according to the specific format described above, and is not described here. If the length of the USSD string is greater than 140 bytes, the transport message device splits the contents of the US SD string into two parts that are not longer than 140 bytes, and are respectively encapsulated into two SMS messages. If the length of the USSD string is not more than 140 bytes, it is only encapsulated in an SMS message. The SMS message is constructed by the transport message device, and after receiving the USSD notification message, the number of SMS messages to be constructed is determined according to the length of the USSD string obtained by the decoding. The embodiment of the present invention has no limitation on what kind of rules to be split and encapsulated. For example, if the USSD string is 150 bytes, it can be split into 140 bytes in the first part and 10 bytes in the second part. , respectively encapsulated into the Transport Protocol Data Unit (TPDU) of two SMS messages. The format of the specific package into the SMS message is as described in Table 1:
表 1
Figure imgf000014_0001
Table 1
Figure imgf000014_0001
由表 1可以看出,传输消息装置需要将 USSD通知消息中的 USSD编码方式参 数及 USSD字符串封装进相应的 SMS参数中。 传输消息装置通过对 USSD通知消 息进行解码, 获取到用于表示 USSD编码方式( USSD Data Coding Scheme )的参 数及 USSD字符串, 并按照表 1的格式分别封装进 SMS消息中的 TP-DCS和 TP-UD 参数中。  As can be seen from Table 1, the transport message device needs to encapsulate the USSD encoding mode parameter and the USSD string in the USSD notification message into the corresponding SMS parameters. The transmission message device decodes the USSD notification message, obtains parameters and USSD strings for indicating the USSD Data Coding Scheme, and encapsulates the TP-DCS and TP in the SMS message according to the format of Table 1. - in the UD parameter.
将 USSD通知消息转换为 SMS消息, 并通过 SMS over SGs的方式发送 SMS消 息至终端, 避免了终端需要 CSFB回落造成回落时延、 返回 LTE网络的时延、 分 组交换业务中断以及占用空口资源等问题。  The USSD notification message is converted into an SMS message, and the SMS message is sent to the terminal by means of the SMS over SGs, which avoids the problem that the terminal needs the CSFB to fall back, causing the fallback delay, the delay of returning to the LTE network, the interruption of the packet switching service, and the occupation of air interface resources. .
S203、 传输消息装置下发寻呼消息 Paging至 MME;  S203. The transmitting message device sends a paging message to the MME.
CSFB 服务器完成 SMS 消息的构造与封装后, 下发寻呼 Paging 消息 Paging至 MME。 该寻呼消息中包含一个名为业务指示码 ( Service indicator ) 的参数, 传输消息装置将该参数值设置为 2, 表示是 SMS 消息类型 (SMS 消息 indicator) , 即该寻呼消息为 SMS 消息而非语音寻呼消息 ( CS call indicator ) 。 After the CSFB server completes the construction and encapsulation of the SMS message, the paging Paging message is sent to the MME. The paging message includes a parameter named a service indicator, and the transmission message device sets the parameter value to 2, indicating that it is an SMS message type (SMS message indicator), that is, the paging message is an SMS message. Non-voice page message ( CS call Indicator ).
5204、 MME透发寻呼消息至终端;  5204. The MME transparently sends a paging message to the terminal.
MME收到传输消息装置发送的寻呼消息之后, 透发该寻呼消息至终端。 需要说明的是, 传输消息装置下发的该寻呼消息中包含终端的标识, MME才艮据该标识透发该寻呼消息至该标识对应的终端。  After receiving the paging message sent by the message transmitting device, the MME transparently transmits the paging message to the terminal. It should be noted that the paging message sent by the transmission message device includes the identifier of the terminal, and the MME transparently transmits the paging message to the terminal corresponding to the identifier according to the identifier.
5205、 终端上 ^艮服务请求消息至 MME;  5205. The service request message is sent to the MME on the terminal.
终端在收到 MME下发的寻呼消息之后,从寻呼消息中业务指示码这一参 数确定所述寻呼消息的类型为 SMS消息类型 ,构建一条服务请求消息( Service Request Message )作为寻呼响应消息, 并发送服务请求消息至 MME, 而不用 进行 CSFB回落。  After receiving the paging message sent by the MME, the terminal determines, according to the parameter of the service indication code in the paging message, that the type of the paging message is an SMS message type, and constructs a service request message as a paging. The message is sent, and the service request message is sent to the MME without CSFB fallback.
需要说明的是, 如果寻呼消息中业务指示码为 CS call indicator, 则终端 会构建一条扩展服务请求消息 (Extended Service Request Message ) ,并发送 该扩展服务请求消息至 MME, 由 MME转发该扩展服务请求消息至传输消息 装置, 此时传输消息装置收到该扩展服务请求消息后, 会触发终端进行相应 的 CSFB操作。  It should be noted that, if the service indicator code in the paging message is a CS call indicator, the terminal constructs an extended service request message (Extended Service Request Message), and sends the extended service request message to the MME, and the MME forwards the extended service. The request message is sent to the message device. At this time, after the message device receives the extended service request message, the terminal triggers the terminal to perform the corresponding CSFB operation.
5206、 MME透发服务请求消息至传输消息装置;  5206. The MME transmits a service request message to the transmission message device.
MME收到该服务请求消息后, 透发该服务请求消息至传输消息装置。 S207、 传输消息装置发送 SMS消息至 MME;  After receiving the service request message, the MME transparently transmits the service request message to the transmission message device. S207. The transmission message device sends an SMS message to the MME.
传输消息装置在收到该服务请求消息后, 根据该服务请求消息发送 SMS 消息至 MME ,该 SMS消息可以包含在 SMS over SGs标准流程中的下行单位数 据消息 ( downlink unitdata message ) 中。  After receiving the service request message, the transport message device sends an SMS message to the MME according to the service request message, and the SMS message may be included in a downlink unit data message in the SMS over SGs standard flow.
需要说明的是, 传输消息装置收到该服务请求消息后, 判断终端处于空 闲态, 并可以接收 SMS消息, 则通过 SMS over SGs的方式下发该 SMS消息至 终端。 S208、 MME发送非接入层 NAS消息至终端;  It should be noted that, after receiving the service request message, the transmitting message device determines that the terminal is in an idle state and can receive the SMS message, and then sends the SMS message to the terminal by means of SMS over SGs. S208. The MME sends a non-access stratum NAS message to the terminal.
MME封装 SMS消息进 NAS消息中, 并发送该 NAS消息至终端。  The MME encapsulates the SMS message into the NAS message and sends the NAS message to the terminal.
S209、 终端发送递送才艮告 ( delivery report ) 至 MME; 终端接收到封装了 SMS消息的 NAS消息后, 发送递送报告至 MME, 表明 已收到该 SMS消息。 S209. The terminal sends a delivery report to the MME. After receiving the NAS message encapsulating the SMS message, the terminal sends a delivery report to the MME, indicating that the SMS message has been received.
S210、 MME透发给该递送报告至传输消息装置;  S210. The MME transparently sends the delivery report to the transmission message device.
S211、 传输消息装置发送 USSD通知响应消息至 HLR;  S211. The transmission message device sends a USSD notification response message to the HLR.
在接收到该递交报告后,向 HLR发送 USSD通知响应消息。需要说明的是, 若 US SD通知消息转换的 SMS消息为 1条, 则发送该 SMS消息成功时, US SD通知 响应消息为 USSD成功响应消息,反之,则为 USSD失败响应消息;或者,若 USSD 通知消息转换的 SMS消息为 2条, 则需只有这 2条的 SMS消息均下发成功才能表 示该 USSD通知消息的实际内容已传播。 若在发送过程中由于系统故障, 或者传 输过程中噪声的干扰造成数据的丟失或错误, 导致终端接收到的 SMS消息错误, 当终端接收到的 SMS消息是两条时, 只要其中任一条 SMS消息错误则终端判断 本次 SMS消息发送失败, 此时, 终端返回一条 SMS消息错误报告至传输消息装 置; 当终端接收到的 SMS消息是一条时, 若该 SMS消息错误, 则终端判断本次 SMS消息发送失败, 同样返回一条 SMS消息错误报告至传输消息装置, 传输消 息装置收到 SMS消息错误报告后, 判断所述一条或多条 SMS短消息中的任一条 发送失败, 则传输消息装置发送 USSD失败响应消息至 HLR, 反之, 传输消息装 置判断 SMS消息发送成功, 则发送 USSD成功响应消息至 HLR。  After receiving the delivery report, the USSD notification response message is sent to the HLR. It should be noted that if the SMS message translated by the US SD notification message is one, when the SMS message is successfully sent, the US SD notification response message is a USSD success response message, and vice versa, a USSD failure response message; or, if USSD If the SMS message of the notification message is changed to 2, only the SMS messages of the two messages are sent successfully to indicate that the actual content of the USSD notification message has been transmitted. If the data is lost or incorrect due to system failure or noise during transmission, the SMS message received by the terminal is incorrect. When the SMS message received by the terminal is two, only one of the SMS messages is received. If the error is made, the terminal determines that the SMS message has failed to be sent. At this time, the terminal returns an SMS message error report to the transmission message device. When the SMS message received by the terminal is one, if the SMS message is incorrect, the terminal determines the current SMS message. The transmission fails, and an SMS message error report is also returned to the transmission message device. After the transmission message device receives the SMS message error report, it is determined that any one of the one or more SMS short messages fails to be sent, and the transmission message device fails to send the USSD. The response message is sent to the HLR. Conversely, if the transmission message device determines that the SMS message is successfully sent, the USSD success response message is sent to the HLR.
S212、 传输消息装置完成后续的释放连接过程。  S212. The transmission message device completes a subsequent release connection process.
传输消息装置将递送报告确认消息发送至 MME, 由 MME转发该确认消 息至终端,此外,传输消息装置还发送译放请求消息至 MME,译放本次连接。  The transport message device sends a delivery report acknowledgement message to the MME, and the MME forwards the acknowledgement message to the terminal. In addition, the transport message device also sends a release request message to the MME to release the current connection.
本发明实施例提供的方法,传输消息装置接收归属位置寄存器 HLR发送 的非结构化补充业务 USSD通知消息,将所述 USSD消息转化为一条或多条 SMS 消息, 并发送所述一条或多条短消息至所述终端, 完成消息的传播。 由于传输 消息装置将 USSD通知消息转化为 SMS消息,通过 SMS over SGs的发送 SMS 消息的方式不会引起 CSFB的发生, 故本发明实施例解决了通过 USSD业务 方式传输消息导致 CSFB频繁发生的问题, 降低了终端回落的时延及终端返 回 LTE网络的时延, 提高了 PS业务的稳定性, 减少了空口资源的浪费。 According to the method provided by the embodiment of the present invention, the transport message device receives the unstructured supplementary service USSD notification message sent by the home location register HLR, converts the USSD message into one or more SMS messages, and sends the one or more short messages. The message is sent to the terminal to complete the propagation of the message. The method for transmitting the SMS message by the SMS over SGs does not cause the CSFB to be generated. The embodiment of the present invention solves the problem that the CSFB frequently occurs when the message is transmitted through the USSD service mode. Reduce the delay of terminal fallback and terminal return The delay of returning to the LTE network improves the stability of the PS service and reduces the waste of air interface resources.
实施例三: Embodiment 3:
图 4是传输消息装置的组成结构图, 如图 4所示, 包括:  4 is a structural diagram of a device for transmitting a message, as shown in FIG. 4, including:
接收单元 301 , 用于接收归属位置寄存器 HLR发送的非结构化补充业务数 据 USSD通知消息, 所述 USSD通知消息中包含驻留在长期演进系统 LTE上的 终端的标识;  The receiving unit 301 is configured to receive an unstructured supplementary service data USSD notification message sent by the home location register HLR, where the USSD notification message includes an identifier of a terminal that resides on the Long Term Evolution (LTE) system;
需要说明的是, 本发明实施例的应用场景为终端驻留在 LTE上的场景, 传 输消息装置可以为移动交换中心 MSC或 CSFB代理 Proxy。 USSD通知消息中 包含的终端的标识, 可以是国际移动用户识别码 IMSI, 该标识用于确定待接收 消息的终端。  It should be noted that the application scenario of the embodiment of the present invention is a scenario in which the terminal resides on the LTE, and the transmission message device may be a mobile switching center MSC or a CSFB proxy proxy. The identifier of the terminal included in the USSD notification message may be an International Mobile Subscriber Identity (IMSI), which is used to determine the terminal to receive the message.
转换单元 302, 用于在所述接收单元 301接收 USSD通知消息之后, 将 所述 USSD通知消息转换为一条或多条短消息业务 SMS消息;在本发明实施 例中, USSD通知消息中包含用于表示 USSD编码方式的参数和 USSD字符 串。 在后, 转换单元 302将该 USSD转换为一条或多条 SMS消息。 所述转换 单元 302具体包括获取单元及封装单元, 其中,  The converting unit 302 is configured to: after the receiving unit 301 receives the USSD notification message, convert the USSD notification message into one or more short message service SMS messages; in the embodiment of the present invention, the USSD notification message includes Indicates the USSD encoding mode parameters and USSD string. Thereafter, the converting unit 302 converts the USSD into one or more SMS messages. The conversion unit 302 specifically includes an obtaining unit and a packaging unit, where
获取单元将 USSD通知消息进行解码, 并获取用于表示 USSD编码方式 ( USSD Data Coding Scheme )的参数及所述 USSD字符串。 在获取单元获取 到该参数及字符串之后,封装单元构建一条或多条 SMS消息,构建方式可以 按照 3GPP 23.038协议的标准 SMS消息格式来构建, 这里不再累述。 封装单 元构建之后, 将所述用于表示 USSD编码方式的参数及所述 USSD字符串封 装进所述构建的一条或多条 SMS消息中, 该构建的一条或多条 SMS消息即 为待发送至所述终端的 SMS消息。  The obtaining unit decodes the USSD notification message, and obtains a parameter indicating the USSD Data Coding Scheme and the USSD string. After the obtaining unit obtains the parameter and the string, the encapsulating unit constructs one or more SMS messages, and the construction manner can be constructed according to the standard SMS message format of the 3GPP 23.038 protocol, which is not described here. After the encapsulation unit is constructed, the parameter for indicating the USSD coding mode and the USSD string are encapsulated into the one or more SMS messages that are configured, and the one or more SMS messages that are configured are to be sent to The SMS message of the terminal.
需要说明的是, 由于 SMS消息的最大长度为 140字节, 故当所述 USSD 字符串长度不大于 140字节时,封装单元可以只构建一条 SMS消息。 而当所 述 USSD字符串长度大于 140字节时, 封装单元则可以构建至少两条 SMS 消息; 在本发明的一个实施例中, USSD字符串的长度不会超过 160字节, 因此当 USSD字符串长度大于 140字节时, 可以构建两条 SMS消息, 此时, 封装单元将所述用于表示 USSD编码方式的参数及所述 USSD字符串封装进 所述构建的一条或多条 SMS消息中, 具体为: It should be noted that, since the maximum length of the SMS message is 140 bytes, when the length of the USSD string is not more than 140 bytes, the encapsulating unit can construct only one SMS message. And when When the length of the USSD string is greater than 140 bytes, the encapsulating unit can construct at least two SMS messages. In one embodiment of the present invention, the length of the USSD string does not exceed 160 bytes, so when the length of the USSD string is greater than At 140 bytes, two SMS messages can be constructed. In this case, the encapsulating unit encapsulates the parameter for indicating the USSD encoding mode and the USSD string into one or more SMS messages of the construct, specifically :
封装单元将所述用于标识 USSD编码方式的参数依次封装进所述构建的 两条 SMS消息中, 即封装单元构建了两条 SMS消息, 不仅要将该参数封装 进第一条 SMS消息, 还要将该参数封装进第二条 SMS消息。 封装单元将所 述 USSD字符串拆分为长度均不大于 140字节的两部分 USSD字符串, 并分 别将所述两部分 USSD字符串封装进所述构建的两条 SMS 消息中。 例如, USSD字符串为 150字节长度,封装单元可以按照预设定的格式,将该 USSD 字符串拆为两部分, 第一部分为 140字节, 第二部分为 10字节, 将第一部分 封装进第一条构建的 SMS消息, 第二部分封装进第二条构建的 SMS消息。 需要说明的是, 该封装的步骤并没有严格的时序关系, 可以是同时封装用于 标识 USSD编码方式的参数及两部分 USSD字符串进两条 SMS消息, 也可 以是一先一后进行封装。 发送单元 303 , 用于根据所述终端的标识, 向所述终端发送寻呼消息; 需要说明的是, 该寻呼消息由传输消息装置的构建单元构建而成, 并且, 该寻呼消息包含寻呼类型的标识, 该标识具体为 SMS指示 (SMS indicator), 表 明该寻呼类型为 SMS类型。  The encapsulating unit sequentially encapsulates the parameters for identifying the USSD encoding mode into the two SMS messages constructed, that is, the encapsulating unit constructs two SMS messages, and not only encapsulates the parameter into the first SMS message, but also encapsulates the parameter into the first SMS message. The parameter is to be encapsulated into a second SMS message. The encapsulation unit splits the USSD string into two partial USSD strings each having a length of no more than 140 bytes, and encapsulates the two partial USSD strings into the two SMS messages constructed. For example, the USSD string is 150 bytes long. The encapsulation unit can split the USSD string into two parts according to a preset format. The first part is 140 bytes, and the second part is 10 bytes. The first part is encapsulated. Into the first constructed SMS message, the second part is encapsulated into the second constructed SMS message. It should be noted that the step of the encapsulation does not have a strict timing relationship. The parameters for identifying the USSD encoding mode and the two USSD strings may be encapsulated into two SMS messages, or may be encapsulated one after another. The sending unit 303 is configured to send, according to the identifier of the terminal, a paging message to the terminal. The paging message is constructed by a building unit of the transmission message device, and the paging message includes searching The identifier of the call type, the identifier is specifically an SMS indicator, indicating that the paging type is an SMS type.
所述接收单元 301 , 还用于在所述发送单元 303发送寻呼消息后, 接收所述 终端发送的寻呼响应消息;  The receiving unit 301 is further configured to: after the sending unit 303 sends the paging message, receive a paging response message sent by the terminal;
接收单元 301在发送单元 303发送寻呼消息后,接收到终端发送的寻呼响应 消息。  The receiving unit 301 receives the paging response message sent by the terminal after the sending unit 303 sends the paging message.
所述发送单元 303 , 还用于在所述接收单元接收到所述寻呼响应消息后, 通 过 SGs接口向所述终端发送所述一条或多条 SMS消息。 The sending unit 303 is further configured to: after the receiving unit receives the paging response message, The one or more SMS messages are sent to the terminal via the SGs interface.
在接收单元 301接收到寻呼响应消息之后, 发送单元 303将通过 SGs接 口 ( SMS over SGs )将转换后的 SMS消息发送至终端。 在发送单元 303发送 至一条或多条 SMS消息所述终端之前, 发送单元 303还需要发送寻呼消息 至所述终端, 以使所述终端发送寻呼响应消息至所述传输消息装置的接收单 元 301 , 所述寻呼消息中包含所述终端的标识及用于表示所述寻呼类型的参 数。  After the receiving unit 301 receives the paging response message, the transmitting unit 303 will transmit the converted SMS message to the terminal through the SGs interface (SMS over SGs). Before the sending unit 303 sends the one or more SMS messages to the terminal, the sending unit 303 further needs to send a paging message to the terminal, so that the terminal sends a paging response message to the receiving unit of the transmitting message device. 301. The paging message includes an identifier of the terminal and a parameter used to indicate the paging type.
需要说明的是, 当所述一条或多条 SMS短消息发送成功时, 所述发送单 元 303发送 USSD通知成功响应消息至所述 HLR, 或, 若在发送过程中由于 系统故障, 或者传输过程中噪声的干扰造成数据的丟失或错误, 导致终端接 收到的 SMS消息错误, 当终端接收到的 SMS消息是两条时, 只要其中任一 条 SMS消息错误则终端判断本次 SMS消息发送失败, 此时, 终端返回一条 SMS消息错误报告至接收单元 301 ; 当终端接收到的 SMS消息是一条时, 若 该 SMS消息错误, 则终端判断本次 SMS消息发送失败, 同样返回一条 SMS 消息错误报告至传输消息装置的接收单元 301 ,接收单元 301收到 SMS消息 错误报告后,经过判断单元判断所述一条或多条 SMS短消息中的任一条发送 失败, 则传输消息装置的发送单元 303发送 USSD通知失败响应消息至所述 HLR。  It should be noted that, when the one or more SMS short messages are successfully sent, the sending unit 303 sends a USSD notification success response message to the HLR, or if a system failure occurs during transmission, or during transmission The noise caused by the noise causes the data to be lost or incorrect. The SMS message received by the terminal is incorrect. When the SMS message received by the terminal is two, the terminal determines that the SMS message failed to be sent as long as any one of the SMS messages is incorrect. The terminal returns an SMS message error report to the receiving unit 301; when the SMS message received by the terminal is one, if the SMS message is incorrect, the terminal determines that the SMS message is failed to be sent, and also returns an SMS message error report to the transmission message. After receiving the SMS message error report, the receiving unit 301 receives the SMS message error report, and after the determining unit determines that any one of the one or more SMS short messages fails to be sent, the sending unit 303 of the transmitting message device sends a USSD notification failure response. Message to the HLR.
图 5描述了本发明另一个实施例提供的基石出设施管理节点的硬件架构图,包 括至少一个处理器 401 (例如 CPU ),至少一个网络接口 402或者其他通信接口 , 存储器 403 , 和至少一个通信总线 404, 用于实现这些装置之间的连接通信。 处 理器 401用于执行存储器 403 中存储的可执行模块, 例如计算机程序。 存储器 403可能包含高速随机存取存储器(RAM: Random Access Memory ), 也可能还 包括非不稳定的存储器(non-volatile memory ), 例如至少一个磁盘存储器。 通过 至少一个网络接口 402 (可以是有线或者无线)实现该系统网关与至少一个其他 网元之间的通信连接, 可以使用互联网, 广域网, 本地网, 城域网等。 在一些实施方式中, 存储器 403 存储了程序指令, 程序指令可以被处理器 401执行, 其中, 程序指令包括接收单元 301、 转换单元 302和发送单元 303 , 其中, 各单元的具体实现参见图 5所揭示的相应单元, 这里不再累述。 5 depicts a hardware architecture diagram of a cornerstone out-of-facilities management node provided by another embodiment of the present invention, including at least one processor 401 (eg, a CPU), at least one network interface 402 or other communication interface, memory 403, and at least one communication. A bus 404 is used to implement connection communication between these devices. The processor 401 is configured to execute an executable module, such as a computer program, stored in the memory 403. The memory 403 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory such as at least one disk memory. The communication connection between the system gateway and at least one other network element is implemented by at least one network interface 402 (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like. In some embodiments, the memory 403 stores program instructions, and the program instructions may be executed by the processor 401. The program instructions include a receiving unit 301, a converting unit 302, and a sending unit 303, wherein specific implementations of the units are shown in FIG. The corresponding units disclosed are not described here.
本发明实施例提供的装置, 接收单元接收 HLR发送的 USSD通知消息, 转换单元将所述 USSD通知消息进行解码, 并将该解码后的 USSD通知消息 转换为一条或多条短消息业务 SMS消息, 并通过发送单元将该 SMS消息发 送至所述终端。 由于传输消息装置的转换单元将 USSD通知消息转换为 SMS 消息, 通过 SMS over SGs的发送 SMS消息的方式不会引起 CSFB的发生, 故本发明实施例解决了终端驻留在 LTE场景下频繁通过 USSD业务方式传输 消息导致 CSFB频繁发生的问题, 降低了终端回落的时延及终端返回 LTE网 络的时延, 提高了 PS业务的稳定性, 减少了空口资源的浪费。  The apparatus provided by the embodiment of the present invention, the receiving unit receives the USSD notification message sent by the HLR, the converting unit decodes the USSD notification message, and converts the decoded USSD notification message into one or more short message service SMS messages. And sending the SMS message to the terminal by the sending unit. The method for transmitting the SMS message by the SMS over SGs does not cause the occurrence of the CSFB. The embodiment of the present invention solves the problem that the terminal residing in the LTE scenario frequently passes the USSD. The problem of frequent occurrence of CSFB is caused by the transmission of the service mode, which reduces the delay of the terminal fallback and the delay of the terminal returning to the LTE network, improves the stability of the PS service, and reduces the waste of the air interface resources.
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本 发明可以用硬件实现, 或固件实现, 或它们的组合方式来实现。 当使用软件 实现时, 可以将上述功能存储在计算机可读介质中或作为计算机可读介质上 的一个或多个指令或代码进行传输。 计算机可读介质包括计算机存储介质和 通信介质, 其中通信介质包括便于从一个地方向另一个地方传送计算机程序 的任何介质。 存储介质可以是计算机能够存取的任何可用介质。 以此为例但 不限于: 计算机可读介质可以包括 RAM、 ROM, EEPROM、 CD-ROM或其 他光盘存储、 磁盘存储介质或者其他磁存储设备、 或者能够用于携带或存储 具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他 介质。 此外。 任何连接可以适当的成为计算机可读介质。 例如, 如果软件是 使用同轴电缆、 光纤光缆、 双绞线、 数字用户线 (DSL ) 或者诸如红外线、 无线电和微波之类的无线技术从网站、 服务器或者其他远程源传输的, 那么 同轴电缆、 光纤光缆、 双绞线、 DSL或者诸如红外线、 无线和微波之类的无 线技术包括在所属介质的定影中。 如本发明所使用的, 盘( Disk )和碟( disc ) 包括压缩光碟(CD ) 、 激光碟、 光碟、 数字通用光碟(DVD ) 、 软盘和蓝光 光碟, 其中盘通常磁性的复制数据, 而碟则用激光来光学的复制数据。 上面 的组合也应当包括在计算机可读介质的保护层级之内。 Through the description of the above embodiments, it will be apparent to those skilled in the art that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. By way of example and not limitation, computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure. The desired program code and any other medium that can be accessed by the computer. Also. Any connection may suitably be a computer readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwaves are included in the fixing of the associated media. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray. Optical discs, in which discs are usually magnetically replicated, while discs use lasers to optically replicate data. Combinations of the above should also be included within the protection hierarchy of computer readable media.
总之, 以上所述仅为本发明技术方案的较佳实施例而已, 并非用于限定 本发明的保护层级。 凡在本发明的精神和原则之内, 所作的任何修改、 等同 替换、 改进等, 均应包含在本发明的保护层级之内。  In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the protection level of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 书 claims
1、 一种传输消息的方法, 其特征在于, 包括: 1. A method of transmitting messages, characterized by including:
传输消息装置接收归属位置寄存器 HLR发送的非结构化补充业务数据 USSD通知消息, 所述 USSD通知消息中包含驻留在长期演进系统 LTE网络的 终端的标识; The message transmission device receives the unstructured supplementary service data USSD notification message sent by the home location register HLR, where the USSD notification message contains the identity of the terminal residing in the long-term evolution system LTE network;
将所述 USSD通知消息转换为一条或多条短消息业务 SMS消息; Convert the USSD notification message into one or more short message service SMS messages;
根据所述终端的标识, 向所述终端发送寻呼消息; Send a paging message to the terminal according to the identification of the terminal;
在接收到所述终端发送的寻呼响应消息后, 通过 SGs接口向所述终端发送 所述 SMS消息。 After receiving the paging response message sent by the terminal, the SMS message is sent to the terminal through the SGs interface.
2、 根据权利要求 1的方法, 其特征在于, 所述 USSD通知消息中包含用 于表示 USSD编码方式的参数和用于在所述终端上显示的 USSD字符串, 所 述一条或多条 SMS消息包括编码方式的参数及用户数据参数, 2. The method according to claim 1, characterized in that, the USSD notification message contains parameters used to represent the USSD encoding method and a USSD string used for display on the terminal, and the one or more SMS messages Including encoding method parameters and user data parameters,
所述将所述 USSD通知消息转换为一条或多条短消息业务 SMS消息,包括: 对所述 USSD通知消息进行解码, 获取所述用于表示 USSD编码方式的 参数及所述 USSD字符串; Converting the USSD notification message into one or more short message service SMS messages includes: decoding the USSD notification message, and obtaining the parameters used to represent the USSD encoding method and the USSD string;
构建一条或多条 SMS消息,将所述用于表示 USSD编码方式的参数封装 进所述构建的 SMS消息的编码方式的参数中; Construct one or more SMS messages, and encapsulate the parameters representing the USSD encoding method into the parameters of the encoding method of the constructed SMS message;
将所述 USSD字符串封装进所述构建的 SMS消息的用户数据参数中。 The USSD string is encapsulated into the user data parameters of the constructed SMS message.
3、 根据权利要求 2的方法, 其特征在于, 所述构建一条或多条 SMS消 息包括: 如果所述 USSD字符串长度大于 140字节且不大于 160字节, 所述 传输消息装置构建两条 SMS消息; 3. The method according to claim 2, wherein said constructing one or more SMS messages includes: if the length of the USSD string is greater than 140 bytes and not greater than 160 bytes, said transmitting message device constructs two SMS messages;
所述将所述 USSD字符串封装进所述构建的 SMS消息的用户数据参数中 包括: The encapsulating the USSD string into the user data parameters of the constructed SMS message includes:
将所述 USSD字符串拆分为长度均不大于 140字节的两部分 USSD字符 串, 分别将所述两部分 USSD字符串封装进所述构建的两条 SMS消息中。 Split the USSD string into two parts of the USSD string, each of which has a length of no more than 140 bytes, and encapsulate the two parts of the USSD string into the two constructed SMS messages respectively.
4、 根据权利要求 2的方法, 其特征在于, 所述构建一条或多条 SMS消 息包括: 如果所述 USSD字符串长度不大于 140字节, 所述传输消息装置构 建一条 SMS消息。 4. The method according to claim 2, characterized in that: constructing one or more SMS messages The information includes: if the length of the USSD string is not greater than 140 bytes, the message transmission device constructs an SMS message.
5、 根据权利要求 1 至 4任一项所述的方法, 其特征在于, 所述在通过 SGs接口向所述终端发送所述一条或多条 SMS消息之后, 还包括: 5. The method according to any one of claims 1 to 4, characterized in that, after sending the one or more SMS messages to the terminal through the SGs interface, it further includes:
当所述一条或多条 SMS消息发送成功时,发送 USSD通知成功响应消息 至所述 HLR, 或, When the one or more SMS messages are successfully sent, send a USSD notification success response message to the HLR, or,
当所述多条 SMS消息中的任一条发送失败时,发送 USSD通知失败响应 消息至所述 HLR。 When any one of the multiple SMS messages fails to be sent, a USSD notification failure response message is sent to the HLR.
6、 根据权利要求 1至 5任一项所述的方法, 其特征在于, 所述寻呼消息 中包含所述寻呼类型的标识, 所述寻呼类型为 SMS消息类型, 以使得所述终 端接收到所述寻呼消息后, 构建服务请求消息作为寻呼响应消息, 并发送所 述服务请求消息至所述传输消息装置, 6. The method according to any one of claims 1 to 5, characterized in that: the paging message contains an identifier of the paging type, and the paging type is an SMS message type, so that the terminal After receiving the paging message, construct a service request message as a paging response message, and send the service request message to the transmission message device,
所述在接收到所述终端发送的寻呼响应消息后, 通过 SGs接口向所述终端 发送所述 SMS消息, 包括: After receiving the paging response message sent by the terminal, sending the SMS message to the terminal through the SGs interface includes:
所述传输消息装置在接收到所述终端发送的所述服务请求消息后,根据所述 服务请求消息通过 SGs接口向所述终端发送所述 SMS消息。 After receiving the service request message sent by the terminal, the message transmission device sends the SMS message to the terminal through the SGs interface according to the service request message.
7、 一种传输消息装置, 其特征在于, 包括: 7. A message transmission device, characterized in that it includes:
接收单元, 用于接收归属位置寄存器 HLR发送的非结构化补充业务数据 USSD通知消息, 所述 USSD通知消息中包含驻留在长期演进系统 LTE上的终 端的标识; A receiving unit, configured to receive the unstructured supplementary service data USSD notification message sent by the home location register HLR, where the USSD notification message contains the identity of the terminal residing on the long-term evolution system LTE;
转换单元, 用于在所述接收单元接收到所述 USSD通知消息后, 将所述 USSD通知消息转换为一条或多条短消息业务 SMS消息; A conversion unit configured to convert the USSD notification message into one or more short message service SMS messages after the receiving unit receives the USSD notification message;
发送单元, 用于根据所述接收单元接收的终端的标识, 向所述终端发送 寻呼消息; A sending unit, configured to send a paging message to the terminal according to the identification of the terminal received by the receiving unit;
所述接收单元,还用于在所述发送单元发送寻呼消息后,接收所述终端发送 的寻呼响应消息; 所述发送单元, 还用于在所述接收单元接收到所述寻呼响应消息后, 通过 The receiving unit is also configured to receive a paging response message sent by the terminal after the sending unit sends a paging message; The sending unit is also configured to: after the receiving unit receives the paging response message,
SGs接口向所述终端发送所述转换单元转换获得的一条或多条 SMS消息。 The SGs interface sends one or more SMS messages converted by the conversion unit to the terminal.
8、 根据权利要求 7所述的传输消息装置, 其特征在于, 所述 USSD通知 消息中包含用于表示 USSD编码方式的参数和 USSD字符串, 所述 SMS消 息包括编码方式的参数及用户数据参数, 所述转换单元包括: 8. The message transmission device according to claim 7, wherein the USSD notification message includes parameters indicating the USSD encoding method and a USSD character string, and the SMS message includes encoding method parameters and user data parameters. , the conversion unit includes:
获取单元, 用于将所述 USSD 通知消息进行解码, 获取所述用于表示 USSD编码方式的参数及所述用于在所述终端上显示的 USSD字符串; An acquisition unit, configured to decode the USSD notification message and acquire the parameters representing the USSD encoding method and the USSD string for display on the terminal;
封装单元, 用于构建一条或多条 SMS消息, 将所述获取单元获取的所述 用于表示 USSD编码方式的参数及所述 USSD字符串将所述用于表示 USSD 编码方式的参数封装进所述构建的 SMS 消息的编码方式的参数中; 将所述 USSD字符串封装进所述构建的 SMS消息的用户数据参数中。 An encapsulation unit, configured to construct one or more SMS messages, encapsulate the parameters representing the USSD encoding method and the USSD string obtained by the acquisition unit into the into the parameters of the encoding method of the constructed SMS message; and encapsulate the USSD string into the user data parameters of the constructed SMS message.
9、 根据权利要求 8的传输消息装置, 其特征在于, 封装单元构建一条或 多条 SMS消息包括: 如果所述 USSD字符串长度大于 140字节且不大于 160 字节, 所述封装单元构建两条 SMS消息, 9. The message transmission device according to claim 8, wherein the packaging unit constructing one or more SMS messages includes: if the USSD string length is greater than 140 bytes and not greater than 160 bytes, the packaging unit constructs two SMS messages,
所述封装单元将所述 USSD字符串封装进所述构建的 SMS消息的用户数 据参数中包括: The encapsulation unit encapsulates the USSD string into the user data parameters of the constructed SMS message including:
将所述 USSD字符串拆分为长度均不大于 140字节的两部分 USSD字符 串,分别将所述两部分 USSD字符串封装进所述构建的两条 SMS消息的用户 数据参数中。 Split the USSD string into two parts of the USSD string with a length of no more than 140 bytes, and encapsulate the two parts of the USSD string into the user data parameters of the two constructed SMS messages.
10、 根据权利要求 8的传输消息装置, 其特征在于, 所述封装单元构建 一条或多条 SMS消息包括: 如果所述 USSD字符串长度不大于 140字节, 所 述封装单元构建一条 SMS消息。 10. The message transmission device according to claim 8, wherein the encapsulation unit constructing one or more SMS messages includes: if the USSD string length is not greater than 140 bytes, the encapsulation unit constructs an SMS message.
11、 根据权利要求 7至 10任一项所述的传输消息装置, 其特征在于, 所述发送单元, 还用于当所述一条或多条 SMS短消息发送成功时, 所述 发送单元发送 USSD通知成功响应消息至所述 HLR; 或当所述多条 SMS短 消息中的任一条发送失败时, 所述发送单元发送 USSD通知失败响应消息至 所述 HLR。 11. The message transmission device according to any one of claims 7 to 10, characterized in that the sending unit is also configured to send USSD when the one or more SMS short messages are successfully sent. Notify success response message to the HLR; or when any of the multiple SMS short messages fails to be sent, the sending unit sends a USSD notification failure response message to The HLR.
12、 根据权利要求 7至 11任一项所述的传输消息装置, 其特征在于, 所 述寻呼消息中包含所述寻呼类型的标识, 所述寻呼类型为 SMS消息类型, 以 使得所述终端接收到所述寻呼消息后,构建服务请求消息作为寻呼响应消息, 并发送所述服务请求消息; 12. The message transmission device according to any one of claims 7 to 11, wherein the paging message contains an identifier of the paging type, and the paging type is an SMS message type, so that the After receiving the paging message, the terminal constructs a service request message as a paging response message, and sends the service request message;
所述在所述接收单元接收到所述寻呼响应消息后, 通过 SGs接口向所述终 端发送所述转换单元转换获得的一条或多条 SMS消息包括: After the receiving unit receives the paging response message, sending one or more SMS messages converted by the conversion unit to the terminal through the SGs interface includes:
在所述接收单元接收到所述终端发送的所述服务请求消息后, 所述发送单 元根据所述服务请求消息通过 SGs接口向所述终端发送所述 SMS消息。 After the receiving unit receives the service request message sent by the terminal, the sending unit sends the SMS message to the terminal through the SGs interface according to the service request message.
PCT/CN2013/085225 2012-12-28 2013-10-15 Method and device for transmitting messages WO2014101530A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012105843315A CN103079179A (en) 2012-12-28 2012-12-28 Message transmission method and device
CN201210584331.5 2012-12-28

Publications (1)

Publication Number Publication Date
WO2014101530A1 true WO2014101530A1 (en) 2014-07-03

Family

ID=48155565

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085225 WO2014101530A1 (en) 2012-12-28 2013-10-15 Method and device for transmitting messages

Country Status (2)

Country Link
CN (1) CN103079179A (en)
WO (1) WO2014101530A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3197234A1 (en) * 2015-12-21 2017-07-26 Intel IP Corporation Device and method for user originated multiple connection management transactions via circuit switched fallback

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079179A (en) * 2012-12-28 2013-05-01 华为技术有限公司 Message transmission method and device
CN103428074A (en) * 2013-08-07 2013-12-04 中国联合网络通信集团有限公司 Application message reminding method, server and client-side device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472316A (en) * 2007-12-29 2009-07-01 华为技术有限公司 Method for implementing voice call succession, interconnection functional entity and terminal equipment
WO2009098200A1 (en) * 2008-02-04 2009-08-13 Nokia Siemens Networks Oy Improved provision of value added short message services
CN103079179A (en) * 2012-12-28 2013-05-01 华为技术有限公司 Message transmission method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001037592A1 (en) * 1999-11-17 2001-05-25 Swisscom Mobile Ag Method and system for preparing and transmitting sms messages in a mobile radio network
WO2009021166A2 (en) * 2007-08-08 2009-02-12 Roamware, Inc. Reverse charging service
WO2010106397A1 (en) * 2009-03-16 2010-09-23 Nokia Corporation Method, apparatus and computer readable memory medium for circuit switched fallback and inter-rat selection
GB0912944D0 (en) * 2009-07-24 2009-09-02 Vodafone Plc SMS over lte sgs interface optimisations
CN102523567B (en) * 2011-12-23 2015-02-11 北京握奇数据系统有限公司 Data update method in telecommunication intelligent card, system thereof and telecommunication intelligent card
CN102724643A (en) * 2012-05-16 2012-10-10 华为软件技术有限公司 Call method, device and communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472316A (en) * 2007-12-29 2009-07-01 华为技术有限公司 Method for implementing voice call succession, interconnection functional entity and terminal equipment
WO2009098200A1 (en) * 2008-02-04 2009-08-13 Nokia Siemens Networks Oy Improved provision of value added short message services
CN103079179A (en) * 2012-12-28 2013-05-01 华为技术有限公司 Message transmission method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3197234A1 (en) * 2015-12-21 2017-07-26 Intel IP Corporation Device and method for user originated multiple connection management transactions via circuit switched fallback
US9788241B2 (en) 2015-12-21 2017-10-10 Intel IP Corporation Device and method for user originated multiple connection management transactions via circuit switched fallback

Also Published As

Publication number Publication date
CN103079179A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
KR100853700B1 (en) Method and system for delivering multimedia messages and multimedia message service center
US7899476B2 (en) Method for processing push notification in multimedia message service
US8823767B2 (en) Delivery of short messages
RU2610590C2 (en) Short messages service going from mobile devices/coming to mobile devices, without mobile subscriber isdn (msisdn), in internet protocol multimedia subsystem (ims)
KR20120040232A (en) Message delivery over lte networks
US20140155112A1 (en) Support of short message service in ims without msisdn
WO2010012144A1 (en) Service content information inquiry method, system and service provider
WO2010031329A1 (en) Method, system and device for receiving and sending instant message
US9992644B2 (en) Methods for providing additional information for a mobile-originated short message
KR100657825B1 (en) Method for transporting massive data effectively on multi-mode terminal
WO2012027932A1 (en) Method, equipment and terminal for encoding/decoding short message
CN103688558B (en) Interface between 3gpp networks and 3gpp2 networks for wap text messaging
WO2014101530A1 (en) Method and device for transmitting messages
WO2006045253A1 (en) A method for processing value added service request
EP2123064A1 (en) Routing of mobile-originating short messages
TWI549544B (en) Method of processing an sms message for providing a content summary and related communication system
JP5867506B2 (en) Mobile wireless communication device, mobile wireless communication network device and method.
US9294891B2 (en) Short message sending method, short message service center and gateway
WO2012006814A1 (en) Method and system for delivering message in multimedia message service
TW201517653A (en) Method of handling rejections of SMS messages and related communication system
WO2012003687A1 (en) Method and system for processing failure during forwarding multimedia message and value added service platform thereof
WO2012009895A1 (en) Method and multimedia message service center (mmsc) for supporting non-multimedia message service (mms) terminal to use multimedia message
JP5243948B2 (en) Short message control device and short message control method
KR20090001145A (en) Wireless communication method and system for determining text message transfer protocol through validation of message length and network property
WO2012024879A1 (en) Method, device and system for processing multimedia messaging service

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13866956

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13866956

Country of ref document: EP

Kind code of ref document: A1