Method for sending short message in multi-mode terminal and multi-mode terminal
First Claim
1. A method for sending short message in a multi-mode terminal, comprising:
- setting, by the multi-mode terminal, a type identifier of a short message to be sent, wherein the type comprises common and emergency;
adding, by the multi-mode terminal, the type identifier in a Protocol Data Unit (PDU) packet header of the short message to be sent;
judging, based on the type identifier in the PDU packet header, by the multi-mode terminal, whether the type of the short message to be sent is emergency;
when it is judged that the type of the short message to be sent is the emergency, the multi-mode terminal counting the number of short messages in sending queues in each mode, and sending the short message to be sent in a mode with the least number of short messages among the modes;
wherein after sending the short message to be sent in a mode with the least number of short messages among the modes, the method further comprises;
judging, by the multi-mode terminal, whether the short message to be sent is sent successfully;
when it is judged that the short message to be sent is not sent successfully, selecting, by the multi-mode terminal, another mode to resend the short message to be sent.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosure provides a method for sending short message in multi-mode terminal and multi-mode terminal. The method includes: judging, by a multi-mode terminal, whether a type of a short message to be sent is emergency; if so, the multi-mode terminal counting the number of short messages in sending queues in each mode, and sending the short message to be sent in a mode with the least number of short messages among the modes. In the disclosure, by selecting a send mode based on the number of the short messages to be sent in each mode, the problem of delayed or failed sending of emergency short messages is solved, further the sending flow of the short messages is optimized, and the user experience is improved.
-
Citations
5 Claims
-
1. A method for sending short message in a multi-mode terminal, comprising:
-
setting, by the multi-mode terminal, a type identifier of a short message to be sent, wherein the type comprises common and emergency; adding, by the multi-mode terminal, the type identifier in a Protocol Data Unit (PDU) packet header of the short message to be sent; judging, based on the type identifier in the PDU packet header, by the multi-mode terminal, whether the type of the short message to be sent is emergency; when it is judged that the type of the short message to be sent is the emergency, the multi-mode terminal counting the number of short messages in sending queues in each mode, and sending the short message to be sent in a mode with the least number of short messages among the modes; wherein after sending the short message to be sent in a mode with the least number of short messages among the modes, the method further comprises;
judging, by the multi-mode terminal, whether the short message to be sent is sent successfully;when it is judged that the short message to be sent is not sent successfully, selecting, by the multi-mode terminal, another mode to resend the short message to be sent. - View Dependent Claims (2, 3)
-
-
4. A multi-mode terminal, comprising a hardware processor configured to execute software program units, wherein the software program units comprise:
-
an identifier setting module, configured to set a type identifier of a short message to be sent, wherein the type comprises common and emergency; wherein the identifier setting module is further configured to add the type identifier in a Protocol Data Unit (PDU) packet header of the short message to be sent; a type judgment module, configured to judge, based on the type identifier in the PDU packet header, whether the type of the short message to be sent is emergency; a sending module, configured to count the number of short messages in sending queues in each mode, and send the short message to be sent in a mode with the least number of short messages among the modes in the case that the type of the short message to be sent is emergency; and a resending module, configured to select another mode to resend the short message to be sent in the case that the short message to be sent is not sent successfully. - View Dependent Claims (5)
-
Specification