Summary of the invention
At existing problem in the prior art, the object of the present invention is to provide a kind of method that when reading the MMS message of opening once more, this MMS message can be navigated to fast reading position last time, thereby reduce the time of seeking reading position last time by button, make things convenient for the user to continue to read MMS message.
For realizing purpose of the present invention, the localization method during a kind of MMS of the reading message that provides, the method comprising the steps of: a) when closing MMS message, write down the current reading position information of this MMS message; B) when opening this MMS message once more, obtain this MMS message record reading position information and show in this MMS message and described reading position information corresponding page.
According to the present invention, in step a), the parameter of the relevant current page of reading of record is as the current reading position information of MMS message.In addition, in step a), the parameter that obtains the described relevant current page of reading from MMS message is with its current reading position information as MMS message, and described parameter comprises content-id parameter and the content-location parameter in the MMS message packets.
According to the present invention, in step a), also write down the ID of pent MMS message, and in step b), obtain the reading position information of the record of this MMS message according to the ID of the MMS message that is opened.The reading position information of the ID of described MMS message and MMS message can be recorded in the mapping table.
Embodiment
Below, be described in detail in the method that when reading MMS message this MMS message is navigated to reading position last time with reference to the accompanying drawings.
In the localization method according to reading of the present invention MMS message the time, when the user when reading MMS message, can't continue for some reason to read, in the time of therefore need closing MMS message, the current reading position information of this MMS message goes on record.Therefore, when the user opened this MMS message once more, the reading position information according to record MMS message can be navigated to reading position last time fast, thereby the user can continue to read this MMS message easily.
MMS message is made up of a plurality of pages (slide) usually.Therefore, can write down the current reading position information of the parameter relevant as MMS with the current page of reading.In addition, can also correspondingly write down the ID of this MMS message.
Specifically, can write down the ID and the current reading position information of MMS message with the form of mapping table.Mapping table can be stored in the portable terminal.
Example of the mapping table of the ID of record MMS message and current reading position information has been shown in the table 1.This mapping table comprises two fields.The ID of record MMS message in the MessageID field, the MMS message that is used for discerning in the portable terminal and is stored.The current reading position information of the corresponding MMS message of record in the Content-id field, that is, and with the relevant parameter of the current page of reading in the MMS message.
Table 1
| MessageID |
Content-id |
| 07261123435237574565079659903482572390406 |
Slide5.vcs |
| 07261123435237574565079659903482572390407 |
Slide6.vcs |
Can from MMS message, obtain and the relevant parameter of the current page of reading, and it is recorded in the Content-id field.Say that at length MMS message is followed MMS SMIL (synchronous multimedia integrate language) form usually.Show an example of the MMS message packets of MMS SMIL form below:
“Content-Type:multipart/related;
Type="application/smil";Start="<AAAA>";boundary="----=_Part_24362_271418.11103
57304160"
------=_Part_24362_271418.1110357304160
content-type:text/x-vCalendar;Charset=UTF-8;Name="slide1.vcs"
content-id:<slide1.vcs>
content-location:slide1.vcs
Content-Transfer-Encoding:base64
QkVHSU46VkNBTEVOREFSDQpWRVJTSU9OOjEuMA0KQkVHSU46VkVWRU5U
DQpEVFNUQVJUOjIwMDUw
MzA4VDA5MDAwMFoNCkRURU5EOjIwMDUwMzA4VDEwMDAwMFoNClNVTU
1BUlk7Q0hBUlNFVD1VVEYt
ODtFTkNPRElORzlRVU9URUQtUFJJTlRBQkxFOuaYr+WQpg0KQ0FURUdPUklFUz
tDSEFSU0VUPVVU
Ri04O0VOQ09ESU5HPVFVT1RFRC1QUklOVEFCTEU6QVBQT0lOVE1FTlRTDQpF
TkQ6VkVWRU5UDQpF
TkQ6VkNBTEVOREFSDQo=
------=_Part_24362_271418.1110357304160”
Wherein, " content-id " is the parameter of the ID of representation page.Therefore, when closing MMS message, can at first from MMS message, read " content-id " parameter of the relevant current page of reading, then its current reading position information as this MMS message is recorded in the Content-id field as shown in table 1.In addition, it should be understood that and also can from MMS message, read " content-location " parameter and it is recorded as current reading position information.
Subsequently, when the user opened this MMS message once more, the ID of the MMS message that foundation is opened searched corresponding reading position information, for example " Slide6.vcs " from the mapping table shown in the table 1.Then, the corresponding page of reading position information in the MMS message and that find is displayed on the screen of portable terminal, thus the quick location of having realized MMS message.
Figure 1A and Figure 1B schematically show the operation interface figure that realizes the quick location of MMS message in portable terminal.
Shown in Figure 1A, suppose that the user is reading a mobile phone newspaper MMS message of being made up of 12 pages, and when reading the 6th page, need close MMS message for a certain reason.At this moment, the user can select " continuing next time to read " option from the menu that portable terminal provided.In this case, the ID of current MMS message of reading and current reading position (" Slide6.vcs ") will be recorded.In addition, as shown in Figure 1A, the bookmark sign that on the 6th page of this MMS message, has added to indicate current reading position.
Shown in Figure 1B, when the user wanted continue to read pent MMS message, portable terminal was searched reading position last time (" Slide6.vcs ") according to the ID of user-selected MMS message from the mapping table of storage.Then, MMS message is directly navigated to the page corresponding to the reading position information that finds, i.e. the 6th page.
Fig. 2 A and Fig. 2 B are the flow charts that illustrates according to the reading localization method of MMS message of the present invention.
If the user need close MMS message ("Yes" in the step 202) when reading MMS message, then in step 203, determine whether the user has selected " continuing to read option next time ".If the user has selected " continuing next time to read " option, then in step 204, write down the ID and the reading position information of current MMS message of reading, that is, and the parameter of the relevant current page of reading.As mentioned above, the ID of MMS message and current reading position information can be recorded in the mapping table.Afterwards, MMS message is closed.
Shown in Fig. 2 B, when the user opened MMS message once more, in step 207, the ID of the MMS message that foundation is opened sought corresponding reading position information in mapping table.In step 208, according to the reading position information that finds, the reading position information corresponding page that MMS message is directly navigated to and finds.
As mentioned above, localization method when the invention provides a kind of MMS of reading message, by when closing MMS message, writing down the current reading position information of this MMS message, can when opening this MMS message once more, navigate to reading position last time fast by the reading position information of obtaining record, thereby reduce the time of user, make things convenient for the user to continue to read MMS message by button searching reading position last time.