U.S. patent application number 13/258433 was filed with the patent office on 2012-10-11 for mobile terminal and multimedia messaging service notification message processing method.
This patent application is currently assigned to ZTE CORPORATION. Invention is credited to Gang Cao.
Application Number | 20120258694 13/258433 |
Document ID | / |
Family ID | 42587732 |
Filed Date | 2012-10-11 |
United States Patent
Application |
20120258694 |
Kind Code |
A1 |
Cao; Gang |
October 11, 2012 |
Mobile terminal and multimedia messaging service notification
message processing method
Abstract
The disclosure provides a mobile terminal (10), which comprises:
a storage module (101), configured to store a linked list that
includes a service ID and a reception time of a Multimedia
Messaging Service (MMS) notification message, and a maximum length
of the linked list; an inquiry module (102), configured to inquire
whether there is a service ID identical with a service ID of a
received MMS notification message in the linked list when the MMS
notification message is received; a length determination module
(103), configured to determine whether a length of the linked list
is smaller than the maximum length when there is no service ID of
the received MMS notification message in the linked list; a time
difference determination module (104), configured to determine
whether the time difference between the reception time and the last
node in the linked list is greater than the time difference between
the first node and the last node in the linked list when the length
of the linked list is smaller than the maximum length; and a linked
list modification module (105), configured to determine whether to
insert the service ID and the reception time of the MMS
notification message into the linked list as a node. The disclosure
also provides an MMS notification message processing method. The
disclosure increases the inquiry efficiency of the linked list.
Inventors: |
Cao; Gang; (Shenzhen,
CN) |
Assignee: |
ZTE CORPORATION
Shenzhen, Guangdong
CN
|
Family ID: |
42587732 |
Appl. No.: |
13/258433 |
Filed: |
April 21, 2010 |
PCT Filed: |
April 21, 2010 |
PCT NO: |
PCT/CN10/71953 |
371 Date: |
June 21, 2012 |
Current U.S.
Class: |
455/414.1 |
Current CPC
Class: |
H04L 51/10 20130101;
H04M 1/72555 20130101; H04M 1/72586 20130101; H04L 51/24
20130101 |
Class at
Publication: |
455/414.1 |
International
Class: |
H04W 4/12 20090101
H04W004/12 |
Foreign Application Data
Date |
Code |
Application Number |
Dec 24, 2009 |
CN |
200910189356.3 |
Claims
1. A mobile terminal, comprising a storage module, an inquiry
module, a length determination module, a time difference
determination module and a linked list modification module, wherein
the storage module is configured to store a linked list which
comprises a service ID and a reception time of a Multimedia
Messaging Service (MMS) notification message, and a maximum length
of the linked list; the inquiry module is configured to inquire
whether there is a service ID identical with a service ID of a
received MMS notification message in the linked list when the MMS
notification message is received; the length determination module
is configured to determine whether a length of the linked list is
smaller than the maximum length when there is no service ID
identical with the service ID of the received MMS notification
message in the linked list; the time difference determination
module is configured to determine whether a time difference between
the reception time and a last node in the linked list is greater
than a time difference between a first node and the last node in
the linked list when the length of the linked list is smaller than
the maximum length; the linked list modification module is
configured to determine whether to insert the service ID and the
reception time of the MMS notification message into the linked list
as a node according to determination results of the length
determination module and/or the time difference determination
module.
2. The mobile terminal according to claim 1, wherein the linked
list modification module is further configured to insert the
service ID and the reception time of the MMS notification message
into the linked list as a node when the length determination module
determines that the length of the linked list is smaller than the
maximum length, and the time difference determination module
determines that the time difference between the reception time and
the last node in the linked list is greater than the time
difference between the first node and the last node in the linked
list.
3. The mobile terminal according to claim 1, wherein the linked
list modification module is further configured to delete the first
node in the linked list, and insert the service ID and the
reception time of the MMS notification message into the linked list
as a node when the length determination module determines that the
length of the linked list is smaller than the maximum length, and
the time difference determination module determines that the time
difference between the reception time and the last node in the
linked list is smaller than the time difference between the first
node and the last node in the linked list.
4. The mobile terminal according to claim 1, wherein the linked
list modification module is further configured to delete the first
node in the linked list, and insert the service ID and the
reception time of the MMS notification message into the linked list
as a node when the length determination module determines that the
length of the linked list is greater than the maximum length.
5. The mobile terminal according to claim 1, wherein the linked
list further comprises a minimum length; the length determination
module is further configured to determine relations of the length
of the linked list with the minimum length and the maximum length;
the linked list modification module is further configured to insert
the service ID and the reception time of the MMS notification
message into the linked list as a node when the length of the
linked list is smaller than the minimum length.
6. The mobile terminal according to claim 5, wherein the linked
list modification module is further configured to insert the
service ID and the reception time into the linked list as a node
when the length determination module determines that the length of
the linked list is greater than the minimum length but smaller than
the maximum length, and the time difference determination module
determines that the time difference is greater than the time
difference between the first node and the last node in the linked
list.
7. The mobile terminal according to claim 5, wherein the linked
list modification module is further configured to delete the first
node in the linked list and insert the service ID and the reception
time of the MMS notification message into the linked list as a node
when the length determination module determines that the length of
the linked list is greater than the minimum length but smaller than
the maximum length, and the time difference determination module
determines that the time difference is smaller than the time
difference between the first node and the last node in the linked
list.
8. A Multimedia Messaging Service (MMS) notification message
processing method, comprising: setting a maximum length of a linked
list which comprises a service ID and a reception time of an MMS
notification message; the method further comprising: inquiring
whether there is a service ID identical with a service ID of a
received MMS notification message in the linked list when the MMS
notification message is received; when there is no identical
service ID, determining whether a length of the linked list is
smaller than a maximum length; when the length of the linked list
is smaller than the maximum length, further determining whether a
time difference between a reception time of the MMS notification
message and a last node in the linked list is greater than a time
difference between a first node and the last node in the linked
list; when the time difference is greater than the time difference
between the first node and the last node in the linked list,
inserting the service ID and the reception time of the MMS
notification message into the linked list as a node.
9. The MMS notification message processing method according to
claim 8, further comprising: deleting the first node in the linked
list, and inserting the service ID and the reception time of the
MMS notification message into the linked list as a node when the
length of the linked list is smaller than the maximum length, and
the time difference between the reception time and the last node in
the linked list is smaller than the time difference between the
first node and the last node in the linked list.
10. The MMS notification message processing method according to
claim 8, wherein the method further comprises: setting a minimum
length of the linked list, and determining relations of the length
of the linked list with the minimum length and the maximum length;
and inserting the service ID and the reception time of the MMS
notification message into the linked list as a node when the length
of the linked list is smaller than the minimum length.
11. The MMS notification message processing method according to
claim 10, wherein the method further comprises: determining the
time difference between the reception time of the MMS notification
message and the last node in the linked list when the length of the
linked list is greater than the minimum length but smaller than the
maximum length; and inserting the service ID and the reception time
of the MMS notification message into the linked list as a node when
the time difference is greater than the time difference between the
first node and the last node in the linked list.
12. The MMS notification message processing method according to
claim 10, wherein the method further comprises: determining the
time difference between the reception time of the MMS notification
message and the last node in the linked list when the length of the
linked list is greater than the minimum length but smaller than the
maximum length; and deleting the first node in the linked list, and
inserting the service ID and the reception time of the MMS
notification message into the linked list as a node when the time
difference is smaller than the time difference between the first
node and the last node in the linked list.
13. The mobile terminal according to claim 2, wherein the linked
list further comprises a minimum length; the length determination
module is further configured to determine relations of the length
of the linked list with the minimum length and the maximum length;
the linked list modification module is further configured to insert
the service ID and the reception time of the MMS notification
message into the linked list as a node when the length of the
linked list is smaller than the minimum length.
14. The mobile terminal according to claim 3, wherein the linked
list further comprises a minimum length; the length determination
module is further configured to determine relations of the length
of the linked list with the minimum length and the maximum length;
the linked list modification module is further configured to insert
the service ID and the reception time of the MMS notification
message into the linked list as a node when the length of the
linked list is smaller than the minimum length.
15. The mobile terminal according to claim 4, wherein the linked
list further comprises a minimum length; the length determination
module is further configured to determine relations of the length
of the linked list with the minimum length and the maximum length;
the linked list modification module is further configured to insert
the service ID and the reception time of the MMS notification
message into the linked list as a node when the length of the
linked list is smaller than the minimum length.
16. The mobile terminal according to claim 13, wherein the linked
list modification module is further configured to insert the
service ID and the reception time into the linked list as a node
when the length determination module determines that the length of
the linked list is greater than the minimum length but smaller than
the maximum length, and the time difference determination module
determines that the time difference is greater than the time
difference between the first node and the last node in the linked
list.
17. The mobile terminal according to claim 14, wherein the linked
list modification module is further configured to insert the
service ID and the reception time into the linked list as a node
when the length determination module determines that the length of
the linked list is greater than the minimum length but smaller than
the maximum length, and the time difference determination module
determines that the time difference is greater than the time
difference between the first node and the last node in the linked
list.
18. The mobile terminal according to claim 15, wherein the linked
list modification module is further configured to insert the
service ID and the reception time into the linked list as a node
when the length determination module determines that the length of
the linked list is greater than the minimum length but smaller than
the maximum length, and the time difference determination module
determines that the time difference is greater than the time
difference between the first node and the last node in the linked
list.
19. The mobile terminal according to claim 13, wherein the linked
list modification module is further configured to delete the first
node in the linked list and insert the service ID and the reception
time of the MMS notification message into the linked list as a node
when the length determination module determines that the length of
the linked list is greater than the minimum length but smaller than
the maximum length, and the time difference determination module
determines that the time difference is smaller than the time
difference between the first node and the last node in the linked
list.
20. The mobile terminal according to claim 14, wherein the linked
list modification module is further configured to delete the first
node in the linked list and insert the service ID and the reception
time of the MMS notification message into the linked list as a node
when the length determination module determines that the length of
the linked list is greater than the minimum length but smaller than
the maximum length, and the time difference determination module
determines that the time difference is smaller than the time
difference between the first node and the last node in the linked
list.
21. The mobile terminal according to claim 15, wherein the linked
list modification module is further configured to delete the first
node in the linked list and insert the service ID and the reception
time of the MMS notification message into the linked list as a node
when the length determination module determines that the length of
the linked list is greater than the minimum length but smaller than
the maximum length, and the time difference determination module
determines that the time difference is smaller than the time
difference between the first node and the last node in the linked
list.
22. The MMS notification message processing method according to
claim 9, wherein the method further comprises: setting a minimum
length of the linked list, and determining relations of the length
of the linked list with the minimum length and the maximum length;
and inserting the service ID and the reception time of the MMS
notification message into the linked list as a node when the length
of the linked list is smaller than the minimum length.
23. The MMS notification message processing method according to
claim 22, wherein the method further comprises: determining the
time difference between the reception time of the MMS notification
message and the last node in the linked list when the length of the
linked list is greater than the minimum length but smaller than the
maximum length; and inserting the service ID and the reception time
of the MMS notification message into the linked list as a node when
the time difference is greater than the time difference between the
first node and the last node in the linked list.
24. The MMS notification message processing method according to
claim 22, wherein the method further comprises: determining the
time difference between the reception time of the MMS notification
message and the last node in the linked list when the length of the
linked list is greater than the minimum length but smaller than the
maximum length; and deleting the first node in the linked list, and
inserting the service ID and the reception time of the MMS
notification message into the linked list as a node when the time
difference is smaller than the time difference between the first
node and the last node in the linked list.
Description
TECHNICAL FIELD
[0001] The disclosure relates to the mobile communication field and
in particular to a method for a mobile terminal to process a
Multimedia Messaging Service (MMS) notification message in a mobile
communication system.
BACKGROUND
[0002] MMS is a short message service for transmitting multimedia
information introduced by mobile operators through using Wireless
Application Protocol (WAP) as a carrier. MMS may realize the
instant transmission of multimedia information from a mobile phone
to a mobile phone, or from a mobile phone to Internet, or from
Internet to a mobile phone. As the most important feature, MMS
supports multimedia function and can transmit information in
various multimedia formats, such as: text, image, audio and video.
MMS can transmit not only the basic text information in Short
Messaging Service (SMS), but also the multimedia content such as
image, audio, cartoon, vibration, video, etc. Further, MMS can also
transmit sports news with pictures of scenes, interesting cartoons
and animations, greeting cards with rich content, wonderful
animation games and other application contents.
[0003] At present, most mobile phones support MMS. MMS mainly
includes reception and transmission, management, and play of
multimedia messages. Reception of multimedia messages is a complex
process. In this process, firstly it needs the MMS center to send a
PUSH message to the mobile phone, informing the user that there is
a multimedia message in the MMS center. If the user selects to
receive, the mobile phone will resolve a Uniform/Universal Resource
Locator (URL) of this multimedia message from the PUSH message, and
initiate a download request to the MMS center via the URL address.
Then the MMS center will send the multimedia message to the mobile
phone via WAP link. Therefore, the PUSH message is also called MMS
notification message. Typically, in order to ensure that a user can
receive an MMS notification message, the MMS center will send the
same MMS notification message to the user at a fixed interval until
the MMS center receives an acknowledgement message indicating
successful download of the multimedia message by the user.
Typically, if the user sets the mobile phone in a mode of immediate
download of the multimedia message and the network condition is
good, the mobile phone will not receive any repeated MMS
notification message once it receives the multimedia message.
However, if the user sets the mobile phone in a mode of delayed
download of the multimedia message or the download is failed due to
poor network condition, the mobile phone may receive repeated MMS
notification message. Therefore, after the mobile phone receives a
repeated MMS notification message, typically the mobile phone needs
to perform message reprocessing. The conventional method is to save
the service ID of the previously received MMS notification messages
in the mobile phone, put the ID in a linked list file and meanwhile
set the maximum length of the linked list. When an is MMS
notification message is received, the service ID of this MMS
notification message will be resolved and compared with the service
ID in each node of the linked list. If an identical ID is found,
the message will be deemed as a repeated message and be rejected.
If no identical ID is found, it will be deemed that a new MMS
notification message is received and the user will be reminded of
inserting this new service ID into the linked list file. In the
conventional method, it can hardly solve the following problems:
how to set the maximum node quantity of the linked list that saves
service IDs. If the quantity is too large, the overhead of the
storage space of the system will be increased, the inquiry
performance will be weakened and the timeliness will be affected,
but if the quantity is too small, some repeated notification
messages may be omitted. Under this technical background, the
disclosure provides a new self-adaptive method to effectively solve
this problem.
SUMMARY
[0004] The object of the disclosure is to provide a mobile terminal
and an MMS notification message processing method to solve the
problems that the maximum length of the linked list in the prior
art is set as a fixed value, and the storage space of the system
will be increased and the inquiry efficiency of the linked list
will be lowered when the fixed value is too large, while repeated
MMS notification messages may be omitted when the fixed value is
too small.
[0005] The disclosure provides a mobile terminal, which includes: a
storage module, configured to store a linked list which includes a
service ID and a reception time of a Multimedia Messaging Service
(MMS) notification message, and a maximum length of the linked
list; an inquiry module, configured to inquire whether there is a
service ID identical with a service ID of a received MMS
notification message in the linked list when the MMS notification
message is received; a length determination module, configured to
determine whether a length of the linked list is smaller than the
maximum length when there is no service ID identical with the
service ID of the received MMS notification message in the linked
list; a time difference determination module, configured to
determine whether a time difference between the reception time and
a last node in the linked list is greater than a time difference
between a first node and the last node in the linked list when the
length of the linked list is smaller than the maximum length; a
linked list modification module, configured to determine whether to
insert the service ID and the reception time of the MMS
notification message into the linked list as a node according to
determination results of the length determination module and/or the
time difference determination module.
[0006] Preferably, the linked list modification module may be
further configured to insert the service ID and the reception time
of the MMS notification message into the linked list as a node when
the length determination module determines that the length of the
linked list is smaller than the maximum length, and the time
difference determination module determines that the time difference
between the reception time and the last node in the linked list is
greater than the time difference between the first node and the
last node in the linked list.
[0007] Preferably, the linked list modification module may be
further configured to delete the first node in the linked list, and
insert the service ID and the reception time of the MMS
notification message into the linked list as a node when the length
determination module determines that the length of the linked list
is smaller than the maximum length, and the time difference
determination module determines that the time difference between
the reception time and the last node in the linked list is smaller
than the time difference between the first node and the last node
in the linked list.
[0008] Preferably, the linked list modification module may be
further configured to delete the first node in the linked list, and
insert the service ID and the reception time of the MMS
notification message into the linked list as a node when the length
determination module determines that the length of the linked list
is greater than the maximum length.
[0009] Preferably, the linked list may further include a minimum
length; the length determination module may be further configured
to determine relations of the length of the linked list with the
minimum length and the maximum length; the linked list modification
module may be further configured to insert the service ID and the
reception time of the MMS notification message into the linked list
as a node when the length of the linked list is smaller than the
minimum length.
[0010] Preferably, the linked list modification module may further
configured to insert the service ID and the reception time into the
linked list as a node when the length determination module
determines that the length of the linked list is greater than the
minimum length but smaller than the maximum length, and the time
difference determination module determines that the time difference
is greater than the time difference between the first node and the
last node in the linked list.
[0011] Preferably, the linked list modification module may be
further configured to delete the first node in the linked list and
insert the service ID and the reception time of the MMS
notification message into the linked list as a node when the length
determination module determines that the length of the linked list
is greater than the minimum length but smaller than the maximum
length, and the time difference determination module determines
that the time difference is smaller than the time difference
between the first node and the last node in the linked list.
[0012] The disclosure further provides an MMS notification message
processing method, which includes: setting a maximum length of a
linked list which includes a service ID and a reception time of an
MMS notification message; and the method further includes:
inquiring whether there is a service ID identical with a service ID
of a received MMS notification message in the linked list when the
MMS notification message is received; when there is no identical
service ID, determining whether a length of the linked list is
smaller than a maximum length; when the length of the linked list
is smaller than the maximum length, further determining whether a
time difference between a reception time of the MMS notification
message and a last node in the linked list is greater than a time
difference between a first node and the last node in the linked
list; when the time difference is greater than the time difference
between the first node and the last node in the linked list,
inserting the service ID and the reception time of the MMS
notification message into the linked list as a node.
[0013] Preferably, the MMS notification message processing method
may further include: deleting the first node in the linked list,
and inserting the service ID and the reception is time of the MMS
notification message into the linked list as a node when the length
of the linked list is smaller than the maximum length, and the time
difference between the reception time and the last node in the
linked list is smaller than the time difference between the first
node and the last node in the linked list.
[0014] Preferably, the MMS notification message processing method
may further include: setting a minimum length of the linked list,
and determining relations of the length of the linked list with the
minimum length and the maximum length; and inserting the service ID
and the reception time of the MMS notification message into the
linked list as a node when the length of the linked list is smaller
than the minimum length.
[0015] Preferably, the method may further include: determining the
time difference between the reception time of the MMS notification
message and the last node in the linked list when the length of the
linked list is greater than the minimum length but smaller than the
maximum length; and inserting the service ID and the reception time
of the MMS notification message into the linked list as a node when
the time difference is greater than the time difference between the
first node and the last node in the linked list.
[0016] Preferably, the MMS notification message processing method
may further include: determining the time difference between the
reception time of the MMS notification message and the last node in
the linked list when the length of the linked list is greater than
the minimum length but smaller than the maximum length; and
deleting the first node in the linked list, and inserting the
service ID and the reception time of the MMS notification message
into the linked list as a node when the time difference is smaller
than the time difference between the first node and the last node
in the linked list.
[0017] The disclosure may decide whether to insert a node by
determining whether the time difference between the reception time
of the MMS notification message and the last node in the linked
list is greater than the time difference between the first node and
the last node in the linked list when the length of the linked list
is smaller than the maximum length, thereby solving the following
problems in the prior art: whether to insert a node is determined
only based on the maximum length of the linked list, and the
storage space of the system will be increased and the inquiry
efficiency of the linked list will be lowered when the fixed value
is too large, while repeated MMS notification messages may be
omitted when the fixed value is too small.
BRIEF DESCRIPTION OF THE DRAWINGS
[0018] FIG. 1 is a schematic structural diagram of an embodiment of
the mobile terminal according to the disclosure;
[0019] FIG. 2 is a flow chart of an embodiment of the MMS
notification message processing method according to the
disclosure;
[0020] FIG. 3 is a flow chart of another embodiment of the MMS
notification message processing method according to the
disclosure.
DETAILED DESCRIPTION
[0021] The technical scheme of the disclosure will be further
described below in detail by referring to the accompanying drawings
and embodiments, from which those skilled in the art may know and
implement the disclosure in a better way. The embodiments are not
intended to limit the disclosure.
[0022] FIG. 1 is a schematic structural diagram of an embodiment of
the mobile terminal according to the disclosure.
[0023] The mobile terminal 10 in the embodiment of the disclosure
includes a storage module 101, an inquiry module 102, a length
determination module 103, a time difference determination module
104 and a linked list modification module 105.
[0024] The storage module 101 is configured to store a linked list,
which includes the service ID and the reception time of an MMS
notification message, and the maximum length of the linked list.
Specifically, the storage module 101 stores a linked list, and the
linked list saves information of the MMS notification messages
received by the mobile terminal 10 and information of the length of
the linked list.
[0025] The linked list in this embodiment has a plurality of nodes.
Each node records the service IDs and reception time of the
received MMS notification messages. Further, the nodes are arranged
in a order based on the reception time of MMS notification is
messages, and the latest received MMS notification message is
arranged at the end of the linked list. The specific format of the
linked list is as shown in Table 1.
TABLE-US-00001 TABLE 1 Service ID of MMS Reception time of MMS Node
No. notification message notification message T Node 1 ID1 T1 Node
2 ID2 T2 . . . . . . . . . Node m IDm Tm
[0026] In Table 1, node 1 is the first node in the linked list, and
node m denotes the maximum length of the linked list. T1 is the
reception time of the MMS notification message whose service ID is
ID1 and the rest can be deduced by analogy. The inquiry module 102
is configured to inquire whether there is a service ID identical
with the service ID of the received MMS notification message in the
linked list when the MMS notification message is received.
[0027] The length determination module 103 is configured to
determine whether the length of the linked list is smaller than the
maximum length when there is no identical service ID of the
received MMS notification message in the linked list.
[0028] The time difference determination module 104 is configured
to determine whether the time difference between the reception time
and the last node in the linked list is greater than the time
difference between the first node and the last node in the linked
list when the length of the linked list is smaller than the maximum
length.
[0029] The linked list modification module 105 is configured to
determine whether to insert the service ID and the reception time
of the MMS notification message into the linked list as a node
according to the determination results of the length determination
module 103 and/or the time difference determination module 104.
[0030] Preferably, when the length determination module 103
determines that the length of the linked list is smaller than the
maximum length and the time difference determination module 104
determines that the time difference between the reception time and
the last node in the linked list is greater than the time
difference between the first node and the last node in the linked
list, the linked list modification module 105 will insert the
service ID and the reception time of the MMS notification message
into the linked list as a node.
[0031] Preferably, when the length determination module 103
determines that the length of the linked list is smaller than the
maximum length and the time difference determination module 104
determines that the time difference between the reception time and
the last node in the linked list is smaller than the time
difference between the first node and the last node in the linked
list, the linked list modification module 105 will delete the first
node in the linked list, and insert the service ID and the
reception time of the MMS notification message into the linked list
as a node.
[0032] Preferably, when the length determination module 103
determines that the length of the linked list is greater than the
maximum length, the linked list modification module 105 will delete
the first node in the linked list, and insert the service ID and
the reception time of the MMS notification message into the linked
list as a node.
[0033] The embodiment may decide whether to insert a node by
determining whether the time difference between the reception time
of the MMS notification message and the last node in the linked
list is greater than the time difference between the first node and
the last node in the linked list when the length of the linked list
is smaller than the maximum length, thereby solving the following
problems in the prior art: whether to insert a node is determined
only based on the maximum length of the linked list, such that the
storage space of the system will be increased and the inquiry
efficiency of the linked list will be lowered if the fixed value is
too large, while repeated MMS notification messages may be omitted
if the fixed value is too small.
[0034] Further, the linked list according to the disclosure also
includes a minimum length. The specific format of the linked list
is as shown in Table 2.
TABLE-US-00002 TABLE 2 Service ID of MMS Reception time of MMS Node
No. notification message notification message T Node 1 ID1 T1 Node
2 ID2 T2 . . . . . . . . . Node n IDn Tn . . . . . . . . . Node m
IDm Tm
[0035] In table 2, node 1 is the first node in the linked list, the
rest can be deduced by is analogy, node n is the n.sup.th node in
the linked list, n denotes the minimum length of the linked list,
and node m denotes the maximum length of the linked list. T1 is the
reception time of the MMS notification message whose service ID is
ID1 and the rest can be deduced by analogy.
[0036] Accordingly, the length determination module 103 is also
configured to determine the relations of the length of the linked
list with the minimum length and the maximum length; and the linked
list modification module 105 is also configured to insert the
service ID and the reception time of the MMS notification message
into the linked list as a node when the length of the linked list
is smaller than the minimum length.
[0037] The linked list modification module 105 is also configured
to insert the service ID and the reception time into the linked
list as a node when the length determination module 103 determines
that the length of the linked list is greater than the minimum
length but smaller than the maximum length, and the time difference
determination module 104 determines that the time difference is
greater than the time difference between the first node and the
last node in the linked list.
[0038] Further, the linked list modification module 105 is also
configured to delete the first node in the linked list, and insert
the service ID and the reception time of the MMS notification
message into the linked list as a node when the length
determination module 103 determines that the length of the linked
list is greater than the minimum length but smaller than the
maximum length, and the time difference determination module 104 is
determines that the time difference is smaller than the time
difference between the first node and the last node in the linked
list.
[0039] The embodiment may decide whether to insert a node by
determining whether the time difference between the reception time
of the MMS notification message and the last node in the linked
list is greater than the time difference between the first node and
the last node in the linked list when the length of the linked list
is greater than the minimum length but smaller than the maximum
length, thereby solving the following problems in the prior art:
whether to insert a node is determined only based on the maximum
length of the linked list, such that the storage space of the
system will be increased and the inquiry efficiency of the linked
list will be lowered if the fixed value is too large, while
repeated MMS notification messages may be omitted if the fixed
value is too small.
[0040] FIG. 2 is a flow chart of an embodiment of the MMS
notification message processing method according to the
disclosure.
[0041] S301: setting a maximum length of the linked list, wherein
the linked list includes a service ID and a reception time of an
MMS notification message.
[0042] S302: inquiring whether there is a service ID identical with
the service ID of the received MMS notification message in the
linked list when the MMS notification message is received; if yes,
executing S303, otherwise executing S304. In this embodiment, the
service ID of the received MMS notification message is compared
with the service ID of each node in the linked list one by one, to
realize inquiry on whether there is a service ID identical with the
service ID of the received MMS notification message in the linked
list.
[0043] S303: discarding the received MMS notification message.
[0044] S304: determining whether the length of the linked list is
smaller than the maximum length; if yes, executing S306, otherwise
executing S305.
[0045] S305: deleting the first node in the linked list and
inserting the service ID and the reception time of the MMS
notification message into the linked list as a node.
[0046] S306: determining whether the time difference between the
reception time of the is MMS notification message and the last node
in the linked list is greater than the time difference between the
first node and the last node in the linked list; if yes, executing
S307, otherwise executing S308.
[0047] S307: inserting the service ID and the reception time of the
MMS notification message into the linked list as a node.
[0048] S308: deleting the first node in the linked list and
inserting the service ID and the reception time of the MMS
notification message into the linked list as a node.
[0049] The embodiment may decide whether to insert a node by
determining whether the time difference between the reception time
of the MMS notification message and the last node in the linked
list is greater than the time difference between the first node and
the last node in the linked list when the length of the linked list
is smaller than the maximum length, thereby solving the following
problems in the prior art: whether to insert a node is determined
only based on the maximum length of the linked list, and the
storage space of the system will be increased and the inquiry
efficiency of the linked list will be lowered if the fixed value is
too large, while repeated MMS notification messages may be omitted
if the fixed value is too small.
[0050] FIG. 3 is a flow chart of another embodiment of the MMS
notification message processing method according to the
disclosure.
[0051] In this embodiment, a minimum length of the linked list is
also set. The length of the linked list needs to be compared with
not only the maximum length but also the minimum length. The
specific steps and the beneficial effect are described below.
[0052] S401: setting the minimum length and the maximum length of
the linked list.
[0053] S402: receiving an MMS notification message.
[0054] S403: inquiring whether there is a service ID identical with
the service ID of the received MMS notification message in the
linked list; if yes, executing S404, otherwise, executing S405.
[0055] S404: discarding the MMS notification message.
[0056] S405: determining whether to immediately download the
multimedia message; if is yes, executing S406, otherwise executing
S407.
[0057] S406: downloading the multimedia message.
[0058] S407: determining whether the length of the linked list is
smaller than the minimum length; if yes, executing S411, otherwise
executing S408.
[0059] S408: determining whether the length of the linked list
reaches the maximum length; if yes, executing S410, otherwise
executing S409.
[0060] S409: determining whether the time difference between the
reception time of the MMS notification message and the last node in
the linked list is smaller than the time difference between the
first node and the last node in the linked list; if yes, executing
S410, otherwise executing S411.
[0061] S410: deleting the first node in the linked list.
[0062] S411: inserting the service ID and the reception time of the
MMS notification message into the linked list as a node.
[0063] The embodiment may decide whether to insert a node by
determining whether the time difference between the reception time
of the MMS notification message and the last node in the linked
list is greater than the time difference between the first node and
the last node in the linked list when the length of the linked list
is greater than the minimum length but smaller than the maximum
length, thereby solving the following problems in the prior art:
whether to insert a node is determined only based on the maximum
length of the linked list, and the storage space of the system will
be increased and the inquiry efficiency of the linked list will be
lowered if the fixed value is too large, while repeated MMS
notification messages may be omitted if the fixed value is too
small.
[0064] The contents described above are preferred embodiments of
the disclosure and are not intended to limit the scope of the
disclosure. All equivalent structures or equivalent process
conversions made by using the content of the prescription and
accompanying is drawings of the disclosure, or direct or indirect
application of the disclosure in other relevant technical fields
shall be included within the scope of the disclosure.
* * * * *