CN105472582A - Short message sensing method and apparatus, and terminal equipment - Google Patents
Short message sensing method and apparatus, and terminal equipment Download PDFInfo
- Publication number
- CN105472582A CN105472582A CN201510811382.0A CN201510811382A CN105472582A CN 105472582 A CN105472582 A CN 105472582A CN 201510811382 A CN201510811382 A CN 201510811382A CN 105472582 A CN105472582 A CN 105472582A
- Authority
- CN
- China
- Prior art keywords
- short message
- sending
- target short
- internet
- sending mode
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 230000001413 cellular effect Effects 0.000 claims abstract description 172
- 230000005540 biological transmission Effects 0.000 description 36
- 238000010586 diagram Methods 0.000 description 20
- 238000012545 processing Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 239000002699 waste material Substances 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the disclosure discloses a short message sensing method and apparatus, and terminal equipment. After a server obtains a to-be-sent target short message, at least one sending way of a cellular network sending network and an internet sending way is determined; and then the target short message is sent by using the determined sending way. According to the provided method, the target short message is sent by using at least one of the cellular network sending network and the internet sending way, so that the sending success rate of the target short message is improved and the timing short message can be sent to a receiving side successfully.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a short message sending method, an apparatus, and a terminal device.
Background
Along with the rapid development of science and technology, the functions of the intelligent terminal are more and more abundant, and the user experience is higher and higher. For example, many current smart phones support a timed sms function.
The timing short message refers to a short message which can be sent by a user at a preset time, and the time, the receiver and the content of the short message for sending the short message can be preset by the user. When the time reaches the time preset by the user, the mobile phone can automatically send the set short message content to the preset receiver without manual sending by the user.
In the related art, the timing short message is sent through the cellular network, but if the mobile phone is in a power-off state when the timing short message is sent, the mobile phone cannot send the timing short message under the situation, which brings inconvenience to users.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a short message sending method, device and terminal device.
In order to solve the technical problem, the embodiment of the present disclosure discloses the following technical solutions:
according to a first aspect of the embodiments of the present disclosure, a short message sending method is provided, which is applied to a terminal device, and includes:
acquiring a target short message, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
The short message sending method provided by the first aspect utilizes at least one of cellular network and internet sending modes to send the target short message, thereby improving the sending success rate of the target short message and ensuring that the timing short message can be successfully sent to the receiving party.
Optionally, the determining the sending mode of the target short message includes:
acquiring the signal intensity of a cellular network;
and if the signal intensity is greater than a preset threshold value, determining that the sending mode of the target short message is a cellular network sending mode.
Optionally, the method further comprises:
when the target short message is successfully sent through the cellular network, first success information is sent to a server, so that the server shields the target short message from being sent through the Internet; or,
and when the target short message fails to be sent through the cellular network, sending failure information to a server so that the server sends the target short message through the Internet.
According to the short message sending method provided by the embodiment, when the target short message is successfully sent through the cellular network, an internet sending mode is shielded; and the repeated sending of the target short message is avoided, and the resource waste is avoided.
Optionally, the determining the sending mode of the target short message further includes:
and if the signal intensity is less than or equal to the preset threshold, determining that the sending mode of the target short message is an internet sending mode.
Optionally, the method further comprises:
and after receiving second success information which is successfully sent by the target short message sent by the server through the Internet, shielding the target short message sent by the cellular network.
According to the short message sending method provided by the embodiment, when the target short message is successfully sent through the Internet, the sending mode of the cellular network is shielded. And the repeated sending of the target short message is avoided, and the resource waste is avoided.
According to a second aspect of the embodiments of the present disclosure, a short message sending method is provided, which is applied to a server, and includes:
acquiring a target short message, wherein the target short message comprises short message content and receiver information of preset sending time;
and if the sending mode of the target short message is determined to be an internet sending mode, sending the target short message through the internet after the preset sending time is reached.
Optionally, the method further comprises:
after first success information sent by the terminal equipment is received, shielding the target short message sent through the Internet; or,
and after the target short message is successfully sent through the Internet, sending second success information to the terminal equipment so that the terminal equipment shields the target short message sent through the cellular network.
According to a third aspect of the embodiments of the present disclosure, a short message sending method is provided, which is applied to a server, and includes:
receiving a target short message sent by terminal equipment, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
In the short message sending method provided by the third aspect, the server determines at least one sending mode from a cellular network sending mode and an internet sending mode, and then sends the target short message by using the determined sending mode. By using the short message sending method provided by the embodiment, when the preset sending time is reached, if the mobile phone is turned off, the server can normally determine the sending mode of the target short message, the situation that the sending work of the target short message cannot be completed due to the fact that the mobile phone cannot normally work is avoided, and the sending success rate of the target short message is improved to a certain extent.
Optionally, the determining the sending mode of the target short message includes:
requesting the terminal equipment to obtain the signal intensity of the cellular network;
and if the signal intensity is smaller than or equal to a preset threshold value, or the cellular network signal of the terminal equipment is not received within a preset time, determining that the sending mode of the target short message is an internet sending mode.
Optionally, the method further comprises:
and when the target short message is successfully sent through the Internet, issuing second success information to the terminal equipment so that the terminal equipment shields the target short message sent through the cellular network.
Optionally, the determining the sending mode of the target short message further includes:
and if the signal intensity is greater than the preset threshold value, determining that the sending mode of the target short message is a cellular network sending mode.
Optionally, the method further comprises:
after first success information that the target short message sent by the terminal equipment is successfully sent through the cellular network is received, shielding the target short message sent through the Internet; or,
and after receiving failure information that the target short message sent by the terminal equipment fails to be sent through the cellular network, determining that the sending mode of the target short message is an internet sending mode.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a short message sending apparatus, applied to a terminal device, including:
the system comprises an acquisition module, a sending module and a sending module, wherein the acquisition module is used for acquiring a target short message, and the target short message comprises short message content, preset sending time and receiver information;
the determining module is used for determining a sending mode of the target short message obtained by the obtaining module, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and the first sending module is used for sending the target short message in the sending mode determined by the determining module when the preset sending time is reached.
Optionally, the determining module includes:
the first obtaining submodule is used for obtaining the signal intensity of the cellular network;
and the first determining submodule is used for determining that the sending mode is the cellular network sending mode when the signal intensity obtained by the first obtaining submodule is greater than a preset threshold value.
Optionally, the apparatus further comprises:
the second sending module is used for sending first success information to the server after the first sending module successfully sends the target short message through the cellular network so as to enable the server to shield the target short message sent through the Internet; or,
and the third sending module is used for sending failure information to the server after the first sending module fails to send the target short message through the cellular network, so that the server sends the target short message through the internet.
Optionally, the determining module further comprises: and the second determining submodule is used for determining that the sending mode is an internet sending mode when the signal intensity obtained by the first obtaining submodule is smaller than or equal to the preset threshold.
Optionally, the apparatus further comprises:
and the shielding module is used for shielding the target short message sent by the cellular network after receiving the second success information which is sent by the target short message sent by the server successfully through the internet.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a short message sending apparatus, applied to a server, including:
the acquisition module is used for acquiring a target short message, wherein the target short message comprises short message content and receiver information of preset sending time;
and the first sending module is used for sending the target short message obtained by the obtaining module through the Internet when the sending mode of the target short message is determined to be the Internet sending mode.
Optionally, the apparatus further comprises:
the shielding module is used for shielding the target short message sent through the internet after receiving first success information sent by the terminal equipment, wherein the first success information is generated after the terminal equipment successfully sends the target short message through a cellular network; or,
the second sending module is used for sending the target short message through the Internet after receiving the failure information sent by the terminal equipment; or,
and the third sending module is used for sending second success information to the terminal equipment after the target short message is successfully sent through the Internet, so that the terminal equipment shields the target short message sent through the cellular network.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a short message sending apparatus, applied to a server, including:
the receiving module is used for receiving a target short message sent by the terminal equipment, wherein the target short message comprises short message content, preset sending time and receiver information;
the determining module is used for determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and the first sending module is used for sending the target short message in the sending mode determined by the determining module when the preset sending time is reached.
Optionally, the determining module includes:
the first sending submodule is used for requesting the terminal equipment to obtain the signal intensity of the cellular network;
the first receiving submodule is used for receiving the signal intensity of the cellular network obtained by the terminal equipment;
and the first determining submodule is used for determining that the sending mode of the target short message is an internet sending mode when the signal strength received by the first receiving submodule is smaller than or equal to a preset threshold value.
Optionally, the apparatus further comprises:
and the second sending module is used for issuing second success information to the terminal equipment after the target short message is successfully sent through the internet so as to enable the terminal equipment to shield the target short message sent through the cellular network.
Optionally, the determining module further comprises: and the second determining submodule is used for determining that the sending mode of the target short message is the cellular network sending mode when the signal intensity obtained by the first receiving submodule is greater than the preset threshold value.
Optionally, the apparatus further comprises: the shielding module is used for shielding the target short message sent by the terminal equipment through the internet after receiving the first successful information that the target short message sent by the terminal equipment is successfully sent through the cellular network;
or,
the determining module is further configured to determine that the sending mode of the target short message is an internet sending mode after receiving failure information that the target short message sent by the terminal device fails to be sent through the cellular network.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a target short message, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
According to an eighth aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a target short message, wherein the target short message comprises short message content and receiver information of preset sending time;
and if the sending mode of the target short message is determined to be an internet sending mode, sending the target short message through the internet.
According to a ninth aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a target short message, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: after obtaining the target short message to be sent, the server determines at least one sending mode from a cellular network sending mode and an internet sending mode, and finally sends the target short message through the determined sending mode. The short message sending method provided by the disclosure sends the target short message by using at least one of cellular network and internet sending modes, improves the sending success rate of the target short message, and ensures that the timing short message can be successfully sent to a receiving party.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a method for sending a short message according to an exemplary embodiment;
fig. 2 is a flow chart illustrating another method for sending a short message according to an exemplary embodiment;
fig. 3 is a flowchart illustrating a further method for sending a short message according to an exemplary embodiment;
fig. 4 is a flowchart illustrating a further method for sending a short message according to an exemplary embodiment;
fig. 5 is a block diagram of a short message sending apparatus according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating a determination module in accordance with an exemplary embodiment;
fig. 7 is a block diagram illustrating another short message transmission apparatus according to an exemplary embodiment;
fig. 8 is a block diagram illustrating still another short message transmission apparatus according to an exemplary embodiment;
fig. 9 is a block diagram illustrating still another short message transmission apparatus according to an exemplary embodiment;
fig. 10 is a block diagram illustrating still another short message transmission apparatus according to an exemplary embodiment;
FIG. 11 is a block diagram illustrating a determination module in accordance with an exemplary embodiment;
fig. 12 is a block diagram illustrating still another short message transmission apparatus according to an exemplary embodiment;
fig. 13 is a block diagram illustrating an apparatus for short message transmission according to an example embodiment;
fig. 14 is a block diagram illustrating an apparatus for short message transmission according to an exemplary embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
According to the short message sending method provided by the embodiment of the disclosure, when the preset sending time of the target short message is reached, the target short message is sent by using a sending mode capable of successfully sending the short message in a cellular network and an internet network. And when the signal intensity of the cellular network can not send the short message, the target short message is sent by selecting an internet mode. And the successful sending probability of the target short message is improved.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a short message sending method according to an exemplary embodiment, where the short message sending method is used in a terminal device, and as shown in fig. 1, the method may include the following steps:
in S110, a target short message is acquired. The target short message comprises short message content, preset sending time and receiver information.
The terminal device (for example, a mobile phone) acquires a target short message input by a user, and sends the target short message to a server through the Internet, and the server caches the target short message.
In S120, a sending method of the target short message is determined. The sending mode comprises at least one of a cellular network sending mode and an internet sending mode.
The cellular network sending mode is a traditional short message sending mode which is used for sending short messages through a cellular network used by the terminal equipment; the network type of the cellular network may include: LTE (long term evolution), WCDMA (wideband code division multiple access), GSM (global system for mobile communication), and the like.
The internet sending mode is that the terminal device sends the short message to the server through the internet, and the server sends the short message to the receiver through the internet.
The cellular network has a wide coverage area, and therefore, it is usually determined preferentially whether the target short message can be sent through the cellular network. And the server determines the sending mode of the target short message according to the network conditions of the cellular network and the internet. And the server judges the signal intensity of the cellular network used by the terminal equipment, and if the signal of the cellular network is greater than a preset threshold value, the server determines to send the target short message through the cellular network. And if the signal intensity of the cellular network is less than or equal to the preset threshold value, determining to send the target short message through the Internet.
In S130, when the predetermined sending time is reached, the target short message is sent in the determined sending mode.
If it is determined in step S120 that the target short message is transmitted through the cellular network, the terminal device transmits the target short message through the cellular network when a predetermined transmission time is reached. The server can send an instruction for sending the target short message through the cellular network to the terminal equipment when the preset sending time is obtained through timing, and the terminal equipment sends the target short message through the cellular network according to the instruction.
If it is determined in step S120 that the target short message is transmitted through the internet, the server transmits the cached target short message to the receiving party through the internet when the server reaches a predetermined transmission time.
In the short message sending method provided by this embodiment, after obtaining the target short message to be sent, the server determines at least one sending mode from a cellular network sending mode and an internet sending mode, and finally sends the target short message through the determined sending mode. The short message sending method provided by the disclosure sends the target short message by using at least one of cellular network and internet sending modes, improves the sending success rate of the target short message, and ensures that the timing short message can be successfully sent to a receiving party.
Fig. 2 is a flowchart illustrating another method for sending a short message according to an exemplary embodiment, where the method is applied to a system including a terminal device and a server. The terminal device may be a terminal such as a mobile phone capable of connecting to a 3GPP (The3rd generation partnership project) network, and this embodiment takes a mobile phone as an example for description.
In the embodiment, in order to avoid repeated sending of the target short message in different sending modes, other sending modes can be shielded after the target short message is successfully sent; or, when the determined transmission mode fails to transmit the target short message, other transmission modes can be reselected for transmission.
As shown in fig. 2, the short message sending method may include the following steps:
in S210, the mobile phone obtains a target short message input by the user. The target short message comprises short message content, preset sending time, sender information and receiver information.
In S220, the mobile phone sends the target short message to the server through the internet.
The server is a server specially responsible for sending network short messages, or software for realizing the network short messages in the server.
In other embodiments of the present disclosure, after obtaining the target short message, the mobile phone detects whether the mobile phone has started the network short message function, and if the network short message function is not started, the mobile phone displays a prompt message for starting the network short message to the user. For example, a user is prompted with "please turn on the network sms function to ensure better use of the timed sms function? Yes or no. And if the user selects 'yes', sending the target short message to a network short message server through the Internet.
In S230, the mobile phone obtains the signal intensity of the cellular network used by the mobile phone itself, and determines the magnitude relationship between the signal intensity and a preset threshold; if the signal strength of the cellular network is greater than the preset threshold, executing S240; if the signal strength of the cellular network is less than or equal to the preset threshold, S290 is performed.
For example, a cellular network has a weak signal between-80 dbm and-90 dbm, and a weak signal between-70 dbm and-80 dbm. Moreover, when the signal intensity is-80 dbm or more, the cellular network is considered to be capable of normally sending the short message; and when the signal strength is lower than-80 dbm, the cellular network is considered to be incapable of normally sending the short message. For example, when the mobile phone is turned off, or the mobile phone is turned on but in the flight mode, the cellular network signal strength of the mobile phone is 0, and the target short message cannot be sent through the cellular network.
In S240, the mobile phone determines to send the target short message through the cellular network.
In S250, when the predetermined sending time of the target short message is reached, the mobile phone sends the target short message through the cellular network, and determines whether the sending is successful; if the transmission is successful, executing S260; if the transmission fails, S280 is performed.
The mobile phone monitors whether the short message receiver successfully receives the short message according to the result of the DeliveryIntent event, namely the short message delivery receipt returned by the cellular network. If the mobile phone receives the short message delivery receipt, the target short message is successfully sent through the cellular network.
If the mobile phone fails to send the short message, the result of the callback through android.
In S260, the mobile phone generates the first success information and sends the first success information to the server.
If the mobile phone detects that the target short message is successfully sent through the cellular network, first success information is generated, and the first success information is sent to the server through the internet, wherein the first success information can be a short message sending receipt received by the terminal equipment.
In S270, the server shields the target short message sent through the internet according to the first success information.
And after receiving the first success information, the server confirms that the target short message is successfully transmitted through the cellular network, and shields the internet transmission mode.
In S280, the handset generates a failure message.
In S290, the mobile phone determines that the sending method of the target short message is an internet sending method, and sends an internet sending instruction to the server.
In S2100, the server sends the target short message through the internet according to the internet sending instruction when the predetermined sending time is reached.
In S2110, after the target short message is successfully sent through the internet, the server sends second success information to the mobile phone.
In S2120, the mobile phone sends the target short message through the cellular network according to the second success information mask.
And after the mobile phone receives the second success information, the target short message is determined to be successfully sent through the Internet, and then the cellular network sending mode is shielded.
The short message sending method provided by this embodiment sends the target short message through at least one of a cellular network sending mode or an internet sending mode, so that the sending success rate of the target short message is improved. And after the target short message is successfully sent in one mode, the other sending mode is shielded, so that the repeated sending of the target short message is avoided, and the resource waste is avoided.
The embodiment of the short message sending method shown in fig. 1 and fig. 2 is completed on the premise that the terminal device is connected to the internet when the predetermined sending time is reached, and if the terminal device and the server cannot normally communicate with each other, the target short message can be sent in two sending modes at the same time in order to ensure that the target short message is successfully sent.
Fig. 3 is a flowchart illustrating another method for sending a short message according to an exemplary embodiment. The short message sending method provided by the embodiment can be used for determining the sending mode of the target short message by the server. The terminal device in this embodiment is described by taking a mobile phone as an example. As shown in fig. 3, the short message sending method may include the following steps:
in S310, the server receives the target short message sent by the mobile phone. The target short message comprises short message content, preset sending time and receiver information.
The mobile phone acquires a target short message input by a user and sends the target short message to the server through the Internet.
In S320, the server determines a sending method of the target short message. The sending mode comprises at least one of a cellular network sending mode and an internet sending mode.
The server acquires the signal intensity of a cellular network of the mobile phone, and determines the sending mode of the target short message according to the signal intensity. The server requests the mobile phone to obtain the signal intensity of the cellular network of the mobile phone; if the signal intensity is smaller than or equal to a preset threshold value, or a cellular network signal of the mobile phone is not received within a preset time, determining that the transmission mode is an internet transmission mode; and if the signal intensity of the cellular network is greater than the preset threshold value, determining that the transmission mode is the cellular network transmission mode.
In an embodiment of the present disclosure, the server actively acquires the signal strength of the cellular network used by the mobile phone, and the implementation process is as follows:
the server sends a cellular network signal acquisition instruction to the mobile phone, and if the mobile phone is started and is connected with the Internet, the mobile phone can receive the instruction and acquire the signal intensity of a cellular network used by the mobile phone according to the instruction; response information is then returned to the server, which extracts the signal strength from the response message. If the mobile phone is not connected with the Internet, the mobile phone cannot receive the instruction; and if the server does not receive the response message returned by the mobile phone within the preset time, determining that the signal strength of the cellular network is zero.
In another embodiment of the present disclosure, the mobile phone actively reports the signal strength information of the cellular network to the server, and the implementation process is as follows: after the mobile phone obtains the target short message input by the user, when the timing reaches the preset sending time, if the mobile phone is in the starting state, the mobile phone sends the signal intensity of the cellular network used by the mobile phone to the server through the internet.
In S330, when the predetermined sending time is reached, the target short message is sent in the determined sending mode.
And if the sending mode is determined to be the cellular network sending mode, the server generates a cellular network sending instruction and sends the cellular network sending instruction to the mobile phone, and the mobile phone sends the target short message through the cellular network according to the cellular network sending instruction.
And if the sending mode is determined to be the Internet sending mode, the server sends the target short message cached in the server in the Internet sending mode.
In the short message sending method provided in this embodiment, the server determines at least one sending method from a cellular network sending method and an internet sending method, and then sends the target short message by using the determined sending method. By using the short message sending method provided by the embodiment, when the preset sending time is reached, if the mobile phone is turned off, the server can normally determine the sending mode of the target short message, the situation that the sending work of the target short message cannot be completed due to the fact that the mobile phone cannot normally work is avoided, and the sending success rate of the target short message is improved to a certain extent.
Fig. 4 is a flowchart illustrating another method for sending a short message according to an exemplary embodiment, where the method is applied to a system including a terminal device and a server, and the terminal device in this embodiment is described by taking a mobile phone as an example. As shown in fig. 4, the method may include the steps of:
in S410, the mobile phone obtains a target short message input by the user. The target short message comprises short message content, preset sending time, sender information and receiver information.
In S420, the mobile phone sends the target short message to the server through the internet.
In S430, the server requests to obtain the signal strength of the cellular network of the mobile phone, and determines the magnitude relationship between the signal strength and a preset threshold; if the signal strength is greater than the preset threshold, performing S440; if the signal strength is less than or equal to the preset threshold, S4110 is performed.
In S440, the server determines that the transmission mode of the transmission target short message is the cellular network transmission mode.
In S450, the server generates a cellular network transmission command and transmits the cellular network transmission command to the mobile phone.
In S460, when the predetermined sending time of the target short message is reached, the mobile phone sends the target short message through the cellular network.
In S470, the mobile phone determines whether the target short message is successfully sent; if the target short message is successfully sent through the cellular network, executing S480; if the target short message fails to be sent through the cellular network, S4100 is executed.
In S480, the mobile phone generates first success information and sends the first success information to the server.
In S490, the server masks sending the target short message via the internet according to the first success information.
In S4100, the mobile phone generates failure information and transmits the failure information to the server.
In S4110, the server determines that the transmission mode of the destination short message is an internet transmission mode.
In S4120, the server transmits the target short message through the internet when the predetermined transmission time is reached.
In S4130, after the target short message is successfully sent through the internet, the server sends the second success information to the mobile phone.
In S4140, the mobile phone transmits the target short message through the cellular network according to the second success information mask.
In the short message sending method provided in this embodiment, the server determines at least one of a cellular network sending method and an internet sending method to send the target short message. And then, sending the target short message by using the determined sending mode. By using the short message sending method provided by the embodiment, when the preset sending time is reached, if the mobile phone is turned off, the server can normally determine the sending mode of the target short message, the situation that the sending work of the target short message cannot be completed due to the fact that the mobile phone cannot normally work is avoided, and the sending success rate of the target short message is improved to a certain extent.
Corresponding to the above short message sending method embodiment, the present disclosure also provides a short message sending device embodiment.
Fig. 5 is a block diagram illustrating a short message sending apparatus according to an exemplary embodiment, where the apparatus is applied to a terminal device, such as a mobile phone. As shown in fig. 5, the apparatus includes an obtaining module 510, a determining module 520, and a first transmitting module 530.
The obtaining module 510 is configured to obtain a target short message, where the target short message includes a short message content, a predetermined sending time, and recipient information.
The mobile phone obtains the short message input by the user through the touch screen or the physical keyboard.
And a determining module 520, configured to determine a sending mode of the target short message obtained by the obtaining module 510, where the sending mode includes at least one of a cellular network sending mode and an internet sending mode.
Fig. 6 is a block diagram illustrating a determination module according to an exemplary embodiment, and as shown in fig. 6, the determination module 520 may include a first obtaining sub-module 521, a first determining sub-module 522, and a second determining sub-module 523.
The first obtaining sub-module 521 is configured to obtain the signal strength of the cellular network.
The first determining submodule 522 is configured to determine that the sending mode is the cellular network sending mode when the signal strength obtained by the first obtaining submodule 521 is greater than a preset threshold.
The second determining submodule 523 is configured to determine that the sending mode is the internet sending mode when the signal strength obtained by the first obtaining submodule 521 is less than or equal to a preset threshold.
The first sending module 530 is configured to send the target short message in the sending manner determined by the determining module 520 when the predetermined sending time is reached.
If the determining module 520 determines that the sending mode is the cellular network sending mode, the terminal device sends the target short message through the cellular network when the preset sending time is reached. The server can send an instruction for sending the target short message through the cellular network to the terminal equipment when the preset sending time is obtained through timing, and the terminal equipment sends the target short message through the cellular network according to the instruction.
If the determining module 520 determines to send the target short message through the internet, the server sends the cached target short message to the receiving party through the internet when the server reaches the preset sending time.
In the short message sending device provided in this embodiment, after obtaining the target short message to be sent, the server determines at least one sending mode from a cellular network sending mode and an internet sending mode, and finally sends the target short message through the determined sending mode. The short message sending device provided by the disclosure sends the target short message by using at least one of cellular network and internet sending modes, thereby improving the sending success rate of the target short message and ensuring that the timing short message can be successfully sent to a receiving party.
Fig. 7 is a block diagram of another short message sending apparatus according to an exemplary embodiment, where the short message sending apparatus provided in this embodiment further includes, on the basis of the embodiment shown in fig. 6: a second transmitting module 710, a third transmitting module 720, and a shielding module 730.
The second sending module 710 is configured to send the first success information to the server after the first sending module 530 successfully sends the target short message through the cellular network, so that the server shields the target short message sent through the internet.
The third sending module 720 is configured to send failure information to the server after the first sending module 530 fails to send the target short message through the cellular network, so that the server sends the target short message through the internet.
And the shielding module 730 is configured to shield the target short message sent through the cellular network after receiving the second success information that the target short message sent by the server is successfully sent through the internet.
In the short message sending device provided by this embodiment, after the target short message is successfully sent through the cellular network, the terminal device sends the first success information to the server, and the server shields the internet sending mode; and when the target short message fails to be sent through the cellular network, the server sends the target short message through the Internet. And when the target short message is successfully sent through the Internet, the terminal equipment shields the cellular network sending mode.
Fig. 8 is a block diagram illustrating another short message transmission apparatus according to an exemplary embodiment, where the apparatus is applied to a server, and as shown in fig. 8, the apparatus includes: an acquisition module 810 and a first transmission module 820.
The obtaining module 810 is configured to obtain a target short message, where the target short message includes short message content and recipient information of a predetermined sending time.
Once the terminal equipment acquires the short message input by the user, the short message is immediately sent to the server through the Internet.
The first sending module 820 is configured to send the target short message obtained by the obtaining module through the internet when it is determined that the sending mode of the target short message is the internet sending mode.
And if the sending mode of the target short message is determined to be the Internet sending mode, sending the target short message through the Internet after the preset sending time is reached.
In the short message sending device provided by this embodiment, after the server obtains the target short message, when it is determined that the sending mode of the target short message is the internet sending mode, the target short message is sent through the internet. When the preset sending time is reached, the terminal equipment cannot send the target short message through the cellular network, and the server can send the target short message through the Internet, so that the success rate of sending the target short message is improved.
Fig. 9 is a block diagram illustrating another short message sending apparatus according to an exemplary embodiment, where the apparatus further includes, on the basis of the embodiment shown in fig. 8: a shielding module 910, a second transmitting module 920 and a third transmitting module 930.
The shielding module 910 is configured to shield the target short message sent through the internet after receiving the first success information sent by the terminal device.
And after the terminal equipment successfully sends the target short message through the cellular network, generating first success information and sending the first success information to the server. The server shields the internet sending mode according to the first successful information, and avoids resource waste caused by repeated sending of the target short message.
The second sending module 920 is configured to send the target short message through the internet after receiving the failure information sent by the terminal device.
If the target short message fails to be sent through the cellular network, failure information is generated, and the target short message is determined to be sent through the Internet. The terminal device can send an internet sending instruction to the server, and the server sends the target short message through the internet according to the internet sending instruction.
The third sending module 930 is configured to send the second success information to the terminal device after the target short message is successfully sent through the internet, so that the terminal device shields the target short message sent through the cellular network.
And if the target short message is successfully sent through the Internet, the server generates second success information and sends the second success information to the terminal equipment, and the terminal equipment shields the cellular network sending mode after receiving the second success information, so that the target short message is prevented from being sent repeatedly.
The short message sending device provided in this embodiment sends the target short message through at least one of a cellular network sending mode or an internet sending mode, so that the sending success rate of the target short message is improved. And after the target short message is successfully sent in one mode, the other sending mode is shielded, so that the repeated sending of the target short message is avoided, and the resource waste is avoided.
Fig. 10 is a block diagram illustrating another short message transmission apparatus according to an exemplary embodiment, where the apparatus is applied to a server, and as shown in fig. 10, the apparatus may include: a receiving module 1010, a determining module 1020 and a first transmitting module 1030.
The receiving module 1010 is configured to receive a target short message sent by a terminal device, where the target short message includes a short message content, a predetermined sending time, and recipient information.
The determining module 1020 is configured to determine a sending mode of the target short message received by the receiving module 1010, where the sending mode includes at least one of a cellular network sending mode and an internet sending mode.
The server acquires the signal intensity of a cellular network of the mobile phone, and determines the sending mode of the target short message according to the signal intensity. The server requests the mobile phone to obtain the signal intensity of the cellular network of the mobile phone; if the signal intensity is smaller than or equal to a preset threshold value, or a cellular network signal of the mobile phone is not received within a preset time, determining that the transmission mode is an internet transmission mode; or, after receiving failure information that the target short message sent by the terminal equipment fails to be sent through the cellular network, determining that the sending mode of the target short message is an internet sending mode. And if the signal intensity of the cellular network is greater than the preset threshold value, determining that the transmission mode is the cellular network transmission mode.
Fig. 11 is a block diagram illustrating a determination module 1020 including a first sending sub-module 1021, a first receiving sub-module 1022, a first determination sub-module 1023, and a second determination sub-module 1024 according to an example embodiment.
The first sending submodule 1021 is configured to request the terminal device to obtain the signal strength of the cellular network.
The first receiving sub-module 1022 is configured to receive the signal strength of the cellular network obtained by the terminal device.
The first determining submodule 1023 is configured to determine that the sending mode of the target short message is an internet sending mode when the signal strength received by the first receiving submodule is smaller than or equal to a preset threshold.
The second determining submodule 1024 is configured to determine that the sending mode of the target short message is the cellular network sending mode when the signal strength obtained by the first receiving submodule is greater than the preset threshold.
The first sending module 1030 is configured to send the target short message in the sending manner determined by the determining module 1020 when the predetermined sending time is reached.
In the short message sending apparatus provided in this embodiment, the server determines at least one sending method from a cellular network sending method and an internet sending method, and then sends the target short message by using the determined sending method. By using the short message sending method provided by the embodiment, when the preset sending time is reached, if the mobile phone is turned off, the server can normally determine the sending mode of the target short message, the situation that the sending work of the target short message cannot be completed due to the fact that the mobile phone cannot normally work is avoided, and the sending success rate of the target short message is improved to a certain extent.
Fig. 12 is a block diagram of another short message sending apparatus according to an exemplary embodiment, which further includes a second sending module 1210 and a shielding module 1220 based on the embodiment shown in fig. 10.
The second sending module 1210 is configured to, after the target short message is successfully sent through the internet, send second success information to the terminal device, so that the terminal device shields the target short message from being sent through the cellular network.
And when the target short message is successfully sent through the Internet, generating a second successful short message and sending the second successful short message to the terminal equipment. And after receiving the second successful short message, the terminal equipment shields the cellular network sending mode.
The shielding module 1220 is configured to shield the target short message sent through the internet after the target short message sent by the receiving terminal device is successfully sent through the first successful information sent through the cellular network.
If the target short message is successfully sent through the cellular network, the terminal equipment generates first success information and sends the first success information to the server, and the server shields the internet sending mode.
The short message sending device provided in this embodiment sends the target short message through at least one of a cellular network sending mode or an internet sending mode, so that the sending success rate of the target short message is improved. And after the target short message is successfully sent in one mode, the other sending mode is shielded, so that the repeated sending of the target short message is avoided, and the resource waste is avoided.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 13 is a block diagram illustrating an apparatus 1300 for short message transmission according to an exemplary embodiment. For example, apparatus 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
As shown in fig. 13, apparatus 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316.
The processing component 1302 generally controls overall operation of the device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the apparatus 1300. Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 1306 provides power to the various components of device 1300. Power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1300.
The multimedia component 1308 includes a screen that provides an output interface between the device 1300 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1300 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the device 1300. For example, the sensor assembly 1314 may detect the open/closed state of the device 1300, the relative positioning of components, such as a display and keypad of the device 1300, the sensor assembly 1314 may also detect a change in the position of the device 1300 or a component of the device 1300, the presence or absence of user contact with the device 1300, orientation or acceleration/deceleration of the device 1300, and a change in the temperature of the device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the apparatus 1300 and other devices in a wired or wireless manner. The apparatus 1300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the apparatus 1300 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor of a mobile terminal, enable the terminal device to perform a method of transmitting a short message, the method comprising:
acquiring a target short message, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of a target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
Fig. 14 is a block diagram illustrating an apparatus 1400 for short message transmission according to an exemplary embodiment. For example, the apparatus 1400 may be provided as a server. As shown in fig. 14, the apparatus 1400 includes a processing component 1422 that further includes one or more processors, and memory resources, represented by memory 1432, for storing instructions, e.g., applications, that are executable by the processing component 1422. The application programs stored in memory 1432 may include one or more modules each corresponding to a set of instructions. Further, the processing component 1422 is configured to execute instructions to perform the methods run in the server described above.
The device 1400 may also include a power component 1426 configured to perform power management of the device 1400, a wired or wireless network interface 1450 configured to connect the device 1400 to a network, and an input output (I/O) interface 1458. The device 1400 may operate based on an operating system stored in the memory 1432, such as Windows Server, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (27)
1. A short message sending method is applied to terminal equipment and is characterized by comprising the following steps:
acquiring a target short message, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
2. The method of claim 1, wherein the determining the sending mode of the target short message comprises:
acquiring the signal intensity of a cellular network;
and if the signal intensity is greater than a preset threshold value, determining that the sending mode of the target short message is a cellular network sending mode.
3. The method of claim 2, further comprising:
when the target short message is successfully sent through the cellular network, first success information is sent to a server, so that the server shields the target short message from being sent through the Internet; or,
and when the target short message fails to be sent through the cellular network, sending failure information to a server so that the server sends the target short message through the Internet.
4. The method of claim 2, wherein the determining the sending mode of the target short message further comprises:
and if the signal intensity is less than or equal to the preset threshold, determining that the sending mode of the target short message is an internet sending mode.
5. The method of claim 4, further comprising:
and after receiving second success information which is successfully sent by the target short message sent by the server through the Internet, shielding the target short message sent by the cellular network.
6. A short message sending method is applied to a server and is characterized by comprising the following steps:
acquiring a target short message, wherein the target short message comprises short message content and receiver information of preset sending time;
and if the sending mode of the target short message is determined to be an internet sending mode, sending the target short message through the internet after the preset sending time is reached.
7. The method of claim 6, further comprising:
after first success information sent by the terminal equipment is received, shielding the target short message sent through the Internet; or,
and after the target short message is successfully sent through the Internet, sending second success information to the terminal equipment so that the terminal equipment shields the target short message sent through the cellular network.
8. A short message sending method is applied to a server and is characterized by comprising the following steps:
receiving a target short message sent by terminal equipment, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
9. The method of claim 8, wherein the determining the sending mode of the target short message comprises:
requesting the terminal equipment to obtain the signal intensity of the cellular network;
and if the signal intensity is smaller than or equal to a preset threshold value, or the cellular network signal of the terminal equipment is not received within a preset time, determining that the sending mode of the target short message is an internet sending mode.
10. The method of claim 9, further comprising:
and when the target short message is successfully sent through the Internet, issuing second success information to the terminal equipment so that the terminal equipment shields the target short message sent through the cellular network.
11. The method of claim 9, wherein the determining the sending mode of the target short message further comprises:
and if the signal intensity is greater than the preset threshold value, determining that the sending mode of the target short message is a cellular network sending mode.
12. The method of claim 11, further comprising:
after first success information that the target short message sent by the terminal equipment is successfully sent through the cellular network is received, shielding the target short message sent through the Internet; or,
and after receiving failure information that the target short message sent by the terminal equipment fails to be sent through the cellular network, determining that the sending mode of the target short message is an internet sending mode.
13. A short message sending device is applied to terminal equipment and is characterized by comprising:
the system comprises an acquisition module, a sending module and a sending module, wherein the acquisition module is used for acquiring a target short message, and the target short message comprises short message content, preset sending time and receiver information;
the determining module is used for determining a sending mode of the target short message obtained by the obtaining module, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and the first sending module is used for sending the target short message in the sending mode determined by the determining module when the preset sending time is reached.
14. The apparatus of claim 13, wherein the determining module comprises:
the first obtaining submodule is used for obtaining the signal intensity of the cellular network;
and the first determining submodule is used for determining that the sending mode is the cellular network sending mode when the signal intensity obtained by the first obtaining submodule is greater than a preset threshold value.
15. The apparatus of claim 14, further comprising:
the second sending module is used for sending first success information to the server after the first sending module successfully sends the target short message through the cellular network so as to enable the server to shield the target short message sent through the Internet; or,
and the third sending module is used for sending failure information to the server after the first sending module fails to send the target short message through the cellular network, so that the server sends the target short message through the internet.
16. The apparatus of claim 14, wherein the determining module further comprises:
and the second determining submodule is used for determining that the sending mode is an internet sending mode when the signal intensity obtained by the first obtaining submodule is smaller than or equal to the preset threshold.
17. The apparatus of claim 16, further comprising:
and the shielding module is used for shielding the target short message sent by the cellular network after receiving the second success information which is sent by the target short message sent by the server successfully through the internet.
18. A short message sending device is applied to a server and is characterized by comprising:
the acquisition module is used for acquiring a target short message, wherein the target short message comprises short message content and receiver information of preset sending time;
and the first sending module is used for sending the target short message obtained by the obtaining module through the Internet when the sending mode of the target short message is determined to be the Internet sending mode.
19. The apparatus of claim 18, further comprising:
the shielding module is used for shielding the target short message sent through the internet after receiving first success information sent by the terminal equipment, wherein the first success information is generated after the terminal equipment successfully sends the target short message through a cellular network; or,
the second sending module is used for sending the target short message through the Internet after receiving the failure information sent by the terminal equipment; or,
and the third sending module is used for sending second success information to the terminal equipment after the target short message is successfully sent through the Internet, so that the terminal equipment shields the target short message sent through the cellular network.
20. A short message sending device is applied to a server and is characterized by comprising:
the receiving module is used for receiving a target short message sent by the terminal equipment, wherein the target short message comprises short message content, preset sending time and receiver information;
the determining module is used for determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and the first sending module is used for sending the target short message in the sending mode determined by the determining module when the preset sending time is reached.
21. The apparatus of claim 20, wherein the determining module comprises:
the first sending submodule is used for requesting the terminal equipment to obtain the signal intensity of the cellular network;
the first receiving submodule is used for receiving the signal intensity of the cellular network obtained by the terminal equipment;
and the first determining submodule is used for determining that the sending mode of the target short message is an internet sending mode when the signal strength received by the first receiving submodule is smaller than or equal to a preset threshold value.
22. The apparatus of claim 21, further comprising:
and the second sending module is used for issuing second success information to the terminal equipment after the target short message is successfully sent through the internet so as to enable the terminal equipment to shield the target short message sent through the cellular network.
23. The apparatus of claim 21, wherein the determining module further comprises: and the second determining submodule is used for determining that the sending mode of the target short message is the cellular network sending mode when the signal intensity obtained by the first receiving submodule is greater than the preset threshold value.
24. The apparatus of claim 23, further comprising:
the shielding module is used for shielding the target short message sent by the terminal equipment through the internet after receiving the first successful information that the target short message sent by the terminal equipment is successfully sent through the cellular network;
or,
the determining module is further configured to determine that the sending mode of the target short message is an internet sending mode after receiving failure information that the target short message sent by the terminal device fails to be sent through the cellular network.
25. A terminal device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a target short message, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
26. A server, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a target short message, wherein the target short message comprises short message content and receiver information of preset sending time;
and if the sending mode of the target short message is determined to be an internet sending mode, sending the target short message through the internet.
27. A server, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a target short message, wherein the target short message comprises short message content, preset sending time and receiver information;
determining a sending mode of the target short message, wherein the sending mode comprises at least one of a cellular network sending mode and an internet sending mode;
and when the preset sending time is reached, sending the target short message by the determined sending mode of the target short message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510811382.0A CN105472582A (en) | 2015-11-20 | 2015-11-20 | Short message sensing method and apparatus, and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510811382.0A CN105472582A (en) | 2015-11-20 | 2015-11-20 | Short message sensing method and apparatus, and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105472582A true CN105472582A (en) | 2016-04-06 |
Family
ID=55609773
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510811382.0A Pending CN105472582A (en) | 2015-11-20 | 2015-11-20 | Short message sensing method and apparatus, and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472582A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106230693A (en) * | 2016-07-29 | 2016-12-14 | 深圳市金立通信设备有限公司 | The method of a kind of information transmission and terminal |
CN108200543A (en) * | 2018-03-02 | 2018-06-22 | 腾讯科技(深圳)有限公司 | Note transmission method and device |
CN112311770A (en) * | 2020-09-29 | 2021-02-02 | 北京达佳互联信息技术有限公司 | Information platform selection method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090164523A1 (en) * | 2007-12-21 | 2009-06-25 | Hong Fu Jin Precision Industry(Shenzhen) Co., Ltd | System and method for sending messages |
CN101741987A (en) * | 2008-11-26 | 2010-06-16 | 爱思开电讯投资(中国)有限公司 | Method and device for sending short messages at definite time |
CN102291699A (en) * | 2011-09-14 | 2011-12-21 | 深圳市金立通信设备有限公司 | Mobile phone short message sending system and method for combining IP (internet protocol) information and SMS (short message service) short message |
CN103024694A (en) * | 2012-12-10 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal of multi-people message sending |
CN103533505A (en) * | 2012-07-05 | 2014-01-22 | 中国移动通信集团江苏有限公司 | Short message sending method, short message sending server, short message sending system and mobile terminal |
CN103945054A (en) * | 2014-03-14 | 2014-07-23 | 上海天奕达电子科技有限公司 | Short message sending method and mobile terminal |
CN104994485A (en) * | 2015-06-15 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | System of intelligently selecting network-service receiving-sending short message and method thereof |
-
2015
- 2015-11-20 CN CN201510811382.0A patent/CN105472582A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090164523A1 (en) * | 2007-12-21 | 2009-06-25 | Hong Fu Jin Precision Industry(Shenzhen) Co., Ltd | System and method for sending messages |
CN101741987A (en) * | 2008-11-26 | 2010-06-16 | 爱思开电讯投资(中国)有限公司 | Method and device for sending short messages at definite time |
CN102291699A (en) * | 2011-09-14 | 2011-12-21 | 深圳市金立通信设备有限公司 | Mobile phone short message sending system and method for combining IP (internet protocol) information and SMS (short message service) short message |
CN103533505A (en) * | 2012-07-05 | 2014-01-22 | 中国移动通信集团江苏有限公司 | Short message sending method, short message sending server, short message sending system and mobile terminal |
CN103024694A (en) * | 2012-12-10 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal of multi-people message sending |
CN103945054A (en) * | 2014-03-14 | 2014-07-23 | 上海天奕达电子科技有限公司 | Short message sending method and mobile terminal |
CN104994485A (en) * | 2015-06-15 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | System of intelligently selecting network-service receiving-sending short message and method thereof |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106230693A (en) * | 2016-07-29 | 2016-12-14 | 深圳市金立通信设备有限公司 | The method of a kind of information transmission and terminal |
CN108200543A (en) * | 2018-03-02 | 2018-06-22 | 腾讯科技(深圳)有限公司 | Note transmission method and device |
CN108200543B (en) * | 2018-03-02 | 2020-04-07 | 腾讯科技(深圳)有限公司 | Short message sending method and device |
CN112311770A (en) * | 2020-09-29 | 2021-02-02 | 北京达佳互联信息技术有限公司 | Information platform selection method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230300793A1 (en) | Method for sending paging cause and method for acquiring paging cause | |
CN109451842B (en) | Power saving method and device for user equipment, user equipment and base station | |
CN113873599B (en) | Resource determination method and device | |
CN109644457B (en) | Resource allocation method and device | |
US11647425B2 (en) | Methods and devices for reducing temperature for user equipment | |
CN109804662B (en) | Bandwidth part switching method and device | |
US10009283B2 (en) | Method and device for processing information | |
WO2019000414A1 (en) | Method, apparatus, device, and base station for achieving edge computing in cellular network | |
CN108702763B (en) | Method and device for sending lead code and scheduling request | |
CN107743096B (en) | Network optimization method, device, terminal and storage medium | |
CN109451838B (en) | Method, device and storage medium for obtaining access control parameters | |
CN106792937B (en) | Method and device for processing call request | |
CN112953575A (en) | Overheating protection method and device for user equipment, user equipment and base station | |
US11184941B2 (en) | Method and apparatus for protecting user equipment, user equipment and base station | |
CN110730954A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN108476479B (en) | Random access method and device, user equipment and computer readable storage medium | |
CN106170141B (en) | Mobile terminal network switching method and device | |
US20190320346A1 (en) | Method and device for transmitting downlink data | |
CN105472582A (en) | Short message sensing method and apparatus, and terminal equipment | |
CN105227426B (en) | Application interface switching method and device and terminal equipment | |
CN113796110A (en) | Method, device, equipment and storage medium for executing small data packet transmission and determining random access message transmission mode | |
CN106535147B (en) | Communication signal processing method and device | |
CN108429849A (en) | Processing method, device and the equipment of data service | |
CN109451857B (en) | Data transmission method and device | |
CN116489778A (en) | Direct link data transmission and direct link resource allocation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160406 |