Mobile terminal and communication message display method thereof

By receiving communication messages and their message identification in a mobile terminal, and determining the target session list using the correspondence between the service identifier and the session list, the problem of single communication message display mode in the prior art is solved, and different service identifiers are realized The flexible display of messages improves the user experience.

CN114827340BActive Publication Date: 2025-02-11QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110090823.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-22
Publication Date
2025-02-11
Estimated Expiration
2041-01-22

AI Technical Summary

Technical Problem

When displaying communication messages, the existing mobile terminals have a relatively single method and cannot effectively distinguish and display messages with different service identifiers.

Method used

By receiving the communication message and its message identification sent by the operator server, the target session list is determined using the correspondence between the service identifier and the session list, and the communication message is displayed in the list. This method allows an SMS number to correspond to multiple service identifiers, thereby displaying messages of different service identifiers in different session lists.

Benefits of technology

It realizes flexible and rich display of messages with different service identifiers, improves user experience and avoids message confusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114827340B_ABST
    Figure CN114827340B_ABST
Patent Text Reader

Abstract

The present application discloses a mobile terminal and a method for displaying communication messages thereof, and relates to the field of display technology. The mobile terminal can determine a target session list based on the message identifier of the received communication message and the correspondence between the service identifier and the session list, and then display the communication message in the target session list. Since the target session list corresponds to the service identifier of the communication message, and an SMS number can correspond to at least one service identifier, for multiple communication messages with the same SMS number but different service identifiers, the mobile terminal provided by the present application can display the multiple communication messages in different session lists. Compared with displaying the multiple communication messages in the same session list in the related art, the method provided by the present application enriches the display method of the communication messages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a mobile terminal and a method for displaying communication messages thereof. Background Art

[0002] The mobile terminal may receive a communication message sent by an operator server. The communication message may be a short message, a multimedia message, or a rich communication suite (RCS) message. Afterwards, the mobile terminal may display the short message, multimedia message, and RCS message with the same short messaging service (SMS) number in the same conversation list.

[0003] However, this method of displaying communication messages is relatively simple. Summary of the invention

[0004] The present application provides a mobile terminal and a method for displaying communication messages thereof, which can solve the problem that the display method of communication messages in the related art is relatively single. The technical solution is as follows:

[0005] In one aspect, a mobile terminal is provided, the mobile terminal comprising: a processor and a display screen; the processor is used to:

[0006] Receiving a communication message sent by an operator server and a message identifier of the communication message, wherein the message identifier includes: a service identifier and / or a short message service number, wherein the short message service number corresponds to at least one service identifier;

[0007] Based on the correspondence between the service identifier and the session list, determining a target session list corresponding to the service identifier of the communication message from the multiple session lists of the mobile terminal;

[0008] The display screen is controlled to display the communication message in the target conversation list.

[0009] Optionally, the message identifier is a short message service number, and the short message service number corresponds to multiple service identifiers; and the processor is configured to:

[0010] For each service identifier corresponding to the SMS service number, based on the corresponding relationship, determining a candidate session list corresponding to the service identifier from the multiple session lists to obtain multiple candidate session lists;

[0011] The candidate session list to which the communication message is added most recently among the multiple candidate session lists is determined as the target session list.

[0012] Optionally, the processor is further configured to:

[0013] At least one service identifier corresponding to the short message service number is determined based on the correspondence between the short message service number and the service identifier.

[0014] Optionally, the processor is further configured to:

[0015] If it is determined that there is no session list corresponding to the message identifier in the multiple session lists based on the correspondence between the service identifier and the session list, a new first session list is created;

[0016] The communication message is displayed in the first conversation list.

[0017] Optionally, the processor is further configured to:

[0018] The message identifier and the corresponding first conversation list are recorded in the corresponding relationship.

[0019] On the other hand, a method for displaying a communication message of a mobile terminal is provided, the method comprising:

[0020] Receiving a communication message sent by an operator server and a message identifier of the communication message, wherein the message identifier includes: a service identifier and / or a short message service number, wherein the short message service number corresponds to at least one service identifier;

[0021] Based on the correspondence between the service identifier and the session list, determining a target session list corresponding to the service identifier of the communication message from the multiple session lists of the mobile terminal;

[0022] The communication message is displayed in the target conversation list.

[0023] Optionally, the message identifier is a short message service number, and the short message service number corresponds to multiple service identifiers; and determining, from the multiple session lists of the mobile terminal based on the correspondence between the service identifier and the session list, a target session list corresponding to the service identifier of the communication message includes:

[0024] For each service identifier corresponding to the SMS service number, based on the corresponding relationship, determining a candidate session list corresponding to the service identifier from the multiple session lists to obtain multiple candidate session lists;

[0025] The candidate session list to which the communication message is added most recently among the multiple candidate session lists is determined as the target session list.

[0026] Optionally, before determining, from the plurality of session lists of the mobile terminal based on the correspondence between the service identifier and the session list, a target session list corresponding to the service identifier of the communication message, the method further comprises:

[0027] At least one service identifier corresponding to the short message service number is determined based on the correspondence between the short message service number and the service identifier.

[0028] Optionally, the method further includes:

[0029] If it is determined that there is no session list corresponding to the message identifier in the multiple session lists based on the correspondence between the service identifier and the session list, a new first session list is created;

[0030] The communication message is displayed in the first conversation list.

[0031] Optionally, after creating the first conversation list, the method further includes:

[0032] The message identifier and the corresponding first conversation list are recorded in the corresponding relationship.

[0033] On the other hand, a mobile terminal is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for displaying communication messages of the mobile terminal as described in the above aspects is implemented.

[0034] On the other hand, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the method for displaying communication messages of a mobile terminal as described in the above aspects.

[0035] On the other hand, a computer program product comprising instructions is provided, and when the computer program product is executed on the computer, the computer is enabled to execute the method for displaying communication messages of the mobile terminal as described in the above aspects.

[0036] The beneficial effects of the technical solution provided by this application include at least:

[0037] The present application provides a mobile terminal and a method for displaying communication messages thereof. The embodiment of the present application provides a method for displaying communication messages of a mobile terminal. The mobile terminal can determine a target session list based on the message identifier of the received communication message and the correspondence between the service identifier and the session list, and then display the communication message in the target session list. Since the target session list corresponds to the service identifier of the communication message, and an SMS number can correspond to at least one service identifier, for multiple communication messages with the same SMS number but different service identifiers, the mobile terminal provided by the present application can display the multiple communication messages in different session lists. Compared with the related art of displaying the multiple communication messages in the same session list, the method provided by the present application enriches the display method of communication messages. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 It is a flow chart of a method for displaying communication messages of a mobile terminal provided in an embodiment of the present application;

[0040] Figure 2 It is a flowchart of another method for displaying communication messages of a mobile terminal provided in an embodiment of the present application;

[0041] Figure 3 is a flow chart of determining a target session list provided by an embodiment of the present application;

[0042] Figure 4 is a schematic diagram of a session list provided in an embodiment of the present application;

[0043] Figure 5 is a schematic diagram of another session list provided in an embodiment of the present application;

[0044] Figure 6 is a schematic diagram of a details interface of a conversation list provided in an embodiment of the present application;

[0045] Figure 7 is a structural schematic diagram of a mobile terminal provided in an embodiment of the present application;

[0046] Figure 8 It is a software structure block diagram of a mobile terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0048] The embodiment of the present application provides a method for displaying communication messages of a mobile terminal, which can be applied to a mobile terminal. Optionally, the mobile terminal can be a mobile phone, a tablet computer, a laptop computer, or a wearable device. For example, the mobile terminal can be a mobile phone. And the operating system of the mobile terminal can be an Android operating system.

[0049] See also Figure 1 , the method may include:

[0050] Step 101: Receive a communication message sent by an operator server and a message identifier of the communication message.

[0051] The operator server may send a communication message and a message identifier of the communication message to the mobile terminal. Correspondingly, the mobile terminal may receive the communication message and the message identifier of the communication message.

[0052] The message identifier includes: a service identifier (service ID) and / or an SMS number. The SMS number may correspond to at least one service identifier.

[0053] If the mobile terminal determines that the message identifier of the communication message includes a service identifier, the communication message can be determined to be an RCS message. If the mobile terminal determines that the message identifier of the communication message is an SMS number, the communication message can be determined to be a short message or a multimedia message.

[0054] Step 102: Based on the correspondence between the service identifier and the session list, determine a target session list corresponding to the service identifier of the communication message from multiple session lists of the mobile terminal.

[0055] After the mobile terminal receives the communication message sent by the operator server and the message identifier corresponding to the communication message of the mobile terminal, it can determine the target session list corresponding to the service identifier of the communication message from multiple session lists based on the pre-stored correspondence between the service identifier and the session list.

[0056] It can be seen that after receiving a communication message (such as the above-mentioned SMS, MMS, or RCS message), the mobile terminal can display the communication message in the target session list corresponding to the service identifier of the communication message. In addition, since one service identifier corresponds to one session list and one SMS number corresponds to at least one service identifier, for multiple communication messages with the same SMS number but different service identifiers, the mobile terminal provided by the embodiment of the present application can display the multiple communication messages in different session lists, thereby enriching the display method of the communication message.

[0057] In addition, since the multiple communication messages can be displayed separately, the sources of the displayed communication messages can be clearly seen, thereby improving the user experience.

[0058] Step 103: Display the communication message in the target session list.

[0059] After determining the monogrammed session list corresponding to the service identifier of the communication message, the mobile terminal may add the communication message to the target session list, that is, may display the communication message in the target session list.

[0060] In summary, the embodiment of the present application provides a method for displaying communication messages of a mobile terminal. The mobile terminal can determine the target session list based on the message identifier of the received communication message and the correspondence between the service identifier and the session list, and then display the communication message in the target session list. Since the target session list corresponds to the service identifier of the communication message, and an SMS number can correspond to at least one service identifier, for multiple communication messages with the same SMS number but different service identifiers, the mobile terminal provided by the embodiment of the present application can display the multiple communication messages in different session lists. Compared with the related art of displaying the multiple communication messages in the same session list, the method provided by the embodiment of the present application enriches the display method of communication messages.

[0061] Figure 2 Another method for displaying communication messages of a mobile terminal provided in an embodiment of the present application can be applied to a mobile terminal. Figure 2 , the mobile terminal may include:

[0062] Step 201: Receive a communication message sent by an operator server and a message identifier of the communication message.

[0063] The operator server may send a communication message and a message identifier of the communication message to the mobile terminal. Correspondingly, the mobile terminal may receive the communication message and the message identifier of the communication message.

[0064] The communication message may be a text message, a multimedia message, or an RCS message. The RCS message is a communication message that appears under the messaging as a platform (MaaP) technology, and the RCS message may also be called a MaaP message. The RCS message may be text, pictures, videos, audio, electronic business cards, maps, corporate cards, mini-program cards, and red envelopes, etc.

[0065] The message identifier of the communication message may include: a service identifier (service ID), and / or an SMS number. The SMS number may correspond to at least one service identifier. For example, the message identifier of the communication message is a service identifier. Alternatively, the message identifier of the communication message may be an SMS number. Alternatively, the message identifier of the communication message may be a service identifier and an SMS number.

[0066] The service identifier may be the address of the sender of the RCS message. The format of the sender's address may be xxx@botplatform.rcs.chinamobile, or the format of the sender's address may be sip:xxx@botplatform.rcs.chinamobile.

[0067] Optionally, the SMS number may be a dedicated number of a communication network operator, or may be a public service number permitted by the user, for example, the SMS number may be 10086, 10010, etc.

[0068] In the embodiment of the present application, if the message identifier of the communication message includes: a service identifier, the mobile terminal can determine that the communication message is an RCS message. If the message identifier of the communication message is an SMS number, the mobile terminal can determine that the communication message is a text message or a multimedia message.

[0069] Step 202: Based on the correspondence between the service identifier and the session list, determine a target session list corresponding to the service identifier of the communication message from multiple session lists of the mobile terminal.

[0070] After the mobile terminal receives the communication message sent by the operator server and the message identifier corresponding to the communication message of the mobile terminal, it can determine the target session list corresponding to the service identifier of the communication message from the multiple session lists after determining that there is a target session list corresponding to the message identifier of the communication message in the multiple session lists based on the correspondence between the service identifier and the session list.

[0071] The correspondence between the service identifier and the session list may refer to the correspondence between the service identifier and the list ID of the session list. The correspondence between the service identifier and the session list may be created and pre-stored by the mobile terminal based on the message identifier of the historical communication message. Furthermore, the mobile terminal may continuously update the correspondence.

[0072] Optionally, the mobile terminal may store the correspondence between the service identifier and the session list in the form of a list, that is, the mobile terminal may record the correspondence between the service identifier and the session list in a first correspondence table. In addition, the first correspondence table may also record the correspondence between the service identifier and the SMS number. For example, the first correspondence table (also referred to as an address table) is shown in Table 1.

[0073] Table 1

[0074]

[0075] As can be seen from Table 1, the table may include: an address field for indicating the source of a communication message, an is_private field for indicating whether the communication message corresponding to the service identifier is a public service message, a chatbot_sms_addr field for indicating the SMS number corresponding to the address field, an update_time field for indicating the last update time of the session list, and a list ID field for uniquely identifying a session list. If the value of the is_private field is 0, it means that the communication message corresponding to the service identifier is a public service message. The last update time may refer to the time when a communication message was last added to the session list.

[0076] Continuing to refer to Table 1, the service identifier 1201@botplatform.rcs.chinamobile and the service identifier 1203@botplatform.rcs.chinamobile both correspond to the SMS number 1200. The list ID of the conversation list corresponding to the service identifier 1201@botplatform.rcs.chinamobile is 1, and the last update time of the conversation list is 1:10 minutes (′) 46 seconds (″), that is, 1 hour 10 minutes 46 seconds. The list ID of the conversation list corresponding to the service identifier 1203@botplatform.rcs.chinamobile is 2, and the last update time of the conversation list is 2:9′50″, that is, 2 hours 9 minutes 50 seconds.

[0077] In the embodiment of the present application, the mobile terminal may also store a second correspondence table (also referred to as a chatbot_info table) recording the correspondence between all service identifiers and SMS numbers. The second correspondence table is updated and maintained by a third-party software development kit (SDK). For example, if the mobile terminal determines that the third-party SDK has updated the SMS number corresponding to a service identifier in the second correspondence table, the database trigger may be used to update the SMS number corresponding to the service identifier in the first correspondence table to the changed SMS number, so as to ensure the accuracy of the target conversation list subsequently determined by the mobile terminal.

[0078] For example, the second correspondence table may be as shown in Table 2. Figure 2 It can be seen that the second correspondence table may further include: a name field for indicating the name of the session list corresponding to each service identifier (also referred to as a service name).

[0079] Table 2

[0080] name service ID SMS Number A 1201@botplatform.rcs.chinamobile 1200 B 1203@botplatform.rcs.chinamobile 1200 C 4567@botplatform.rcs.chinamobile 4560 D 5677@botplatform.rcs.chinamobile E 6677@botplatform.rcs.chinamobile 6670

[0081] Continuing to refer to Table 2, the SMS number corresponding to the service identifier 1201@botplatform.rcs.chinamobile is 1200, and the name of the corresponding conversation list is A. The SMS number corresponding to the service identifier 5677@botplatform.rcs.chinamobile is empty, and the name of the corresponding conversation list is D.

[0082] In an optional implementation, after the mobile terminal receives the communication message sent by the operator server and the message identifier corresponding to the communication message, the mobile terminal can first determine, based on the correspondence between the service identifier and the session list, that there is a session list corresponding to the message identifier in the multiple session lists of the mobile terminal, and then the above step 202 can be executed.

[0083] In an embodiment of the present application, for a scenario where the message identifier of a communication message includes a service identifier, after receiving the message identifier, the mobile terminal can detect whether there is a service identifier identical to the service identifier of the communication message among multiple service identifiers recorded in the correspondence relationship between the service identifier and the session list. If the mobile terminal determines that there is a service identifier identical to the service identifier of the communication message among the multiple service identifiers, it can be determined that there is a session list corresponding to the message identifier in the multiple session lists of the mobile terminal.

[0084] For the scenario where the message identifier of the communication message is an SMS number, if the correspondence between the service identifier and the SMS number is not recorded in the correspondence, the mobile terminal can first determine at least one service identifier corresponding to the SMS number based on the correspondence between the SMS number and the service identifier. Afterwards, the mobile terminal can determine whether there is a service identifier that is the same as any of the at least one service identifier among the multiple service identifiers recorded in the correspondence. If the mobile terminal determines that there is a service identifier that is the same as any of the service identifiers among the multiple service identifiers, it can be determined that there is a session list corresponding to the message identifier of the communication message in the multiple session lists. Among them, the correspondence between the SMS number and the service identifier can be pre-stored in the mobile terminal.

[0085] If the correspondence relationship records the correspondence relationship between the service identifier and the SMS number, that is, the correspondence relationship records the SMS numbers corresponding to multiple session lists in the mobile terminal corresponding to the service identifier, the mobile terminal can detect whether there is an SMS number identical to the SMS number of the communication message among at least one SMS number recorded in the correspondence relationship. If the mobile terminal determines that there is an SMS number identical to the SMS number of the communication among the at least one SMS number, it can be determined that there is a session list corresponding to the message identifier of the communication message among the multiple session lists.

[0086] After determining that there is a session list corresponding to the message identifier of the communication message in the multiple session lists of the mobile terminal, the mobile terminal can determine the target session list corresponding to the service identifier of the communication message from the multiple session lists based on the correspondence between the service identifier and the session list. The service identifier of the communication message can be a service identifier directly sent by the operator server. Alternatively, the service identifier can be a server identifier corresponding to the SMS number sent by the operator server.

[0087] In an embodiment of the present application, for a scenario where the message identifier of a communication message includes a service identifier, the mobile terminal directly determines the session list corresponding to the service identifier that is the same as the service identifier of the communication message as the target session list based on the correspondence between the service identifier and the session list.

[0088] For the scenario where the message identifier of the communication message is an SMS number, if the mobile terminal determines that the SMS number corresponds to a service identifier based on the correspondence between the service identifier and the SMS number, the session list corresponding to the service identifier identical to the service identifier in the correspondence can be determined as the target session list.

[0089] If the correspondence between the mobile terminal SMS number and the service identifier determines that the SMS number corresponds to multiple service identifiers, refer to Figure 3The process of determining, by the mobile terminal based on the correspondence between the service identifier and the session list, a target session list corresponding to the service identifier of the communication message from multiple session lists of the mobile terminal may include:

[0090] Step 2021: For each service identifier corresponding to the SMS number, based on the correspondence between the service identifier and the session list, determine a candidate session list corresponding to the service identifier from multiple session lists to obtain multiple candidate session lists.

[0091] For each service identifier among the multiple service identifiers corresponding to the SMS number, the mobile terminal can determine the alternative session list corresponding to the service identifier from the multiple session lists of the mobile terminal based on the correspondence between the service identifier and the session list, thereby obtaining multiple alternative session lists.

[0092] Step 2022: Determine the candidate session list to which the communication message is most recently added among the multiple candidate session lists as the target session list.

[0093] In the embodiment of the present application, for each of the multiple conversation lists, if the message identifier of the communication message received by the mobile terminal is the same as the message identifier corresponding to the conversation list, the communication message can be added to the conversation list to update the conversation list. In addition, the mobile terminal can also record the last update time of the conversation list.

[0094] Based on this, after obtaining multiple candidate session lists, the mobile terminal can compare the update time of the multiple candidate session lists to determine the most recently updated candidate session list among the multiple candidate session lists, that is, the candidate session list to which the communication message is most recently added, and determine the most recently updated candidate session list as the target session list.

[0095] Optionally, for each candidate session list in the multiple candidate session lists, the mobile terminal can determine the time difference between the update time of the candidate session list and the current time of the mobile terminal, thereby obtaining multiple time difference values. Afterwards, the mobile terminal can compare the sizes of the multiple time difference values, and can determine the candidate session list indicated by the smallest time difference value among the multiple time difference values ​​as the target session list.

[0096] For example, assuming that the first correspondence table is as shown in Table 1, the message identifier of the communication message received by the mobile terminal is 1200. Based on the first correspondence table, the mobile terminal can determine that the service identifiers corresponding to 1200 include: 1201@botplatform.rcs.chinamobile, and 1203@botplatform.rcs.chinamobile. The last update time of the conversation list corresponding to the service identifier 1201@botplatform.rcs.chinamobile is 1:10′46″, and the last update time of the conversation list corresponding to the service identifier 1203@botplatform.rcs.chinamobile is 2:9′50″.

[0097] Since the time difference between the last update time of the session list corresponding to the service identifier 1203@botplatform.rcs.chinamobile and the current time is smaller than the time difference between the last update time of the session list corresponding to the service identifier 1201@botplatform.rcs.chinamobile and the current time, the mobile terminal can determine the session list corresponding to the service identifier 1201@botplatform.rcs.chinamobile as the target session list.

[0098] In another optional implementation, after receiving the communication message sent by the operator server and the message identifier corresponding to the communication message, the mobile terminal can filter out the message identifier that is the same as the message identifier of the communication message, the conversation list corresponding to the message identifier, and the last update time of the conversation list from the first correspondence table based on the message identifier, and mark the type (type) of the filtered first content (i.e., the message identifier that is the same as the message identifier of the communication message, the conversation list corresponding to the message identifier, and the last update time of the conversation list) as the first identifier. In addition, the mobile terminal can also filter out the message identifier that is the same as the message identifier of the communication message from the second correspondence table, and mark the type of the filtered second content (i.e., the message identifier that is the same as the message identifier of the communication message) as the second identifier. Wherein, the first identifier is different from the second identifier.

[0099] In an embodiment of the present application, for a scenario where the message identifier includes a service identifier, the mobile terminal can directly filter out a service identifier that is the same as the service identifier of the communication message from the address field in the first correspondence table, filter out a session list corresponding to the service identifier from the first correspondence table, and the most recent update time of the session list, and mark the type of the filtered content as the first identifier. The first identifier and the second identifier can both be numerical values, for example, the first identifier is 1 and the second identifier is 3.

[0100] For the scenario where the message identifier is an SMS number, the first identifier may include a first sub-value and a second sub-value. The mobile terminal may filter out the SMS number that is the same as the SMS number of the communication message from the address field of the first correspondence table, and filter out the conversation list corresponding to the SMS number and the last update time of the conversation list from the first correspondence table. Afterwards, the mobile terminal may mark the type of the above-filtered content as the first sub-value.

[0101] In addition, the mobile terminal can also filter out the SMS number that is the same as the SMS number of the communication message from the chatbot_sms_addr field of the first correspondence table, filter out the service identifier corresponding to the SMS number, the conversation list corresponding to the service identifier, and the last update time of the conversation list from the first correspondence table, and mark the type of the filtered content as the second sub-value. The first sub-value is different from the second sub-value. For example, the first sub-value is 1 and the second sub-value is 2.

[0102] Afterwards, if the mobile terminal determines that the filtered content includes content with a type mark of the first identifier, that is, includes the first content, and the first content includes a conversation list, the conversation list in the first content can be directly determined as the target conversation list.

[0103] If the first content includes multiple session lists corresponding to the service identifier, the mobile terminal may determine a session list that is most recently updated in the multiple session lists as the target session list based on the most recently updated time of each session list in the multiple session lists.

[0104] According to the above description, the mobile terminal can determine the target session list corresponding to the service identifier of the communication message by a joint query (i.e., querying based on the first correspondence table and the second correspondence table at the same time) and detecting the value marked by the type of the filtered content.

[0105] For example, assuming that the first correspondence table is as shown in Table 1, the second correspondence table is as shown in Table 2, and the SMS number of the communication message received by the mobile terminal is 4560, the mobile terminal determines based on the first correspondence table that the content marked as the first identifier includes the content shown in the following Table 3.

[0106] Table 3

[0107]

[0108] As can be seen from Table 4, there are two corresponding conversation lists for the communication message with SMS number 4560, but only the conversation list with list ID 3 corresponds to the service identifier 4567@botplatform.rcs.chinamobile, so the mobile terminal can determine the conversation list with list ID 3 as the target conversation list.

[0109] Step 203: Display the communication message in the target session list.

[0110] After determining the monogrammed session list corresponding to the service identifier of the communication message, the mobile terminal may add the communication message to the target session list, that is, may display the communication message in the target session list.

[0111] Optionally, after adding the communication message to the target session list, the mobile terminal may also update the most recent update time of the session list.

[0112] Optionally, the target conversation list may also display its name and corresponding SMS number.

[0113] For example, suppose the current list interface of the mobile terminal is as follows Figure 4 As shown, from Figure 4 It can be seen that the list interface may include: a message search box 01, a conversation list named C, a conversation list named A, and a conversation list named B, an icon 02 for each conversation list, a message adding control 03, and a navigation bar 04. The icons 02 for different conversation lists are different.

[0114] See also Figure 4 , the user touches the conversation list named A, and accordingly, the mobile terminal can display the conversation interface of the conversation list. The conversation interface can display the name of the conversation list, the SMS number 1200 corresponding to the conversation list, and the historical messages received by the mobile terminal.

[0115] The mobile terminal can display the received historical SMS / MMS and historical RCS messages in different areas of the session interface. Figure 4As shown, the mobile terminal can display the historical RCS message "Hello" on the left side of the conversation interface and display the historical SMS / MMS "Excuse me, who are you?" on the right side of the conversation interface.

[0116] Assume that the service identifier of the conversation list named A is 1201@botplatform.rcs.chinamobile, and the mobile terminal receives an RCS message, and the service identifier of the RCS message is 1201@botplatform.rcs.chinamobile, and the content is "Do you have time?". Figure 4 The service identifiers corresponding to the session lists shown are the same, so the mobile terminal can Figure 4 The RCS message display area shown displays the received RCS message.

[0117] Figure 5 The conversation interface of another conversation list corresponding to the SMS number 1200 is shown. Figure 5 It can be seen that the name of the conversation list is B. Assume that the service identifier corresponding to the conversation list is 1203@botplatform.rcs.chinamobile, the service identifier of the RCS message received by the mobile terminal is 1203@botplatform.rcs.chinamobile, and the content is "How are you doing recently?".

[0118] Since the service identifier of the received RCS message is the same as Figure 5 The service identifiers corresponding to the session lists shown are the same, so the mobile terminal Figure 5 The RCS message display area shown displays the received RCS message “How are you doing lately?”.

[0119] According to the above Figure 4 and Figure 5 It can be seen that Figure 4 The SMS number corresponding to the session interface shown is Figure 5 The SMS numbers corresponding to the session interfaces shown are the same. It can be seen that the mobile terminal provided in the embodiment of the present application can display the communication message in the target session list corresponding to the service identifier of the communication message, rather than displaying all the communication messages with the same SMS number in one session list. Thus, the flexibility of displaying the communication message is improved.

[0120] In the embodiment of the present application, the user may touch the icon of the conversation list, and accordingly, the mobile terminal may display the service identifier corresponding to the conversation list in response to the user's touch operation on the icon of the conversation list.

[0121] For example, assuming that the service identifier corresponding to the session list named B is 1203@botplatform.rcs.chinamobile, then see Figure 6 , the user touches the icon of the conversation list named B, and accordingly, the mobile terminal can display the details interface of the conversation list. The details interface can include the service identifier 1203@botplatform.rcs.chinamobile corresponding to the conversation list.

[0122] And, from Figure 6 It can also be seen that the details interface can also include: service introduction of the service identifier of the session list, account subject, provider, service type, callback phone, SMS number, email address, service website, and detailed address information.

[0123] In addition, if Figure 6 As shown, the details interface may also include: a save control 05 (ie Figure 6 Controls saved locally in the chat) and enter the chat control 06.

[0124] The mobile terminal can respond to the user's touch operation on the save control 05. Figure 6 The detailed information about the conversation list shown is saved locally in the mobile terminal. The mobile terminal can also return to the conversation interface of the conversation list in response to the user's touch operation for entering the chat control 06.

[0125] Step 204: If it is determined that there is no conversation list corresponding to the message identifier in the multiple conversation lists, a first conversation list is newly created.

[0126] Optionally, when the mobile terminal determines that there is no conversation list corresponding to the message identifier in the multiple conversation lists, the mobile terminal may further generate a first conversation list identifier.

[0127] In an embodiment of the present application, after receiving a communication message sent by an operator server and a message identifier corresponding to the communication message, the mobile terminal first determines whether there is a session list corresponding to the message identifier in multiple session lists of the mobile terminal based on the correspondence between the service identifier and the session list. If the message identifier of the communication message includes a service identifier, then the mobile terminal does not have a service identifier identical to the service identifier of the communication message among the multiple service identifiers recorded in determining the correspondence between the service identifier and the session list, and it can be determined that there is no session list corresponding to the message identifier in the multiple session lists of the mobile terminal.

[0128] If the message identifier of the communication message is an SMS number, and the correspondence between the service identifier and the session list does not record the correspondence between the service identifier and the SMS number, then when the mobile terminal determines that any service identifier of at least one service identifier corresponding to the SMS number is different from each service identifier of the multiple service identifiers, it can be determined that there is no session list corresponding to the message identifier in the multiple session lists of the mobile terminal.

[0129] If the correspondence record between the service identifier and the session list records the correspondence between the service identifier and the SMS number, when the mobile terminal determines that each SMS number in at least one SMS number recorded in the correspondence is different from the SMS number of the communication message, it can be determined that there is no session list corresponding to the message identifier in the multiple session lists of the mobile terminal.

[0130] For example, assuming that the first correspondence table is as shown in Table 1, the message identifier of the communication message received by the mobile terminal is 6677@botplatform.rcs.chinamobile. Since there is no session list corresponding to 6677@botplatform.rcs.chinamobile in Table 1, the mobile terminal can determine that there is no target session list corresponding to the service identifier of the communication message in the multiple session lists, and then a new first session list can be created, and the list ID of the first session list can be 5.

[0131] For the scenario in which the mobile terminal filters content from the first correspondence table and the second correspondence table after receiving the communication message and its message identifier, if the content filtered by the mobile terminal does not include: content whose type is marked as the first identifier, the mobile terminal can determine that there is no target conversation list corresponding to the message identifier of the communication message in multiple conversation lists.

[0132] Step 205: Display the communication message in the first conversation list.

[0133] After creating the first conversation list, the mobile terminal may add the communication message to the first conversation list, that is, the mobile terminal may display the communication message in the first conversation list.

[0134] Optionally, after adding the communication message to the first conversation list, the mobile terminal may also record the time when the communication message is added, so as to ensure the accuracy of the target conversation list determined subsequently after receiving a communication message with the same SMS number as the communication message.

[0135] Step 206: Record the correspondence between the message identifier and the first conversation list in the correspondence table.

[0136] After creating the first conversation list, the mobile terminal may also record the correspondence between the message identifier and the first conversation list in the correspondence between the service identifier and the conversation list.

[0137] Thus, it can be ensured that after the mobile terminal subsequently receives a communication message with the same message identifier as the message identifier, the communication message can be displayed in the first conversation list without creating a new conversation list, thereby ensuring the integrity of the displayed communication message.

[0138] It should also be noted that the order of the steps of the method for displaying communication messages of a mobile terminal provided in the embodiment of the present application can be appropriately adjusted, and the steps can also be increased or decreased accordingly according to the situation. For example, steps 204 to 207 can also be performed before step 202. Any technician familiar with the technical field can easily think of a change within the technical scope disclosed in this application, and it should be included in the protection scope of this application, so it will not be repeated.

[0139] In summary, the embodiment of the present application provides a method for displaying communication messages of a mobile terminal. The mobile terminal can determine the target session list based on the message identifier of the received communication message and the correspondence between the service identifier and the session list, and then display the communication message in the target session list. Since the target session list corresponds to the service identifier of the communication message, and an SMS number can correspond to at least one service identifier, for multiple communication messages with the same SMS number but different service identifiers, the mobile terminal provided by the embodiment of the present application can display the multiple communication messages in different session lists. Compared with the related art of displaying the multiple communication messages in the same session list, the method provided by the embodiment of the present application enriches the display method of communication messages.

[0140] The embodiment of the present application provides a mobile terminal, which can be used to execute the method for displaying communication messages of the mobile terminal provided by the above method embodiment. Figure 7 The mobile terminal may include: A mobile terminal is provided, the mobile terminal includes: a processor 1101 and a display screen 131. The processor 1101 may be used for:

[0141] Receiving a communication message sent by an operator server and a message identifier of the communication message, the message identifier including: a service identifier and / or a short message service number, the short message service number corresponding to at least one service identifier;

[0142] Based on the correspondence between the service identifier and the session list, determining a target session list corresponding to the service identifier of the communication message from a plurality of session lists of the mobile terminal;

[0143] The Control Display shows the communication message in the target session list.

[0144] Optionally, the message identifier is a short message service number, and the short message service number corresponds to multiple service identifiers. The processor 1101 may be configured to:

[0145] For each service identifier corresponding to the SMS service number, based on the corresponding relationship, determining a candidate session list corresponding to the service identifier from multiple session lists to obtain multiple candidate session lists;

[0146] The candidate session list to which the communication message is added most recently among the multiple candidate session lists is determined as the target session list.

[0147] Optionally, the processor 1101 may be configured to:

[0148] At least one service identifier corresponding to the short message service number is determined based on the correspondence between the short message service number and the service identifier.

[0149] Optionally, the processor 1101 may also be used for:

[0150] If it is determined based on the correspondence between the service identifier and the session list that there is no session list corresponding to the message identifier in the multiple session lists, then a new first session list is created;

[0151] The communication messages are displayed in the first conversation list.

[0152] Optionally, the processor 1101 may also be used for:

[0153] The message identifier and the corresponding first conversation list are recorded in the corresponding relationship.

[0154] In summary, the embodiment of the present application provides a mobile terminal, which can determine the target session list based on the message identifier of the received communication message and the correspondence between the service identifier and the session list, and then display the communication message in the target session list. Since the target session list corresponds to the service identifier of the communication message, and an SMS number can correspond to at least one service identifier, for multiple communication messages with the same SMS number but different service identifiers, the mobile terminal provided by the embodiment of the present application can display the multiple communication messages in different session lists. Compared with the related art of displaying the multiple communication messages in the same session list, the mobile terminal provided by the embodiment of the present application has a richer way of displaying communication messages.

[0155] like Figure 7As shown, the mobile terminal 110 may further include: a display unit 130, a radio frequency (RF) circuit 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a Bluetooth module 180, a power supply 190, and a camera 121 and other components.

[0156] Among them, the camera 121 can be used to capture static pictures or videos. The object generates an optical picture through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processor 1101 to convert it into a digital picture signal.

[0157] The processor 1101 is the control center of the mobile terminal 110. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the mobile terminal 110 and processes data by running or executing software programs stored in the memory 140 and calling data stored in the memory 140. In some embodiments, the processor 1101 may include one or more processing units; the processor 1101 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the baseband processor mainly processes wireless communication. It is understandable that the above-mentioned baseband processor may not be integrated into the processor 1101. In the present application, the processor 1101 can run an operating system and an application program, can control the user interface display, and can implement the display method of the communication message of the mobile terminal provided in the embodiment of the present application. In addition, the processor 1101 is coupled to the input unit and the display unit 130.

[0158] The display unit 130 may be used to receive input digital or character information, generate signal input related to user settings and function control of the mobile terminal 110, and optionally, the display unit 130 may also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the mobile terminal 110. The display unit 130 may include a display screen 131 disposed on the front of the mobile terminal 110. The display screen 131 may be configured in the form of a liquid crystal display, a light emitting diode, etc. The display unit 130 may be used to display various graphical user interfaces described in this application.

[0159] The display unit 130 includes: a display screen 131 and a touch screen 132 disposed on the front of the mobile terminal 110. The display screen 131 can be used to display preview images. The touch screen 132 can collect user touch operations on or near it, such as clicking a button, dragging a scroll box, etc. Among them, the touch screen 132 can be covered on the display screen 131, and the touch screen 132 can also be integrated with the display screen 131 to realize the input and output functions of the mobile terminal 110. After integration, it can be simply called a touch display screen.

[0160] The memory 140 can be used to store software programs and data. The processor 1101 executes various functions and data processing of the mobile terminal 110 by running the software programs or data stored in the memory 140. The memory 140 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 140 stores an operating system that enables the mobile terminal 110 to run. In the present application, the memory 140 can store an operating system and various application programs, and can also store a code for executing the display of communication messages of the mobile terminal provided in the embodiment of the present application.

[0161] The RF circuit 150 can be used to receive and send signals during the process of sending and receiving information or making calls. It can receive downlink data from the base station and hand it over to the processor 1101 for processing; it can send uplink data to the base station. Generally, the RF circuit includes but is not limited to antennas, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer and other devices.

[0162] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 110. The audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output. The mobile terminal 110 can also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is output to the RF circuit 150 to be sent to, for example, another terminal, or the audio data is output to the memory 140 for further processing. In this application, the microphone 162 can obtain the user's voice.

[0163] Wi-Fi is a short-range wireless transmission technology. The mobile terminal 110 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 170, which provides users with wireless broadband Internet access.

[0164] The Bluetooth module 180 is used to exchange information with other Bluetooth devices having Bluetooth modules through the Bluetooth protocol. For example, the mobile terminal 110 can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 180 to exchange data.

[0165] The mobile terminal 110 also includes a power supply 190 (such as a battery) for supplying power to various components. The power supply can be logically connected to the processor 1101 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption. The mobile terminal 110 can also be configured with a power button for turning on and off the terminal, as well as locking the screen and other functions.

[0166] The mobile terminal 110 may include at least one sensor 1110, such as a motion sensor 11101, a distance sensor 11102, a fingerprint sensor 11103, and a temperature sensor 11104. The mobile terminal 110 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.

[0167] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the mobile terminal and each device described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0168] Figure 8 It is a software structure diagram of the mobile terminal provided in the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime environment (android runtime, ART) and the system library, and the kernel layer.

[0169] The application layer can include a series of application packages. Figure 8 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0170] like Figure 8 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0171] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0172] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, pictures, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0173] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0174] The phone manager is used to provide communication functions of the mobile terminal 110, such as management of call status (including connection, disconnection, etc.).

[0175] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0176] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt tone is emitted, the communication terminal vibrates, and the indicator light flashes.

[0177] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0178] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0179] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0180] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as openGL ES), 2D graphics engine (such as SGL), etc.

[0181] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0182] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0183] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.

[0184] A 2D graphics engine is a drawing engine for 2D drawings.

[0185] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0186] The embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded by a processor and executes the method for displaying communication messages of a mobile terminal provided in the above embodiment, for example Figure 1 or Figure 2 The method shown.

[0187] The present application also provides a computer program product including instructions. When the computer program product is run on a computer, the computer executes the method for displaying communication messages of a mobile terminal provided in the above embodiment, for example Figure 1 or Figure 2 The method shown.

[0188] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0189] It should be understood that the "and / or" mentioned in this article indicates that there may be three relationships. For example, A and / or B may indicate that A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated with each other are in an "or" relationship. In addition, the term "at least one" in this application means one or more, and the term "plurality" in this application means two or more.

[0190] In the present application, the terms "first", "second", etc. are used to distinguish between identical or similar items with substantially identical effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limitation on the quantity and execution order. For example, without departing from the scope of the various examples described, the first correspondence table may be referred to as the second correspondence table, and similarly, the second correspondence table may be referred to as the first correspondence table.

[0191] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A mobile terminal, characterized in that: The mobile terminal comprises: A display screen, used for displaying communication messages; Processor for: Receiving a communication message sent by an operator server and a message identifier of the communication message, wherein the message identifier includes a service identifier and a short message service number, and one short message service number corresponds to at least one service identifier; When the message identifier of the communication message is a first service identifier, controlling the display screen to display the communication message in a first conversation list, the first conversation list being a conversation list corresponding to the first service identifier, and the first conversation list also displaying a first category of short messages; When the message identifier of the communication message is the second service identifier, controlling the display screen to display the communication message in a second conversation list, the second conversation list being a conversation list corresponding to the second service identifier, and the second conversation list further displaying a second type of short message; The short message service numbers corresponding to the first service identifier and the second service identifier are the same, and the short message service numbers of the first category short messages and the second category short messages are the same.

2. The mobile terminal according to claim 1, characterized in that: The processor is further configured to: Based on the correspondence between the service identifier and the session list, determining the session list corresponding to the service identifier in the message identifier as the target session list; The display screen is controlled to display the communication message in the target conversation list.

3. The mobile terminal according to claim 2, characterized in that: The processor is further configured to: If it is determined based on the correspondence between the service identifier and the session list that the session list corresponding to the service identifier in the message identifier does not exist in the multiple created session lists, a new third session list is created; The display screen is controlled to display the communication message in the third conversation list.

4. The mobile terminal according to claim 3, characterized in that: The processor is further configured to: The service identifier in the message identifier and the corresponding third session list are added to the correspondence between the service identifier and the session list.

5. The mobile terminal according to any one of claims 1 to 4, characterized in that: The communication message is a Rich Communication Suite (RCS) message, the message identifier of the communication message includes a service identifier of the RCS message and a short message service number of the RCS message, and the processor is further configured to: The display screen is controlled to display the service identifier of the RCS message and the SMS service number of the RCS message in a session list corresponding to the service identifier of the RCS message.

6. The mobile terminal according to claim 5, characterized in that: The service identifier of the RCS message is the address of the sender of the RCS message, and the SMS service number of the RCS message is a dedicated number of the communication network operator, or a public service number permitted by the user.

7. The mobile terminal according to any one of claims 1 to 4, characterized in that: The processor is further configured to: Controlling the display screen to display a message list, wherein the message list includes a name and an icon of each conversation list in a plurality of conversation lists; In response to a user's touch operation on the icon of the fourth conversation list, the display screen is controlled to display a detail interface of the fourth conversation list, wherein the detail interface includes a service identifier and a short message service number corresponding to the fourth conversation list.

8. The mobile terminal according to claim 7, characterized in that: The details interface also includes: one or more of the service introduction, account subject, provider, service type, callback phone, email address, service website and detailed address corresponding to the fourth conversation list.

9. A method for displaying a communication message, characterized in that: The method comprises: Receiving a communication message sent by an operator server and a message identifier of the communication message, wherein the message identifier includes a service identifier and a short message service number, and one short message service number corresponds to at least one service identifier; In a case where the message identifier of the communication message is the first service identifier, displaying the communication message in a first conversation list, the first conversation list being a conversation list corresponding to the first service identifier, and the first category of short messages being further displayed in the first conversation list; In a case where the message identifier of the communication message is the second service identifier, displaying the communication message in a second conversation list, the second conversation list being a conversation list corresponding to the second service identifier, and the second category of short messages being further displayed in the second conversation list; The short message service numbers corresponding to the first service identifier and the second service identifier are the same, and the short message service numbers of the first category short messages and the second category short messages are the same.

Citation Information

Patent Citations

  • Session message display method and mobile terminal

    CN107707461A

  • Rich media message presenting method and device

    CN109120517A