WO2019076372A1 - Session message display method, and mobile terminal - Google Patents

Session message display method, and mobile terminal Download PDF

Info

Publication number
WO2019076372A1
WO2019076372A1 PCT/CN2018/111020 CN2018111020W WO2019076372A1 WO 2019076372 A1 WO2019076372 A1 WO 2019076372A1 CN 2018111020 W CN2018111020 W CN 2018111020W WO 2019076372 A1 WO2019076372 A1 WO 2019076372A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
session
session message
reply
target
Prior art date
Application number
PCT/CN2018/111020
Other languages
French (fr)
Chinese (zh)
Inventor
杨章
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2019076372A1 publication Critical patent/WO2019076372A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a method for displaying a session message and a mobile terminal.
  • an embodiment of the present disclosure provides a method for displaying a session message, including:
  • the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message;
  • an embodiment of the present disclosure further provides a method for displaying a session message, including:
  • the reply session message is displayed below the target session message in the session interface.
  • an embodiment of the present disclosure further provides a mobile terminal, including:
  • a locking module configured to lock a target session message in the session interface, and display the target session message in the session interface
  • a generating module configured to obtain the input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target session Reply message of the message;
  • a display module configured to display the reply session message below the target session message in the session interface, and send the reply session message to a server.
  • an embodiment of the present disclosure further provides a mobile terminal, including:
  • a receiving module configured to receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message;
  • a display module configured to display, according to the message identifier, the reply session message in a session interface adjacent to the target session message.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor, a memory, and a program stored on the memory and executable on the processor, where the program is implemented by the processor.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor, a memory, and a program stored on the memory and executable on the processor, where the program is implemented by the processor.
  • an embodiment of the present disclosure further provides a computer readable storage medium, where the program is stored on a computer readable storage medium, and when the program is executed by the processor, the session provided by the embodiment of the first aspect is implemented. The steps of the message display method.
  • an embodiment of the present disclosure further provides a computer readable storage medium, where the program is stored on a computer readable storage medium, and when the program is executed by the processor, the session provided by the second embodiment of the invention is implemented. The steps of the message display method.
  • FIG. 1 is a flowchart of a method for displaying a session message according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a session interface according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of another method for displaying session information according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of another session interface provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of another session interface provided by an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of another method for displaying session information according to an embodiment of the present disclosure.
  • FIG. 7 is a flowchart of another method for displaying session information according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of another session interface according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a method for displaying a session message according to an embodiment of the present disclosure. As shown in FIG. 1 , the following steps 101 to 103 are included.
  • Step 101 Lock a target session message in the session interface, and display the target session message on the session interface.
  • the session message is a chat communication message with text, voice, picture or video information that can be used for communication by the user;
  • the session interface can be a session interface of an application with instant communication function, such as a chat.
  • the target session message may be any one of the session messages already existing in the message record; the target session message may be understood as a session message that the user wants to reply to. .
  • the target session message in the locked session interface can be understood as selecting a certain session message displayed on the session interface to perform a specific operation on the selected session message, such as prohibiting scrolling or floating display. For example, a certain message such as A, B, C, and D is displayed in the session interface. At this time, the user locks B, that is, after selecting B from a plurality of messages such as ABCD, B will prohibit scrolling.
  • the display of the target session message in the session interface can be understood as a plurality of session messages that are desired to be replied.
  • the session message is selected and displayed on the session interface.
  • Step 102 Acquire an input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target session message. Reply message.
  • the session content may be content for the user to exchange for text, voice, and the like input by the user for the message that is to be replied;
  • the reply session message is a message corresponding to the session content generated according to the session content; For example, the user inputs a text content of “You wait a moment, I will reply you immediately” through the virtual keyboard, and the terminal generates a session message corresponding to the text content according to the text content;
  • the message identifier may be a time series number or The number of the system settings, etc.
  • the message identifier indicates that the reply session message is a reply message of the target session message
  • further processing or setting may be performed based on the message identifier.
  • the reply session message may include only one session message, and may also include multiple session messages.
  • a session message is input.
  • the application automatically unlocks and resumes normal mode; this situation is for a session message that only needs one or two messages to complete the communication, because locking the session message to reply is only a temporary display or input mode, considering the user is large Part of the time is in the normal display or input mode, so immediately after switching to the reply session message, switch back to the normal mode, without delaying the normal operation of the user.
  • the user may need to input a plurality of session messages, and the user can input the plurality of session messages at this time. End the lock manually.
  • there is no restriction on the specific application scenario as long as the user can smoothly complete the communication of a certain session message without affecting the normal operation function.
  • Step 103 Display, according to the message identifier, the reply session message in a lower side of the session interface adjacent to the target session message, and send the reply session message to a server.
  • the reply session message is generally understood to be a message carrying the session content and a series of data packets, and the displaying the reply session message may be understood as displaying the session content of the reply session message, for example, Text, images, audio or video.
  • the displaying the reply session message according to the message identifier may be understood as a logical rule corresponding to the message identifier.
  • the rule for displaying the session message set by the session application is displayed in time series, then, when the message is When the sequence number is identified, the reply session message is displayed according to the time series logic rule corresponding to the sequence number.
  • the rule for displaying the session message set by the session application is displayed according to the number of the system itself. Then, when the message identifier is a numbering rule corresponding to the number number of the system, the reply session message is displayed. .
  • this is not specifically limited, as long as the reply session message can be displayed in the session interface adjacent to the target session message according to the logic rule.
  • the effect of the reply session message is displayed below the target session message in the session interface; it can be understood that the message input by the user for the message to be replied is directly inserted into the display.
  • Below the message that you want to reply for example, as shown in Figure 2, the user has locked a message sent by A, and after inputting the "This is the case" reply session message, it is directly inserted into A and B. Between messages.
  • sending and sending the reply session message to the server may be understood as sending the reply session message to the server after displaying the reply session message locally.
  • the reply session message is sent to the server, and the session message carries a message identifier, and the purpose may be that the reply session message is sent to other mobile terminals by the server, so that other terminals can also be The message identifies that the reply session message is displayed below the target session message in the session interface; thereby making communication more convenient.
  • the mobile terminal may be a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), or a mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device).
  • PDA personal digital assistant
  • Mobile Internet Device MID
  • Wearable Device Wearable Device
  • the mobile terminal can display the replied session message directly below the target session message, so that the process of the user communicating around a certain session message is smoother.
  • FIG. 3 is a flowchart of another method for displaying a session message according to an embodiment of the present disclosure.
  • the main difference between this embodiment and the previous embodiment is that the embodiment controls the session interface to stay at the display position of the target session message. As shown in FIG. 3, the following steps 301 to 303 are included.
  • Step 301 Lock a target session message in the session interface, and control the session interface to stay at a display position of the target session message.
  • the controlling the session interface to stay at the display position of the target session message may be understood as controlling the session interface to stop the automatic scroll display of the session message, that is, controlling the session interface to stay in the target session locked by the user.
  • the location where the message is displayed in the session interface For example, in a group chat, the user locks a message that wants to reply, and the session interface that should automatically scroll and display the latest reply message in real time stops the automatic scrolling, and the session interface stays locked by the user. The location of the message displayed in the session interface, no longer showing the latest reply message in real time.
  • the mobile terminal can reply to the locked session message without being missed by other messages, thereby facilitating the user to reply against the locked session message.
  • step 301 is optional.
  • step 301 can be replaced with a target session message in the locked session interface, and the target session message is displayed in a floating manner in the session interface.
  • the floating display of the target session message in the session interface may be understood as: generating a window of a preset size, the window displaying the content of the target session message, and superimposing the window on the session interface
  • the upper layer of the session message, and other settings are the default state; in which, the parameters such as transparency, background color, and font of the window can also be set.
  • the locked session message is currently displayed at the top of the session interface, and the suspended display content can also be displayed floating.
  • the mobile terminal can display the target session message in a floating manner in the session interface, so that the user can input the message according to the target session message displayed in suspension, and can make the user view other messages.
  • the target session message in the locked session interface includes:
  • a lock button corresponding to each session message is displayed. If a click operation is received, the session message corresponding to the click button of the click operation is used as the session message. Target session message and lock the target session message.
  • the first preset location may be the right side of each session message, and may be other locations, for example, may also be the left and upper right of each session message.
  • Fang et al can be set according to the user's habits, and is subject to the user's click operation.
  • the mobile terminal can display a lock button in the vicinity of each session message, thereby making it easier for the user to perform a click operation.
  • the locking operation on the session message is not a normal operation after all, the user usually locks the session message when there is a special need, so after the target session message is locked by clicking the lock button, When the user enters the message that he or she wants to reply, he can unlock it by clicking the lock button again. This way, you can return to the regular session message input or display mode.
  • the locking time can also be set, and if the user is detected that the unlocking time is not unlocked, the locked session message is automatically unlocked. This can not delay the normal use of the user.
  • session message after the session message is unlocked, it can be automatically scrolled down slowly, so that the user can view other session messages and lock the other session messages that he wants to lock again.
  • the background color of the target session message is different from the background color of other session messages in the session interface.
  • the background color of the target session message may be understood as a background color of a dialog box or window or the like displaying the session content of the target session message.
  • the style of the target session message that is, the style of the dialog box or the window displaying the session content of the target session message may be separately set, for example, the window of the ordinary session message is a common dialog bubble form. Then, the window of the session message that you want to lock can be set to a circle, a star, or the like.
  • the mobile terminal can make the target session message more conspicuous, thereby making it easier for the user to distinguish the target session message from other session messages, making it easier to reply to the session message.
  • Step 302 Acquire an input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target session message. Reply message.
  • the message identifier may be further processed or set based on the message identifier.
  • the reply session message may include only one session message, and may also include multiple session messages.
  • a session message is input, and the application is now Automatically unlock and resume normal mode; this situation is for a session message that only needs one or two messages to complete the communication, because locking the session message to reply is only a temporary display or input mode, considering the user most of the time In normal display or input mode.
  • the mobile terminal immediately switches back to the normal mode after inputting the reply session message, so that the normal operation of the user can be prevented.
  • the user may need to input a plurality of session messages, and the user can input the plurality of session messages at this time. End the lock manually.
  • there is no restriction on the specific application scenario as long as the user can smoothly complete the communication of a certain session message without affecting the normal operation function.
  • Step 303 Display, according to the message identifier, the reply session message in a lower side of the session interface adjacent to the target session message, and send the reply session message to a server.
  • the sending the reply session message to the server, where the session message carries a message identifier the purpose of which may be that the reply session message is sent to other mobile terminals by the server, so that other terminals are also
  • the reply session message may be displayed in the session interface adjacent to the target session message according to the message identifier; thereby making communication more convenient.
  • the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
  • the step of displaying the reply session message and sending the reply session message to the server in the lower part of the session interface adjacent to the target session message according to the message identifier includes:
  • the preset relationship between the sequence number and the sequence number of the target session message may be a sequence number corresponding to the time of the session message.
  • the sequence number of the locked session message may be 20170819152514, and the user replies to the session message.
  • the serial number may be 201708191525141, 201708191525142; in addition, the serial number generated according to the ID of the session message may be corresponding, for example, the sequence number of the message already existing in the session interface may be 1, 2, 3, 4, etc., and the locked session message is 6, the user's reply session message number can be 61, 62 or 63, and so on.
  • the mobile terminal does not affect the overall logic of the session message display, and can directly display the reply session message of the user directly under the message that wants to reply according to the correspondence between the sequence number and the session message, thereby facilitating the user to view the reply session message and The message you want to reply to.
  • the corresponding reply session message input by the user may be sequentially displayed according to the user lock sequence.
  • the A user first locks the target session message
  • the B user locks the target session message after the A user
  • the C user locks the target session message after the B user
  • the target session message is adjacent.
  • the first is to display all the reply session messages input by the A user.
  • Below the last reply session message of the A user is displayed all the reply session messages input by the B user, and displayed under the last reply session message of the B user. Is all reply session messages entered by the C user. In this way, when there are multiple users to the same target session message, the session message can be displayed more smoothly, which facilitates the multiple users to reply.
  • the message that is to be replied is not affected by the new new session message, and the user is more convenient to reply and communicate.
  • the mobile terminal can directly display the replied session message below the target session message, thereby The process of communicating users around a session message is smoother.
  • FIG. 6 is a flowchart of another method for displaying a session message according to an embodiment of the present disclosure. As shown in FIG. 6, the following steps 601 and 602 are included.
  • Step 601 Receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message.
  • the execution body of the step may be a mobile terminal other than the mobile terminal in the foregoing two embodiments.
  • user A and user B perform a chat session through instant messaging software. After user A locks and responds to a session message, the user sends a reply message to the server, and user B's mobile terminal receives the message sent by the server. Reply message sent by user A.
  • User B's mobile terminal is the execution body of step 601.
  • Step 602 Display, according to the message identifier, the reply session message in a session interface adjacent to the target session message.
  • the session interface is a session interface of the mobile terminal that receives the reply session message sent by the server.
  • the mobile terminal may be a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), or a mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device).
  • PDA personal digital assistant
  • Mobile Internet Device MID
  • Wearable Device Wearable Device
  • the mobile terminal can display the replied session message directly below the target session message, so that the process of the user communicating around a certain session message is smoother.
  • FIG. 7 is a flowchart of another method for displaying a session message according to an embodiment of the present disclosure.
  • the message identifier includes a sequence number of the reply session message, and the sequence number has a preset relationship with the sequence number of the target session message. As shown in FIG. 7, the following steps 701 and 702 are included.
  • Step 701 Receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message.
  • step 701 has been described in the step 602 in the previous embodiment, and details are not described herein again.
  • Step 702 Display, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, the reply session message is displayed in the session interface adjacent to the target session message.
  • the sequence number of the reply session message is a sequence number included in the message identifier, and the sequence number has a preset relationship with the sequence number of the target session message.
  • the method further includes:
  • the reply session message is displayed on the session interface.
  • the second preset location of the session interface may be the upper right corner of the session interface, and the reminder identifier may be a user avatar of the reply message; thus, the mobile terminal can receive the reply session.
  • the reminder identifier is displayed on the session interface, so that the responded user can easily identify which user replies, and can also find the message replied by the user who responds more conveniently, and finally is more conducive to communication and interaction.
  • FIG. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the mobile terminal 900 includes a locking module 901, a generating module 902, and a display module 903, where:
  • the locking module 901 is configured to lock a target session message in the session interface, and display the target session message on the session interface.
  • a generating module 902 configured to acquire the input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target Reply message for the session message.
  • the display module 903 is configured to display the reply session message below the target session message in the session interface, and send the reply session message to the server.
  • the locking module 901 is configured to lock a target session message in the session interface, and display the target session message in a floating manner in the session interface;
  • the locking module 901 is configured to lock a target session message in the session interface, and control the session interface to stay at a display position of the target session message.
  • the locking module 901 is configured to display, in a first preset position of each session message in the session interface, a lock button corresponding to each session message, and if the click operation is received, The session message corresponding to the lock button clicked by the click operation is used as the target session message, and the target session message is locked.
  • the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
  • the display module 903 is configured to display, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, adjacent to the target session message in the session interface. The replying to the session message and sending the reply session message to the server.
  • the background color of the target session message is different from the background color of other session messages in the session interface.
  • the mobile terminal 900 can implement various processes implemented by the mobile terminal in the method embodiments of FIG. 1 and FIG. 3, and details are not described herein again to avoid repetition.
  • the mobile terminal 900 of the embodiment of the present disclosure can enable the replied session message to be directly displayed under the target session message, thereby making the process of the user communicating around a certain session message more smooth.
  • FIG. 10 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • the mobile terminal 100 includes a receiving module 1001 and a display module 1002, where:
  • the receiving module 1001 is configured to receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message.
  • the display module 1002 is configured to display the reply session message in the session interface adjacent to the target session message according to the message identifier.
  • the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
  • the display module 1002 is configured to display, according to the preset relationship that the sequence number of the reply session message and the sequence number of the target session message exist, adjacent to the target session message in the session interface. Reply to the session message.
  • the mobile terminal 1000 further includes:
  • the setting module 1003 is configured to display a reminder identifier in a second preset position of the session interface if the reply session message is received;
  • the reminding module 1004 is configured to display the reply session message on the session interface if a click operation for the reminder identifier is detected.
  • the mobile terminal 1000 can implement various processes implemented by the mobile terminal in the method embodiments of FIG. 6 to FIG. 7. To avoid repetition, details are not described herein again.
  • the mobile terminal 1000 of the embodiment of the present disclosure can enable the replied session message to be directly displayed under the target session message, thereby making the process of the user communicating around a certain session message more smooth.
  • FIG. 12 is a schematic diagram showing the hardware structure of a mobile terminal that implements the embodiments of FIG. 1 and FIG. 3 of the present disclosure
  • the mobile terminal 1200 includes, but is not limited to, a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and Power supply 1211 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 12 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
  • the processor 1210 is configured to: lock a target session message in the session interface, and display the target session message on the session interface; obtain the input session content, and generate a reply session message according to the input session content, where
  • the reply session message includes a message identifier, the message identifier is used to indicate that the reply session message is a reply message of the target session message, and according to the message identifier, adjacent to the target session message in the session interface Below, the reply session message is displayed.
  • the radio unit 1201 is configured to send the reply session message to the server.
  • the target session message in the locked session interface executed by the processor 1210, and displaying the target session message on the session interface includes:
  • the target session message in the session interface is locked, and the session interface is controlled to stay at the display position of the target session message.
  • the target session message in the locked session interface that is executed by the processor 1210 includes:
  • a lock button corresponding to each session message is displayed. If a click operation is received, the session message corresponding to the click button of the click operation is used as the session message. Target session message and lock the target session message.
  • the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
  • the reply session message is displayed below the target session message in the session interface.
  • the background color of the target session message is different from the background color of other session messages in the session interface.
  • the mobile terminal 1200 can implement various processes implemented by the mobile terminal in the foregoing embodiment. To avoid repetition, details are not described herein again.
  • the mobile terminal 1200 of the embodiment of the present disclosure can directly display the replied session message under the target session message, so that the process of the user communicating around a certain session message is smoother.
  • the radio frequency unit 1201 may be used for receiving and transmitting signals during and after receiving or transmitting information or a call, and specifically, receiving downlink data from the base station, and then processing the processor 1210; The uplink data is sent to the base station.
  • radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio unit 1201 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides wireless broadband Internet access to the user through the network module 1202, such as helping the user to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Moreover, the audio output unit 1203 may also provide an audio output (eg, a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 1200.
  • the audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1204 is for receiving an audio or video signal.
  • the input unit 1204 may include a graphics processing unit (GPU) 12041 and a microphone 12042, and the graphics processor 12041 images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 1206.
  • the image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202.
  • the microphone 12042 can receive sound and can process such sound as audio data.
  • the processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio frequency unit 1201 in the case of a telephone call mode.
  • the mobile terminal 1200 also includes at least one type of sensor 1205, such as a light sensor, motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 12061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 12061 when the mobile terminal 1200 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games).
  • sensor 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors and the like are not described here.
  • the display unit 1206 is for displaying information input by the user or information provided to the user.
  • the display unit 1206 can include a display panel 12061.
  • the display panel 12061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the user input unit 1207 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 1207 includes a touch panel 12071 and other input devices 12072.
  • the touch panel 12071 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 12071 or near the touch panel 12071. operating).
  • the touch panel 12071 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1210 receives commands from the processor 1210 and executes them.
  • the touch panel 12071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 1207 can also include other input devices 12072.
  • other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which are not described herein.
  • the touch panel 12071 can be overlaid on the display panel 12061.
  • the touch panel 12071 detects a touch operation thereon or nearby, the touch panel 12071 transmits to the processor 1210 to determine the type of the touch event, and then the processor 1210 according to the touch.
  • the type of event provides a corresponding visual output on display panel 12061.
  • the touch panel 12071 and the display panel 12061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated.
  • the input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 1208 is an interface in which an external device is connected to the mobile terminal 1200.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 1208 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 1200 or can be used at the mobile terminal 1200 and externally Data is transferred between devices.
  • Memory 1209 can be used to store software programs as well as various data.
  • the memory 1209 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 1209 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 1210 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1209, and recalling data stored in the memory 1209.
  • the mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal.
  • the processor 1210 may include one or more processing units; optionally, the processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
  • the processor mainly handles wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 1210.
  • the mobile terminal 1200 may further include a power source 1211 (such as a battery) for supplying power to various components.
  • a power source 1211 such as a battery
  • the power source 1211 may be logically connected to the processor 1210 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 1200 includes some functional modules not shown, and details are not described herein again.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 1210, a memory 1209, a computer program stored on the memory 1209 and executable on the processor 1210, and the computer program is executed by the processor 1210.
  • a mobile terminal including a processor 1210, a memory 1209, a computer program stored on the memory 1209 and executable on the processor 1210, and the computer program is executed by the processor 1210.
  • FIG. 13 is a schematic structural diagram of hardware of a mobile terminal that implements the embodiments of FIG. 6 to FIG. 7 of the present disclosure
  • the mobile terminal 1300 includes, but is not limited to, a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and Power supply 1311 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 13 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
  • the processor 1310 is configured to display, according to the message identifier, the reply session message in a session interface adjacent to the target session message.
  • the radio unit 1301 is configured to receive a reply session message sent by the server.
  • the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
  • the reply session message is displayed below the target session message in the session interface.
  • processor 1310 is further configured to:
  • the mobile terminal 1300 can implement various processes implemented by the mobile terminal in the foregoing embodiment. To avoid repetition, details are not described herein again.
  • the mobile terminal 1300 of the embodiment of the present disclosure can enable the replied session message to be directly displayed under the target session message, thereby making the process of the user communicating around a certain session message more smooth.
  • the radio frequency unit 1301 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the processor 1310; The uplink data is sent to the base station.
  • radio frequency unit 1301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio unit 1301 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides the user with wireless broadband Internet access through the network module 1302, such as helping the user to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1303 may convert the audio data received by the radio frequency unit 1301 or the network module 1302 or stored in the memory 1309 into an audio signal and output as a sound. Moreover, the audio output unit 1303 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) related to a specific function performed by the mobile terminal 1300.
  • the audio output unit 1303 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1304 is for receiving an audio or video signal.
  • the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042, and the graphics processor 13041 images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
  • the data is processed.
  • the processed image frame can be displayed on display unit 1306.
  • the image frames processed by the graphics processor 13041 may be stored in the memory 1309 (or other storage medium) or transmitted via the radio unit 1301 or the network module 1302.
  • the microphone 13042 can receive sound and can process such sound as audio data.
  • the processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 1301 in the case of a telephone call mode.
  • the mobile terminal 1300 also includes at least one type of sensor 1305, such as a light sensor, motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 13061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 13061 when the mobile terminal 1300 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games).
  • sensor 1305 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors and the like are not described here.
  • the display unit 1306 is for displaying information input by the user or information provided to the user.
  • the display unit 1306 can include a display panel 13061.
  • the display panel 13061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the user input unit 1307 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 1307 includes a touch panel 13071 and other input devices 13072.
  • the touch panel 13071 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 13071 or near the touch panel 13071. operating).
  • the touch panel 13071 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1310 receives the commands from the processor 1310 and executes them.
  • the touch panel 13071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 1307 can also include other input devices 13072.
  • other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
  • the touch panel 13071 can be overlaid on the display panel 13061. After the touch panel 13071 detects a touch operation thereon or nearby, the touch panel 13071 transmits to the processor 1310 to determine the type of the touch event, and then the processor 1310 according to the touch. The type of event provides a corresponding visual output on display panel 13061.
  • the touch panel 13071 and the display panel 13061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 13071 and the display panel 13061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 1308 is an interface in which an external device is connected to the mobile terminal 1300.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 1308 can be configured to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more components within the mobile terminal 1300 or can be used at the mobile terminal 1300 and externally Data is transferred between devices.
  • Memory 1309 can be used to store software programs as well as various data.
  • the memory 1309 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 1309 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 1310 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1309, and recalling data stored in the memory 1309.
  • the mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal.
  • the processor 1310 may include one or more processing units; optionally, the processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
  • the processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 1310.
  • the mobile terminal 1300 may further include a power source 1311 (such as a battery) for supplying power to various components.
  • a power source 1311 such as a battery
  • the power source 1311 may be logically connected to the processor 1310 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 1300 includes some functional modules not shown, and details are not described herein again.
  • the embodiment of the present disclosure further provides a mobile terminal, including a processor 1310, a memory 1309, a computer program stored on the memory 1309 and executable on the processor 1310, the computer program being executed by the processor 1310.
  • a mobile terminal including a processor 1310, a memory 1309, a computer program stored on the memory 1309 and executable on the processor 1310, the computer program being executed by the processor 1310.
  • the embodiment of the present disclosure further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for displaying the session message shown in FIG. 1 and FIG. 3 is implemented.
  • the various processes can achieve the same technical effects. To avoid repetition, we will not repeat them here.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the embodiment of the present disclosure further provides another computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for displaying the session message shown in FIG. 6 and FIG. 7 is implemented.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Provided are a session message display method, and a mobile terminal. The method comprises: locking a target session message in a session interface, and displaying the target session message on the session interface; acquiring input session content, and generating a reply session message according to the input session content, wherein the reply session message comprises a message identifier, and the message identifier is used to indicate that the reply session message is a reply message of the target session message; and displaying, according to the message identifier, the reply session message on a lower part, adjacent to the target session message, of the session interface, and sending the reply session message to a server.

Description

会话消息的显示方法及移动终端Method for displaying session message and mobile terminal
相关申请的交叉引用Cross-reference to related applications
本申请主张在2017年10月20日在中国提交的中国专利申请No.201710996977.7的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. JP-A No. No. No. No. No. No. No. No. No.
技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种会话消息的显示方法及移动终端。The present disclosure relates to the field of communications technologies, and in particular, to a method for displaying a session message and a mobile terminal.
背景技术Background technique
随着移动终端的迅速发展,移动终端已经成为人们生活中必不可少的一种工具,特别是会话应用程序,对用户发挥着越来越重要的作用。然而,用户通过移动终端的会话应用程序进行会话,当用户针对其他用户发送的某条会话消息中的某个话题的进行讨论交流时,用户正准备针对该会话消息进行回复,期间却不断被其他与该话题无关的会话消息插入打断;使得用户需要在夹杂着与该话题无关的会话消息的聊天记录中,反复查阅与该话题相关的消息才能进行有效的交流,从而导致整个交流过程不够顺畅。由此,移动终端通过会话应用发起的会话中,围绕某条会话消息进行交流的过程不够流畅。With the rapid development of mobile terminals, mobile terminals have become an indispensable tool in people's lives, especially the conversation application, which plays an increasingly important role for users. However, the user performs a session through the session application of the mobile terminal. When the user conducts discussion and discussion on a certain topic in a certain session message sent by another user, the user is preparing to reply to the session message, but is continuously being used by other users. The conversation message insertion interruption irrelevant to the topic; the user needs to repeatedly consult the message related to the topic in the chat record mixed with the conversation message irrelevant to the topic, so that the communication process is not smooth enough. . Therefore, in the session initiated by the session application by the mobile terminal, the process of communicating around a certain session message is not smooth enough.
发明内容Summary of the invention
第一方面,本公开实施例提供了一种会话消息的显示方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for displaying a session message, including:
锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息;Locking a target session message in the session interface, and displaying the target session message on the session interface;
获取输入的会话内容,并根据所述输入的会话内容生成回复会话消息,所述回复会话消息包括消息标识,所述消息标识用于指示所述回复会话消息为所述目标会话消息的回复消息;Obtaining the input session content, and generating a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message;
根据所述消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。Determining, according to the message identifier, the reply session message in a lower side of the session interface adjacent to the target session message, and sending the reply session message to a server.
第二方面,本公开实施例还提供了一种会话消息的显示方法,包括:In a second aspect, an embodiment of the present disclosure further provides a method for displaying a session message, including:
接收服务器发送的回复会话消息,所述回复会话消息携带有消息标识,所述消息标识用于指示所述回复会话消息为目标会话消息的回复消息;Receiving a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message;
根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。And according to the message identifier, the reply session message is displayed below the target session message in the session interface.
第三方面,本公开实施例还提供一种移动终端,包括:In a third aspect, an embodiment of the present disclosure further provides a mobile terminal, including:
锁定模块,用于锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息;a locking module, configured to lock a target session message in the session interface, and display the target session message in the session interface;
生成模块,用于获取输入的会话内容,并根据所述输入的会话内容生成回复会话消息,所述回复会话消息包括消息标识,所述消息标识用于指示所述回复会话消息为所述目标会话消息的回复消息;a generating module, configured to obtain the input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target session Reply message of the message;
显示模块,用于在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。a display module, configured to display the reply session message below the target session message in the session interface, and send the reply session message to a server.
第四方面,本公开实施例还提供一种移动终端,包括:In a fourth aspect, an embodiment of the present disclosure further provides a mobile terminal, including:
接收模块,用于接收服务器发送的回复会话消息,所述回复会话消息携带有消息标识,所述消息标识用于指示所述回复会话消息为目标会话消息的回复消息;a receiving module, configured to receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message;
显示模块,用于根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。And a display module, configured to display, according to the message identifier, the reply session message in a session interface adjacent to the target session message.
第五方面,本公开实施例还提供一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上第一方面所述的会话消息的显示方法的步骤。In a fifth aspect, an embodiment of the present disclosure further provides a mobile terminal, including a processor, a memory, and a program stored on the memory and executable on the processor, where the program is implemented by the processor The steps of the method of displaying a session message as described in the first aspect above.
第六方面,本公开实施例还提供一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上第二方面所述的会话消息的显示方法的步骤。In a sixth aspect, an embodiment of the present disclosure further provides a mobile terminal, including a processor, a memory, and a program stored on the memory and executable on the processor, where the program is implemented by the processor The steps of the method of displaying a session message as described in the second aspect above.
第七方面,本公开实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现上述第一方面的发明实施例提供的会话消息的显示方法的步骤。In a seventh aspect, an embodiment of the present disclosure further provides a computer readable storage medium, where the program is stored on a computer readable storage medium, and when the program is executed by the processor, the session provided by the embodiment of the first aspect is implemented. The steps of the message display method.
第八方面,本公开实施例还提供一种计算机可读存储介质,所述计算机 可读存储介质上存储有程序,所述程序被处理器执行时实现上述第二方面的发明实施例提供的会话消息的显示方法的步骤。In an eighth aspect, an embodiment of the present disclosure further provides a computer readable storage medium, where the program is stored on a computer readable storage medium, and when the program is executed by the processor, the session provided by the second embodiment of the invention is implemented. The steps of the message display method.
附图说明DRAWINGS
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings used in the description of the embodiments of the present disclosure will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present disclosure. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图1是本公开实施例提供的一种会话消息的显示方法的流程图;FIG. 1 is a flowchart of a method for displaying a session message according to an embodiment of the present disclosure;
图2是本公开实施例提供的一种会话界面示意图;2 is a schematic diagram of a session interface according to an embodiment of the present disclosure;
图3是本公开实施例提供的另一种会话信息的显示方法的流程图;FIG. 3 is a flowchart of another method for displaying session information according to an embodiment of the present disclosure;
图4是本公开实施例提供的另一种会话界面示意图;4 is a schematic diagram of another session interface provided by an embodiment of the present disclosure;
图5是本公开实施例提供的另一种会话界面示意图;FIG. 5 is a schematic diagram of another session interface provided by an embodiment of the present disclosure; FIG.
图6是本公开实施例提供的另一种会话信息的显示方法的流程图;FIG. 6 is a flowchart of another method for displaying session information according to an embodiment of the present disclosure;
图7是本公开实施例提供的另一种会话信息的显示方法的流程图;FIG. 7 is a flowchart of another method for displaying session information according to an embodiment of the present disclosure;
图8是本公开实施例提供的另一种会话界面示意图;FIG. 8 is a schematic diagram of another session interface according to an embodiment of the present disclosure;
图9是本公开实施例提供的一种移动终端的结构示意图;FIG. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure;
图10是本公开实施例提供的另一种移动终端的结构示意图;FIG. 10 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure;
图11是本公开实施例提供的另一种移动终端的结构示意图;FIG. 11 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure;
图12是本公开实施例提供的另一种移动终端的结构示意图;FIG. 12 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure;
图13是本公开实施例提供的另一种移动终端的结构示意图。FIG. 13 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
参见图1,图1是本公开实施例提供的会话消息的显示方法的流程图,如图1所示,包括以下步骤101至103。Referring to FIG. 1 , FIG. 1 is a flowchart of a method for displaying a session message according to an embodiment of the present disclosure. As shown in FIG. 1 , the following steps 101 to 103 are included.
步骤101、锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息。Step 101: Lock a target session message in the session interface, and display the target session message on the session interface.
其中,所述会话消息是可以为用户用于交流的带有文字、语音、图片或视频等信息的聊天交流消息;所述会话界面可以为带有即时通信功能的应用程序的会话界面,例如聊天应用、带有通信功能的音乐播放应用等;此外,所述目标会话消息可以为已经在消息记录中已经存在的任意一条会话消息;所述目标会话消息,可以理解为用户想要回复的会话消息。The session message is a chat communication message with text, voice, picture or video information that can be used for communication by the user; the session interface can be a session interface of an application with instant communication function, such as a chat. An application, a music playing application with a communication function, etc.; in addition, the target session message may be any one of the session messages already existing in the message record; the target session message may be understood as a session message that the user wants to reply to. .
所述锁定会话界面中的目标会话消息,可以理解为选定在会话界面显示的某一条会话消息,以便对选定后的会话消息执行特定操作,例如禁止滚动或者悬浮显示等。示例的,某一刻会话界面中显示有A、B、C和D等多条消息,此时用户对B进行锁定,即从ABCD等多条消息中选定B后,B将禁止滚动。The target session message in the locked session interface can be understood as selecting a certain session message displayed on the session interface to perform a specific operation on the selected session message, such as prohibiting scrolling or floating display. For example, a certain message such as A, B, C, and D is displayed in the session interface. At this time, the user locks B, that is, after selecting B from a plurality of messages such as ABCD, B will prohibit scrolling.
此外,由于会话消息的数量通常比较多,因此难以对所有会话消息在会话界面进行显示;而所述在所述会话界面显示所述目标会话消息,可以理解为将想要回复的会话消息从众多会话消息中挑选出来,并在所述会话界面进行显示。In addition, since the number of session messages is usually relatively large, it is difficult to display all session messages in the session interface; and the display of the target session message in the session interface can be understood as a plurality of session messages that are desired to be replied. The session message is selected and displayed on the session interface.
步骤102、获取输入的会话内容,并根据所述输入的会话内容生成回复会话消息,所述回复会话消息包括消息标识,所述消息标识用于指示所述回复会话消息为所述目标会话消息的回复消息。Step 102: Acquire an input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target session message. Reply message.
其中,所述会话内容,可以为用户针对想要回复的消息而输入的文本、语音等用于交流互动的内容;所述回复会话消息为根据所述会话内容而生成的与其相对应的消息;例如,用户通过虚拟键盘输入了“您稍等一下,我马上回复你。”的文本内容,则终端根据该文本内容生成与该文本内容相对应的会话消息;所述消息标识可以为时序序号或者系统设置的编号等。The session content may be content for the user to exchange for text, voice, and the like input by the user for the message that is to be replied; the reply session message is a message corresponding to the session content generated according to the session content; For example, the user inputs a text content of “You wait a moment, I will reply you immediately” through the virtual keyboard, and the terminal generates a session message corresponding to the text content according to the text content; the message identifier may be a time series number or The number of the system settings, etc.
此外,通过所述消息标识指示所述回复会话消息为所述目标会话消息的回复消息后,便可基于消息标识进行进一步的处理或者设置。In addition, after the message identifier indicates that the reply session message is a reply message of the target session message, further processing or setting may be performed based on the message identifier.
还应当注意,所述回复会话消息可以只包含一条会话消息,也可以包含多条会话消息,例如,用户在某聊天应用中对想要回复的消息进行锁定后,输入了一条会话消息,此时应用程序自动解除锁定,恢复正常模式;这种情 况针对只需要一两条消息即可完成交流的会话消息,因为锁定会话消息来进行回复毕竟只是一种临时的显示或输入模式,考虑到用户大部分时间处于正常的显示或输入模式,因此在输入完回复会话消息立即切换回正常的模式,可以不耽误用户的正常操作。It should also be noted that the reply session message may include only one session message, and may also include multiple session messages. For example, after the user locks the message that wants to reply in a chat application, a session message is input. The application automatically unlocks and resumes normal mode; this situation is for a session message that only needs one or two messages to complete the communication, because locking the session message to reply is only a temporary display or input mode, considering the user is large Part of the time is in the normal display or input mode, so immediately after switching to the reply session message, switch back to the normal mode, without delaying the normal operation of the user.
又例如另一种情形,由于用户想回复的消息所引起的话题不是一两条消息能够交流清楚的,因此用户可能需要输入多条会话消息,这个时候用户可以在输入完多条会话消息后,手动结束锁定。总之,对具体的应用情景不做限制,只要是能够达到使用户顺畅的完成对某条会话消息的交流,以及不影响正常操作功能即可。For another example, since the topic caused by the message that the user wants to reply is not one or two messages can be clearly communicated, the user may need to input a plurality of session messages, and the user can input the plurality of session messages at this time. End the lock manually. In short, there is no restriction on the specific application scenario, as long as the user can smoothly complete the communication of a certain session message without affecting the normal operation function.
步骤103、根据所述消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。Step 103: Display, according to the message identifier, the reply session message in a lower side of the session interface adjacent to the target session message, and send the reply session message to a server.
其中,所述回复会话消息通常理解为是携带了会话内容以及一系列数据包的消息,而所述显示所述回复会话消息则可以理解为,显示的为所述回复会话消息的会话内容,例如文字、图片、音频或视频等内容。The reply session message is generally understood to be a message carrying the session content and a series of data packets, and the displaying the reply session message may be understood as displaying the session content of the reply session message, for example, Text, images, audio or video.
所述根据所述消息标识显示回复会话消息,可以理解为按照所述消息标识对应的逻辑规则,例如,会话应用设定的显示会话消息的规则为按照时序先后来显示,那么,当所述消息标识为时序序号时,则按照时序序号所对应的时序逻辑规则,显示所述回复会话消息。The displaying the reply session message according to the message identifier may be understood as a logical rule corresponding to the message identifier. For example, the rule for displaying the session message set by the session application is displayed in time series, then, when the message is When the sequence number is identified, the reply session message is displayed according to the time series logic rule corresponding to the sequence number.
或者例如,会话应用设定的显示会话消息的规则为按照系统自带的数字编号来显示,那么,当所述消息标识为系统自带的数字编号所对应的编号规则,显示所述回复会话消息。Or, for example, the rule for displaying the session message set by the session application is displayed according to the number of the system itself. Then, when the message identifier is a numbering rule corresponding to the number number of the system, the reply session message is displayed. .
当然,还可以按照其他逻辑规则,对此并不作具体的限定,只要按照逻辑规则能够在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息即可。Certainly, according to other logic rules, this is not specifically limited, as long as the reply session message can be displayed in the session interface adjacent to the target session message according to the logic rule.
其次,所述在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息的效果;可以理解为,将用户针对想要回复的消息而输入的消息,直接插入显示在想要回复的消息的下方;示例地,如图2所示,用户对甲发送的某条消息锁定了,输入“就是这样的”这条回复会话消息后,便直接插入到甲、乙发送消息之间。Secondly, the effect of the reply session message is displayed below the target session message in the session interface; it can be understood that the message input by the user for the message to be replied is directly inserted into the display. Below the message that you want to reply; for example, as shown in Figure 2, the user has locked a message sent by A, and after inputting the "This is the case" reply session message, it is directly inserted into A and B. Between messages.
此外,所述以及向服务器发送所述回复会话消息,可以理解为是在本地对所述回复会话消息进行显示之后,再将所述回复会话消息发送至服务器。In addition, the sending and sending the reply session message to the server may be understood as sending the reply session message to the server after displaying the reply session message locally.
这样,便可排除其他与用户想要回复的消息无关的消息的干扰,而用户锁定想要回复的消息后输入的消息,与想要回复的消息便组成了互相关联的会话,从而提高了交流的顺畅程度。In this way, the interference of other messages unrelated to the message that the user wants to reply can be excluded, and the message entered by the user after locking the message that wants to reply, and the message that wants to reply form an interrelated conversation, thereby improving communication. The smoothness of the.
应当注意,所述向服务器发送所述回复会话消息,所述会话消息携带有消息标识,其目的可以为,通过服务器将所述回复会话消息下发到其他移动终端,以使其他终端也可以根据消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息;从而使沟通交流更加便捷。It should be noted that the reply session message is sent to the server, and the session message carries a message identifier, and the purpose may be that the reply session message is sent to other mobile terminals by the server, so that other terminals can also be The message identifies that the reply session message is displayed below the target session message in the session interface; thereby making communication more convenient.
本公开实施例中,上述移动终端可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present disclosure, the mobile terminal may be a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), or a mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device).
本公开实施例,移动终端能够使回复的会话消息直接在目标会话消息的下方显示,从而使用户围绕某条会话消息进行交流的过程更加流畅。In the embodiment of the present disclosure, the mobile terminal can display the replied session message directly below the target session message, so that the process of the user communicating around a certain session message is smoother.
参见图3,图3是本公开实施例提供的另一种会话消息的显示方法的流程图。本实施例与上个实施例的主要区别在于本实施例控制所述会话界面停留在所述目标会话消息的显示位置。如图3所示,包括以下步骤301至303。Referring to FIG. 3, FIG. 3 is a flowchart of another method for displaying a session message according to an embodiment of the present disclosure. The main difference between this embodiment and the previous embodiment is that the embodiment controls the session interface to stay at the display position of the target session message. As shown in FIG. 3, the following steps 301 to 303 are included.
步骤301、锁定会话界面中的目标会话消息,并控制所述会话界面停留在所述目标会话消息的显示位置。Step 301: Lock a target session message in the session interface, and control the session interface to stay at a display position of the target session message.
其中,所述控制所述会话界面停留在所述目标会话消息的显示位置,可以理解为控制所述会话界面停止对会话消息的自动滚动显示,即控制所述会话界面停留在用户锁定的目标会话消息在会话界面中显示的位置。示例地,在群聊时,用户对某一条想要回复的消息进行锁定,此时本应自动滚动并实时显示最新回复消息的会话界面,则停止了自动滚动,并且会话界面停留在用户锁定的消息在会话界面中显示的位置,不再实时显示最新回复消息。The controlling the session interface to stay at the display position of the target session message may be understood as controlling the session interface to stop the automatic scroll display of the session message, that is, controlling the session interface to stay in the target session locked by the user. The location where the message is displayed in the session interface. For example, in a group chat, the user locks a message that wants to reply, and the session interface that should automatically scroll and display the latest reply message in real time stops the automatic scrolling, and the session interface stays locked by the user. The location of the message displayed in the session interface, no longer showing the latest reply message in real time.
这样,移动终端能够对锁定的会话消息进行回复,而不会被其他消息顶掉,从而便于用户比照着锁定的会话消息进行回复。In this way, the mobile terminal can reply to the locked session message without being missed by other messages, thereby facilitating the user to reply against the locked session message.
需要说明的是,步骤301为可选的,例如:步骤301可以替换为锁定会 话界面中的目标会话消息,并在所述会话界面悬浮显示所述目标会话消息。It should be noted that step 301 is optional. For example, step 301 can be replaced with a target session message in the locked session interface, and the target session message is displayed in a floating manner in the session interface.
其中,所述在所述会话界面悬浮显示所述目标会话消息可以理解为,生成一个预设尺寸的窗口,该窗口显示有目标会话消息的内容,并将该窗口叠加在所述会话界面显示的会话消息的上层,而其他设置均为默认状态;其中,还可以对该窗口的透明度、背景颜色和字体等参数进行设置。示例地,如图4所示,锁定后的会话消息此时悬浮显示在会话界面的顶部,悬浮显示的内容还可以浮动展示。The floating display of the target session message in the session interface may be understood as: generating a window of a preset size, the window displaying the content of the target session message, and superimposing the window on the session interface The upper layer of the session message, and other settings are the default state; in which, the parameters such as transparency, background color, and font of the window can also be set. For example, as shown in FIG. 4, the locked session message is currently displayed at the top of the session interface, and the suspended display content can also be displayed floating.
这样,移动终端能够在会话界面悬浮显示目标会话消息,从而使用户即可以比照悬浮显示的目标会话消息来输入消息,又可以使用户查看其他消息。In this way, the mobile terminal can display the target session message in a floating manner in the session interface, so that the user can input the message according to the target session message displayed in suspension, and can make the user view other messages.
可选的,所述锁定会话界面中的目标会话消息,包括:Optionally, the target session message in the locked session interface includes:
在会话界面中的每条会话消息的第一预设位置,显示有与每条会话消息一一对应的锁定按钮,若接收到点击操作,将所述点击操作点击的锁定按钮对应的会话消息作为目标会话消息,并锁定所述目标会话消息。In the first preset position of each session message in the session interface, a lock button corresponding to each session message is displayed. If a click operation is received, the session message corresponding to the click button of the click operation is used as the session message. Target session message and lock the target session message.
其中,如图5所示,所述第一预设位置可以为所述每条会话消息的右方,当然,也可以为其他位置,例如还可以为所述每条会话消息的左方、右上方等;具体可以根据用户的习惯来设置,并以方便用户进行点击操作为准。As shown in FIG. 5, the first preset location may be the right side of each session message, and may be other locations, for example, may also be the left and upper right of each session message. Fang et al; can be set according to the user's habits, and is subject to the user's click operation.
这样,移动终端能够在每条会话消息的附近显示锁定按钮,从而使用户可以更加方便的进行点击操作。In this way, the mobile terminal can display a lock button in the vicinity of each session message, thereby making it easier for the user to perform a click operation.
此外,由于对会话消息的锁定操作毕竟不是常规操作,而用户通常都是在有特殊需求的情况下才会对会话消息来进行锁定操作,因此,在通过点击锁定按钮对目标会话消息进行锁定后,当用户输入完自己想要回复的消息后,可以通过再次点击锁定按钮来解锁。这样,便可以回归到常规的会话消息输入或显示模式。In addition, since the locking operation on the session message is not a normal operation after all, the user usually locks the session message when there is a special need, so after the target session message is locked by clicking the lock button, When the user enters the message that he or she wants to reply, he can unlock it by clicking the lock button again. This way, you can return to the regular session message input or display mode.
当然,还可以通过其他方式解锁,例如针对被锁定会话消息的滑动操作等,此外,还可以设置锁定时间,若检测到用户在锁定时间内没有进行解锁,则自动对被锁定的会话消息解锁,这样可以不耽误用户的常规使用。Of course, it can also be unlocked by other means, such as a sliding operation for the locked session message, etc. In addition, the locking time can also be set, and if the user is detected that the unlocking time is not unlocked, the locked session message is automatically unlocked. This can not delay the normal use of the user.
值得注意的是,在对会话消息进行解锁后,可以自动向下缓慢滚动,从而方便用户查阅其他会话消息以及再次对其他想要锁定的会话消息进行锁定。It is worth noting that after the session message is unlocked, it can be automatically scrolled down slowly, so that the user can view other session messages and lock the other session messages that he wants to lock again.
可选的,所述目标会话消息的背景颜色与所述会话界面中的其他会话消 息的背景颜色不同。Optionally, the background color of the target session message is different from the background color of other session messages in the session interface.
其中,所述目标会话消息的背景颜色可以理解为,显示有所述目标会话消息的会话内容的对话框或窗口等的背景颜色。The background color of the target session message may be understood as a background color of a dialog box or window or the like displaying the session content of the target session message.
据此,还可以将所述目标会话消息的样式,即显示有所述目标会话消息的会话内容的对话框或窗口的样式进行区分设置,例如普通的会话消息的窗口是普通的对话气泡形式,则可以将想要锁定的会话消息的窗口设定为圆形、星形等。According to this, the style of the target session message, that is, the style of the dialog box or the window displaying the session content of the target session message may be separately set, for example, the window of the ordinary session message is a common dialog bubble form. Then, the window of the session message that you want to lock can be set to a circle, a star, or the like.
这样,移动终端能够将目标会话消息变得更为醒目,从而使用户更加容易地将目标会话消息与其他会话消息区分开来,更加便于回复会话消息。In this way, the mobile terminal can make the target session message more conspicuous, thereby making it easier for the user to distinguish the target session message from other session messages, making it easier to reply to the session message.
步骤302、获取输入的会话内容,并根据所述输入的会话内容生成回复会话消息,所述回复会话消息包括消息标识,所述消息标识用于指示所述回复会话消息为所述目标会话消息的回复消息。Step 302: Acquire an input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target session message. Reply message.
其中,所述消息标识指示所述回复会话消息为所述目标会话消息的回复消息后,便可基于消息标识进行进一步的处理或者设置。After the message identifier indicates that the reply session message is a reply message of the target session message, the message identifier may be further processed or set based on the message identifier.
此外,所述回复会话消息可以只包含一条会话消息,也可以包含多条会话消息,例如,用户在某聊天应用中对想要回复的消息进行锁定后,输入了一条会话消息,此时应用程序自动解除锁定,恢复正常模式;这种情况针对只需要一两条消息即可完成交流的会话消息,因为锁定会话消息来进行回复毕竟只是一种临时的显示或输入模式,考虑到用户大部分时间处于正常的显示或输入模式。In addition, the reply session message may include only one session message, and may also include multiple session messages. For example, after the user locks the message that wants to reply in a chat application, a session message is input, and the application is now Automatically unlock and resume normal mode; this situation is for a session message that only needs one or two messages to complete the communication, because locking the session message to reply is only a temporary display or input mode, considering the user most of the time In normal display or input mode.
因此移动终端在输入完回复会话消息立即切换回正常的模式,这样,可以不耽误用户的正常操作。Therefore, the mobile terminal immediately switches back to the normal mode after inputting the reply session message, so that the normal operation of the user can be prevented.
又例如另一种情形,由于用户想回复的消息所引起的话题不是一两条消息能够交流清楚的,因此用户可能需要输入多条会话消息,这个时候用户可以在输入完多条会话消息后,手动结束锁定。总之,对具体的应用情景不做限制,只要是能够达到使用户顺畅的完成对某条会话消息的交流,以及不影响正常操作功能即可。For another example, since the topic caused by the message that the user wants to reply is not one or two messages can be clearly communicated, the user may need to input a plurality of session messages, and the user can input the plurality of session messages at this time. End the lock manually. In short, there is no restriction on the specific application scenario, as long as the user can smoothly complete the communication of a certain session message without affecting the normal operation function.
步骤303、根据所述消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。Step 303: Display, according to the message identifier, the reply session message in a lower side of the session interface adjacent to the target session message, and send the reply session message to a server.
应当注意,所述向服务器发送所述回复会话消息,其中,所述会话消息携带有消息标识,其目的可以为,通过服务器将所述回复会话消息下发到其他移动终端,以使其他终端也可以根据消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息;从而使沟通交流更加便捷。It should be noted that the sending the reply session message to the server, where the session message carries a message identifier, the purpose of which may be that the reply session message is sent to other mobile terminals by the server, so that other terminals are also The reply session message may be displayed in the session interface adjacent to the target session message according to the message identifier; thereby making communication more convenient.
可选的,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;Optionally, the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
所述根据所述消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息的步骤,包括:The step of displaying the reply session message and sending the reply session message to the server in the lower part of the session interface adjacent to the target session message according to the message identifier includes:
根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。And displaying, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, in the session interface, adjacent to the target session message, displaying the reply session message, and The server sends the reply session message.
其中,所述序号与所述目标会话消息的序号存在预设关系可以为,根据会话消息的时刻对应生成的序号,例如,被锁定的会话消息的序号可以为20170819152514,则用户的回复会话消息的序号可以为201708191525141、201708191525142;此外,还可以根据会话消息的ID对应生成的序号,例如会话界面中已经存在的消息的序号可以为1、2、3、4……等,被锁定的会话消息为6,则用户的回复会话消息的序号可以为61、62或63等。The preset relationship between the sequence number and the sequence number of the target session message may be a sequence number corresponding to the time of the session message. For example, the sequence number of the locked session message may be 20170819152514, and the user replies to the session message. The serial number may be 201708191525141, 201708191525142; in addition, the serial number generated according to the ID of the session message may be corresponding, for example, the sequence number of the message already existing in the session interface may be 1, 2, 3, 4, etc., and the locked session message is 6, the user's reply session message number can be 61, 62 or 63, and so on.
这样,移动终端不会影响会话消息显示的整体逻辑,并且可以根据序号与会话消息的对应关系,将用户的回复会话消息直接在想要回复的消息下方直接显示,从而便于用户查看回复会话消息以及想要回复的消息。In this way, the mobile terminal does not affect the overall logic of the session message display, and can directly display the reply session message of the user directly under the message that wants to reply according to the correspondence between the sequence number and the session message, thereby facilitating the user to view the reply session message and The message you want to reply to.
此外,若存在多个用户对同一条会话消息进行锁定,则可以根据用户锁定的先后,对应的依次对用户输入的回复会话消息进行显示。例如,A用户最先对目标会话消息锁定,B用户在A用户之后对所述目标会话消息锁定,C用户则是在B用户后对所述目标会话消息锁定,则在目标会话消息相邻的下方,首先显示的是A用户输入的所有回复会话消息,在A用户的最后一条回复会话消息下面显示的是B用户输入的所有回复会话消息,而在B用户的最后一条回复会话消息下面显示的是C用户输入的所有回复会话消息。这样, 当存在多个用户对同一条目标会话消息时,也可以更加顺畅的将会话消息显示出来,方便所述多个用户进行回复。In addition, if there are multiple users locking the same session message, the corresponding reply session message input by the user may be sequentially displayed according to the user lock sequence. For example, the A user first locks the target session message, the B user locks the target session message after the A user, and the C user locks the target session message after the B user, then the target session message is adjacent. Below, the first is to display all the reply session messages input by the A user. Below the last reply session message of the A user is displayed all the reply session messages input by the B user, and displayed under the last reply session message of the B user. Is all reply session messages entered by the C user. In this way, when there are multiple users to the same target session message, the session message can be displayed more smoothly, which facilitates the multiple users to reply.
本公开实施例,可以使想要回复的消息不受新新会话消息的影响,更便于用户进行回复和交流,此外,还移动终端能够使回复的会话消息直接在目标会话消息的下方显示,从而使用户围绕某条会话消息进行交流的过程更加流畅。In the embodiment of the present disclosure, the message that is to be replied is not affected by the new new session message, and the user is more convenient to reply and communicate. In addition, the mobile terminal can directly display the replied session message below the target session message, thereby The process of communicating users around a session message is smoother.
参见图6,图6是本公开实施例提供的另一种会话消息的显示方法的流程图。如图6所示,包括以下步骤601和602。Referring to FIG. 6, FIG. 6 is a flowchart of another method for displaying a session message according to an embodiment of the present disclosure. As shown in FIG. 6, the following steps 601 and 602 are included.
步骤601、接收服务器发送的回复会话消息,所述回复会话消息携带有消息标识,所述消息标识用于指示所述回复会话消息为目标会话消息的回复消息。Step 601: Receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message.
其中,需要说明的是,该步骤的执行主体可以为前述俩实施例中的移动终端以外的移动终端。例如,用户A与用户B通过即时通讯软件进行聊天对话,用户A对某一会话消息进行锁定并回复后,会将回复的消息发送至服务器,用户B的移动终端便会接收服务器所下发的用户A发送的回复消息。用户B的移动终端便是步骤601的执行主体。It should be noted that the execution body of the step may be a mobile terminal other than the mobile terminal in the foregoing two embodiments. For example, user A and user B perform a chat session through instant messaging software. After user A locks and responds to a session message, the user sends a reply message to the server, and user B's mobile terminal receives the message sent by the server. Reply message sent by user A. User B's mobile terminal is the execution body of step 601.
步骤602、根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。Step 602: Display, according to the message identifier, the reply session message in a session interface adjacent to the target session message.
其中,所述会话界面为接收到服务器下发的回复会话消息的移动终端的会话界面。The session interface is a session interface of the mobile terminal that receives the reply session message sent by the server.
本公开实施例中,上述移动终端可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present disclosure, the mobile terminal may be a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), or a mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device).
本公开实施例,移动终端能够使回复的会话消息直接在目标会话消息的下方显示,从而使用户围绕某条会话消息进行交流的过程更加流畅。In the embodiment of the present disclosure, the mobile terminal can display the replied session message directly below the target session message, so that the process of the user communicating around a certain session message is smoother.
参见图7,图7是本公开实施例提供的另一种会话消息的显示方法的流程图。本实施例与上个实施例的主要区别在于本实施例中,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设 关系。如图7所示,包括以下步骤701和702。Referring to FIG. 7, FIG. 7 is a flowchart of another method for displaying a session message according to an embodiment of the present disclosure. The main difference between this embodiment and the previous embodiment is that in the embodiment, the message identifier includes a sequence number of the reply session message, and the sequence number has a preset relationship with the sequence number of the target session message. As shown in FIG. 7, the following steps 701 and 702 are included.
步骤701、接收服务器发送的回复会话消息,所述回复会话消息携带有消息标识,所述消息标识用于指示所述回复会话消息为目标会话消息的回复消息。Step 701: Receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message.
其中,步骤701的相关说明已经在上个实施例中的步骤602中已作阐述,在此不再赘述。The description of the step 701 has been described in the step 602 in the previous embodiment, and details are not described herein again.
步骤702、根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。Step 702: Display, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, the reply session message is displayed in the session interface adjacent to the target session message.
其中,所述回复会话消息的序号为所述消息标识包括的序号,所述序号与所述目标会话消息的序号存在预设关系。The sequence number of the reply session message is a sequence number included in the message identifier, and the sequence number has a preset relationship with the sequence number of the target session message.
可选的,所述方法还包括:Optionally, the method further includes:
若接收到所述回复会话消息,则在所述会话界面的第二预设位置显示提醒标识;And if the reply session message is received, displaying a reminder identifier in a second preset position of the session interface;
若检测到针对所述提醒标识的点击操作,则在所述会话界面显示所述回复会话消息。If a click operation for the reminder identifier is detected, the reply session message is displayed on the session interface.
其中,如图8所示,所述会话界面的第二预设位置可以为,所述会话界面的右上角,所述提醒标识可以为回复消息的用户头像;这样,移动终端能够接收到回复会话消息的时候,在会话界面显示提醒标识,从而使被回复的用户便捷的识别出是哪个用户进行的回复,也可以更加便捷的找到进行回复的用户所回复的消息,最终更有利于交流互动。The second preset location of the session interface may be the upper right corner of the session interface, and the reminder identifier may be a user avatar of the reply message; thus, the mobile terminal can receive the reply session. When the message is displayed, the reminder identifier is displayed on the session interface, so that the responded user can easily identify which user replies, and can also find the message replied by the user who responds more conveniently, and finally is more conducive to communication and interaction.
参见图9,图9是本公开实施例提供的一种移动终端的结构示意图,如图9所示,移动终端900包括锁定模块901、生成模块902和显示模块903,其中:Referring to FIG. 9, FIG. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. As shown in FIG. 9, the mobile terminal 900 includes a locking module 901, a generating module 902, and a display module 903, where:
锁定模块901,用于锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息。The locking module 901 is configured to lock a target session message in the session interface, and display the target session message on the session interface.
生成模块902,用于获取输入的会话内容,并根据所述输入的会话内容生成回复会话消息,所述回复会话消息包括消息标识,所述消息标识用于指示所述回复会话消息为所述目标会话消息的回复消息。a generating module 902, configured to acquire the input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target Reply message for the session message.
显示模块903,用于在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。The display module 903 is configured to display the reply session message below the target session message in the session interface, and send the reply session message to the server.
可选的,所述锁定模块901,用于锁定会话界面中的目标会话消息,并在所述会话界面悬浮显示所述目标会话消息;或者,Optionally, the locking module 901 is configured to lock a target session message in the session interface, and display the target session message in a floating manner in the session interface; or
所述锁定模块901,用于锁定会话界面中的目标会话消息,并控制所述会话界面停留在所述目标会话消息的显示位置。The locking module 901 is configured to lock a target session message in the session interface, and control the session interface to stay at a display position of the target session message.
可选的,所述锁定模块901,用于在会话界面中的每条会话消息的第一预设位置,显示有与每条会话消息一一对应的锁定按钮,若接收到点击操作,将所述点击操作点击的锁定按钮对应的会话消息作为目标会话消息,并锁定所述目标会话消息。Optionally, the locking module 901 is configured to display, in a first preset position of each session message in the session interface, a lock button corresponding to each session message, and if the click operation is received, The session message corresponding to the lock button clicked by the click operation is used as the target session message, and the target session message is locked.
可选的,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;Optionally, the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
所述显示模块903,用于根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。The display module 903 is configured to display, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, adjacent to the target session message in the session interface. The replying to the session message and sending the reply session message to the server.
可选的,所述目标会话消息的背景颜色与所述会话界面中的其他会话消息的背景颜色不同。Optionally, the background color of the target session message is different from the background color of other session messages in the session interface.
移动终端900能够实现图1和图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 900 can implement various processes implemented by the mobile terminal in the method embodiments of FIG. 1 and FIG. 3, and details are not described herein again to avoid repetition.
这样,本公开实施例的移动终端900,能够使回复的会话消息直接在目标会话消息的下方显示,从而使用户围绕某条会话消息进行交流的过程更加流畅。In this way, the mobile terminal 900 of the embodiment of the present disclosure can enable the replied session message to be directly displayed under the target session message, thereby making the process of the user communicating around a certain session message more smooth.
参见图10,图10是本公开实施例提供的另一种移动终端的结构示意图,如图10所示,移动终端100包括接收模块1001和显示模块1002,其中:Referring to FIG. 10, FIG. 10 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure. As shown in FIG. 10, the mobile terminal 100 includes a receiving module 1001 and a display module 1002, where:
接收模块1001,用于接收服务器发送的回复会话消息,所述回复会话消息携带有消息标识,所述消息标识用于指示所述回复会话消息为目标会话消息的回复消息。The receiving module 1001 is configured to receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message.
显示模块1002,用于根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。The display module 1002 is configured to display the reply session message in the session interface adjacent to the target session message according to the message identifier.
可选的,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;Optionally, the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
所述显示模块1002,用于根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。The display module 1002 is configured to display, according to the preset relationship that the sequence number of the reply session message and the sequence number of the target session message exist, adjacent to the target session message in the session interface. Reply to the session message.
可选的,如图11所示,所述移动终端1000还包括:Optionally, as shown in FIG. 11, the mobile terminal 1000 further includes:
设置模块1003,用于若接收到所述回复会话消息,则在所述会话界面的第二预设位置显示提醒标识;The setting module 1003 is configured to display a reminder identifier in a second preset position of the session interface if the reply session message is received;
提醒模块1004,用于若检测到针对所述提醒标识的点击操作,则在所述会话界面显示所述回复会话消息。The reminding module 1004 is configured to display the reply session message on the session interface if a click operation for the reminder identifier is detected.
移动终端1000能够实现图6至图7的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1000 can implement various processes implemented by the mobile terminal in the method embodiments of FIG. 6 to FIG. 7. To avoid repetition, details are not described herein again.
这样,本公开实施例的移动终端1000,能够使回复的会话消息直接在目标会话消息的下方显示,从而使用户围绕某条会话消息进行交流的过程更加流畅。In this way, the mobile terminal 1000 of the embodiment of the present disclosure can enable the replied session message to be directly displayed under the target session message, thereby making the process of the user communicating around a certain session message more smooth.
图12为实现本公开图1和图3的实施例的一种移动终端的硬件结构示意图,FIG. 12 is a schematic diagram showing the hardware structure of a mobile terminal that implements the embodiments of FIG. 1 and FIG. 3 of the present disclosure,
该移动终端1200包括但不限于:射频单元1201、网络模块1202、音频输出单元1203、输入单元1204、传感器1205、显示单元1206、用户输入单元1207、接口单元1208、存储器1209、处理器1210、以及电源1211等部件。本领域技术人员可以理解,图12中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 1200 includes, but is not limited to, a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and Power supply 1211 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 12 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement. In the embodiments of the present disclosure, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
其中,处理器1210,用于锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息;获取输入的会话内容,并根据所述输入的会话内容生成回复会话消息,所述回复会话消息包括消息标识,所述消息标识用于指示所述回复会话消息为所述目标会话消息的回复消息;根据所述消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会 话消息。The processor 1210 is configured to: lock a target session message in the session interface, and display the target session message on the session interface; obtain the input session content, and generate a reply session message according to the input session content, where The reply session message includes a message identifier, the message identifier is used to indicate that the reply session message is a reply message of the target session message, and according to the message identifier, adjacent to the target session message in the session interface Below, the reply session message is displayed.
射频单元1201,用于向服务器发送所述回复会话消息。The radio unit 1201 is configured to send the reply session message to the server.
可选的,所述处理器1210执行的所述锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息,包括:Optionally, the target session message in the locked session interface executed by the processor 1210, and displaying the target session message on the session interface, includes:
锁定会话界面中的目标会话消息,并在所述会话界面悬浮显示所述目标会话消息;或者,Locking a target session message in the session interface, and displaying the target session message in a floating manner in the session interface; or
锁定会话界面中的目标会话消息,并控制所述会话界面停留在所述目标会话消息的显示位置。The target session message in the session interface is locked, and the session interface is controlled to stay at the display position of the target session message.
可选的,所述处理器1210执行的述锁定会话界面中的目标会话消息,包括:Optionally, the target session message in the locked session interface that is executed by the processor 1210 includes:
在会话界面中的每条会话消息的第一预设位置,显示有与每条会话消息一一对应的锁定按钮,若接收到点击操作,将所述点击操作点击的锁定按钮对应的会话消息作为目标会话消息,并锁定所述目标会话消息。In the first preset position of each session message in the session interface, a lock button corresponding to each session message is displayed. If a click operation is received, the session message corresponding to the click button of the click operation is used as the session message. Target session message and lock the target session message.
可选的,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;Optionally, the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
所述处理器1210执行的根据所述消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,包括:Displaying, by the processor 1210, the reply session message, in the lower part of the session interface, adjacent to the target session message, according to the message identifier, including:
根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。And displaying, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, the reply session message is displayed below the target session message in the session interface.
可选的,所述目标会话消息的背景颜色与所述会话界面中的其他会话消息的背景颜色不同。Optionally, the background color of the target session message is different from the background color of other session messages in the session interface.
移动终端1200能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1200 can implement various processes implemented by the mobile terminal in the foregoing embodiment. To avoid repetition, details are not described herein again.
这样,本公开实施例的移动终端1200,能够使回复的会话消息直接在目标会话消息的下方显示,从而使用户围绕某条会话消息进行交流的过程更加流畅。In this way, the mobile terminal 1200 of the embodiment of the present disclosure can directly display the replied session message under the target session message, so that the process of the user communicating around a certain session message is smoother.
应理解的是,本公开实施例中,射频单元1201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理 器1210处理;另外,将上行的数据发送给基站。通常,射频单元1201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1201还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 1201 may be used for receiving and transmitting signals during and after receiving or transmitting information or a call, and specifically, receiving downlink data from the base station, and then processing the processor 1210; The uplink data is sent to the base station. In general, radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 1201 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块1202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides wireless broadband Internet access to the user through the network module 1202, such as helping the user to send and receive emails, browse web pages, and access streaming media.
音频输出单元1203可以将射频单元1201或网络模块1202接收的或者在存储器1209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1203还可以提供与移动终端1200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1203包括扬声器、蜂鸣器以及受话器等。The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Moreover, the audio output unit 1203 may also provide an audio output (eg, a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 1200. The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
输入单元1204用于接收音频或视频信号。输入单元1204可以包括图形处理器(Graphics Processing Unit,GPU)12041和麦克风12042,图形处理器12041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1206上。经图形处理器12041处理后的图像帧可以存储在存储器1209(或其它存储介质)中或者经由射频单元1201或网络模块1202进行发送。麦克风12042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1201发送到移动通信基站的格式输出。The input unit 1204 is for receiving an audio or video signal. The input unit 1204 may include a graphics processing unit (GPU) 12041 and a microphone 12042, and the graphics processor 12041 images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The data is processed. The processed image frame can be displayed on the display unit 1206. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound and can process such sound as audio data. The processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio frequency unit 1201 in the case of a telephone call mode.
移动终端1200还包括至少一种传感器1205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板12061的亮度,接近传感器可在移动终端1200移动到耳边时,关闭显示面板12061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 1200 also includes at least one type of sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 12061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 12061 when the mobile terminal 1200 moves to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games). , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; sensor 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors and the like are not described here.
显示单元1206用于显示由用户输入的信息或提供给用户的信息。显示单元1206可包括显示面板12061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板12061。The display unit 1206 is for displaying information input by the user or information provided to the user. The display unit 1206 can include a display panel 12061. The display panel 12061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元1207可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1207包括触控面板12071以及其他输入设备12072。触控面板12071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板12071上或在触控面板12071附近的操作)。触控面板12071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1210,接收处理器1210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板12071。除了触控面板12071,用户输入单元1207还可以包括其他输入设备12072。具体地,其他输入设备12072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1207 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 12071 or near the touch panel 12071. operating). The touch panel 12071 may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 1210 receives commands from the processor 1210 and executes them. In addition, the touch panel 12071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 12071, the user input unit 1207 can also include other input devices 12072. Specifically, other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which are not described herein.
进一步的,触控面板12071可覆盖在显示面板12061上,当触控面板12071检测到在其上或附近的触摸操作后,传送给处理器1210以确定触摸事件的类型,随后处理器1210根据触摸事件的类型在显示面板12061上提供相应的视觉输出。虽然在图12中,触控面板12071与显示面板12061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板12071与显示面板12061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 12071 can be overlaid on the display panel 12061. When the touch panel 12071 detects a touch operation thereon or nearby, the touch panel 12071 transmits to the processor 1210 to determine the type of the touch event, and then the processor 1210 according to the touch. The type of event provides a corresponding visual output on display panel 12061. Although in FIG. 12, the touch panel 12071 and the display panel 12061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
接口单元1208为外部装置与移动终端1200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传 输到移动终端1200内的一个或多个元件或者可以用于在移动终端1200和外部装置之间传输数据。The interface unit 1208 is an interface in which an external device is connected to the mobile terminal 1200. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The interface unit 1208 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 1200 or can be used at the mobile terminal 1200 and externally Data is transferred between devices.
存储器1209可用于存储软件程序以及各种数据。存储器1209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 Memory 1209 can be used to store software programs as well as various data. The memory 1209 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 1209 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器1210是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1209内的软件程序和/或模块,以及调用存储在存储器1209内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1210可包括一个或多个处理单元;可选的,处理器1210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。The processor 1210 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1209, and recalling data stored in the memory 1209. The mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal. The processor 1210 may include one or more processing units; optionally, the processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution The processor mainly handles wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 1210.
移动终端1200还可以包括给各个部件供电的电源1211(比如电池),可选的,电源1211可以通过电源管理系统与处理器1210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 1200 may further include a power source 1211 (such as a battery) for supplying power to various components. Alternatively, the power source 1211 may be logically connected to the processor 1210 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,移动终端1200包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 1200 includes some functional modules not shown, and details are not described herein again.
可选的,本公开实施例还提供一种移动终端,包括处理器1210,存储器1209,存储在存储器1209上并可在所述处理器1210上运行的计算机程序,该计算机程序被处理器1210执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a mobile terminal, including a processor 1210, a memory 1209, a computer program stored on the memory 1209 and executable on the processor 1210, and the computer program is executed by the processor 1210. The various processes of the foregoing image processing method embodiments are implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
图13为实现本公开图6至图7的实施例的一种移动终端的硬件结构示意图,FIG. 13 is a schematic structural diagram of hardware of a mobile terminal that implements the embodiments of FIG. 6 to FIG. 7 of the present disclosure,
该移动终端1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309、处理器1310、以及电源1311等部件。 本领域技术人员可以理解,图13中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 1300 includes, but is not limited to, a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and Power supply 1311 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 13 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement. In the embodiments of the present disclosure, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
其中,处理器1310,用于根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。The processor 1310 is configured to display, according to the message identifier, the reply session message in a session interface adjacent to the target session message.
射频单元1301,用于接收服务器发送的回复会话消息。The radio unit 1301 is configured to receive a reply session message sent by the server.
可选的,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;Optionally, the message identifier includes a sequence number of the reply session message, where the sequence number has a preset relationship with a sequence number of the target session message;
所述处理器1310执行的所述根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,包括:And displaying, by the processor 1310, the reply session message according to the message identifier, in the session interface, adjacent to the target session message, including:
根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。And displaying, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, the reply session message is displayed below the target session message in the session interface.
可选的,所述处理器1310还用于:Optionally, the processor 1310 is further configured to:
若接收到所述回复会话消息,则在所述会话界面的第二预设位置显示提醒标识;And if the reply session message is received, displaying a reminder identifier in a second preset position of the session interface;
若检测到针对所述提醒标识的点击操作,则在所述会话界面显示所述回复会话消息Displaying the reply session message on the session interface if a click operation for the reminder identifier is detected
移动终端1300能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1300 can implement various processes implemented by the mobile terminal in the foregoing embodiment. To avoid repetition, details are not described herein again.
这样,本公开实施例的移动终端1300,能够使回复的会话消息直接在目标会话消息的下方显示,从而使用户围绕某条会话消息进行交流的过程更加流畅。In this way, the mobile terminal 1300 of the embodiment of the present disclosure can enable the replied session message to be directly displayed under the target session message, thereby making the process of the user communicating around a certain session message more smooth.
应理解的是,本公开实施例中,射频单元1301可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1310处理;另外,将上行的数据发送给基站。通常,射频单元1301包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1301还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 1301 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the processor 1310; The uplink data is sent to the base station. In general, radio frequency unit 1301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 1301 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块1302为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the network module 1302, such as helping the user to send and receive emails, browse web pages, and access streaming media.
音频输出单元1303可以将射频单元1301或网络模块1302接收的或者在存储器1309中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1303还可以提供与移动终端1300执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1303包括扬声器、蜂鸣器以及受话器等。The audio output unit 1303 may convert the audio data received by the radio frequency unit 1301 or the network module 1302 or stored in the memory 1309 into an audio signal and output as a sound. Moreover, the audio output unit 1303 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) related to a specific function performed by the mobile terminal 1300. The audio output unit 1303 includes a speaker, a buzzer, a receiver, and the like.
输入单元1304用于接收音频或视频信号。输入单元1304可以包括图形处理器(Graphics Processing Unit,GPU)13041和麦克风13042,图形处理器13041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1306上。经图形处理器13041处理后的图像帧可以存储在存储器1309(或其它存储介质)中或者经由射频单元1301或网络模块1302进行发送。麦克风13042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1301发送到移动通信基站的格式输出。The input unit 1304 is for receiving an audio or video signal. The input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042, and the graphics processor 13041 images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The data is processed. The processed image frame can be displayed on display unit 1306. The image frames processed by the graphics processor 13041 may be stored in the memory 1309 (or other storage medium) or transmitted via the radio unit 1301 or the network module 1302. The microphone 13042 can receive sound and can process such sound as audio data. The processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 1301 in the case of a telephone call mode.
移动终端1300还包括至少一种传感器1305,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板13061的亮度,接近传感器可在移动终端1300移动到耳边时,关闭显示面板13061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1305还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 1300 also includes at least one type of sensor 1305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 13061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 13061 when the mobile terminal 1300 moves to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games). , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; sensor 1305 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors and the like are not described here.
显示单元1306用于显示由用户输入的信息或提供给用户的信息。显示单元1306可包括显示面板13061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配 置显示面板13061。The display unit 1306 is for displaying information input by the user or information provided to the user. The display unit 1306 can include a display panel 13061. The display panel 13061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元1307可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1307包括触控面板13071以及其他输入设备13072。触控面板13071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板13071上或在触控面板13071附近的操作)。触控面板13071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1310,接收处理器1310发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板13071。除了触控面板13071,用户输入单元1307还可以包括其他输入设备13072。具体地,其他输入设备13072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1307 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1307 includes a touch panel 13071 and other input devices 13072. The touch panel 13071, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 13071 or near the touch panel 13071. operating). The touch panel 13071 may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 1310 receives the commands from the processor 1310 and executes them. In addition, the touch panel 13071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 13071, the user input unit 1307 can also include other input devices 13072. Specifically, other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
进一步的,触控面板13071可覆盖在显示面板13061上,当触控面板13071检测到在其上或附近的触摸操作后,传送给处理器1310以确定触摸事件的类型,随后处理器1310根据触摸事件的类型在显示面板13061上提供相应的视觉输出。虽然在图13中,触控面板13071与显示面板13061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板13071与显示面板13061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 13071 can be overlaid on the display panel 13061. After the touch panel 13071 detects a touch operation thereon or nearby, the touch panel 13071 transmits to the processor 1310 to determine the type of the touch event, and then the processor 1310 according to the touch. The type of event provides a corresponding visual output on display panel 13061. Although in FIG. 13 , the touch panel 13071 and the display panel 13061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 13071 and the display panel 13061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
接口单元1308为外部装置与移动终端1300连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1308可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1300内的一个或多个元件或者可以用于在移动终端1300和外部装置之间传输数据。The interface unit 1308 is an interface in which an external device is connected to the mobile terminal 1300. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The interface unit 1308 can be configured to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more components within the mobile terminal 1300 or can be used at the mobile terminal 1300 and externally Data is transferred between devices.
存储器1309可用于存储软件程序以及各种数据。存储器1309可主要包 括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1309可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 Memory 1309 can be used to store software programs as well as various data. The memory 1309 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 1309 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器1310是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1309内的软件程序和/或模块,以及调用存储在存储器1309内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1310可包括一个或多个处理单元;可选的,处理器1310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。The processor 1310 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1309, and recalling data stored in the memory 1309. The mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal. The processor 1310 may include one or more processing units; optionally, the processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution The processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 1310.
移动终端1300还可以包括给各个部件供电的电源1311(比如电池),可选的,电源1311可以通过电源管理系统与处理器1310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 1300 may further include a power source 1311 (such as a battery) for supplying power to various components. Alternatively, the power source 1311 may be logically connected to the processor 1310 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,移动终端1300包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 1300 includes some functional modules not shown, and details are not described herein again.
可选的,本公开实施例还提供一种移动终端,包括处理器1310,存储器1309,存储在存储器1309上并可在所述处理器1310上运行的计算机程序,该计算机程序被处理器1310执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, the embodiment of the present disclosure further provides a mobile terminal, including a processor 1310, a memory 1309, a computer program stored on the memory 1309 and executable on the processor 1310, the computer program being executed by the processor 1310. The various processes of the foregoing image processing method embodiments are implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图1和图3所示的会话消息的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present disclosure further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for displaying the session message shown in FIG. 1 and FIG. 3 is implemented. The various processes can achieve the same technical effects. To avoid repetition, we will not repeat them here. The computer readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
本公开实施例还提供另一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图6和图7所 示的会话消息的显示方法的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present disclosure further provides another computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for displaying the session message shown in FIG. 6 and FIG. 7 is implemented. Each process can achieve the same technical effect. To avoid repetition, it will not be repeated here. The computer readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solutions of the present disclosure that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (eg, ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure have been described above with reference to the drawings, but the present disclosure is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative and not restrictive, and those skilled in the art In the light of the present disclosure, many forms may be made without departing from the scope of the disclosure and the scope of the appended claims.

Claims (20)

  1. 一种会话消息的显示方法,包括:A method for displaying a session message, comprising:
    锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息;Locking a target session message in the session interface, and displaying the target session message on the session interface;
    获取输入的会话内容,并根据所述输入的会话内容生成回复会话消息,所述回复会话消息包括消息标识,所述消息标识用于指示所述回复会话消息为所述目标会话消息的回复消息;Obtaining the input session content, and generating a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message;
    根据所述消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。Determining, according to the message identifier, the reply session message in a lower side of the session interface adjacent to the target session message, and sending the reply session message to a server.
  2. 如权利要求1所述的方法,其中,所述锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息的步骤,包括:The method of claim 1, wherein the step of locking a target session message in the session interface and displaying the target session message on the session interface comprises:
    锁定会话界面中的目标会话消息,并在所述会话界面悬浮显示所述目标会话消息;或者,Locking a target session message in the session interface, and displaying the target session message in a floating manner in the session interface; or
    锁定会话界面中的目标会话消息,并控制所述会话界面停留在所述目标会话消息的显示位置。The target session message in the session interface is locked, and the session interface is controlled to stay at the display position of the target session message.
  3. 如权利要求1或2所述的方法,其中,所述锁定会话界面中的目标会话消息,包括:The method of claim 1 or 2, wherein the locking the target session message in the session interface comprises:
    在会话界面中的每条会话消息的第一预设位置,显示有与每条会话消息一一对应的锁定按钮,若接收到点击操作,将所述点击操作点击的锁定按钮对应的会话消息作为目标会话消息,并锁定所述目标会话消息。In the first preset position of each session message in the session interface, a lock button corresponding to each session message is displayed. If a click operation is received, the session message corresponding to the click button of the click operation is used as the session message. Target session message and lock the target session message.
  4. 如权利要求3所述的方法,其中,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;The method of claim 3, wherein the message identifier comprises a sequence number of the reply session message, and the sequence number has a preset relationship with a sequence number of the target session message;
    所述根据所述消息标识,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息的步骤,包括:The step of displaying the reply session message and sending the reply session message to the server in the lower part of the session interface adjacent to the target session message according to the message identifier includes:
    根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。And displaying, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, in the session interface, adjacent to the target session message, displaying the reply session message, and The server sends the reply session message.
  5. 如权利要求4所述的方法,其中,所述目标会话消息的背景颜色与所述会话界面中的其他会话消息的背景颜色不同。The method of claim 4 wherein the background color of the target session message is different from the background color of other session messages in the session interface.
  6. 一种会话消息的显示方法,包括:A method for displaying a session message, comprising:
    接收服务器发送的回复会话消息,所述回复会话消息携带有消息标识,所述消息标识用于指示所述回复会话消息为目标会话消息的回复消息;Receiving a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message;
    根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。And according to the message identifier, the reply session message is displayed below the target session message in the session interface.
  7. 如权利要求6所述的方法,其中,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;The method of claim 6, wherein the message identifier comprises a sequence number of the reply session message, and the sequence number has a preset relationship with a sequence number of the target session message;
    所述根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息的步骤,包括:The step of displaying the reply session message in the lower part of the session interface adjacent to the target session message according to the message identifier includes:
    根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。And displaying, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, the reply session message is displayed below the target session message in the session interface.
  8. 如权利要求7所述的方法,还包括:The method of claim 7 further comprising:
    若接收到所述回复会话消息,则在所述会话界面的第二预设位置显示提醒标识;And if the reply session message is received, displaying a reminder identifier in a second preset position of the session interface;
    若检测到针对所述提醒标识的点击操作,则在所述会话界面显示所述回复会话消息。If a click operation for the reminder identifier is detected, the reply session message is displayed on the session interface.
  9. 一种移动终端,包括:A mobile terminal includes:
    锁定模块,用于锁定会话界面中的目标会话消息,并在所述会话界面显示所述目标会话消息;a locking module, configured to lock a target session message in the session interface, and display the target session message in the session interface;
    生成模块,用于获取输入的会话内容,并根据所述输入的会话内容生成回复会话消息,所述回复会话消息包括消息标识,所述消息标识用于指示所述回复会话消息为所述目标会话消息的回复消息;a generating module, configured to obtain the input session content, and generate a reply session message according to the input session content, where the reply session message includes a message identifier, where the message identifier is used to indicate that the reply session message is the target session Reply message of the message;
    显示模块,用于在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。a display module, configured to display the reply session message below the target session message in the session interface, and send the reply session message to a server.
  10. 如权利要求9所述的移动终端,其中,所述锁定模块,用于锁定会话界面中的目标会话消息,并在所述会话界面悬浮显示所述目标会话消息; 或者,The mobile terminal of claim 9, wherein the locking module is configured to lock a target session message in the session interface, and display the target session message in a floating manner in the session interface; or
    所述锁定模块,用于锁定会话界面中的目标会话消息,并控制所述会话界面停留在所述目标会话消息的显示位置。The locking module is configured to lock a target session message in the session interface, and control the session interface to stay at a display position of the target session message.
  11. 如权利要求9或10所述的移动终端,其中,所述锁定模块,用于在会话界面中的每条会话消息的第一预设位置,显示有与每条会话消息一一对应的锁定按钮,若接收到点击操作,将所述点击操作点击的锁定按钮对应的会话消息作为目标会话消息,并锁定所述目标会话消息。The mobile terminal according to claim 9 or 10, wherein the locking module is configured to display a lock button corresponding to each session message in a first preset position of each session message in the session interface. If a click operation is received, the session message corresponding to the lock button clicked by the click operation is used as the target session message, and the target session message is locked.
  12. 如权利要求11所述的移动终端,其中,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;The mobile terminal of claim 11, wherein the message identifier comprises a sequence number of the reply session message, and the sequence number has a preset relationship with a sequence number of the target session message;
    所述显示模块,用于根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在所述会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息,以及向服务器发送所述回复会话消息。The display module is configured to display, according to the preset relationship of the sequence number of the reply session message and the sequence number of the target session message, adjacent to the target session message in the session interface Responding to the session message and sending the reply session message to the server.
  13. 如权利要求12所述的移动终端,其中,所述目标会话消息的背景颜色与所述会话界面中的其他会话消息的背景颜色不同。The mobile terminal of claim 12, wherein a background color of the target session message is different from a background color of other session messages in the session interface.
  14. 一种移动终端,包括:A mobile terminal includes:
    接收模块,用于接收服务器发送的回复会话消息,所述回复会话消息携带有消息标识,所述消息标识用于指示所述回复会话消息为目标会话消息的回复消息;a receiving module, configured to receive a reply session message sent by the server, where the reply session message carries a message identifier, where the message identifier is used to indicate that the reply session message is a reply message of the target session message;
    显示模块,用于根据所述消息标识,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。And a display module, configured to display, according to the message identifier, the reply session message in a session interface adjacent to the target session message.
  15. 如权利要求14所述的移动终端,其中,所述消息标识包括所述回复会话消息的序号,所述序号与所述目标会话消息的序号存在预设关系;The mobile terminal of claim 14, wherein the message identifier comprises a sequence number of the reply session message, and the sequence number has a preset relationship with a sequence number of the target session message;
    所述显示模块,用于根据所述回复会话消息的序号和所述目标会话消息的序号存在的所述预设关系,在会话界面中与所述目标会话消息相邻的下方,显示所述回复会话消息。The display module is configured to display the reply in a session interface adjacent to the target session message according to the preset relationship that the sequence number of the reply session message and the sequence number of the target session message exist Session message.
  16. 如权利要求15所述的移动终端,其中,所述移动终端还包括:The mobile terminal of claim 15, wherein the mobile terminal further comprises:
    设置模块,用于若接收到所述回复会话消息,则在所述会话界面的第二预设位置显示提醒标识;a setting module, configured to display a reminder identifier in a second preset position of the session interface if the reply session message is received;
    提醒模块,用于若检测到针对所述提醒标识的点击操作,则在所述会话 界面显示所述回复会话消息。And a reminding module, configured to display the reply session message on the session interface if a click operation for the reminder identifier is detected.
  17. 一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,其中,所述处理器执行所述程序时实现如权利要求1-5中任一项所述的会话消息的显示方法中的步骤。A mobile terminal comprising: a memory, a processor, and a program stored on the memory and executable on the processor, wherein the processor executes the program as claimed in claims 1-5 A step in the method of displaying a session message as described.
  18. 一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,其中,所述处理器执行所述程序时实现如权利要求6-8中任一项所述的会话消息的显示方法中的步骤。A mobile terminal comprising: a memory, a processor, and a program stored on the memory and executable on the processor, wherein the processor executes the program as claimed in claims 6-8 A step in the method of displaying a session message as described.
  19. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如权利要求1-5中任一项所述的会话消息的显示方法中的步骤。A computer readable storage medium, wherein the computer readable storage medium stores a program, and when the program is executed by a processor, the method for displaying a session message according to any one of claims 1 to 5 is implemented A step of.
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如权利要求6-8中任一项所述的会话消息的显示方法中的步骤。A computer readable storage medium, wherein the computer readable storage medium stores a program, and when the program is executed by a processor, the method for displaying a session message according to any one of claims 6-8 is implemented A step of.
PCT/CN2018/111020 2017-10-20 2018-10-19 Session message display method, and mobile terminal WO2019076372A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710996977.7 2017-10-20
CN201710996977.7A CN107707461A (en) 2017-10-20 2017-10-20 The display methods and mobile terminal of a kind of conversation message

Publications (1)

Publication Number Publication Date
WO2019076372A1 true WO2019076372A1 (en) 2019-04-25

Family

ID=61181473

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/111020 WO2019076372A1 (en) 2017-10-20 2018-10-19 Session message display method, and mobile terminal

Country Status (2)

Country Link
CN (1) CN107707461A (en)
WO (1) WO2019076372A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163406A (en) * 2020-10-22 2021-01-01 腾讯科技(深圳)有限公司 Interactive message display method and device, computer equipment and storage medium
CN112583896A (en) * 2020-11-30 2021-03-30 北京达佳互联信息技术有限公司 Session management method, session management device, electronic equipment, session management server and storage medium
CN112702261A (en) * 2020-12-30 2021-04-23 维沃移动通信有限公司 Information display method and device and electronic equipment
CN113973097A (en) * 2020-07-24 2022-01-25 腾讯科技(深圳)有限公司 Message display method, device and storage medium
CN114422463A (en) * 2022-01-17 2022-04-29 北京达佳互联信息技术有限公司 Communication method, communication apparatus, electronic device, and storage medium
CN115002056A (en) * 2022-05-26 2022-09-02 维沃移动通信有限公司 Message processing method and device, electronic equipment and readable storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707461A (en) * 2017-10-20 2018-02-16 维沃移动通信有限公司 The display methods and mobile terminal of a kind of conversation message
CN108874290A (en) * 2018-06-28 2018-11-23 努比亚技术有限公司 A kind of information display method, terminal and computer readable storage medium
CN110659359A (en) * 2019-09-20 2020-01-07 联想(北京)有限公司 Data processing method and device and electronic equipment
CN111130989B (en) * 2019-11-19 2021-07-20 维沃移动通信有限公司 Information display and sending method and electronic equipment
CN110971510A (en) * 2019-11-29 2020-04-07 维沃移动通信有限公司 Message processing method and electronic equipment
CN111381800A (en) * 2020-03-02 2020-07-07 北京达佳互联信息技术有限公司 Voice message display method and device, electronic equipment and storage medium
CN112242930A (en) * 2020-10-19 2021-01-19 珠海格力电器股份有限公司 Conversation processing method, device, server and storage medium
CN117251091A (en) 2020-12-25 2023-12-19 北京字节跳动网络技术有限公司 Information interaction method, device, equipment, storage medium and program product
CN114827340A (en) * 2021-01-22 2022-07-29 青岛海信移动通信技术股份有限公司 Mobile terminal and display method of communication message thereof
CN112817676B (en) * 2021-01-22 2023-06-20 维沃移动通信(杭州)有限公司 Information processing method and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269310A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Method and system for releasing group exchange messages
CN103269305A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Method and system for issuing group exchange of information
CN103269303A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Group exchange message distribution method and system
CN103269308A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Method and system for releasing interaction information of communication groups
CN103873341A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Method and system for message processing
US20140195928A1 (en) * 2013-01-04 2014-07-10 Apple Inc. Return to Sender
CN107707461A (en) * 2017-10-20 2018-02-16 维沃移动通信有限公司 The display methods and mobile terminal of a kind of conversation message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873341A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Method and system for message processing
CN103269310A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Method and system for releasing group exchange messages
CN103269305A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Method and system for issuing group exchange of information
CN103269303A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Group exchange message distribution method and system
CN103269308A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Method and system for releasing interaction information of communication groups
US20140195928A1 (en) * 2013-01-04 2014-07-10 Apple Inc. Return to Sender
CN107707461A (en) * 2017-10-20 2018-02-16 维沃移动通信有限公司 The display methods and mobile terminal of a kind of conversation message

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973097A (en) * 2020-07-24 2022-01-25 腾讯科技(深圳)有限公司 Message display method, device and storage medium
CN112163406A (en) * 2020-10-22 2021-01-01 腾讯科技(深圳)有限公司 Interactive message display method and device, computer equipment and storage medium
CN112163406B (en) * 2020-10-22 2024-02-20 腾讯科技(深圳)有限公司 Interactive message display method and device, computer equipment and storage medium
CN112583896A (en) * 2020-11-30 2021-03-30 北京达佳互联信息技术有限公司 Session management method, session management device, electronic equipment, session management server and storage medium
CN112583896B (en) * 2020-11-30 2023-03-21 北京达佳互联信息技术有限公司 Session management method, session management device, electronic equipment, session management server and storage medium
CN112702261A (en) * 2020-12-30 2021-04-23 维沃移动通信有限公司 Information display method and device and electronic equipment
CN114422463A (en) * 2022-01-17 2022-04-29 北京达佳互联信息技术有限公司 Communication method, communication apparatus, electronic device, and storage medium
CN115002056A (en) * 2022-05-26 2022-09-02 维沃移动通信有限公司 Message processing method and device, electronic equipment and readable storage medium
CN115002056B (en) * 2022-05-26 2024-05-17 维沃移动通信有限公司 Message processing method, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN107707461A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
WO2019076372A1 (en) Session message display method, and mobile terminal
WO2021093429A1 (en) Group chat method and electronic device
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
WO2021082741A1 (en) Display method and electronic device
WO2019154181A1 (en) Display control method and mobile terminal
WO2020042785A1 (en) Application display method and mobile terminal
US20220286504A1 (en) Application sharing method, electronic device and computer readable storage medium
WO2021129762A1 (en) Application sharing method, electronic device and computer-readable storage medium
WO2021017763A1 (en) Transaction processing method, terminal device, and computer-readable storage medium
WO2019080929A1 (en) Message prompting method and mobile terminal
WO2020233285A1 (en) Message display method and terminal device
KR20220101676A (en) Application sharing method, electronic device and computer readable storage medium
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2019196864A1 (en) Control method for virtual button and mobile terminal
WO2020057258A1 (en) Information processing method and terminal
WO2021098633A1 (en) Information display and transmission methods, and electronic device
CN110971423B (en) Group creation method and electronic device
WO2020042892A1 (en) Call mode switching method and terminal device
WO2020001604A1 (en) Display method and terminal device
WO2020192282A1 (en) Notification message display method and terminal device
WO2019114522A1 (en) Screen control method, screen control apparatus, and mobile terminal
WO2021083036A1 (en) Message reply method, server and electronic device
WO2020211612A1 (en) Information display method and terminal device
WO2021057224A1 (en) Message prompting method and terminal device
US20230025276A1 (en) Information display method, electronic device, and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1