WO2019071593A1 - 一种长短信发送方法及终端 - Google Patents
一种长短信发送方法及终端 Download PDFInfo
- Publication number
- WO2019071593A1 WO2019071593A1 PCT/CN2017/106145 CN2017106145W WO2019071593A1 WO 2019071593 A1 WO2019071593 A1 WO 2019071593A1 CN 2017106145 W CN2017106145 W CN 2017106145W WO 2019071593 A1 WO2019071593 A1 WO 2019071593A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- short message
- terminal
- packet
- sending
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/18—Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
Definitions
- the present application relates to the field of communications, and in particular, to a long message sending method and a terminal.
- SMS Short Messaging Service
- the terminal Before sending the message to the carrier server, the terminal encapsulates the message into a packet format supported by the carrier network according to the packet format specified by the standard protocol, and then sends the message to the carrier server through the sending domain, and the message is sent by the carrier server to the destination. terminal.
- a message whose message length exceeds the threshold is called a long message.
- the terminal splits the long SMS into multiple SMS packets and encapsulates them according to the packet format. Each packet contains the serial number of the SMS packet.
- the receiver combines multiple SMS packets into one long SMS message according to the serial number. .
- the global carrier network supports the 3rd Generation Partnership Project (3GPP) and 3GPP2 short envelope package formats.
- the carrier server can support different packet formats.
- Code Division Multiple Access (CDMA) network operators only support 3GPP2 in 2nd-generation, 2G, and 3rd-generation mobile communication (3G) networks.
- the short message in the packet format is sent in the Circuit Switched (CS) domain.
- CS Circuit Switched
- 4G 4th-generation mobile communication technology
- IP Internet Protocol
- IMS Multimedia Subsystem
- the carrier network is upgraded from 2G and 3G networks to 4G networks.
- the coexistence of multiple networks of different network standards is an inevitable stage. Therefore, there are cases in which the terminals move to different networks.
- the existing terminal usually determines the packet format before the short message is sent. In the process of sending the long short message, if the mobile terminal accesses the network that does not support the determined packet format, the short message packet is encapsulated according to the determined packet format. Unable to be recognized, causing long text messages to fail to be sent.
- the embodiment of the present invention provides a long message sending method and a terminal, which ensure that the terminal successfully transmits a long time short message in a network supporting different packet formats.
- the first aspect provides a method for sending a long message, comprising: the terminal accessing the first network, splitting the long message into the first short message packet according to the first packet format supported by the first network, and sending the first short message packet; In the process of sending the first short message packet, detecting that the terminal switches from the first network to the second network, the second network supports the second packet format, the terminal stops sending the first short message packet, and the long short message packet is sent according to the second packet format. Split into the second short message packet and send the second short message packet.
- the packet format supported by the new access network is re-split.
- the short message is sent and sent to ensure that the operator's server can accurately identify the short message packet sent by the terminal, thereby ensuring that the terminal successfully transmits the short message when moving in a network supporting different packet formats.
- the method for sending a long message according to the present application may further include: the terminal acquiring a packet format supported by different networks in a preset correspondence relationship; wherein the preset correspondence includes at least one The packet format supported by the network standard.
- the terminal sends the first short message packet, which may include: the terminal sends the first short message in sequence in the sending domain corresponding to the first network. package.
- the sending, by the terminal, the second short message packet may include: the terminal sending the second short message packet in sequence in the sending domain corresponding to the second network.
- the method for sending a long message may further include: the terminal determining whether the terminal meets the preset condition; if the terminal does not meet the preset condition, the terminal detects that the terminal switches from the first network to the second network in the process of sending the first short message packet. The terminal stops sending the first short message packet, splits the long short message into the second short message packet according to the second packet format, and sends the second short message packet. In this way, the terminal is controlled by the preset condition to frequently change the packet format due to the mobile switching network.
- the preset condition may include that the duration of sending the long short message is greater than or equal to the preset duration, or the preset condition includes according to different packets.
- the format divides the long message into the short message packet by more than or equal to the preset threshold.
- the method for sending a long short message provided by the application may further include: if the terminal meets the preset condition, the terminal stops sending the long short message. .
- the preset condition is used to control the terminal to frequently change the packet format due to the mobile switching network, and stop transmitting the long message when the terminal meets the preset condition.
- the long message sending method provided by the application may further include: displaying the method to the terminal user Long text message failed to send. By displaying the transmission failure to the user, the user chooses to resend or not process.
- the display of the long message to the terminal user fails, and the user interface (UI) module is reported to the terminal by the UI module, and is displayed on the terminal screen by the UI module.
- UI user interface
- the terminal detects that the terminal switches from the first network to the second network in the process of sending the first short message packet, and the application provides The long message sending method may further include: the terminal clearing the first short message packet that is not sent, to prevent the terminal from erroneously transmitting the first short message packet that splits the long short message according to the first packet format to the operator server, occupying resources.
- the terminal accesses the first network, and the long short message is split into the first packet according to the first packet format supported by the first network.
- the short message sending method provided by the present application may further include: receiving, by the terminal, a long short message input by the user.
- the first network is a network that is accessed when the terminal receives a long short message input by the user.
- the first network may be any network that is re-accessed by the mobile terminal after receiving the long short message input by the user.
- the preset correspondence relationship may further include: at least one network corresponding transmission domain.
- a terminal in a second aspect, may include an access unit, a splitting unit, a sending unit, and a monitoring unit.
- the access unit is configured to access the network by the terminal, and the splitting unit is configured to split the long message according to the first packet format supported by the first network when the access unit accesses the first network.
- the first short message packet; the sending unit is configured to send the first short message packet; and the monitoring unit is configured to: when the sending unit sends the first short message packet, detecting whether the packet format supported by the network accessed by the access unit changes; In the process of sending the first short message packet, the access unit switches from the first network to the second network, and the monitoring unit detects that the second network supports the second packet format different from the first network, and stops sending the first packet.
- the short message packet is further configured to: when the sending unit sends the first short message packet, the access unit switches from the first network to the second network, and the monitoring unit detects that the second network supports different from the first network.
- the second packet format is divided into the second short message packet according to the second packet format, and the sending unit is further configured to send the second short message packet.
- the terminal in the process of sending a short message splitting short message packet by the terminal, once the format of the packet supported by the network connected by the terminal changes, the long short message is re-split and sent by using the packet format supported by the new access network. To ensure that the operator's server can accurately identify the short message packets sent by the terminal, and then ensure that the terminal successfully transmits the long time short message in the network supporting different packet formats.
- the monitoring unit is specifically configured to: obtain a packet format supported by different networks in a preset correspondence, and detect a packet format supported by the network accessed by the access unit. Whether the change is performed; wherein the preset correspondence includes at least one packet format supported by the network.
- the sending unit is specifically configured to: sequentially send the first short message packet in a sending domain corresponding to the first network; The sending domain corresponding to the second network sends the second short message packet in turn.
- the terminal may further include: a determining unit, configured to determine whether the terminal meets the preset condition.
- the splitting unit is further configured to: if the determining unit determines that the terminal does not meet the preset condition, in the process that the sending unit sends the first short message packet, the access unit switches from the first network to the second network, and the monitoring unit
- the second network is detected to support a second packet format different from the first network, and the long message is split into the second short message packet according to the second packet format.
- the preset condition includes: sending a long message length is greater than or equal to a preset duration, or the preset condition includes according to different packet formats. The number of times the long message is split into a short message packet is greater than or equal to a preset threshold.
- the sending unit may be further configured to stop sending the long short message if the determining unit determines that the terminal meets the preset condition.
- the terminal may further include a clearing unit, in the process of sending, by the sending unit, the first short message packet,
- the access unit switches from the first network to the second network, and the monitoring unit detects that the second network supports a second packet format different from the first network, and clears the first short packet that is not sent.
- the terminal may further include: a receiving unit, configured to receive the long short message input by a user of the terminal.
- the preset The correspondence may also include: a transmission domain corresponding to at least one network.
- the terminal provided by the second aspect of the present application is used to implement the method for sending a long short message according to the foregoing first aspect, and the specific implementation may refer to the specific implementation of the first aspect, and may achieve the same effect as the first aspect. It will not be repeated here.
- another terminal in a third aspect, includes a processor, a memory, and a transceiver.
- the memory is used to store a computer execution instruction.
- the processor calls the memory stored computer to execute the instruction, and executes the long message sending method described in the first aspect or any of the possible implementation manners.
- the processor is specifically configured to: access the first network, split the long short message into the first short message packet according to the first packet format supported by the first network, and send the first short message packet by using the transceiver; During the sending of the first short message packet, detecting that the terminal switches from the first network to the second network, the second network supports the second packet format, and the control transceiver stops sending the first short message packet, according to the second packet format.
- the long message is split into a second short message packet, and the second short message packet is sent through the transceiver.
- the terminal in the process of sending a short message splitting short message packet by the terminal, once the format of the packet supported by the network connected by the terminal changes, the long short message is re-split and sent by using the packet format supported by the new access network. To ensure that the operator's server can accurately identify the short message packets sent by the terminal, and then ensure that the terminal successfully transmits the long time short message in the network supporting different packet formats.
- the processor is specifically configured to: obtain, in a preset correspondence, a packet format supported by different networks, to detect whether a packet format supported by the accessed network changes;
- the preset correspondence includes at least one packet format supported by the network.
- the processor is specifically configured to: in the sending domain corresponding to the first network, sequentially send the first short message packet by using the transceiver The second short message packet is sequentially sent by the transceiver in the sending domain corresponding to the second network.
- the processor may be further configured to: determine whether the terminal meets the preset condition; the processor is specifically configured to: if the terminal is determined The preset condition is not met.
- the terminal switches from the first network to the second network, and detects that the second network supports a second packet format different from the first network.
- the control transceiver stops transmitting the first short message packet, splits the long short message into the second short message packet according to the second packet format, and sends the second short message packet through the transceiver.
- the preset condition includes: sending a long message length is greater than or equal to a preset duration, or the preset condition includes according to different packet formats. The number of times the long message is split into a short message packet is greater than or equal to a preset threshold.
- the processor may be further configured to: if it is determined that the terminal does not meet the preset condition, send the first through the transceiver During a short message packet, the terminal switches from the first network to the second network, detects that the second network supports a second packet format different from the first network, and controls the transceiver to stop sending long messages to the operator server.
- the processor is specifically configured to: when the first short message packet is sent by the transceiver, the terminal switches from the first network Accessing to the second network, detecting that the second network supports a second packet format different from the first network, and clearing the first short packet that is not sent.
- the processor may be further configured to receive, by the transceiver, the long short message input by the user.
- the preset correspondence relationship may further include: at least one network corresponding transmission domain.
- the terminal provided by the third aspect of the present application is used to implement the method for sending a long message according to the foregoing first aspect, and the specific implementation may refer to the specific implementation of the first aspect, and may achieve the same effect as the first aspect. It will not be repeated here.
- a fourth aspect of the embodiments of the present application provides a computer storage medium, where the computer storage medium stores a computer program, and when the computer program is executed by the processor, implements any of the possible implementations of the first aspect or the first aspect.
- a fifth aspect of the embodiments of the present application provides a computer program product, when the computer program product is run on a computer, causing the computer to perform as described in any one of the first aspect or the possible implementation of the first aspect SMS sending method.
- FIG. 1 is a simplified schematic diagram of a system architecture provided by an embodiment of the present application.
- FIG. 2 is a schematic structural diagram of a mobile phone according to an embodiment of the present application.
- FIG. 3 is a schematic diagram of a long message sending scenario according to an embodiment of the present disclosure
- FIG. 4 is a schematic diagram of another long message sending scenario according to an embodiment of the present disclosure.
- FIG. 5 is a schematic diagram of still another long message sending scenario according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of a long message sending failure interface according to an embodiment of the present application.
- FIG. 6B is a schematic diagram of another long message sending failure interface according to an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of still another terminal according to an embodiment of the present application.
- first and second and the like in the specification of the present application and the drawings are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of the objects.
- first application and the second application are different applications.
- the words “exemplary” or “such as” are used to mean an example, illustration, or illustration. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the words “exemplary” or “such as” is intended to be in a
- the embodiment of the present application provides a method for sending a long message, and the basic principle is that the terminal splits the package according to the packet format supported by the network accessed by the terminal.
- the short message is sent and sent, and the change of the packet format supported by the access network is monitored during the sending process.
- the terminal repackages the long message according to the packet format supported by the new access network. And sending, so as to ensure that the operator server can accurately identify the short message packet sent by the terminal, thereby ensuring that the terminal successfully transmits the long time short message in the network supporting different packet formats.
- the system architecture includes at least one carrier server and terminal 102, such as the carrier server 101 and the carrier server 103 in FIG.
- Each carrier server is deployed according to the network and belongs to a different standard network. Different standards of the network support different packet formats.
- the packet format supported by each network is determined by the network configuration, which is not specifically limited in this embodiment of the present application.
- the terminal 102 accesses a network A when registering a network, and communicates with the operator server 101 deployed in the network A to implement a service service; when the terminal 102 moves, due to changes in its location, The access network B is switched to communicate with the operator server 103 deployed in the network B to implement a service service.
- the operator server 101 or the operator server 103 may be a hardware device deployed by the operator of the wireless network on the network side, and is an access device for the terminal 102 to access the operator's wireless network.
- the operator server 101 or the operator server 103 communicates with the terminal 102 to connect the terminal 102 to the deployed operator mobile network to implement a service application. It should be noted that the type of the operator server 101 or the operator server 103 may be deployed according to actual requirements, which is not specifically limited in this embodiment of the present application.
- the terminal 102 can be a desktop, a laptop, a tablet, a handheld computer, a mobile phone, a laptop, an Ultra-mobile Personal Computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (Personal Digital Assistant, PDA), dedicated media players, consumer electronics, wearables, smart watches, smart glasses, televisions, and more.
- the terminal 102 is a mobile phone in FIG. 1 as an example.
- the system architecture shown in FIG. 1 may be a Long Term Evolution (LTE) network, or a Universal Mobile Telecommunications System (UMTS) network, or a Global System for Global System (Global System for Mobile System).
- LTE Long Term Evolution
- UMTS Universal Mobile Telecommunications System
- GSM Global System for Global System
- CDMA Code Division Multiple Access
- the embodiment of the present application does not specifically limit the type of the network to which the solution of the present application is applied.
- the format of the communication network may include, but is not limited to, CDMA, CDMA1X, GSM, Enhanced Data Rate for GSM Evolution (EDGE), UMTS, LTE, and the like.
- the terminal is used as a mobile phone as an example for description.
- the following describes the components of the mobile phone in detail with reference to the accompanying drawings:
- the mobile phone may include: a touch screen 21, a processor 22, a memory 23, a power source 24, a radio frequency (RF) circuit 25, a gravity sensor 26, an audio circuit 27, a speaker 28, a microphone 29, and the like.
- RF radio frequency
- these components can be connected by bus or directly. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 2 does not constitute a limitation to the handset, and may include more components than those illustrated, or some components may be combined, or different components may be arranged.
- the touch screen 21 can be referred to as a touch display panel for realizing the input and output functions of the mobile phone, and can collect touch operations on or near the user (such as the user using any suitable object or accessory such as a finger or a stylus). The operation is performed on the touch screen 21 or in the vicinity of the touch screen 21, and the corresponding connecting device is driven according to a preset program. It can also be used to display information entered by the user or information provided to the user (such as images captured by the camera) as well as various menus of the mobile phone.
- the touch screen 21 can be implemented in various types, such as a resistive type, a capacitive type, an infrared light sensation, and an ultrasonic wave, which is not limited in the embodiment of the present invention.
- the user attached to the touch screen 21 The near operation can be called floating touch, and the touch screen capable of floating touch can be realized by capacitive, infrared light and ultrasonic.
- the user operates the touch screen 21 to input a long text message.
- the touch screen 21 may include a detection module 211 and a display module 212.
- the detecting module 211 can detect the touch operation of the touch screen 21 by the user, and can perform the touch operation on the touch screen 21, and the parameters generated by the touch screen 21 are transmitted to the processor 22 (exemplary, hypothesis
- the touch panel 21 is implemented in a capacitive manner, and the detecting module 211 can transmit the change parameter on the touch screen 21 to the processor 22, where the change parameter refers to the size, shape, number, and distribution of the capacitance whose capacitance value changes. Case), so that the processor 22 performs corresponding processing according to the touch operation.
- the display module 212 can display information input by the user, information provided by the mobile phone to the user, various menus of the mobile phone, and the like.
- the processor 22 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 23, and by invoking data stored in the memory 23, The phone's various functions and processing data, so that the overall monitoring of the phone.
- processor 22 may include one or more processing units; processor 22 may integrate an application processor and a modem processor.
- the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 22.
- the memory 23 can be used to store data, software programs, and modules, and can be a Volotile Memory, such as a Random-Access Memory (RAM), or a Non-Volatile Memory.
- RAM Random-Access Memory
- Non-Volatile Memory For example, a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD); or a combination of the above types of memories.
- the program code is stored in the memory 23, and the program code is used to cause the processor 22 to execute the method for prompting the user to update the application version provided by the embodiment of the present application.
- the RF circuit 25 can be used for transmitting and receiving information or during a call, receiving and transmitting signals, and in particular, processing the received information to the processor 22; in addition, transmitting the signals generated by the processor 22.
- RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
- LNA Low Noise Amplifier
- RF circuitry 25 can also communicate with the network and other devices via wireless communication.
- Gravity Sensor 26 can detect the acceleration of the mobile phone in all directions (usually three-axis). When it is still, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping). It should be noted that the mobile phone may also include other sensors, such as a pressure sensor, a light sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein.
- Audio circuitry 27, speaker 28, and microphone 29 provide an audio interface between the user and the handset.
- the audio circuit 27 can transmit the converted electrical data of the received audio data to the speaker 28 for conversion to the sound signal output by the speaker 28; on the other hand, the microphone 29 converts the collected sound signal into an electrical signal by the audio circuit 27. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 25 for transmission to, for example, another mobile phone. Alternatively, the audio data is output to processor 22 for further processing.
- the triggering operation in the embodiment of the present application may be performed on a touch screen, such as a pressing operation, a long pressing operation, a sliding operation, a click operation, etc., or may be an operation of the user near the touch screen, that is,
- the suspension touch is not specifically limited herein.
- an operating system is running.
- a running application such as an IM application, can be installed on the operating system.
- the mobile phone may further include components such as a WiFi module, a Bluetooth module, a camera, and the like.
- the WiFi module may be a module including a driver of a WiFi chip and a WiFi chip, and the WiFi chip has the capability of running a wireless Internet standard protocol.
- the Bluetooth module is a Bluetooth-enabled Printed Circuit Board Assembly (PCBA) for short-range wireless communication.
- PCBA Bluetooth-enabled Printed Circuit Board Assembly
- the method for sending a long message when the terminal accesses the first network, the terminal splits the long message into the first short message packet according to the first packet format supported by the first network. And send.
- the terminal In the process of sending the first short message packet, the terminal is switched to access the second network by the first network, and the second network supports the second packet format different from the first packet format, and the terminal stops sending the first short message packet, according to the second The packet format splits the long message into a second short message packet and sends it.
- the sending of a long message to the operator server may be understood as: the sending domain corresponding to the system of the network accessed by the terminal sends the network support according to the terminal access to the operator server.
- the packet format is a short message packet that splits the long message.
- the long message refers to the short message whose length defined by the protocol is greater than the threshold.
- the long message is split into a short message packet, and the process of the packet is encapsulated according to the process of the packet format, which can be implemented in the prior art.
- the terminal may obtain at least one packet format supported by the network in the preset correspondence.
- the preset correspondence may include at least one packet format supported by the network. Illustratively, as shown in Table 1, a preset correspondence is illustrated.
- GSM, EDGE, and UMTS are 2G networks
- CDMA and CDMA1X are 3G networks
- LTE is a 4G network.
- the embodiment of the present application does not specifically limit the type of the network included in the preset correspondence.
- Table 1 is only an example and is not limited.
- Table 1 only describes the preset correspondence relationship by way of example, and is not specific limitation on the content and form of the preset correspondence relationship.
- the content of the preset correspondence relationship may also be saved in the form of a character string in the terminal.
- the embodiment of the present application does not specifically limit the storage form of the preset correspondence relationship.
- the preset correspondences illustrated in Table 1 can be stored in the terminal as ⁇ CDMA, CDMA1X, 3GPP2 ⁇ , ⁇ GSM, EDGE, UMTS, 3GPP ⁇ , ⁇ LTE, 3GPP ⁇ .
- At least one network in the preset correspondence relationship and the format of the packet that it supports may be in a one-to-one format or a multi-to-one format, and the content of the preset correspondence relationship may be configured according to actual requirements.
- the application embodiment does not specifically limit this.
- the terminal sends the first short message packet, and the terminal may send the first short message packet in sequence in the sending domain corresponding to the first network.
- the terminal sends the second short message packet, and the terminal may send the second short message packet in sequence in the sending domain corresponding to the second network.
- the sending domain is a network that sends a short message selected by the terminal.
- the sending domain selected by the terminal depends on and corresponds to the network used by the terminal to send the short message.
- the transmission domain corresponding to the network accessed by the terminal may also be pre-stored in the terminal.
- the sending domain corresponding to the network that the terminal accesses may be stored separately, or may be stored in the foregoing preset correspondence, which is not specifically limited in this embodiment of the present application.
- the preset correspondence may further include: a sending domain corresponding to the at least one network.
- the preset correspondence includes at least one network supported packet format, and at least one network corresponding transmission domain.
- the sending domain may include a CS domain or an IMS domain or other, which is not specifically limited in this embodiment of the present application.
- FIG. 3 a scenario in which a terminal sends a long message is illustrated.
- the terminal is the mobile phone illustrated in FIG. 2 and is referred to as the mobile phone 1.
- the processor 22 of the handset 1 controls the RF circuitry 25 to register in the network, access and camp on the first network, and the first network is a GSM network.
- the mobile phone 1 resides in the GSM network
- the user operates the touch screen 21 of the mobile phone 1 to input a long short message X, which is transmitted to the processor 22 of the mobile phone 1.
- the processor 22 of the mobile phone 1 queries the preset correspondence relationship as shown in Table 1 stored in the memory 23, and obtains the packet format supported by the GSM network accessed by the mobile phone 1 into the 3GPP format.
- the processor 22 splits and encapsulates the long short message X transmitted by the touch screen 21 into the short message packets X1, X2, ... Xn according to the 3GPP format of the packet format supported by the GSM network accessed by the mobile phone 1.
- the processor 22 transmits the short message packets X1, X2, ... Xn to the server of the operator deploying the GSM network through the RF circuit 25.
- FIG. 4 in the process of the processor 22 of the mobile phone 1 transmitting the short message packets X1, X2, ...
- the mobile phone 1 is switched to access the CDMA network (the second network) by the GSM network due to the location movement, and the processor 22 of the mobile phone 1 queries the memory 23 as shown in Table 1.
- the preset correspondence relationship is obtained, and the packet format supported by the CDMA network newly accessed by the mobile phone 1 is 3GPP2, and the processor 22 determines that the newly accessed CDMA network is different from the packet format supported by the GSM network accessed before the access handover, and the processor 22 Stop sending the short message packets X1, X2, ..., Xn, and the processor 22 re-splits the long short message X stored in the memory 23 transmitted by the touch screen 21 according to the packet format 3GPP2 supported by the CDMA network newly accessed by the mobile phone 1.
- the processor 22 deploys the CDMA through the RF circuit 25
- the server of the network operator sends the short message packets Y1, Y2, ..., Yn.
- the processor 22 sends the short message packets X1, X2, ..., Xn to the server of the operator deploying the GSM network through the RF circuit 25, which may be implemented by the processor 22 through the RF circuit 25,
- the sending domain corresponding to the GSM network sends the short message packets X1, X2, ... Xn to the server of the operator deploying the GSM network.
- the processor 22 of the mobile phone 1 transmits the short message packets X1, X2, ... Xn to the server of the operator deploying the GSM network through the RF circuit 25.
- the mobile phone 1 is always resident in the GSM network, and the long short message X is successfully transmitted, and the operator server receives the short message packets X1, X2, ... Xn.
- the short message packets are decapsulated and merged into a long short message X according to the order of the short message packets.
- the sequence of the short message packet may be embodied by a serial number or other forms, which is not specifically limited in this embodiment of the present application.
- the CDMA network newly accessed by the mobile phone 1 is different from the GSM network corresponding to the GSM network before the handover, and the mobile phone 1 sends the short message packet through the same transmission domain (the transmission domain corresponding to the network).
- the sending domain corresponding to the network can be independently stored in the memory 23 of the mobile phone 1.
- the transmission domain corresponding to the network may be stored in the preset correspondence of the memory 23 of the mobile phone 1 as shown in Table 2.
- the processor 22 of the mobile phone 1 transmitting the short message packets Y1, Y2, ..., Yn through the RF circuit 25 to the server of the operator deploying the CDMA network, until the short message packets Y1, Y2, ..., Yn After the transmission is completed, the mobile phone 1 is always resident in the CDMA network, and the long message X is successfully transmitted.
- the operator server receives the short message packets Y1, Y2, ..., Yn, and decapsulates the short message package according to the order of the short message packets. Merge into long SMS X.
- the short message packets Y1, Y2, ..., Yn are not
- the mobile phone 1 is switched to access the LTE network (the third network) supporting the different packet format with the CDMA network due to the location movement, and the processor 22 of the mobile phone 1 stops sending the short message packets Y1, Y2... Yn, the long-message X is split and encapsulated according to the 3GPP format supported by the newly-accessed LTE network.
- the specific process is similar to the foregoing, and is not described here.
- the terminal is the mobile phone illustrated in FIG. 2, which is referred to as the mobile phone 1; the processor 22 of the mobile phone 1 controls the RF circuit 25 to register in the network, and accesses The first network is camped on, and the first network is a GSM network.
- the processor 22 of the mobile phone 1 queries the preset correspondence relationship as shown in Table 1 stored in the memory 23, and obtains the packet format supported by the GSM network accessed by the mobile phone 1 as 3GPP.
- the processor 22 splits and encapsulates the long short message X transmitted by the touch screen 21 into the short message packets X1, X2, ... Xn according to the packet format 3GPP supported by the GSM network accessed by the mobile phone 1.
- the processor 22 transmits the short message packets X1, X2, ... Xn to the server of the operator deploying the GSM network through the RF circuit 25.
- the processor 22 of the mobile phone 1 transmits the short message packets X1, X2, ..., Xn to the server of the operator deploying the GSM network through the RF circuit 25, when the short message packets X1, X2, ..., Xn are not transmitted, the mobile phone 1 is The location is moved, and the GSM network is switched to access the LTE network.
- the processor 22 of the mobile phone 1 queries the preset correspondence relationship as shown in Table 1 stored in the memory 23, and obtains the packet format supported by the LTE network newly accessed by the mobile phone 1 For 3GPP, processor 22, determining that the newly accessed LTE network is the same as the packet format supported by the GSM network accessed before the access handover, and the processor 22 resends the short message packets X1, X2 to the server of the operator deploying the LTE network through the RF circuit 25. ...Xn.
- the LTE network newly accessed by the mobile phone 1 is different from the GSM network corresponding to the GSM network before the handover, and the mobile phone 1 transmits differently.
- the domain (the transmission domain corresponding to the network) sends the short message packets X1, X2, ... Xn to the operator servers of the two networks.
- the sending domain corresponding to the network may be stored in the memory 23 of the mobile phone 1 independently, or the sending domain corresponding to the network may be stored in the preset correspondence of the memory 23 of the mobile phone 1 as shown in Table 2.
- the long message in the long message sending process of the above embodiment, may be sent by creating a short message sender.
- the short message sender may be a functional program code inside the terminal.
- the program code includes a packet format supported by the network corresponding to the short message sender.
- the program code includes a packet format supported by the network corresponding to the short message sender and a corresponding transmission domain.
- the short message is sent by the short message sender, that is, the program code of the short message sender is called, and the long message is split into short message packets according to the packet format included in the program code and sent.
- the specific content of the degree code of the short message sender is not limited in the embodiment of the present application, and may be configured according to actual requirements.
- the terminal is assumed to be the mobile phone illustrated in FIG. 2, and the process of creating a short message sender by the terminal is described in conjunction with FIG. 22.
- the processor 22 of the mobile phone acquires the packet format supported by the network accessed by the RF circuit 25, and the program code of the short message transmitter that creates the packet format supported by the network accessed by the RF circuit 25 is stored in the memory 23 as the network. SMS sender.
- the processor 22 of the mobile phone acquires the packet format supported by the network accessed by the RF circuit 25 and the corresponding transmission domain, and creates a packet format including the network support supported by the RF circuit 25 and a program code of the corresponding short message sender of the transmission domain. It is stored in the memory 23 as a short message sender of the network.
- the terminal accesses different networks due to the change of the mobile location, and the terminal may create a short message sender of multiple different networks for transmitting long short messages in different networks.
- the processor 22 in the mobile phone accesses the network A after being successfully relocated by the RF circuit 25, and the processor 22 in the mobile phone creates the short message transmitter 1 and the short message transmitter 1 according to the packet format 1 supported by the network A.
- the package format 1 is included in the program code.
- the mobile phone receives the long short message input by the user, and then uses the short message sender 1 to send the long short message.
- the specific process includes: splitting the long short message according to the packet format 1 included in the short message sender 1 Encapsulated as a short message packet and sent a short message packet.
- the network B and the network A support different packet formats, and the processor 22 of the mobile phone accesses according to the RF circuit 25.
- the packet format 2 supported by the network B creates a short message sender 2
- the program code of the short message sender 2 includes a packet format 2
- the short message is sent by using the short message sender 2
- the specific process includes: according to the packet included in the short message sender 2 Format 2 packs long SMS splits into SMS packets and sends SMS packets.
- the mobile phone access network B uses the short message sender 2 to send a long short message
- the mobile phone switches back to use the short message sender 1 to resend the long short message.
- the mobile phone access network B uses the short message sender 2 to send a long message
- the RF circuit 25 of the mobile phone moves to the network C
- the network C and the network B support different packet formats
- the processor 22 of the mobile phone According to RF
- the packet format 3 supported by the network C accessed by the circuit 25 creates a short message sender 3.
- the program code of the short message sender 3 includes a packet format 3, and the short message is resent using the short message sender 3.
- the specific process includes: sending according to the short message
- the packet format 3 included in the device 3 packs the long message split into a short message packet and sends the short message packet.
- the specific process of splitting the long message into the short message packet according to the packet format may include: splitting the long message and packaging it into a short message packet according to the packet format.
- the specific process of splitting a long message into a short message packet according to the packet format is not described here.
- the terminal frequently moves, the terminal frequently switches to access different networks, and the long message is frequently split into short message packets according to the packet format supported by different networks, but the long message cannot be completed.
- the method of transmitting the packet is not high.
- the method for sending a long message determines whether the terminal meets the preset condition when the terminal switches to access the second network, and the terminal does not satisfy the preset condition.
- the long short message is split into the second short message packet according to the second packet format supported by the second network, and the second short message packet is sent.
- the method for determining whether the terminal meets the preset condition is first, and when the terminal meets the preset condition, the long message is stopped, and the long message is confirmed. message failed to send.
- the preset condition may include that the duration of sending the long message is greater than or equal to a preset duration.
- the preset condition may include dividing the long message into the short message packet according to different packet formats by a number greater than or equal to a preset threshold.
- the preset duration and the value of the preset threshold may be determined according to actual requirements, which is not specifically limited in this embodiment of the present application.
- the content of the preset conditions can also be configured according to actual needs.
- the preset condition is greater than or equal to the preset duration as an example, and the process of determining whether the terminal satisfies the preset condition and then sending the long message is described. Assume that the terminal accesses the network A, and splits the long short message into the short message packet set A according to the packet format supported by the network A. In the sending process, the terminal moves to access the network B, and the terminal determines that the user input is received from the user. Whether the length of the long message to the moment is greater than or equal to the preset duration.
- the terminal determines that the duration from the receipt of the long message to the moment is less than the preset duration, the terminal does not satisfy the preset condition, and the terminal stops sending the short message packet set A, and splits the long short message according to the packet format supported by the network B. Sent for the SMS packet collection B. If the terminal determines that the duration from the receipt of the long message to the moment is greater than or equal to the preset duration, the terminal satisfies the preset condition, and the terminal stops sending the long message, indicating that the long message transmission fails.
- the preset condition may include a process of splitting a long message into a short message packet according to different packet formats, which is greater than or equal to a preset threshold value, and indicates a process of first determining whether the terminal satisfies a preset condition and then sends a long message.
- the preset threshold is 2.
- the terminal accesses the network A and splits the long message into the short message packet set A according to the packet format supported by the network A.
- the terminal moves to access the network B, and the terminal judges according to the difference.
- the packet format the number of times the long message is split into the short message packet is less than the preset threshold value 2.
- the terminal does not satisfy the preset condition, and the terminal stops sending the short message packet set A, and splits the long short message according to the packet format supported by the network B.
- the SMS packet collection B is sent.
- the terminal moves to access the network C.
- the terminal determines that the number 2 of splitting the long short message into the short message packet according to different packet formats is equal to the preset threshold 2, and the terminal meets the preset condition, and the terminal stops.
- Send the long message indicating that the long message failed to be sent.
- the receiving party decapsulates the short message packet into a long short message X according to the sequence of the short message packet, which is not specifically described in this embodiment of the present application.
- the sequence of the short message packet may be represented by a serial number or other forms, which is not performed by the embodiment of the present application. Specifically limited.
- the method for sending a long message may further include: the terminal prompting the user to send a long message to send a failure.
- the terminal prompts the user to send a long message, and may be used by the user to continue to send the long message or to abandon the long message. If the user chooses to continue to send the long message, the terminal re-sends the long message into the short message packet according to the packet format supported by the network currently accessed by the terminal. The specific process is as described above, and is not described here. If the user chooses to abandon sending the long message, the sending of the long message ends.
- the long message saved in the short message database in the memory 23 may be cleared.
- the long short message saved in the short message database in the memory 23 is saved to the draft box in the memory 23, so that the user can transmit again.
- the processor 22 of the terminal may send the status of the transmission failure to the UI module of the terminal, and the UI module of the terminal presents the interface for the long message transmission failure to the user through the display module 212 in the touch screen 21.
- an interface for sending a long message failure is illustrated, and the interface for sending a long message failure may include an option provided to the user, such as a resend button and a send abandon button, for the user to perform. Further choice.
- the interface for long text transmission failures may include options available to the user, such as buttons for indicating retransmissions and buttons for indicating abandoning transmissions for the user to make further selections.
- options available to the user such as buttons for indicating retransmissions and buttons for indicating abandoning transmissions for the user to make further selections.
- FIG. 6B another interface for transmitting a long short message is illustrated, in which " ⁇ " is used as a button indicating retransmission, and "X" is used as a button indicating abandonment of transmission.
- the method for sending a long message may further include: the terminal clearing the first short message packet that is not sent, to avoid The terminal sends a first short message packet that splits the long short message according to the first packet format to the operator server, and occupies resources.
- the terminal includes corresponding hardware structures and/or software modules for performing various functions.
- the present application can be implemented in a combination of hardware or hardware and computer software in combination with the algorithmic steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
- the embodiment of the present application may divide the function module into the terminal according to the foregoing method example.
- each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
- FIG. 7 is a schematic diagram showing a possible composition of the terminal involved in the foregoing and the embodiment.
- the terminal 70 may include: an access unit 701.
- the access unit 701 is configured to access the network by the terminal 70.
- the splitting unit 702 is configured to split the long message according to the first packet format supported by the first network when the access unit 701 accesses the first network.
- the first short message packet is used by the sending unit 702.
- the sending unit 703 is configured to send the first short message packet split by the splitting unit 702.
- the monitoring unit 704 is configured to: during the sending, by the sending unit 703, the first short message packet, whether the packet format supported by the network accessed by the access unit 701 is changed, and the sending unit 703 is further configured to: in the process of sending the first short message packet, The access unit 701 switches from the first network to the second network, and the monitoring unit 704 detects that the second network supports a second packet format different from the first network, and stops sending the first short message packet; the splitting unit 702 is further used to During the sending of the first short message packet by the sending unit 703, the access unit 701 switches from the first network to the second network, and the monitoring unit 704 detects that the second network supports a second packet format different from the first network, according to The second packet format splits the long message into the second short message packet; the sending unit 703 is further configured to send the second short message packet split by the splitting unit 702.
- the monitoring unit 704 is configured to: obtain, in a preset correspondence, a packet format supported by different networks, to detect whether a packet format supported by the network accessed by the access unit 701 is changed, where the preset correspondence includes At least one packet format supported by the network.
- the sending unit 703 is specifically configured to: in the sending domain corresponding to the first network, sequentially send the first short message packet split by the splitting unit 702; and send the split in sequence in the sending domain corresponding to the second network.
- the terminal 70 may further include: a determining unit 705, configured to determine whether the terminal 70 meets a preset condition.
- the preset condition includes that the duration of sending the long message is greater than or equal to the preset duration, or the preset condition includes the number of times the long message is split into the short message packet according to different packet formats is greater than or equal to a preset threshold.
- the splitting unit 702 is further configured to: if the determining unit 705 determines that the terminal does not meet the preset condition, in the process that the sending unit 703 sends the first short message packet, the access unit 701 switches from the first network. After entering the second network, the monitoring unit 704 detects that the second network supports a second packet format different from the first network, and splits the long message into the second short message packet according to the second packet format.
- the sending unit 703 is further configured to: if the determining unit 705 determines that the terminal does not meet the preset condition, in the process of sending the first short message packet, the access unit 701 switches from the first network to the second network.
- the monitoring unit 704 detects that the second network supports the second packet format different from the first network, stops sending the first short message packet, and sends the second short message packet split by the splitting unit 702.
- the sending unit 703 is further configured to stop sending the long short message if the determining unit 705 determines that the terminal meets the preset condition.
- the terminal 70 may further include: a clearing unit 706, configured to: when the sending unit 703 sends the first short message packet, the access unit 701 switches from the first network to the first The second network, the monitoring unit 704 detects that the second network supports a second packet format different from the first network, and clears the first short message packet split by the unsent splitting unit 702.
- a clearing unit 706 configured to: when the sending unit 703 sends the first short message packet, the access unit 701 switches from the first network to the first The second network, the monitoring unit 704 detects that the second network supports a second packet format different from the first network, and clears the first short message packet split by the unsent splitting unit 702.
- the terminal 70 may further include: a receiving unit 707, configured to receive the long short message input by the user.
- the preset correspondence further includes: a sending domain corresponding to at least one network.
- FIG. 9 shows another type of terminal involved in the above embodiment. Schematic diagram of the composition of energy.
- the terminal 90 can include a processing module 901 and a communication module 902.
- the processing module 901 is configured to control and manage the actions of the terminal 90.
- Communication module 902 is used to support communication of terminal 90 with other network entities.
- the terminal 90 may further include a storage module 903 for storing program codes and data of the terminal 90.
- the processing module 901 can be a processor or a controller. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. Processing module 901 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the communication module 902 can be a transceiver, a transceiver circuit, an RF circuit or a communication interface, and the like.
- the storage module 903 can be a memory.
- the terminal 90 involved in the embodiment of the present application may be the mobile phone shown in FIG.
- the terminal 70 or 90 provided in the embodiment of the present application is configured to execute the long short message sending method described in the foregoing method example, and thus the same effect as the long short message sending method described in the above method example can be achieved.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules or units is only a logical function division.
- there may be another division manner for example, multiple units or components may be used.
- the combination may be integrated into another device, or some features may be ignored or not performed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a readable storage medium.
- the technical solution of the embodiments of the present application may be embodied in the form of a software product in the form of a software product in essence or in the form of a contribution to the prior art, and the software product is stored in a storage medium.
- a number of instructions are included to cause a device (which may be a microcontroller, chip, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例提供一种长短信发送方法及终端,涉及通信领域,确保终端在支持不同封包格式的网络中移动时长短信的成功发送。具体包括:终端接入第一网络,根据第一网络支持的第一封包格式将长短信拆分为第一短信包,发送第一短信包;在发送第一短信包过程中,检测到终端从第一网络切换到第二网络,第二网络支持第二封包格式,该终端停止发送第一短信包,根据第二封包格式将所述长短信拆分为第二短信包,发送第二短信包。
Description
[根据细则91更正 27.12.2017]
本申请要求于2017年10月09日提交中国专利局、申请号为201710931542.4、申请名称为“一种长短信发送方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请要求于2017年10月09日提交中国专利局、申请号为201710931542.4、申请名称为“一种长短信发送方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信领域,尤其涉及一种长短信发送方法及终端。
虽然通信技术飞速发展,但是短消息(Short Messaging Service,SMS)业务依然是用户使用终端时不可获取的业务。
短信在发送到运营商服务器前,终端按照标准协议规定的封包格式,将短信封装成运营商网络支持的数据包格式,然后通过发送域发往运营商服务器,由运营商服务器将短信发送至目的终端。在SMS业务中,将消息长度超过门限的消息称之为长短信。对于长短信,终端是将长短信拆分成多个短信包后按照封包格式封装,每个包中包含了短信包的序号,接收方根据序号把多个短信包合并成一条长短信展现给用户。当前,全球运营商网络支持第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)、3GPP2两种短信封包格式。
在不同的网络制式下,运营商服务器可以支持不同的封包格式。例如,码分多址(Code Division Multiple Access,CDMA)网络运营商在第二代移动通信技术(2nd-Generation,2G)、第三代移动通信技术(3rd-Generation,3G)网络中仅支持3GPP2封包格式的短信并在电路交换(Circuit Switched,CS)域发送,在第四代移动通信技术(4th-Generation,4G)网络中又仅支持3GPP封包格式的短信并在网络协议(Internet Protocol,IP)多媒体子系统(IP Multimedia Subsystem,IMS)域发送。
运营商网络从2G、3G网络升级到4G网络,多种不同网络制式的网络并存是一个必然的阶段,因此,终端移动过程中就存在接入不同制式的网络的情况。但是,现有的终端通常在短信发送前已确定封包格式,终端发送长短信的过程中,若移动接入到不支持已确定的封包格式的网络中,按照已确定的封包格式封装的短信包无法被识别,从而导致长短信发送失败。
发明内容
本申请实施例提供一种长短信发送方法及终端,确保终端在支持不同封包格式的网络中移动时长短信的成功发送。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,提供一种长短信发送方法,包括:终端接入第一网络,根据所述第一网络支持的第一封包格式将长短信拆分为第一短信包,发送第一短信包;在发送第一短信包过程中,检测到终端从第一网络切换到第二网络,第二网络支持第二封包格式,该终端停止发送第一短信包,根据第二封包格式将所述长短信拆分为第二短信包,发送第二短信包。
通过本申请提供的长短信发送方法,在终端发送长短信拆分的短信包的过程中,一旦终端连接的网络支持的封包格式发生变化,则采用新接入网络支持的封包格式重新拆分长短信并发送,保证运营商服务器可以准确识别终端发送的短信包,进而保证终端在支持不同封包格式的网络中移动时长短信的成功发送。
结合第一方面,在一种可能的实现方式中,本申请提供的长短信发送方法还可以包括:终端在预设对应关系中获取不同网络支持的封包格式;其中,预设对应关系包括至少一种网络制式支持的封包格式。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,终端发送第一短信包,具体可以包括:终端在第一网络对应的发送域,依次发送第一短信包。终端发送第二短信包,具体可以包括:终端在第二网络对应的发送域,依次发送第二短信包。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,在根据第二封包格式将长短信拆分为第二短信包,发送第二短信包之前,本申请提供的长短信发送方法还可以包括:终端判断该终端是否满足预设条件;若终端不满足预设条件,终端在发送第一短信包过程中,检测到终端从第一网络切换到第二网络,终端停止发送第一短信包,根据第二封包格式将长短信拆分为第二短信包,发送第二短信包。这样一来,通过预设条件控制终端由于移动切换网络频繁更换封包格式的情况。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,预设条件可以包括发送长短信的时长大于或等于预设时长,或者,预设条件包括根据不同封包格式将长短信拆分为短信包的次数大于或等于预设阈值。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,本申请提供的长短信发送方法还可以包括:若终端满足预设条件,终端停止发送所述长短信。这样一来,通过预设条件控制终端由于移动切换网络频繁更换封包格式的情况,在终端满足预设条件时,停止发送长短信。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,在终端停止发送所述长短信之后,本申请提供的长短信发送方法还可以包括:向终端用户显示长短信发送失败。通过向用户显示发送失败,由用户选择重发或者不处理。
其中,向终端用户显示长短信发送失败,可以通过将发送失败上报给终端的用户界面(User Interface,UI)模块,由UI模块在终端屏幕中展示给用户。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,终端在发送第一短信包过程中,检测到终端从第一网络切换到第二网络,本申请提供的长短信发送方法还可以包括:终端将未发送的第一短信包清除,以避免终端向运营商服务器误发送根据第一封包格式将长短信拆分的第一短信包,占用资源。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,在终端接入第一网络,根据第一网络支持的第一封包格式将长短信拆分为第一短信包,发送第一短信包之前,本申请提供的长短信发送方法还可以包括:终端接收用户输入的长短信。在该实现方式中,第一网络是终端接收到用户输入的长短信时所接入的网络。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,第一网络可以为终端接收到用户输入的长短信之后,由于移动重新接入的任一网络。
结合第一方面或上述任一种可能的实现方式,在另一种可能的实现方式中,预设对应关系还可以包括:至少一种网络对应的发送域。
第二方面,提供一种终端,该终端可以包括接入单元、拆分单元、发送单元、监测单元。其中,所述接入单元用于所述终端接入网络;所述拆分单元用于,在接入单元接入第一网络时,根据第一网络支持的第一封包格式将长短信拆分为第一短信包;发送单元用于发送第一短信包;监测单元用于,在发送单元发送第一短信包过程中,检测接入单元接入的网络支持的封包格式是否变化;发送单元还用于,在发送第一短信包过程中,接入单元从第一网络切换接入到第二网络,监测单元检测到第二网络支持与第一网络不同的第二封包格式,停止发送第一短信包;拆分单元还用于,在发送单元发送第一短信包过程中,接入单元从第一网络切换接入到第二网络,监测单元检测到第二网络支持与第一网络不同的第二封包格式,根据第二封包格式将所述长短信拆分为第二短信包;发送单元还用于发送第二短信包。
通过本申请提供的终端,在终端发送长短信拆分的短信包的过程中,一旦终端连接的网络支持的封包格式发生变化,则采用新接入网络支持的封包格式重新拆分长短信并发送,保证运营商服务器可以准确识别终端发送的短信包,进而保证终端在支持不同封包格式的网络中移动时长短信的成功发送。
结合第二方面,在一种可能的实现方式中,所述监测单元具体用于:在预设对应关系中获取不同网络支持的封包格式,用于检测接入单元接入的网络支持的封包格式是否变化;其中,预设对应关系包括至少一种网络支持的封包格式。
结合第二方面或上述任一种可能的实现方式,在另一种可能的实现方式中,所述发送单元具体用于:在第一网络对应的发送域,依次发送第一短信包;在第二网络对应的发送域,依次发送第二短信包。
结合第二方面或上述任一种可能的实现方式,在另一种可能的实现方式中,该终端还可以包括:判断单元,用于判断终端是否满足预设条件。所述拆分单元还用于,若判断单元判断所述终端不满足预设条件,在发送单元发送第一短信包过程中,接入单元从第一网络切换接入到第二网络,监测单元检测到第二网络支持与第一网络不同的第二封包格式,根据第二封包格式将长短信拆分为第二短信包。
结合第二方面或上述任一种可能的实现方式,在另一种可能的实现方式中,预设条件包括发送长短信的时长大于或等于预设时长,或者,预设条件包括根据不同封包格式将所述长短信拆分为短信包的次数大于或等于预设阈值。
结合第二方面或上述任一种可能的实现方式,在另一种可能的实现方式中,发送单元还可以用于,若判断单元判断所述终端满足预设条件,停止发送长短信。
结合第二方面或上述任一种可能的实现方式,在另一种可能的实现方式中,所述终端还可以包括清除单元,用于在所述发送单元发送所述第一短信包过程中,接入单元从第一网络切换接入到第二网络,监测单元检测到第二网络支持与第一网络不同的第二封包格式,将未发送的第一短信包清除
结合第二方面或上述任一种可能的实现方式,在另一种可能的实现方式中,所述终端还可以包括:接收单元,用于接收所述终端的用户输入的所述长短信。
结合第二方面或上述任一种可能的实现方式,在另一种可能的实现方式中,预设
对应关系还可以包括:至少一种网络对应的发送域。
需要说明的是,本申请第二方面提供的终端,用于实现上述第一方面提供的长短信发送方法,其具体实现可以参考第一方面的具体实现,也可以与第一方面达到相同的效果,此处不再进行赘述。
第三方面,提供另一种终端,该终端包括处理器、存储器和收发器。存储器用于存储计算机执行指令,当终端运行时,处理器调用存储器存储的计算机执行指令,执行上述第一方面或任一种可能的实现方式所述的长短信发送方法。其中,处理器具体用于:接入第一网络,根据第一网络支持的第一封包格式将长短信拆分为第一短信包,通过收发器发送所述第一短信包;在通过收发器发送所述第一短信包过程中,检测到所述终端从第一网络切换到第二网络,第二网络支持第二封包格式,控制收发器停止发送第一短信包,根据第二封包格式将长短信拆分为第二短信包,通过收发器发送第二短信包。
通过本申请提供的终端,在终端发送长短信拆分的短信包的过程中,一旦终端连接的网络支持的封包格式发生变化,则采用新接入网络支持的封包格式重新拆分长短信并发送,保证运营商服务器可以准确识别终端发送的短信包,进而保证终端在支持不同封包格式的网络中移动时长短信的成功发送。
结合第三方面,在一种可能的实现方式中,所述处理器具体用于:在预设对应关系中获取不同网络支持的封包格式,用于检测接入的网络支持的封包格式是否变化;其中,预设对应关系包括至少一种网络支持的封包格式。
结合第三方面或上述任一种可能的实现方式,在另一种可能的实现方式中,所述处理器具体用于:在第一网络对应的发送域,通过收发器依次发送第一短信包;在第二网络对应的发送域,通过收发器依次发送第二短信包。
结合第三方面或上述任一种可能的实现方式,在另一种可能的实现方式中,处理器还可以用于,判断终端是否满足预设条件;处理器具体用于,若判断所述终端不满足预设条件,在通过收发器发送第一短信包过程中,所述终端从第一网络切换接入到第二网络,检测到第二网络支持与第一网络不同的第二封包格式,控制收发器停止发送第一短信包,根据第二封包格式将长短信拆分为第二短信包,通过收发器发送第二短信包。
结合第三方面或上述任一种可能的实现方式,在另一种可能的实现方式中,预设条件包括发送长短信的时长大于或等于预设时长,或者,预设条件包括根据不同封包格式将所述长短信拆分为短信包的次数大于或等于预设阈值。
结合第三方面或上述任一种可能的实现方式,在另一种可能的实现方式中,所述处理器还可以用于,若判断所述终端不满足预设条件,在通过收发器发送第一短信包过程中,所述终端从第一网络切换接入到第二网络,检测到第二网络支持与第一网络不同的第二封包格式,控制收发器停止向运营商服务器发送长短信。
结合第三方面或上述任一种可能的实现方式,在另一种可能的实现方式中,处理器具体用于,在通过收发器发送第一短信包过程中,所述终端从第一网络切换接入到第二网络,检测到第二网络支持与第一网络不同的第二封包格式,将未发送的第一短信包清除。
结合第三方面或上述任一种可能的实现方式,在另一种可能的实现方式中,处理器还可以用于,通过收发器接收用户输入的所述长短信。
结合第三方面或上述任一种可能的实现方式,在另一种可能的实现方式中,预设对应关系还可以包括:至少一种网络对应的发送域。
需要说明的是,本申请第三方面提供的终端,用于实现上述第一方面提供的长短信发送方法,其具体实现可以参考第一方面的具体实现,也可以与第一方面达到相同的效果,此处不再进行赘述。
本申请实施例的第四方面,提供一种计算机存储介质,该计算机存储介质上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面或第一方面的可能的实现方式中任一项所述的长短信发送方法。
本申请实施例的第五方面,提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面或第一方面的可能的实现方式中任一项所述的长短信发送方法。
图1为本申请实施例提供的一种系统架构的简化示意图;
图2为本申请实施例提供的一种手机的组成示意图;
图3为本申请实施例提供的一种长短信发送场景示意图;
图4为本申请实施例提供的另一种长短信发送场景示意图;
图5为本申请实施例提供的再一种长短信发送场景示意图;
图6A为本申请实施例提供的一种长短信发送失败界面的示意图;
图6B为本申请实施例提供的另一种长短信发送失败界面的示意图;
图7为本申请实施例提供的一种终端的结构示意图;
图8为本申请实施例提供的另一种终端的结构示意图;
图9为本申请实施例提供的再一种终端的结构示意图。
本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。例如,第一应用和第二应用为不同的应用。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。
为了能够保证终端在支持不同封包格式的网络中移动时长短信的成功发送,本申请实施例提供一种长短信发送方法,其基本原理是:终端根据其接入的网络支持的封包格式拆分封装长短信并发送,在发送过程中监测接入网络支持的封包格式的变化情况,一旦终端切换接入到支持不同封包格式的另一网络时,终端根据新接入网络支持的封包格式重新封装长短信并发送,从而保证运营商服务器可以准确识别终端发送的短信包,进而保证终端在支持不同封包格式的网络中移动时长短信的成功发送。
下面将结合附图对本申请实施例的实施方式进行详细描述。
图1示出的是可以应用本申请实施例的系统架构的简化示意图。如图1所示,该系统架构中包括至少一个运营商服务器及终端102,例如图1中的运营商服务器101、运营商服务器103。每个运营商服务器按照网络部署,属于不同的制式的网络,不同的制式的网络支持不同的封包格式。每个网络支持的封包格式由网络配置决定,本申请实施例对此不进行具体限定。
示例性的,如图1所示,终端102在注册网络时接入一个网络A,与网络A中部署的运营商服务器101通信实现业务服务;终端102在移动过程中,由于其位置发生变化,切换接入网络B,与网络B中部署的运营商服务器103通信实现业务服务。
其中,运营商服务器101或运营商服务器103可以是无线网络的运营商部署在网络侧的硬件设备,是终端102接入运营商无线网络的入口设备。运营商服务器101或运营商服务器103通过与终端102进行通信,将终端102接入部署的运营商移动网络实现业务应用。需要说明的是,运营商服务器101或运营商服务器103的类型可以根据实际需求部署,本申请实施例对此不进行具体限定。
终端102可以为桌面型、膝上型、平板电脑、手持计算机、手机、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(Personal Digital Assistant,PDA)、专用媒体播放器、消费类电子设备、可穿戴设备、智能手表、智能眼镜、电视机等等。作为一种示例,图1中以终端102是手机为例示出。
需要说明的是,图1示出的系统架构,可以为长期演进(Long Term Evolution,LTE)网络、或者通用移动通信系统(Universal Mobile Telecommunications System,UMTS)网络、或者全球移动通信系统(Global System for Mobile Communication,GSM)网络、或者码分多址(Code Division Multiple Access,CDMA)网络、或者其他网络。对于本申请的方案所应用的网络的类型,本申请实施例对此并不进行具体限定。通信网络的制式可以包括但不限于:CDMA、CDMA1X、GSM、强型数据速率GSM演进技术(Enhanced Data Rate for GSM Evolution,EDGE)、UMTS、LTE等。
在本申请实施例中以终端为手机为例进行说明。下面结合附图对手机的各个构成部件进行具体的介绍:
如图2所示,手机可以包括:触控屏21、处理器22、存储器23、电源24、射频(Radio Frequency,RF)电路25、重力传感器26、音频电路27、扬声器28、麦克风29等部件,这些部件之间可以以总线连接,也可以直连连接。本领域技术人员可以理解,图2中示出的手机结构并不构成对手机的限定,可以包括比图示更多的部件,或者组合某些部件,或者不同的部件布置。
其中,触控屏21可称为触控显示面板,用于实现手机的输入和输出功能,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控屏21上或在触控屏21附近的操作),并根据预先设定的程式驱动相应的连接装置。还可用于显示由用户输入的信息或提供给用户的信息(如通过摄像头采集到的图像)以及手机的各种菜单。例如,可以采用电阻式、电容式、红外光感以及超声波等多种类型实现触控屏21,本发明实施例对此不进行限定。其中,用户在触控屏21附
近的操作可以称之为悬浮触控,能够进行悬浮触控的触控屏可以采用电容式、红外光感以及超声波等实现。例如,用户操作触控屏21输入长短信。
示例性的,在本申请实施例中,触控屏21可以包括检测模块211和显示模块212。其中,检测模块211可以检测出用户对触控屏21的触摸操作,并可以将对触控屏21进行触摸操作后,触控屏21所产生的参数传送给处理器22(示例性的,假设采用电容式实现触控屏21,则检测模块211可以将触控屏21上的变化参数传送给处理器22,该变化参数指的是电容值发生变化的电容的大小、形状、个数以及分布情况),以便于处理器22根据触摸操作进行相应的处理。显示模块212可以显示用户输入的信息、手机提供给用户的信息、手机的各种菜单等。
处理器22是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器23内的软件程序和/或模块,以及调用存储在存储器23内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在具体实现中,作为一种实施例,处理器22可包括一个或多个处理单元;处理器22可集成应用处理器和调制解调处理器。其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器22中。
存储器23可用于存储数据、软件程序以及模块,可以是易失性存储器(Volatile Memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(Non-Volatile Memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(Flash Memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合。具体的,存储器23内可存储程序代码,该程序代码用于使处理器22通过执行该程序代码,执行本申请实施例提供的提示用户更新应用版本的方法。
电源24,可以为电池,通过电源管理系统与处理器22逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
RF电路25可用于收发信息或通话过程中,信号的接收和发送,特别地,将接收到的信息给处理器22处理;另外,将处理器22生成的信号发送出去。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路25还可以通过无线通信与网络和其他设备通信。
重力传感器(Gravity Sensor)26,可以检测手机在各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。需要说明的是,手机还可以包括其它传感器,比如压力传感器、光传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路27、扬声器28、麦克风29可提供用户与手机之间的音频接口。音频电路27可将接收到的音频数据转换后的电信号,传输到扬声器28,由扬声器28转换为声音信号输出;另一方面,麦克风29将收集的声音信号转换为电信号,由音频电路27接收后转换为音频数据,再将音频数据输出至RF电路25以发送给比如另一手机,
或者将音频数据输出至处理器22以便进一步处理。
需要说明的是,本申请实施例中的触发操作可以是在触控屏上操作,如按压操作、长按操作、滑动操作、点击操作等,也可以是用户在触控屏附近的操作,即悬浮触控,本申请实施例在此不做具体限制。
另外,在上述部件之上,运行有操作系统。在该操作系统上可以安装运行应用程序,例如IM应用。且,尽管未示出,手机还可以包括WiFi模块、蓝牙模块、摄像头等部件。其中,WiFi模块,可以是包括WiFi芯片和WiFi芯片的驱动程序的模块,WiFi芯片具备运行无线互联网标准协议的能力。蓝牙模块,是一种集成蓝牙功能的印刷电路板组件(Printed Circuit Board Assembly,PCBA),用于短距离无线通讯。
以下结合附图对本申请实施例提供的长短信发送方法进行具体介绍。
在本申请的一些实施例中,本申请实施例提供的长短信发送方法,在终端接入第一网络时,终端根据第一网络支持的第一封包格式将长短信拆分为第一短信包并发送。在发送第一短信包的过程中,终端由第一网络切换接入至第二网络,第二网络支持与第一封包格式不同的第二封包格式,终端停止发送第一短信包,根据第二封包格式将所述长短信拆分为第二短信包并发送。
需要说明的是,本申请实施例中描述的向运营商服务器发送长短信,可以理解为,在终端接入的网络的制式对应的发送域,向运营商服务器发送根据终端接入的网络支持的封包格式将长短信拆分的短信包。
其中,长短信是指协议定义的长度大于门限值的短信息。在发送长短信时,先将长短信拆分为短信包,再根据封包格式封装的过程,可以采用现有技术中实现,本申请实施例对此不再进行赘述。
其中,终端可以在预设对应关系中获取至少一种网络支持的封包格式。预设对应关系可以包括至少一种网络支持的封包格式。示例性的,如表1所示,示意了一种预设对应关系。
表1
网络 | 支持的封包格式 |
CDMA、CDMA1X | 3GPP2 |
GSM、EDGE、UMTS | 3GPP |
LTE | 3GPP |
…… | …… |
其中,表1示意的预设对应关系所包括的网络中,GSM、EDGE、UMTS为2G网络,CDMA、CDMA1X为3G网络,LTE为4G网络。本申请实施例对于预设对应关系中包括的网络的类型不进行具体限定,表1只是示例说明,并不够成限定。
需要说明的是,表1只是通过示例的形式对预设对应关系进行描述,并不是对预设对应关系的内容及形式的具体限定。
本申请的实施例中,预设对应关系的内容还可以在终端中以字符串的形式保存,本申请实施例对于预设对应关系存储形式不进行具体限定。例如,表1示意的预设对应关系在终端中可以存储为{CDMA、CDMA1X,3GPP2}、{GSM、EDGE、UMTS,3GPP}、{LTE,3GPP}……。
还需要说明的是,预设对应关系中至少一个网络与其支持的封包格式,可以为一对一的形式,也可以为多对一的形式,可以根据实际需求配置预设对应关系的内容,本申请实施例对此不进行具体限定。
在一种可能的实现方式中,终端发送第一短信包,可以实现为:终端在第一网络对应的发送域依次发送第一短信包。终端发送第二短信包,可以实现为:终端在第二网络对应的发送域依次发送第二短信包。
其中,发送域是终端选择的发送短信的网络。终端选择的发送域,取决于终端接入的用于发送短信的网络并与其对应。终端接入的网络对应的发送域也可以预先存储在终端中。可选的,终端接入的网络对应的发送域可以单独存储,也可以存储于上述预设对应关系中,本申请实施例对此不进行具体限定。
可选的,预设对应关系还可以包括:至少一种网络对应的发送域。
示例性的,如表2所示,示意了另一种预设对应关系,该预设对应关系中包括了至少一种网络支持的封包格式,还包括的至少一种网络对应的发送域。
表2
网络 | 支持的封包格式 | 发送域 |
CDMA、CDMA1X | 3GPP2 | CS域 |
GSM、EDGE、UMTS | 3GPP | CS域 |
LTE | 3GPP | IMS域 |
…… | …… | …… |
需要说明的是,表2只是通过示例的形式对预设对应关系进行描述,并不是对预设对应关系的内容及形式的具体限定。发送域可以包括CS域或者IMS域或者其他,本申请实施例对此不进行具体限定。
示例性的,如图3所示,示意了终端发送长短信的一种场景。在该场景中,假设终端为图2示意的手机,称之为手机1。手机1的处理器22控制RF电路25在网络中注册,接入并驻留第一网络,第一网络为GSM网络。在手机1驻留GSM网络时,用户操作手机1的触控屏21输入长短信X,该长短信X传输至手机1的处理器22。手机1的处理器22查询存储器23中保存的如表1示意的预设对应关系,获取手机1接入的GSM网络支持的封包格式为3GPP格式。处理器22根据手机1接入的GSM网络支持的封包格式3GPP格式,将触控屏21传输来的长短信X拆分并封装为短信包X1、X2……Xn。处理器22通过RF电路25向部署该GSM网络的运营商的服务器发送短信包X1、X2……Xn。在一种可能的情况下,如图4所示,在手机1的处理器22通过RF电路25向部署该GSM网络的运营商的服务器发送短信包X1、X2……Xn的过程中,短信包X1、X2……Xn未发送完成时,手机1由于位置移动,由该GSM网络切换接入至CDMA网络(第二网络),手机1的处理器22查询存储器23中保存的如表1示意的预设对应关系,获取手机1新接入的CDMA网络支持的封包格式为3GPP2,处理器22判断新接入的CDMA网络与接入切换前接入的GSM网络支持的封包格式不同,处理器22停止发送短信包X1、X2……Xn,处理器22根据手机1新接入的CDMA网络支持的封包格式3GPP2,将触控屏21传输来的保存在存储器23中的长短信X重新拆分并封装为短信包Y1、Y2……Yn。处理器22通过RF电路25向部署该CDMA
网络的运营商的服务器发送短信包Y1、Y2……Yn。
在一种可能的实现方式中,处理器22通过RF电路25向部署该GSM网络的运营商的服务器发送短信包X1、X2……Xn,可以实现为:处理器22通过RF电路25,在该GSM网络对应的发送域,向部署该GSM网络的运营商的服务器发送短信包X1、X2……Xn。
一种可能的情况下,图3示意的终端发送长短信的场景中,在手机1的处理器22通过RF电路25向部署该GSM网络的运营商的服务器发送短信包X1、X2……Xn的过程中,直至短信包X1、X2……Xn都发送完,手机1一直驻留接入在该GSM网络中,则顺利完成长短信X的发送,运营商服务器接收短信包X1、X2……Xn,根据短信包的顺序将短信包解封装并合并为长短信X。其中,短信包的顺序可以通过序号或者其他形式体现,本申请实施例对此不进行具体限定。
需要说明的是,在图4示意图中,手机1新接入的CDMA网络与切换前接入的GSM网络对应的发送域不同,手机1通过相同的发送域(网络对应的发送域)发送短信包X1、X2……Xn或Y1、Y2……Yn。其中,网络对应的发送域可以独立存储于手机1的存储器23中。或者,网络对应的发送域可以存储于手机1的存储器23中如表2示意的预设对应关系中。
一种可能的情况下,在手机1的处理器22通过RF电路25向部署该CDMA网络的运营商的服务器发送短信包Y1、Y2……Yn的过程中,直至短信包Y1、Y2……Yn都发送完,手机1一直驻留接入在该CDMA网络中,则顺利完成长短信X的发送,运营商服务器接收短信包Y1、Y2……Yn,根据短信包的顺序将短信包解封装并合并为长短信X。
一种可能的情况下,在手机1的处理器22通过RF电路25向部署该CDMA网络的运营商的服务器发送短信包Y1、Y2……Yn的过程中,短信包Y1、Y2……Yn未发送完成时,手机1由于位置移动,由该CDMA网络切换接入至与CDMA网络支持不同封包格式的LTE网络(第三网络),手机1的处理器22则停止发送短信包Y1、Y2……Yn,根据新接入的LTE网络支持的封包格式3GPP格式将长短信X拆分封装再发送,具体过程与前述内容相似,此处不再进行赘述。
在本申请一种可能的实施例中,如图5所示,假设终端为图2示意的手机,称之为手机1;手机1的处理器22控制RF电路25在网络中注册,接入并驻留第一网络,第一网络为GSM网络。在手机1驻留GSM网络时,用户操作手机1的触控屏21输入长短信X,该长短信X传输至手机1的处理器22。手机1的处理器22查询存储器23中保存的如表1示意的预设对应关系,获取手机1接入的GSM网络支持的封包格式为3GPP。处理器22根据手机1接入的GSM网络支持的封包格式3GPP,将触控屏21传输来的长短信X拆分并封装为短信包X1、X2……Xn。处理器22通过RF电路25向部署该GSM网络的运营商的服务器发送短信包X1、X2……Xn。在手机1的处理器22通过RF电路25向部署该GSM网络的运营商的服务器发送短信包X1、X2……Xn的过程中,短信包X1、X2……Xn未发送完成时,手机1由于位置移动,由该GSM网络切换接入至LTE网络,手机1的处理器22查询存储器23中保存的如表1示意的预设对应关系,获取手机1新接入的LTE网络支持的封包格式仍然为3GPP,处理器
22判断新接入的LTE网络与接入切换前接入的GSM网络支持的封包格式相同,处理器22通过RF电路25,重新向部署该LTE网络的运营商的服务器发送短信包X1、X2……Xn。
需要说明的是,在图5示意的场景中,在本申请的一些实施例中,手机1新接入的LTE网络与切换前接入的GSM网络对应的发送域不同,手机1通过不同的发送域(网络对应的发送域)向两个网络的运营商服务器发送短信包X1、X2……Xn。其中,网络对应的发送域可以独立存储于手机1的存储器23中,或者,网络对应的发送域可以存储于手机1的存储器23中如表2示意的预设对应关系中。
在本申请的一些实施例中,在上述实施例的长短信发送过程中,可以通过创建短信发送器来发送长短信。对于不同网络,创建不同的短信发送器,终端接入网络支持的封包格式变化,则重新创建短信发送器,采用新创建的短信发送器发送长短信。其中,短信发送器可以为终端内部的功能性程序代码。程序代码中包括该短信发送器对应的网络支持的封包格式。或者,程序代码中包括该短信发送器对应的网络支持的封包格式和对应的发送域。采用短信发送器发送长短信,即调用短信发送器的程序代码,根据程序代码中包括的封包格式将长短信拆分为短信包并发送。本申请实施例对于短信发送器的程度代码的具体内容不进行限定,可以根据实际需求配置。
示例性的,假设终端为图2示意的手机,结合图22描述终端创建短信发送器的过程。
例如,手机的处理器22获取RF电路25接入的网络支持的封包格式,创建包括RF电路25接入的网络支持的封包格式的短信发送器的程序代码保存于存储器23中,作为该网络的短信发送器。
例如,手机的处理器22获取RF电路25接入的网络支持的封包格式及对应的发送域,创建包括RF电路25接入的网络支持的封包格式及对应的发送域的短信发送器的程序代码,保存于存储器23中,作为该网络的短信发送器。
在一种可能的实现方式中,终端由于移动位置变化,接入不同的网络,终端可以创建多个不同网络的短信发送器,用于在不同的网络中发送长短信。
示例性的,假设手机中的处理器22通过RF电路25驻网成功后接入网络A,手机中的处理器22根据网络A支持的封包格式1,创建短信发送器1,短信发送器1的程序代码中包括封包格式1。在手机接入网络A运行过程中,手机接收到用户输入的长短信,则使用短信发送器1发送长短信,其具体过程包括:根据短信发送器1中包括的封包格式1将长短信拆分封装为短信包并发送短信包。在手机使用短信发送器1发送长短信的过程中,若手机中的RF电路25接入到网络B,网络B与网络A支持不同的封包格式,手机的处理器22根据RF电路25接入的网络B支持的封包格式2,创建短信发送器2,短信发送器2的程序代码中包括封包格式2,使用短信发送器2发送长短信,其具体过程包括:根据短信发送器2中包括的封包格式2将长短信拆分封装为短信包并发送短信包。可选的,在手机接入网络B使用短信发送器2发送长短信过程中,若手机移动接入回网络A,手机切换回使用短信发送器1重新发送长短信。可选的,在手机接入网络B使用短信发送器2发送长短信过程中,若手机的RF电路25移动接入到网络C,网络C与网络B支持不同的封包格式,手机的处理器22根据RF
电路25接入的网络C支持的封包格式3,创建短信发送器3,短信发送器3的程序代码中包括封包格式3,使用短信发送器3重新发送长短信,其具体过程包括:根据短信发送器3中包括的封包格式3将长短信拆分封装为短信包并发送短信包。
需要说明的是,本申请实施例提供的长短信发送方法中,根据封包格式将长短信拆分为短信包的具体过程可以包括:将长短信拆分并根据封包格式封装为短信包。根据封包格式将长短信拆分为短信包的具体过程此处不再进行赘述。
进一步的,在终端频繁移动的场景中,终端频繁发生切换接入不同的网络,则会频繁按照不同的网络支持的封包格式将长短信拆分为短信包并发送,但却无法完成长短信的发送,导致用户体验不高,为了避免该现象,本申请实施例提供的长短信发送方法在终端切换接入到第二网络时,先判断终端是否满足预设条件,在终端不满足预设条件时,根据第二网络支持的第二封包格式将长短信拆分为第二短信包,并发送第二短信包。
进一步的,本申请实施例提供的长短信发送方法在终端切换接入到第二网络时,先判断终端是否满足预设条件,在终端满足预设条件时,停止发送该长短信,确认该长短信发送失败。
其中,该预设条件可以包括发送该长短信的时长大于或等于预设时长。或者,预设条件可以包括根据不同封包格式将长短信拆分为短信包的次数大于或等于预设阈值。
需要说明的是,预设时长以及预设阈值的取值,可以根据实际需求确定,本申请实施例对此不进行具体限定。预设条件的内容,也可以根据实际需求配置。
示例性的,以预设条件为大于或等于预设时长为例,说明先判断终端是否满足预设条件后发送长短信的过程。假设终端接入网络A,根据网络A支持的封包格式将长短信拆分为短信包集合A后发送,在该发送过程中,终端移动接入网络B,此时终端判断从接收到用户输入该长短信至此刻的时长,是否大于或等于预设时长。若终端判断从接收到用户输入该长短信至此刻的时长小于预设时长,终端则不满足预设条件,终端则停止发送短信包集合A,根据网络B支持的封包格式将该长短信拆分为短信包集合B后发送。若终端判断从接收到用户输入该长短信至此刻的时长大于或等于预设时长,终端满足预设条件,终端则停止发送该长短信,提示该长短信发送失败。
示例性的,以预设条件可以包括根据不同封包格式将长短信拆分为短信包的次数大于或等于预设阈值为例,说明先判断终端是否满足预设条件后发送长短信的过程。假设预设阈值为2。假设终端接入网络A,根据网络A支持的封包格式将长短信拆分为短信包集合A后发送,在发送短信包集合A的过程中,终端移动接入网络B,此时终端判断根据不同封包格式将长短信拆分为短信包的次数1小于预设阈值2,终端则不满足预设条件,终端则停止发送短信包集合A,根据网络B支持的封包格式将该长短信拆分为短信包集合B后发送。在发送短信包集合B的过程中,终端移动接入网络C,此时终端判断根据不同封包格式将长短信拆分为短信包的次数2等于预设阈值2,终端满足预设条件,终端停止发送该长短信,提示该长短信发送失败。
需要说明的是,终端发送的短信包由接收方(运营商服务器)接收后,接收方根据短信包的顺序将短信包解封装并合并为长短信X,本申请实施例对此不进行具体赘述。其中,短信包的顺序可以通过序号或者其他形式体现,本申请实施例对此不进行
具体限定。
进一步的,当长短信发送失败后,本申请实施例提供的长短信发送方法还可以包括:终端向用户提示长短信发送失败。
其中,终端向用户提示长短信发送失败,可以用于用户选择继续发送该长短信或者放弃发送该长短信。若用户选择继续发送该长短信,终端根据其当前接入的网络支持的封包格式,重新将长短信拆分为短信包发送,具体过程如前所述,此处不再进行赘述。若用户选择放弃发送该长短信,则结束该长短信的发送。
可选的,结束该长短信的发送时,可以将存储器23中的短信数据库中保存的该长短信清除。或者,将存储器23中的短信数据库中保存的该长短信保存至存储器23中的草稿箱中,便于用户再次发送。
示例性的,终端的处理器22可以将发送失败的状态发送至终端的UI模块,由终端的UI模块通过触控屏21中的显示模块212呈现给用户长短信发送失败的界面。
示例性的,如图6A所示,示意了一种长短信发送失败的界面,该长短信发送失败的界面可以包括向用户提供的可选项,例如重新发送按钮和放弃发送按钮,用于用户进行进一步选择。
示例性的,长短信发送失败的界面可以包括向用户提供的可选项,例如用于表示重新发送的按钮和用于表示放弃发送的按钮,用于用户进行进一步选择。如图6B所示,示意了另一种长短信发送失败的界面,该界面中使用“√”作为表示重新发送的按钮,使用“×”作为表示放弃发送的按钮。
需要说明的是,上述示例只是示例说明长短信发送失败的界面,并不是对该界面内容的具体限定。
进一步可选的,终端在接入与第一网络支持不同封包格式的第二网络时,本申请实施例提供的长短信发送方法还可以包括:终端将未发送的第一短信包清除,以避免终端向运营商服务器误发送根据第一封包格式将长短信拆分的第一短信包,占用资源
上述主要从终端工作原理的角度对本申请实施例提供的方案进行了介绍。可以理解的是,终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对终端进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图7示出了上述和实施例中涉及的终端的一种可能的组成示意图,如图7所示,该终端70可以包括:接入单元701、拆分单元702、发送单元703和监测单元704。
其中,接入单元701用于所述终端70接入网络;拆分单元702用于,在接入单元701接入第一网络时,根据第一网络支持的第一封包格式将长短信拆分为第一短信包;发送单元703用于发送拆分单元702拆分的第一短信包。监测单元704用于,在发送单元703发送第一短信包过程中,检测接入单元701接入的网络支持的封包格式是否变化;发送单元703还用于,在发送第一短信包过程中,接入单元701从第一网络切换接入到第二网络,监测单元704检测到第二网络支持与第一网络不同的第二封包格式,停止发送第一短信包;拆分单元702还用于,在发送单元703发送第一短信包过程中,接入单元701从第一网络切换接入到第二网络,监测单元704检测到第二网络支持与第一网络不同的第二封包格式,根据第二封包格式将长短信拆分为第二短信包;发送单元703还用于发送拆分单元702拆分的第二短信包。
可选的,监测单元704具体用于:在预设对应关系中获取不同网络支持的封包格式,用于检测接入单元701接入的网络支持的封包格式是否变化;其中,预设对应关系包括至少一种网络支持的封包格式。
可选的,所述发送单元703具体可以用于:在第一网络对应的发送域,依次发送拆分单元702拆分的第一短信包;在第二网络对应的发送域,依次发送拆分单元702拆分的第二短信包。
进一步可选的,如图8所示,所述终端70还可以包括:判断单元705,用于判断终端70是否满足预设条件。其中,预设条件包括发送长短信的时长大于或等于预设时长,或者,预设条件包括根据不同封包格式将所述长短信拆分为短信包的次数大于或等于预设阈值。
对应的,所述拆分单元702还可以用于,若判断单元705判断所述终端不满足预设条件,在发送单元703发送第一短信包过程中,接入单元701从第一网络切换接入到第二网络,监测单元704检测到第二网络支持与第一网络不同的第二封包格式,根据第二封包格式将长短信拆分为第二短信包。发送单元703还可以用于,若判断单元705判断所述终端不满足所述预设条件,在发送第一短信包过程中,所述接入单元701从第一网络切换接入到第二网络,监测单元704检测到第二网络支持与第一网络不同的第二封包格式,停止发送所述第一短信包,发送拆分单元702拆分的第二短信包。
进一步的,所述发送单元703还可以用于,若所述判断单元705判断终端满足预设条件,停止发送所述长短信。
进一步可选的,如图8所示,所述终端70还可以包括:清除单元706,用于在发送单元703发送第一短信包过程中,接入单元701从第一网络切换接入到第二网络,所述监测单元704检测到第二网络支持与第一网络不同的第二封包格式,将未发送的拆分单元702拆分的第一短信包清除。
进一步可选的,如图8所示,所述终端70还可以包括:接收单元707,用于接收用户输入的所述长短信。
可选的,所述预设对应关系还包括:至少一种网络对应的发送域。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图9示出了上述实施例中所涉及的终端的另一种可
能的组成示意图。如图9所示,该终端90可以包括:处理模块901和通信模块902。
处理模块901用于对终端90的动作进行控制管理。通信模块902用于支持终端90与其他网络实体的通信。终端90还可以包括存储模块903,用于存储终端90的程序代码和数据。
其中,处理模块901可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理模块901也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块902可以是收发器、收发电路、RF电路或通信接口等。存储模块903可以是存储器。
当处理模块901为处理器,通信模块902为RF电路,存储模块903为存储器时,本申请实施例所涉及的终端90可以为图2所示的手机。
本申请实施例提供的终端70或90,用于执行上述方法示例中描述的长短信发送方法,因此可以达到与上述方法示例中描述的长短信发送方法相同的效果。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因
此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (21)
- 一种长短信发送方法,其特征在于,包括:终端接入第一网络,根据所述第一网络支持的第一封包格式将长短信拆分为第一短信包,发送所述第一短信包;在发送所述第一短信包过程中,检测到所述终端从所述第一网络切换到所述第二网络,所述第二网络支持第二封包格式,所述终端停止发送所述第一短信包,根据所述第二封包格式将所述长短信拆分为第二短信包,发送所述第二短信包。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述终端在预设对应关系中获取不同网络支持的封包格式;其中,所述预设对应关系包括至少一种网络支持的封包格式。
- 根据权利要求1或2所述的方法,其特征在于,所述终端发送所述第一短信包,包括:所述终端在所述第一网络对应的发送域,依次发送所述第一短信包;所述终端发送所述第二短信包,包括:所述终端在所述第二网络对应的发送域,依次发送所述第二短信包。
- 根据权利要求1-3任一项所述的方法,其特征在于,在根据所述第二封包格式将所述长短信拆分为第二短信包步骤之前,所述方法还包括:所述终端判断所述终端是否满足预设条件,若所述终端不满足所述预设条件,执行所述根据所述第二封包格式将所述长短信拆分为所述第二短信包步骤。
- 根据权利要求4所述的方法,其特征在于,所述预设条件包括发送所述长短信的时长大于或等于预设时长,或者,所述预设条件包括根据不同封包格式将所述长短信拆分为短信包的次数大于或等于预设阈值。
- 根据权利要求4或5所述的方法,其特征在于,所述方法还包括:若所述终端满足所述预设条件,所述终端停止发送所述长短信。
- 根据权利要求1-6任一项所述的方法,其特征在于,若所述终端在发送所述第一短信包过程中,检测到所述终端从所述第一网络切换到所述第二网络,所述第二网络支持第二封包格式,所述方法还可以包括:所述终端将未发送的所述第一短信包清除。
- 根据权利要求1-7任一项所述的方法,其特征在于,在所述终端接入所述第一网络,根据所述第一封包格式将所述长短信拆分为第一短信包,发送所述第一短信包之前,所述方法还包括:所述终端接收用户输入的所述长短信。
- 根据权利要求3-8任一项所述的方法,其特征在于,所述预设对应关系还包括:至少一种网络对应的发送域。
- 一种终端,其特征在于,所述终端包括接入单元、拆分单元、发送单元、监测单元;其中,所述接入单元用于所述终端接入网络;所述拆分单元用于,在所述接入单元接入第一网络时,根据所述第一网络支持的第一封包格式将长短信拆分为第一短信包;所述发送单元用于发送所述第一短信包;所述监测单元用于,在所述发送单元发送所述第一短信包过程中,检测所述接入单元接入的网络支持的封包格式是否变化;所述发送单元还用于,在发送所述第一短信包过程中,所述接入单元从所述第一网络切换接入到第二网络,所述监测单元检测到所述第二网络支持与所述第一网络不同的第二封包格式,停止发送所述第一短信包;所述拆分单元还用于,在所述发送单元发送所述第一短信包过程中,所述接入单元从所述第一网络切换接入到第二网络,所述监测单元检测到所述第二网络支持与所述第一网络不同的第二封包格式,根据所述第二封包格式将所述长短信拆分为第二短信包;所述发送单元还用于发送所述第二短信包。
- 根据权利要求10所述的终端,其特征在于,所述监测单元具体用于:在预设对应关系中获取不同网络支持的封包格式,用于检测所述接入单元接入的网络支持的封包格式是否变化;其中,所述预设对应关系包括至少一种网络支持的封包格式。
- 根据权利要求10或11所述的终端,其特征在于,所述发送单元具体用于:在所述第一网络对应的发送域,依次发送所述第一短信包;在所述第二网络对应的发送域,依次发送所述第二短信包。
- 根据权利要求10-12任一项所述的终端,其特征在于,所述终端还包括:判断单元,用于判断所述终端是否满足预设条件;所述拆分单元还用于,若所述判断单元判断所述终端不满足所述预设条件,在所述发送单元发送所述第一短信包过程中,所述接入单元从所述第一网络切换接入到第二网络,所述监测单元检测到所述第二网络支持与所述第一网络不同的第二封包格式,根据所述第二封包格式将所述长短信拆分为第二短信包。
- 根据权利要求13所述的终端,其特征在于,所述预设条件包括发送所述长短信的时长大于或等于预设时长,或者,所述预设条件包括根据不同封包格式将所述长短信拆分为短信包的次数大于或等于预设阈值。
- 根据权利要求13或14所述的终端,其特征在于,所述发送单元还用于:若所述判断单元判断所述终端满足所述预设条件,停止发送所述长短信。
- 根据权利要求10-15任一项所述的终端,其特征在于,所述终端还包括清除单元,用于在所述发送单元发送所述第一短信包过程中,所述接入单元从所述第一网络切换接入到第二网络,所述监测单元检测到所述第二网络支持与所述第一网络不同的第二封包格式,将未发送的所述第一短信包清除。
- 根据权利要求10-16任一项所述的终端,其特征在于,所述终端还包括:接收单元,用于接收用户输入的所述长短信。
- 根据权利要求12-17任一项所述的终端,其特征在于,所述预设对应关系还包括:至少一种网络对应的发送域。
- 一种终端,其特征在于,所述终端包括处理器、存储器和收发器;所述存储器用于存储计算机执行指令,当所述终端运行时,处理器调用所述存储器存储的计算 机执行指令,执行权利要求1-9任一项所述的方法。
- 一种计算机存储介质,所述计算机存储介质上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-9任一项所述的长短信发送方法。
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-9中任一项所述的长短信发送方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201780081301.3A CN110140366B (zh) | 2017-10-09 | 2017-10-13 | 一种长短信发送方法及终端 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710931542 | 2017-10-09 | ||
CN201710931542.4 | 2017-10-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019071593A1 true WO2019071593A1 (zh) | 2019-04-18 |
Family
ID=66101223
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/106145 WO2019071593A1 (zh) | 2017-10-09 | 2017-10-13 | 一种长短信发送方法及终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110140366B (zh) |
WO (1) | WO2019071593A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI748703B (zh) * | 2020-07-23 | 2021-12-01 | 瑞昱半導體股份有限公司 | 封包接收系統以及封包接收方法 |
CN116828405A (zh) * | 2023-08-28 | 2023-09-29 | 北京小米移动软件有限公司 | 短信传输方法及装置、存储介质、终端和网络设备 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110856127A (zh) * | 2019-11-29 | 2020-02-28 | 紫光展讯通信(惠州)有限公司 | 短消息传输方法、装置及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478596A (zh) * | 2009-01-21 | 2009-07-08 | 青岛海信移动通信技术股份有限公司 | 一种双模终端及其超长短信存储方法 |
CN101635892A (zh) * | 2009-08-27 | 2010-01-27 | 中兴通讯股份有限公司 | 一种消息内容统一编解码的方法和综合短信中心系统 |
US20150222530A1 (en) * | 2014-02-03 | 2015-08-06 | International Business Machines Corporation | Using information on a supported one zone configuration setting in data forwarders to determine zone information to send to data forwarders |
CN106102103A (zh) * | 2016-05-27 | 2016-11-09 | 努比亚技术有限公司 | 通话模式切换装置及方法 |
CN106376040A (zh) * | 2016-09-05 | 2017-02-01 | 努比亚技术有限公司 | 通话过程中切换网络制式的方法及装置 |
CN107086951A (zh) * | 2017-04-05 | 2017-08-22 | 中国联合网络通信集团有限公司 | 行业短信的传输方法、短信网关及行业短信接入网关 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022590A (zh) * | 2007-02-14 | 2007-08-22 | 宇龙计算机通信科技(深圳)有限公司 | 实现cdma和gsm网络长短信互通的系统及方法 |
CN102783191B (zh) * | 2011-06-14 | 2016-01-20 | 华为技术有限公司 | 终端切换后发送短信的方法及终端 |
CN103763685B (zh) * | 2014-01-21 | 2017-04-26 | 中国联合网络通信集团有限公司 | 短信发送方法及短信中心 |
CN106804030B (zh) * | 2017-02-15 | 2019-11-19 | 深圳市广和通无线通信软件有限公司 | 短信协议类型配置方法和装置 |
-
2017
- 2017-10-13 CN CN201780081301.3A patent/CN110140366B/zh active Active
- 2017-10-13 WO PCT/CN2017/106145 patent/WO2019071593A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478596A (zh) * | 2009-01-21 | 2009-07-08 | 青岛海信移动通信技术股份有限公司 | 一种双模终端及其超长短信存储方法 |
CN101635892A (zh) * | 2009-08-27 | 2010-01-27 | 中兴通讯股份有限公司 | 一种消息内容统一编解码的方法和综合短信中心系统 |
US20150222530A1 (en) * | 2014-02-03 | 2015-08-06 | International Business Machines Corporation | Using information on a supported one zone configuration setting in data forwarders to determine zone information to send to data forwarders |
CN106102103A (zh) * | 2016-05-27 | 2016-11-09 | 努比亚技术有限公司 | 通话模式切换装置及方法 |
CN106376040A (zh) * | 2016-09-05 | 2017-02-01 | 努比亚技术有限公司 | 通话过程中切换网络制式的方法及装置 |
CN107086951A (zh) * | 2017-04-05 | 2017-08-22 | 中国联合网络通信集团有限公司 | 行业短信的传输方法、短信网关及行业短信接入网关 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI748703B (zh) * | 2020-07-23 | 2021-12-01 | 瑞昱半導體股份有限公司 | 封包接收系統以及封包接收方法 |
CN116828405A (zh) * | 2023-08-28 | 2023-09-29 | 北京小米移动软件有限公司 | 短信传输方法及装置、存储介质、终端和网络设备 |
CN116828405B (zh) * | 2023-08-28 | 2023-11-21 | 北京小米移动软件有限公司 | 短信传输方法及装置、存储介质、终端和网络设备 |
Also Published As
Publication number | Publication date |
---|---|
CN110140366A (zh) | 2019-08-16 |
CN110140366B (zh) | 2021-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018121148A1 (zh) | 一种通信资源选择方法,手持智能终端及接入设备 | |
CN112492704B (zh) | 会话管理方法、装置、终端设备及计算机可读存储介质 | |
CN109716826A (zh) | 接入方法、网络设备、终端设备和amf设备 | |
CN109217995B (zh) | 一种数据处理方法、终端以及基站 | |
WO2018103441A1 (zh) | 一种网络定位方法及终端设备 | |
WO2018036026A1 (zh) | 一种数据传输的方法、基站、目标终端、系统及存储介质 | |
US20170171255A1 (en) | Method and device for establishing a data connection and computer-readable medium | |
CN107439024A (zh) | 来电处理方法、用户设备以及存储介质 | |
CN108540146A (zh) | 一种天线切换的方法、装置及计算机存储介质 | |
CN105792368B (zh) | 一种控制信息处理的方法、相关设备以及系统 | |
WO2019071593A1 (zh) | 一种长短信发送方法及终端 | |
EP3477915B1 (en) | Data migration method and relevant device | |
CN110209434B (zh) | 一种内存管理方法、装置及计算机可读存储介质 | |
CN111800794A (zh) | 解调参考信号位置的确定方法及设备 | |
WO2017049933A1 (zh) | 一种直通呼叫通信方法及终端 | |
WO2017000495A1 (zh) | 一种添加联系人的方法及设备 | |
WO2018103440A1 (zh) | 一种网络定位方法及终端设备 | |
US9965341B2 (en) | Method and device for exchanging data between processes | |
CN109818967B (zh) | 一种通知方法、服务器、移动终端及计算机可读存储介质 | |
CN109089258B (zh) | eSIM卡操作方法、移动终端及eSIM卡设备 | |
CN109219039B (zh) | eSIM卡操作方法、移动终端及eSIM卡设备 | |
CN109257739B (zh) | eSIM卡操作方法、移动终端及eSIM卡设备 | |
CN114158025B (zh) | 设备回连方法和相关装置 | |
WO2017049930A1 (zh) | 一种资源使用方法及终端 | |
CN105282628A (zh) | 一种视频播放的方法和装置 |
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: 17928639 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: 17928639 Country of ref document: EP Kind code of ref document: A1 |