WO2017114208A1 - 一种短消息的合并显示方法及装置 - Google Patents

一种短消息的合并显示方法及装置 Download PDF

Info

Publication number
WO2017114208A1
WO2017114208A1 PCT/CN2016/110711 CN2016110711W WO2017114208A1 WO 2017114208 A1 WO2017114208 A1 WO 2017114208A1 CN 2016110711 W CN2016110711 W CN 2016110711W WO 2017114208 A1 WO2017114208 A1 WO 2017114208A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
list
signature information
short message
main
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/110711
Other languages
English (en)
French (fr)
Inventor
徐鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2017114208A1 publication Critical patent/WO2017114208A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

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
    • H04M1/72436User 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 for text messaging, e.g. short messaging services [SMS] or e-mails
    • 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/725Cordless telephones
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • H04M1/72472User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use

Definitions

  • the present application relates to the field of computer technology, and in particular, to a combined display method and apparatus for short messages.
  • Short messages also known as short messages, are text messages that users send or receive via mobile terminals such as mobile phones.
  • the Android system and the IOS system will merge and display according to the sending number of the short message, that is, the short message of the same sending number is merged in In a sublist.
  • the technical problem to be solved by the present application is to provide a combined display method and device for short messages, so as to enable combined display of short messages of the same sender, thereby saving system resources and improving user experience.
  • the application provides a combined display method of short messages, including:
  • the sub-list corresponding to the signature information is determined from the main list, and the short message is added to the sub-list corresponding to the signature information; if the message is determined The signature information is not included in the content, and the determining is performed from the main list Adding, by the sub-list corresponding to the sending number of the short message, the short message to the sub-list corresponding to the sending number;
  • the main list includes the abbreviated information of the sub-list corresponding to the signature information, if the short message is added to the In the sub-list corresponding to the transmission number, the main list includes the abbreviated information of the sub-list corresponding to the transmission number.
  • the method before determining the sub-list corresponding to the signature information from the main list, the method further includes:
  • the method further includes:
  • the main list includes multiple sub-lists
  • the method further includes:
  • the sub-lists are sorted in descending order of time.
  • it also includes:
  • the predetermined format includes a full-width bracket.
  • the application also provides a combined display device for short messages, including:
  • An obtaining unit configured to obtain a short message to be displayed
  • a determining unit configured to read a message content of the short message, and determine whether the message content in the predetermined format includes signature information in a predetermined format
  • a joining unit configured to: if the determining unit determines that the message content includes the signature information, determine a sub-list corresponding to the signature information from a main list, and add the short message to a sub-corresponding sub-list In the list; if the determining unit determines that the content of the message is not included The sub-list corresponding to the sending number of the short message is determined from the main list, and the short message is added to the sub-list corresponding to the sending number;
  • a display unit configured to display the main list, if the joining unit adds the short message to a sub-list corresponding to the signature information, where the main list includes the abbreviated information of the sub-list corresponding to the signature information. If the joining unit adds the short message to the sub-list corresponding to the sending number, the main list includes the abbreviated information of the sub-list corresponding to the sending number.
  • it also includes:
  • a creating unit configured to determine, before determining the sub-list corresponding to the signature information, from the main list, whether the sub-list corresponding to the signature information is included in the main list, and if not, creating a sub-list in the main list Determining a sub-list corresponding to the signature information, and determining, by the joining unit, a sub-list corresponding to the sending number of the short message from the main list, determining whether the sub-list corresponding to the sending number is included in the main list, If not, a sublist corresponding to the sending number is created in the main list.
  • the main list includes multiple sub-lists
  • the device further includes:
  • a sorting unit configured to sort each sub-list in descending order of time in the main list.
  • it also includes:
  • a detecting unit configured to detect that the user selects a sub-list corresponding to the signature information
  • the display unit is further configured to: the detecting unit detects that the user selects a sub-list corresponding to the signature information, and displays each short message included in the sub-list corresponding to the signature information, where the short messages are The signature information is included in the message content.
  • the predetermined format includes a full-width bracket.
  • the message content of the short message is read, and whether the message content in the predetermined format is included in the message content, and if included, the short message is combined and displayed according to the signature information, that is, the The short message is added to the sub-list corresponding to the signature information; if not, the short message is still displayed according to the sending number, that is, the short message is added to the sub-list corresponding to the sending number.
  • the main list is then displayed, and the main list includes the abbreviated information of the sublist to which the short message is added.
  • the combination information is first displayed according to the signature information of the short message, and only the short message does not include the signature information. When the information is available, the combined display is performed according to the sending number, and the same sender's short message often includes the same signature information, so that the same sender's short message can be combined and displayed, thereby saving system resources and improving user experience.
  • FIG. 1 is a schematic flow chart of an embodiment of a method provided by the present application.
  • FIG. 2 is a schematic diagram of a main list provided by the present application.
  • FIG. 3 is a schematic diagram of a sub-list provided by the present application.
  • FIG. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
  • the merged display is usually performed according to the sending number of the short message, that is, the short messages of the same sending number are combined in one sub-list.
  • the embodiment of the present application provides a combined display method and device for short messages, so as to realize combined display of short messages of the same sender according to the signature information, thereby saving system resources and improving user experience.
  • the present application provides an embodiment of a method for a combined display method of short messages.
  • the short message to be displayed may be any short message stored in the mobile terminal. For example, after the mobile terminal such as a mobile phone is powered on, all the short messages stored are obtained, and all the short messages are arranged in descending order according to the chronological order. The short message with the most recent time is respectively used as the short message to be displayed; or it may be a newly received short message.
  • whether the signature information is included may be determined by determining whether the content of the message includes a predetermined format.
  • the predetermined format may be set according to an operator's specification.
  • the predetermined format may include a full-width bracket ["]".
  • the full-width brackets When it is determined that the full-width brackets are included in the content of the message, it indicates that the content included in the brackets is signature information.
  • brackets can be set in other aspects.
  • the brackets need to include 3-8 characters, mainly Chinese characters, can be combined in Chinese and English, and are not allowed to include special symbols, at the beginning of the message content. Location and more.
  • the message content includes the signature information, determine a sub-list corresponding to the signature information from a main list, and add the short message to a sub-list corresponding to the signature information;
  • the message content is not included in the message content, and the sub-list corresponding to the sending number of the short message is determined from the main list, and the short message is added to the sub-list corresponding to the sending number.
  • the combined display is performed according to the signature information. For example, as shown in FIG. 2, the main list displayed on the display screen includes a plurality of sub-lists. If it is determined that the message content of the short message includes signature information [company ABC signature], the short message is added to the [company ABC signature). ⁇ Corresponding sublist. After detecting that the user selects the sub-list, each short message included in the sub-list may be displayed as shown in FIG. 3, wherein the message content of each short message includes the signature information.
  • the combined display is still performed according to the transmission number.
  • the main list displayed on the display screen is as shown in FIG. 2, and includes a plurality of sub-lists. If it is determined that the transmission number of the short message is "12345", the short message is added to the sub-list corresponding to the transmission number 12345. After detecting that the sub-list is selected by the user, each short message included in the sub-list may be displayed, where the sending number of each short message is 12345.
  • the main list includes the abbreviated information of the sub-list corresponding to the signature information.
  • the message is added to the sub-list corresponding to the sending number, and the main list includes the abbreviated information of the sub-list corresponding to the sending number.
  • the thumbnail information generally includes the name of the sub-list, for example, including the signature information or the sending number, and may also include the receiving time and the message content of the shortest message in the sub-list.
  • the message content of the short message is read, and whether the message content in the predetermined format is included in the message content, and if included, the short message is combined and displayed according to the signature information, that is, the The short message is added to the sub-list corresponding to the signature information; if not, the short message is still displayed according to the sending number, that is, the short message is added to the sub-list corresponding to the sending number.
  • the main list is then displayed, and the main list includes the abbreviated information of the sublist to which the short message is added.
  • the combination information is first displayed according to the signature information of the short message, and only when the short message does not include the signature information, the combined display is performed according to the sending number, and the short message of the same sender often includes the same Signature information, so that the same sender's text messages can be combined and displayed, saving system resources and improving user experience.
  • the corresponding sub-list may be created before the short message is added to the sub-list.
  • the method may further include: determining whether the sub-list corresponding to the signature information is included in the main list, and if not, in the main The sub-list corresponding to the signature information in the list is created in the list; the sub-list corresponding to the transmission number of the short message is determined from the main list, and the method may further include: determining whether the main list includes the The sub-list corresponding to the transmission number is described, and if not, the sub-list corresponding to the transmission number is created in the main list.
  • the method may further include: sorting, in the main list, each sub-list in descending order of time, that is, sorting the sub-lists with the most recent time. In front of the main list, it is convenient for users to find.
  • the following application provides a specific embodiment for combining and displaying all short messages in a mobile terminal such as a mobile phone.
  • the present application provides another method embodiment of a combined display method of short messages.
  • 402 Read a short message that is not recently added to the sub-list, and determine whether the short message includes signature information in a predetermined format, that is, whether to include “[”, and “] after 3-8 characters. The content of the end. If the short message includes signature information, execute 403, and if the short message does not include the signature information, perform 404.
  • execution 402 can be returned until all short messages are added to the corresponding sub-list.
  • the present application further provides an apparatus embodiment of a combined display device for short messages, which is specifically described below.
  • the present application provides an apparatus embodiment of a combined display device for short messages.
  • the apparatus of this embodiment includes: an obtaining unit 501, a determining unit 502, a joining unit 503, and a display unit 504.
  • the obtaining unit 501 is configured to obtain a short message to be displayed.
  • the short message to be displayed may be any short message stored in the mobile terminal. For example, after the mobile terminal such as a mobile phone is powered on, all the short messages stored are obtained, and all the short messages are arranged in descending order according to the chronological order. The short message with the most recent time is respectively used as the short message to be displayed; or it may be a newly received short message.
  • the determining unit 502 is configured to read the message content of the short message, and determine whether the message content in the predetermined format includes the signature information in a predetermined format.
  • whether the signature information is included may be determined by determining whether the content of the message includes a predetermined format.
  • the predetermined format may be set according to an operator's specification.
  • the predetermined format may include a full-width bracket ["]".
  • the full-width brackets When it is determined that the full-width brackets are included in the content of the message, it indicates that the content included in the brackets is signature information.
  • brackets can be set in other aspects.
  • the brackets need to include 3-8 characters, mainly Chinese characters, can be combined in Chinese and English, and are not allowed to include special symbols, at the beginning of the message content. Location and more.
  • the adding unit 503 is configured to: if the determining unit 502 determines that the message content includes the signature information, determine a sub-list corresponding to the signature information from the main list, and add the short message to the sub-corresponding sub-list If the determining unit 502 determines that the signature information is not included in the content of the message, determining a sub-list corresponding to the sending number of the short message from the main list, and adding the short message to the sending number. Corresponding to the sublist.
  • the combined display is performed according to the signature information.
  • the main list displayed on the display screen includes a plurality of sub-lists. If it is determined that the message content of the short message includes signature information [company ABC signature], the short message is added to the [company ABC signature).
  • the device may further include a detecting unit, configured to detect that the user selects the sub-list corresponding to the signature information, and the display unit 504 is further configured to: the detecting unit detects that the user selects the sub-list corresponding to the signature information, and may be, for example, As shown in FIG. 3, each short message included in the sub-list corresponding to the signature information is displayed, wherein the message content of each short message includes the signature information.
  • the combined display is still performed according to the transmission number.
  • the main list displayed on the display screen is as shown in FIG. 2, and includes a plurality of sub-lists. If it is determined that the transmission number of the short message is "12345", the short message is added to the sub-list corresponding to the transmission number 12345. After detecting that the sub-list is selected by the user, each short message included in the sub-list may be displayed, where the sending number of each short message is 12345.
  • the display unit 504 is configured to display the main list.
  • the adding unit 503 adds the short message to the sub-list corresponding to the signature information
  • the main list includes the abbreviated information of the sub-list corresponding to the signature information
  • the adding unit 503 The short message is added to the sub-list corresponding to the sending number
  • the main list includes the abbreviated information of the sub-list corresponding to the sending number.
  • the thumbnail information generally includes the name of the sub-list, for example, including the signature information or the sending number, and may also include the receiving time and the message content of the shortest message in the sub-list.
  • the message content of the short message is read, and whether the message content in the predetermined format is included in the message content, and if included, the short message is combined and displayed according to the signature information, that is, the The short message is added to the sub-list corresponding to the signature information; if not, the short message is still displayed according to the sending number, that is, the short message is added to the sub-list corresponding to the sending number.
  • the main list is displayed, and The main list includes the abbreviated information of the sublist to which the short message is added.
  • the combined information is first displayed according to the signature information of the short message, and only when the short message does not include the signature information, the combined display is performed according to the sending number, and the short message of the same sender often includes the same signature information, thereby The ability to combine the same sender's text messages to save system resources and improve the user experience.
  • the device before the short message is added to the sub-list, if it is determined that the corresponding sub-list is not included in the main list, the corresponding sub-list may be created.
  • the device further includes: a creating unit, configured to determine, by the joining unit 503, a sub-list corresponding to the signature information in the main list, before determining the sub-list corresponding to the signature information in the main list, if No, the sub-list corresponding to the signature information is created in the main list, and the adding unit 503 determines, before determining the sub-list corresponding to the sending number of the short message from the main list, whether the main list includes the Send a sublist corresponding to the number, and if not, create a sublist corresponding to the sending number in the main list.
  • the main list may include multiple sub-lists
  • the apparatus may further include: a sorting unit, in the main list, sorting each sub-list in descending order of time, that is, time The most recent sublist is placed in front of the main list for easy user search.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place. Square, or it can be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请提供了一种短消息的合并显示方法及装置,所述方法包括:获取待显示的短消息;读取所述短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息;若确定出所述消息内容中包括所述签名信息,从主列表中确定所述签名信息对应的子列表,将所述短消息加入所述签名信息对应的子列表中;若确定出所述消息内容中不包括所述签名信息,从所述主列表中确定所述短消息的发送号码对应的子列表,将所述短消息加入所述发送号码对应的子列表中;显示所述主列表。可见,本申请实施例中首先按照短消息的签名信息进行合并显示,而同一发信人的短信往往包括相同的签名信息,从而能够将同一发信人的短信合并显示,节省系统资源并且提高用户体验。

Description

一种短消息的合并显示方法及装置 技术领域
本申请涉及计算机技术领域,尤其是涉及一种短消息的合并显示方法及装置。
背景技术
短消息也称为短信,是用户通过手机等移动终端发送或者接收的文字信息。
目前在显示短消息时,为了避免将每条短消息都在主页面中逐条显示,安卓系统和IOS系统会按照短消息的发送号码合并显示,也就是说,将同一发送号码的短消息合并在一个子列表中。
然而,当同一发信人采用不同的发送号码给用户发送短消息,依然会在主页面中逐条显示,使得用户在需要多次操作才能定位到需要的短信,浪费系统资源,并且造成用户体验较差。
发明内容
本申请解决的技术问题在于提供一种短消息的合并显示方法及装置,以实现将相同发信人的短信能够合并显示,从而节省系统资源并且提高用户体验。
为此,本申请解决技术问题的技术方案是:
本申请提供了一种短消息的合并显示方法,包括:
获取待显示的短消息;
读取所述短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息;
若确定出所述消息内容中包括所述签名信息,从主列表中确定所述签名信息对应的子列表,将所述短消息加入所述签名信息对应的子列表中;若确定出所述消息内容中不包括所述签名信息,从所述主列表中确定所述 短消息的发送号码对应的子列表,将所述短消息加入所述发送号码对应的子列表中;
显示所述主列表,若将所述短消息加入所述签名信息对应的子列表中,所述主列表中包括所述签名信息对应的子列表的缩略信息,若将所述短消息加入所述发送号码对应的子列表中,所述主列表中包括所述发送号码对应的子列表的缩略信息。
可选的,从主列表中确定所述签名信息对应的子列表之前,还包括:
确定所述主列表中是否包括所述签名信息对应的子列表,如果否,在主列表中创建所述签名信息对应的子列表;
从所述主列表中确定所述短消息的发送号码对应的子列表之前,还包括:
确定所述主列表中是否包括所述发送号码对应的子列表,如果否,在主列表中创建所述发送号码对应的子列表。
可选的,所述主列表中包括多个子列表,所述方法还包括:
在所述主列表中,按照时间顺序降序排序各个子列表。
可选的,还包括:
检测到用户选中所述签名信息对应的子列表;
显示所述签名信息对应的子列表中包括的各条短消息,其中,所述各条短消息的消息内容中均包括所述签名信息。
可选的,所述预定格式包括全角的中括号。
本申请还提供了一种短消息的合并显示装置,包括:
获取单元,用于获取待显示的短消息;
确定单元,用于读取所述短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息;
加入单元,用于若所述确定单元确定出所述消息内容中包括所述签名信息,从主列表中确定所述签名信息对应的子列表,将所述短消息加入所述签名信息对应的子列表中;若所述确定单元确定出所述消息内容中不包 括所述签名信息,从所述主列表中确定所述短消息的发送号码对应的子列表,将所述短消息加入所述发送号码对应的子列表中;
显示单元,用于显示所述主列表,若所述加入单元将所述短消息加入所述签名信息对应的子列表中,所述主列表中包括所述签名信息对应的子列表的缩略信息,若所述加入单元将所述短消息加入所述发送号码对应的子列表中,所述主列表中包括所述发送号码对应的子列表的缩略信息。
可选的,还包括:
创建单元,用于所述加入单元从主列表中确定所述签名信息对应的子列表之前,确定所述主列表中是否包括所述签名信息对应的子列表,如果否,在主列表中创建所述签名信息对应的子列表,以及所述加入单元从所述主列表中确定所述短消息的发送号码对应的子列表之前,确定所述主列表中是否包括所述发送号码对应的子列表,如果否,在主列表中创建所述发送号码对应的子列表。
可选的,所述主列表中包括多个子列表,所述装置还包括:
排序单元,用于在所述主列表中,按照时间顺序降序排序各个子列表。
可选的,还包括:
检测单元,用于检测到用户选中所述签名信息对应的子列表;
所述显示单元还用于,所述检测单元检测到用户选中所述签名信息对应的子列表,显示所述签名信息对应的子列表中包括的各条短消息,其中,所述各条短消息的消息内容中均包括所述签名信息。
可选的,所述预定格式包括全角的中括号。
通过上述技术方案可知,本申请实施例中,读取短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息,如果包括,则按照签名信息合并显示短消息,也就是将所述短消息加入所述签名信息对应的子列表中;如果不包括,则仍然按照发送号码合并显示短消息,也就是将所述短消息加入所述发送号码对应的子列表中。之后显示主列表,并且主列表中包括所述短消息加入的子列表的缩略信息。可见,本申请实施例中首先按照短消息的签名信息进行合并显示,只有在短消息不包括签名信 息时,才按照发送号码进行合并显示,而同一发信人的短信往往包括相同的签名信息,从而能够将同一发信人的短信合并显示,节省系统资源并且提高用户体验。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其它的附图。
图1为本申请提供的一种方法实施例的流程示意图;
图2为本申请提供的主列表的一种示意图;
图3为本申请提供的子列表的一种示意图;
图4为本申请提供的另一种方法实施例的流程示意图;
图5为本申请提供的一种装置实施例的结构示意图。
具体实施方式
目前在显示短消息时,通常会按照短消息的发送号码来进行合并显示,也就是说,将同一发送号码的短消息合并在一个子列表中。
然而,当同一发信人采用不同的发送号码给用户发送短消息,依然会在主页面中逐条显示。发明人经过研究发现,运营商对目前很多厂商的短消息都有签名要求,因此同一发信人发送的短消息,虽然发送号码可能不同,但是消息内容中通常包括相同的签名信息。但是目前按照发送号码的合并显示方式,并不考虑短消息的签名信息,使得用户在需要多次操作才能定位到需要的短信,浪费系统资源,并且造成用户体验较差。
因此,本申请实施例提供一种短消息的合并显示方法及装置,以实现根据签名信息将相同发信人的短信合并显示,从而节省系统资源并且提高用户体验。
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
请参阅图1,本申请提供了短消息的合并显示方法的一种方法实施例。
本实施例的所述方法包括:
101:获取待显示的短消息。
其中,所述待显示的短消息可以为移动终端中存储的任一条短消息,例如手机等移动终端开机后,获取存储的所有短消息,并对所有短消息按照时间顺序进行降序排列,依次取时间最近的一个短消息分别作为所述待显示的短消息;也可以为新接收到的一条短消息。
102:读取所述短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息。
在本申请实施例中,可以通过确定所述消息内容中是否包括预定格式的内容,确定是否包括所述签名信息。
本实施例中,所述预定格式可以根据运营商的规定进行设置,例如,所述预定格式可以包括全角的中括号“【】”。当确定出所述消息内容中包括该全角的中括号,则表示该中括号所包括的内容为签名信息。
其中,还可以对该中括号进行其他方面的要求设置,例如该中括号需要包括3-8个字符,以汉字为主,可以中英文结合,不允许包括特殊的符号,位于消息内容的最开始位置等等。
103:若确定出所述消息内容中包括所述签名信息,从主列表中确定所述签名信息对应的子列表,将所述短消息加入所述签名信息对应的子列表中;若确定出所述消息内容中不包括所述签名信息,从所述主列表中确定所述短消息的发送号码对应的子列表,将所述短消息加入所述发送号码对应的子列表中。
在本申请实施例中,若确定出所述短消息的消息内容包括签名信息,则根据签名信息进行合并显示。例如在显示屏幕上显示的主列表如图2所示,包括多个子列表,若确定出所述短消息的消息内容中包括签名信息【公司ABC签名】,将该短消息加入到【公司ABC签名】对应的子列表中。当检测到用户选中该子列表后,可以如图3所示,显示该子列表中包括的各条短消息,其中,所述各条短消息的消息内容中均包括所述签名信息。
若确定出所述消息内容中不包括所述签名信息,则仍然按照发送号码进行合并显示。例如,在显示屏幕上显示的主列表如图2所示,包括多个子列表,若确定出短消息的发送号码为“12345”,将该短消息加入到发送号码12345对应的子列表中。当检测到用户选中该子列表后,可以显示该子列表中包括的各条短消息,其中,各条短消息的发送号码均为12345。
104:显示所述主列表。
在主列表中,不会显示各个子列表的全部信息,而是只显示各个子列表的缩略信息,从而能够在主列表中显示更多的短消息。
本实施例中,若103中将所述短消息加入所述签名信息对应的子列表中,所述主列表中包括所述签名信息对应的子列表的缩略信息,若103中将所述短消息加入所述发送号码对应的子列表中,所述主列表中包括所述发送号码对应的子列表的缩略信息。
其中,如图2所示,缩略信息一般包括子列表的名称,例如包括签名信息或者发送号码,还可以包括子列表中时间最近的一条短消息的接收时间和消息内容。
通过上述技术方案可知,本申请实施例中,读取短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息,如果包括,则按照签名信息合并显示短消息,也就是将所述短消息加入所述签名信息对应的子列表中;如果不包括,则仍然按照发送号码合并显示短消息,也就是将所述短消息加入所述发送号码对应的子列表中。之后显示主列表,并且主列表中包括所述短消息加入的子列表的缩略信息。可见,本申请实施例中首先按照短消息的签名信息进行合并显示,只有在短消息不包括签名信息时,才按照发送号码进行合并显示,而同一发信人的短信往往包括相同 的签名信息,从而能够将同一发信人的短信合并显示,节省系统资源并且提高用户体验。
在本申请实施例中,在将短消息加入子列表之前,若确定出主列表中不包括对应的子列表,则可以创建对应的子列表。具体地,103中的从主列表中确定所述签名信息对应的子列表之前,所述方法还可以包括:确定所述主列表中是否包括所述签名信息对应的子列表,如果否,在主列表中创建所述签名信息对应的子列表;103中的从所述主列表中确定所述短消息的发送号码对应的子列表,所述方法还可以包括:确定所述主列表中是否包括所述发送号码对应的子列表,如果否,在主列表中创建所述发送号码对应的子列表。
在本申请实施例中,当所述主列表中包括多个子列表,所述方法还可以包括:在所述主列表中,按照时间顺序降序排序各个子列表,也就是将时间最近的子列表排在主列表的前边,方便用户的查找。
下面本申请提供一种具体的实施例,对手机等移动终端中的所有短消息进行合并显示。
请参阅图4,本申请提供了短消息的合并显示方法的另一种方法实施例。
本实施例的所述方法包括:
401:获取移动终端中所有短消息,按照时间降序排列。
402:读取未加入子列表的时间最近的一条短消息,判断该条短消息是否包括预定格式的签名信息,即是否包括以“【”为开头,在3-8个字符之后以“】”结束的内容。如果该条短消息包括签名信息,执行403,如果该条短消息不包括签名信息,执行404。
403:确定主列表中是否包括所述签名信息对应的子列表,如果包括,直接将该条短消息加入子列表中,如果不包括,在主列表中创建所述签名信息对应的子列表中,并将该条短消息加入创建的子列表中。
404:确定主列表中是否包括该条消息的发送号码对应的子列表,如果包括,直接将该条短消息加入子列表中,如果不包括,在主列表中创建 所述发送号码对应的子列表中,并将该条短消息加入创建的子列表中。
在执行403或者404之后,可以返回执行402,直至将所有短消息都加入到相应的子列表中。
对应上述方法实施例,本申请还提供了短消息的合并显示装置的装置实施例,下面具体说明。
请参阅图5,本申请提供了短消息的合并显示装置的一种装置实施例。
本实施例的所述装置包括:获取单元501、确定单元502、加入单元503和显示单元504。
获取单元501,用于获取待显示的短消息。
其中,所述待显示的短消息可以为移动终端中存储的任一条短消息,例如手机等移动终端开机后,获取存储的所有短消息,并对所有短消息按照时间顺序进行降序排列,依次取时间最近的一个短消息分别作为所述待显示的短消息;也可以为新接收到的一条短消息。
确定单元502,用于读取所述短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息。
在本申请实施例中,可以通过确定所述消息内容中是否包括预定格式的内容,确定是否包括所述签名信息。
本实施例中,所述预定格式可以根据运营商的规定进行设置,例如,所述预定格式可以包括全角的中括号“【】”。当确定出所述消息内容中包括该全角的中括号,则表示该中括号所包括的内容为签名信息。
其中,还可以对该中括号进行其他方面的要求设置,例如该中括号需要包括3-8个字符,以汉字为主,可以中英文结合,不允许包括特殊的符号,位于消息内容的最开始位置等等。
加入单元503,用于若确定单元502确定出所述消息内容中包括所述签名信息,从主列表中确定所述签名信息对应的子列表,将所述短消息加入所述签名信息对应的子列表中;若确定单元502确定出所述消息内容中不包括所述签名信息,从所述主列表中确定所述短消息的发送号码对应的子列表,将所述短消息加入所述发送号码对应的子列表中。
在本申请实施例中,若确定出所述短消息的消息内容包括签名信息,则根据签名信息进行合并显示。例如在显示屏幕上显示的主列表如图2所示,包括多个子列表,若确定出所述短消息的消息内容中包括签名信息【公司ABC签名】,将该短消息加入到【公司ABC签名】对应的子列表中。所述装置还可以包括检测单元,用于检测到用户选中所述签名信息对应的子列表;显示单元504还用于,所述检测单元检测到用户选中所述签名信息对应的子列表,可以如图3所示,显示所述签名信息对应的子列表中包括的各条短消息,其中,所述各条短消息的消息内容中均包括所述签名信息。
若确定出所述消息内容中不包括所述签名信息,则仍然按照发送号码进行合并显示。例如,在显示屏幕上显示的主列表如图2所示,包括多个子列表,若确定出短消息的发送号码为“12345”,将该短消息加入到发送号码12345对应的子列表中。当检测到用户选中该子列表后,可以显示该子列表中包括的各条短消息,其中,各条短消息的发送号码均为12345。
显示单元504,用于显示所述主列表。
在主列表中,不会显示各个子列表的全部信息,而是只显示各个子列表的缩略信息,从而能够在主列表中显示更多的短消息。
本实施例中,若加入单元503将所述短消息加入所述签名信息对应的子列表中,所述主列表中包括所述签名信息对应的子列表的缩略信息,若加入单元503将所述短消息加入所述发送号码对应的子列表中,所述主列表中包括所述发送号码对应的子列表的缩略信息。
其中,如图2所示,缩略信息一般包括子列表的名称,例如包括签名信息或者发送号码,还可以包括子列表中时间最近的一条短消息的接收时间和消息内容。
通过上述技术方案可知,本申请实施例中,读取短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息,如果包括,则按照签名信息合并显示短消息,也就是将所述短消息加入所述签名信息对应的子列表中;如果不包括,则仍然按照发送号码合并显示短消息,也就是将所述短消息加入所述发送号码对应的子列表中。之后显示主列表,并且 主列表中包括所述短消息加入的子列表的缩略信息。可见,本申请实施例中首先按照短消息的签名信息进行合并显示,只有在短消息不包括签名信息时,才按照发送号码进行合并显示,而同一发信人的短信往往包括相同的签名信息,从而能够将同一发信人的短信合并显示,节省系统资源并且提高用户体验。
在本申请实施例中,在将短消息加入子列表之前,若确定出主列表中不包括对应的子列表,则可以创建对应的子列表。具体地,所述装置还包括:创建单元,用于加入单元503从主列表中确定所述签名信息对应的子列表之前,确定所述主列表中是否包括所述签名信息对应的子列表,如果否,在主列表中创建所述签名信息对应的子列表,以及加入单元503从所述主列表中确定所述短消息的发送号码对应的子列表之前,确定所述主列表中是否包括所述发送号码对应的子列表,如果否,在主列表中创建所述发送号码对应的子列表。
在本申请实施例中,所述主列表中可以包括多个子列表,所述装置还可以包括:排序单元,用于在所述主列表中,按照时间顺序降序排序各个子列表,也就是将时间最近的子列表排在主列表的前边,方便用户的查找。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地 方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (10)

  1. 一种短消息的合并显示方法,其特征在于,包括:
    获取待显示的短消息;
    读取所述短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息;
    若确定出所述消息内容中包括所述签名信息,从主列表中确定所述签名信息对应的子列表,将所述短消息加入所述签名信息对应的子列表中;若确定出所述消息内容中不包括所述签名信息,从所述主列表中确定所述短消息的发送号码对应的子列表,将所述短消息加入所述发送号码对应的子列表中;
    显示所述主列表,若将所述短消息加入所述签名信息对应的子列表中,所述主列表中包括所述签名信息对应的子列表的缩略信息,若将所述短消息加入所述发送号码对应的子列表中,所述主列表中包括所述发送号码对应的子列表的缩略信息。
  2. 根据权利要求1所述的方法,其特征在于,从主列表中确定所述签名信息对应的子列表之前,还包括:
    确定所述主列表中是否包括所述签名信息对应的子列表,如果否,在主列表中创建所述签名信息对应的子列表;
    从所述主列表中确定所述短消息的发送号码对应的子列表之前,还包括:
    确定所述主列表中是否包括所述发送号码对应的子列表,如果否,在主列表中创建所述发送号码对应的子列表。
  3. 根据权利要求1所述的方法,其特征在于,所述主列表中包括多个子列表,所述方法还包括:
    在所述主列表中,按照时间顺序降序排序各个子列表。
  4. 根据权利要求1所述的方法,其特征在于,还包括:
    检测到用户选中所述签名信息对应的子列表;
    显示所述签名信息对应的子列表中包括的各条短消息,其中,所述各条短消息的消息内容中均包括所述签名信息。
  5. 根据权利要求1所述的方法,其特征在于,所述预定格式包括全角的中括号。
  6. 一种短消息的合并显示装置,其特征在于,包括:
    获取单元,用于获取待显示的短消息;
    确定单元,用于读取所述短消息的消息内容,确定所述消息内容中是否包括预定格式的签名信息;
    加入单元,用于若所述确定单元确定出所述消息内容中包括所述签名信息,从主列表中确定所述签名信息对应的子列表,将所述短消息加入所述签名信息对应的子列表中;若所述确定单元确定出所述消息内容中不包括所述签名信息,从所述主列表中确定所述短消息的发送号码对应的子列表,将所述短消息加入所述发送号码对应的子列表中;
    显示单元,用于显示所述主列表,若所述加入单元将所述短消息加入所述签名信息对应的子列表中,所述主列表中包括所述签名信息对应的子列表的缩略信息,若所述加入单元将所述短消息加入所述发送号码对应的子列表中,所述主列表中包括所述发送号码对应的子列表的缩略信息。
  7. 根据权利要求6所述的装置,其特征在于,还包括:
    创建单元,用于所述加入单元从主列表中确定所述签名信息对应的子列表之前,确定所述主列表中是否包括所述签名信息对应的子列表,如果否,在主列表中创建所述签名信息对应的子列表,以及所述加入单元从所述主列表中确定所述短消息的发送号码对应的子列表之前,确定所述主列表中是否包括所述发送号码对应的子列表,如果否,在主列表中创建所述发送号码对应的子列表。
  8. 根据权利要求6所述的装置,其特征在于,所述主列表中包括多个子列表,所述装置还包括:
    排序单元,用于在所述主列表中,按照时间顺序降序排序各个子列表。
  9. 根据权利要求6所述的装置,其特征在于,还包括:
    检测单元,用于检测到用户选中所述签名信息对应的子列表;
    所述显示单元还用于,所述检测单元检测到用户选中所述签名信息对应的子列表,显示所述签名信息对应的子列表中包括的各条短消息,其中,所述各条短消息的消息内容中均包括所述签名信息。
  10. 根据权利要求6所述的装置,其特征在于,所述预定格式包括全角的中括号。
PCT/CN2016/110711 2015-12-31 2016-12-19 一种短消息的合并显示方法及装置 Ceased WO2017114208A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511029703.8 2015-12-31
CN201511029703.8A CN106936978A (zh) 2015-12-31 2015-12-31 一种短消息的合并显示方法及装置

Publications (1)

Publication Number Publication Date
WO2017114208A1 true WO2017114208A1 (zh) 2017-07-06

Family

ID=59225930

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/110711 Ceased WO2017114208A1 (zh) 2015-12-31 2016-12-19 一种短消息的合并显示方法及装置

Country Status (2)

Country Link
CN (1) CN106936978A (zh)
WO (1) WO2017114208A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134784A (zh) * 2020-09-03 2020-12-25 北京达佳互联信息技术有限公司 消息展示方法、装置、终端、服务器、系统及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1422058A (zh) * 2001-11-28 2003-06-04 Lg电子株式会社 利用标签传输短消息服务的方法
CN1622661A (zh) * 2003-11-28 2005-06-01 英业达(南京)技术有限公司 可将同一电话号码的短消息合并显示的方法
CN1972466A (zh) * 2006-10-23 2007-05-30 华为技术有限公司 一种实现短消息个性签名的方法、装置及系统
EP1981229A1 (en) * 2006-07-07 2008-10-15 Huawei Technologies Co., Ltd. Method and system for implementing short message signature and short message implementing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202473B (zh) * 2014-08-25 2017-07-07 华为技术有限公司 合并会话的方法及移动终端
CN104301532B (zh) * 2014-09-30 2017-05-24 小米科技有限责任公司 通信消息识别方法及装置
CN104618877A (zh) * 2015-01-30 2015-05-13 广东欧珀移动通信有限公司 一种短信整理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1422058A (zh) * 2001-11-28 2003-06-04 Lg电子株式会社 利用标签传输短消息服务的方法
CN1622661A (zh) * 2003-11-28 2005-06-01 英业达(南京)技术有限公司 可将同一电话号码的短消息合并显示的方法
EP1981229A1 (en) * 2006-07-07 2008-10-15 Huawei Technologies Co., Ltd. Method and system for implementing short message signature and short message implementing device
CN1972466A (zh) * 2006-10-23 2007-05-30 华为技术有限公司 一种实现短消息个性签名的方法、装置及系统

Also Published As

Publication number Publication date
CN106936978A (zh) 2017-07-07

Similar Documents

Publication Publication Date Title
EP2988208A1 (en) Application sharing method and device
US11363129B2 (en) Method and apparatus for processing contact information using a wireless terminal
US10613717B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
CN104142784B (zh) 输入内容的临时存储方法和装置
CN103516908B (zh) 辅助回复通讯消息的方法及装置
CN105045773A (zh) 卡片模板式服务类短信的生成方法及装置
EP3646276A1 (en) Systems and methods for selecting content for high velocity users
CN106789547A (zh) 一种接收消息方法和终端设备
WO2015010650A1 (zh) 图形码中信息的分流方法、装置及系统
CN107453978A (zh) 基于群组的数据统计方法、移动终端、服务器及存储介质
US9633084B2 (en) Information searching method and device, and computer storage medium
CN110609957A (zh) 一种进行全局搜索的方法、终端和服务器
CN105872221A (zh) 短信分类显示方法和系统
WO2015043163A1 (en) Method and apparatus for inputting account information
WO2017041681A1 (zh) 一种获取和呈现信息的方法及终端
CN106911554A (zh) 一种历史信息展示方法及装置
CN103023757B (zh) 消息展示装置及展示方法
WO2017114208A1 (zh) 一种短消息的合并显示方法及装置
CN105391847A (zh) 服务接口提供方法及装置
US10528655B2 (en) Method and device for inputting information into an entry field of an electronic communication
CN105430623A (zh) Rcs垃圾消息的监控方法、装置及系统
CN103024202A (zh) 手机状态栏运营商图标显示方法及装置
WO2022253132A1 (zh) 信息显示方法、装置和电子设备
CN104462520B (zh) 通讯录项信息的创建方法及装置
US12348473B2 (en) Non-transitory computer readable medium, information processing apparatus, and information processing method for saving or forwarding extracted message

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

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

Country of ref document: EP

Kind code of ref document: A1