WO2021083088A1 - 消息显示方法及终端设备 - Google Patents

消息显示方法及终端设备 Download PDF

Info

Publication number
WO2021083088A1
WO2021083088A1 PCT/CN2020/123729 CN2020123729W WO2021083088A1 WO 2021083088 A1 WO2021083088 A1 WO 2021083088A1 CN 2020123729 W CN2020123729 W CN 2020123729W WO 2021083088 A1 WO2021083088 A1 WO 2021083088A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
terminal device
display
location
conversation interface
Prior art date
Application number
PCT/CN2020/123729
Other languages
English (en)
French (fr)
Inventor
李仁军
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021083088A1 publication Critical patent/WO2021083088A1/zh

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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a message display method and terminal device.
  • terminal devices With the development of electronic technology and communication technology, the functions of terminal devices are becoming more and more diversified, and their applications are becoming more and more abundant. People can use the terminal devices to study, work, socialize, etc.
  • multiple users can use the communication application program of the terminal device to conduct a conversation (ie, chat).
  • a conversation interface displayed on the terminal device a message sent by a user to another user can be displayed, or a message received from the other user (for example, a message in the form of text, voice, etc.) can be displayed.
  • the two parties in the communication can have a conversation in the conversation interface with "one word for you, one word for me”.
  • the embodiments of the present application provide a message display method and terminal device to solve the problem of poor message display effect of existing terminal devices.
  • an embodiment of the present application provides a message display method, which is applied to a first terminal device, and the method includes: receiving a first user's first input for a first message in a conversation interface, and the first message is a first message.
  • an embodiment of the present application provides a terminal device, and the terminal device is a first terminal device.
  • the terminal device includes a receiving module and a display module.
  • the receiving module is configured to receive a first input of a first user for a first message in the conversation interface, and the first message is a message sent by the first terminal device to the second terminal device.
  • the display module is configured to update the display position of the first message from the first position to the second position in response to the first input received by the receiving module, and the first position and the second position are different positions in the conversation interface. Wherein, in the conversation interface displayed by the second terminal device, the display position of the first message is updated to the second position.
  • the embodiments of the present application provide a terminal device.
  • the terminal device includes a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program implements the above-mentioned first when the computer program is executed by the processor.
  • the steps of the message display method in one aspect.
  • an embodiment of the present application provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and the computer program implements the steps of the message display method in the first aspect when the computer program is executed by a processor.
  • a first input of a first user for a first message in the conversation interface may be received, where the first message is a message sent by the first terminal device to the second terminal device; and in response to the first input , The display position of the first message is updated from the first position to the second position, and the first position and the second position are different positions in the conversation interface. Wherein, in the conversation interface displayed by the second terminal device, the display position of the first message is updated to the second position.
  • the conversation interface of the receiver will be updated as the conversation interface of the sender is updated, the second user can intuitively view the conversation message after the position adjustment in the conversation interface through the second terminal device.
  • the embodiment of the present application can improve the effect of the terminal device in displaying messages, thereby improving communication efficiency.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the application
  • FIG. 2 is one of the schematic diagrams of the message display method provided by the embodiment of the application.
  • FIG. 3 is one of the schematic diagrams of the interface of the application of the message display method provided by the embodiment of the application;
  • FIG. 5 is the third schematic diagram of the interface of the message display method application provided by the embodiment of the application.
  • Fig. 6 is a second schematic diagram of a message display method provided by an embodiment of the application.
  • FIG. 7 is the fourth schematic diagram of the interface of the application of the message display method provided by the embodiment of this application.
  • FIG. 8 is the third schematic diagram of a message display method provided by an embodiment of this application.
  • FIG. 9 is a fourth schematic diagram of a message display method provided by an embodiment of this application.
  • FIG. 10 is the fifth schematic diagram of the interface of the message display method application provided by the embodiment of this application.
  • FIG. 11 is the sixth schematic diagram of the interface of the message display method application provided by the embodiment of this application.
  • FIG. 12 is a fifth schematic diagram of a message display method provided by an embodiment of this application.
  • FIG. 13 is one of the schematic structural diagrams of a terminal device provided by an embodiment of this application.
  • FIG. 14 is the second structural diagram of a terminal device provided by an embodiment of this application.
  • FIG. 15 is the third structural diagram of a terminal device provided by an embodiment of this application.
  • FIG. 16 is a schematic diagram of hardware of a terminal device provided by an embodiment of the application.
  • first and second in the specification and claims herein are used to distinguish different objects, rather than to describe a specific order of objects.
  • first position and the second position are used to distinguish different positions, not to describe a specific order of positions.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more or more advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units, etc.; multiple An element refers to two or more elements, etc.
  • the embodiments of the present application provide a message display method and terminal device, which can receive a first user's first input for a first message in a conversation interface, and the first message is a message sent by the first terminal device to the second terminal device; And in response to the first input, the display position of the first message is updated from the first position to the second position, where the first position and the second position are different positions in the conversation interface; wherein, the display position of the first message is displayed on the second terminal device. In the conversation interface, the display position of the first message is updated to the second position.
  • the first user can select the sent message that needs position adjustment in the conversation interface with the second user according to actual usage needs, and trigger the first terminal device to update the display position of the sent message in the conversation interface .
  • the conversation interface of the receiver will be updated as the conversation interface of the sender is updated, the second user can intuitively view the conversation message after the position adjustment in the conversation interface through the second terminal device.
  • the embodiment of the present application can improve the effect of the terminal device in displaying messages, thereby improving communication efficiency.
  • the terminal device in the embodiment of the present application may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the following uses the Android operating system as an example to introduce the software environment to which the message display method provided by the embodiment of the present application is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of this application.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • the developer can develop a software program that implements the message display method provided by the embodiment of the application based on the system architecture of the Android operating system as shown in FIG.
  • the display method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the message display method provided in the embodiment of the present application by running the software program in the Android operating system.
  • the terminal device in the embodiment of the present application may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which are not specifically limited in the embodiment of the present application.
  • the execution subject of the message display method provided in the embodiments of the present application may be the above-mentioned terminal device, or may be a functional module and/or functional entity in the terminal device that can implement the message display method, and the details may be determined according to actual usage requirements.
  • the embodiments of this application are not limited.
  • the following takes a terminal device as an example to illustrate the message display method provided in the embodiment of the present application.
  • scenario when the first user edits the content and prepares to send a message to the second user1, the second user sends a consultation message to the first user2, the first user often sends the message1 first to avoid trouble. Then reply the content of the message 2, that is, send the message 3 to the second user.
  • the order from top to bottom is the message 2 of the first user, the message 1 and the message 3 of the first user, and the message 3 is a reply to the message 2.
  • a semantic misunderstanding may sometimes form, making it difficult for the receiver to understand which message is being sent back.
  • the embodiment of the present application proposes that the function of adjusting the position sequence of the sent messages can be added in the current social application.
  • an embodiment of the present application provides a message display method.
  • the message display method may include the following steps 200 and 201.
  • the message display method can be implemented in the interaction process between multiple terminal devices.
  • the interaction between the first terminal device and the second terminal device is taken as an example for description.
  • the user of the first terminal device It may be referred to as the first user for short, and the user of the second terminal device may be referred to as the second user for short.
  • Step 200 The first terminal device receives the first input of the first user for the first message in the conversation interface.
  • the first message is a message sent by the first terminal device to the second terminal device.
  • the above-mentioned conversation interface refers to an interface with conversational function displayed after the terminal device runs a communication application.
  • Both parties in the communication can display the conversation interface, and can input in the conversation interface (for example, typing input or voice input) , Trigger the terminal device to display the conversation message on the conversation interface (such as sent messages and/or received messages, such as messages in the form of text, voice, etc.), so that the two communicating parties chat based on the same conversation interface, so the conversation interface is also Called the chat log interface.
  • the first user and the second user conduct a conversation in the conversation interface through their respective terminal devices
  • the first user needs to send a certain sent message in the conversation interface (for example, the first message )
  • Adjust its display position for example, move the display position of the first message up or down
  • the first user can make a first input for the first message in the conversation interface displayed by the first terminal device to trigger the first message
  • a terminal device updates the display position of the sent message in the conversation interface.
  • the above-mentioned first input may be that the first user drags the first message box from the first position to the second position Gesture operation.
  • the above-mentioned first position and second position are different positions in the conversation interface. Adjust by dragging with gestures, which is convenient and quick to operate.
  • the first user may drag the first message box to the position to be inserted to trigger the first terminal device to update the display position of the first message from the current position (which may be referred to as the first position) to the position to be inserted ( It can be called the second position), so that the display position of the first message is adjusted.
  • the first position which may be referred to as the first position
  • the second position the position to be inserted
  • the first terminal device displays a conversation interface 31, which is an interface for the first user and the second user to conduct a conversation. If the first user needs to adjust the display position of the first message box 32 (corresponding to the first message), as shown in FIG. 3(b), the first user can place the first message box 32 in the conversation interface Drag up or down.
  • the foregoing first input may include a selection input for the first message and a selection input for the second position.
  • the first user can trigger a pop-up menu by pressing and holding the first message box (for example, an input with a duration greater than a preset duration), and the menu can include an item of "adjust position"; then, the first user can enter the menu Select "Adjust position" item in the menu to trigger the location update for the first message; further, the first user can select the position to be inserted in the conversation interface and release the finger to trigger the first terminal device to change the display position of the first message from The current position is updated to the position to be inserted, and thus the display position of the first message is adjusted.
  • the first message box for example, an input with a duration greater than a preset duration
  • the first terminal device displays a conversation interface 31, which is an interface for the first user and the second user to conduct a conversation. If the first user needs to adjust the display position of the first message box 32 (corresponding to the first message), as shown in (b) in FIG. 4, the first user can press and hold the first message box 32 to trigger The first terminal device pops up the menu bar 33, and further the first user can select the "adjust position" item to trigger the adjustment of the display position of the first message.
  • first input is only an exemplary enumeration, and it can be understood that the first input may also be any other input that meets actual use requirements, which can be specifically determined according to actual use requirements, and is not limited in the embodiment of the present application.
  • the type of the first message mentioned above can be text, voice, picture, video, link, positioning, etc., or any other type that meets actual usage requirements. It can be based on actual conditions. The use requirement is determined, and the embodiment of the present application does not limit it.
  • Step 201 In response to the first input, the first terminal device updates the display position of the first message from the first position to the second position.
  • the first terminal device may update the display position of the first message from the first position to the second position.
  • both the first terminal device and the second terminal device will display the conversation interface and the first terminal device and the second terminal device are in a real-time communication state
  • the display position of the first message on the second terminal device can follow the first
  • the display position of the first message on the terminal device is updated; of course, the display position of the first message on the first terminal device can be updated with the update of the display position of the first message on the second terminal device.
  • the second terminal device also updates the display position of the first message in the conversation interface to the second position.
  • the terminal device may follow the movement of the first message box, and display the message box in association with the first message box at the insertable position.
  • the insertion mark (for example, a horizontal bar, a wavy line, a dashed line, etc.) is used to prompt the first user to insert the first message box into this position for display.
  • the position that cannot be inserted can be grayed out to prompt the first user that the first message box cannot be inserted into the position for display.
  • the terminal device may display a prompt message box for prompting the first user to confirm whether to update the display position of the first message to The position to be inserted. Moreover, after the user confirms that the display position of the first message is updated to the position to be inserted, the terminal device may update the display position of the first message from the first position to the second position.
  • the first terminal device displays a conversation interface 31, which is an interface for the first user and the second user to conduct a conversation. If the first user needs to adjust the display position of the first message box 32 (corresponding to the first message), as shown in FIG. 5(b), the first user can place the first message box 32 in the conversation interface Drag upwards or downwards, and during the dragging process, an insert position indicator 34 may be displayed at the insertable position.
  • the first terminal device can display a prompt message box 35: "Please confirm: update the display position of this message", "Cancel ",”confirm”. If the user clicks "confirm", as shown in (d) in FIG. 5, the terminal device can update the display position of the first message box 32 from the first position to the second position.
  • the first terminal device when the first terminal device updates the display position of the first message, the first terminal device may update the display positions of other message boxes after the insertable identifier in the conversation interface, so that the conversation interface
  • the multiple messages displayed in are arranged neatly in order, which can improve the effect of the terminal device in displaying messages.
  • the first terminal device updates the display position of the first message box 32. Accordingly, the first terminal device may update the display of other message boxes after the insertable identifier, such as If the first message box 32 moves up, the other message boxes after the logo can be inserted move down accordingly.
  • the message display method provided by the embodiment of the present application can receive a first input of a first user for a first message in a conversation interface, where the first message is a message sent by the first terminal device to the second terminal device; and responds to the The first input is to update the display position of the first message from the first position to the second position, where the first position and the second position are different positions in the conversation interface; wherein, in the conversation interface displayed by the second terminal device, The display position of the first message is updated to the second position.
  • the first user can select the sent message that needs position adjustment in the conversation interface with the second user according to actual usage needs, and trigger the first terminal device to update the display position of the sent message in the conversation interface .
  • the conversation interface of the receiver will be updated as the conversation interface of the sender is updated, the second user can intuitively view the conversation message after the position adjustment in the conversation interface through the second terminal device.
  • the embodiment of the present application can improve the effect of the terminal device in displaying messages, thereby improving communication efficiency.
  • the above-mentioned first message may be a message sent within a preset period of time before the first input is received.
  • the user can select a sent message (ie, the first message) within a preset time period T before receiving the first input, and adjust the position of the message.
  • the above-mentioned second position may be located in the first area of the conversation interface, and the first area is included in the preset period of time before the first terminal device receives the first input. Message received or message sent.
  • the area that can support the adjustment of the message position includes all the received messages and the intervals of the sent messages within the preset time period before the first terminal device receives the first input.
  • the above-mentioned preset duration may be 1 minute, or 2 minutes, or any other duration that meets actual use requirements, which can be specifically determined according to actual use requirements, and is not limited in the embodiments of the present application.
  • the preset duration is 2 minutes
  • position adjustment or sequence adjustment may be allowed; while for messages that have been sent before 2 minutes, position adjustment or sequence adjustment cannot be performed.
  • the message display method provided in the embodiment of the present application may further include the following steps 202.
  • the above-mentioned step 201 can be specifically implemented by the following step 201a.
  • Step 202 The first terminal device displays the second area in the conversation interface in the target display state.
  • the target area displayed in the target display state is a non-manipulation area.
  • Step 201a In response to the first input, the first terminal device updates the display position of the first message from the first position to the second position, and the second position is a position other than the second area in the conversation interface.
  • the first terminal device may display the non-insertable area in the conversation interface in the target display state (as shown in area 36 in FIG. 7). As shown, the area 36 is displayed in a different display state from other areas) to prompt the user that these areas cannot be inserted, so that the user can easily know which areas can be inserted.
  • the target display state may be grayed out, displayed in the first transparency (for example, less than 100%), or displayed in any other state that meets actual usage requirements.
  • the first transparency for example, less than 100%
  • the embodiment of the present application does not limit it.
  • the insertable position or area is displayed normally, and the non-insertable area can be grayed out, so that the user can clearly know which areas of the conversation interface can be inserted, so that the embodiment of this application can improve the terminal equipment Show the effect of the message.
  • the message display method provided in the embodiment of the present application may further include the following steps 203 to 205.
  • Step 203 The first terminal device sends location update information to the second terminal device.
  • the location update information is used to instruct the second terminal device to update the display location of the first message to the second location.
  • Step 204 The second terminal device receives location update information.
  • Step 205 The second terminal device updates the display position of the first message in the conversation interface to the second position according to the position update information.
  • the first terminal device when the first terminal device updates the display position of the first message (for example, after the first user confirms the selected insertable position), the first terminal device (ie the sender) will give the second The terminal device (that is, the receiver) sends "location update information" (or "position adjustment instruction") to instruct the second terminal device to update the display position of the first message accordingly, so that the receiver's conversation interface will be sent along with it.
  • the conversational interface of the party is updated and updated, so as to achieve "synchronous" refresh, which can improve the effect of displaying messages on the terminal device.
  • the message display method provided in the embodiment of the present application may further include the following steps 206 to 209.
  • Step 206 The first terminal device displays the location update identifier on the conversation interface.
  • the location update identifier is used to indicate that the display location of the first message has been updated in the target direction.
  • Step 207 The first terminal device sends location update information to the second terminal device.
  • the location update information is used to instruct the second terminal device to update the display location of the first message to the second location, and for the first message after the location update, the location update identifier is displayed in association (for example, in the first message after the location update). A location update logo is displayed next to a message).
  • Step 208 The second terminal device receives location update information.
  • Step 209 The second terminal device updates the display location of the first message in the conversation interface to the second location according to the location update information, and displays the location update identifier.
  • the above-mentioned location update identifier may be an arrow, or a text, or any other identifier that meets actual use requirements, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present application.
  • the location update indicator may be an upward arrow; if the display position of the first message moves up, the location update indicator may be a downward arrow.
  • the first terminal device may respond to the updated first message ,
  • the location update identifier is displayed, and the first terminal device can send "location update information" to the second terminal device to instruct the second terminal device to update the display location of the first message and display the location update identifier accordingly, so that the recipient’s
  • the conversation interface will be updated with the update of the conversation interface of the sender, so as to achieve "synchronous" refresh, which can improve the effect of the terminal device in displaying messages.
  • the first terminal device when the first terminal device updates the display position of the first message box 32 (that is, moves the first message box 32 upward), the first terminal device can update the position A position update indicator 37 (for example, an upward arrow) is displayed beside the subsequent first message box 32.
  • the second terminal device can update the display position of the first message box 32 and display the position update identifier 37 accordingly, so as to be consistent with the conversation interface displayed by the first terminal device.
  • the first terminal device may be the first terminal device whose position is updated.
  • a position update indicator 39 (for example, a downward arrow) is displayed beside the message box 32.
  • the second terminal device can update the display position of the first message box 38 and display the position update identifier 39 accordingly, so as to be consistent with the conversation interface displayed by the first terminal device.
  • the above-mentioned location update information may also be used to instruct the second terminal device to display a prompt message, which is used to prompt the second user that the display position of the first message has been updated.
  • the message display method provided in the embodiment of the present application may further include the following step 210.
  • Step 210 The second terminal device displays a prompt message.
  • the second terminal device when the second terminal device exits the conversation interface, if the first terminal device adjusts the position or sequence of the message, the second terminal device may, after receiving the location update information sent by the first terminal device, A notification message is displayed on the desktop, such as "The first user adjusted the display position of a message".
  • the second terminal device may also display text prompt information on the conversation interface, for example, "the location of the message has been adjusted". That is, for messages whose position order has been adjusted, if the recipient does not stay on the chat history interface, the recipient will display a corresponding new message reminder.
  • step 205 may be performed first, and then step 210; or step 210 and step 205 may be performed at the same time.
  • FIG. 12 is an example of performing step 205 and then performing step 210 as an example.
  • FIG. 12 in the embodiment of the present application is illustrated in conjunction with the foregoing FIG. 8 as an example. In specific implementation, FIG. 12 can also be implemented in conjunction with any other combined drawings (for example, the foregoing FIG. 9).
  • the embodiment of the present application is exemplified by taking the first terminal device as the sender and the second terminal device as the receiver as an example. It can be understood that the second terminal device is the sender and the first terminal device is the sender. In the scenario where it is the receiver, the message display method may refer to the specific implementation manner of the foregoing method embodiment.
  • an embodiment of the present application provides a terminal device 700, and the terminal device is a first terminal device.
  • the terminal device 700 may include a receiving module 701 and a display module 702.
  • the receiving module 701 is configured to receive a first input of a first user for a first message in the conversation interface, and the first message is a message sent by the first terminal device to the second terminal device.
  • the display module 702 is configured to update the display position of the first message from the first position to the second position in response to the first input received by the receiving module 701, and the first position and the second position are different positions in the conversation interface.
  • the display position of the first message is updated to the second position.
  • the above-mentioned first message may be a message sent within a preset time period before receiving the first input
  • the above-mentioned second position may be located in the first area of the conversation interface, and the first area Includes messages received or messages sent within a preset period of time before the first terminal device receives the first input.
  • the above-mentioned first input may be a gesture operation by the first user to drag the first message box from the first position to the second position, and the first message box may be used to carry the first message.
  • the above-mentioned first input may include a selection input for the first message and a selection input for the second position.
  • the display module 702 is further configured to update the display position of the second message from the second position to the third position after the receiving module 701 receives the first input of the first user for the first message in the conversation interface.
  • Location, the third location is a location different from the second location in the conversation interface.
  • the display module 702 is further configured to display the second message in the conversation interface in the target display state after the receiving module 701 receives the first input of the first user for the first message in the conversation interface. area.
  • the second area is an area other than the above-mentioned first area in the conversation interface, and the second area displayed in the target display state is a non-manipulation area.
  • the terminal device 700 provided in the embodiment of the present application may further include a first sending module 703.
  • the first sending module 703 is configured to send location update information to the second terminal device after the display module 702 updates the display location of the first message from the first location to the second location, and the location update information is used to instruct the second terminal The device updates the display position of the first message to the second position. Wherein, when the second terminal device receives the location update information, the second terminal device updates the display location of the first message to the second location according to the location update information.
  • the terminal device 700 provided in the embodiment of the present application may further include a second sending module 704.
  • the display module 702 is configured to display a location update identifier in the conversation interface after the display location of the first message is updated from the first location to the second location.
  • the location update identifier is used to indicate that the display location of the first message is already in the target Update in the direction.
  • the second sending module 704 is configured to send location update information to the second terminal device after the display module 702 displays the location update identifier in the conversation interface.
  • the location update information is used to instruct the second terminal device to display the position of the first message Update to the second location, and display the location update logo.
  • first sending module and second sending module may be the same module or different modules.
  • the above-mentioned location update information may be used to instruct the second terminal device to display a prompt message, and the prompt message is used to prompt the second user that the display position of the first message has been updated, and the second user is the first user. 2. Users of terminal equipment. Wherein, when the second terminal device receives the location update information, the second terminal device displays the prompt message.
  • the terminal device provided in the embodiment of the present application can implement each process implemented by the terminal device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the terminal device (referred to as the first terminal device) provided by the embodiment of the application can receive the first input of the first user for the first message in the conversation interface, and the first message is sent by the first terminal device to the second terminal device And in response to the first input, the display position of the first message is updated from the first position to the second position, the first position and the second position are different positions in the conversation interface; wherein, in the second terminal In the conversation interface displayed by the device, the display position of the first message is updated to the second position.
  • the first user can select the sent message that needs position adjustment in the conversation interface with the second user according to actual usage needs, and trigger the first terminal device to update the display position of the sent message in the conversation interface .
  • the conversation interface of the receiver will be updated as the conversation interface of the sender is updated, the second user can intuitively view the conversation message after the position adjustment in the conversation interface through the second terminal device.
  • the embodiment of the present application can improve the effect of the terminal device in displaying messages, thereby improving communication efficiency.
  • FIG. 16 is a schematic diagram of the hardware structure of a terminal device implementing each embodiment of the present application.
  • the terminal device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • a radio frequency unit 801 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • the structure of the terminal device shown in FIG. 16 does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components Layout.
  • terminal devices include, but are not limited to,
  • the user input unit 807 is configured to receive a first user's first input for a first message in the conversation interface, and the first message is a message sent by the first terminal device to the second terminal device;
  • the display unit 806 is configured to The first input received by the user input unit 807 updates the display position of the first message from the first position to the second position, and the first position and the second position are different positions in the conversation interface; where, in the second terminal device In the displayed conversation interface, the display position of the first message is updated to the second position.
  • the embodiment of the present application provides a terminal device (referred to as a first terminal device), which can receive a first user's first input for a first message in a conversation interface, and the first message is the first terminal device to the first message 2.
  • a message sent by the terminal device and in response to the first input, the display position of the first message is updated from the first position to the second position, where the first position and the second position are different positions in the conversation interface; wherein, In the conversation interface displayed by the second terminal device, the display position of the first message is updated to the second position.
  • the first user can select the sent message that needs position adjustment in the conversation interface with the second user according to actual usage needs, and trigger the first terminal device to update the display position of the sent message in the conversation interface .
  • the conversation interface of the receiver will be updated as the conversation interface of the sender is updated, the second user can intuitively view the conversation message after the position adjustment in the conversation interface through the second terminal device.
  • the embodiment of the present application can improve the effect of the terminal device in displaying messages, thereby improving communication efficiency.
  • the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 810; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 801 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 frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device 800 provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 may convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal device 800 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is used to receive audio or video signals.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame may be displayed on the display unit 806.
  • the image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802.
  • the microphone 8042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
  • the terminal device 800 further includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 8061 and the display panel 8061 when the terminal device 800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 806 is used to display information input by the user or information provided to the user.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 807 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the terminal device.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • the touch panel 8071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating).
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the 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 it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed.
  • the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 807 may also include other input devices 8072.
  • other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 8071 can be overlaid on the display panel 8061.
  • the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 8061.
  • the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 808 is an interface for connecting an external device with the terminal device 800.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 800 or can be used to connect the terminal device 800 to an external device. Transfer data between devices.
  • the memory 809 can be used to store software programs and various data.
  • the memory 809 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 810 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes software programs and/or modules stored in the memory 809, and calls data stored in the memory 809. , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
  • the terminal device 800 may also include a power supply 811 (such as a battery) for supplying power to various components.
  • a power supply 811 such as a battery
  • the source 811 can be logically connected to the processor 810 through the power management system, so that the
  • the terminal device 800 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present application further provides a terminal device, including a processor 810 as shown in FIG. 16, a memory 809, a computer program stored in the memory 809 and running on the processor 810, and the computer program is
  • a terminal device including a processor 810 as shown in FIG. 16, a memory 809, a computer program stored in the memory 809 and running on the processor 810, and the computer program is
  • the processor 810 executes, each process of the foregoing message display method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, details are not described herein again.
  • the embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned message display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.

Abstract

本申请实施例提供了一种消息显示方法及终端设备,该方法包括:接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息;并响应于该第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置;其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。

Description

消息显示方法及终端设备
相关申请的交叉引用
本申请主张在2019年10月28日提交国家知识产权局、申请号为201911033617.2申请名称为“一种消息显示方法及终端设备”的中国专利申请的优先权,其全部内容通过引用包含于此。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种消息显示方法及终端设备。
背景技术
随着电子技术及通信技术的发展,终端设备的功能越来越多样化,其应用程序也越来越丰富,人们可以利用终端设备学习、工作、社交等。
目前,多个用户之间可以使用终端设备的通讯类应用程序进行会话(即聊天)。具体的,在终端设备显示的会话界面中,可以显示用户向另一用户发送的消息,也可以显示从该另一用户接收的消息(例如文字、语音等形式的消息)。如此,通信双方可以在会话界面中“你一言,我一语”地进行对话。
然而,在上述多用户的会话过程中,由于会话界面中的消息较多或者用户回复消息不及时等原因,因此有时可能会形成上下文语义上的误解,使得一方可能不易理解对方回复的是哪条消息。如此,导致终端设备显示消息的效果较差。
发明内容
本申请实施例提供一种消息显示方法及终端设备,以解决现有终端设备显示消息的效果较差的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种消息显示方法,应用于第一终端设备,该方法包括:接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息;并响应于该第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置;其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。
第二方面,本申请实施例提供了一种终端设备,该终端设备为第一终端设备。该终端设备包括接收模块和显示模块。接收模块用于接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息。显示模块用于响应于接收模块接收的第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置。其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。
第三方面,本申请实施例提供了一种终端设备,该终端设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面中的消息显示方法的步骤。
第四方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的消息显示方法的步骤。
在本申请实施例中,可以接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息;并响应于该第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置。其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。通过该方案,第一用户可以根据实际使用需求,在与第二用户的会话界面中选中需要进行位置调整的已发送的消息,触发第一终端设备更新会话界面中该已发送的消息的显示位置。由于接收方的会话界面会随着发送方的会话界面的更新而更新,因此第二用户可以通过第二终端设备直观地查看会话界面中位置调整后的会话消息。如此,本申请实施例可以提升终端设备显示消息的效果,进而可以提高通信效率。
附图说明
图1为本申请实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本申请实施例提供的消息显示方法的示意图之一;
图3为本申请实施例提供的消息显示方法应用的界面示意图之一;
图4为本申请实施例提供的消息显示方法应用的界面示意图之二;
图5为本申请实施例提供的消息显示方法应用的界面示意图之三;
图6为本申请实施例提供的消息显示方法的示意图之二;
图7为本申请实施例提供的消息显示方法应用的界面示意图之四;
图8为本申请实施例提供的消息显示方法的示意图之三;
图9为本申请实施例提供的消息显示方法的示意图之四;
图10为本申请实施例提供的消息显示方法应用的界面示意图之五;
图11为本申请实施例提供的消息显示方法应用的界面示意图之六;
图12为本申请实施例提供的消息显示方法的示意图之五;
图13为本申请实施例提供的终端设备的结构示意图之一;
图14为本申请实施例提供的终端设备的结构示意图之二;
图15为本申请实施例提供的终端设备的结构示意图之三;
图16为本申请实施例提供的终端设备的硬件示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一位置和第二位置等是用于区别不 同的位置,而不是用于描述位置的特定顺序。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。
本申请实施例提供一种消息显示方法及终端设备,可以接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息;并响应于该第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置;其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。通过该方案,第一用户可以根据实际使用需求,在与第二用户的会话界面中选中需要进行位置调整的已发送的消息,触发第一终端设备更新会话界面中该已发送的消息的显示位置。由于接收方的会话界面会随着发送方的会话界面的更新而更新,因此第二用户可以通过第二终端设备直观地查看会话界面中位置调整后的会话消息。如此,本申请实施例可以提升终端设备显示消息的效果,进而可以提高通信效率。
本申请实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本申请实施例提供的消息显示方法所应用的软件环境。
如图1所示,为本申请实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本申请实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本申请实施例提供的消息显示方法的软件程序,从而使得该消息显示方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本申请实施例提供的消息显示方法。
本申请实施例中的终端设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例提供的消息显示方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该消息显示方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本申请实施例不作限定。下面以终端设备为例,对本申请实施例提供的消息显示方法进行示例性的说明。
目前,对于文字、图片、视频等富媒体消息,可以实现对已发送的消息的二次操作,比如对已发送的消息进行消息撤回、阅后即焚、对方已读提示等。但是在当前的社交应用中,在有些场景下,通信双方由于消息显示的局限性,容易造成消息内容的误解。
例如,场景:第一用户编辑好内容准备向第二用户发送消息①时,第二用户给第一用户发了一个咨询类消息②,第一用户为避免麻烦往往会先把消息①发出去,然后再回复消息②的内容,即向第二用户发送消息③。
此时,在会话界面中,从上至下的顺序依次为第一用户的消息②,第一用户的消息①和消息③,其中,消息③是回复消息②的。当消息较多时,有时可能会形成一种语义上的误解,让接收方不容易理解发送回复的是哪条消息。
鉴于此,本申请实施例提出:可以在当前的社交应用中,增加对已发送的消息的位置顺序进行调整的功能。
下面结合各个附图对本申请实施例提供的消息显示方法进行示例性的说明。
如图2所示,本申请实施例提供一种消息显示方法,该消息显示方法可以包括下述的步骤200和步骤201。
需要说明的是,该消息显示方法可以在多个终端设备之间的交互过程中实现,为了便于说明,下面以第一终端设备和第二终端设备交互为例进行说明,第一终端设备的用户可简称为第一用户,第二终端设备的用户可简称为第二用户。
步骤200、第一终端设备接收第一用户针对会话界面中的第一消息的第一输入。
其中,该第一消息为第一终端设备向第二终端设备发送的消息。
本申请实施例中,上述会话界面指终端设备运行通信类应用程序之后显示的具有会话功能的界面,通信双方均可以显示会话界面,并且可以在会话界面中进行输入(例如打字输入或语音输入),触发终端设备在会话界面上显示会话消息(例如已发送的消息和/或已接收的消息,例如文字、语音等形式的消息),如此通信双方基于同一会话界面进行聊天,因此该会话界面也称为聊天记录界面。
本申请实施例中,在第一用户和第二用户通过各自的终端设备在会话界面中进行会话的情况下,如果第一用户需要将会话界面中的某一条已发送的消息(例如第一消息)调整其显示位置(例如将第一消息的显示位置上移或下移),那么此时第一用户可以针对第一终端设备显示的会话界面中的第一消息进行第一输入,以触发第一终端设备更新该已发送的消息在会话界面中的显示位置。
可选地,在一种可能的实现方式中,假设第一消息通过第一消息框承载显示,那 么上述第一输入可以为第一用户将第一消息框从第一位置拖动到第二位置的手势操作。其中,上述第一位置和第二位置为会话界面中的不同位置。通过手势拖动的方式进行调整,操作方便快捷。
示例性的,第一用户可以通过将第一消息框拖动到待插入位置,触发第一终端设备将第一消息的显示位置由当前位置(可称为第一位置)更新为待插入位置(可称为第二位置),如此针对第一消息的显示位置进行调整。
如图3中的(a)所示,第一终端设备显示会话界面31,该会话界面为第一用户和第二用户进行会话的界面。若第一用户需要将第一消息框32(对应于第一消息)的显示位置进行调整,则如图3中的(b)所示,第一用户可以将第一消息框32在会话界面中向上拖动或向下拖动。
可选地,在另一种可能的实现方式中,上述第一输入可以包括对第一消息的选择输入以及对第二位置的选择输入。
示例性的,第一用户可以通过长按(例如按压时长大于预设时长的输入)第一消息框,触发弹出菜单,该菜单中可以包括“调整位置”项;然后,第一用户可以在菜单中选择“调整位置”项,触发针对第一消息进行位置更新;进一步的,第一用户可以在会话界面中选择待插入位置并松开手指,触发第一终端设备将第一消息的显示位置由当前位置更新为待插入位置,如此针对第一消息的显示位置进行调整。
如图4中的(a)所示,第一终端设备显示会话界面31,该会话界面为第一用户和第二用户进行会话的界面。若第一用户需要将第一消息框32(对应于第一消息)的显示位置进行调整,则如图4中的(b)所示,第一用户可以通过长按第一消息框32,触发第一终端设备弹出菜单栏33,进一步第一用户可以选择“调整位置”项,触发针对第一消息的显示位置进行调整。
需要说明的是,上述第一输入只是示例性的列举,可以理解,第一输入还可以是其它任意满足实际使用需求的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。
还需要说明的是,上述第一消息的类型可以为文字,也可以为语音,还可以为图片、视频、链接、定位等类型,或者可以为其它任意满足实际使用需求的类型,具体可以根据实际使用需求确定,本申请实施例不作限定。
步骤201、第一终端设备响应于第一输入,将第一消息的显示位置由第一位置更新为第二位置。
本申请实施例中,在第一用户针对会话界面中的第一消息进行第一输入之后,第一终端设备可以将第一消息的显示位置由第一位置更新为第二位置。
并且,由于第一终端设备和第二终端设备均会显示会话界面且第一终端设备和第二终端设备处于实时通信的状态,因此第二终端设备上第一消息的显示位置可以随着第一终端设备上第一消息的显示位置的更新而更新;当然,第一终端设备上第一消息的显示位置可以随着第二终端设备上第一消息的显示位置的更新而更新。例如,在第一终端设备将第一消息的显示位置由第一位置更新为第二位置的情况下,第二终端设备也将会话界面中第一消息的显示位置更新为第二位置。
可选地,本申请实施例中,当第一用户在会话界面中选择待插入位置时,终端设 备可以随着第一消息框的移动,在可插入的位置处与第一消息框关联显示可插入标识(例如横杠线、波浪线、虚线等),用于提示第一用户可将第一消息框插入到该位置显示。其中,不可插入的位置可以置灰显示,用于提示第一用户不能将第一消息框插入到该位置显示。
可选地,本申请实施例中,在第一用户在会话界面中选择待插入位置之后,终端设备可以显示一个提示消息框,用于提示第一用户确认是否将第一消息的显示位置更新到该待插入位置。并且,在用户确认将第一消息的显示位置更新到该待插入位置之后,终端设备可以将第一消息的显示位置由第一位置更新为第二位置。
下面结合图5,示例性地说明本申请实施例提供的消息显示方法的具体实现方式。
如图5中的(a)所示,第一终端设备显示会话界面31,该会话界面为第一用户和第二用户进行会话的界面。若第一用户需要将第一消息框32(对应于第一消息)的显示位置进行调整,则如图5中的(b)所示,第一用户可以将第一消息框32在会话界面中向上或向下拖动,并且在拖动过程中,在可插入的位置可以显示有插入位置标识34。当用户从第一终端设备上松开手指之后,如图5中的(c)所示,第一终端设备可以显示提示消息框35:“请确认:更新该条消息的显示位置”、“放弃”、“确认”。若用户点击“确认”,则如图5中的(d)所示,终端设备可以将第一消息框32的显示位置由第一位置更新为第二位置。
可选地,本申请实施例中,在第一终端设备更新第一消息的显示位置的情况下,第一终端设备可以更新会话界面中可插入标识之后的其它消息框的显示位置,使得会话界面中显示的多条消息按顺序依次整齐排列,如此可以提升终端设备显示消息的效果。
示例性的,结合图5中的(d)所示,第一终端设备更新显示第一消息框32的显示位置,相应地,第一终端设备可以更新显示可插入标识之后的其它消息框,例如若第一消息框32上移,则可插入标识之后的其它消息框相应地下移。
本申请实施例提供的消息显示方法,可以接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息;并响应于该第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置;其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。通过该方案,第一用户可以根据实际使用需求,在与第二用户的会话界面中选中需要进行位置调整的已发送的消息,触发第一终端设备更新会话界面中该已发送的消息的显示位置。由于接收方的会话界面会随着发送方的会话界面的更新而更新,因此第二用户可以通过第二终端设备直观地查看会话界面中位置调整后的会话消息。如此,本申请实施例可以提升终端设备显示消息的效果,进而可以提高通信效率。
可选地,本申请实施例中,一方面,上述第一消息可以为在接收到第一输入之前的预设时长内发送的消息。具体的,用户可以选取在接收到第一输入之前的预设时长T内的已发送的消息(即第一消息),对该条消息进行位置调整。
可选地,本申请实施例中,另一方面,上述第二位置可以位于会话界面的第一区域中,该第一区域中包括在第一终端设备接收到第一输入之前的预设时长内接收的消息或发送的消息。
也就是说,可以支持消息位置调整的区域包括在第一终端设备接收到第一输入之前的预设时长内所有的已接收消息和已发送的消息的区间。
本申请实施例中,上述预设时长可以为1分钟,也可以为2分钟,还可以为其它任意满足实际使用需求的时长,具体可以根据实际使用需求确定,本申请实施例不作限定。
示例性的,假设预设时长为2分钟,那么针对2分钟内已发送的消息,可以允许进行位置调整或顺序调整;而在2分钟之前已发送的消息,则无法进行位置调整或顺序调整。
通过该方案,对于预设时长内已发送的消息,可调整其在指定范围内的聊天记录中的位置顺序,可以让接收方更好的理解发送方的回复内容。
进一步可选地,本申请实施例中,结合图2,如图6所示,在上述的步骤200之后,上述的步骤201之前,本申请实施例提供的消息显示方法还可以包括下述的步骤202。相应地,上述的步骤201具体可以通过下述的步骤201a实现。
步骤202、第一终端设备以目标显示状态显示会话界面中的第二区域。
其中,以目标显示状态显示的目标区域为非操控区域。
步骤201a、第一终端设备响应于第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第二位置为会话界面中除第二区域之外的位置。
本申请实施例中,在第一用户针对会话界面中的第一消息进行第一输入之后,第一终端设备可以将会话界面中的不可插入区域以目标显示状态显示(如图7中的区域36所示,该区域36以不同于其它区域的显示状态进行显示),以提示用户这些区域不可插入,如此可以便于用户清楚哪些区域可进行插入操作。
可选地,本申请实施例中,上述目标显示状态可以为置灰显示,也可以为以第一透明度(例如低于100%)显示,或者可以以其它任意满足实际使用需求的状态显示,具体可以根据实际使用需求确定,本申请实施例不作限定。
本申请实施例中,可插入位置或区域正常显示,不可插入区域可以置灰显示,如此,使得用户可以清楚地获知会话界面中的哪些区域可进行插入操作,从而本申请实施例可以提升终端设备显示消息的效果。
可选地,本申请实施例中,结合图2,如图8所示,在上述的步骤201之后,本申请实施例提供的消息显示方法还可以包括下述的步骤203-步骤205。
步骤203、第一终端设备向第二终端设备发送位置更新信息。
其中,该位置更新信息用于指示第二终端设备将第一消息的显示位置更新为第二位置。
步骤204、第二终端设备接收位置更新信息。
步骤205、第二终端设备根据位置更新信息,将会话界面中第一消息的显示位置更新为第二位置。
本申请实施例中,在第一终端设备更新第一消息的显示位置的情况下(例如在第一用户确认已选择的可插入位置之后),第一终端设备(即发送方)会给第二终端设备(即接收方)发送“位置更新信息”(或“位置调整指令”),以指示第二终端设备对应地更新显示第一消息的显示位置,进而使得接收方的会话界面会随着发送方的 会话界面的更新而更新,从而实现“同步”刷新,如此可以提升终端设备显示消息的效果。
可选地,本申请实施例中,结合图2,如图9所示,在上述的步骤201之后,本申请实施例提供的消息显示方法还可以包括下述的步骤206-步骤209。
步骤206、第一终端设备在会话界面中显示位置更新标识。
其中,该位置更新标识用于表示第一消息的显示位置已经在目标方向上进行更新。
步骤207、第一终端设备向第二终端设备发送位置更新信息。
其中,该位置更新信息用于指示第二终端设备将第一消息的显示位置更新为第二位置,并针对位置更新后的第一消息,关联地显示位置更新标识(例如在位置更新后的第一消息旁侧显示位置更新标识)。
步骤208、第二终端设备接收位置更新信息。
步骤209、第二终端设备根据位置更新信息,将会话界面中第一消息的显示位置更新为第二位置,并显示位置更新标识。
可选地,本申请实施例中,上述位置更新标识可以为箭头,也可以为文字,还可以为其它任意满足实际使用需求的标志,具体可以根据实际使用需求确定,本申请实施例不作限定。
示例性的,若第一消息的显示位置上移,则位置更新标识可以为向上的箭头;若第一消息的显示位置上移,则位置更新标识可以为向下的箭头。
本申请实施例中,在第一终端设备更新第一消息的显示位置的情况下(例如在第一用户确认已选择的可插入位置之后),第一终端设备可以针对位置更新后的第一消息,显示位置更新标识,并且第一终端设备可以向第二终端设备发送“位置更新信息”,以指示第二终端设备对应地更新第一消息的显示位置并显示位置更新标识,进而使得接收方的会话界面会随着发送方的会话界面的更新而更新,从而实现“同步”刷新,如此可以提升终端设备显示消息的效果。
示例性的,结合图5,如图10所示,在第一终端设备更新第一消息框32的显示位置的情况下(即上移第一消息框32),第一终端设备可以在位置更新后的第一消息框32旁侧显示位置更新标识37(例如向上的箭头)。并且,第二终端设备可以相应地更新第一消息框32的显示位置并显示位置更新标识37,从而与第一终端设备显示的会话界面保持一致。
又示例性的,如图11所示,在第一终端设备更新第一消息框38的显示位置的情况下(即下移第一消息框38),第一终端设备可以位置更新后的第一消息框32旁侧显示位置更新标识39(例如向下的箭头)。并且,第二终端设备可以相应地更新第一消息框38的显示位置并显示位置更新标识39,从而与第一终端设备显示的会话界面保持一致。
可选地,本申请实施例中,上述位置更新信息还可以用于指示第二终端设备显示提示消息,该提示消息用于提示第二用户第一消息的显示位置已更新。示例性的,结合图8,如图12所示,在上述的步骤204之后,本申请实施例提供的消息显示方法还可以包括下述的步骤210。
步骤210、第二终端设备显示提示消息。
本申请实施例中,在第二终端设备退出会话界面的情况下,若第一终端设备调整消息位置或顺序,则第二终端设备在接收到第一终端设备发送的位置更新信息之后,可以在桌面上显示通知消息,例如“第一用户调整了一条消息的显示位置”。
当然,第二终端设备在接收到第一终端设备发送的位置更新信息之后,还可以在会话界面中显示文字提示信息,例如“消息位置已调整”。即,对于调整过位置顺序的消息,如果接收方没有停留在聊天记录界面,则接收方会显示相应的新消息提醒。
需要说明的是,本申请实施例可以不限定步骤210和步骤205的执行顺序。即本申请实施例可以先执行步骤205,后执行步骤210;也可以同时执行步骤210和步骤205。可以理解,上述图12是以先执行步骤205后执行步骤210为例示意的。
需要说明的是,本申请实施例中图12是结合上述图8示例说明的,具体实现时,图12还可以结合其它任意可以结合的附图(例如上述的图9)实现。
还需要说明的是,本申请实施例是以第一终端设备为发送方、第二终端设备为接收方为例示例性说明的,可以理解,在第二终端设备为发送方以及第一终端设备为接收方的场景中,消息显示方法具体可以参照上述方法实施例的具体实现方式。
如图13所示,本申请实施例提供一种终端设备700,该终端设备为第一终端设备。该终端设备700可以包括接收模块701和显示模块702。
接收模块701,用于接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息。
显示模块702,用于响应于接收模块701接收的第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置。
其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。
可选地,本申请实施例中,上述第一消息可以为在接收到第一输入之前的预设时长内发送的消息,上述第二位置可以位于会话界面的第一区域中,该第一区域中包括在第一终端设备接收到第一输入之前的预设时长内接收的消息或发送的消息。
可选地,本申请实施例中,上述第一输入可以为第一用户将第一消息框从第一位置拖动到第二位置的手势操作,该第一消息框可以用于承载第一消息。
可选地,本申请实施例中,上述第一输入可以包括对第一消息的选择输入以及对该第二位置的选择输入。
在此情况下,显示模块702,还用于在将接收模块701接收第一用户针对会话界面中的第一消息的第一输入之后,将第二消息的显示位置由第二位置更新为第三位置,该第三位置为会话界面中与第二位置不同的位置。
可选地,本申请实施例中,显示模块702,还用于在接收模块701接收第一用户针对会话界面中的第一消息的第一输入之后,以目标显示状态显示会话界面中的第二区域。其中,该第二区域为会话界面中除上述第一区域之外的区域,以目标显示状态显示的第二区域为非操控区域。
可选地,本申请实施例中,结合图13,如图14所示,本申请实施例提供的终端设备700还可以包括第一发送模块703。
第一发送模块703,用于在显示模块702将第一消息的显示位置由第一位置更新为第二位置之后,向第二终端设备发送位置更新信息,该位置更新信息用于指示第二 终端设备将第一消息的显示位置更新为第二位置。其中,在第二终端设备接收到位置更新信息的情况下,第二终端设备根据位置更新信息,将第一消息的显示位置更新为第二位置。
可选地,本申请实施例中,结合图13,如图15所示,本申请实施例提供的终端设备700还可以包括第二发送模块704。
显示模块702,用于在将第一消息的显示位置由第一位置更新为第二位置之后,在会话界面中显示位置更新标识,该位置更新标识用于表示第一消息的显示位置已经在目标方向上进行更新。
第二发送模块704,用于在显示模块702在会话界面中显示位置更新标识之后,向第二终端设备发送位置更新信息,该位置更新信息用于指示第二终端设备将第一消息的显示位置更新为第二位置,并显示位置更新标识。
需要说明的是,上述第一发送模块和第二发送模块可以为同一模块,也可以为不同模块。
可选地,本申请实施例中,上述位置更新信息可以用于指示第二终端设备显示提示消息,该提示消息用于提示第二用户第一消息的显示位置已更新,该第二用户为第二终端设备的用户。其中,在第二终端设备接收到位置更新信息的情况下,该第二终端设备显示该提示消息。
本申请实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。
本申请实施例提供的终端设备(称为第一终端设备),可以接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息;并响应于该第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置;其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。通过该方案,第一用户可以根据实际使用需求,在与第二用户的会话界面中选中需要进行位置调整的已发送的消息,触发第一终端设备更新会话界面中该已发送的消息的显示位置。由于接收方的会话界面会随着发送方的会话界面的更新而更新,因此第二用户可以通过第二终端设备直观地查看会话界面中位置调整后的会话消息。如此,本申请实施例可以提升终端设备显示消息的效果,进而可以提高通信效率。
图16为实现本申请各个实施例的一种终端设备的硬件结构示意图。如图16所示,该终端设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图16中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,用户输入单元807,用于接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息;显示单元806,用于用户输入单元807接收的第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置;其中,在第二终端设备显示的会话界面中,第一消 息的显示位置更新为第二位置。
本申请实施例提供一种终端设备(称为第一终端设备),该终端设备可以接收第一用户针对会话界面中的第一消息的第一输入,该第一消息为第一终端设备向第二终端设备发送的消息;并响应于该第一输入,将第一消息的显示位置由第一位置更新为第二位置,该第一位置和第二位置为会话界面中的不同位置;其中,在第二终端设备显示的会话界面中,第一消息的显示位置更新为第二位置。通过该方案,第一用户可以根据实际使用需求,在与第二用户的会话界面中选中需要进行位置调整的已发送的消息,触发第一终端设备更新会话界面中该已发送的消息的显示位置。由于接收方的会话界面会随着发送方的会话界面的更新而更新,因此第二用户可以通过第二终端设备直观地查看会话界面中位置调整后的会话消息。如此,本申请实施例可以提升终端设备显示消息的效果,进而可以提高通信效率。
应理解的是,本申请实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。
终端设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与终端设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。
终端设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在终端设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic  light-emitting diode,OLED)等形式来配置显示面板8061。
用户输入单元807可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图16中,触控面板8071与显示面板8061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现终端设备的输入和输出功能,具体此处不做限定。
接口单元808为外部装置与终端设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备800内的一个或多个元件或者可以用于在终端设备800和外部装置之间传输数据。
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器810是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器810可包括一个或多个处理单元;可选地,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。
终端设备800还可以包括给各个部件供电的电源811(比如电池),可选地,电
源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管
理充电、放电、以及功耗管理等功能。
另外,终端设备800包括一些未示出的功能模块,在此不再赘述。
可选地,本申请实施例还提供一种终端设备,包括如图16所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例公开的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (16)

  1. 一种消息显示方法,所述方法包括:
    接收第一用户针对会话界面中的第一消息的第一输入,所述第一消息为第一终端设备向第二终端设备发送的消息;
    响应于所述第一输入,将所述第一消息的显示位置由第一位置更新为第二位置,所述第一位置和所述第二位置为所述会话界面中的不同位置;
    其中,在所述第二终端设备显示的所述会话界面中,所述第一消息的显示位置更新为所述第二位置。
  2. 根据权利要求1所述的方法,其中,所述第一消息为在接收到所述第一输入之前的预设时长内发送的消息,所述第二位置位于所述会话界面的第一区域中,所述第一区域中包括在接收到所述第一输入之前的预设时长内接收的消息或发送的消息。
  3. 根据权利要求1所述的方法,其中,所述第一输入为将第一消息框从所述第一位置拖动到所述第二位置的手势操作,所述第一消息框用于承载所述第一消息;
    或者,
    所述第一输入包括对所述第一消息的选择输入以及对所述第二位置的选择输入。
  4. 根据权利要求1至3中任一项所述的方法,其中,在所述接收第一用户针对会话界面中的第一消息的第一输入之后,所述将所述第一消息的显示位置由第一位置更新为第二位置之前,所述方法还包括:
    以目标显示状态显示所述会话界面中的第二区域;
    其中,所述第二区域为所述会话界面中除第一区域之外的区域,以所述目标显示状态显示的第二区域为非操控区域。
  5. 根据权利要求1所述的方法,其中,在所述将所述第一消息的显示位置由第一位置更新为第二位置之后,所述方法还包括:
    向所述第二终端设备发送位置更新信息,所述位置更新信息用于指示所述第二终端设备将所述第一消息的显示位置更新为所述第二位置;
    其中,在所述第二终端设备接收到所述位置更新信息的情况下,所述第二终端设备将所述第一消息的显示位置更新为所述第二位置。
  6. 根据权利要求1所述的方法,其中,在所述将所述第一消息的显示位置由第一位置更新为第二位置之后,所述方法还包括:
    在所述会话界面中显示位置更新标识,所述位置更新标识用于表示所述第一消息的显示位置已经在所述会话界面中沿目标方向进行更新;
    向所述第二终端设备发送位置更新信息,所述位置更新信息用于指示所述第二终端设备将所述第一消息的显示位置更新为所述第二位置,并显示所述位置更新标识。
  7. 根据权利要求5或6所述的方法,其中,所述位置更新信息还用于指示所述第二终端设备显示提示消息,所述提示消息用于提示第二用户所述第一消息的显示位置已更新,所述第二用户为所述第二终端设备的用户;
    其中,在所述第二终端设备接收到所述位置更新信息的情况下,所述第二终端设备显示所述提示消息。
  8. 一种终端设备,所述终端设备为第一终端设备,所述终端设备包括接收模块和 显示模块;
    所述接收模块,用于接收第一用户针对会话界面中的第一消息的第一输入,所述第一消息为所述第一终端设备向第二终端设备发送的消息;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,将所述第一消息的显示位置由第一位置更新为第二位置,所述第一位置和所述第二位置为所述会话界面中的不同位置;
    其中,在所述第二终端设备显示的所述会话界面中,所述第一消息的显示位置更新为所述第二位置。
  9. 根据权利要求8所述的终端设备,其中,所述第一消息为在接收到所述第一输入之前的预设时长内发送的消息,所述第二位置位于所述会话界面的第一区域中,所述第一区域中包括在接收到所述第一输入之前的预设时长内接收的消息或发送的消息。
  10. 根据权利要求8所述的终端设备,其中,所述第一输入为将第一消息框从所述第一位置拖动到所述第二位置的手势操作,所述第一消息框用于承载所述第一消息;
    或者,
    所述第一输入包括对所述第一消息的选择输入以及对所述第二位置的选择输入。
  11. 根据权利要求8至10中任一项所述的终端设备,其中,所述显示模块,还用于在所述接收模块接收第一用户针对会话界面中的第一消息的第一输入之后,以目标显示状态显示所述会话界面中的第二区域;
    其中,所述第二区域为所述会话界面中除第一区域之外的区域,以所述目标显示状态显示的第二区域为非操控区域。
  12. 根据权利要求8所述的终端设备,其中,所述终端设备还包括第一发送模块;
    所述第一发送模块,用于在所述显示模块将所述第一消息的显示位置由第一位置更新为第二位置之后,向所述第二终端设备发送位置更新信息,所述位置更新信息用于指示所述第二终端设备将所述第一消息的显示位置更新为所述第二位置;
    其中,在所述第二终端设备接收到所述位置更新信息的情况下,所述第二终端设备将所述第一消息的显示位置更新为所述第二位置。
  13. 根据权利要求8所述的终端设备,其中,所述终端设备还包括第二发送模块;
    所述显示模块,用于在将所述第一消息的显示位置由第一位置更新为第二位置之后,在所述会话界面中显示位置更新标识,所述位置更新标识用于表示所述第一消息的显示位置已经在所述会话界面中沿目标方向进行更新;
    所述第二发送模块,用于在所述显示模块在所述会话界面中显示位置更新标识之后,向所述第二终端设备发送位置更新信息,所述位置更新信息用于指示所述第二终端设备将所述第一消息的显示位置更新为所述第二位置,并显示所述位置更新标识。
  14. 根据权利要求12或13所述的终端设备,其中,所述位置更新信息还用于指示所述第二终端设备显示提示消息,所述提示消息用于提示第二用户所述第一消息的显示位置已更新,所述第二用户为所述第二终端设备的用户;
    其中,在所述第二终端设备接收到所述位置更新信息的情况下,所述第二终端设备显示所述提示消息。
  15. 一种终端设备,其特征在于,所述终端设备包括处理器、存储器及存储在所 述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的消息显示方法的步骤。
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的消息显示方法的步骤。
PCT/CN2020/123729 2019-10-28 2020-10-26 消息显示方法及终端设备 WO2021083088A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911033617.2A CN110855549A (zh) 2019-10-28 2019-10-28 一种消息显示方法及终端设备
CN201911033617.2 2019-10-28

Publications (1)

Publication Number Publication Date
WO2021083088A1 true WO2021083088A1 (zh) 2021-05-06

Family

ID=69597859

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/123729 WO2021083088A1 (zh) 2019-10-28 2020-10-26 消息显示方法及终端设备

Country Status (2)

Country Link
CN (1) CN110855549A (zh)
WO (1) WO2021083088A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660153A (zh) * 2021-06-29 2021-11-16 阿里巴巴新加坡控股有限公司 消息处理方法、装置、设备及存储介质
CN115220619A (zh) * 2022-06-06 2022-10-21 网易(杭州)网络有限公司 消息处理方法、装置及电子设备
CN115514730A (zh) * 2022-09-30 2022-12-23 网易(杭州)网络有限公司 信息处理的方法、信息处理的装置、介质及设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855549A (zh) * 2019-10-28 2020-02-28 维沃移动通信有限公司 一种消息显示方法及终端设备
CN114675909A (zh) * 2020-12-24 2022-06-28 高天惟 一种变更聊天记录显示位置的方法和装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104734940A (zh) * 2013-12-23 2015-06-24 华为技术有限公司 一种用于即时通讯工具的信息显示方法和用户终端
CN105591886A (zh) * 2016-03-03 2016-05-18 北京小米移动软件有限公司 消息处理方法、装置及终端电子设备
CN106254211A (zh) * 2016-07-30 2016-12-21 深圳市金立通信设备有限公司 一种交互信息的显示方法和终端
US20170142043A1 (en) * 2015-11-12 2017-05-18 International Business Machines Corporation Aggregating redundant messages in a group chat
CN107241258A (zh) * 2017-05-27 2017-10-10 维沃移动通信有限公司 一种即时消息发送及显示方法、发送端及接收端
CN108052397A (zh) * 2017-10-31 2018-05-18 努比亚技术有限公司 一种通信方法、终端及计算机可读存储介质
CN110855549A (zh) * 2019-10-28 2020-02-28 维沃移动通信有限公司 一种消息显示方法及终端设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8387006B1 (en) * 2007-12-05 2013-02-26 Adobe Systems Incorporated System and method for authoring a web page to be run-time editable
CN104104588B (zh) * 2014-04-30 2019-01-18 中兴通讯股份有限公司 即时消息显示方法和装置
CN107135139A (zh) * 2016-02-26 2017-09-05 深圳富泰宏精密工业有限公司 调整消息记录的方法及电子装置
TWI661694B (zh) * 2016-02-26 2019-06-01 群邁通訊股份有限公司 調整消息記錄的方法及電子裝置
WO2018155354A1 (ja) * 2017-02-21 2018-08-30 パナソニックIpマネジメント株式会社 電子機器の制御方法、電子機器の制御システム、電子機器、及び、プログラム
CN109145142B (zh) * 2018-07-24 2020-06-19 维沃移动通信有限公司 一种图片的分享信息的管理方法及终端
CN110377376B (zh) * 2019-06-05 2022-06-17 平安科技(深圳)有限公司 界面消息刷新方法、装置、计算机装置及可读存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104734940A (zh) * 2013-12-23 2015-06-24 华为技术有限公司 一种用于即时通讯工具的信息显示方法和用户终端
US20170142043A1 (en) * 2015-11-12 2017-05-18 International Business Machines Corporation Aggregating redundant messages in a group chat
CN105591886A (zh) * 2016-03-03 2016-05-18 北京小米移动软件有限公司 消息处理方法、装置及终端电子设备
CN106254211A (zh) * 2016-07-30 2016-12-21 深圳市金立通信设备有限公司 一种交互信息的显示方法和终端
CN107241258A (zh) * 2017-05-27 2017-10-10 维沃移动通信有限公司 一种即时消息发送及显示方法、发送端及接收端
CN108052397A (zh) * 2017-10-31 2018-05-18 努比亚技术有限公司 一种通信方法、终端及计算机可读存储介质
CN110855549A (zh) * 2019-10-28 2020-02-28 维沃移动通信有限公司 一种消息显示方法及终端设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660153A (zh) * 2021-06-29 2021-11-16 阿里巴巴新加坡控股有限公司 消息处理方法、装置、设备及存储介质
CN115220619A (zh) * 2022-06-06 2022-10-21 网易(杭州)网络有限公司 消息处理方法、装置及电子设备
CN115514730A (zh) * 2022-09-30 2022-12-23 网易(杭州)网络有限公司 信息处理的方法、信息处理的装置、介质及设备

Also Published As

Publication number Publication date
CN110855549A (zh) 2020-02-28

Similar Documents

Publication Publication Date Title
WO2020199758A1 (zh) 消息显示方法及终端设备
WO2021104365A1 (zh) 对象分享方法及电子设备
WO2021083088A1 (zh) 消息显示方法及终端设备
WO2020233285A1 (zh) 消息显示方法及终端设备
WO2020199934A1 (zh) 信息处理方法及终端设备
US11658932B2 (en) Message sending method and terminal device
WO2021083087A1 (zh) 截屏方法及终端设备
WO2021017763A1 (zh) 事件处理方法、终端设备及计算机可读存储介质
CN109614061B (zh) 显示方法及终端
WO2021115359A1 (zh) 界面显示方法及电子设备
WO2020215932A1 (zh) 显示未读消息的方法及终端设备
WO2021136159A1 (zh) 截屏方法及电子设备
WO2020238449A1 (zh) 通知消息的处理方法及终端
WO2021110053A1 (zh) 文件发送方法及终端设备
WO2021129538A1 (zh) 一种控制方法及电子设备
WO2020238463A1 (zh) 消息处理方法及终端
WO2020199783A1 (zh) 界面显示方法及终端设备
WO2020057258A1 (zh) 信息处理方法及终端
WO2021057290A1 (zh) 信息控制方法及电子设备
WO2020192282A1 (zh) 通知消息显示方法及终端设备
WO2020192322A1 (zh) 显示方法及终端设备
WO2020192323A1 (zh) Sim卡选择方法及终端设备
WO2021057224A1 (zh) 消息提示方法及终端设备
WO2020215969A1 (zh) 内容输入方法及终端设备
WO2020181954A1 (zh) 应用程序控制方法及终端设备

Legal Events

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

Ref document number: 20882026

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20882026

Country of ref document: EP

Kind code of ref document: A1