WO2011015093A1 - 一种手机消息的处理方法及手机 - Google Patents

一种手机消息的处理方法及手机 Download PDF

Info

Publication number
WO2011015093A1
WO2011015093A1 PCT/CN2010/074301 CN2010074301W WO2011015093A1 WO 2011015093 A1 WO2011015093 A1 WO 2011015093A1 CN 2010074301 W CN2010074301 W CN 2010074301W WO 2011015093 A1 WO2011015093 A1 WO 2011015093A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile phone
message
processing
database
phone message
Prior art date
Application number
PCT/CN2010/074301
Other languages
English (en)
French (fr)
Inventor
黄勤波
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP10805997.3A priority Critical patent/EP2448226A4/en
Priority to US13/387,160 priority patent/US20120122498A1/en
Publication of WO2011015093A1 publication Critical patent/WO2011015093A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/57Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a method for processing a mobile phone message and a mobile phone. Background technique
  • wireless communication technology has developed rapidly, and the design technology of mobile phones as wireless communication terminals has also developed rapidly, and mobile communication functions have become more and more powerful. From the initial simple voice call, to SMS, MMS, to Email, IM (Instant Messaging), etc., the communication module design is good or bad, which determines whether the user is convenient to use, and then decides whether it can get more. User's favor.
  • the communication-related business modules have one thing in common.
  • the business content is all messages. These messages need to be stored in different mailboxes according to different user needs. For example, new messages are stored in the inbox, and successful messages are stored. Messages that have been sent to the mailbox, failed to be sent to the Outbox, edited messages can be saved to the drafts, and these different mailboxes can be backed up to an encrypted secure mailbox, and even users can define their own mailboxes according to their needs. And modify the name of the custom mailbox as needed.
  • each type of message (such as SMS, MMS, Email, IM, etc.) is stored separately in the mobile application layer by a separate message module, which is inconvenient for the user to uniformly manage various types of messages.
  • mobile phones as a means of communication, users often want to view the message records with a specific person. According to the current design, they must enter different message service modules, and then enter different groups of each message service module to find and specific. A person's historical contact record. In addition, even if the same message is viewed, the message record with a specific person needs to enter a different mailbox to view, and since the message is divided into different groups, the time sequence of the message that the user interacts with the contact is also unintuitive. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method for processing a mobile phone message, so that the user can perform unified management on various types of mobile phone messages.
  • an aspect provides a method for processing a mobile phone message, including: extracting a value of a common field of a mobile phone message;
  • the value of the public field of the handset message is stored to the same database, which is pre-established with a common field of at least two types of handset messages.
  • Another aspect also provides a mobile phone, including:
  • An extraction module configured to extract a value of a common field of the mobile phone message
  • a storage module configured to store a value of a common field of the extracted mobile phone message to the same database; the database is established with a common field of at least two types of mobile phone messages.
  • the method for processing mobile phone messages provided by the present invention and the corresponding mobile phone integrate all the message service modules in the mobile phone application layer, and store the values of the common fields of various mobile phone messages in the same database, which greatly facilitates user unification. Manage a variety of different messages. BRIEF abstract
  • FIG. 1 is a flowchart of a method for processing a mobile phone message according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for processing a mobile phone message according to another embodiment of the present invention
  • FIG. 3 is a flowchart of an application example of a method for processing a mobile phone message according to the present invention
  • FIG. 4 is a batch of mobile phone messages according to the present invention. Flow chart of mobile processing
  • FIG. 5 is a schematic illustration of a handset in accordance with an embodiment of the present invention. Preferred embodiment of the invention
  • Various types of mobile phone messages such as SMS, MMS, Email, IM, etc.
  • have some common fields including message ID (ID), recipient, sender, message time, subject, mailbox ID, message type ID, and storage media.
  • ID message ID
  • the identification method of the mobile phone message provided by the present invention is mainly to uniformly store the values of the common fields of various mobile phone messages in the same database, so that on the basis of the database storage, the user can conveniently carry out various types of mobile phone messages. Unified management.
  • FIG. 1 is a flowchart of a method for processing a mobile phone message according to an embodiment of the invention. As shown in Figure 1 The method for processing a mobile phone message according to an embodiment of the present invention includes:
  • Step S11 extracting a value of a common field of the mobile phone message
  • Step S12 Store the value of the public field of the mobile phone message to the same database.
  • the database is pre-established in a common field of at least two types of mobile phone messages, for example, public fields of SMS, MMS, and Email (eg, message ID, recipient, sender, message time, subject, mailbox ID, and message type) ID) to build the database.
  • SMS short message
  • MMS mobile mobile phone
  • Email eg, message ID, recipient, sender, message time, subject, mailbox ID, and message type
  • the method for processing mobile phone messages according to the embodiment of the present invention uniformly stores the values of the common fields of various mobile phone messages in the same database, which greatly facilitates the unified management and use of various mobile phone messages by users, which is more intuitive and more catering. User and operator needs.
  • the mobile phone message processing method in the embodiment of the present invention includes:
  • Step S101 extracting the value of the common field of the mobile phone message, and storing it in the same database established in advance; when the mobile phone is powered on, the value of the common field of the mobile phone message in the SIM (Subscriber Identity Module) card can be Synchronous storage to the database for convenient unified management; for newly received SMS messages, MMS, push messages, and email messages, the value of their public fields can be stored as a record in the database; The newly created mobile phone message, such as SMS, MMS, etc., saved as draft, can also be extracted from the value of its common field and stored in the database.
  • SIM Subscriber Identity Module
  • Step S102 Packet content other than the public field in the mobile phone message, so that the packaged message file corresponds to a record of the corresponding mobile phone message in the database.
  • some mobile phone messages include other content, such as pictures in MMS, email attachments, etc., which need to be packaged according to the message service protocol (such as Microsoft Media Server protocol, Email protocol, etc.).
  • the message file is stored in the file system, wherein the packaged message file has a one-to-one correspondence with the record of the mobile phone message stored in the database, for example, the corresponding message file can be named by the message ID of the mobile phone message in the database, so that Convenient access to the associated message file.
  • Step S103 performing subsequent processing on the mobile phone message in the database;
  • the subsequent processing includes unified filtering, searching and batch deleting, batch copying, and batch moving processing of mobile phone messages in the database.
  • the method for processing the mobile phone message in the embodiment of the present invention uniformly stores the values of the common fields of the various types of mobile phone messages in the same database, and further, for the more complicated mobile phone messages such as MMS and Email, the mobile phone message can be deleted.
  • the content outside the field is packaged and stored as a message file, so that the user can obtain the entire content of the mobile phone message of the type.
  • FIG. 3 is a flow chart showing an application example of a method of processing a mobile phone message according to the present invention, including:
  • step S201 the mobile phone receives a new message.
  • Step S202 assigning a value to a common field of the new message
  • the mailbox ID of the new message is assigned a value corresponding to the inbox; if it is a multimedia message, the message type ID of the new message needs to be assigned to the message type ID corresponding to the MMS.
  • the time of receiving the new message, the subject of the message, etc. is also assigned, wherein the message box such as the normally distinguished inbox, outbox, sent, draft box, message favorites, etc. can be used as a preset Mailbox, because the database records have sorting, combining, filtering and searching functions, through the different database query language SQL (Structured Query Language), you can get the desired message list, which is convenient for users to define various mailboxes freely. And set the filtering rules of the mailbox to manage the messages in different ways.
  • SQL Structured Query Language
  • Step S203 storing the value of the public field of the new message into the database
  • a unified message ID can be generated together.
  • Step S204 If the new message includes content other than the public field, such as a message such as a multimedia message or an email, the content of the message except the public field is packaged into a message file according to the corresponding message protocol, and is saved in the file system, for example,
  • the message file can be named with a message ID, so that the message file corresponds to a corresponding message record stored in the database;
  • Step S204 For the message that the database common field can store all the message content, such as a short message, step S204 is not required.
  • Steps S201 to S204 mainly describe a method for storing a received new message. The following steps are a method of reading a message in the database as an example to describe a subsequent processing of the mobile phone message record in the database.
  • Step S205 the user inputs the query condition, and then queries the database to satisfy the query condition by using the SQL language in the database;
  • the message and its corresponding file are found from the database through the ID of the message; for example, entering a mailbox means that all messages corresponding to the mailbox ID are executed, and the corresponding message list is further updated.
  • Step S206 when the user selects a complicated message (such as a multimedia message) from the message list for reading, the mobile phone acquires the corresponding message file according to the message ID of the selected message in the database.
  • a complicated message such as a multimedia message
  • Simple messages (such as text messages) can be read directly from the database.
  • Steps S207, 4 according to the message type of the message, find a corresponding message protocol to decode the message file;
  • Step S208 displaying the decoded message file, and then reading.
  • Steps S205 to S208 are merely taking the reading of the mobile phone message as an example to describe the subsequent processing of the mobile phone message in the database according to the present invention.
  • Those skilled in the art can understand that other common operations can be performed on the mobile phone message according to the present invention. For example, screening, searching, etc., of course, it is also possible to perform bulk deletion, batch copying, batch movement, and the like on the mobile phone messages in the database.
  • the batch processing of the mobile phone message is taken as an example to further illustrate the subsequent processing of the mobile phone message in the database according to the present invention.
  • 4 is a flow chart of bulk mobile processing of mobile phone messages in accordance with the present invention.
  • Step S301 the user selects a source address of the mobile phone message to be batch-moved, and selects a message type of the batch mobile;
  • mobile phone messages of this type can be easily selected in the database, such as mobile phone short messages, mobile phone multimedia messages, mobile phone push messages, messages stored on the SIM card, and the like.
  • the user selects the short message of SIM card 1, which involves asynchronous processing.
  • the so-called asynchronous processing is Operation processing is performed on different storage media, and it is necessary to wait for the related operations to be completed before proceeding to the next processing. For example, after reading a short message on a SIM card, the SIM card related interface needs to be called to change the message from the unread state to the read state before the message can be read.
  • Step S302 The user performs multiple selections on the short message of the SIM card 1, that is, selects multiple short messages to be processed in batches, and after the selection is determined, the mobile phone puts the selected mobile phone message into the message batch processing queue.
  • the so-called multiple choice is that in the message list interface of a certain mailbox, after the user selects batch processing (copy, move or delete), there will be multiple selection interfaces in the message list interface, and the user can list the message in the message list. If the message you want to operate is selected multiple times, you can also select all the messages. After the determination, you can operate the selected message.
  • Step S303 the user selects a destination address of the mobile, such as the SIM card 2.
  • Step S304 determining whether there is an asynchronous processing according to the information of the message batch processing queue. If there is no asynchronous processing, such as moving the short message of the local inbox to the message collection mailbox, the process proceeds to step S310; otherwise, the process proceeds to step S305. .
  • the message batch processing queue it is determined whether the asynchronous processing is performed. It is necessary to determine whether the message type of the message is a SIM card message, or whether the destination message ID of the operation is a SIM card message. For example, if the SIM card message is deleted, the message ID is It is a SIM card message, that is, asynchronous processing; or even if the message is not a SIM card message, but needs to be copied or moved into a SIM card message, it is also necessary to perform related processing on the SIM card, which is also asynchronous processing.
  • Step S305 determining whether the message batch processing queue is empty.
  • step S311 If the message batch processing queue is empty, it indicates that the unprocessed message or the message batch processing queue has been processed, and the process goes to step S311; if the message batch processing queue is not empty, the process goes to step S306.
  • Step S306 the first message of the mobile phone message to be processed in the message batch processing queue is used as the current processing message, and the current processing message is copied, that is, the message of the SIM card 1 is copied to the SIM card 2, which may be in the database. Add a message record, and modify the ID of the SIM card of the message record to modify the SIM card 1 to the SIM card 2.
  • step S307 it is judged whether the copying is successful. If it is successful, the process proceeds to step S308, otherwise, the process proceeds to step S309. Step S308, deleting the selected short message on the SIM card 1, and simultaneously deleting the corresponding record of the selected short message in the database, and then proceeding to step S309.
  • Step S309 After the current processing message is processed, the current processing message is deleted, and the next mobile phone message in the queue is used as the current processing message, and then the process returns to step S305.
  • Step S310 cyclically modifying the fields of the mobile phone message in the message batch processing queue, for example, copying the selected short message in the inbox to the local sent mailbox, and only need to change the mailbox type of the selected short message from the inbox to the already Send the mail box.
  • Step S311 The message batch processing queue processing ends.
  • FIG. 5 is a schematic diagram of a mobile phone according to an embodiment of the present invention, and a mobile phone according to an embodiment of the present invention is described in detail below.
  • the mobile phone of this embodiment includes an extraction module 501 and a storage module 502.
  • the extraction module 501 is configured to extract a value of a common field of various types of mobile phone messages, where the mobile phone message may be a mobile phone message in the SIM card, may be a newly received mobile phone message such as a short message, a multimedia message, a push message, and an email, or may be a user.
  • the storage module 502 is configured to store the value of the common field of the extracted mobile phone message to the same database.
  • the database is established in advance in a common field of at least two types of mobile phone messages, for example, a common field of a short message and a multimedia message: a message ID, a recipient, a sender, a message time, a mailbox ID, a message type ID, etc. And the database is stored in the mobile phone storage system, so that various types of mobile phone messages can be uniformly managed based on the database.
  • the mobile phone in this embodiment may further include a packaging module 503. Since complex mobile phone messages such as multimedia messages and emails include content other than public fields, such as pictures, audio, and accessories, the content cannot be directly stored in a database, and may be applied.
  • the packaging module 503 packages the content of the complex mobile phone messages except the public field into a message file, and then stores the packaged message file into the file system of the mobile phone storage system through the storage module 502, and causes the packaged message file to be
  • the corresponding mobile phone message record in the database - corresponding, for example, the message file is named by the message ID, so that the corresponding message file can be conveniently obtained through the message ID, and then the entire content of the complex mobile phone message can be obtained.
  • the mobile phone of this embodiment may further include a decoding module 504, which is configured to be packaged as described above.
  • the message file is decoded. After the corresponding message file is obtained by the message ID, the content in the packaged message file can be obtained by decoding by the decoding module 504.
  • the mobile phone of this embodiment may further include a calling module 505, configured to invoke various mobile phone message protocol plug-ins (such as SMS (Short Message Service) protocol plug-in, MMS protocol plug-in, Email protocol plug-in, and other message protocol plug-ins).
  • the message protocol handles all types of mobile phone messages.
  • the calling module 505 invokes the MMS protocol in the MMS protocol plug-in according to the message type of the multimedia message, and then the packaging module 503 packages the content of the non-public field of the MMS according to the called MMS protocol, and then stores the content in the file system.
  • the calling module 505 calls the Email protocol in the Email protocol plug-in according to the message type of the Email, and the decoding module 504 decodes the message file obtained according to the message ID of the Email in the database according to the invoked Email protocol.
  • the decoded message file can be read.
  • the mobile phone of this embodiment may further include a processing module 506, configured to perform unified processing on various types of mobile phone messages, for example, batch processing of mobile phone messages, including batch sorting, batch moving, batch sorting, batch deleting, or batch copying, etc. .
  • a processing module 506 configured to perform unified processing on various types of mobile phone messages, for example, batch processing of mobile phone messages, including batch sorting, batch moving, batch sorting, batch deleting, or batch copying, etc. .
  • the detailed processing procedure is as described above, and the description will not be repeated here.
  • the mobile phone provided according to the present invention also greatly facilitates the user to uniformly manage and use various types of mobile phone messages.
  • the mobile phone message processing method and the corresponding mobile phone provided by the invention integrate all the message service modules in the mobile phone application layer, and store the values of the common fields of various mobile phone messages in the same database, which greatly facilitates the user to uniformly manage each Different types of messages.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Description

一种手机消息的处理方法及手机
技术领域
本发明涉及移动通信领域,特别是涉及一种手机消息的处理方法及手机。 背景技术
最近十多年, 无线通信技术高速发展, 作为无线通信终端的手机的设计 技术也迅猛发展, 手机通讯功能变得越来越多, 越来越强。 从最初的简单语 音通话, 到短信、 彩信, 再到 Email、 IM (即时消息)等等, 这些通讯功能 业务模块设计的好坏, 决定了用户操作使用是否方便, 进而决定了是否能够 得到更多用户的青睐。
这些与通讯相关的业务模块有个共同点是业务内容都是消息, 这些消息 都需要根据不同的用户需要存储到不同的信箱, 比如新来的消息存储到收件 箱、 发送成功的消息存储到已发送信箱、 发送失败的消息存储到发件箱、 编 辑后的消息可以保存到草稿箱, 还可以把这些不同的信箱备份到加密的安全 信箱, 甚至用户可以根据自己的需要定义自己的邮箱, 并根据需要修改自定 义邮箱的名字。
现有技术中, 每一类消息 (如短信、 彩信、 Email, IM等)在手机应用 层中以独立的消息模块单独存储, 不方便用户统一管理各类消息。 例如, 手 机作为沟通手段, 用户往往希望查看与特定某人的消息记录, 根据目前的设 计要查看的话就必须进入不同的消息业务模块, 然后进入每个消息业务模块 的不同组后才能找到与特定某人的历史联系记录。 此外, 即使是查看同一种 消息, 与特定某人的消息记录也需要进入不同的信箱后才能查看, 而且由于 消息被分为不同组, 用户与联系人交互的消息时间先后顺序也很不直观。 发明内容
本发明要解决的技术问题是提供一种手机消息的处理方法, 使用户能够 对各类手机消息进行统一的管理。 为了解决上述技术问题, 一方面提供了一种手机消息的处理方法, 包括: 提取手机消息的公用字段的值; 以及
将所述手机消息的公用字段的值存储到同一数据库, 所述数据库是以至 少两类手机消息的公用字段预先建立的。
另一方面还提供了一种手机, 包括:
提取模块, 设置为将手机消息的公用字段的值提取出来; 以及
存储模块, 设置为将所提取的手机消息的公用字段的值存储到同一数据 库; 所述数据库是以至少两类手机消息的公用字段建立的。
可见, 本发明提供的手机消息的处理方法及相应的手机整合了手机应用 层中所有的消息业务模块, 将各类手机消息的公用字段的值统一存储于同一 数据库中, 这样极大地方便用户统一管理各类不同的消息。 附图概述
图 1是根据本发明一实施例的手机消息的处理方法的流程图;
图 2是根据本发明另一实施例的手机消息的处理方法的流程图; 图 3是根据本发明的手机消息的处理方法的应用示例的流程图; 图 4是根据本发明对手机消息进行批量移动处理的流程图;
图 5是根据本发明实施例的手机的示意图。 本发明的较佳实施方式
各类手机消息, 例如短信、 彩信、 Email、 IM等, 都具有一些公用字段, 包括消息标识(ID ) 、 收件人、 发件人、 消息时间、 主题、 信箱 ID、 消息类 型 ID和存储介质的标识等等,本发明提供的手机消息的处理方法主要是将各 类手机消息的公用字段的值统一存储于同一数据库中, 这样在数据库存储的 基础上, 可以方便用户对各类手机消息进行统一管理。
下面结合附图及实施例对本发明的技术方案进行更详细的说明。
图 1是根据本发明一实施例的手机消息的处理方法的流程图。 如图 1所 示, 本发明实施例的手机消息处理方法包括:
步骤 S11 , 提取手机消息的公用字段的值;
步骤 S12, 将手机消息的公用字段的值存储到同一数据库。
其中, 预先以至少两类手机消息的公用字段来建立数据库, 例如, 以短 信、 彩信和 Email的公用字段(例如消息 ID、 收件人、 发件人、 消息时间、 主题、 信箱 ID和消息类型 ID ) 来建立数据库。
本发明实施例的手机消息的处理方法将各类手机消息的公用字段的值统 一存储于同一数据库中, 极大地方便用户对各类手机消息进行统一的管理和 使用, 这样更直观、 更能迎合用户和运营商的需要。
图 2是根据本发明另一实施例的手机消息的处理方法的流程图。 如图 2 所示 , 本发明实施例的手机消息处理方法包括:
步骤 S101 , 提取出手机消息的公用字段的值, 并将其存储于预先建立的 同一数据库; 当手机开机时可以将 SIM ( Subscriber Identity Module, 客户识别模块) 卡内的手机消息的公用字段的值同步存储到该数据库中, 以方便统一管理; 对于新接收的短信、 彩信、 push (推入)消息和 Email等的手机消息, 可以将 其公用字段的值作为一条记录存储到数据库中; 对于用户新建的保存为草稿 的短信、 彩信等的手机消息, 也可以将其公用字段的值提取出来存储到数据 库中。
步骤 S102, 对手机消息中的除公用字段以外的内容进行打包, 使所打包 的消息文件与数据库中相应的手机消息的记录——对应;
有些手机消息除了上述公用字段外, 还包括其它内容, 如彩信中的图片、 Email 的附件等等, 这些内容需要根据消息业务协议 (如彩信 MMS 协议 ( Microsoft Media Server protocol )、 Email协议等)打包成消息文件存储在文 件系统中, 其中使所打包的消息文件和存储在数据库中的手机消息的记录一 一对应, 例如可以以数据库中的手机消息的消息 ID来命名相应的消息文件, 这样可方便获取到相关联的消息文件。
步骤 S103 , 对数据库中的手机消息进行后续处理; 其中, 后续处理包括对数据库中的手机消息进行统一筛选、 查找和批量 删除、 批量复制和批量移动的处理等等。
本发明实施例的手机消息的处理方法将各类手机消息的公用字段的值统 一存储于同一数据库中,进一步地,对于如彩信、 Email等较复杂的手机消息, 还可以将手机消息中除公用字段以外的内容进行打包存储成消息文件, 这样 用户就可以获取该类手机消息的全部内容。
下面参见图 3 , 以来新消息为例对本发明实施例的手机消息的处理方法 进行详细的说明。 图 3是根据本发明的手机消息的处理方法的应用示例的流 程图, 包括:
步骤 S201 , 手机收到新消息。
步骤 S202 , 对新消息的公用字段进行赋值;
比如新消息一般是放入收件箱,则将该新消息的信箱 ID赋值为收件箱对 应的值; 如果是彩信, 则需要将该新消息的消息类型 ID赋值为彩信对应的消 息类型 ID; 此外, 也对该新消息接收的时间, 消息的主题等等进行赋值, 其中, 可以把通常区分的收件箱、 发件箱、 已发送、 草稿箱、 消息收藏 夹等消息信箱作为预设信箱, 因为数据库记录具有排序、 组合、 过滤和查找 功能, 通过不同的数据库查询语言 SQL ( Structured Query Language, 结构化 查询语言) , 即可获取到想要的消息列表, 方便用户自由定义各类信箱并设 定信箱的过滤规则, 以不同的方式统一管理消息。
步骤 S203 , 将新消息的公用字段的值存入数据库;
在将新消息的公用字段的值存入预先建立的数据库的过程中, 可以一并 生成统一的消息 ID。
步骤 S204, 若该新消息包括除公用字段以外的内容, 比如彩信、 Email 等消息, 则根据相应的消息协议将消息中除公用字段以外的内容打包成消息 文件, 并保存在文件系统中, 例如可以用消息 ID来命名消息文件, 使该消息 文件与存储在数据库中的相应的消息记录对应;
对于数据库公用字段能存储完所有消息内容的消息, 比如短信, 则不需 执行步骤 S204。 步骤 S201至步骤 S204主要说明对接收的新消息进行存储的方法, 下面 的步骤是以读取数据库中的消息为例说明对数据库中的手机消息记录进行后 续处理的方法。
步骤 S205 ,用户输入查询条件, 则在数据库中通过 SQL语言查询到满足 查询条件的消息列表;
比如阅读一条消息,就是通过该消息的 ID从数据库中查到该消息及其对 应的文件; 比如进入一个信箱 , 就是执行了查询该信箱 ID对应的所有消息, 进一步地更新对应的消息列表。
步骤 S206, 当用户从消息列表中选择一条复杂的消息 (如彩信)进行阅 读时, 手机根据数据库中所选择消息的消息 ID获取到相应的消息文件。
简单的消息 (如短信) 可以从数据库中直接读取。
步骤 S207 , 4艮据该消息的消息类型, 找到对应的消息协议对消息文件进 行解码;
例如, 若该消息是彩信, 则找到 MMS协议对相应的消息文件进行解码。 步骤 S208, 将解码出来的消息文件进行显示, 即可阅读。
步骤 S205至步骤 S208仅是以读取手机消息为例说明根据本发明对数据 库中的手机消息进行的后续处理, 本领域的技术人员能够理解根据本发明还 能对手机消息进行其它常用的操作, 如筛选、 查找等, 当然也可以对数据库 中的手机消息进行批量删除、 批量复制和批量移动等等的操作。
下面以对手机消息进行批量移动为例来进一步说明根据本发明对数据库 中的手机消息进行的后续处理。 图 4是根据本发明对手机消息进行批量移动 处理的流程图。
步骤 S301 , 用户选择要批量移动的手机消息的源地址, 并选择批量移动 的消息类型;
例如, 在数据库中可以容易地选择到该类型的手机消息, 例如手机短信、 手机彩信、 手机 push消息, 也可以选择存储在 SIM卡上的消息等等。 这里以 在双模手机上选择一个 SIM卡 1上的短信移动到另一个 SIM卡 2为例进行说 明。 用户选择 SIM卡 1的短信, 这样就涉及到异步处理。 所谓异步处理就是 在不同的存储介质上进行操作处理, 而且需要等待相关操作完成后才能进行 下一步的处理。 比如阅读一条 SIM卡上的短信, 需要调用 SIM卡相关接口将 该消息从未读状态变为已读状态后, 才能阅读该条消息。
步骤 S302, 用户对 SIM卡 1的短信进行多项选择, 即选中待批量处理的 多条短信, 选择确定后, 手机将所选择的手机消息放入消息批量处理队列。
所谓多项选择, 就是在某个信箱的消息列表界面中, 用户选择进行批量 处理 (复制、 移动或删除)后, 在消息列表界面中会有多项选择的界面, 用 户可以对该消息列表中想要操作的消息进行多项选中, 也可以全选, 确定后 即可以对选中的消息进行操作。
步骤 S303 , 用户选择移动的目的地址, 比如 SIM卡 2。
步骤 S304, 才艮据消息批量处理队列的信息判断有无异步处理情况, 如果 无异步处理情况如将本地收件箱的短信移动到消息收藏信箱, 则转入步骤 S310; 否则, 转入步骤 S305。
根据消息批量处理队列的信息判断有无异步处理情况, 需要判断该消息 的消息类型是否是 SIM卡消息,或者操作的目的消息 ID是否是 SIM卡消息, 比如若删除 SIM卡消息, 则该消息 ID为 SIM卡消息, 即为异步处理; 或者 即便该消息不是 SIM卡消息, 但是需要将它复制或移动成为 SIM卡消息, 则 也需要对 SIM卡进行相关处理, 也是异步处理。
步骤 S305 , 判断消息批量处理队列是否为空,
如果消息批量处理队列为空 , 则说明未选择待处理的消息或消息批量处 理队列已经被处理完毕, 转入步骤 S311 ; 如果消息批量处理队列不为空, 则 转入步骤 S306。
步骤 S306, 将在消息批量处理队列中待处理的手机消息的第一条消息作 为当前处理消息, 对当前处理消息进行复制, 即, 将 SIM卡 1的消息复制到 SIM卡 2, 可以在数据库中增加一条消息记录, 并修改该条消息记录的 SIM 卡的标识, 将 SIM卡 1修改为 SIM卡 2。
步骤 S307, 判断复制是否成功, 若成功则转入步骤 S308, 否则转入步骤 S309。 步骤 S308, 将 SIM卡 1上所选的短信进行删除, 也同步地删除所选的短 信在数据库中对应的记录, 然后进入步骤 S309。
步骤 S309, 当前处理消息处理完毕后, 删除当前处理消息, 将队列中的 下一手机消息作为当前处理消息, 然后返回到步骤 S305。
步骤 S310, 循环修改消息批量处理队列中的手机消息的字段, 比如将收 件箱中所选的短信复制到本地的已发信箱, 仅需将所选短信的信箱类型从收 件箱更改为已发信箱即可。
步骤 S311、 消息批量处理队列处理结束。
用户还可以容易地对数据库中的手机消息进行批量排序、 筛选、 批量删 除、 批量复制等操作, 这里就不一一介绍。
图 5是本发明实施例的手机的示意图, 下面详细说明根据本发明实施例 提供的手机。
如图 5所示, 本实施例的手机包括提取模块 501和存储模块 502。 提取 模块 501设置为提取各类手机消息的公用字段的值,其中手机消息可以是 SIM 卡内的手机消息, 可以是新接收的短信、 彩信、 push消息和 Email等的手机 消息, 也可以是用户新建的保存为草稿的短信、 彩信等的手机消息; 存储模 块 502设置为将所提取的手机消息的公用字段的值存储到同一数据库。 该数 据库是事先以至少两类手机消息的公用字段建立的, 例如以短信和彩信的公 用字段: 消息 ID、 收件人、 发件人、 消息时间、 信箱 ID、 消息类型 ID等建 立一数据库, 并且将该数据库存储在手机存储系统中, 这样就可以基于该数 据库对各类手机消息进行统一的管理。
另外, 本实施例的手机还可以包括打包模块 503, 由于彩信、 Email等复 杂的手机消息包括除公用字段以外的内容, 例如图片、 音频、 附件等, 这些 内容无法直接存储在数据库中, 可以应用打包模块 503将这些复杂的手机消 息的除公用字段以外的内容打包成消息文件, 然后通过存储模块 502将所打 包的消息文件存储到手机存储系统的文件系统中, 并且使所打包的消息文件 与数据库中相应的手机消息记录——对应,例如以消息 ID对所打包的消息文 件进行命名, 这样就可以方便通过消息 ID获取相应的消息文件, 进而就可以 获取复杂手机消息的全部内容。
此外, 本实施例的手机还可以包括解码模块 504, 设置为对上述打包的 消息文件进行解码。 当通过消息 ID获取到相应的消息文件后, 通过解码模块 504的解码就可以获取所打包的消息文件中的内容。
本实施例的手机还可以包括调用模块 505 , 设置为调用各类手机消息协 议插件 (例如 SMS ( Short Message Service, 短信服务)协议插件、 MMS协 议插件、 Email协议插件及其它消息协议插件)中的消息协议以对各类手机消 息进行处理。 例如, 接收到彩信时, 调用模块 505根据彩信的消息类型调用 MMS协议插件中的 MMS协议, 然后打包模块 503根据所调用的 MMS协议 对彩信的非公用字段的内容进行打包, 再存储到文件系统中; 当读取 Email 时,调用模块 505根据 Email的消息类型调用 Email协议插件中的 Email协议, 解码模块 504根据所调用的 Email协议对根据数据库中 Email的消息 ID获取 的消息文件进行解码 , 这样解码后的消息文件就可被读取。
本实施例的手机还可以包括处理模块 506 , 设置为对各类手机消息进行 统一处理, 例如可以对手机消息进行批量处理, 包括批量排序、 批量移动、 批量歸选、 批量删除或批量复制等等。 详细的处理过程如上文所述, 这里不 再重复说明。
根据本发明提供的手机也极大地方便用户对各类手机消息进行统一的管 理和使用。
以上实施例仅是为说明根据本发明的手机消息的处理方法及手机的示 例, 不应当理解为对本发明的限制, 根据本发明的技术方案及其较佳实施例 的描述, 可以做出各种可能的等同改变或替换, 而所有这些改变或替换都应 属于本发明的权利要求的保护范围。 工业实用性
本发明提供的手机消息的处理方法及相应的手机整合了手机应用层中所 有的消息业务模块, 将各类手机消息的公用字段的值统一存储于同一数据库 中, 这样极大地方便用户统一管理各类不同的消息。

Claims

权 利 要 求 书
1、 一种手机消息的处理方法, 包括:
提取手机消息的公用字段的值; 以及
将所述手机消息的公用字段的值存储到同一数据库, 所述数据库是以至 少两类手机消息的公用字段预先建立的。
2、 根据权利要求 1所述的手机消息的处理方法, 还包括:
对包含非公用字段的手机消息, 调用手机消息协议将相应的所述手机消 息的非公用字段的内容打包成消息文件, 所述消息文件与存储在数据库中的 手机消息的记录——对应。
3、 根据权利要求 2所述的手机消息的处理方法, 还包括:
当处理包含非公用字段的手机消息时 , 调用手机消息协议对相应的所述 消息文件进行解码。
4、 根据权利要求 1至 3中任一项所述的手机消息的处理方法, 其中, 所 述手机消息的公用字段包括: 消息标识(ID ) 、 收件人、 发件人、 消息时间、 主题、 信箱 ID和消息类型 ID。
5、 根据权利要求 1至 3中任一项所述的手机消息的处理方法, 还包括: 对所述手机消息进行批量处理, 所述批量处理为批量排序、 批量移动、 批量歸选、 批量删除或批量复制。
6、 根据权利要求 5所述的手机消息的处理方法, 还包括:
当批量处理导致手机消息的增加、 删除或公用字段的变化时, 对所述数 据库中相应的记录进行相应修改。
7、 一种手机, 包括:
提取模块, 设置为将手机消息的公用字段的值提取出来; 以及
存储模块, 设置为将所提取的手机消息的公用字段的值存储到同一数据 库; 所述数据库是以至少两类手机消息的公用字段建立的。
8、 根据权利要求 5所述的手机, 还包括: 调用模块, 设置为调用各类手机消息协议; 以及
打包模块, 设置为根据所调用的手机消息协议将相应的手机消息的非公 用字段的内容打包成消息文件, 使所述消息文件与存储在数据库中的手机消 息的记录——对应。
9、 根据权利要求 6所述的手机, 还包括:
解码模块, 设置为根据所调用的手机消息协议对相应的消息文件进行解 码。
10、 根据权利要求 6至 8中任一项所述的手机, 还包括:
处理模块, 设置为对所述手机消息进行批量处理, 并在批量处理导致手 机消息的增加、 删除或公用字段的变化时, 对所述数据库中相应的记录进行 相应爹改。
PCT/CN2010/074301 2009-08-05 2010-06-23 一种手机消息的处理方法及手机 WO2011015093A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP10805997.3A EP2448226A4 (en) 2009-08-05 2010-06-23 Mobile phone messages processing method and mobile phone
US13/387,160 US20120122498A1 (en) 2009-08-05 2010-06-23 Mobile phone messages processing method and mobile phone

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910166051.0 2009-08-05
CN200910166051A CN101626430A (zh) 2009-08-05 2009-08-05 一种手机消息的处理方法及手机

Publications (1)

Publication Number Publication Date
WO2011015093A1 true WO2011015093A1 (zh) 2011-02-10

Family

ID=41522104

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/074301 WO2011015093A1 (zh) 2009-08-05 2010-06-23 一种手机消息的处理方法及手机

Country Status (4)

Country Link
US (1) US20120122498A1 (zh)
EP (1) EP2448226A4 (zh)
CN (1) CN101626430A (zh)
WO (1) WO2011015093A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626430A (zh) * 2009-08-05 2010-01-13 中兴通讯股份有限公司南京分公司 一种手机消息的处理方法及手机
US9787827B2 (en) * 2010-03-31 2017-10-10 Genband Us Llc Systems and methods for fused services including an integrated management system
CN105187607A (zh) * 2014-06-12 2015-12-23 宇龙计算机通信科技(深圳)有限公司 一种消息处理方法及系统
WO2016106279A1 (en) * 2014-12-22 2016-06-30 Entefy, Inc. System and method of personalized message threading for a multi-format, multi-protocol communication system
CN105094814B (zh) * 2015-06-30 2019-02-22 小米科技有限责任公司 通知消息展示方法和装置
CN106899483A (zh) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 一种即时通讯中会话信息的批量操作方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020099777A1 (en) * 2001-01-25 2002-07-25 Anoop Gupta Integrating collaborative messaging into an electronic mail program
US20050289190A1 (en) * 2004-06-29 2005-12-29 Powell Matthew S Meta-data approach to indexing, retrieval and management of stored messages in a portable communication device
WO2006066450A1 (fr) * 2004-12-21 2006-06-29 Zte Corporation Procede d'adaptation destine a la transmission d'un message multimedia entre des terminaux
CN101351006A (zh) * 2008-09-05 2009-01-21 宇龙计算机通信科技(深圳)有限公司 一种移动终端的通信数据备份方法及系统
CN101626430A (zh) * 2009-08-05 2010-01-13 中兴通讯股份有限公司南京分公司 一种手机消息的处理方法及手机

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7603379B2 (en) * 2001-04-11 2009-10-13 Lg Electronics Inc. Unified management method of various types of messages of a personal information terminal
US20050246324A1 (en) * 2004-04-30 2005-11-03 Nokia Inc. System and associated device, method, and computer program product for performing metadata-based searches
US20060129602A1 (en) * 2004-12-15 2006-06-15 Microsoft Corporation Enable web sites to receive and process e-mail
US20070014307A1 (en) * 2005-07-14 2007-01-18 Yahoo! Inc. Content router forwarding
KR100773296B1 (ko) * 2006-06-12 2007-11-05 삼성전자주식회사 휴대용 단말기에서 메시지 관리 장치 및 방법
JP4285704B2 (ja) * 2006-08-16 2009-06-24 ソニー・エリクソン・モバイルコミュニケーションズ株式会社 情報処理装置、情報処理方法、及び情報処理プログラム
CN101299829B (zh) * 2007-04-30 2012-04-04 华为技术有限公司 一种实现统一存储中管理媒体内容的方法和消息系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020099777A1 (en) * 2001-01-25 2002-07-25 Anoop Gupta Integrating collaborative messaging into an electronic mail program
US20050289190A1 (en) * 2004-06-29 2005-12-29 Powell Matthew S Meta-data approach to indexing, retrieval and management of stored messages in a portable communication device
WO2006066450A1 (fr) * 2004-12-21 2006-06-29 Zte Corporation Procede d'adaptation destine a la transmission d'un message multimedia entre des terminaux
CN101351006A (zh) * 2008-09-05 2009-01-21 宇龙计算机通信科技(深圳)有限公司 一种移动终端的通信数据备份方法及系统
CN101626430A (zh) * 2009-08-05 2010-01-13 中兴通讯股份有限公司南京分公司 一种手机消息的处理方法及手机

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2448226A4 *

Also Published As

Publication number Publication date
US20120122498A1 (en) 2012-05-17
CN101626430A (zh) 2010-01-13
EP2448226A1 (en) 2012-05-02
EP2448226A4 (en) 2017-06-07

Similar Documents

Publication Publication Date Title
US11107042B2 (en) Electronic device and method for selectively applying message actions
US8737580B2 (en) Toggling voicemail class of service
US6772143B2 (en) Method and system for managing messages
CN1208928C (zh) 将信息从主机系统推送到移动数据通信设备的系统和方法
US6954781B2 (en) Messaging system for directing a server to convert voice message into text and appending a converted text message to another converted text message
WO2011015093A1 (zh) 一种手机消息的处理方法及手机
GB2374689A (en) Communications system
US8005194B2 (en) Technique for handling incoming reply messages
CN102123204A (zh) 待处理事件提醒方法和移动终端
WO2008019558A1 (fr) Dispositif, système et procédé de conversion de message
WO2015085507A1 (zh) 数据存储方法、数据处理方法、装置及移动终端
CN102724355A (zh) 垃圾信息处理方法和手机终端
JP2012010345A (ja) メッセージングサービスの受信箱内に寄託されたメッセージを投函するための方法及びシステム
WO2013182133A1 (zh) 基于通讯录的自动分类方法及装置及移动终端
TWI491241B (zh) 於行動式終端機中用以聯結與顯示訊息之電腦程式產品、裝置與方法
WO2014023182A1 (zh) 一种处理消息业务的方法和终端
CN101588542A (zh) 消息处理方法及终端
WO2012152009A1 (zh) 一种用于通讯终端的信息处理方法、装置及终端
WO2013174315A1 (zh) 文本内容的发送方法和装置
CN101729675B (zh) 基于彩信业务的适配方法及适配器装置
JP2005122732A (ja) 電気通信端末用のメッセージ処理デバイス
WO2013104145A1 (zh) 一种基于短信的信息保存方法及移动终端
WO2016131264A1 (zh) 构建联系人信息的方法及装置
CN103607703A (zh) 一种举报手机诈骗短信的方法和装置
EP2892220A1 (en) Voice mail server, terminal and voice message processing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10805997

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2010805997

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13387160

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE