CN103037326B - Long SMS processing method and device - Google Patents

Long SMS processing method and device Download PDF

Info

Publication number
CN103037326B
CN103037326B CN201110295979.6A CN201110295979A CN103037326B CN 103037326 B CN103037326 B CN 103037326B CN 201110295979 A CN201110295979 A CN 201110295979A CN 103037326 B CN103037326 B CN 103037326B
Authority
CN
China
Prior art keywords
subpackage
long sms
array
indexes
note
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
CN201110295979.6A
Other languages
Chinese (zh)
Other versions
CN103037326A (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.)
Keen (Chongqing) Microelectronics Technology Co., Ltd.
Original Assignee
Chongqing Cyit Communication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Cyit Communication Technologies Co Ltd filed Critical Chongqing Cyit Communication Technologies Co Ltd
Priority to CN201110295979.6A priority Critical patent/CN103037326B/en
Publication of CN103037326A publication Critical patent/CN103037326A/en
Application granted granted Critical
Publication of CN103037326B publication Critical patent/CN103037326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of long SMS processing method and device, relate to moving communicating field, the method comprises: receive and store note bag; Extract the index information of described note bag, and add described index information to index list; When meeting the condition of generating indexes array, according to described index list generating indexes array; From described array of indexes, extract display information and show short message to user; Described device comprises: note receiver module, index list generation module, array of indexes generation module and display module; Adopt the present invention, can the process of long SMS be completed according to the index information of each long SMS subpackage and be shown to user, do not need to open up additional space, and because the restructuring of long SMS has only been gone with the index information of note bag, note bag is stored in storage medium before this, effectively prevent the note data loss problem that unexpected power down causes.

Description

Long SMS processing method and device
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of long SMS processing method and device.
Background technology
According to the description in 3GPP series documentation (3GPPTS23.040version4.2.0Release4) agreement, the note PDU data frame format received comprises the data compositions such as sender address TP-OA, Service Center Time Stamp TP-DCS and user data TP-UD.Wherein the maximum length of user data is 140 bytes, if long SMS also comprises UD header.Containing long SMS style number, the overall budget number of long SMS and current long SMS in this header is the information such as which bag.
According to the description in 3GPP series documentation (3GPPTS23.040version4.2.0Release4) agreement, correctly identifying the whether long SMS subpackage of the note bag that receives in order to enable terminal, in note control domain, also adding UDHI long SMS diagnostic criterium symbol.
The transmission of long SMS and reception are a kind of basic services of communication terminal, and the requirement that operator is also clear and definite in terminal specifications at present, communication terminal not only requirement can receive and send long SMS, and requirement can carry out merging display to the long SMS received, and the long SMS that short message content will be caused to lose because of certain reason for wishing user to see a content intact, therefore needs process the long SMS received.
When processing long SMS in prior art, the method for employing is utilize adhoc buffer to deposit the long SMS subpackage received, and by the time note bag receives complete or timer expiry and just the data in buffering taken away and shown.But prior art exists certain defect: if unexpected power down in the processing procedure of note data, the data in buffering will be lost, meanwhile, additional buffered is opened up to deposit the waste that note bag data also result in space.
Summary of the invention
In view of this, the present invention proposes a kind of long SMS processing method and device, and object is to solve the problem of data cached loss that in long SMS processing procedure, power down causes and space waste.
A kind of long SMS processing method, comprising:
Receive and store note bag; Extract the index information of described note bag, and add described index information to index list; When meeting the condition of generating indexes array, according to described index list generating indexes array; From described array of indexes, extract display information and show short message to user.
Preferably, described index information comprises: note bag sends address, transmitting time, long SMS diagnostic criterium and note ID.
Preferably, after adding described index information to index list, the method also comprises and judges that described note bag belongs to long SMS subpackage or normal short message, if belong to long SMS subpackage, then judges whether the subpackage of reception that there is described long SMS; If there is no the subpackage of reception of described long SMS, not generating indexes array and do not notify user; If there is the subpackage of reception of described long SMS, judge whether the condition meeting generating indexes array further.
Preferably, the described condition meeting generating indexes array is meet any one situation following: the note bag received is that normal short message or described long SMS have received or the index list receiving subpackage of described long SMS subpackage receive time-out or described long SMS generated array of indexes.
Preferably, be describedly specially any one situation following according to described index list generating indexes array: when the note received is normal short message, according to described index list generating indexes array, upgrade message list and also notify user; When described long SMS receives, according to described index list generating indexes array, and upgrade message list and notify user; When described long SMS subpackage receive time-out, then according to described index list generating indexes array, and notify user; When the subpackage of reception of described long SMS generated array of indexes, the subpackage that described long SMS is new is had again to be received, according to described index list generating indexes array.
Preferably, when described note bag belongs to long SMS subpackage, the method also comprises and arranges timer, when receiving new long SMS subpackage, and when there is not the subpackage of reception of described long SMS, starts described timer, and is risen timer flag position.When described long SMS does not receive, but described timer expiry, then close described timer and by described timer flag position zero.
Preferably, when described timer expiry, close described timer and by after described timer flag position zero, the method also comprises, according to index list generating indexes array, upgrade message list according to array of indexes simultaneously; Correspondingly, when receiving the new subpackage of described long SMS, regenerating array of indexes, upgrading message list.
Preferably, described index information also comprises note bag Status Flag, described note bag Status Flag comprises to be read and not to read, when the note bag received is the new subpackage of described long SMS, the subpackage of the reception state of the described long SMS of further judgement, when the state receiving each subpackage in subpackage of described long SMS is for reading, amendment short message state is not for read and to notify user, and described short message state is the short message state mark in described array of indexes.
A kind of long SMS processing unit, comprising: note receiver module, for receiving and storing note bag; Index list generation module, for extracting the index information of described note bag, and adds described index information to index list; Array of indexes generation module, for when meeting the condition of generating indexes array, according to described index list generating indexes array; Display module, for extracting display information and showing short message to user from described array of indexes.
Preferably, also comprise judge module, for judging the store path of described note bag, described note receiver module is further used for according to described store path, and the note bag received is write corresponding storage medium.
Preferably, described judge module is also for judging that described note bag belongs to long SMS subpackage or normal short message, if belong to long SMS subpackage, described judge module is further used for the subpackage of reception judging whether to exist described long SMS.
Preferably, also comprise time block, for arranging timer, when receiving the new subpackage of described long SMS, and when there is not the subpackage of reception of described long SMS, start described timer, and timer flag position is risen; When described long SMS does not receive, but described timer expiry, then close described timer and by described timer flag position zero.
Preferably, the described condition meeting generating indexes array is meet any one situation following: the note bag received is that normal short message or described long SMS have received or the subpackage of reception of long SMS subpackage receive time-out or long SMS generated array of indexes.
Preferably, described array of indexes generation module is specially any one situation following according to described index list generating indexes array: when the note received is normal short message, according to described index list generating indexes array, upgrades message list and notifies user; When described long SMS receives, according to described index list generating indexes array, and upgrade message list and notify user; When described long SMS subpackage receive time-out, then according to described index list generating indexes array, and notify user; When the subpackage of reception of described long SMS generated array of indexes, the subpackage that described long SMS is new is had again to be received, according to described index list generating indexes array.
Preferably, when described long SMS has received the state of each subpackage of subpackage for read, then after generating indexes array, amendment short message state is not for read and to notify user, and described short message state is the short message state mark in array of indexes.
Can the process of long SMS be completed and be shown to user according to the index information of each long SMS subpackage by long SMS processing method provided by the invention and device, do not need to open up additional space, and because the restructuring of long SMS has only been gone with the index information of note bag, note bag is stored in storage medium before this, effectively prevent the note data loss problem that unexpected power down causes; In addition the state of user can be shown to according to the status modifier whole piece long SMS recording often bag note in index information, when receiving the new subpackage of the long SMS that do not receive, if the state of all note bags is read before, change the state of long SMS when receiving new bag for not read, prompting user, improves the friendly of Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is long SMS process flow figure in the embodiment of the present invention
Fig. 2 is index list and array of indexes corresponding relation figure in the embodiment of the present invention
Fig. 3 is a kind of long SMS process flow figure disclosed in the embodiment of the present invention;
Fig. 4 is another kind of long SMS process flow figure disclosed in the embodiment of the present invention;
Fig. 5 is long SMS processing unit schematic diagram in the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is described in further detail.
Long SMS processing method as shown in Figure 1, comprises the following steps:
S101, reception store note bag;
The index information of S102, extraction note bag, and add index information to index list;
S103, when meeting the condition of generating indexes array, according to index list generating indexes array;
S104, from array of indexes, extract display information and show short message to user.
Wherein, also comprised before the described note bag of storage in step S101:
Judge that the note store path that active user is arranged is stored in terminal or SIM card, if be arranged on terminal, then note bag is stored in terminal, if be arranged on SIM card, then note bag is stored in SIM card.
Step S102 comprises further:
S1021, extract the index information of described note bag, and add described index information to index list;
Described index information comprises: note bag sends address, transmitting time, long SMS diagnostic criterium, note ID, short message state mark, if long SMS subpackage also comprises note UD head.
S1022, judge that described note bag belongs to long SMS subpackage or normal short message; If belong to long SMS subpackage, forward step S1023 to, if belong to normal short message, forward step S103 to.
S1023, judge whether the subpackage of reception that there is described long SMS, namely judge whether there is the index information belonging to same long SMS with described long SMS subpackage in index list, if do not exist, then forward step S1024 to, if exist, then forward step S103 to;
Wherein, judge whether that the condition belonging to same long SMS is:
1. the long SMS style number received in the UD header in subpackage manipulative indexing information is identical with the style number newly receiving note bag;
2. received in subpackage manipulative indexing information that to send address identical with the transmission address newly receiving note bag;
3. received the sum belonging to this long SMS subpackage recorded in UD head in subpackage manipulative indexing information identical with the sum meeting the long SMS subpackage of recording in the note bag UD head of 1,2 conditions;
4. received in subpackage manipulative indexing information record in UD head current note bag be which bag sequence number with satisfy condition 1,2,3 the sequence number receiving note subpackage different;
5. preferably, satisfying condition after 1,2,3,4, new receiving package and the time interval of receiving package is no more than 12 hours the latest before.
S1024, not generating indexes array and do not notify user.
Step S102 comprises further: arrange timer, when receiving described new long SMS subpackage, if there is not the subpackage of reception of described long SMS, then start timer, and timer flag position is risen, when receiving the new subpackage of described long SMS, the index information of this subpackage is added in index list, not generating indexes array; When described long SMS does not receive complete, but timer expiry, timer be closed and timer flag position by zero setting, now according to index list generating indexes array, upgrade message list and also notify user.Further, receive again the new subpackage of existing long SMS and received subpackage before and generated array of indexes, then generating indexes array.Correspondingly, before step S1023, first judge whether timer flag position has put, if do not put, then the subpackage not receiving described long SMS is described, or time of reception time-out.
Wherein, four kinds of situations are comprised further according to described index list generating indexes array in step S103:
One, when the note received is normal short message, then direct according to index list generating indexes array, upgrade message list and point out user to have newly to note.
Its two, when all subpackages of long SMS receive, timeing closing device, and by timer flag position zero; Meanwhile, upgrade message list according to index list generating indexes array and and notify that user has newly to note.
Wherein, the criterion that all subpackages of long SMS receive is: the subpackage sum of this long SMS recorded in the number belonging to same long SMS subpackage received and UD header is equal, illustrates that this long SMS receives.
Its three, when long SMS subpackage receive time-out, then according to index list generating indexes array, upgrade message list, and notify user.
They are four years old, be received when there being the subpackage that same long SMS is new, and long SMS subpackage in early stage receive time-out, namely timer flag position has not been put, the subpackage of reception of this long SMS had generated array of indexes and had notified user, now when there being new subpackage to be received, according to index list generating indexes array.Further, having received before judging in subpackage whether all subpackage states are as reading, if so, then short message state being revised as and not reading and upgrade message list, and notifying that user has new message to arrive; Otherwise, only upgrade message list and do not notify user.
Further, when not meeting the condition of generating indexes array, namely long SMS does not receive, and does not have receive time-out, and namely timer flag position is risen, then continue to receive.
Wherein, the short message in step S104 can be shown to user in the mode of message list.
Step S104 comprises further, when user checks note, corresponding index list is found according to the call number of array of indexes record corresponding to described note, the ID of corresponding note is found from index list, by ID short message reading content from storage medium, after finally being merged by the short message content of each subpackage, be shown to user; Correspondingly, the state flag bit that note bag is corresponding has been checked in amendment.
Corresponding relation between storage medium, index list, array of indexes is as shown in Figure 2:
A, B, C, D in figure represent different notes, first digit after letter shows that this note is made up of the subpackage of a few bag note, if only have letter, illustrate it is normal short message, second digit after letter shows that current note bag is which bag in long SMS subpackage, because network delay causes in reality transmits, not necessarily last bag arrives first early than Hou Yibao.
In an embodiment of the present invention, refer to each unit sequence number from top to bottom in index list, be array because used herein, index sequence number is from 0 for call number.
The index information of the corresponding often bag note of each member of index list, be together in series by the index information of all note bags and just define index list, often the composition of the index information of bag note can represent by following table:
Wherein long SMS diagnostic criterium indicates whether this note bag is long SMS, and note UD head only has long SMS just to have.
The composition of each member of array of indexes can represent by following table:
The call number of index list Note bag sends address Transmitting time Short message state mark
Wherein, this call number shows the position of index information in index list of this bag note, a call number is only had for normal short message, for long SMS, call number corresponding for the index information of the multiple subpackages belonging to same long SMS is put into the unit of same array of indexes; The transmitting time of note is as the criterion to receive the bag time the latest; Short message state mark shows that this note is for read still not read, (only have all long SMS subpackage states to be read just to show that whole piece long SMS state is for read, otherwise for not reading).Wherein: long SMS state considers according to note bag-like state flag bit in index information corresponding to often bag note and obtains, and sees index information composition table.Such as, arrange this flag bit to be 1 and to show not read otherwise for read.
Short message the mode of message list can be shown to user, namely the list seen when user opens inbox, note in list can arrange according to short message sending time order and function order, this list and array of indexes are relations one to one, and each list items has following member composition in this embodiment:
Note has been read or non-read bit figure mark Note bag sends address
Herein note read or non-read bit figure mark corresponding with note status indicator in array of indexes, if the Status Flag recording this note in array of indexes is not for read, then shows non-read bit figure mark, otherwise show read bit figure mark; The transmission address of note, if there is the record of this address in phone directory, shows corresponding record otherwise directly shows transmission address.
In order to technical essential of the present invention is expressed clearly, the specific embodiment of a kind of long SMS processing method disclosed by the invention as shown in Figure 3:
S301: receive the note bag transmitted from network;
S302: differentiate that the store path that active user is arranged is in terminal or SIM card;
S303: if arrange store path in terminal, then by note bag stored in terminal;
S304: if arrange store path in SIM card, then by note bag stored in SIM card;
S305: end index information corresponding for note bag being added to index list;
S306: judge the note bag that just received whether long SMS;
S307: if not, be then shown to be normal short message, by index list generating indexes array, be shown to user, and notify that user has new message to arrive;
S308: if differentiate whether timer flag position has put;
S309: if do not put, differentiates the subpackage of reception whether having existed in index list and just received note;
S310: the subpackage of reception if there is no just having received long SMS, shows that this note subpackage is the subpackage of a new long SMS, arranges timer and risen timer flag position;
S311: now do not need generating indexes array, and do not need to notify that user has new message to arrive;
S312: receive subpackage if existed, whether the state having received long SMS subpackage before differentiation is read;
S313: if the state having received certain subpackage of long SMS subpackage does not before read, generating indexes array and do not notify user;
S314: if the state having received each subpackage of long SMS subpackage is before for read, then according to index list generating indexes array, be marked as by short message state mark in array of indexes and do not read, namely the state of whole piece note is not for read, and notifies that user has new message to arrive;
S315: if timer flag position has been put, differentiates whether all subpackages of long SMS receive;
S316: if do not received, continue receive, until timer expiry or note bag here;
S317: if note subpackage all receives, then timeing closing device by timer flag position zero;
Illustrate: the subpackage sum of this long SMS recorded in the number belonging to same long SMS subpackage received and UD header is equal, illustrates that note bag is here.
S318: last according to index list generating indexes array, and notify that user has new message to arrive.
The specific embodiment of another kind of long SMS processing method disclosed by the invention is as shown in Figure 4:
S401: receive the note bag transmitted from network;
S402: differentiate that the store path that active user is arranged is in terminal or SIM card;
S403: if arrange store path in terminal, then by note bag stored in terminal;
S404: if arrange store path in SIM card, then by note bag stored in SIM card;
S405: end index information corresponding for note bag being added to index list;
S406: judge the note bag that just received whether long SMS;
S407: if not, be then shown to be normal short message, by index list generating indexes array, upgrade message list, and notify that user has new message to arrive;
S408: if judge whether there is the subpackage of reception just receiving note in index list;
S409: if there is no, shows that this note subpackage is the subpackage of a new long SMS, arranges timer and risen timer flag position;
S410: now do not need generating indexes array, and do not need to notify that user has new message to arrive;
S411: receive subpackage if existed, differentiates whether all subpackages of long SMS receive;
S412: if note subpackage all receives, then timeing closing device by timer flag position zero;
S413: according to index list generating indexes array, and notify that user has new message to arrive;
S414: if note subpackage does not receive, judges whether the state of subpackage is read;
S415: if received before there is certain subpackage in long SMS subpackage state for read, illustrate that user had read this note, then according to index list generating indexes array, short message state mark in array of indexes is marked as and does not read, namely the state of whole piece note is not for read, now do not need to notify that user has new message to arrive, if the state having received each subpackage of subpackage is before for read, notify that user has new message to arrive;
S416: if the state having received each subpackage of long SMS subpackage is not before for read, judge whether timer flag position has put;
S417: if mark position is risen, continues to receive;
S418: if do not put, illustrates and receives time-out early stage, then generating indexes array, and do not notify user.
A kind of long SMS processing unit disclosed by the invention as shown in Figure 5, comprising:
Note receiver module, for receiving and storing note bag;
Index list generation module, for extracting the index information of described note bag, and adds described index information to index list;
Array of indexes generation module, for when meeting the condition of generating indexes array, according to described index list generating indexes array;
Display module, for extracting display information and showing short message to user from described array of indexes.
Described device comprises judge module further, and for judging the store path of described note bag, described note receiver module is further used for according to described store path, and the note bag received is write corresponding storage medium.Described judge module is also for judging that described note bag belongs to long SMS subpackage or normal short message, if belong to long SMS subpackage, described judge module is further used for the subpackage of reception judging whether to exist described long SMS.
Described device comprises time block further, for arranging timer, when receiving the new subpackage of described long SMS, and when there is not the subpackage of reception of described long SMS, starts described timer, and is risen timer flag position; When described long SMS does not receive, but described timer expiry, then close described timer and by described timer flag position zero.
Described judge module is further used for the condition judging whether to meet generating indexes array, and the condition of generating indexes array is specially one of following situation:
One, the note bag received is normal short message;
Its two, described long SMS receives;
Its three, described long SMS subpackage receive time-out;
Its four, the subpackage of reception of described long SMS generated array of indexes.
Wherein, judge that the subpackage of reception of described long SMS had generated array of indexes and has been specially: the note bag-like state judging to have received subpackage, if there is the state of certain subpackage for read, then illustrate that the subpackage of reception of long SMS generated array of indexes, the state of subpackage has been received for not read if each, timer flag position has not been put simultaneously, then the same subpackage of the reception generating indexes array that described long SMS is described; Correspondingly, received the state of subpackage for read if each, then, after generating indexes array, amendment short message state is not for read and to notify user, and wherein short message state is the short message state mark in array of indexes.
Describedly to be specially according to index list generating indexes array: when the note received is normal short message, according to index list generating indexes array, to upgrade message list and also notify user;
When described long SMS receives, according to index list generating indexes array, upgrade message list and notify user;
When described long SMS subpackage receive time-out, then according to index list generating indexes array, and notify user;
When the subpackage of reception of described long SMS generated array of indexes, the subpackage that described long SMS is new is had again to be received, then according to index list generating indexes array.
Wherein, generating indexes array specifically comprises: call number corresponding for normal short message in index list is directly put into unit corresponding to array of indexes.The index information of long SMS subpackages all in index list is saved in an interim BUFFER, in each unit of this BUGFFER except the index information of note, also comprises the call number of this index information in index list.Wherein, this BUFFER opens up in internal memory, is used for depositing the index information of note bag temporarily.Data in the interim BUFFER of following use carry out long SMS restructuring, this index information to array of indexes, then removes by the call number often extracting a bag long SMS from interim BUFFER, adjusts the size of BUFFER simultaneously, which reduce the traversal number of times in search procedure, improve efficiency.If want according to reception note time sequencing display message list, then the array of indexes of generation to be carried out sorting according to the time.
Display module also for, when user checks note, corresponding index list is found according to the call number of array of indexes record corresponding to described note, the ID of corresponding note is found from index list, by ID short message reading content from storage medium, after finally being merged by the short message content of each subpackage, be shown to user.
Long SMS processing method and device disclosed in the embodiment of the present invention, index information according to each long SMS subpackage completes the process of long SMS and is shown to user, do not need to open up additional space, when user checks note time, only need the call number according to array of indexes record corresponding to note, find corresponding index list and note ID, merge subpackage content and be shown to user; And because the restructuring of long SMS has only been gone with the index information of note bag, note bag is stored in storage medium before this, has effectively prevent the note data loss problem that unexpected power down causes; In addition the state of user can be shown to according to the status modifier whole piece long SMS recording each note bag in index information, when receiving the new subpackage of the long SMS that do not receive, if the state of all note bags is for read before, illustrate that the state of the long SMS received before this is for read, then change the state of long SMS when receiving new bag for not read, prompting user, improves the friendly of Consumer's Experience.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (13)

1. a long SMS processing method, is characterized in that, comprising:
Receive and store note bag;
Extract the index information of described note bag, and add described index information to index list;
When meeting the condition of generating indexes array, according to described index list generating indexes array;
From described array of indexes, extract display information and show short message to user;
The described condition meeting generating indexes array is for meeting any one situation following: described in the note bag that receives be that normal short message or long SMS have received or the index list receiving subpackage of long SMS subpackage receive time-out or long SMS generated array of indexes.
2. method according to claim 1, is characterized in that, described index information comprises: note bag sends address, transmitting time, long SMS diagnostic criterium and note ID.
3. method according to claim 2, it is characterized in that, after adding described index information to index list, the method also comprises and judges that described note bag belongs to long SMS subpackage or normal short message, if belong to long SMS subpackage, then judge whether the subpackage of reception that there is described long SMS;
If there is no the subpackage of reception of described long SMS, not generating indexes array and do not notify user;
If there is the subpackage of reception of described long SMS, judge whether the condition meeting generating indexes array further.
4. method according to claim 3, is characterized in that, is describedly specially any one situation following according to described index list generating indexes array:
When the note received is normal short message, according to described index list generating indexes array, upgrade message list and notify user;
When described long SMS receives, according to described index list generating indexes array, and upgrade message list and notify user;
When described long SMS subpackage receive time-out, then according to described index list generating indexes array, and notify user;
When the subpackage of reception of described long SMS generated array of indexes, the subpackage that described long SMS is new is had again to be received, according to described index list generating indexes array.
5. method according to claim 3, it is characterized in that, when described note bag belongs to long SMS subpackage, the method also comprises and arranges timer, when receiving the new subpackage of described long SMS, and when there is not the subpackage of reception of described long SMS, start described timer, and timer flag position is risen; When described long SMS does not receive, but described timer expiry, then close described timer and by described timer flag position zero.
6. method according to claim 5, is characterized in that, when described timer expiry, close described timer and by after described timer flag position zero, the method also comprises, and according to index list generating indexes array, upgrades message list according to described array of indexes simultaneously; Correspondingly, when receiving the new subpackage of described long SMS, regenerating array of indexes, upgrading message list.
7. method according to claim 6, it is characterized in that, described index information also comprises note bag Status Flag, described note bag Status Flag comprises to be read and not to read, when the note bag received is the new subpackage of described long SMS, the subpackage of the reception state of the described long SMS of further judgement, when the state receiving each subpackage in subpackage of described long SMS is for reading, amendment short message state is not for read and to notify user, and described short message state is the short message state mark in described array of indexes.
8. a long SMS processing unit, is characterized in that, comprising:
Note receiver module, for receiving and storing note bag;
Index list generation module, for extracting the index information of described note bag, and adds described index information to index list;
Array of indexes generation module, for when meeting the condition of generating indexes array, according to described index list generating indexes array;
Display module, for extracting display information and showing short message to user from described array of indexes;
Judge module, for judging whether the condition meeting generating indexes array, the described condition meeting generating indexes array is for meeting any one situation following: described in the note bag that receives be that normal short message or long SMS have received or the subpackage of reception of long SMS subpackage receive time-out or long SMS generated array of indexes.
9. device according to claim 8, is characterized in that, described judge module is also for judging the store path of described note bag, and described note receiver module is further used for according to described store path, and the note bag received is write corresponding storage medium.
10. device according to claim 9, it is characterized in that, described judge module is also for judging that described note bag belongs to long SMS subpackage or normal short message, if belong to long SMS subpackage, described judge module is further used for the subpackage of reception judging whether to exist described long SMS.
11. devices according to claim 10, is characterized in that, also comprise time block, for arranging timer, when receiving the new subpackage of described long SMS, and when there is not the subpackage of reception of described long SMS, start described timer, and timer flag position is risen; When described long SMS does not receive, but described timer expiry, then close described timer and by described timer flag position zero.
12. devices according to claim 8, is characterized in that, described array of indexes generation module is specially any one situation following according to described index list generating indexes array:
When the note received is normal short message, according to described index list generating indexes array, upgrade message list and notify user;
When described long SMS receives, according to described index list generating indexes array, and upgrade message list and notify user;
When described long SMS subpackage receive time-out, then according to described index list generating indexes array, and notify user;
When the subpackage of reception of described long SMS generated array of indexes, the subpackage that described long SMS is new is had again to be received, according to described index list generating indexes array.
13. devices according to claim 12, it is characterized in that, when described long SMS has received the state of each subpackage of subpackage for read, then after generating indexes array, amendment short message state is not for read and to notify user, and described short message state is the short message state mark in array of indexes.
CN201110295979.6A 2011-09-30 2011-09-30 Long SMS processing method and device Active CN103037326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110295979.6A CN103037326B (en) 2011-09-30 2011-09-30 Long SMS processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110295979.6A CN103037326B (en) 2011-09-30 2011-09-30 Long SMS processing method and device

Publications (2)

Publication Number Publication Date
CN103037326A CN103037326A (en) 2013-04-10
CN103037326B true CN103037326B (en) 2016-03-30

Family

ID=48023725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110295979.6A Active CN103037326B (en) 2011-09-30 2011-09-30 Long SMS processing method and device

Country Status (1)

Country Link
CN (1) CN103037326B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967979B (en) * 2015-06-29 2018-12-07 努比亚技术有限公司 SMS interception method and device
CN106535145A (en) * 2016-12-19 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Short message transmission method, short message transmission device, terminal and application server
CN107122253A (en) * 2017-04-27 2017-09-01 努比亚技术有限公司 Message status storage method, device and computer-readable recording medium
CN113365231A (en) * 2020-03-05 2021-09-07 北京沃东天骏信息技术有限公司 Method and device for sending short message

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695154A (en) * 2009-10-27 2010-04-14 青岛海信移动通信技术股份有限公司 Short message processing method and short message processing device
CN101820596A (en) * 2010-01-22 2010-09-01 青岛海信移动通信技术股份有限公司 Ultralong short message processing method and mobile communication terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100634425B1 (en) * 2004-11-04 2006-10-16 최화용 The adiabatic materials of inner wall and constructing way thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695154A (en) * 2009-10-27 2010-04-14 青岛海信移动通信技术股份有限公司 Short message processing method and short message processing device
CN101820596A (en) * 2010-01-22 2010-09-01 青岛海信移动通信技术股份有限公司 Ultralong short message processing method and mobile communication terminal

Also Published As

Publication number Publication date
CN103037326A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN101931919B (en) Long short message sending processing method and device, business gateway and communication system
CN103037326B (en) Long SMS processing method and device
US20100090000A1 (en) Communication method between a handset device and ic cards
CN102917344B (en) SIM card self-help account opening method and system
CN102480702A (en) Short message intercepting method and system
CN103581846B (en) A kind of user's business card update method and system
CN106789730A (en) The processing method and processing device of fragment message
CN103874058A (en) Short message processing method and short message center
JP6929946B2 (en) Data transmission method, device, transmitting end, receiving end and system
CN103024136A (en) Mobile phone with short message cancelling function and short message cancelling method thereof
CN103997760A (en) Data packing and collecting method for user electricity information collecting system
CN103561394A (en) Method and system for sending message
CN105792106A (en) Bluetooth pairing record managing method and device
CN101072206A (en) Secondary authenticating method and system for instant messaging system
CN101594201B (en) Method for integrally filtering error data in linked queue management structure
CN100403838C (en) Fault information collection system and method
CN103501353B (en) A kind of data relay transmission method, apparatus and system
CN104484619B (en) It is a kind of to solve the method that client multi-logical channel accesses PKCS#15 file conflicts
CN101404797A (en) Storage method, storage management apparatus and storage system for long message
CN103442091A (en) Data transmission method and device
CN106899386B (en) Method for demodulating fragmented frame signals based on multi-channel communication receiving system
CN106293996A (en) Method of data synchronization, main equipment, alternate device and system
CN104616407A (en) Method for communicating POS machine with remote server, POS machine and mobile terminal
CN102316415B (en) Mobile communication terminal and communication service sharing method thereof
CN100563378C (en) On frame structure, realize the circuit and the switching method thereof of time division multiplexing exchange

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170427

Address after: Nanping Street 400060 Chongqing Nan'an District Nancheng Road No. 199 left attached to the floor 403

Patentee after: Keen (Chongqing) Microelectronics Technology Co., Ltd.

Address before: 400065 Chongqing Nan'an District huangjuezhen pass Fort Park No. 1

Patentee before: Chongqing City Communication & Technology Co., Ltd.