CN105554712B - A kind of SMS processing method and user terminal - Google Patents

A kind of SMS processing method and user terminal Download PDF

Info

Publication number
CN105554712B
CN105554712B CN201510621778.9A CN201510621778A CN105554712B CN 105554712 B CN105554712 B CN 105554712B CN 201510621778 A CN201510621778 A CN 201510621778A CN 105554712 B CN105554712 B CN 105554712B
Authority
CN
China
Prior art keywords
user terminal
short message
unread
short
short messages
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.)
Active
Application number
CN201510621778.9A
Other languages
Chinese (zh)
Other versions
CN105554712A (en
Inventor
周满辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510621778.9A priority Critical patent/CN105554712B/en
Publication of CN105554712A publication Critical patent/CN105554712A/en
Priority to PCT/CN2016/097349 priority patent/WO2017050098A1/en
Application granted granted Critical
Publication of CN105554712B publication Critical patent/CN105554712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present embodiments relate to field of communication technology, a kind of SMS processing method and user terminal are disclosed.Wherein, this method comprises: when the communications applications exception of user terminal, user terminal can detecte in note data library with the presence or absence of the unread short messages not read by short message application, if there is, after restarting the user terminal, the short message mark of the unread short messages can be obtained from note data library, wherein, the network type of network is used when short message mark is received including unread short messages, user terminal will use the corresponding reporting schemes of the network type and report notification message to short message application, read unread short messages from note data library to indicate that short message is applied.After can occurring exception to avoid user terminal in this way and restarting, repeat to report there are unread short messages to short message application short message, to reduce the power consumption of user terminal.

Description

A kind of SMS processing method and user terminal
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of SMS processing method and user terminal.
Background technique
Currently, short message application has become the indispensable application of the user terminals such as smart phone.Under normal conditions, user is whole It holds after the new message for receiving network server transmission, new message can be kept in into the note data library of user terminal, So that when user terminal occurs abnormal, the short message application of user terminal can obtain new message from note data library.Therefore, User terminal is before receiving new message and not being reported to short message application also, if the communications applications of user terminal are (as conversed Using, short message application etc.) there is exception or user terminal and shuts down extremely, then user terminal can will be present newly after restarting The information reporting of short message gives short message application.
In practice, it has been found that most users terminal all supports multiple network mode, and user terminal is after restarting, can The corresponding reporting schemes of network mode that can be supported respectively using it, the message that new message will be present repeat to be reported to short message Using, and short message application can repeatedly obtain the short message according to the message, to increase the power consumption of user terminal.
Summary of the invention
The embodiment of the invention discloses a kind of SMS processing method and user terminals, can reduce the power consumption of user terminal.
The embodiment of the invention discloses a kind of SMS processing methods, comprising:
When the communications applications exception of user terminal, detect in the note data library of the user terminal with the presence or absence of not by The unread short messages that the short message application of the user terminal is read;
If restarting the user terminal there are unread short messages in the note data library, and from the note data library The middle short message mark for obtaining the unread short messages, the short message mark include the net when unread short messages are received using network Network type;
Notification message, the notification message are reported to the short message application using the corresponding reporting schemes of the network type The short message is used to indicate using reading the unread short messages from the note data library.
Correspondingly, the embodiment of the invention discloses a kind of user terminals, comprising:
Detection unit, for detecting the short message number of the user terminal in the communications applications exception of the user terminal According to the unread short messages that whether there is in library not by the short message of the user terminal using reading;
Restart unit, for detecting in the note data library in the detection unit there are when unread short messages, restarts The user terminal;
Acquiring unit is obtained from the note data library for restarting after unit restarts the user terminal described The short message of the unread short messages is taken to identify, the short message mark includes the network class when unread short messages are received using network Type;
Reporting unit, for reporting notice to disappear to the short message application using the corresponding reporting schemes of the network type Breath, the notification message are used to indicate the short message using reading the unread short messages from the note data library.
The implementation of the embodiments of the present invention has the following beneficial effects:
In the embodiment of the present invention, when the communications applications exception of user terminal, user terminal can detecte note data library In can be from short message if it does, after restarting the user terminal with the presence or absence of the unread short messages not read by short message application The short message mark of the unread short messages is obtained in database, wherein short message mark uses network when being received including unread short messages Network type, user terminal will use the corresponding reporting schemes of the network type and reports notification message to short message application, to refer to Show that short message is applied and reads unread short messages from note data library.Can occur abnormal lay equal stress on to avoid user terminal in this way After opening, repeat to report there are unread short messages to short message application short message, to reduce the power consumption of user terminal.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow diagram of SMS processing method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another SMS processing method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another SMS processing method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of SMS processing method and user terminals, can reduce the power consumption of user terminal. It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of SMS processing method disclosed by the embodiments of the present invention.Wherein, scheme Method shown in 1 can be applied to smart phone (such as Android phone), tablet computer, palm PC and mobile interchange Net equipment (Mobile Internet Devices, MID), personal digital assistant (Personal Digital Assistant, PDA), the user terminals such as media player, smart television, smartwatch, intelligent glasses, Intelligent bracelet, which can Receive short message.As shown in Figure 1, the SMS processing method may comprise steps of:
S101, when the communications applications exception of user terminal, user terminal detect note data library in the presence or absence of not by The unread short messages that short message application is read, if so, executing step S102;If it is not, terminating this process.
In the embodiment of the present invention, communications applications generally comprise the talk application of user terminal, short message application etc., and the present invention is real Apply example without limitation.Note data library is the mmssms database in Android system, is being sent or received for storing short message Various types of data (specifically, unread short messages are mainly stored in the raw table in the note data library) in the process.Usual situation Under, the short message just received is stored in note data library, primarily to preventing short message when user terminal exception from surprisingly losing.
Therefore, when the communications applications of user terminal occur abnormal, user terminal can detecte or scan note data library In with the presence or absence of by short message application read unread short messages.If it does, be just restarted automatically the user terminal, and from the short message The short message mark of the unread short messages is obtained in database;If it does not, so user terminal does not just do any operation.Wherein, User terminal is also possible to after each booting, and detecting, which whether there is in note data library, is not read by what short message application was read Short message, the embodiment of the present invention is without limitation.
S102, user terminal restart the user terminal, and the short message mark of the unread short messages is obtained from note data library.
In the embodiment of the present invention, the short message mark of unread short messages and unread short messages is stored in note data library, wherein Short message mark may include the network type of the user terminal currently used network when the unread short messages are received by user terminal.
Wherein, which may include supporting third generation partner program (3rd Generation Partnership Project, 3GPP) agreement network and support (the 3rd Generation of third generation partner program 2 Partnership Project 2,3GPP2) agreement network, the embodiment of the present invention is without limitation.Wherein, in 3GPP agreement Network is mainly based on GSM network, and the network in 3GPP2 agreement is mainly based on cdma network.
Therefore, there are after unread short messages in detecting note data library, user terminal can be restarted automatically, to solve The problem of communications applications exception.It can delay extremely without being connected to incoming call or short message in time to avoid due to communications applications in this way The case where critical event, occurs, to promote user experience.After user terminal is restarted, user terminal can be from short message number According to the network type obtained in library when the unread short messages are received using network.
S103, user terminal are reported using the corresponding reporting schemes of network type that short message mark includes to short message application Notification message, and terminate this process.
In the embodiment of the present invention, user terminal is that every kind of network type is configured with different short message reporting schemes.It can manage Solution, in the corresponding reporting schemes of every kind of network type, there are network protocols used when unread short messages message reporting Difference, so that the processing mode during reporting to short message will be different.Therefore, it is got from note data library When unread short messages are received using the network type of network after, user terminal can be obtained further corresponding to the network type Reporting schemes, to report notification message to short message application using the reporting schemes.
Wherein, which is mainly used for indicating short message using reading unread short messages from note data library.Popular It says, exactly notifies the short message application, before the shutdown of abnormal or user terminal occur in the communications applications of user terminal, there is reception To new message (unread short messages not read by short message application).The short message is applied after receiving the notification message reported, from And the unread short messages can be obtained from note data library.
As an example it is assumed that a certain mobile phone can support GSM network and cdma network simultaneously, and what is installed in mobile phone is to move Dynamic 2G card (i.e. the card supports GSM network), then the network when receiving new message is just GSM network, mobile phone is to incite somebody to action The network type of the initial data of the new message and the new message is that the information of GSM network is stored in note data library.Such as For fruit when receiving new message, the information reporting that new message not will be present also gives short message application, and the short message application of mobile phone occurs different Often, thus cannot receive report there are the message of new message.Therefore, after mobile phone is restarted, mobile phone can detecte short message It whether there is new message in database, if it does, the corresponding reporting schemes of GSM network of the new message of storage are just used, The information reporting that new message will be present gives short message application, applies so as to short message and obtains from note data library.
As a kind of feasible embodiment, since there are two types of mode cards, i.e. two kinds of clients for current most of user terminal Identification module (SIM card), therefore, the short message mark for the unread short messages which obtains can also include the network type The mark (being specifically which kind of network type using card 1 or card 2 when i.e. the unread short messages are received) of affiliated SIM card.Cause This, user terminal reports notification message to short message application using the corresponding reporting schemes of network type that short message mark includes Concrete mode can be with are as follows:
According to the mark of the client identification module, on the network type supported using the client identification module is corresponding Report mode reports notification message to short message application.
Specifically, getting when the unread short messages are received in user terminal is specifically using which kind of net for blocking 1 or card 2 After network type, the cdma network of card 1 is such as used, the cdma network which will further obtain card 1 is corresponding Reporting schemes report notification message to short message application.That is, for consolidated network type, affiliated client identification module Difference, corresponding short message reporting schemes are also just different.So as to avoid user terminal in the net for not knowing the unread short messages When network type, the GSM network for 2 support of GSM network, cdma network and card supported respectively using card 1, cdma network are corresponding Reporting schemes, the notification message that unread short messages will be present repeatedly are reported to short message application, so that short message is applied from note data library In the case where repeatedly obtaining unread short messages generation.
As it can be seen that in the method depicted in fig. 1, when the communications applications exception of user terminal, user terminal be can detecte With the presence or absence of the unread short messages not read by short message application in note data library, if it does, after restarting the user terminal, The short message mark of the unread short messages can be obtained from note data library, wherein short message mark is received including unread short messages When using network network type, user terminal will use the corresponding reporting schemes of the network type and reports notice to short message application Message reads unread short messages from note data library to indicate that short message is applied.It can go out in this way to avoid user terminal Now exception and after restarting, repeats to report there are unread short messages, to reduce user terminal to short message application short message Power consumption.
Referring to Fig. 2, Fig. 2 is the flow diagram of another SMS processing method disclosed by the embodiments of the present invention.Wherein, It is mutual that method shown in Fig. 2 can be applied to smart phone (such as Android phone), tablet computer, palm PC and movement The users such as networked devices, personal digital assistant, media player, smart television, smartwatch, intelligent glasses, Intelligent bracelet are whole End, the user terminal can receive short message.As shown in Fig. 2, the SMS processing method may comprise steps of:
S201, when the communications applications exception of user terminal, user terminal detect note data library in the presence or absence of not by The unread short messages that short message application is read, if so, executing step S202;If it is not, terminating this process.
S202, user terminal export the first prompt information.
In the embodiment of the present invention, since many users like watching video on the subscriber terminal, read novel and playing trip Play, then in the communication abnormality of user terminal, and user terminal is detected in note data library to exist and not read by short message application Unread short messages when, user terminal can export the first prompt information, abnormal to prompt the application of user's present communications to occur, and User terminal receives new message (for short message application, which is unread short messages), needs to restart user terminal To receive new message.It according to the actual conditions of oneself decision is to need to restart user terminal at once to receive that user, which in this way can be allowed, Short message still can postpone the time for restarting user terminal.User is allowed to determine to restart user by way of exporting prompt information The time of terminal, the actual conditions of user are more in line with, to promote user experience.
As an example it is assumed that user terminal is currently received new message, do not report that there are new messages to short message application also When message, the communications applications of user terminal occur abnormal.And user is seeing that video, user terminal can export prompt at this time Information reminds user's communications applications exception and there are the message of new message (unread short messages are new message for a user). If the user feels that needing to receive the new message at once, so that it may user terminal is restarted according to prompt information, and if user is uncommon Prestige continues to watch video, then can not restart user terminal temporarily, i.e. delay receives the new message.
S203, user terminal are obtained from note data library after responding first prompt information and restarting the user terminal The short message of the unread short messages is taken to identify.
In the embodiment of the present invention, user is responding first prompt information, and after restarting the user terminal, user terminal is just The short message mark of the unread short messages can be obtained from note data library.
S204, user terminal are reported using the corresponding reporting schemes of network type that short message mark includes to short message application Notification message.
S205, user terminal receive the unread short messages that short message application returns and read successful second prompt information.
In the embodiment of the present invention, when user terminal reported to short message application using the corresponding reporting schemes of the network type it is logical When knowing message, which is applied after receiving the notification message reported, the unread short messages can be read from note data library, And combine the address list of user terminal, parse the particular contents of the unread short messages, sender address, name, receiving time with And the information such as client identification module belonging to the unread short messages, so that these information parsed are ultimately stored on short message application Memory space, and be shown in the short message application application display interface on, so that user checks.
Therefore, after short message application success reads the unread short messages, which can return to second to user terminal Prompt information, so that user terminal can receive the second prompt information that short message application returns.Wherein, which uses In indicating user terminal, the unread short messages are successfully read, so as to user terminal to the unread short messages stored in the note data library into Row processing.
S206, user terminal respond second prompt information, delete the unread short messages that are stored in the note data library with And the short message mark of the unread short messages, and terminate this process.
In the embodiment of the present invention, successful second is read when user terminal receives the unread short messages that short message application returns When prompt information, user terminal can respond second prompt information, delete the unread short messages that are stored in the note data library with And the short message mark of the unread short messages.The memory space of user terminal can be not only discharged in this way, but also can be to avoid user terminal It reports again, to solve the problems, such as that user terminal repeats to report that there are new message message.
As it can be seen that in the method depicted in fig. 2, user terminal exception can occur in communications applications, and detect short message When there are the unread short messages not read by short message application in database, prompt information is exported, so that reality of the user according to oneself Situation decides whether to restart at once user terminal to receive unread short messages, to promote user experience.Meanwhile in short message After application success reads unread short messages, the unread short messages stored in note data library and short message mark are deleted, can be discharged The memory space of user terminal, to improve the operational efficiency of user terminal.
Referring to Fig. 3, Fig. 3 is the flow diagram of another SMS processing method disclosed by the embodiments of the present invention.Wherein, It is mutual that method shown in Fig. 3 can be applied to smart phone (such as Android phone), tablet computer, palm PC and movement The users such as networked devices, personal digital assistant, media player, smart television, smartwatch, intelligent glasses, Intelligent bracelet are whole End, the user terminal can receive short message.As shown in figure 3, the SMS processing method may comprise steps of:
S301, user terminal receive the short message that network server is sent, and the short message is set as unread short messages.
In the embodiment of the present invention, user terminal is when receiving the short message sent by network server, in conjunction with user terminal Address list, parse client belonging to particular content, sender address, name, receiving time and short message of the short message The information such as identification module, so that library can be cached the note data of these information temporary storages to user terminal, (i.e. framework is communicated Frame) in.So that short message application can directly delay from note data (when i.e. communications applications do not occur abnormal) under normal circumstances These information are obtained in warehousing.Meanwhile the short message can be also set as unread short messages by user terminal.Wherein, in gsm networks, net Network server is alternatively referred to as short message service center.
Using belonging to the network type of network and the network type when unread short messages are received by S302, user terminal Client identification module mark as the unread short messages short message identify, and by the unread short messages and the short message mark store In the note data library of the user terminal.
In the embodiment of the present invention, the short message of network server transmission is received in user terminal, and the short message is set as not After reading short message, it (is to support that user terminal, which can obtain user terminal when the unread short messages are received and use the network type of network, The network of 3GPP agreement still supports the network of 3GPP2 agreement), and obtain client identification module belonging to the network type (i.e. The network type is to belong to card 1 to still fall within card 2).Therefore, user terminal can be by the network type and the client identification module Mark as the unread short messages short message mark, so that the mark of the unread short messages and the unread short messages is stored in user In the note data library of terminal.It can prevent from not reporting there are before new message message in this way, communications applications cause extremely The case where short message is lost occurs.
Wherein, the short message of network server transmission is received in user terminal, and after the short message is parsed, if Communications applications do not occur exception, then user terminal will be reported to short message application there are new message according to the information parsed, Short message is applied to will directly obtain the information that the short message parses from note data caching library, after obtaining successfully, The short message can be stored in short message application database by short message application, and be shown in it and applied on display interface, so that user looks into It sees.After short message application success obtains the short message, what short message application equally can successfully be obtained to user terminal return short message is mentioned Show information, so that user terminal is deleted in time in note data library.
It should be noted that the information in note data caching library can delete after short message application success obtains the short message It removes, and if exception occur in the communications applications of user terminal or user is whole before short message application does not also get the short message The abnormal shutdown in end, then the information in note data caching library also will be deleted, so note data library is just needed to store the short message.
S303, when the communications applications exception of user terminal, user terminal detect note data library in the presence or absence of not by The unread short messages that short message application is read, if so, executing step S304;If it is not, terminating this process.
S304, user terminal restart the user terminal, and the short message mark of the unread short messages is obtained from note data library.
S305, user terminal are reported using the corresponding reporting schemes of network type that short message mark includes to short message application Notification message, and terminate this process.
As it can be seen that in the method depicted in fig. 3, user terminal can be incited somebody to action when receiving the short message of network server transmission The mark when short message is received using client identification module belonging to the network type of network and the network type is short with this Letter is collectively stored in note data library, to restart user's end when communications applications exception or user terminal are shut down extremely It is reported to short message application there are when short message after end, reporting schemes can be specified, so that the repetition of short message be avoided to report.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention.Wherein, Fig. 4 institute The user terminal 400 shown can include but is not limited to smart phone (such as Android phone), tablet computer, palm PC with And mobile internet device, personal digital assistant, media player, smart television, smartwatch, intelligent glasses, Intelligent bracelet Deng, wherein the user terminal can receive short message.As shown in figure 4, the user terminal 400 may include with lower unit:
Detection unit 401, for detecting the short message number of user terminal 400 when the communications applications exception of user terminal 400 According to the unread short messages that whether there is in library not by the short message of user terminal 400 using reading.
In the embodiment of the present invention, communications applications generally comprise the talk application of user terminal, short message application etc., and the present invention is real Apply example without limitation.Note data library is the mmssms database in Android system, is being sent or received for storing short message Various types of data (specifically, unread short messages are mainly stored in the raw table in the note data library) in the process.Usual situation Under, the short message just received is stored in note data library, primarily to short message is surprisingly lost when preventing user terminal 400 abnormal It loses.
Therefore, when the communications applications of user terminal 400 occur abnormal, detection unit 401 can detecte or scan short message With the presence or absence of the unread short messages not read by short message application in database.If it does, it is just restarted automatically the user terminal 400, And the short message mark of the unread short messages is obtained from the note data library;If it does not, so user terminal 400 is not just appointed What is operated.Wherein, whether detection unit 401 is also possible to after user terminal is switched on every time, detect and deposit in note data library In the unread short messages not read by short message application, the embodiment of the present invention is without limitation.
Restart unit 402, for detecting in note data library in detection unit 401 there are when unread short messages, restarts this User terminal 400.
Acquiring unit 403, for being obtained from note data library after restarting unit 401 and restarting the user terminal 400 The short message of the unread short messages identifies, wherein short message mark may include the network when unread short messages are received using network Type.
In the embodiment of the present invention, the short message mark of unread short messages and unread short messages is stored in note data library, wherein Short message mark may include the net of the currently used network of user terminal 400 when the unread short messages are received by user terminal 400 Network type.
Wherein, which may include supporting third generation partner program (3rd Generation Partnership Project, 3GPP) agreement network and support (the 3rd Generation of third generation partner program 2 Partnership Project 2,3GPP2) agreement network, the embodiment of the present invention is without limitation.Wherein, in 3GPP agreement Based on network is mainly netted by GSM, and based on the network in 3GPP2 agreement is mainly netted by CDMA.
Therefore, detection unit 401 detect in note data library there are after unread short messages, restart unit 402 can be with It is restarted automatically user terminal 400, to solve the problems, such as communications applications exception.Can not have in this way to avoid abnormal due to communications applications There is the case where being connected to incoming call or short message in time and delayed critical event, to promote user experience.In 400 weight of user terminal After opening, acquiring unit 403 can obtain the network class when unread short messages are received using network from note data library Type.
Reporting unit 404, for reporting notification message to short message application using the corresponding reporting schemes of the network type, In, which is used to indicate the short message using obtaining the unread short messages from the note data library.
In the embodiment of the present invention, user terminal 400 is that every kind of network type is configured with different short message reporting schemes.It can be with Understand, in the corresponding reporting schemes of every kind of network type, there are network used when unread short messages message associations reporting View is different, so that the processing mode during reporting to short message will be different.Therefore, in acquiring unit 403 from short message After getting when unread short messages are received in database using the network type of network, reporting unit 404 can be obtained further Reporting schemes corresponding to the network type, to report notification message to short message application using the reporting schemes.
Wherein, which is mainly used for indicating short message using reading unread short messages from note data library.Popular It says, exactly notifies the short message application, before there is the shutdown of abnormal or user terminal 400 in the communications applications of user terminal 400, Have and receives new message (unread short messages not read by short message application).The short message apply receive the notification message that reports it Afterwards, so that the unread short messages can be obtained from note data library.
As an example it is assumed that a certain mobile phone can support GSM network and cdma network simultaneously, and what is installed in mobile phone is to move Dynamic 2G card (i.e. the card supports GSM network), then the network when receiving new message is just GSM network, mobile phone is to incite somebody to action The network type of the initial data of the new message and the new message is that the information of GSM network is stored in note data library.Such as For fruit when receiving new message, the information reporting that new message not will be present also gives short message application, and the short message application of mobile phone occurs different Often, thus cannot receive report there are the message of new message.Therefore, after mobile phone is restarted, mobile phone can detecte short message It whether there is new message in database, if it does, the corresponding reporting schemes of GSM network of the new message of storage are just used, The information reporting that new message will be present gives short message application, applies so as to short message and obtains from note data library.
As a kind of feasible embodiment, short message mark can also include that client belonging to the network type identifies mould The mark of block, reporting unit 404 report the specific of notification message to short message application using the corresponding reporting schemes of the network type Mode can be with are as follows:
According to the mark of the client identification module, on the network type supported using the client identification module is corresponding Report mode reports notification message to short message application.
Specifically, getting when the unread short messages are received in acquiring unit 403 is specifically to use which of card 1 or card 2 After kind network type, the cdma network of card 1 is such as used, reporting unit 404 will further obtain the cdma network of card 1 Corresponding reporting schemes report notification message to short message application.That is, for consolidated network type, affiliated client's identification Module is different, and corresponding short message reporting schemes are also just different.So as to avoid reporting unit 404 from not knowing that it is short that this is not read When the network type of letter, the GSM network for 2 support of GSM network, cdma network and card supported respectively using card 1, cdma network Corresponding reporting schemes, the notification message that unread short messages will be present repeatedly are reported to short message application, so that short message is applied from short message The case where unread short messages are repeatedly obtained in database generation.
Please refer to fig. 5, Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.Wherein, User terminal 400 shown in fig. 5 is to optimize on the basis of user terminal 400 shown in Fig. 4 to obtain.As shown in figure 5, the use Family terminal 400 can also include:
Output unit 405, for detecting in note data library in detection unit 401 there are when unread short messages, output the One prompt information, wherein first prompt information is abnormal for prompting the communications applications, and there are unread short messages.
In the embodiment of the present invention, since many users like watching video on the subscriber terminal, read novel and playing trip Play, then in the communication abnormality of user terminal 400, and detection unit 401 is detected to exist in note data library and not answered by short message When with the unread short messages of reading, output unit 405 can export the first prompt information, to prompt the application of user's present communications to occur It is abnormal, and new message (for short message application, which is unread short messages) is received, it needs to restart user terminal 400 receive new message.User can be allowed to determine to be to need to restart user terminal 400 at once according to the actual conditions of oneself in this way Short message is received, still can postpone the time for restarting user terminal 400.User is allowed to determine by way of exporting prompt information The time for restarting user terminal 400, the actual conditions of user are more in line with, to promote user experience.
As an example it is assumed that receiving unit 406 is currently received new message, do not report that there are new messages to short message application also Message when, the communications applications of user terminal 400 occur abnormal.And user is seeing video, output unit 405 at this time Output prompt information reminds user's communications applications exception and (unread short messages are new short for a user there are new message Letter) message.If the user feels that needing to receive the new message at once, so that it may user terminal 400 is restarted according to prompt information, And if the user desired that continuing to watch video, then can not restart user terminal 400 temporarily, i.e. it is new short to receive this for delay Letter.
Acquiring unit 403 is specifically used in user response first prompt information, and triggering restarts unit 402 and restarts the user After terminal, the short message mark of the unread short messages is obtained from note data library.
Receiving unit 406, for being applied using the corresponding reporting schemes of the network type to short message in reporting unit 404 After reporting notification message, receives the unread short messages that short message application returns and read successful second prompt information.
In the embodiment of the present invention, use the corresponding reporting schemes of the network type to short message using upper in reporting unit 404 After reporting notification message, reporting unit 404 can send signal to trigger the starting of receiving unit 406, so as to reality to receiving unit 406 When receive that the unread short messages for whether having short message application to return read successful second prompt information.Meanwhile short message is applied After receiving the notification message reported, the unread short messages can be read from note data library, and combine the logical of user terminal 400 News record, parses belonging to particular content, sender address, name, receiving time and unread short messages of the unread short messages The information such as client identification module so that these information parsed to be ultimately stored on to the memory space of short message application, and are shown On the application display interface of short message application, so that user checks.
Therefore, after short message application success reads the unread short messages, which can return to the to user terminal 400 Two prompt informations, so that receiving unit 406 can receive the second prompt information that short message application returns.Wherein, second prompt Information is used to indicate user terminal 400 unread short messages and successfully reads, so that user terminal 400 in the note data library to storing Unread short messages handled.
Unit 407 is deleted to delete in the note data library for responding received second prompt information of receiving unit 406 The unread short messages of storage and the short message mark of the unread short messages.
In the embodiment of the present invention, read successfully when receiving unit 406 receives the unread short messages that short message application returns When the second prompt information, second prompt information can be responded by deleting unit 407, deleted this stored in the note data library and do not read Short message and the short message of unread short messages mark.The memory space of user terminal 400 can be not only discharged in this way, but also can be to avoid upper Declaration form member 404 reports again, to solve the problems, such as that user terminal 400 repeats to report that there are new message message.
Optionally, receiving unit 406, are also used to receive the short message of network server transmission, and the short message is set as not reading Short message.
In the embodiment of the present invention, when receiving unit 406 receives the short message sent by network server, user terminal 400 combine the address list of user terminals 400, parse the particular content of the short message, sender address, name, receiving time with And the information such as client identification module belonging to the short message, thus can be by these information temporary storages to the note data of user terminal 400 It caches in library (i.e. framework communications framework).So that short message is answered (when i.e. communications applications do not occur abnormal) under normal circumstances These information are obtained with can directly cache in library from note data.Meanwhile receiving unit 406 short message can be set as not reading it is short Letter.Wherein, in gsm networks, network server is alternatively referred to as short message service center.
User terminal 400 can also include:
Storage unit 408 uses the network type of network and the network type when for being received the unread short messages The mark of affiliated client identification module is identified as the short message of the unread short messages, and the unread short messages and the short message are identified It is stored in the note data library of the user terminal.
In the embodiment of the present invention, the short message of network server transmission is received in receiving unit 406, and the short message is set as After unread short messages, storage unit 408 can obtain user terminal 400 when the unread short messages are received and use the network type of network (being the network for supporting 3GPP agreement or the network for supporting 3GPP2 agreement), and obtain the identification of client belonging to the network type Module (i.e. the network type is to belong to card 1 to still fall within card 2).Therefore, storage unit 408 can be by the network type and the visitor The mark of family identification module is identified as the short message of the unread short messages, thus by the mark of the unread short messages and the unread short messages It is stored in the note data library of user terminal 400.It can prevent from not reporting there are before new message message in this way, communication is answered The case where causing short message to be lost with exception appearance.
Wherein, the short message of network server transmission is received in receiving unit 406, and after the short message is parsed, If communications applications do not occur exception, user terminal 400 will report presence to short message application according to the information parsed New message, short message are applied to directly obtain the information that the short message parses from note data caching library, when obtain at After function, which can be stored in short message application database by short message application, and is shown in it and applies on display interface, so as to User checks.After short message application success obtains the short message, short message application can equally return to short message success to user terminal 400 The prompt information of acquisition is deleted in note data library in time to delete unit 407.
It should be noted that the information in note data caching library can delete after short message application success obtains the short message It removes, and if exception or user occur in the communications applications of user terminal 400 before short message application does not also get the short message Exception shutdown of terminal, then the information in note data caching library also will be deleted, so it is short just to need note data library to store this Letter.
As it can be seen that in the user terminal described in Fig. 4 and Fig. 5, when the communications applications exception of user terminal, user terminal It can detecte with the presence or absence of the unread short messages not read by short message application in note data library, if it does, restarting the user After terminal, the short message mark of the unread short messages can be obtained from note data library, wherein short message mark is short including not reading Using the network type of network when letter is received, user terminal will use the corresponding reporting schemes of the network type to short message application Notification message is reported, reads unread short messages from note data library to indicate that short message is applied.In this way can to avoid with After family terminal exception occurs and restarts, repeat to report there are unread short messages to short message application short message, to reduce use The power consumption of family terminal.Meanwhile user terminal can occur in communications applications it is abnormal, and detect in note data library exist not by When the unread short messages that short message application is read, prompt information is exported, so that user decides whether need according to the actual conditions of oneself User terminal is restarted at once to receive unread short messages, to promote user experience.Meanwhile it not being read in the reading of short message application success After short message, the unread short messages stored in note data library and short message mark are deleted, the storage that can discharge user terminal is empty Between, to improve the operational efficiency of user terminal.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of SMS processing method characterized by comprising
When the communications applications exception of user terminal, detect in the note data library of the user terminal with the presence or absence of not described The unread short messages that the short message application of user terminal is read, the communications applications are talk application or short message application;
If restarting the user terminal there are unread short messages in the note data library, and obtained from the note data library The short message of the unread short messages is taken to identify, the short message mark includes the network class when unread short messages are received using network Type;
Notification message is reported to the short message application using the corresponding reporting schemes of the network type, the notification message is used for It indicates that the short message is applied and reads the unread short messages from the note data library.
2. the method according to claim 1, wherein when in the note data library there are when unread short messages, institute State method further include:
The first prompt information is exported, first prompt information is abnormal for prompting the communications applications, and there are unread short messages;
After responding first prompt information and restarting the user terminal, execution is described to be obtained from the note data library The step of short message mark of the unread short messages.
3. method according to claim 1 or 2, which is characterized in that the short message mark further includes the network type institute The mark of the client identification module of category;The corresponding reporting schemes of the use network type report logical to the short message application Know message, comprising:
According to the mark of the client identification module, the network type supported using the client identification module is corresponding Reporting schemes, Xiang Suoshu short message application report notification message.
4. according to the method described in claim 3, it is characterized in that, it is described using the corresponding reporting schemes of the network type to After the short message application reports notification message, the method also includes:
It receives the unread short messages that the short message application returns and reads successful second prompt information;
Second prompt information is responded, the unread short messages stored in the note data library and the short beacon are deleted Know.
5. according to the method described in claim 4, it is characterized in that, described when the communications applications exception of user terminal, detection In the note data library of the user terminal with the presence or absence of not by the user terminal short message application read unread short messages it Before, the method also includes:
The short message that network server is sent is received, and the short message is set as unread short messages;
Mould is identified using client belonging to the network type of network and the network type when unread short messages are received The mark of block is identified as the short message of the unread short messages, and the unread short messages and short message mark are stored in user The note data library of terminal.
6. a kind of user terminal characterized by comprising
Detection unit, for detecting the note data library of the user terminal in the communications applications exception of the user terminal In with the presence or absence of not by the user terminal short message application read unread short messages, the communications applications be talk application or Short message application;
Restart unit, it is described there are restarting when unread short messages in the note data library for being detected in the detection unit User terminal;
Acquiring unit obtains institute from the note data library for restarting after unit restarts the user terminal described The short message mark of unread short messages is stated, the short message mark includes the network type when unread short messages are received using network;
Reporting unit, for reporting notification message to the short message application using the corresponding reporting schemes of the network type, institute It states notification message and is used to indicate the short message using reading the unread short messages from the note data library.
7. user terminal according to claim 6, which is characterized in that the user terminal further include:
Output unit exports first for detecting in the note data library in the detection unit there are when unread short messages Prompt information, first prompt information is abnormal for prompting the communications applications, and there are unread short messages;And restart described After unit response first prompt information restarts the user terminal, it is described from described short to trigger the acquiring unit execution The operation of the short message mark of the unread short messages is obtained in telecommunications databases.
8. user terminal according to claim 6 or 7, which is characterized in that the short message mark further includes the network class The mark of client identification module belonging to type;The reporting unit is using the corresponding reporting schemes of the network type to described short Letter application reports the concrete mode of notification message are as follows:
According to the mark of the client identification module, the network type supported using the client identification module is corresponding Reporting schemes, Xiang Suoshu short message application report notification message.
9. user terminal according to claim 8, which is characterized in that the user terminal further include:
Receiving unit, for being applied using the corresponding reporting schemes of the network type to the short message in the reporting unit After reporting notification message, receives the unread short messages that the short message application returns and read successful second prompt information;
It deletes unit and deletes the unread short messages stored in the note data library for responding second prompt information And the short message mark.
10. user terminal according to claim 9, which is characterized in that
The receiving unit, is also used to receive the short message of network server transmission, and the short message is set as unread short messages;
The user terminal further include:
Storage unit, using belonging to the network type of network and the network type when for being received the unread short messages Client identification module short message mark of the mark as the unread short messages, and by the unread short messages and the short beacon Know the note data library for being stored in user terminal.
CN201510621778.9A 2015-09-25 2015-09-25 A kind of SMS processing method and user terminal Active CN105554712B (en)

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 CN105554712A (en) 2016-05-04
CN105554712B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554712B (en) * 2015-09-25 2019-04-12 宇龙计算机通信科技(深圳)有限公司 A kind of SMS processing method and user terminal
CN108924772B (en) * 2018-08-02 2021-12-03 平安科技(深圳)有限公司 Short message sending method and 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)

* Cited by examiner, † Cited by third party
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
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
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
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (11)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
WO2017050098A1 (en) 2017-03-30
CN105554712A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105050063B (en) Method and device for pushing information
CN106911556B (en) Message reminding management method and terminal
CN105554712B (en) A kind of SMS processing method and user terminal
CN104427074A (en) Method, device and system for displaying incoming information
CN110896376B (en) Message reminding method, message sending method, related device and equipment
CN105100062A (en) Information push method, device and system
CN104243538A (en) Resource sharing method and system
CN103368828B (en) A kind of message temporary storage and system
WO2015010593A1 (en) Method and apparatus for displaying contact list
CN104244206A (en) Method, device and terminal device for processing short message
CN110166624A (en) Message disturbance-free method, device, equipment and computer readable storage medium
CN111669717A (en) Cloud mobile phone data sending method, computer device and storage medium
CN108900855A (en) live content recording method and device
CN101938374A (en) System performance monitoring and alarming method and system
EP3506599B1 (en) Method for synchronizing contact information, apparatus and medium
CN102883289A (en) Communication processing method, client and mobile terminal
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
EP3634037B1 (en) Communication method, wearable device, server and system
CN104184871A (en) Method and device for prompting crank call number
CN104113465B (en) Realize the method and system of Message Processing in instant messaging open platform
CN108924840B (en) Blacklist management method and device and terminal
CN108174378B (en) Number identification method, device, terminal and storage medium
CN103095891A (en) Method, device and terminal of quickly inputting information of business card
CN103139714A (en) Method, system and switch of dynamic restructuring in cluster system
CN102281516B (en) Short message processing method and short message processing terminal

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