CN105554712A - Short message processing method and user terminal - Google Patents
Short message processing method and user terminal Download PDFInfo
- Publication number
- CN105554712A CN105554712A CN201510621778.9A CN201510621778A CN105554712A CN 105554712 A CN105554712 A CN 105554712A CN 201510621778 A CN201510621778 A CN 201510621778A CN 105554712 A CN105554712 A CN 105554712A
- Authority
- CN
- China
- Prior art keywords
- note
- user terminal
- short messages
- unread short
- application
- 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
Links
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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The embodiment of the invention relates to the technical field of communication, and discloses a short message processing method and a user terminal. The method comprises the steps that when the communication application of the user terminal is abnormal, the user terminal can detect existence of unread messages which are not read by a short message application in a short message database; and if the unread messages exist, the short message identifiers of the unread messages can be acquired from the short message database after the user terminal is restarted, wherein the short message identifiers include the network type of a network used in receiving of the unread messages, and the user terminal uses a report mode corresponding to the network type to report a notification message to the short message application so as to indicate the short message application to read the unread messages from the short message database. With application of the method, the problem that the user terminal repeatedly reports existence of the unread messages to the short message application after the user terminal is abnormal and restarts can be avoided so that power consumption of the user terminal can be reduced.
Description
Technical field
The present invention relates to communication technical field, be specifically related to a kind of SMS processing method and user terminal.
Background technology
At present, note application has become the indispensable application of the user terminals such as smart mobile phone.Under normal circumstances, user terminal is after the new message receiving webserver transmission, new message can be kept in in the note data storehouse of user terminal, so that when user terminal occurs abnormal, the note application of user terminal can obtain new message from note data storehouse.Therefore; user terminal receive new message and also do not report note application before; if exception or the abnormal shutdown of user terminal appear in the communications applications of user terminal (as talk application, note application etc.), the information reporting that there is new message can be applied to note by user terminal so after restarting.
Find in practice, most of user terminal all supports multiple network pattern, and user terminal after restarting, the reporting schemes that the network schemer that may it be used respectively to support is corresponding, the message that there is new message is repeated report note application, and note application can repeatedly obtain this note according to this message, thus the power consumption of adding users terminal.
Summary of the invention
The embodiment of the invention discloses a kind of SMS processing method and user terminal, the power consumption of user terminal can be reduced.
The embodiment of the invention discloses a kind of SMS processing method, comprising:
When the communications applications of user terminal is abnormal, detects in the note data storehouse of described user terminal and whether exist not by the unread short messages of the note of described user terminal application reading;
If there is unread short messages in described note data storehouse, then restart described user terminal, and from described note data storehouse, obtain the note mark of described unread short messages, described note mark comprises use network of network type when described unread short messages is received;
Use reporting schemes corresponding to described network type to report notification message to described note application, described notification message is used to indicate the application of described note and reads described unread short messages from described note data storehouse.
Accordingly, the embodiment of the invention discloses a kind of user terminal, comprising:
Whether detecting unit, for when the communications applications of described user terminal is abnormal, detects in the note data storehouse of described user terminal and exist not by the unread short messages of the note of described user terminal application reading;
Restarting unit, when there is unread short messages for detecting at described detecting unit in described note data storehouse, restarting described user terminal;
Acquiring unit, for restarting after unit restarts described user terminal described, obtains the note mark of described unread short messages from described note data storehouse, and described note mark comprises when described unread short messages is received and uses network of network type;
Report unit, for using reporting schemes corresponding to described network type to report notification message to described note application, described notification message is used to indicate the application of described note and reads described unread short messages from described note data storehouse.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, when the communications applications of user terminal is abnormal, whether user terminal can detect in note data storehouse exists not by the unread short messages of note application reading, if existed, after restarting this user terminal, the note mark of this unread short messages can be obtained from note data storehouse, wherein, this note mark comprises use network of network type when unread short messages is received, user terminal can use reporting schemes corresponding to this network type to report notification message to note application, applies read unread short messages to indicate note from note data storehouse.User terminal can be avoided in this way to occur extremely and after restarting, repeat to report to note application note the problem that there is unread short messages, thus reduce the power consumption of user terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of SMS processing method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of SMS processing method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the embodiment of the present invention another SMS processing method disclosed;
Fig. 4 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of SMS processing method and user terminal, the power consumption of user terminal can be reduced.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of SMS processing method disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied to smart mobile phone (as Android phone etc.), panel computer, palmtop PC and mobile internet device (MobileInternetDevices, MID), personal digital assistant (PersonalDigitalAssistant, PDA), the user terminal such as media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet, this user terminal can receive short message.As shown in Figure 1, this SMS processing method can comprise the following steps:
S101, when the communications applications of user terminal is abnormal, whether user terminal detects in note data storehouse exists by the unread short messages that note application is read, and if so, performs step S102; If not, process ends.
In the embodiment of the present invention, communications applications generally comprises the talk application, note application etc. of user terminal, and the embodiment of the present invention does not limit.Note data storehouse is the mmssms database in Android system, for storing note in the Various types of data (concrete, unread short messages is mainly stored in the raw table in this note data storehouse) sent or in receiving course.Under normal circumstances, in note data storehouse, store the note just received, mainly in order to note when preventing user terminal abnormal is surprisingly lost.
Therefore, when the communications applications of user terminal occurs abnormal, whether user terminal can detect or scan in note data storehouse exists not by the unread short messages of note application reading.If existed, with regard to this user terminal of autoboot, and from this note data storehouse, obtain the note mark of this unread short messages; If there is no, so user terminal does not just do any operation.Wherein, user terminal also can be after each start, and whether detect in note data storehouse and exist not by the unread short messages that note application is read, the embodiment of the present invention does not limit.
S102, user terminal restart this user terminal, and from note data storehouse, obtain the note mark of this unread short messages.
In the embodiment of the present invention, store the note mark of unread short messages and unread short messages in note data storehouse, wherein, this note mark can comprise this user terminal current use network of network type when this unread short messages is received by user terminal.
Wherein, this network type can comprise supports third generation partner program (3rdGenerationPartnershipProject, 3GPP) agreement network and support third generation partner program 2 (3rdGenerationPartnershipProject2,3GPP2) the network of agreement, the embodiment of the present invention does not limit.Wherein, the network in 3GPP agreement is mainly based on GSM network, and the network in 3GPP2 agreement is mainly based on cdma network.
Therefore, after detecting in note data storehouse and there is unread short messages, user terminal can autoboot, to solve the problem of communications applications exception.Can avoid not receiving in time because communications applications is abnormal incoming call or note like this and the situation that delayed critical event occurs, to promote Consumer's Experience.After user terminal is restarted, user terminal just can obtain when this unread short messages is received and use network of network type from note data storehouse.
The reporting schemes that the network type that S103, user terminal use this note to identify to comprise is corresponding reports notification message to note application, and process ends.
In the embodiment of the present invention, user terminal is that often kind of network type is configured with different note reporting schemes.Be understandable that, in the reporting schemes that often kind of network type is corresponding, the procotol used when reporting and there is unread short messages message is different, thus makes to report the processing mode in process can be different to note.Therefore, after getting from note data storehouse and using network of network type when unread short messages is received, user terminal can obtain the reporting schemes corresponding to this network type further, thus uses this reporting schemes to report notification message to note application.
Wherein, this notification message is mainly used in the application of instruction note and reads unread short messages from note data storehouse.Popular says, notifies that this note is applied exactly, occurs abnormal in the communications applications of user terminal, or before user terminal shutdown, has and receive new message (not by the unread short messages of note application reading).After this note is applied in the notification message receiving and report, thus this unread short messages can be obtained from note data storehouse.
For example, suppose that a certain mobile phone can support GSM network and cdma network simultaneously, and what install in mobile phone is the 2G card (i.e. this card support GSM network) of movement, network so when receiving new message is just GSM network, and mobile phone thus the information that can be GSM network by the network type of the initial data of this new message and this new message are stored in note data storehouse.If when receiving new message, also do not applied to note by the information reporting that there is new message, the note application of mobile phone occurs abnormal, thus can not receive the message that there is new message reported.Therefore, after mobile phone is restarted, mobile phone can detect in note data storehouse whether there is new message, if existed, just use the reporting schemes that the GSM network of this new message stored is corresponding, the information reporting that there is new message is applied to note, so that note application obtains from note data storehouse.
As a kind of feasible execution mode, because current most of user terminal has two kinds of mode cards, i.e. two kinds of client identification modules (SIM card), therefore, the note mark of this unread short messages of this user terminal acquisition can also comprise the mark (specifically using which kind of network type of card 1 or card 2 when namely this unread short messages is received) of the SIM card belonging to this network type.Therefore, the reporting schemes that the user terminal network type that uses this note to identify to comprise is corresponding reports the concrete mode of notification message to be to note application:
According to the mark of this client identification module, the reporting schemes that this network type using this client identification module to support is corresponding, reports notification message to note application.
Concrete, after user terminal gets which kind of network type specifically using card 1 or card 2 when this unread short messages is received, as used the cdma network of card 1, this user terminal will obtain reporting schemes corresponding to the cdma network of card 1 further and report notification message to note application.That is, for consolidated network type, affiliated client identification module is different, and the note reporting schemes of its correspondence is also just different.Thus user terminal can be avoided when not knowing the network type of this unread short messages, the GSM network that GSM network, cdma network and the card 2 using card 1 to support respectively is supported, the reporting schemes that cdma network is corresponding, the notification message that there is unread short messages is repeatedly reported note application, apply the situation repeatedly obtaining this unread short messages from note data storehouse to make note and occur.
Visible, in the method described by Fig. 1, when the communications applications of user terminal is abnormal, whether user terminal can detect in note data storehouse exists not by the unread short messages of note application reading, if existed, after restarting this user terminal, the note mark of this unread short messages can be obtained from note data storehouse, wherein, this note mark comprises use network of network type when unread short messages is received, user terminal can use reporting schemes corresponding to this network type to report notification message to note application, apply to indicate note and read unread short messages from note data storehouse.User terminal can be avoided in this way to occur extremely and after restarting, repeat to report to note application note the problem that there is unread short messages, thus reduce the power consumption of user terminal.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of SMS processing method disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 2 can be applied to the user terminals such as smart mobile phone (as Android phone etc.), panel computer, palmtop PC and mobile internet device, personal digital assistant, media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet, and this user terminal can receive short message.As shown in Figure 2, this SMS processing method can comprise the following steps:
S201, when the communications applications of user terminal is abnormal, whether user terminal detects in note data storehouse exists by the unread short messages that note application is read, and if so, performs step S202; If not, process ends.
S202, user terminal export the first information.
In the embodiment of the present invention, because a lot of user likes watching video on the subscriber terminal, reading novel and play games, so at the communication abnormality of user terminal, and user terminal detect in note data storehouse exist not by note application read unread short messages time, user terminal can export the first information, applying to point out user's present communications occurs extremely, and user terminal receives new message and (applies for note, this new message is unread short messages), need to restart user terminal to receive new message.User can be allowed like this to determine it is need to restart user terminal at once to receive note according to the actual conditions of oneself, still can postpone the time of restarting user terminal.Allow user determine to restart the time of user terminal by the mode exporting information, more meet the actual conditions of user, thus promote Consumer's Experience.
For example, suppose that user terminal is currently received new message, when also not reporting to note application the message that there is new message, the communications applications of user terminal occurs abnormal.And user is now seeing video, user terminal is carrying out reminding user communications applications exception and the message that there is new message (being new message for user's unread short messages) with regard to exporting information.If user feels to need to receive this new message at once, just can restart user terminal according to information, and if user wish continue viewing video, so just temporarily can not restart user terminal, namely postpone reception this new message.
S203, user terminal, after this first information of response restarts this user terminal, obtain the note mark of this unread short messages from note data storehouse.
In the embodiment of the present invention, user is in this first information of response, and after restarting this user terminal, user terminal just can obtain the note mark of this unread short messages from note data storehouse.
The reporting schemes that the network type that S204, user terminal use this note to identify to comprise is corresponding reports notification message to note application.
S205, user terminal receive this note and apply successful second information of this unread short messages reading returned.
In the embodiment of the present invention, when user terminal uses reporting schemes corresponding to this network type to report notification message to note application, after this note is applied in the notification message receiving and report, this unread short messages can be read from note data storehouse, and in conjunction with the address list of user terminal, parse the particular content of this unread short messages, sender address, name, the information such as time of reception and the client identification module belonging to this unread short messages, thus these information parsed finally are stored in the memory space of note application, and be presented on the application display interface of this note application, so that user checks.
Therefore, after note application success reads this unread short messages, this note application can return the second information to user terminal, thus user terminal can receive note applies the second information returned.Wherein, this second information is used to indicate this unread short messages of user terminal and successfully reads, so that user terminal processes the unread short messages stored in this note data storehouse.
S206, user terminal respond this second information, delete the note mark of this unread short messages and this unread short messages stored in this note data storehouse, and process ends.
In the embodiment of the present invention, when user terminal receive note apply this unread short messages of returning read successful second information time, user terminal can respond this second information, deletes the note mark of this unread short messages and this unread short messages stored in this note data storehouse.So both can the memory space of releasing user terminal, again reporting of user terminal can be avoided again, thus solve user terminal and repeat to report the problem that there is new message message.
Visible, in the method described by Fig. 2, user terminal can occur abnormal in communications applications, and when the unread short messages existing and do not read by note application being detected in note data storehouse, export information, to make user determine whether needing to restart user terminal at once to receive unread short messages according to the actual conditions of oneself, thus promote Consumer's Experience., read after unread short messages at note application success, the unread short messages stored in deleting short message database and note mark meanwhile, can the memory space of releasing user terminal, thus improve the operational efficiency of user terminal.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the embodiment of the present invention another SMS processing method disclosed.Wherein, method shown in Fig. 3 can be applied to the user terminals such as smart mobile phone (as Android phone etc.), panel computer, palmtop PC and mobile internet device, personal digital assistant, media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet, and this user terminal can receive short message.As shown in Figure 3, this SMS processing method can comprise the following steps:
S301, user terminal receive the note that the webserver sends, and this note is set to unread short messages.
In the embodiment of the present invention, user terminal is when receiving the note sent by the webserver, in conjunction with the address list of user terminal, parse the information such as the particular content of this note, sender address, name, time of reception and the client identification module belonging to this note, thus can by these information temporary storages in the note data buffer memory storehouse (i.e. framework communications framework) of user terminal.So that the application of (when namely communications applications does not occur abnormal) note directly can obtain these information from note data buffer memory storehouse under normal circumstances.Meanwhile, this note also can be set to unread short messages by user terminal.Wherein, in gsm networks, the webserver also can be described as short message service center.
Use the mark of network of network type and the client identification module belonging to this network type to identify as the note of this unread short messages when this unread short messages is received by S302, user terminal, and this unread short messages and this note mark are stored in the note data storehouse of this user terminal.
In the embodiment of the present invention, the note of webserver transmission is received at user terminal, and after this note is set to unread short messages, user terminal can obtain user terminal when this unread short messages is received and use network of network type (being support the network of 3GPP agreement or support the network of 3GPP2 agreement), and obtains the client identification module (namely this network type belongs to card 1 or belongs to card 2) belonging to this network type.Therefore, the note of the mark of this network type and this client identification module as this unread short messages can identify by user terminal, thus the mark of this unread short messages and this unread short messages is stored in the note data storehouse of user terminal.Can prevent like this before not reporting and there is new message message, communications applications is abnormal and the situation appearance that causes note to be lost.
Wherein, the note of webserver transmission is received at user terminal, and after this note is resolved, if there is not exception in communications applications, so user terminal will report there is new message to note application according to the information parsed, note application thus directly will obtain the information that this note parses from note data buffer memory storehouse, after obtaining successfully, this note can be stored in note application data base by note application, and be presented on its application display interface, so that user checks.After note application success obtains this note, note application equally can return the information that note successfully obtains, so that in the timely deleting short message database of user terminal to user terminal.
It should be noted that; after note application success obtains this note; information in note data buffer memory storehouse can be deleted; if and note application also do not get this note before; there is exception or the abnormal shutdown of user terminal in the communications applications of user terminal; information so in note data buffer memory storehouse also can be deleted, so just need this note of note data library storage.
S303, when the communications applications of user terminal is abnormal, whether user terminal detects in note data storehouse exists by the unread short messages that note application is read, and if so, performs step S304; If not, process ends.
S304, user terminal restart this user terminal, and from note data storehouse, obtain the note mark of this unread short messages.
The reporting schemes that the network type that S305, user terminal use this note to identify to comprise is corresponding reports notification message to note application, and process ends.
Visible; in the method described by Fig. 3; user terminal is when receiving the note that the webserver sends; the mark of network of network type and the client identification module belonging to this network type is used to be stored in note data storehouse together with this note when this note can be received; so that when communications applications exception or user terminal are shut down extremely; after restarting user terminal to note application report there is note time, can reporting schemes be specified, thus avoid note repeat report.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention.Wherein, user terminal 400 shown in Fig. 4 can include but not limited to smart mobile phone (as Android phone etc.), panel computer, palmtop PC and mobile internet device, personal digital assistant, media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet etc., wherein, this user terminal can receive short message.As shown in Figure 4, this user terminal 400 can comprise with lower unit:
Whether detecting unit 401, for when the communications applications of user terminal 400 is abnormal, detects in the note data storehouse of user terminal 400 and exist not by the unread short messages of the note of user terminal 400 application reading.
In the embodiment of the present invention, communications applications generally comprises the talk application, note application etc. of user terminal, and the embodiment of the present invention does not limit.Note data storehouse is the mmssms database in Android system, for storing note in the Various types of data (concrete, unread short messages is mainly stored in the raw table in this note data storehouse) sent or in receiving course.Under normal circumstances, in note data storehouse, store the note just received, mainly in order to note when preventing user terminal 400 abnormal is surprisingly lost.
Therefore, when the communications applications of user terminal 400 occurs abnormal, whether detecting unit 401 can detect or scan in note data storehouse exists not by the unread short messages of note application reading.If existed, with regard to this user terminal 400 of autoboot, and from this note data storehouse, obtain the note mark of this unread short messages; If there is no, so user terminal 400 does not just do any operation.Wherein, detecting unit 401 also can be after user terminal is started shooting at every turn, and whether detect in note data storehouse and exist not by the unread short messages that note application is read, the embodiment of the present invention does not limit.
Restarting unit 402, when there is unread short messages for detecting at detecting unit 401 in note data storehouse, restarting this user terminal 400.
Acquiring unit 403, for after restarting unit 401 and restarting this user terminal 400, obtains the note mark of this unread short messages from note data storehouse, and wherein, this note mark can comprise use network of network type when this unread short messages is received.
In the embodiment of the present invention, store the note mark of unread short messages and unread short messages in note data storehouse, wherein, this note mark can comprise this user terminal 400 current use network of network type when this unread short messages is received by user terminal 400.
Wherein, this network type can comprise supports third generation partner program (3rdGenerationPartnershipProject, 3GPP) agreement network and support third generation partner program 2 (3rdGenerationPartnershipProject2,3GPP2) the network of agreement, the embodiment of the present invention does not limit.Wherein, the network in 3GPP agreement is mainly based on GSM net, and the network in 3GPP2 agreement is mainly based on CDMA net.
Therefore, after detecting unit 401 detects in note data storehouse to there is unread short messages, restarting unit 402 can autoboot user terminal 400, to solve the problem of communications applications exception.Can avoid not receiving in time because communications applications is abnormal incoming call or note like this and the situation that delayed critical event occurs, to promote Consumer's Experience.After user terminal 400 is restarted, acquiring unit 403 just can obtain when this unread short messages is received and use network of network type from note data storehouse.
Report unit 404, for using reporting schemes corresponding to this network type to report notification message to note application, wherein, this notification message is used to indicate the application of this note and obtains this unread short messages from this note data storehouse.
In the embodiment of the present invention, user terminal 400 is that often kind of network type is configured with different note reporting schemes.Be understandable that, in the reporting schemes that often kind of network type is corresponding, the procotol used when reporting and there is unread short messages message is different, thus makes to report the processing mode in process can be different to note.Therefore, after acquiring unit 403 gets and uses network of network type when unread short messages is received from note data storehouse, report the unit 404 meeting reporting schemes of acquisition corresponding to this network type further, thus use this reporting schemes to report notification message to note application.
Wherein, this notification message is mainly used in the application of instruction note and reads unread short messages from note data storehouse.Popular says, notifies that this note is applied exactly, occurs abnormal in the communications applications of user terminal 400, or before user terminal 400 shutdown, has and receive new message (not by the unread short messages of note application reading).After this note is applied in the notification message receiving and report, thus this unread short messages can be obtained from note data storehouse.
For example, suppose that a certain mobile phone can support GSM network and cdma network simultaneously, and what install in mobile phone is the 2G card (i.e. this card support GSM network) of movement, network so when receiving new message is just GSM network, and mobile phone thus the information that can be GSM network by the network type of the initial data of this new message and this new message are stored in note data storehouse.If when receiving new message, also do not applied to note by the information reporting that there is new message, the note application of mobile phone occurs abnormal, thus can not receive the message that there is new message reported.Therefore, after mobile phone is restarted, mobile phone can detect in note data storehouse whether there is new message, if existed, just use the reporting schemes that the GSM network of this new message stored is corresponding, the information reporting that there is new message is applied to note, so that note application obtains from note data storehouse.
As a kind of feasible execution mode, this note mark can also comprise the mark of client identification module belonging to this network type, reports unit 404 to use reporting schemes corresponding to this network type to report the concrete mode of notification message to be to note application:
According to the mark of this client identification module, the reporting schemes that this network type using this client identification module to support is corresponding, reports notification message to note application.
Concrete, after acquiring unit 403 gets which kind of network type specifically using card 1 or card 2 when this unread short messages is received, as used the cdma network of card 1, reporting unit 404 will obtain reporting schemes corresponding to the cdma network of card 1 further and reporting notification message to note application.That is, for consolidated network type, affiliated client identification module is different, and the note reporting schemes of its correspondence is also just different.Thus can avoid reporting unit 404 when not knowing the network type of this unread short messages, the GSM network that GSM network, cdma network and the card 2 using card 1 to support respectively is supported, the reporting schemes that cdma network is corresponding, the notification message that there is unread short messages is repeatedly reported note application, apply the situation repeatedly obtaining this unread short messages from note data storehouse to make note and occur.
See also Fig. 5, Fig. 5 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention.Wherein, the user terminal 400 shown in Fig. 5 optimizes to obtain on the basis of the user terminal 400 shown in Fig. 4.As shown in Figure 5, this user terminal 400 can also comprise:
Output unit 405, when there is unread short messages for detecting at detecting unit 401 in note data storehouse, exports the first information, and wherein, this first information for pointing out this communications applications abnormal, and exists unread short messages.
In the embodiment of the present invention, because a lot of user likes watching video on the subscriber terminal, reading novel and play games, so at the communication abnormality of user terminal 400, and detecting unit 401 detect in note data storehouse exist not by note application read unread short messages time, output unit 405 can export the first information, applying to point out user's present communications occurs extremely, and receive new message (note to be applied, this new message is unread short messages), need to restart user terminal 400 to receive new message.User can be allowed like this to determine it is need to restart user terminal 400 at once to receive note according to the actual conditions of oneself, still can postpone the time of restarting user terminal 400.Allow user determine to restart the time of user terminal 400 by the mode exporting information, more meet the actual conditions of user, thus promote Consumer's Experience.
For example, suppose that receiving element 406 is currently received new message, when also not reporting to note application the message that there is new message, the communications applications of user terminal 400 occurs abnormal.And user is now seeing video, output unit 405 is carrying out reminding user communications applications exception and the message that there is new message (being new message for user's unread short messages) with regard to exporting information.If user feels to need to receive this new message at once, just can restart user terminal 400 according to information, and if user wish continue viewing video, so just temporarily can not restart user terminal 400, namely postpone reception this new message.
Acquiring unit 403, specifically for responding this first information user, triggers and restarts after unit 402 restarts this user terminal, obtain the note mark of this unread short messages from note data storehouse.
Receiving element 406, for report unit 404 use reporting schemes corresponding to this network type to note application report notification message after, receive this note apply return this unread short messages reading successful second information.
In the embodiment of the present invention, report unit 404 use reporting schemes corresponding to this network type to note application report notification message after, report unit 404 can send signal to receiving element 406 to start to trigger receiving element 406, so that this unread short messages that whether real-time reception has this note to apply returns reads successful second information.Simultaneously, after note is applied in the notification message receiving and report, this unread short messages can be read from note data storehouse, and in conjunction with the address list of user terminal 400, parse the information such as the particular content of this unread short messages, sender address, name, time of reception and the client identification module belonging to this unread short messages, thus these information parsed finally are stored in the memory space of note application, and be presented on the application display interface of this note application, so that user checks.
Therefore, after note application success reads this unread short messages, this note application can return the second information to user terminal 400, thus receiving element 406 can receive note applies the second information returned.Wherein, this second information is used to indicate this unread short messages of user terminal 400 and successfully reads, so that user terminal 400 processes the unread short messages stored in this note data storehouse.
Delete cells 407, for responding the second information that receiving element 406 receives, deletes the note mark of this unread short messages and this unread short messages stored in this note data storehouse.
In the embodiment of the present invention, when receiving element 406 receive note apply this unread short messages of returning read successful second information time, delete cells 407 can respond this second information, deletes the note mark of this unread short messages and this unread short messages stored in this note data storehouse.So both can the memory space of releasing user terminal 400, can avoid again reporting again reporting of unit 404, thus solve user terminal 400 and repeat to report the problem that there is new message message.
Optionally, receiving element 406, also for receiving the note that the webserver sends, and is set to unread short messages by this note.
In the embodiment of the present invention, when receiving element 406 receives the note sent by the webserver, user terminal 400 is in conjunction with the address list of user terminal 400, parse the information such as the particular content of this note, sender address, name, time of reception and the client identification module belonging to this note, thus can by these information temporary storages in the note data buffer memory storehouse (i.e. framework communications framework) of user terminal 400.So that the application of (when namely communications applications does not occur abnormal) note directly can obtain these information from note data buffer memory storehouse under normal circumstances.Meanwhile, this note can be set to unread short messages by receiving element 406.Wherein, in gsm networks, the webserver also can be described as short message service center.
User terminal 400 can also comprise:
Memory cell 408, use the mark of network of network type and the client identification module belonging to this network type to identify as the note of this unread short messages during for being received by this unread short messages, and this unread short messages and this note mark are stored in the note data storehouse of this user terminal.
In the embodiment of the present invention, the note of webserver transmission is received at receiving element 406, and after this note is set to unread short messages, memory cell 408 can obtain user terminal 400 when this unread short messages is received and use network of network type (being support the network of 3GPP agreement or support the network of 3GPP2 agreement), and obtains the client identification module (namely this network type belongs to card 1 or belongs to card 2) belonging to this network type.Therefore, the note of the mark of this network type and this client identification module as this unread short messages can identify by memory cell 408, thus the mark of this unread short messages and this unread short messages is stored in the note data storehouse of user terminal 400.Can prevent like this before not reporting and there is new message message, communications applications is abnormal and the situation appearance that causes note to be lost.
Wherein, the note of webserver transmission is received at receiving element 406, and after this note is resolved, if there is not exception in communications applications, so user terminal 400 will report there is new message to note application according to the information parsed, note application thus directly will obtain the information that this note parses from note data buffer memory storehouse, after obtaining successfully, this note can be stored in note application data base by note application, and be presented on its application display interface, so that user checks.After note application success obtains this note, note application equally can return the information that note successfully obtains, so that in the timely deleting short message database of delete cells 407 to user terminal 400.
It should be noted that; after note application success obtains this note; information in note data buffer memory storehouse can be deleted; if and note application also do not get this note before; there is exception or the abnormal shutdown of user terminal in the communications applications of user terminal 400; information so in note data buffer memory storehouse also can be deleted, so just need this note of note data library storage.
Visible, in the user terminal described by Fig. 4 and Fig. 5, when the communications applications of user terminal is abnormal, whether user terminal can detect in note data storehouse exists not by the unread short messages of note application reading, if existed, after restarting this user terminal, the note mark of this unread short messages can be obtained from note data storehouse, wherein, this note mark comprises use network of network type when unread short messages is received, user terminal can use reporting schemes corresponding to this network type to report notification message to note application, apply to indicate note and read unread short messages from note data storehouse.User terminal can be avoided in this way to occur extremely and after restarting, repeat to report to note application note the problem that there is unread short messages, thus reduce the power consumption of user terminal.Simultaneously, user terminal can occur abnormal in communications applications, and when the unread short messages existing and do not read by note application being detected in note data storehouse, export information, to make user determine whether needing to restart user terminal at once to receive unread short messages according to the actual conditions of oneself, thus promote Consumer's Experience., read after unread short messages at note application success, the unread short messages stored in deleting short message database and note mark meanwhile, can the memory space of releasing user terminal, thus improve the operational efficiency of user terminal.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (10)
1. a SMS processing method, is characterized in that, comprising:
When the communications applications of user terminal is abnormal, detects in the note data storehouse of described user terminal and whether exist not by the unread short messages of the note of described user terminal application reading;
If there is unread short messages in described note data storehouse, then restart described user terminal, and from described note data storehouse, obtain the note mark of described unread short messages, described note mark comprises use network of network type when described unread short messages is received;
Use reporting schemes corresponding to described network type to report notification message to described note application, described notification message is used to indicate the application of described note and reads described unread short messages from described note data storehouse.
2. method according to claim 1, is characterized in that, when there is unread short messages in described note data storehouse, described method also comprises:
Exporting the first information, for pointing out described communications applications abnormal, and there is unread short messages in described first information;
After described first information of response restarts described user terminal, from described note data storehouse, described in performing, obtain the step of the note mark of described unread short messages.
3. method according to claim 1 and 2, is characterized in that, described note mark also comprises the mark of the client identification module belonging to described network type; The reporting schemes that the described network type of described use is corresponding reports notification message to described note application, comprising:
According to the mark of described client identification module, the reporting schemes that the described network type using described client identification module to support is corresponding, reports notification message to described note application.
4. method according to claim 3, is characterized in that, reporting schemes corresponding to the described network type of described use is to after described note application reports notification message, and described method also comprises:
Receive successful second information of described unread short messages reading that the application of described note returns;
Respond described second information, delete the described unread short messages and described note mark that store in described note data storehouse.
5. method according to claim 4, it is characterized in that, when the described communications applications when user terminal is abnormal, before detecting in the note data storehouse of described user terminal the unread short messages whether existing and do not read by the application of the note of described user terminal, described method also comprises:
Receive the note that the webserver sends, and described note is set to unread short messages;
Use the mark of network of network type and the client identification module belonging to described network type to identify as the note of described unread short messages when being received by described unread short messages, and described unread short messages and described note mark are stored in the note data storehouse of user terminal.
6. a user terminal, is characterized in that, comprising:
Whether detecting unit, for when the communications applications of described user terminal is abnormal, detects in the note data storehouse of described user terminal and exist not by the unread short messages of the note of described user terminal application reading;
Restarting unit, when there is unread short messages for detecting at described detecting unit in described note data storehouse, restarting described user terminal;
Acquiring unit, for restarting after unit restarts described user terminal described, obtains the note mark of described unread short messages from described note data storehouse, and described note mark comprises when described unread short messages is received and uses network of network type;
Report unit, for using reporting schemes corresponding to described network type to report notification message to described note application, described notification message is used to indicate the application of described note and reads described unread short messages from described note data storehouse.
7. user terminal according to claim 6, is characterized in that, described user terminal also comprises:
Output unit, when there is unread short messages for detecting at described detecting unit in described note data storehouse, exports the first information, and described first information for pointing out described communications applications abnormal, and exists unread short messages; And to restart described in cell response after the first information restarts described user terminal described, trigger described acquiring unit and perform the operation that the described note obtaining described unread short messages from described note data storehouse identifies.
8. the user terminal according to claim 6 or 7, is characterized in that, described note mark also comprises the mark of the client identification module belonging to described network type; The described unit that reports uses reporting schemes corresponding to described network type to report the concrete mode of notification message to be to the application of described note:
According to the mark of described client identification module, the reporting schemes that the described network type using described client identification module to support is corresponding, reports notification message to described note application.
9. user terminal according to claim 8, is characterized in that, described user terminal also comprises:
Receiving element, for using reporting schemes corresponding to described network type to after the application of described note reports notification message at the described unit that reports, receiving the described unread short messages that the application of described note returns and reading successful second information;
Delete cells, for responding described second information, deletes the described unread short messages and described note mark that store in described note data storehouse.
10. user terminal according to claim 9, is characterized in that,
Described receiving element, also for receiving the note that the webserver sends, and is set to unread short messages by described note;
Described user terminal also comprises:
Memory cell, use the mark of network of network type and the client identification module belonging to described network type to identify as the note of described unread short messages during for being received by described unread short messages, and described unread short messages and described note mark are stored in the note data storehouse of user terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510621778.9A CN105554712B (en) | 2015-09-25 | 2015-09-25 | A kind of SMS processing method and user terminal |
PCT/CN2016/097349 WO2017050098A1 (en) | 2015-09-25 | 2016-08-30 | Short message processing method and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510621778.9A CN105554712B (en) | 2015-09-25 | 2015-09-25 | A kind of SMS processing method and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105554712A true CN105554712A (en) | 2016-05-04 |
CN105554712B CN105554712B (en) | 2019-04-12 |
Family
ID=55833601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510621778.9A Active CN105554712B (en) | 2015-09-25 | 2015-09-25 | A kind of SMS processing method and user terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105554712B (en) |
WO (1) | WO2017050098A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017050098A1 (en) * | 2015-09-25 | 2017-03-30 | 宇龙计算机通信科技(深圳)有限公司 | Short message processing method and user terminal |
CN108924772A (en) * | 2018-08-02 | 2018-11-30 | 平安科技(深圳)有限公司 | Note transmission method, device, computer equipment and storage medium |
CN111191552A (en) * | 2019-12-23 | 2020-05-22 | 合肥美的智能科技有限公司 | Image recognition method based on visual terminal and visual terminal |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1599497A (en) * | 2004-09-17 | 2005-03-23 | 中国联合通信有限公司 | Double modular card and access terminal and method for read of different network short message |
CN1809194A (en) * | 2006-02-07 | 2006-07-26 | 宇龙计算机通信科技(深圳)有限公司 | Main interface system and method for short messages in mobile communication terminal |
CN101083687A (en) * | 2006-05-31 | 2007-12-05 | 北京握奇数据系统有限公司 | Method for displaying unread short message and related telecom smart card and short message |
CN101282549A (en) * | 2008-05-28 | 2008-10-08 | 德信智能手机技术(北京)有限公司 | Method and apparatus for managing short message of double-card double-standby mobile terminal |
CN101282544A (en) * | 2008-05-26 | 2008-10-08 | 德信智能手机技术(北京)有限公司 | Method and apparatus for transmitting and receiving short message of double-card double-standby mobile terminal |
CN101282542A (en) * | 2008-05-19 | 2008-10-08 | 德信智能手机技术(北京)有限公司 | Method and apparatus for implementing short message serving report for double-card double-standby mobile terminal |
CN101378571A (en) * | 2008-10-07 | 2009-03-04 | 深圳市戴文科技有限公司 | Communication terminal, and information-incoming backup method and system thereof |
CN102883289A (en) * | 2012-09-19 | 2013-01-16 | 北京小米科技有限责任公司 | Communication processing method, client and mobile terminal |
CN103024691A (en) * | 2012-11-22 | 2013-04-03 | 东莞宇龙通信科技有限公司 | Method and device for transmitting information |
CN103389916A (en) * | 2012-05-11 | 2013-11-13 | 宇龙计算机通信科技(深圳)有限公司 | Application program exception handling method and mobile terminal |
CN103685669A (en) * | 2013-12-06 | 2014-03-26 | 深圳酷派技术有限公司 | Short message processing method and terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130282838A1 (en) * | 2012-04-20 | 2013-10-24 | Telefonaktiebolaget L M Ericsson (Publ) | Group sms messaging |
CN105554712B (en) * | 2015-09-25 | 2019-04-12 | 宇龙计算机通信科技(深圳)有限公司 | A kind of SMS processing method and user terminal |
-
2015
- 2015-09-25 CN CN201510621778.9A patent/CN105554712B/en active Active
-
2016
- 2016-08-30 WO PCT/CN2016/097349 patent/WO2017050098A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1599497A (en) * | 2004-09-17 | 2005-03-23 | 中国联合通信有限公司 | Double modular card and access terminal and method for read of different network short message |
CN1809194A (en) * | 2006-02-07 | 2006-07-26 | 宇龙计算机通信科技(深圳)有限公司 | Main interface system and method for short messages in mobile communication terminal |
CN101083687A (en) * | 2006-05-31 | 2007-12-05 | 北京握奇数据系统有限公司 | Method for displaying unread short message and related telecom smart card and short message |
CN101282542A (en) * | 2008-05-19 | 2008-10-08 | 德信智能手机技术(北京)有限公司 | Method and apparatus for implementing short message serving report for double-card double-standby mobile terminal |
CN101282544A (en) * | 2008-05-26 | 2008-10-08 | 德信智能手机技术(北京)有限公司 | Method and apparatus for transmitting and receiving short message of double-card double-standby mobile terminal |
CN101282549A (en) * | 2008-05-28 | 2008-10-08 | 德信智能手机技术(北京)有限公司 | Method and apparatus for managing short message of double-card double-standby mobile terminal |
CN101378571A (en) * | 2008-10-07 | 2009-03-04 | 深圳市戴文科技有限公司 | Communication terminal, and information-incoming backup method and system thereof |
CN103389916A (en) * | 2012-05-11 | 2013-11-13 | 宇龙计算机通信科技(深圳)有限公司 | Application program exception handling method and mobile terminal |
CN102883289A (en) * | 2012-09-19 | 2013-01-16 | 北京小米科技有限责任公司 | Communication processing method, client and mobile terminal |
CN103024691A (en) * | 2012-11-22 | 2013-04-03 | 东莞宇龙通信科技有限公司 | Method and device for transmitting information |
CN103685669A (en) * | 2013-12-06 | 2014-03-26 | 深圳酷派技术有限公司 | Short message processing method and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017050098A1 (en) * | 2015-09-25 | 2017-03-30 | 宇龙计算机通信科技(深圳)有限公司 | Short message processing method and user terminal |
CN108924772A (en) * | 2018-08-02 | 2018-11-30 | 平安科技(深圳)有限公司 | Note transmission method, device, computer equipment and storage medium |
CN111191552A (en) * | 2019-12-23 | 2020-05-22 | 合肥美的智能科技有限公司 | Image recognition method based on visual terminal and visual terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2017050098A1 (en) | 2017-03-30 |
CN105554712B (en) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090318118A1 (en) | System and method for managing missed calls and unread messages | |
CN102833699B (en) | Method, system and the mobile communication terminal of simulation bilateral function | |
CN102638417A (en) | Information communication method, device and system | |
CN105718529A (en) | Method and device for pushing messages of application program on communication terminal | |
CN104283926A (en) | Data synchronization method, device and server | |
CN105100062A (en) | Information push method, device and system | |
CN103200022B (en) | A kind of data download abnormality eliminating method, equipment and system | |
CN104244206A (en) | Method, device and terminal device for processing short message | |
CN101938374A (en) | System performance monitoring and alarming method and system | |
CN105554712A (en) | Short message processing method and user terminal | |
CN111669717B (en) | Cloud mobile phone data sending method, computer device and storage medium | |
CN112073293A (en) | Instant message reminding method and related device | |
CN103716230A (en) | Message sending method, device and server | |
CN105227443A (en) | The synchronous method of conversation message, synchronizer and synchro system | |
CN105554859A (en) | Message notification processing method of terminal, and terminal | |
CN102510407A (en) | Method and system for reading and writing microblog | |
CN103200296B (en) | Method for information display, device and terminal | |
CN105162936A (en) | Unfamiliar call prompt method and user terminal | |
CN105491223B (en) | Information processing method, related equipment and system | |
CN103095891A (en) | Method, device and terminal of quickly inputting information of business card | |
CN115914375A (en) | Disaster tolerance processing method and device for distributed message platform | |
CN102655690A (en) | Information notifying method and device and electronic equipment | |
CN102264043B (en) | Short message sending method, calling method and communication terminal | |
CN112905266A (en) | System and method for managing background programs of smart watch | |
CN201191861Y (en) | Server and system updating stock market information in real-time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |