CN110140366A - A kind of long SMS sending method and terminal - Google Patents

A kind of long SMS sending method and terminal Download PDF

Info

Publication number
CN110140366A
CN110140366A CN201780081301.3A CN201780081301A CN110140366A CN 110140366 A CN110140366 A CN 110140366A CN 201780081301 A CN201780081301 A CN 201780081301A CN 110140366 A CN110140366 A CN 110140366A
Authority
CN
China
Prior art keywords
network
short message
terminal
message packet
long sms
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201780081301.3A
Other languages
Chinese (zh)
Other versions
CN110140366B (en
Inventor
张鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN110140366A publication Critical patent/CN110140366A/en
Application granted granted Critical
Publication of CN110140366B publication Critical patent/CN110140366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information 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

Landscapes

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

Abstract

The embodiment of the present application provides a kind of long SMS sending method and terminal, is related to the communications field, it is ensured that long SMS is successfully transmitted when terminal moves in the network for supporting different package formats.Specifically include: terminal accesses first network, and long SMS is split as the first short message packet by the first package format supported according to first network, sends the first short message packet;In sending the first short message packet procedures, detect that terminal is switched to the second network, second network support the second package format from first network, which stops sending the first short message packet, the long SMS is split as the second short message packet according to the second package format, sends the second short message packet.

Description

A kind of long SMS sending method and terminal
[correcting 27.12.2017 according to detailed rules and regulations 91] this application claims Patent Office of the People's Republic of China is submitted on October 09th, 2017, application No. is 201710931542.4, the priority of the Chinese patent application of application entitled " a kind of long SMS sending method and terminal ", entire contents are hereby incorporated by reference in the application.
Technical field
This application involves the communications field more particularly to a kind of long SMS sending methods and terminal.
Background technique
Although the communication technology develops rapidly, short message (Short Messaging Service, SMS) business is still not retrievable business when user's using terminal.
Short message is before being sent to carrier server, terminal is according to package format as defined in standard agreement, short message is packaged into the data packet format of carrier network support, carrier server is then sent to by sending domain, short message is sent to purpose terminal by carrier server.In SMS business, the message that message-length is more than thresholding is referred to as long SMS.For long SMS, terminal is to encapsulate after long SMS to be split into multiple short message packets according to package format, contains the serial number of short message packet in each packet, multiple short message packets are merged into a long SMS according to serial number and are presented to user by recipient.Currently, two kinds of global operator network support third generation partner program (3rd Generation Partnership Project, 3GPP), 3GPP2 short message package formats.
Under different network formats, carrier server can support different package formats.Such as, CDMA (Code Division Multiple Access, CDMA) network operator is in Generation Mobile Telecommunication System technology (2nd-Generation, 2G), 3rd generation mobile communication technology (3rd-Generation, the short message of 3GPP2 package format 3G) is only supported in network and in circuit switching (Circuit Switched, CS) domain is sent, in fourth generation mobile communication technology (4th-Generation, the short message of 3GPP package format 4G) is only supported in network again and in network protocol (Internet Protocol, IP) IP multimedia subsystem, IMS (IP Multimedia Subsy Stem, IMS) domain transmission.
Carrier network is upgraded to 4G network from 2G, 3G network, the network of a variety of different network formats and deposit be a certainty stage, therefore, the case where there is the network of access different systems in terminal moving process.But, during existing terminal usually has determined that package format, terminal send long SMS before short message transmission, if movement is linked into the network for not supporting fixed package format, it can not be identified according to the short message packet that fixed package format encapsulates, send and fail so as to cause long SMS.
Summary of the invention
The embodiment of the present application provides a kind of long SMS sending method and terminal, it is ensured that long SMS is successfully transmitted when terminal moves in the network for supporting different package formats.
In order to achieve the above objectives, embodiments herein adopts the following technical scheme that
In a first aspect, providing a kind of long SMS sending method, comprising: terminal accesses first network, and long SMS is split as the first short message packet by the first package format supported according to the first network, sends the first short message packet;In sending the first short message packet procedures, detect that terminal is switched to the second network, second network support the second package format from first network, which stops sending the first short message packet, the long SMS is split as the second short message packet according to the second package format, sends the second short message packet.
Pass through long SMS sending method provided by the present application, during terminal sends the short message packet that long SMS is split, once the package format of the network support of terminal connection changes, then long SMS is split again and is sent using the package format of new access network support, guarantee that carrier server can accurately identify the short message packet of terminal transmission, and then guarantees being successfully transmitted for long SMS when terminal moves in the network for supporting different package formats.
With reference to first aspect, in one possible implementation, long SMS sending method provided by the present application can also include: that terminal obtains the package format that heterogeneous networks are supported in default corresponding relationship;Wherein, default corresponding relationship includes the package format that at least one network formats are supported.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, terminal sends the first short message packet, and can specifically include: terminal successively sends the first short message packet in the corresponding sending domain of first network.Terminal sends the second short message packet, and can specifically include: terminal successively sends the second short message packet in the corresponding sending domain of the second network.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, long SMS is being split as the second short message packet according to the second package format, before sending the second short message packet, long SMS sending method provided by the present application can also include: that terminal judges whether the terminal meets preset condition;If terminal is unsatisfactory for preset condition, terminal detects that terminal is switched to the second network from first network, terminal stops sending the first short message packet in sending the first short message packet procedures, long SMS is split as the second short message packet according to the second package format, sends the second short message packet.So, the case where package format frequently being replaced due to mobile handoff network by preset condition controlling terminal.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, preset condition may include sending the duration of long SMS more than or equal to preset duration, alternatively, preset condition includes that the number that long SMS is split as short message packet is greater than or equal to preset threshold according to different package formats.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, if long SMS sending method provided by the present application can also include: that terminal meets preset condition, terminal stops sending the long SMS.So, the case where frequently replacing package format due to mobile handoff network by preset condition controlling terminal stops sending long SMS when terminal meets preset condition.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, after terminal stops sending the long SMS, long SMS sending method provided by the present application can also include: to show that long SMS sends failure to terminal user.Failure is sent by showing to user, by user's Selective resending or is not handled.
Wherein, it shows that long SMS sends failure to terminal user, user can be showed in terminal screen by UI module by the way that reporting failure will be sent to user interface (User Interface, UI) module of terminal.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, terminal is in sending the first short message packet procedures, detect that terminal is switched to the second network from first network, long SMS sending method provided by the present application can also include: that terminal removes the first not sent short message packet, the the first short message packet for splitting long SMS according to the first package format is accidentally sent to carrier server to avoid terminal, occupies resource.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, first network is accessed in terminal, long SMS is split as the first short message packet according to the first package format that first network is supported, before sending the first short message packet, long SMS sending method provided by the present application can also include: the long SMS that terminal receives user's input.In this implementation, first network is that terminal receives the network accessed when the long SMS that user inputs.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, after first network can receive the long SMS of user's input for terminal, due to the mobile any network accessed again.
With reference to first aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, default corresponding relationship can also include: the corresponding sending domain of at least one network.
Second aspect provides a kind of terminal, which may include access unit, split cells, transmission unit, monitoring unit.Wherein, the access unit is used for the accessing terminal to network;The split cells is used for, and when access unit accesses first network, long SMS is split as the first short message packet according to the first package format that first network is supported;Transmission unit is for sending the first short message packet;Monitoring unit is used for, and is sent in the first short message packet procedures in transmission unit, and whether the package format of the network support of detection access unit access changes;Transmission unit is also used to, and in sending the first short message packet procedures, access unit is linked into the second network from first network switching, and monitoring unit detects the second network support second package format different from first network, stops sending the first short message packet;Split cells is also used to, it is sent in the first short message packet procedures in transmission unit, access unit is linked into the second network from first network switching, monitoring unit detects the second network support second package format different from first network, and the long SMS is split as the second short message packet according to the second package format;Transmission unit is also used to send the second short message packet.
Pass through terminal provided by the present application, during terminal sends the short message packet that long SMS is split, once the package format of the network support of terminal connection changes, then long SMS is split again and is sent using the package format of new access network support, guarantee that carrier server can accurately identify the short message packet of terminal transmission, and then guarantees being successfully transmitted for long SMS when terminal moves in the network for supporting different package formats.
In conjunction with second aspect, in one possible implementation, the monitoring unit is specifically used for: the package format that heterogeneous networks are supported is obtained in default corresponding relationship, for detecting whether the package format of network support of access unit access changes;Wherein, default corresponding relationship includes the package format of at least one network support.
In conjunction with second aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, the transmission unit is specifically used for: in the corresponding sending domain of first network, successively sending the first short message packet;In the corresponding sending domain of the second network, the second short message packet is successively sent.
In conjunction with second aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, which can also include: judging unit, for judging whether terminal meets preset condition.The split cells is also used to, if judging unit judges that the terminal is unsatisfactory for preset condition, it is sent in the first short message packet procedures in transmission unit, access unit is linked into the second network from first network switching, monitoring unit detects the second network support second package format different from first network, and long SMS is split as the second short message packet according to the second package format.
In conjunction with second aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, preset condition includes sending the duration of long SMS more than or equal to preset duration, alternatively, preset condition includes that the number that the long SMS is split as short message packet is greater than or equal to preset threshold according to different package formats.
In conjunction with second aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, transmission unit be can be also used for, if judging unit judges that the terminal meets preset condition, stop sending long SMS.
In conjunction with second aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, the terminal can also include clearing cell, for being sent in the first short message packet procedures in the transmission unit, access unit is linked into the second network from first network switching, monitoring unit detects the second network support second package format different from first network, and the first not sent short message packet is removed
In conjunction with second aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, the terminal can also include: receiving unit, the long SMS that the user for receiving the terminal inputs.
In conjunction with second aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, preset Corresponding relationship can also include: the corresponding sending domain of at least one network.
It should be noted that, the terminal that the application second aspect provides, for realizing the long SMS sending method that above-mentioned first aspect provides, specific implementation can refer to the specific implementation of first aspect, identical effect can also be reached with first aspect, no longer repeated herein.
The third aspect provides another terminal, which includes processor, memory and transceiver.Memory is for storing computer executed instructions, and when terminal operating, processor calls the computer executed instructions of memory storage, executes long SMS sending method described in above-mentioned first aspect or any possible implementation.Wherein, processor is specifically used for: long SMS is split as the first short message packet according to the first package format that first network is supported, sends the first short message packet by transceiver by access first network;In sending the first short message packet procedures by transceiver, detect that the terminal is switched to the second network from first network, second network support the second package format, transceiver is controlled to stop sending the first short message packet, long SMS is split as the second short message packet according to the second package format, the second short message packet is sent by transceiver.
Pass through terminal provided by the present application, during terminal sends the short message packet that long SMS is split, once the package format of the network support of terminal connection changes, then long SMS is split again and is sent using the package format of new access network support, guarantee that carrier server can accurately identify the short message packet of terminal transmission, and then guarantees being successfully transmitted for long SMS when terminal moves in the network for supporting different package formats.
In conjunction with the third aspect, in one possible implementation, the processor is specifically used for: the package format that heterogeneous networks are supported is obtained in default corresponding relationship, for detecting whether the package format of network support of access changes;Wherein, default corresponding relationship includes the package format of at least one network support.
In conjunction with the third aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, the processor is specifically used for: in the corresponding sending domain of first network, the first short message packet is successively sent by transceiver;In the corresponding sending domain of the second network, the second short message packet is successively sent by transceiver.
In conjunction with the third aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, processor be can be also used for, and judge whether terminal meets preset condition;Processor is specifically used for, if judging, the terminal is unsatisfactory for preset condition, it is sent in the first short message packet procedures by transceiver, the terminal is linked into the second network from first network switching, detect the second network support second package format different from first network, it controls transceiver to stop sending the first short message packet, long SMS is split as by the second short message packet according to the second package format, the second short message packet is sent by transceiver.
In conjunction with the third aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, preset condition includes sending the duration of long SMS more than or equal to preset duration, alternatively, preset condition includes that the number that the long SMS is split as short message packet is greater than or equal to preset threshold according to different package formats.
In conjunction with the third aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, the processor can be also used for, if judging, the terminal is unsatisfactory for preset condition, it is sent in the first short message packet procedures by transceiver, the terminal is linked into the second network from first network switching, detects that the second network support second package format different from first network, control transceiver stop sending long SMS to carrier server.
In conjunction with the third aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, processor is specifically used for, it is sent in the first short message packet procedures by transceiver, the terminal is linked into the second network from first network switching, it detects the second network support second package format different from first network, the first not sent short message packet is removed.
In conjunction with the third aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, processor be can be also used for, and the long SMS of user's input is received by transceiver.
In conjunction with the third aspect or any of the above-described kind of possible implementation, in alternatively possible implementation, default corresponding relationship can also include: the corresponding sending domain of at least one network.
It should be noted that, the terminal that the application third aspect provides, for realizing the long SMS sending method that above-mentioned first aspect provides, specific implementation can refer to the specific implementation of first aspect, identical effect can also be reached with first aspect, no longer repeated herein.
The fourth aspect of the embodiment of the present application, a kind of computer storage medium is provided, it is stored with computer program in the computer storage medium, the long SMS sending method as described in any one of possible implementation of first aspect or first aspect is realized when which is executed by processor.
5th aspect of the embodiment of the present application, provides a kind of computer program product, when computer program product is run on computers, so that computer executes the long SMS sending method as described in any one of possible implementation of first aspect or first aspect.
Detailed description of the invention
Fig. 1 is a kind of rough schematic view of system architecture provided by the embodiments of the present application;
Fig. 2 is a kind of composition schematic diagram of mobile phone provided by the embodiments of the present application;
Fig. 3 is that a kind of long SMS provided by the embodiments of the present application sends schematic diagram of a scenario;
Fig. 4 is that another long SMS provided by the embodiments of the present application sends schematic diagram of a scenario;
Fig. 5 is that another long SMS provided by the embodiments of the present application sends schematic diagram of a scenario;
Fig. 6 A is the schematic diagram that a kind of long SMS provided by the embodiments of the present application sends failure interface;
Fig. 6 B is the schematic diagram that another long SMS provided by the embodiments of the present application sends failure interface;
Fig. 7 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of another terminal provided by the embodiments of the present application;
Fig. 9 is the structural schematic diagram of another terminal provided by the embodiments of the present application.
Specific embodiment
Term " first " and " second " in the description of the present application and attached drawing etc. are or for distinguishing the different disposal to same target, rather than to be used for the particular order of description object for distinguishing different objects.For example, the first application and the second application are different applications.
In the embodiment of the present application, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.Be described as in the embodiment of the present application " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as than other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words be intended to that related notion is presented in specific ways, be easy to understand.
Long SMS is successfully transmitted when in order to guarantee that terminal moves in the network for supporting different package formats, the embodiment of the present application provides a kind of long SMS sending method, the basic principle is that: terminal splits encapsulation long SMS according to the package format of the network support of its access and sends, the situation of change of the package format of monitoring access network support in transmission process, when terminal switching is linked into another network for supporting different package formats, terminal Reseals long SMS according to the package format of new access network support and sends, to guarantee that carrier server can accurately identify the short message packet of terminal transmission, long SMS is successfully transmitted when guarantee terminal moves in the network for supporting different package formats in turn.
It is described in detail below in conjunction with embodiment of the attached drawing to the embodiment of the present application.
Shown in fig. 1 is the rough schematic view that can apply the system architecture of the embodiment of the present application.As shown in Figure 1, including at least one carrier server and terminal 102, carrier server 101, the carrier server 103 of example as shown in figure 1 in the system architecture.Each carrier server is disposed according to network, belongs to the network of different standards, the different package format of the network support of different standards.The package format of each network support is determined that the embodiment of the present application is to this without specifically limiting by network configuration.
Illustratively, it as shown in Figure 1, terminal 102 accesses a network A in registered network, is communicated with the carrier server 101 disposed in network A and realizes business service;Terminal 102 is in moving process, and since its position changes, switching and network access B is communicated with the carrier server 103 disposed in network B and realized business service.
Wherein, carrier server 101 or carrier server 103 can be hardware device of the operator deployment in network side of wireless network, be the access devices of 102 access carrier wireless network of terminal.Carrier server 101 or carrier server 103 realize service application by being communicated with terminal 102, by the operator mobile network of the access deployment of terminal 102.It should be noted that the type of carrier server 101 or carrier server 103 can dispose according to actual needs, the embodiment of the present application is to this without specifically limiting.
Terminal 102 can be desktop type, on knee, tablet computer, handheld computer, mobile phone, laptop, Ultra-Mobile PC (Ultra-mobile Personal Computer, UMPC), net book, and cellular phone, personal digital assistant (Personal Digital Assistant, PDA), specialized media player, electronic equipment for consumption, wearable device, smartwatch, intelligent glasses, television set etc..As an example, in Fig. 1 with terminal 102 be mobile phone be exemplify.
It should be noted that, system architecture shown in fig. 1, it can be long term evolution (Long Term Evolution, LTE) network or Universal Mobile Communication System (Universal Mobile Telecommunications System, UMTS) network or global system for mobile communications (Global System for Mobile Communication, GSM) network or CDMA (Code Division Multiple Access, CDMA) network or other networks.The type of network applied by scheme for the application, the embodiment of the present application is to this and without specifically limiting.The standard of communication network can include but is not limited to: CDMA, CDMA1X, GSM, strong type Data for GSM Evolution (Enhanced Data Rate for GSM Evolution, EDGE), UMTS, LTE etc..
It is illustrated taking the terminal as an example in the embodiment of the present application.Each component parts of mobile phone is specifically introduced with reference to the accompanying drawing:
As shown in Figure 2, mobile phone may include: touch screen 21, processor 22, memory 23, power supply 24, radio frequency (Radio Frequency, RF) the components such as circuit 25, gravity sensor 26, voicefrequency circuit 27, loudspeaker 28, microphone 29, it can be connected, direct-connected can also be connected with bus between these components.It will be understood by those skilled in the art that handset structure shown in Figure 2 does not constitute the restriction to mobile phone, it may include perhaps combining certain components or different component layouts than illustrating more components.
Wherein, touch screen 21 can be described as touch-control display panel, function is output and input for realizing mobile phone, the touch operation (for example user uses the operations of any suitable object or attachment on touch screen 21 or near touch screen 21 such as finger, stylus) of collectable user on it or nearby, and corresponding attachment device is driven according to preset formula.It can also be used to show information input by user or be supplied to the information (as by camera acquired image) of user and the various menus of mobile phone.For example, can realize touch screen 21 using multiple types such as resistance-type, condenser type, infrared light sensation and ultrasonic waves, the embodiment of the present invention is to this without limiting.Wherein, user is attached in touch screen 21 Close operation can be referred to as suspension touch control, and the touch screen for being able to carry out suspension touch control can be realized using condenser type, infrared light sensation and ultrasonic wave etc..For example, user's operation touch screen 21 inputs long SMS.
Illustratively, in the embodiment of the present application, touch screen 21 may include detection module 211 and display module 212.Wherein, detection module 211 can detecte out touch operation of the user to touch screen 21, and after can carrying out touch operation to touch screen 21, it is (illustrative that parameter caused by touch screen 21 sends processor 22 to, assuming that realizing touch screen 21 using condenser type, then detection module 211 can send the running parameter on touch screen 21 to processor 22, the running parameter refers to size, shape, number and the distribution situation of the changed capacitor of capacitance), in order to which processor 22 is performed corresponding processing according to touch operation.Display module 212 can show that the information of user's input, mobile phone are supplied to the information of user, various menus of mobile phone etc..
Processor 22 is the control centre of mobile phone, utilize the various pieces of various interfaces and connection whole mobile phone, by running or executing the software program and/or module that are stored in memory 23, and call the data being stored in memory 23, the various functions and processing data for executing mobile phone, to carry out integral monitoring to mobile phone.In the concrete realization, as one embodiment, processor 22 may include one or more processing units;Processor 22 can integrate application processor and modem processor.Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 22.
Memory 23 can be used for storing data, software program and module, can be volatile memory (Volatile Memory), such as random access memory (Random-Access Memory, RAM);Or nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive,) or solid state hard disk (Solid-State Drive, SSD) HDD;Or the combination of the memory of mentioned kind.Specifically, program storage code in memory 23, which executes the method that prompt user provided by the embodiments of the present application updates application version for making processor 22 by executing the program code.
Power supply 24 can be battery, logically contiguous by power-supply management system and processor 22, to realize the functions such as management charging, electric discharge and power managed by power-supply management system.
RF circuit 25 can be used for receiving and sending messages or communication process in, signal sends and receivees, and particularly, the information received is handled to processor 22;In addition, the signal that processor 22 generates is sent.In general, RF circuit includes but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 25 can also be communicated with network and other equipment by wireless communication.
Gravity sensor (Gravity Sensor) 26, it can detecte the size of mobile phone (generally three axis) acceleration in all directions, size and the direction that can detect that gravity when static can be used to identify application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) of mobile phone posture etc..It should be noted that mobile phone can also include the other sensors such as other sensors, such as pressure sensor, optical sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 27, loudspeaker 28, microphone 29 can provide the audio interface between user and mobile phone.Electric signal after the audio data received conversion can be transferred to loudspeaker 28 by voicefrequency circuit 27, be converted to voice signal output by loudspeaker 28;On the other hand, the voice signal of collection is converted to electric signal by microphone 29, is converted to audio data after being received by voicefrequency circuit 27, then audio data is exported to RF circuit 25 to be sent to such as another mobile phone, Or audio data is exported to processor 22 to be further processed.
It should be noted that, trigger action in the embodiment of the present application can be to be operated on touch screen, such as pressing operation, long press operation, slide, clicking operation, is also possible to operation of the user near touch screen, that is suspension touch control, the embodiment of the present application are not particularly limited herein.
In addition, operation has operating system on above-mentioned component.It can be applied in the operating system with installation and operation application program, such as IM.And although being not shown, mobile phone can also include the components such as WiFi module, bluetooth module, camera.Wherein, WiFi module, can be the module of the driver including WiFi chip and WiFi chip, and WiFi chip has the ability of operation wireless internet standard agreement.Bluetooth module is a kind of printed circuit-board assembly (Printed Circuit Board Assembly, PCBA) of integrated Bluetooth function, is used for short-distance wireless communication.
Long SMS sending method provided by the embodiments of the present application is specifically introduced below in conjunction with attached drawing.
In some embodiments of the present application, long SMS sending method provided by the embodiments of the present application, when terminal accesses first network, long SMS is split as the first short message packet and sent by the first package format that terminal is supported according to first network.During sending the first short message packet, terminal accesses to the second network by first network switching, second network support, the second package format different from the first package format, terminal stop sending the first short message packet, the long SMS are split as the second short message packet according to the second package format and is sent.
It should be noted that, long SMS is sent to carrier server described in the embodiment of the present application, it is to be understood that the corresponding sending domain of standard of the network in terminal access, the short message packet that the package format for sending the network support accessed according to terminal to carrier server splits long SMS.
Wherein, long SMS refers to that the length of protocol definition is greater than the short message of threshold value.When sending long SMS, long SMS is first split as short message packet, it, can be using realizing in the prior art further according to the process of package format encapsulation, the embodiment of the present application no longer repeats this.
Wherein, terminal can obtain the package format of at least one network support in default corresponding relationship.Default corresponding relationship may include the package format of at least one network support.Illustratively, as shown in table 1, a kind of default corresponding relationship is illustrated.
Table 1
Network The package format of support
CDMA、CDMA1X 3GPP2
GSM、EDGE、UMTS 3GPP
LTE 3GPP
…… ……
Wherein, in network included by the default corresponding relationship that table 1 is illustrated, GSM, EDGE, UMTS are 2G network, and CDMA, CDMA1X are 3G network, and LTE is 4G network.The embodiment of the present application is for presetting the type of the network for including in corresponding relationship without specifically limiting, and table 1 only illustrates, and not enough at restriction.
It should be noted that table 1 is described default corresponding relationship simply by exemplary form, it is not the specific restriction to the content and form of default corresponding relationship.
In embodiments herein, the content for presetting corresponding relationship can also be saved in the form of character string in the terminal, and the embodiment of the present application is for default corresponding relationship storage form without specifically limiting.For example, the default corresponding relationship that table 1 is illustrated is can store in the terminal as { CDMA, CDMA1X, 3GPP2 }, { GSM, EDGE, UMTS, 3GPP }, { LTE, 3GPP } ....
It should be noted that, the package format that at least one network is supported with it in default corresponding relationship, can be one-to-one form, or many-to-one form, the content of default corresponding relationship can be configured according to actual needs, and the embodiment of the present application is to this without specifically limiting.
In one possible implementation, terminal sends the first short message packet, may be implemented are as follows: terminal successively sends the first short message packet in the corresponding sending domain of first network.Terminal sends the second short message packet, may be implemented are as follows: terminal successively sends the second short message packet in the corresponding sending domain of the second network.
Wherein, sending domain is the network of the transmission short message of terminal selection.The sending domain of terminal selection, the network for sending short message accessed depending on terminal are simultaneously corresponding.The corresponding sending domain of network of terminal access can also be stored in advance in the terminal.Optionally, the corresponding sending domain of network of terminal access can be stored individually, be stored in above-mentioned default corresponding relationship, the embodiment of the present application is to this without specifically limiting.
Optionally, default corresponding relationship can also include: the corresponding sending domain of at least one network.
Illustratively, as shown in table 2, another default corresponding relationship is illustrated, includes the package format of at least one network support in the default corresponding relationship, the corresponding sending domain of also included at least one network.
Table 2
Network The package format of support Sending domain
CDMA、CDMA1X 3GPP2 The domain CS
GSM、EDGE、UMTS 3GPP The domain CS
LTE 3GPP IMS domain
…… …… ……
It should be noted that table 2 is described default corresponding relationship simply by exemplary form, it is not the specific restriction to the content and form of default corresponding relationship.Sending domain may include the domain CS or IMS domain or other, the embodiment of the present application is to this without specifically limiting.
Illustratively, as shown in figure 3, illustrating a kind of scene that terminal sends long SMS.In this scenario, it is assumed that terminal is the mobile phone of Fig. 2 signal, referred to as mobile phone 1.The processor 22 of mobile phone 1 controls RF circuit 25 and registers in a network, accesses and be resident first network, first network is GSM network.When mobile phone 1 is resident GSM network, the touch screen 21 of user's operation mobile phone 1 inputs long SMS X, and long SMS X is transmitted to the processor 22 of mobile phone 1.The processor 22 of mobile phone 1 inquires the default corresponding relationship illustrated such as table 1 saved in memory 23, and obtaining the package format that the GSM network that mobile phone 1 accesses is supported is 3GPP format.The long SMS X that the transmission of touch screen 21 comes is split and is encapsulated as short message packet X1, X2 ... Xn by the package format 3GPP format that processor 22 is supported according to the GSM network that mobile phone 1 accesses.Processor 22 sends short message packet X1, X2 ... Xn to the server for the operator for disposing the GSM network by RF circuit 25.In a kind of possible situation, as shown in Figure 4, short message packet X1 is sent to the server for the operator for disposing the GSM network by RF circuit 25 in the processor 22 of mobile phone 1, during X2 ... Xn, short message packet X1, when the not sent completion of X2 ... Xn, mobile phone 1 is mobile due to position, cdma network (the second network) is accessed to by GSM network switching, the processor 22 of mobile phone 1 inquires the default corresponding relationship illustrated such as table 1 saved in memory 23, obtaining the package format that the cdma network that mobile phone 1 newly accesses is supported is 3GPP2, processor 22 judges that the cdma network newly accessed is different from the package format that the GSM network that access switches preceding access is supported, processor 22 stops sending short message packet X1, X2 ... Xn, 22 basis of processor The long SMS X being stored in memory 23 that the transmission of touch screen 21 comes is split again and is encapsulated as short message packet Y1, Y2 ... Yn by the package format 3GPP2 that the cdma network that mobile phone 1 newly accesses is supported.Processor 22 passes through RF circuit 25 to the deployment CDMA The server of the operator of network sends short message packet Y1, Y2 ... Yn.
In one possible implementation, processor 22 sends short message packet X1, X2 ... Xn to the server for the operator for disposing the GSM network by RF circuit 25, it may be implemented are as follows: processor 22 passes through RF circuit 25, in the corresponding sending domain of the GSM network, short message packet X1, X2 ... Xn are sent to the server for the operator for disposing the GSM network.
In a kind of possible situation, the terminal of Fig. 3 signal is sent in the scene of long SMS, during the processor 22 of mobile phone 1 sends short message packet X1, X2 ... Xn to the server for the operator for disposing the GSM network by RF circuit 25, until short message packet X1, X2 ... Xn have been sent, mobile phone 1 is resident always access in the GSM network, then smoothly complete the transmission of long SMS X, carrier server receives short message packet X1, X2 ... Xn, decapsulates short message packet according to the sequence of short message packet and merges into long SMS X.Wherein, the sequence of short message packet can be embodied by serial number or other forms, and the embodiment of the present application is to this without specifically limiting.
It should be noted that, in Fig. 4 schematic diagram, the cdma network that mobile phone 1 newly accesses and the corresponding sending domain of GSM network accessed before switching are different, and mobile phone 1 sends short message packet X1, X2 ... Xn or Y1, Y2 ... Yn by identical sending domain (the corresponding sending domain of network).Wherein, the corresponding sending domain of network can be with separate storage in the memory 23 of mobile phone 1.Alternatively, the corresponding sending domain of network can store in the memory 23 of mobile phone 1 as in the default corresponding relationship of the signal of table 2.
In a kind of possible situation, during the processor 22 of mobile phone 1 sends short message packet Y1, Y2 ... Yn to the server for the operator for disposing the cdma network by RF circuit 25, until short message packet Y1, Y2 ... Yn have been sent, mobile phone 1 is resident always access in the cdma network, then smoothly complete the transmission of long SMS X, carrier server receives short message packet Y1, Y2 ... Yn, decapsulates short message packet according to the sequence of short message packet and merges into long SMS X.
In a kind of possible situation, short message packet Y1 is sent to the server for the operator for disposing the cdma network by RF circuit 25 in the processor 22 of mobile phone 1, during Y2 ... Yn, short message packet Y1, when the not sent completion of Y2 ... Yn, mobile phone 1 is mobile due to position, the LTE network (third network) that different package formats are supported from cdma network is accessed to by cdma network switching, the processor 22 of mobile phone 1 then stops sending short message packet Y1, Y2 ... Yn, long SMS X is split encapsulation and retransmited by the package format 3GPP format supported according to the LTE network newly accessed, detailed process is similar to foregoing teachings, it is no longer repeated herein.
In a kind of possible embodiment of the application, as shown in fig. 5, it is assumed that terminal is the mobile phone of Fig. 2 signal, referred to as mobile phone 1;The processor 22 of mobile phone 1 controls RF circuit 25 and registers in a network, accesses and be resident first network, first network is GSM network.When mobile phone 1 is resident GSM network, the touch screen 21 of user's operation mobile phone 1 inputs long SMS X, and long SMS X is transmitted to the processor 22 of mobile phone 1.The processor 22 of mobile phone 1 inquires the default corresponding relationship illustrated such as table 1 saved in memory 23, and obtaining the package format that the GSM network that mobile phone 1 accesses is supported is 3GPP.The long SMS X that the transmission of touch screen 21 comes is split and is encapsulated as short message packet X1, X2 ... Xn by the package format 3GPP that processor 22 is supported according to the GSM network that mobile phone 1 accesses.Processor 22 sends short message packet X1, X2 ... Xn to the server for the operator for disposing the GSM network by RF circuit 25.During the processor 22 of mobile phone 1 sends short message packet X1, X2 ... Xn to the server for the operator for disposing the GSM network by RF circuit 25, when the not sent completion of short message packet X1, X2 ... Xn, mobile phone 1 is mobile due to position, LTE network is accessed to by GSM network switching, the processor 22 of mobile phone 1 inquires the default corresponding relationship illustrated such as table 1 saved in memory 23, it obtains the package format that the LTE network that mobile phone 1 newly accesses is supported and remains as 3GPP, processor The package format that the GSM network that the LTE network that 22 judgements newly access accesses before switching with access is supported is identical, and processor 22 sends short message packet X1, X2 ... Xn to the server for the operator for disposing the LTE network again by RF circuit 25.
It should be noted that, in the scene of Fig. 5 signal, in some embodiments of the present application, the LTE network that mobile phone 1 newly accesses and the corresponding sending domain of GSM network accessed before switching are different, and mobile phone 1 sends short message packet X1, X2 ... Xn to the carrier server of two networks by different sending domain (the corresponding sending domain of network).Wherein, the corresponding sending domain of network can be with separate storage in the memory 23 of mobile phone 1, alternatively, the corresponding sending domain of network can store in the memory 23 of mobile phone 1 as in the default corresponding relationship of the signal of table 2.
In some embodiments of the present application, in the long SMS transmission process of above-described embodiment, long SMS can be sent by creation short message sender.For heterogeneous networks, different short message senders is created, the package format change that accessing terminal to network is supported then re-creates short message sender, sends long SMS using newly created short message sender.Wherein, short message sender can be the functional programs code of terminal inner.It include the package format of the corresponding network support of the short message sender in program code.Alternatively, package format and corresponding sending domain in program code including the corresponding network support of the short message sender.Long SMS is sent using short message sender, that is, calls the program code of short message sender, long SMS is split as by short message packet according to the package format for including in program code and is sent.The embodiment of the present application for the program code of short message sender particular content without limit, can configure according to actual needs.
Illustratively, it is assumed that terminal is the mobile phone of Fig. 2 signal, and the process of terminal creation short message sender is described in conjunction with Figure 22.
For example, the processor 22 of mobile phone obtains the package format for the network support that RF circuit 25 accesses, creation includes that the program code of the short message sender of the package format for the network support that RF circuit 25 accesses is stored in memory 23, the short message sender as the network.
Such as, the package format for the network support that the acquisition RF circuit 25 of processor 22 of mobile phone accesses and corresponding sending domain, creation includes the program code of the package format for the network support that RF circuit 25 accesses and the short message sender of corresponding sending domain, it is stored in memory 23, the short message sender as the network.
In one possible implementation, terminal accesses different networks, terminal can create the short message sender of multiple and different networks, for sending long SMS in different networks due to shift position variation.
Illustratively, it is assumed that processor 22 in mobile phone is stayed net by RF circuit 25 and is successfully followed by into network A, the package format 1 that the processor 22 in mobile phone is supported according to network A, creates short message sender 1, including package format 1 in the program code of short message sender 1.In mobile phone access network A operational process, mobile phone receives the long SMS of user's input, long SMS then is sent using short message sender 1, detailed process includes: that long SMS fractionation is encapsulated as short message packet according to the package format 1 for including and sends short message packet in short message sender 1.During mobile phone sends long SMS using short message sender 1, if the RF circuit 25 in mobile phone is linked into network B, network B supports different package formats from network A, the package format 2 that the processor 22 of mobile phone is supported according to the network B that RF circuit 25 accesses, create short message sender 2, it include package format 2 in the program code of short message sender 2, long SMS is sent using short message sender 2, detailed process includes: that long SMS fractionation is encapsulated as short message packet according to the package format 2 for including and sends short message packet in short message sender 2.Optionally, during mobile phone access network B sends long SMS using short message sender 2, if mobile phone is mobile to access back network A, mobile phone, which is switched back into, retransmits long SMS using short message sender 1.Optionally, during mobile phone access network B sends long SMS using short message sender 2, if the movement of RF circuit 25 of mobile phone is linked into network C, network C supports different package formats from network B, and the processor 22 of mobile phone is according to RF The package format 3 that the network C that circuit 25 accesses is supported, create short message sender 3, it include package format 3 in the program code of short message sender 3, long SMS is retransmitted using short message sender 3, detailed process includes: that long SMS fractionation is encapsulated as short message packet according to the package format 3 for including and sends short message packet in short message sender 3.
It by the detailed process that long SMS is split as short message packet may include: that long SMS is split and short message packet is encapsulated as according to package format according to package format it should be noted that in long SMS sending method provided by the embodiments of the present application.The detailed process that long SMS is split as short message packet is no longer repeated herein according to package format.
Further, in the scene that terminal frequently moves, terminal, which frequently switches, accesses different networks, then long SMS frequently can be split as short message packet according to the package format of different network supports and sent, but it is unable to complete the transmission of long SMS, cause user experience not high, in order to avoid the phenomenon, long SMS sending method provided by the embodiments of the present application is when terminal switching is linked into the second network, first judge whether terminal meets preset condition, when terminal is unsatisfactory for preset condition, long SMS is split as the second short message packet according to the second package format of the second network support, and send the second short message packet.
Further, long SMS sending method provided by the embodiments of the present application first judges whether terminal meets preset condition when terminal switching is linked into the second network, when terminal meets preset condition, stops sending the long SMS, confirms that the long SMS sends failure.
Wherein, which may include sending the duration of the long SMS more than or equal to preset duration.Alternatively, preset condition may include that the number that long SMS is split as short message packet is greater than or equal to preset threshold according to different package formats.
It should be noted that the value of preset duration and preset threshold, can determine according to actual needs, the embodiment of the present application is to this without specifically limiting.The content of preset condition can also configure according to actual needs.
Illustratively, by taking preset condition is more than or equal to preset duration as an example, illustrate first to judge the process that long SMS is sent after whether terminal meets preset condition.Assuming that accessing terminal to network A, it is sent after long SMS is split as short message packet set A according to the package format that network A is supported, in the transmission process, terminal mobile access network B, terminal judges to input the long SMS to duration this moment from receiving user at this time, if is greater than or equal to preset duration.If terminal judge from receive user input the long SMS to duration this moment be less than preset duration, terminal is then unsatisfactory for preset condition, terminal then stops sending short message packet set A, sends after the long SMS is split as short message packet set B according to the package format that network B is supported.If terminal judges to be greater than or equal to preset duration from receiving user and input the long SMS to duration this moment, terminal meets preset condition, and terminal then stops sending the long SMS, and the long SMS is prompted to send failure.
Illustratively, by preset condition may include long SMS is split as according to different package formats short message packet number be greater than or equal to preset threshold for, illustrate first to judge the process that long SMS is sent after whether terminal meets preset condition.Assuming that preset threshold is 2.Assuming that accessing terminal to network A, it is sent after long SMS is split as short message packet set A according to the package format that network A is supported, during sending short message packet set A, terminal mobile access network B, terminal judges that the number 1 that long SMS is split as short message packet is less than preset threshold 2 according to different package formats at this time, terminal is then unsatisfactory for preset condition, and terminal then stops sending short message packet set A, send after the long SMS is split as short message packet set B according to the package format that network B is supported.During sending short message packet set B, terminal mobile access network C, terminal judges that the number 2 that long SMS is split as short message packet is equal to preset threshold 2 according to different package formats at this time, and terminal meets preset condition, terminal stops sending the long SMS, and the long SMS is prompted to send failure.
It should be noted that short message packet is decapsulated and is merged into long SMS X according to the sequence of short message packet by recipient, and the embodiment of the present application is to this without specifically repeating after the short message packet that terminal is sent is received by recipient (carrier server).Wherein, the sequence of short message packet can be embodied by serial number or other forms, the embodiment of the present application to this without It is specific to limit.
Further, after long SMS, which is sent, to fail, long SMS sending method provided by the embodiments of the present application can also include: that terminal prompts the user with long SMS transmission failure.
Wherein, terminal prompts the user with long SMS and sends failure, can be used for user's selection and continues to send the long SMS or abandon sending the long SMS.If user's selection continues to send the long SMS, long SMS is split as short message packet again and sent, detailed process is as previously mentioned, no longer repeated herein by terminal according to the package format of its network support being currently accessed.If user's selection is abandoned sending the long SMS, terminate the transmission of the long SMS.
Optionally, when terminating the transmission of the long SMS, the long SMS saved in the note data library in memory 23 can be removed.Alternatively, saving the long SMS saved in the note data library in memory 23 in the draft into memory 23, sent again convenient for user.
Illustratively, the state for sending failure can be sent to the UI module of terminal by the processor 22 of terminal, be presented to the user the interface that long SMS sends failure by the display module 212 in touch screen 21 by the UI module of terminal.
Illustratively, as shown in Figure 6A, a kind of interface of long SMS transmission failure is illustrated, the interface which sends failure may include the option provided a user, such as retransmits button and abandon send button, further be selected for user.
Illustratively, the interface that long SMS sends failure may include the option provided a user, such as the button for indicating to retransmit and the button for indicating to abandon sending, and further be selected for user.As shown in Figure 6B, the interface that another long SMS sends failure is illustrated, uses " √ " as the button for indicating to retransmit in the interface, uses "×" as the button for indicating to abandon sending.
It should be noted that above-mentioned example is the interface for illustrating long SMS and sending failure, it is not the specific restriction to the interface content.
It is further alternative, terminal is when access supports the second network of different package formats from first network, long SMS sending method provided by the embodiments of the present application can also include: that terminal removes the first not sent short message packet, the the first short message packet for splitting long SMS according to the first package format is accidentally sent to carrier server to avoid terminal, occupies resource
It is above-mentioned that mainly scheme provided by the embodiments of the present application is described from the angle of terminal works principle.It is understood that terminal is in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software module.Those skilled in the art should be readily appreciated that, algorithm steps described in conjunction with the examples disclosed in the embodiments of the present disclosure, and the application can be realized with the combining form of hardware or hardware and computer software.Some function is executed in a manner of hardware or computer software driving hardware actually, specific application and design constraint depending on technical solution.Professional technician can use different methods to achieve the described function each specific application, but this realization is it is not considered that exceed scope of the present application.
Two or more functions can also be integrated in a processing module according to the division that above method example carries out functional module to terminal for example, each functional module of each function division can be corresponded to by the embodiment of the present application.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It should be noted that being schematically that only a kind of logical function partition, there may be another division manner in actual implementation to the division of module in the embodiment of the present application.
In the case where each function division of use correspondence each functional module, Fig. 7 shows a kind of possible composition schematic diagram of terminal involved in above-mentioned and embodiment, as shown in fig. 7, the terminal 70 may include: access unit 701, split cells 702, transmission unit 703 and monitoring unit 704.
Wherein, access unit 701 accesses network for the terminal 70;Split cells 702 is used for, and when access unit 701 accesses first network, long SMS is split as the first short message packet according to the first package format that first network is supported;Transmission unit 703 is used to send the first short message packet of the fractionation of split cells 702.Monitoring unit 704 is used for, and is sent in the first short message packet procedures in transmission unit 703, and whether the package format for the network support that detection access unit 701 accesses changes;Transmission unit 703 is also used to, and in sending the first short message packet procedures, access unit 701 is linked into the second network from first network switching, and monitoring unit 704 detects the second network support second package format different from first network, stops sending the first short message packet;Split cells 702 is also used to, it is sent in the first short message packet procedures in transmission unit 703, access unit 701 is linked into the second network from first network switching, monitoring unit 704 detects the second network support second package format different from first network, and long SMS is split as the second short message packet according to the second package format;Transmission unit 703 is also used to send the second short message packet of the fractionation of split cells 702.
Optionally, monitoring unit 704 is specifically used for: the package format that heterogeneous networks are supported is obtained in default corresponding relationship, for detecting whether the package format of network support of the access of access unit 701 changes;Wherein, default corresponding relationship includes the package format of at least one network support.
Optionally, the transmission unit 703 specifically can be used for: in the corresponding sending domain of first network, successively send the first short message packet that split cells 702 is split;In the corresponding sending domain of the second network, the second short message packet that split cells 702 is split successively is sent.
It is further alternative, as shown in figure 8, the terminal 70 can also include: judging unit 705, for judging whether terminal 70 meets preset condition.Wherein, preset condition includes sending the duration of long SMS more than or equal to preset duration, alternatively, preset condition includes that the number that the long SMS is split as short message packet is greater than or equal to preset threshold according to different package formats.
It is corresponding, the split cells 702 can be also used for, if judging unit 705 judges that the terminal is unsatisfactory for preset condition, it is sent in the first short message packet procedures in transmission unit 703, access unit 701 is linked into the second network from first network switching, monitoring unit 704 detects the second network support second package format different from first network, and long SMS is split as the second short message packet according to the second package format.Transmission unit 703 can be also used for, if judging unit 705 judges that the terminal is unsatisfactory for the preset condition, in sending the first short message packet procedures, the access unit 701 is linked into the second network from first network switching, monitoring unit 704 detects the second network support second package format different from first network, stop sending the first short message packet, sends the second short message packet that split cells 702 is split.
Further, the transmission unit 703 can be also used for, if the judging unit 705 judges that terminal meets preset condition, stop sending the long SMS.
It is further alternative, as shown in Figure 8, the terminal 70 can also include: clearing cell 706, for being sent in the first short message packet procedures in transmission unit 703, access unit 701 is linked into the second network from first network switching, the monitoring unit 704 detects the second network support second package format different from first network, and the first short message packet that not sent split cells 702 is split is removed.
It is further alternative, as shown in figure 8, the terminal 70 can also include: receiving unit 707, for receiving the long SMS of user's input.
Optionally, the default corresponding relationship further include: the corresponding sending domain of at least one network.
It should be noted that all related contents for each step that above method embodiment is related to can quote the function description of corresponding function module, details are not described herein.
Using integrated unit, the another kind that Fig. 9 shows terminal involved in above-described embodiment can The composition schematic diagram of energy.As shown in figure 9, the terminal 90 may include: processing module 901 and communication module 902.
Processing module 901 is for carrying out control management to the movement of terminal 90.Communication module 902 is used to support the communication of terminal 90 Yu other network entities.Terminal 90 can also include memory module 903, for storing the program code and data of terminal 90.
Wherein, processing module 901 can be processor or controller.It, which may be implemented or executes, combines various illustrative logic blocks, module and circuit described in present disclosure.Processing module 901 is also possible to realize the combination of computing function, such as combines comprising one or more microprocessors, DSP and the combination of microprocessor etc..Communication module 902 can be transceiver, transmission circuit, RF circuit or communication interface etc..Memory module 903 can be memory.
When processing module 901 is processor, communication module 902 is RF circuit, and when memory module 903 is memory, terminal 90 involved in the embodiment of the present application can be mobile phone shown in Fig. 2.
Terminal 70 or 90 provided by the embodiments of the present application for executing long SMS sending method described in above method example, therefore can achieve effect identical with long SMS sending method described in above method example.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for convenience and simplicity of description, only the example of the division of the above functional modules, in practical application, it can according to need and be completed by different functional modules above-mentioned function distribution, i.e., the internal structure of device is divided into different functional modules, to complete all or part of the functions described above.
In several embodiments provided herein, it should be understood that disclosed device and method may be implemented in other ways.Such as, the apparatus embodiments described above are merely exemplary, such as, the division of the module or unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components may be combined or can be integrated into another device, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, and component shown as a unit can be a physical unit or multiple physical units, it can and it is in one place, or may be distributed over multiple and different places.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in each embodiment of the application can integrate in one processing unit, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, can store in a read/write memory medium.Based on this understanding, substantially all or part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products the technical solution of the embodiment of the present application in other words, the software product is stored in a storage medium, it is used including some instructions so that an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) execute all or part of the steps of each embodiment the method for the application.And storage medium above-mentioned includes: the various media that can store program code such as USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, and any change or replacement within the technical scope of the present application should all be covered within the scope of protection of this application.Cause This, the protection scope of the application should be based on the protection scope of the described claims.

Claims (21)

  1. A kind of long SMS sending method characterized by comprising
    Terminal accesses first network, and long SMS is split as the first short message packet by the first package format supported according to the first network, sends the first short message packet;
    In sending the first short message packet procedures, detect that the terminal is switched to second network from the first network, the second package of second network support format, the terminal stops sending the first short message packet, the long SMS is split as the second short message packet according to the second package format, sends the second short message packet.
  2. The method according to claim 1, wherein the method also includes:
    The terminal obtains the package format that heterogeneous networks are supported in default corresponding relationship;Wherein, the default corresponding relationship includes the package format of at least one network support.
  3. Method according to claim 1 or 2, which is characterized in that
    The terminal sends the first short message packet, comprising:
    The terminal successively sends the first short message packet in the corresponding sending domain of the first network;
    The terminal sends the second short message packet, comprising:
    The terminal successively sends the second short message packet in the corresponding sending domain of second network.
  4. Method according to claim 1-3, which is characterized in that
    Before the long SMS is split as the second short message packet step according to the second package format, the method also includes: the terminal judges whether the terminal meets preset condition, if the terminal is unsatisfactory for the preset condition, execution is described to be split as the second short message packet step for the long SMS according to the second package format.
  5. According to the method for claim 4, it is characterized in that, the preset condition includes sending the duration of the long SMS more than or equal to preset duration, alternatively, the preset condition includes that the number that the long SMS is split as short message packet is greater than or equal to preset threshold according to different package formats.
  6. Method according to claim 4 or 5, which is characterized in that the method also includes: if the terminal meets the preset condition, the terminal stops sending the long SMS.
  7. Method according to claim 1-6, it is characterized in that, if the terminal detects that the terminal is switched to second network from the first network in sending the first short message packet procedures, the second package of second network support format, the method can also include:
    The terminal removes not sent the first short message packet.
  8. Method according to claim 1-7, which is characterized in that the first network is accessed in the terminal, the long SMS is split as by the first short message packet according to the first package format, before sending the first short message packet, the method also includes:
    The terminal receives the long SMS of user's input.
  9. According to the described in any item methods of claim 3-8, which is characterized in that the default corresponding relationship further include: the corresponding sending domain of at least one network.
  10. A kind of terminal, which is characterized in that the terminal includes access unit, split cells, transmission unit, monitoring unit;Wherein,
    The access unit is used for the accessing terminal to network;
    The split cells is used for, and when the access unit accesses first network, long SMS is split as the first short message packet according to the first package format that the first network is supported;
    The transmission unit is for sending the first short message packet;
    The monitoring unit is used for, and is sent in the first short message packet procedures in the transmission unit, and whether the package format for detecting the network support of the access unit access changes;
    The transmission unit is also used to, in sending the first short message packet procedures, the access unit is linked into the second network from first network switching, the monitoring unit detects second network support, the second package format different from the first network, stops sending the first short message packet;
    The split cells is also used to, it is sent in the first short message packet procedures in the transmission unit, the access unit is linked into the second network from first network switching, the monitoring unit detects second network support, the second package format different from the first network, and the long SMS is split as the second short message packet according to the second package format;
    The transmission unit is also used to send the second short message packet.
  11. Terminal according to claim 10, which is characterized in that the monitoring unit is specifically used for:
    The package format that heterogeneous networks are supported is obtained in default corresponding relationship, for detecting whether the package format of network support of the access unit access changes;Wherein, the default corresponding relationship includes the package format of at least one network support.
  12. Terminal described in 0 or 11 according to claim 1, which is characterized in that the transmission unit is specifically used for:
    In the corresponding sending domain of the first network, the first short message packet is successively sent;
    In the corresponding sending domain of second network, the second short message packet is successively sent.
  13. The described in any item terminals of 0-12 according to claim 1, which is characterized in that the terminal further include:
    Judging unit, for judging whether the terminal meets preset condition;
    The split cells is also used to, if the judging unit judges that the terminal is unsatisfactory for the preset condition, it is sent in the first short message packet procedures in the transmission unit, the access unit is linked into the second network from first network switching, the monitoring unit detects second network support, the second package format different from the first network, and the long SMS is split as the second short message packet according to the second package format.
  14. Terminal according to claim 13, it is characterized in that, the preset condition includes sending the duration of the long SMS more than or equal to preset duration, alternatively, the preset condition includes that the number that the long SMS is split as short message packet is greater than or equal to preset threshold according to different package formats.
  15. Terminal described in 3 or 14 according to claim 1, which is characterized in that the transmission unit is also used to:
    If the judging unit judges that the terminal meets the preset condition, stop sending the long SMS.
  16. The described in any item terminals of 0-15 according to claim 1, which is characterized in that
    The terminal further includes clearing cell, for being sent in the first short message packet procedures in the transmission unit, the access unit is linked into the second network from first network switching, the monitoring unit detects second network support, the second package format different from the first network, and not sent the first short message packet is removed.
  17. The described in any item terminals of 0-16 according to claim 1, which is characterized in that the terminal further include:
    Receiving unit, for receiving the long SMS of user's input.
  18. The described in any item terminals of 2-17 according to claim 1, which is characterized in that the default corresponding relationship further include: the corresponding sending domain of at least one network.
  19. A kind of terminal, which is characterized in that the terminal includes processor, memory and transceiver;The memory is for storing computer executed instructions, and when the terminal operating, processor calls the calculating of the memory storage Machine executes instruction, and perform claim requires the described in any item methods of 1-9.
  20. A kind of computer storage medium is stored with computer program in the computer storage medium, which is characterized in that such as claim 1-9 described in any item long SMS sending methods are realized when the computer program is executed by processor.
  21. A kind of computer program product, which is characterized in that when the computer program product is run on computers, so that the computer executes long SMS sending method as claimed in any one of claims 1-9 wherein.
CN201780081301.3A 2017-10-09 2017-10-13 Long short message sending method and terminal Active CN110140366B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN2017109315424 2017-10-09
CN201710931542 2017-10-09
PCT/CN2017/106145 WO2019071593A1 (en) 2017-10-09 2017-10-13 Method for sending long text messages and terminal

Publications (2)

Publication Number Publication Date
CN110140366A true CN110140366A (en) 2019-08-16
CN110140366B CN110140366B (en) 2021-05-11

Family

ID=66101223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780081301.3A Active CN110140366B (en) 2017-10-09 2017-10-13 Long short message sending method and terminal

Country Status (2)

Country Link
CN (1) CN110140366B (en)
WO (1) WO2019071593A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110856127A (en) * 2019-11-29 2020-02-28 紫光展讯通信(惠州)有限公司 Short message transmission method, device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973338A (en) * 2020-07-23 2022-01-25 瑞昱半导体股份有限公司 Packet receiving system and packet receiving method
CN116828405B (en) * 2023-08-28 2023-11-21 北京小米移动软件有限公司 Short message transmission method and device, storage medium, terminal and network equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022590A (en) * 2007-02-14 2007-08-22 宇龙计算机通信科技(深圳)有限公司 System and method for realizing CDMA and GSM network long and short message intercommunication
CN101478596A (en) * 2009-01-21 2009-07-08 青岛海信移动通信技术股份有限公司 Dual mode terminal and ultralong short message storage method
CN101635892A (en) * 2009-08-27 2010-01-27 中兴通讯股份有限公司 Method for uniformly coding and decoding message contents and integrated short message center system
CN102783191A (en) * 2011-06-14 2012-11-14 华为技术有限公司 Method and terminal for sending message afte terminal switchover
CN103763685A (en) * 2014-01-21 2014-04-30 中国联合网络通信集团有限公司 Method for sending short message and short message center
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
CN106376040A (en) * 2016-09-05 2017-02-01 努比亚技术有限公司 Method and device for switching network types in conversation process
CN106804030A (en) * 2017-02-15 2017-06-06 深圳市广和通无线通信软件有限公司 Short message protocol type configuration method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102103A (en) * 2016-05-27 2016-11-09 努比亚技术有限公司 Call mode switching device and method
CN107086951B (en) * 2017-04-05 2019-12-03 中国联合网络通信集团有限公司 Transmission method, Short Message Service Gateway and the industry short message access gateway of industry short message

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022590A (en) * 2007-02-14 2007-08-22 宇龙计算机通信科技(深圳)有限公司 System and method for realizing CDMA and GSM network long and short message intercommunication
CN101478596A (en) * 2009-01-21 2009-07-08 青岛海信移动通信技术股份有限公司 Dual mode terminal and ultralong short message storage method
CN101635892A (en) * 2009-08-27 2010-01-27 中兴通讯股份有限公司 Method for uniformly coding and decoding message contents and integrated short message center system
CN102783191A (en) * 2011-06-14 2012-11-14 华为技术有限公司 Method and terminal for sending message afte terminal switchover
CN103763685A (en) * 2014-01-21 2014-04-30 中国联合网络通信集团有限公司 Method for sending short message and short message center
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
CN106376040A (en) * 2016-09-05 2017-02-01 努比亚技术有限公司 Method and device for switching network types in conversation process
CN106804030A (en) * 2017-02-15 2017-06-06 深圳市广和通无线通信软件有限公司 Short message protocol type configuration method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110856127A (en) * 2019-11-29 2020-02-28 紫光展讯通信(惠州)有限公司 Short message transmission method, device and storage medium

Also Published As

Publication number Publication date
CN110140366B (en) 2021-05-11
WO2019071593A1 (en) 2019-04-18

Similar Documents

Publication Publication Date Title
US9344838B2 (en) Data transmission method and apparatus, and terminal with touch screen
CN106714207B (en) A kind of information processing method and terminal device
CN112492704B (en) Session management method, device, terminal equipment and computer readable storage medium
CN104636664B (en) Cross-site scripting attack leak detection method and device based on DOM Document Object Model
CN106507482B (en) A kind of network locating method and terminal device
CN104519485A (en) Communication method between terminals, devices and system
CN103677899A (en) Method and device for installing application programs
CN109217995B (en) Data processing method, terminal and base station
CN103501259A (en) Packet loss detection method and detector
CN106302808A (en) Data transmission method and mobile terminal
CN103473092A (en) Method and device for processing downloaded applications and terminal equipment
CN104407804A (en) Screen capturing method and screen capturing device as well as electronic device
CN104965716A (en) Icon updating method, client apparatus, and terminal apparatus
CN104850406A (en) Page switching method and device
WO2017096909A1 (en) Data connection establishing method and apparatus
CN106254043A (en) Method, base station and the target terminal of a kind of data transmission
CN103177217B (en) A kind of file scanning method, system and client and server
CN104967608A (en) Method of playing multimedia file, mobile terminal and fixing terminal
CN110140366A (en) A kind of long SMS sending method and terminal
CN106507269A (en) A kind of data migration method and terminal device
CN105530239A (en) Multimedia data obtaining method and device
CN106658353A (en) Data migration method and mobile equipment
CN106454975A (en) Hotspot network switching method and terminal equipment
CN106445739A (en) Data migration method and terminal device
EP3477915A1 (en) Data migration method and relevant device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant