WO2014169638A1 - 一种信息接收方法及终端 - Google Patents

一种信息接收方法及终端 Download PDF

Info

Publication number
WO2014169638A1
WO2014169638A1 PCT/CN2013/087299 CN2013087299W WO2014169638A1 WO 2014169638 A1 WO2014169638 A1 WO 2014169638A1 CN 2013087299 W CN2013087299 W CN 2013087299W WO 2014169638 A1 WO2014169638 A1 WO 2014169638A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
address
terminal
binding
sending
Prior art date
Application number
PCT/CN2013/087299
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 中兴通讯股份有限公司
Publication of WO2014169638A1 publication Critical patent/WO2014169638A1/zh

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an information receiving method and a terminal.
  • SMS and MMS as the basic business functions of mobile phones still play an irreplaceable role in our daily lives, and it is still one of the main ways we communicate with friends and family.
  • the current SMS and MMS of the smart phone display the content in the form of a session, and the display is distinguished by the number, that is, each number corresponds to a session frame, and the destination terminal establishes a session display for each received different number. SMS, MMS content, SMS with different numbers, MMS can not be displayed in the same session box.
  • This kind of session display mode will have some problems in actual use, especially for dual-card dual-standby terminals, there may be problems like this when sending SMS and MMS messages:
  • a dual-card dual-standby terminal A inserts two cards, which are respectively labeled as card 1 and card 2.
  • terminal A sends a short message or a multimedia message to terminal B
  • terminal A prompts the user whether to use card 1 or card 2 to send If the first time user uses card 1 and the second time uses card 2, terminal B generates two session windows for recording the information content of card 1 and card 2, respectively. If in a short message chat interaction, terminal A unintentionally alternates between using card 1 and card 2 to send information to terminal B, terminal B needs to repeatedly view terminal A from the session window corresponding to card 1 and card 2 when receiving the information.
  • the information sent, the user of terminal A may not care which card is used when sending, but it will be very painful for the user of terminal B, because his chat with the user of terminal A will be displayed on the card respectively. 1 is in the conversation window corresponding to card 2, and it is still messy, which is very inconvenient to view.
  • the technical problem to be solved by the present invention is to provide an information receiving method and a terminal, which enable the receiving side terminal to conveniently view information transmitted by the transmitting side terminal through different cards.
  • an information receiving method of the present invention includes:
  • the terminal After receiving the first information, the terminal extracts a sending address of the first information
  • the address is matched, and if the matching is successful, the address included in the matching entry is extracted;
  • the terminal storing the address binding information includes:
  • the terminal receives a plurality of addresses that are input or selected by the user to set a binding relationship, and stores a plurality of addresses that set the binding relationship into an entry of the address binding information.
  • the displaying, by the address of the corresponding information, the first information includes: the terminal determining whether a session frame of the corresponding information is currently present, and if yes, in a session box of the corresponding information Displaying the first information; if not, using the sending address of the first information to establish a session frame, displaying the first information and the address information of the binding relationship with the sending address of the first information .
  • the method further includes:
  • the terminal determines that the corresponding information of the address included in the matching entry exists in the received information before receiving the first information, the terminal further stores the first information by using the address of the corresponding information as a storage address.
  • the method further includes:
  • the terminal determines that the corresponding information of the address included in the matching entry does not exist in the received information before receiving the first information, the terminal creates a session frame by using the sending address of the first information, and displays the first information. And information of an address that is in a binding relationship with the sending address of the first information.
  • a terminal includes: an address extracting unit, a matching unit, a judging unit, and a display unit, wherein:
  • the address extracting unit is configured to: extract a sending address of the received first information; the matching unit is configured to: match the sending address with an address included in an entry in the pre-stored address binding information If the match is successful, the address included in the matching entry is extracted;
  • the determining unit is configured to: determine, according to the address included in the matching entry, whether there is corresponding information of an address included in the matching entry in the received information before receiving the first information; the display unit is configured to: When the determining unit determines that the corresponding information of the address included in the matching entry exists in the received information before receiving the first information, the first information is displayed by using the address of the corresponding information.
  • the terminal further includes a binding unit, where:
  • the binding unit is configured to: receive multiple addresses of the setting binding relationship input or selected by the user, and store multiple addresses of the binding relationship into an entry of the address binding information.
  • the display unit is configured to: display the first information by using an address of the corresponding information, including:
  • Determining whether a session frame of the corresponding information exists currently if yes, displaying the first information in a session box of the corresponding information; if not, establishing a session frame by using the sending address of the first information And displaying information of the first information and an address that is in a binding relationship with a sending address of the first information.
  • the terminal further includes a storage unit, where:
  • the storage unit is configured to: when the determining unit determines that the corresponding information of the address included in the matching entry exists in the received information before receiving the first information, the address of the corresponding information is a storage address storage location The first information is described.
  • the display unit is further configured to: when the determining unit determines that the corresponding information of the address included in the matching entry does not exist in the received information before receiving the first information, using the first information
  • the sending address establishes a session box, and displays information of the first information and an address that is bound to a sending address of the first information.
  • the receiving terminal sets the information sent by the address of the binding relationship to set the address of the binding relationship.
  • One of the addresses is displayed, which can avoid the situation that the sending side terminal uses different cards to send information, which causes the receiving side terminal information to be confusing, which can greatly improve the user experience of the user reading the information.
  • FIG. 1 is a flow chart of storing address binding information of a terminal in an information receiving method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of receiving and displaying information in an information receiving method according to an embodiment of the present invention
  • FIG. 3 is a structural diagram of a terminal according to an embodiment of the present invention.
  • the sender-side terminal can alternately use the different card to send a short message or a multimedia message (hereinafter referred to as information) in the process of interacting with the receiving-side terminal, so that the user of the receiving-side terminal cannot continuously view the transmitting side.
  • information a multimedia message
  • One reason is that if two cards are inserted in the dual card terminal, the two cards can be sent when the user sends the information.
  • the receiving side terminal distinguishes and displays the received information by the number as the address. For these two reasons, if the dual card terminal alternately uses two cards when transmitting information to one receiving side terminal, the receiving side terminal The information received will appear disorganized.
  • This application sets a binding relationship between multiple addresses by adding address binding, and sets one of the address display information of the binding relationship, which can well solve the problem that the receiving terminal displays confusion when the multi-card terminal sends information, which can greatly Improve the user experience.
  • the process of storing address binding information by a terminal in the information receiving method of the present application includes:
  • Step 101 When the terminal selects the binding number setting in the short message setting, the terminal receives multiple addresses (numbers) of the setting binding relationship selected by the user input or the user calling contact;
  • Step 102 The terminal stores multiple addresses of the binding relationship in the same entry of the address binding information.
  • Address binding information can be saved in a configuration file or saved in a database.
  • the terminal receives the multiple numbers that the user wants to set the binding relationship, and performs setting processing.
  • the purpose of the setting is to set the number of the binding relationship as a combination, and the terminal sends the short message sent by the number of the received binding relationship. , set to the same address when displaying and saving.
  • binding relationship you need to add a binding button in the SMS setting interface. You can manually enter the number to be bound (if it has not been saved in the contact before), you can also call the contact module, multiple choices in the contact module. In the list interface, select the number to which the binding relationship needs to be set (applicable to the number of the corresponding contact already saved in the terminal).
  • the address binding information contains multiple entries, each of which holds a set of numbers that set the binding relationship. To ensure that the settings still work after the terminal is restarted, you need to permanently save the number of the binding relationship. You can save the address binding information to the configuration file, or create a new database table in the database. Name the database table. For the number binding table, save the address binding information to this number binding table.
  • each id in the table identifies an entry, datal, data2... is the number that sets the binding relationship .
  • the information receiving method of the present application receives and displays the information, including: Step 201: The terminal receives the information. After receiving the first information, extracting a sending address of the first information (a sending number of the first information);
  • Step 202 The terminal matches the sending address of the first information with the address in the entry in the address binding information. If the sending address of the first information matches the address in an entry in the address binding information, the terminal performs Step 203; If the match fails, step 206 is performed;
  • Step 203 The terminal extracts all the addresses included in the matching entry and saves them to the temporary global variable.
  • Step 204 The terminal determines, according to the address included in the matching entry, whether there is corresponding information of the address included in the matching entry in the received information before receiving the first information, if yes, step 205 is performed; if not, step 206 is performed. ;
  • the terminal determines whether there is corresponding information of the address included in the matching entry, and determines whether the received address has the address of the first information and the address set with the sending address as the address.
  • Step 205 The terminal displays the first information by using an address of the corresponding information.
  • the terminal displays the first information by using the address of the corresponding information, and includes: a session box for determining whether the corresponding information exists. If yes, the first information is displayed in the session box of the corresponding information; if not, the first information is used.
  • the sending address establishes a session box, and displays information of the first information and an address that is bound to the sending address of the first information.
  • Step 206 The terminal establishes a session frame by using the sending address of the first information, and displays information of the first information and an address that is bound to the sending address of the first information.
  • the terminal determines that the corresponding information of the address included in the matching entry exists in the received information before receiving the first information, the terminal stores the first information with the address of the corresponding information as the storage address.
  • terminal A is a dual-card terminal and two cards are inserted.
  • the card 1 number is 1111
  • the card 2 number is 2222
  • terminal B sets the binding relationship between the numbers 1111 and 2222
  • the terminal A sends the information to the terminal B for the first time by the number 1111.
  • the terminal B extracts the sending address from the information, and the entry in the address binding information includes The address is compared.
  • Terminal B saves the number 1111 and displays the information in the new session box.
  • the terminal B determines the binding relationship between the number 2222 and the number 1111 by using the global variable, and then displays the information sent by the number 2222 in the session box with the number 1111 as the address. And save it with the number 1111 as the storage address. In this way, regardless of the information sent by the terminal A by the number 1111 or the number 2222, the terminal B can save and display the information of the number 1111, thereby avoiding the confusion of the information sent by the same person in different session frames.
  • the present application further provides a terminal, including: an address extraction unit, a matching unit, a judging unit, and a display unit, where:
  • An address extracting unit configured to extract a sending address of the received first information
  • a matching unit configured to match the sending address with an address included in an entry in the pre-stored address binding information, and if the matching succeeds, extract an address included in the matching entry;
  • a determining unit configured to determine, according to the address included in the matching entry, whether the corresponding information of the address included in the matching entry exists in the received information before receiving the first information
  • a display unit configured to: when the determining unit determines that the corresponding information of the address included in the matching entry exists in the received information before receiving the first information, displaying the first information by using the address of the corresponding information.
  • the terminal also includes a binding unit, where:
  • the binding unit is configured to receive multiple addresses of the setting binding relationship input or selected by the user, and store multiple addresses of the binding relationship in an entry of the address binding information.
  • the display unit displays the first information by using the address of the corresponding information, and includes: a session box for determining whether the corresponding information exists at present; if yes, displaying the first information in the session box of the corresponding information; if not, the first information is used
  • the sending address of the information establishes a session box, and displays information of the first information and an address that is bound to the sending address of the first information.
  • the terminal also includes a storage unit, wherein:
  • a storage unit configured to: when the determining unit determines that the corresponding information of the address included in the matching entry exists in the received information before receiving the first information, storing the first information by using the address of the corresponding information as the storage address.
  • the display unit is further configured to: when the determining unit determines that the corresponding information of the address included in the matching entry does not exist in the received information before receiving the first information, create a session frame by using the sending address of the first information, and display the first information and The information of the address to which the binding relationship is set with the transmission address of the first information.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may use software functions.
  • the form of the module is implemented. This application is not limited to any specific form of combination of hardware and software.
  • the receiving terminal sets the information sent by the address of the binding relationship to set one of the addresses of the binding relationship. Displaying, it is possible to avoid the situation that the transmitting side terminal uses different cards to send information, which causes the receiving side terminal information to be confusing, and can greatly improve the user experience of the user reading the information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

一种信息接收方法及终端,所述方法包括:终端在接收到第一信息后,提取第一信息的发送地址;终端将发送地址与预先存储的地址绑定信息中的条目中包含的地址进行匹配,如果匹配成功,则提取出匹配条目中包含的地址;终端根据匹配条目中包含的地址判断接收第一信息前的已接收信息中是否存在匹配条目中包含的地址的对应信息,如果存在,则采用对应信息的地址显示第一信息。本发明实施例中接收侧终端将设置绑定关系的地址发送的信息以设置绑定关系的地址中的其中一个地址进行显示,可以避免因发送侧终端使用不同的卡发送信息,造成接收侧终端信息混乱的情况,可以极大提高用户读取信息的用户体验。

Description

一种信息接收方法及终端
技术领域
本发明涉及通信技术领域, 尤其涉及一种信息接收方法及终端。
背景技术
近年来电子产品发展异常迅猛, 手机作为一种方便快捷的通讯工具已经 普及, 成为人们日常生活中相互联系的最主要的工具之一。 特别是智能手机 的飞速发展已经大大改变了我们的日常生活, 智能手机中各种新应用层出不 穷, 我们与亲朋好友取得联系的方式也从最开始的打电话、 发短信发展到现 在的微薄、 飞信等手段。 在各种应用丰富起来的同时, 智能手机本身也在飞 速发展, 从单核到双核到四核再到八核, 从单卡单待到双卡双待, 更新速度 令人惊叹。
虽然当前我们与亲朋好友的联系方式多种多样, 但短信和彩信作为手机 基本业务功能, 在我们的日常生活中依然有着不可替代的作用, 依然是我们 与亲朋好友沟通联系的主要方式之一。
当前智能手机的短信和彩信都是以会话的形式来显示内容, 且显示时是 以号码为键值区分的, 即每一个号码对应一个会话框, 目的终端对接收的不 同号码分别建立一个会话显示短信、 彩信内容, 不同号码的短信、 彩信不能 显示在同一个会话框中。
这种会话显示方式在实际使用时会出现一些问题, 特别是对于双卡双待 的终端, 在发送短信、 彩信时有可能会有类似这样的问题:
如一个双卡双待的终端 A插入了两张卡, 分别标记为卡 1和卡 2, 在使 用终端 A给终端 B发送短信或彩信时, 终端 A会提示用户是使用卡 1 还是 卡 2发送, 如果第一次用户使用了卡 1 , 而第二次使用了卡 2, 那终端 B会 生成两个会话窗口, 分别用于记录卡 1和卡 2的信息内容。 如果在一次短信 聊天交互中, 终端 A无意识的交替使用了卡 1和卡 2给终端 B发送信息, 那 终端 B收到信息时就需要反复从卡 1和卡 2对应的会话窗口中查看终端 A发 送过来的信息, 终端 A的用户可能并没有在意发送时使用的是哪个卡, 但对 于终端 B的用户来说就会显的很痛苦,因为他与终端 A的用户的聊天会分别 显示在卡 1和卡 2对应的会话窗口中, 而且还是杂乱无章的, 查看起来非常 不方便。
发明内容
本发明要解决的技术问题是提供一种信息接收方法及终端, 能够使接收 侧终端方便地查看发送侧终端通过不同卡发送的信息。
为解决上述技术问题, 本发明的一种信息接收方法, 包括:
终端在接收到第一信息后, 提取第一信息的发送地址;
地址进行匹配, 如果匹配成功, 则提取出匹配条目中包含的地址;
所述终端根据所述匹配条目中包含的地址判断接收第一信息前的已接收 信息中是否存在所述匹配条目中包含的地址的对应信息, 如果存在, 则釆用 所述对应信息的地址显示所述第一信息。
优选地, 所述终端存储所述地址绑定信息, 包括:
所述终端接收用户输入或选择的设置绑定关系的多个地址, 将设置绑定 关系的多个地址存储到所述地址绑定信息的一个条目中。
优选地, 所述釆用所述对应信息的地址显示所述第一信息, 包括: 所述终端判断当前是否存在所述对应信息的会话框, 如果存在, 则在所 述对应信息的会话框中显示所述第一信息; 如果不存在, 则釆用所述第一信 息的发送地址建立会话框, 显示所述第一信息以及与所述第一信息的发送地 址设置绑定关系的地址的信息。
优选地, 所述方法还包括:
所述终端如果判断接收第一信息前的已接收信息中存在所述匹配条目中 包含的地址的对应信息, 还以所述对应信息的地址为存储地址存储所述第一 信息。 优选地, 所述方法还包括:
所述终端如果判断接收第一信息前的已接收信息中不存在所述匹配条目 中包含的地址的对应信息, 则釆用所述第一信息的发送地址建立会话框, 显 示所述第一信息以及与所述第一信息的发送地址设置绑定关系的地址的信息。
一种终端, 包括: 地址提取单元、 匹配单元、 判断单元和显示单元, 其 中:
所述地址提取单元, 设置为: 提取接收到的第一信息的发送地址; 所述匹配单元, 设置为: 将所述发送地址与预先存储的地址绑定信息中 的条目中包含的地址进行匹配, 如果匹配成功, 则提取出匹配条目中包含的 地址;
所述判断单元, 设置为: 根据所述匹配条目中包含的地址判断接收第一 信息前的已接收信息中是否存在所述匹配条目中包含的地址的对应信息; 所述显示单元, 设置为: 在所述判断单元判断接收第一信息前的已接收 信息中存在所述匹配条目中包含的地址的对应信息时, 釆用所述对应信息的 地址显示所述第一信息。
优选地, 所述终端还包括绑定单元, 其中:
所述绑定单元, 设置为: 接收用户输入或选择的设置绑定关系的多个地 址, 将设置绑定关系的多个地址存储到所述地址绑定信息的一个条目中。
优选地, 所述显示单元设置为: 釆用所述对应信息的地址显示所述第一 信息, 包括:
判断当前是否存在所述对应信息的会话框, 如果存在, 则在所述对应信 息的会话框中显示所述第一信息; 如果不存在, 则釆用所述第一信息的发送 地址建立会话框, 显示所述第一信息以及与所述第一信息的发送地址设置绑 定关系的地址的信息。
优选地, 所述终端还包括存储单元, 其中:
所述存储单元, 设置为: 在所述判断单元判断接收第一信息前的已接收 信息中存在所述匹配条目中包含的地址的对应信息时, 以所述对应信息的地 址为存储地址存储所述第一信息。 优选地, 所述显示单元, 还设置为: 在所述判断单元判断接收第一信息 前的已接收信息中不存在所述匹配条目中包含的地址的对应信息时, 釆用所 述第一信息的发送地址建立会话框, 显示所述第一信息以及与所述第一信息 的发送地址设置绑定关系的地址的信息。
综上所述,本发明实施例通过在终端上将同一个用户使用的多个地址(号 码)设置绑定关系, 接收侧终端将设置绑定关系的地址发送的信息以设置绑 定关系的地址中的其中一个地址进行显示, 可以避免因发送侧终端使用不同 的卡发送信息, 造成接收侧终端信息混乱的情况, 可以极大提高用户读取信 息的用户体验。
附图概述
图 1为本发明实施方式的信息接收方法中终端存储地址绑定信息的流程 图;
图 2为本发明实施方式的信息接收方法中接收并显示信息的流程图; 图 3为本发明实施方式的终端的架构图。
本发明的较佳实施方式
针对发送侧终端为多卡终端 (如双卡终端) , 在与接收侧终端交互的过 程中交替使用不同卡发送短信或彩信(以下简称信息) , 导致接收侧终端的 用户无法连贯地查看发送侧终端通过不同卡发送的信息的问题, 本申请中考 虑到出现这种问题的原因有两个, 一个原因是双卡终端如果插入两张卡, 用 户在发送信息时两张卡都是可以进行发送; 另一个原因是接收侧终端对接收 的信息以号码为地址进行区分显示, 由于这两个原因, 双卡终端在对一个接 收侧终端发送信息时如果交替使用了两张卡, 那接收侧终端所接收到的信息 就会显得杂乱无章。
本申请通过增加地址绑定将多个地址设置绑定关系, 以设置绑定关系的 其中一个地址显示信息, 可以很好的解决多卡终端发送信息时, 接收侧终端 显示混乱的问题, 可以大大提高用户体验。 下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 申请中的实施例及实施例中的特征可以相互任意组合。
如图 1所示, 本申请的信息接收方法中终端存储地址绑定信息的过程, 包括:
步骤 101 : 终端在用户选择短信设置中的绑定号码设置时, 接收用户输 入或用户调用联系人选择的设置绑定关系的多个地址(号码) ;
步骤 102: 终端将设置绑定关系的多个地址存储到地址绑定信息的同一 个条目中。
地址绑定信息可以保存在配置文件中, 也可以保存在数据库中。
终端接收用户想要设置绑定关系的多个号码, 进行设置处理, 设置的目 的是将设置绑定关系的号码做为一个组合, 终端对接收到的设置绑定关系的 号码所发来的短信, 在显示和保存时设置为同一个地址。
设置绑定关系需要在短信设置界面中增加绑定按钮, 可以手动输入需要 绑定的号码(如果先前在联系人中没有保存过) , 也可以调用联系人模块, 在联系人模块的多项选择列表界面中选择需要设置绑定关系的号码 (适用于 终端中已经保存了对应联系人的号码) 。
地址绑定信息中包含多个条目, 每个条目中保存一组设置绑定关系的号 码。 为保证终端重启后设置项依然能起作用, 需要对设置绑定关系的号码进 行永久保存, 可以将地址绑定信息保存到配置文件中, 或在数据库中新建一 个数据库表, 将这个数据库表命名为号码绑定表, 将地址绑定信息保存到这 个号码绑定表中。
以将地址绑定信息保存到数据库表中为例: 在数据库中新建一个数据库 表, 如表 1所示, 表中每一个 id标识一个条目, datal、 data2...就是设置绑定 关系的号码。
表 1
Figure imgf000007_0001
1 1 1111 2222
2 2 3333 4444
如图 2所示, 在存储了地址绑定信息后, 接收保存信息时的逻辑处理也 需要进行对应的改进, 本申请的信息接收方法中接收并显示信息, 包括: 步骤 201 : 终端接收信息, 在接收到第一信息后, 提取第一信息的发送 地址(第一信息的发送号码) ;
步骤 202: 终端将第一信息的发送地址与地址绑定信息中的条目中的地 址进行匹配, 如果第一信息的发送地址与地址绑定信息中的某一条目中的地 址匹配成功, 则执行步骤 203; 如果匹配失败, 则执行步骤 206;
步骤 203 : 终端提取出匹配条目中包含的全部地址, 保存到临时全局变 量中;
步骤 204: 终端根据匹配条目中包含的地址判断接收第一信息前的已接 收信息中是否存在匹配条目中包含的地址的对应信息, 如果存在, 则执行步 骤 205; 如果不存在, 则执行步骤 206;
终端判断是否存在匹配条目中包含的地址的对应信息是判断已接收信息 中是否已经有以第一信息的发送地址及与发送地址设置绑定关系的地址为地 址的信息。
步骤 205: 终端釆用对应信息的地址显示第一信息;
终端釆用对应信息的地址显示第一信息, 包括: 判断当前是否存在对应 信息的会话框, 如果存在, 则在对应信息的会话框中显示第一信息; 如果不 存在, 则釆用第一信息的发送地址建立会话框, 显示第一信息以及与第一信 息的发送地址设置绑定关系的地址的信息。
步骤 206: 终端以第一信息的发送地址建立会话框, 显示第一信息以及 与第一信息的发送地址设置绑定关系的地址的信息。
本申请中, 终端如果判断接收第一信息前的已接收信息中存在匹配条目 中包含的地址的对应信息, 则以对应信息的地址为存储地址存储第一信息。
比如, 终端 A是双卡终端且插入两张卡, 卡 1号码为 1111 , 卡 2号码为 2222, 终端 B将号码 1111和 2222设置绑定关系, 终端 A以号码 1111第一 次给终端 B发送信息, 终端 B接收到后从信息中提取出发送地址, 与地址绑 定信息中的条目包含的地址进行比较, 匹配到号码 1111后,将地址绑定信息 中匹配条目中记录的号码 1111和号码 2222取出,并保存到全局变量中暂存。 终端 B以号码 1111为地址保存并在新会话框中显示信息。 如果终端 A接着 又以号码 2222给终端 B发送信息,则终端 B通过全局变量判断号码 2222与 号码 1111设置绑定关系,则将号码 2222发来的信息显示在以号码 1111为地 址的会话框中, 并以号码 1111为存储地址进行保存。 这样无论终端 A以号 码 1111还是以号码 2222发送的信息, 终端 B都能保存和显示为号码 1111 的信息, 从而很好的避免同一个人发送的信息分别显示在不同的会话框中的 混乱情况。
如图 3所示, 本申请还提供了一种终端, 包括: 地址提取单元、 匹配单 元、 判断单元和显示单元, 其中:
地址提取单元, 用于提取接收到的第一信息的发送地址;
匹配单元, 用于将发送地址与预先存储的地址绑定信息中的条目中包含 的地址进行匹配, 如果匹配成功, 则提取出匹配条目中包含的地址;
判断单元, 用于根据匹配条目中包含的地址判断接收第一信息前的已接 收信息中是否存在匹配条目中包含的地址的对应信息;
显示单元, 用于在判断单元判断接收第一信息前的已接收信息中存在匹 配条目中包含的地址的对应信息时, 釆用对应信息的地址显示第一信息。
终端还包括绑定单元, 其中:
绑定单元, 用于接收用户输入或选择的设置绑定关系的多个地址, 将设 置绑定关系的多个地址存储到地址绑定信息的一个条目中。
显示单元釆用对应信息的地址显示第一信息, 包括: 判断当前是否存在 对应信息的会话框, 如果存在, 则在对应信息的会话框中显示第一信息; 如 果不存在, 则釆用第一信息的发送地址建立会话框, 显示第一信息以及与第 一信息的发送地址设置绑定关系的地址的信息。 终端还包括存储单元, 其中:
存储单元, 用于在判断单元判断接收第一信息前的已接收信息中存在匹 配条目中包含的地址的对应信息时, 以对应信息的地址为存储地址存储第一 信息。
显示单元, 还用于在判断单元判断接收第一信息前的已接收信息中不存 在匹配条目中包含的地址的对应信息时, 釆用第一信息的发送地址建立会话 框, 显示第一信息以及与第一信息的发送地址设置绑定关系的地址的信息。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现, 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本申请不限制于任 何特定形式的硬件和软件的结合。
以上所述仅为本申请的优选实施例而已, 并不用于限制本申请, 对于本 领域的技术人员来说, 本申请可以有各种更改和变化。 凡在本申请的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本申请的保护 范围之内。
工业实用 4生
本发明实施例通过在终端上将同一个用户使用的多个地址(号码)设置 绑定关系, 接收侧终端将设置绑定关系的地址发送的信息以设置绑定关系的 地址中的其中一个地址进行显示, 可以避免因发送侧终端使用不同的卡发送 信息, 造成接收侧终端信息混乱的情况, 可以极大提高用户读取信息的用户 体验。

Claims

权 利 要 求 书
1、 一种信息接收方法, 包括:
终端在接收到第一信息后, 提取第一信息的发送地址; 地址进行匹配, 如果匹配成功, 则提取出匹配条目中包含的地址;
所述终端根据所述匹配条目中包含的地址判断接收第一信息前的已接收 信息中是否存在所述匹配条目中包含的地址的对应信息, 如果存在, 则釆用 所述对应信息的地址显示所述第一信息。
2、 如权利要求 1所述的方法, 其中,
所述终端存储所述地址绑定信息, 包括:
所述终端接收用户输入或选择的设置绑定关系的多个地址, 将设置绑定 关系的多个地址存储到所述地址绑定信息的一个条目中。
3、 如权利要求 2所述的方法, 其中,
所述釆用所述对应信息的地址显示所述第一信息, 包括:
所述终端判断当前是否存在所述对应信息的会话框, 如果存在, 则在所 述对应信息的会话框中显示所述第一信息; 如果不存在, 则釆用所述第一信 息的发送地址建立会话框, 显示所述第一信息以及与所述第一信息的发送地 址设置绑定关系的地址的信息。
4、 如权利要求 1所述的方法, 其中, 所述方法还包括:
所述终端如果判断接收第一信息前的已接收信息中存在所述匹配条目中 包含的地址的对应信息, 还以所述对应信息的地址为存储地址存储所述第一 信息。
5、 如权利要求 2所述的方法, 其中, 所述方法还包括:
所述终端如果判断接收第一信息前的已接收信息中不存在所述匹配条目 中包含的地址的对应信息, 则釆用所述第一信息的发送地址建立会话框, 显 示所述第一信息以及与所述第一信息的发送地址设置绑定关系的地址的信息。
6、 一种终端, 包括: 地址提取单元、 匹配单元、 判断单元和显示单 元, 其中:
所述地址提取单元, 设置为: 提取接收到的第一信息的发送地址; 所述匹配单元, 设置为: 将所述发送地址与预先存储的地址绑定信息中 的条目中包含的地址进行匹配, 如果匹配成功, 则提取出匹配条目中包含的 地址;
所述判断单元, 设置为: 根据所述匹配条目中包含的地址判断接收第一 信息前的已接收信息中是否存在所述匹配条目中包含的地址的对应信息; 所述显示单元, 设置为: 在所述判断单元判断接收第一信息前的已接收 信息中存在所述匹配条目中包含的地址的对应信息时, 釆用所述对应信息的 地址显示所述第一信息。
7、 如权利要求 6 所述的终端, 其中, 所述终端还包括绑定单元, 其 中:
所述绑定单元, 设置为: 接收用户输入或选择的设置绑定关系的多个地 址, 将设置绑定关系的多个地址存储到所述地址绑定信息的一个条目中。
8、 如权利要求 7所述的终端, 其中,
所述显示单元设置为: 釆用所述对应信息的地址显示所述第一信息, 包 括:
判断当前是否存在所述对应信息的会话框, 如果存在, 则在所述对应信 息的会话框中显示所述第一信息; 如果不存在, 则釆用所述第一信息的发送 地址建立会话框, 显示所述第一信息以及与所述第一信息的发送地址设置绑 定关系的地址的信息。
9、 如权利要求 6 所述的终端, 其中, 所述终端还包括存储单元, 其 中:
所述存储单元, 设置为: 在所述判断单元判断接收第一信息前的已接收 信息中存在所述匹配条目中包含的地址的对应信息时, 以所述对应信息的地 址为存储地址存储所述第一信息。
10、 如权利要求 7所述的终端, 其中, 所述显示单元, 还设置为: 在所述判断单元判断接收第一信息前的已接 收信息中不存在所述匹配条目中包含的地址的对应信息时, 釆用所述第一信 息的发送地址建立会话框, 显示所述第一信息以及与所述第一信息的发送地 址设置绑定关系的地址的信息。
PCT/CN2013/087299 2013-09-04 2013-11-18 一种信息接收方法及终端 WO2014169638A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310398600.3A CN104427477A (zh) 2013-09-04 2013-09-04 一种信息接收方法及终端
CN201310398600.3 2013-09-04

Publications (1)

Publication Number Publication Date
WO2014169638A1 true WO2014169638A1 (zh) 2014-10-23

Family

ID=51730759

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087299 WO2014169638A1 (zh) 2013-09-04 2013-11-18 一种信息接收方法及终端

Country Status (2)

Country Link
CN (1) CN104427477A (zh)
WO (1) WO2014169638A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361638A (zh) * 2000-12-29 2002-07-31 英华达股份有限公司 简讯分类的方法
CN1913546A (zh) * 2006-08-01 2007-02-14 江苏高通科技实业有限公司 一种手机短信分类存储的方法
CN101170766A (zh) * 2007-08-29 2008-04-30 Tcl天一移动通信(深圳)有限公司 一种手机短信自动分类的方法
CN101645971A (zh) * 2009-05-18 2010-02-10 上海闻泰电子科技有限公司 一种手机短信分类规则的创建方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002021334A1 (en) * 2000-09-07 2002-03-14 Telefonaktiebolaget Lm Ericsson (Publ) Information supply system and control method thereof
CN103002101B (zh) * 2012-11-16 2016-01-06 东莞宇龙通信科技有限公司 多号码联系人的信息合并与拆分方法及通信终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361638A (zh) * 2000-12-29 2002-07-31 英华达股份有限公司 简讯分类的方法
CN1913546A (zh) * 2006-08-01 2007-02-14 江苏高通科技实业有限公司 一种手机短信分类存储的方法
CN101170766A (zh) * 2007-08-29 2008-04-30 Tcl天一移动通信(深圳)有限公司 一种手机短信自动分类的方法
CN101645971A (zh) * 2009-05-18 2010-02-10 上海闻泰电子科技有限公司 一种手机短信分类规则的创建方法

Also Published As

Publication number Publication date
CN104427477A (zh) 2015-03-18

Similar Documents

Publication Publication Date Title
US11889014B2 (en) Method and apparatus for processing contact information using a wireless terminal
US9848285B2 (en) Bluetooth communication method and bluetooth communication device
US20150026209A1 (en) Method And Terminal For Associating Information
US9014729B2 (en) System and method for incorporating short message service (SMS) and multimedia messaging service (MMS) contacts into an instant messaging interface
EP3079082A1 (en) Method and apparatus for album display
US20190014076A1 (en) Method for Sending Message, Method for Reading and Notifying Message, Method for Receiving Message, and Apparatus
CN103067558B (zh) 与通讯录中联系人的图片相关联的方法和装置
US20080268882A1 (en) Short message service enhancement techniques for added communication options
CN102104650B (zh) 联系人头像设置方法、装置以及移动通信终端
JP2017531975A (ja) 写真共有方法、装置、プログラム及び記録媒体
CN103167120A (zh) 手机通话过程中快速查找联系人的系统及方法
US20130310014A1 (en) Method and Mobile Terminal for Storing Memo During Call
WO2014117656A1 (zh) 一种移动终端及通信联系人信息的提取方法
WO2012097702A2 (zh) 一种对消息中的数据进行处理的方法及移动终端
CN104796546A (zh) 一种基于移动终端的蓝牙通讯处理方法及系统
US20150382181A1 (en) Method and apparatus for sending business card between mobile terminals and storage medium
CN103442122A (zh) 一种短信息排序方法及通信终端
CN105491214A (zh) 一种终端及其实现通话界面显示的方法
CN103186908A (zh) 终端、服务器和基于漫画的交互式处理方法
WO2013167062A2 (zh) 一种通讯录管理方法及移动终端
WO2019137113A1 (zh) 一种名片交互方法、装置和智能终端
US11093202B2 (en) Method and apparatus for dual display and dual SIM operations
CN103685676A (zh) 蓝牙子机、分体式移动终端及蓝牙子机的信息处理方法
WO2016058385A1 (zh) 信息存储方法、装置及终端
CN105204718B (zh) 一种信息处理方法及电子设备

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: 13882145

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13882145

Country of ref document: EP

Kind code of ref document: A1