WO2023160457A1 - 消息发送方法、装置和电子设备 - Google Patents

消息发送方法、装置和电子设备 Download PDF

Info

Publication number
WO2023160457A1
WO2023160457A1 PCT/CN2023/076489 CN2023076489W WO2023160457A1 WO 2023160457 A1 WO2023160457 A1 WO 2023160457A1 CN 2023076489 W CN2023076489 W CN 2023076489W WO 2023160457 A1 WO2023160457 A1 WO 2023160457A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
electronic device
messages
input
server
Prior art date
Application number
PCT/CN2023/076489
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 WO2023160457A1 publication Critical patent/WO2023160457A1/zh

Links

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]
    • 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/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a message sending method, device and electronic equipment.
  • the functions of the electronic devices become more and more abundant.
  • the electronic devices can send messages through instant messaging software.
  • the user needs to send multiple messages on the same topic, for example: the user needs to send 3 messages on the same topic, after the user sends the first message, he needs to edit the second message in the input box message, but when the user is editing the second message, other chat partners may send other messages on the conversation interface, so the first message sent by the user and the second message will be interspersed with messages sent by other users.
  • messages sent by other users will be interspersed among the multiple messages sent by the user on the same topic in the conversation interface, thus disrupting the layout of the multiple messages sent by the user, so the way of sending messages in the prior art is not flexible enough.
  • the purpose of the embodiments of the present application is to provide a message sending method, device and electronic equipment, which can solve the problem of inflexible message sending methods in the prior art.
  • the embodiment of the present application provides a message sending method, the method includes: the first electronic device receives the user's first input for the first message, and the first message is the message sent or not sent by the first electronic device.
  • messages M is a positive integer; the first electronic device responds to the first input, executes the first process on the first message, and obtains the second message; the first electronic device sends the second message through the server; wherein, the first message is In the case of M messages that have been sent, the first processing is processing of updating content; in the case of the first messages being M messages that have not been sent, the first processing is message merging processing.
  • the embodiment of the present application provides a method for sending a message, the method includes: the server receives the second message sent by the first electronic device and at least one group identifier, and the second message is sent by the M group identifiers not sent by the first electronic device
  • the messages are combined, and each group identifier is associated with at least one of the M messages, and at least one group identifier is used to instruct the server to forward the order of each message in the second message; based on the at least one group identifier, the server forwards the second message to The messages are divided into at least one message group, and the at least one message group is sequentially forwarded to the second electronic device according to the sequence indicated by the at least one group identifier.
  • the embodiment of the present application provides a message sending method, the method includes: the second electronic device receives the second message forwarded by the server, and the second message is M messages sent by the first electronic device to the first electronic device The message after the content of the message is updated; the second electronic device displays prompt information, and the prompt information is used to prompt the user for M messages The information has been updated; the second electronic device receives the user's target input for the prompt information; the second electronic device displays the second message in the target area in the conversation interface in response to the target input, and the target area is the first message in the conversation interface. show.
  • the embodiment of the present application provides a device for sending a message, which includes: a receiving module, a processing module, and a sending module; the receiving module is configured to receive a first input from a user for a first message, and the first message is M messages that have been sent or not sent by the first electronic device, where M is a positive integer; a processing module, configured to perform first processing on the first message in response to the first input received by the receiving module to obtain a second message; the sending module , used to send the second message obtained by the processing module through the server; wherein, when the first message is M messages that have been sent, the first processing is the processing of updating content; when the first message is M messages that have not been sent In the case of a message, the first processing is message merge processing.
  • the embodiment of the present application provides an apparatus for sending a message, which includes: a receiving module, a processing module, and a sending module; the receiving module is configured to receive the second message sent by the first electronic device and at least one group identifier , the second message is obtained by combining M messages not sent by the first electronic device, each group identifier is associated with at least one message in the M messages, and at least one group identifier is used to instruct the server to forward each message in the second message Sequence; the processing module is used to divide the messages in the second message into at least one message group based on at least one group identifier; the sending module is used to sequentially forward at least one message group to the second electronic device according to the order indicated by the at least one group identifier message group.
  • the embodiment of the present application provides a device for sending a message, the device including: a receiving module and a display module; A message after the content of the M messages sent by an electronic device has been updated; the display module is used to display prompt information, and the prompt information is used to remind the user that the M messages have been updated; the receiving module is also used to receive the user's target for the prompt information The input; display module is further configured to display the second message in the target area in the conversation interface in response to the target input received by the receiving module, where the target area is the display of the first message in the conversation interface.
  • the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor When implementing the steps of the method in the first aspect or the third aspect.
  • the embodiment of the present application provides a network-side device, the network-side device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is processed
  • the steps of the method according to the second aspect are realized when the device is executed.
  • the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the first aspect, the second aspect and the first aspect are implemented.
  • the steps of the method in three aspects.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect and the second aspect and the method described in the third aspect.
  • the embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the computer program described in the first aspect, the second aspect, and the third aspect. described method.
  • the first electronic device may receive the user's first input on the first message, and the first message
  • the information is M messages that have been sent or not sent by the first electronic device, and M is a positive integer
  • the first electronic device responds to the first input, executes the first processing on the first message, and obtains the second message
  • the first electronic device passes The server sends the second message; wherein, in the case that the first message is M messages that have been sent, the first processing is the processing of updating content; in the case that the first message is M messages that have not been sent, then the first Processing is message merge processing.
  • FIG. 1 is a schematic diagram of a method for sending a message provided in an embodiment of the present application
  • FIG. 2 is one of the interface schematic diagrams of the application of the message sending method provided by the embodiment of the present application
  • Fig. 3 is the second schematic diagram of the interface of the application of the message sending method provided by the embodiment of the present application.
  • FIG. 4 is the third schematic diagram of the interface of the application of the message sending method provided by the embodiment of the present application.
  • FIG. 5 is one of the schematic diagrams of the message sending device provided by the embodiment of the present application.
  • FIG. 6 is the second schematic diagram of the message sending device provided by the embodiment of the present application.
  • Fig. 7 is the third schematic diagram of the message sending device provided by the embodiment of the present application.
  • FIG. 8 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of hardware of a server provided by an embodiment of the present application.
  • the method for sending a message provided in the embodiment of the present invention can be applied to a scenario of sending a message.
  • the user can trigger the first electronic device to combine the above-mentioned messages with more content to obtain a second message through the first input of these messages, and send the second message through the server.
  • the user can trigger the first electronic device to combine the above-mentioned messages with more content to obtain a second message through the first input of these messages, and send the second message through the server.
  • these messages do not need to be sent multiple times, it is possible to avoid interspersing other messages between these messages, so it can be guaranteed that the layout of these messages will not be changed, and the flexibility of the way of sending messages can be improved.
  • the user when the user needs to supplement/delete at least one message that has been sent, the user can input the at least one message to trigger the electronic device to add content or delete content based on the at least one message, And send the message after the updated content through the server, because there is no need to re-enter the at least one message
  • the content of the message can simplify the process of updating the message, thereby improving the flexibility of the way of sending the message.
  • this embodiment of the present application provides a method for sending a message, and the method may include the following steps 101 to 103 .
  • the method is executed by the first electronic device as an example for illustration below.
  • Step 101 the first electronic device receives a user's first input of a first message.
  • the first message may be M messages that have been sent or not sent by the first electronic device, and M may be a positive integer.
  • the first input may be touch input, hover input, preset gesture input or voice input, which may be specifically determined according to actual usage requirements.
  • the first message may be a message in a conversation interface
  • the conversation interface may be a conversation interface between the user and a contact, or a conversation interface between the user and a certain group.
  • the application examples are not limited.
  • the above-mentioned M messages that have been sent may be the M messages sent by the first electronic device, or may be the M messages sent by other user devices; or the above-mentioned M messages that have been sent It may include messages sent by the first electronic device, and may also include messages sent by devices of other users, which is not limited in this embodiment of the present application.
  • each message in the embodiments of the present application may include at least one type of content, and each type of content may be any of the following: text content, The image content, video content, or voice content, etc., are not limited in this embodiment of the application.
  • Step 102 the first electronic device executes the first processing on the first message in response to the first input, and obtains the second message.
  • the first processing is the processing of updating content; when the first message is M messages that have not been sent, the first processing is message merging processing.
  • the update content may be adding content or deleting content, or adding new content after deleting some content, which can be determined according to actual usage requirements, and is not limited in this embodiment of the application.
  • the electronic device may add at least one of the following types of content: text content, picture content, video content, and voice content.
  • the electronic device can add one type of content, such as adding text content or picture content, so that different types of content can be avoided from mixing with each other, thereby improving the reading experience of the message.
  • one type of content such as adding text content or picture content
  • the number of the second messages may be the same as the number of the first messages, or may be different from the number of the first messages, which may be determined according to actual usage requirements, and is not limited in the embodiment of the present application.
  • the first message is 5 messages
  • the second message is 1 message
  • Step 103 the first electronic device sends a second message through the server.
  • the server is a server corresponding to the application program to which the session interface belongs.
  • the second electronic device after the first electronic device sends the second message through the server, other users in the conversation interface (specifically, other users' devices, hereinafter referred to as the second electronic device) can receive the second message.
  • the first electronic device may first send the second message to the server, and after the server receives the second message, the server may send the second message to the second electronic device.
  • the server may send the second message to the device of contact 1, so that the second electronic device and the first electronic device can update Messages in the respective conversational interface.
  • the second message is finally obtained, and the second message is sent by the server.
  • Messages on the one hand, because there is no need to send these messages multiple times, it can avoid interspersing other messages between these messages, so it can ensure that the layout of these messages will not be changed; on the other hand, because there is no need to re-enter the content of the message , so the operation process of updating the message can be simplified, so the flexibility of sending the message can be improved.
  • the first electronic device after the first electronic device obtains the second message, before sending the second message through the server, it may display the second message in an input box or a preview box in the conversation interface, if the first electronic device The second message is displayed in the input box in the conversation interface, and the user can trigger the first electronic device to display the entire content of the second message by inputting the "zoom in” control in the conversation interface, so that the user can view and organize the second message conveniently.
  • an association relationship between the first message and the second message can be established, so that when the second message is clicked, the area where the first message is located can be jumped to and the first message can be displayed.
  • the above-mentioned first message is the M messages that have been sent; after the above step 102, the method for sending a message provided in this embodiment of the present application may further include the following step 104.
  • Step 104 the first electronic device sends indication information to the server.
  • the indication information may be used to indicate any of the following: (1), the server deletes the first message in the server; (2), the server replaces the first message in the server with the second message.
  • the above indication information may include the identity information ID (Identity Document, ID) and package name of the first message, so that the server can accurately delete the first message or replace the first message with the first message. Two news.
  • the server replaces the first message in the server with the second message
  • the first message may be deleted.
  • second electronic devices devices of other users in the conversation interface are collectively referred to as second electronic devices, which have the same meaning and can be interchanged.
  • the first electronic device can cancel the display of the first message in the conversation interface, and the second electronic device can cancel the display of the first message in the second A display in a conversational interface of an electronic device. i.e. all users in the conversational interface will not see the first message.
  • the server after the server deletes the first message in the server, the above-mentioned first electronic device sends the second message through the server, specifically, the server sends the second message in the form of a new message.
  • the electronic device may perform the above step 103 first, and then perform the above step 104, or may first perform the above step 104, and then perform the above step 103, or the electronic device may perform step 103 and step 104 at the same time, specifically according to The actual use requirements are determined, and the embodiment of this application does not make a limitation.
  • the first electronic device when the first message is M messages that have been sent, since the first electronic device can send a message to the server to instruct the server to delete the The first message or the indication information instructing the server to replace the first message in the server with the second message, so This can prevent multiple contents related to the first message from simultaneously existing in the conversation interface (for example, the conversation interface in the first electronic device and the conversation interface in the second electronic device), thus improving the flexibility of displaying messages.
  • the indication information is used to instruct the server to replace the first message in the server with the second message; after the above step 104, the message provided in the embodiment of the present application
  • the sending method may also include step 105 described below.
  • Step 105 the first electronic device displays the second message in the first area of the conversation interface.
  • the first area may be the display area of the first message in the conversation interface
  • the display form of the first content in the second message is different from that of the second content
  • the first content may be the content in the first message
  • the second content It may be content different from the first content in the second message.
  • the first electronic device displays the second message in the first area of the conversation interface: the first electronic device cancels the display of the first message in the first area, and displays the second message in the first area. Second message.
  • the different display forms may include: different display colors, different display sizes, different background colors, etc., which are not limited in this embodiment of the present application.
  • the display form of the second content is more prominent and eye-catching than the display form of the first content, so as to increase the user's attention.
  • the color of the first content may be black, and the color of the second content may be red.
  • the second content may include at least one of the following: text content, picture content, video content, and voice content.
  • the second electronic device displays the first message at the third position of the conversation interface
  • the second electronic device may also cancel display of the first message at the third location and display the second message at the third location.
  • the display form of the second electronic device to display the first content and the second content is the same as the display form of the first electronic device to display the first content and the second content.
  • the first electronic device may also display first prompt information in the area where the second message is located, and the first prompt information may indicate which content in the second message is updated content.
  • the first message 21 is "My delivery address is: Beijing, Haidian District", and the user can add the first message 21 (i.e. update) content input (i.e. the first input); thus the first electronic device can respond to the first input by adding ", XX road YY number" in the first message 21 to obtain the second message 22: "My The delivery address is: Beijing, Haidian District, XX Road YY", and then the first electronic device can send the second message 22 and instruction information through the server, and the instruction information is used to instruct the server to replace the first message in the server with The second message; then as shown in (b) in Figure 2, the first electronic device can display the second message at the position of the first message, and display prompt information 23 (first prompt information) below the second message: " Red is the additional part"; among them, the display color of "My delivery address is: Beijing, Haidian District” in the second message is black, and the display color of "XX Road YY No., X
  • the second electronic device may also display the first prompt information in an area where the second message is displayed on the second electronic device.
  • the first electronic device may instruct the server to update the sending time of the first message to the sending time of the second message.
  • each device including the first electronic device and the second electronic device
  • the sending time of the first message is 10:12 in the morning; suppose the first electronic device sends the second message to the server at 10:15, then the server sends the first message in the server After the message is replaced with the second message, as shown in (b) in FIG. 2 : the first electronic device may display the second message in the display area of the first message, and update the sending time of the first message to 10:15.
  • the first electronic device can display the second message at the position where the first message was originally displayed, and at the same time display different contents of the original first message in the second message in a different display form, it is convenient for the user to view which contents For newer content, so the flexibility of displaying messages can be improved.
  • the message sending method provided in this embodiment of the present application may further include the following steps 106 and 107.
  • Step 106 the first electronic device receives a second input from the user on the conversation interface.
  • Step 107 In response to the second input, the first electronic device displays a message edit box on the conversation interface, displays the first message in the message edit box, and displays an input method interface corresponding to the message edit box;
  • the second input may be an input for the user to select the first message from the conversation interface.
  • the second input may be touch input, hover input, preset gesture input or voice input, which may be specifically determined according to actual usage requirements.
  • the second input may include a first sub-input and a second sub-input.
  • the first sub-input is the user's input on the first message
  • the first sub-input is used to trigger the first electronic device to display the target control
  • the target control is used to trigger the function of performing content update processing on the message
  • the second sub-input is to Input for the target control.
  • the first electronic device may display the target control, or may display the target control and at least one first control, and each first control uses Any one of the following is triggered: deleting a local message of the first electronic device, withdrawing a message, forwarding a message, or saving a message. Then the user can trigger the first electronic device to display a message editing box on the conversation interface through the second sub-input on the target control, display the first message in the message editing box, and display the input method interface corresponding to the message editing box.
  • the first electronic device displays the sent message 21 (i.e. the first message) in the conversation interface, and the user can press and hold on the message 21 (i.e. the first sub-input),
  • the first electronic device can display a control list 31, which includes an "append” control (that is, a target control), a "delete local” control, and a "forward” control (that is, at least A first control), then, the user can click on the "addition" control (i.e.
  • the first electronic device can display a message edit box on the conversation interface , and display the first message in the message edit box, and display the input method interface corresponding to the message edit box.
  • the user can trigger the first electronic device to add content to the message 21 by inputting (ie, the first input) on the input method interface.
  • the message sending method provided in the embodiment of the present application may further include the following steps 108 and 109 .
  • Step 108 the first electronic device receives a third input from the user on the unsent N messages.
  • Step 109 In response to the third input, the first electronic device displays N messages on the conversation interface in a preview mode without sending N messages, and the unsent M messages are messages in the N messages.
  • the third input may be an input for previewing N messages; the first input may specifically be an input for the user to select M messages among the N messages.
  • the display form of the N messages is the same as the display form of the N messages in the conversation interface after the first electronic device sends the N messages through the server. In this way, it is convenient for the user to preview the display effect after sending the N messages.
  • the above N messages may be messages sent (that is, previewed) by the user triggering the first electronic device in the target chat mode.
  • the target chat mode when the user triggers the first electronic device to pass the session
  • the first electronic device can display the message in the conversation interface in a preview mode, without sending the message through the server, that is, other users in the conversation interface will not receive the message, but the user Messages sent by other users can be received normally.
  • the user can trigger the first electronic device to start the target chat mode before performing the third input, or, if the above-mentioned conversation interface is a group conversation interface, the user can trigger the first electronic device to
  • the administrator in the group applies for enabling the target chat mode, and enables the target chat mode with the consent of the administrator, which can be determined according to actual usage requirements.
  • the input form of the third input may be the same as the input form in which the user triggers the electronic device to send a message in the normal mode.
  • the third input may be the user's input to the send control.
  • the third input may be touch input, hover input, preset gesture input or voice input, which may be specifically determined according to actual usage requirements.
  • the third input includes N third sub-inputs, and each third sub-input is used to preview one of the N messages.
  • the user after the user finishes editing/inputting the i-th message, he can trigger the first electronic device to display in the conversation interface through the i-th third sub-input The i-th message, then the user can continue to edit/input the i+1-th message, and after finishing editing/inputting the i+1-th message, trigger the first electronic The device displays the i+1th message on the conversation interface, and so on until the first electronic device displays the Nth message on the conversation interface, where i is a positive integer.
  • the conversation interface 40 may include a "local preview dialog" control 41, and the user may input to the control to trigger the first electronic device to start the target chat mode, and then the user may Sequentially input and trigger the first electronic device to preview message A, message B and message C, so that as shown in (b) in FIG. 4 , the first electronic device can display message A42, message B43 and message C44 respectively on the conversation interface.
  • the third input includes three third sub-inputs, which are respectively used to preview message A, message B and message C. Since the user can trigger the first electronic device to preview multiple messages, it is possible to avoid the problem that the user cannot check all the input messages in the input box through the input box due to the large input content at one time.
  • the user since the user can trigger the first electronic device to display N messages in the form of preview In the session interface, the N messages are not sent to other user equipment through the server, so the diversity of message processing can be improved.
  • the first electronic device when the first electronic device is in the message preview mode, it can still receive messages sent by other devices and display them on the conversation interface.
  • the message sending method provided in the embodiment of the present application may further include the following steps 110 and 111.
  • Step 110 the first electronic device receives a fourth input from the user.
  • the fourth input may be touch input, hover input, preset gesture input or voice input, which may be specifically determined according to actual usage requirements.
  • Step 111 the first electronic device executes a second process corresponding to the fourth input in response to the fourth input, and the second process includes at least one of the following: adjusting the sequence of the N messages, updating at least one of the N messages Content.
  • the sequence of the unsent M messages in the second message is the same as the sequence of the unsent M messages in the N messages.
  • the user may trigger the electronic device to adjust the arrangement order of the N messages by dragging and inputting one or more of the N messages (that is, the fourth input).
  • the fourth input includes multiple fourth sub-inputs, and each fourth sub-input is used to update one of the multiple messages in the content.
  • the user can select a message, and then update the message in the message through a fourth sub-input (such as deleting content, adding content, adjusting content format).
  • a fourth sub-input such as deleting content, adding content, adjusting content format.
  • the flexibility of processing preview messages can be improved.
  • the first message is M unsent messages; before the above step 103, the message sending method provided by the embodiment of this application may further include the following step 112, and the above step 103 may specifically be It is realized through the following step 103a.
  • Step 112 the first electronic device divides the unsent M messages into at least one message group.
  • each message group may include at least one message among the unsent M messages, and messages in the same message group may be associated with the same group identifier.
  • the first electronic device may divide the aforementioned unsent M messages into at least one message group under the trigger of the user; or, the first electronic device may use pictures or videos as the basis,
  • the above M unsent messages are automatically divided into at least one message group, which may be determined according to actual usage requirements, and is not limited in this embodiment of the present application.
  • the above M messages include message 1, message 2, message 3, and message 4; wherein, message 1 is a picture message, message 2 is a text message corresponding to message 1, message 3 is a picture message, and message 4 is a message corresponding to message 3. text message; then the electronic device can divide message 1 and message 2 into one group, and message 3 and message 4 into one group.
  • a message group when a message group includes multiple types of messages, parts of different types of messages that have an association relationship may be associated.
  • a group message includes a picture message and a text message, if a part of the picture is marked in yellow, then the text associated with the part in the text message is also displayed in yellow.
  • Step 103a the first electronic device sends the second message and at least one group identifier to the server.
  • At least one group identifier may be used to instruct the server to forward the order of each message in the second message.
  • the first electronic device may also compress the unsent M messages into a target compressed file in response to user input, and send the target compressed file through the server.
  • the first electronic device can divide the unsent M messages into at least one message group, and instruct the server to forward the M messages according to the group identifier in the message group, it can improve the efficiency of processing unsent messages. flexibility.
  • the first electronic device displays the first message 21 in the conversation interface 20 "My delivery address is: Beijing, Haidian area", the user can long press and input the first message 21 (that is, the first sub-input), as shown in (a) in Figure 3: the first electronic device can display a control list 31, the control list includes "append " control (ie target control), “delete local” control, “forward” control (ie at least one first control), and then the user can click on the "addition” control (ie the second sub-input), as shown in Figure 3
  • the first electronic device can display a message editing box 32 on the conversation interface, and display the first message in the message editing box 32, and display an input method interface 33 corresponding to the message editing box 32.
  • the user can trigger the first electronic device to add content in the message 21 by inputting (i.e. the first input) on the input method interface 33 to obtain the second message, and the user can click on the "send" control, as shown in Fig. 2
  • the first electronic device sends the second message 22 through the server, cancels the display of the first message, and displays the second message in the area where the first message is displayed, and displays a prompt message 23 below the second message (the first message 1 prompt information): "red is the additional part”; wherein, the display color of "my delivery address is: Beijing, Haidian District” in the second message 22 is black, and the display color of ", XX road YY in the second message 22 Number” is displayed in red, and the sending time of the first message is updated to 10:15.
  • the first electronic device displays a "local preview dialogue" control 41 in the conversation interface 40, and the user can click on the control 41 to input, Trigger the first electronic device to open the target chat mode, and the user can preview 3 messages (ie, N messages) on the conversation interface (ie, the third input), as shown in (b) in Figure 4: the first electronic device The device can display three message preview boxes in the conversation interface, and the user can select message A and message B (that is, the first input), as shown in (c) in Figure 4: trigger the first electronic device to get message 45 (that is, the first input) Two messages), and send a message 45 through the server, and display the message 45 in the conversation interface.
  • An embodiment of the present application provides a method for sending a message, and the method may include the following steps 201 and 202 .
  • the following takes the server executing the method as an example for illustration.
  • Step 201 the server receives the second message and at least one group identifier sent by the first electronic device.
  • the second message can be obtained by combining M messages not sent by the first electronic device, each group identifier can be associated with at least one message in the M messages, and at least one group identifier can be used to instruct the server to forward the second message The order of the individual messages.
  • Step 202 based on at least one group identifier, the server divides the messages in the second message into at least one message message groups, and sequentially forward at least one message group to the second electronic device according to the sequence indicated by the at least one group identifier.
  • the server may send the target compressed file to the second electronic device.
  • the server can divide the second message into at least one message group based on receiving the second message and at least one group identifier sent by the first electronic device, and according to at least one group identifier sequentially forward at least one message group to the second electronic device, so the flexibility of sending messages can be improved.
  • An embodiment of the present application provides a method for sending a message, and the method may include the following steps 301 to 304.
  • the following takes the server executing the method as an example for illustration.
  • Step 301 the second electronic device receives the second message forwarded by the server.
  • the second message may be a message after the content of the M messages sent by the first electronic device is updated by the first electronic device.
  • the second message may be 1 message.
  • Step 302 the second electronic device displays prompt information.
  • the prompt information may be used to prompt the user that the M messages have been updated.
  • the prompt information may also include all or part of the content of the second message.
  • Step 303 the second electronic device receives the user's target input for the prompt information.
  • the target input may be touch input, hover input, preset gesture input or voice input, which may be specifically determined according to actual usage requirements.
  • Step 304 the second electronic device displays a second message in the target area of the conversation interface in response to the target input.
  • the target area is a display area of the first message in the conversation interface.
  • the second electronic device after receiving the target compressed file forwarded by the server, decompresses the target compressed file to obtain the second message.
  • the second electronic device after receiving the second message, can also display prompt information, and in response to the user's target input of the prompt information, the first message will be displayed on the conversation interface.
  • the display area in displays the second message, so the flexibility of sending the message can be improved.
  • the message sending method provided in the embodiment of the present application may be executed by a message sending device, or a control module in the message sending device for executing the message sending method.
  • the method for sending a message performed by the message sending device is taken as an example to illustrate the message sending device provided in the embodiment of the present application.
  • the embodiment of the present application provides a message sending device 500
  • the message sending device 500 may include: a receiving module 501, a processing module 502 and a sending module 503;
  • the first input, the first message is M messages that have been sent or not sent by the first electronic device, and M is a positive integer;
  • the processing module 502 can be configured to respond to the first input received by the receiving module 501, and execute the first message on the first message
  • the first processing is to obtain the second message;
  • the sending module 503 can be used to send the second message obtained by the processing module 502 through the server; wherein, when the first message is the sent M messages, the first processing is to update Processing of content; when the first message is M messages, the first processing is message merging processing.
  • the first message is the M messages that have been sent; the sending module 503 can also be configured to perform the first processing on the first message in the processing module 502 in response to the first input, to obtain the first message After the second message, send indication information to the server, where the indication information is used to indicate any of the following: the server deletes the first message in the server, and the server replaces the first message in the server with the second message.
  • the device further includes: a display module; instruction information is used to instruct the server to replace the first message in the server with the second message; a display module is used to send the instruction to the server in the sending module 503
  • the second message is displayed in the first area of the conversation interface, and the first area is the display area of the first message in the conversation interface; wherein, the display form of the first content in the second message is different from that of the second content, The first content is content in the first message, and the second content is content different from the first content in the second message.
  • the first message is the M messages that have been sent; the receiving module 501 is also configured to receive the second input of the user on the conversation interface before receiving the first input of the first message by the user. Input, the second input is the input for selecting the first message; the display module is also used to display the message edit box on the conversation interface in response to the second input received by the receiving module 501, and display the first message in the message edit box, And an input method interface corresponding to the message edit box is displayed; wherein, the first input is specifically an input of content input by the user through the input method interface.
  • the first message is unsent M messages
  • the device further includes: a display module; and a receiving module 501, which is also configured to, before receiving the user's first input on the first message,
  • the first electronic device When the first electronic device is in the message preview mode, it receives a third input from the user on the unsent N messages; the display module is configured to respond to the third input received by the receiving module 501 and, when the N messages are not sent,
  • the N messages are displayed on the conversation interface in a preview mode, and the unsent M messages are messages in the N messages.
  • the receiving module 501 is further configured to receive the user's fourth input after displaying N messages on the conversation interface in a preview mode; the processing module 502 is also configured to respond to the receiving module 501 receiving For a fourth input, execute a second process corresponding to the fourth input, and the second process includes at least one of the following: adjusting the sequence of the N messages, and updating the content of at least one of the N messages.
  • the first message is unsent M messages
  • the processing module 502 is further configured to divide the unsent M messages into at least one message group, and each message group includes unsent At least one message in the M messages, the messages in the same message group are associated with the same group identifier
  • the sending module 503 is specifically configured to send the second message and at least one group identifier to the server, and the at least one group identifier is used to instruct the server The order in which the individual messages in the second message are forwarded.
  • the second message is finally obtained, and the second message is sent through the server , on the one hand, because there is no need to send these messages multiple times, it can avoid interspersing other messages between these messages, so it can be guaranteed that the layout of these messages will not be changed; on the other hand, because there is no need to re-enter the content of the message, Therefore, the operation process of updating the message can be simplified, so the flexibility of sending the message can be improved.
  • the embodiment of the present application provides a message sending apparatus 600, which may include: a receiving module 601, a processing module 602 and a sending module 603; the receiving module 601 is configured to receive the second message sent by the first electronic device. message and at least one group identifier, the second message is obtained by combining M messages not sent by the first electronic device, each group identifier is associated with at least one message in the M messages, and at least one group identifier is used to indicate the service The order in which each message in the second message is forwarded by the transmitter; the processing module 602 is configured to divide the messages in the second message into at least one message group based on at least one group identifier; the sending module 603 is configured to indicate according to at least one group identifier sequentially forward at least one message group to the second electronic device.
  • the message sending apparatus since the message sending apparatus can divide the second message into at least one message group based on receiving the second message sent by the first electronic device and at least one group identifier, and divide the second message into at least one message group, and divide the second message into at least one message group according to at least one group
  • the order indicated by the identification is forwarded to the second electronic device in sequence at least one message group, so the flexibility of sending messages can be improved.
  • the embodiment of the present application provides a message sending device 700, which may include: a receiving module 701 and a display module 702; the receiving module 701 is used to receive the second message forwarded by the server, and the second message is the first An electronic device updates the content of the M messages sent by the first electronic device; the display module 702 is used to display prompt information, and the prompt information is used to remind the user that the M messages have been updated; the receiving module 701 is also used to Receive the user's target input on the prompt information; the display module 702 is further configured to display the second message in the target area of the conversation interface in response to the target input received by the receiving module, and the target area is the display of the first message in the conversation interface.
  • the message sending device after receiving the second message, the message sending device can also display prompt information, and in response to the user's target input of the prompt information, the first message in the conversation interface The display area of the second message is displayed, so the flexibility of sending the message can be improved.
  • the message sending device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the message sending device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the message sending device provided in the embodiment of the present application can implement various processes implemented in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application also provides an electronic device 800, including a processor 802, a memory 801, and a program or instruction stored in the memory 801 and operable on the processor 802.
  • the program or instruction is processed When executed by the device 802, each process of the above-mentioned message sending method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes but not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010 and other components.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the electronic device 1000 is the first electronic device described in Embodiment 1,
  • the user input unit 1007 can be used to receive the user's first input on the first message, the first message is M messages that have been sent or not sent by the first electronic device, and M is a positive integer; the processor 1010 can use In response to the first input received by the user input unit 1007, execute the first process on the first message to obtain a second message; the processor 1010 may also be used to send the second message obtained by the processor 1010 through the server; wherein, in When the first message is M messages that have been sent, the first processing is processing of updating content; when the first message is M messages, the first processing is message merging processing.
  • the first message is the M messages that have been sent; the processor 1010 may also be configured to perform the first processing on the first message in response to the first input at the processor 1010, to obtain the first message After the second message, send indication information to the server, where the indication information is used to indicate any of the following: the server deletes the first message in the server, and the server replaces the first message in the server with the second message.
  • the electronic device further includes: a display unit 1006; instruction information is used to instruct the server to replace the first message in the server with a second message; the display unit 1006 is used to send the message to the processor 1010
  • the second message is displayed in the first area of the conversation interface, and the first area is the display area of the first message in the conversation interface; wherein, the display of the first content and the second content in the second message
  • the forms are different, the first content is the content in the first message, and the second content is the content in the second message that is different from the first content.
  • the first message is the M messages that have been sent;
  • the user input unit 1007 is also configured to receive the user's input in the session interface before receiving the user's first input for the first message in the session interface.
  • the second input on the interface, the second input is an input for selecting the first message;
  • the display unit 1006 is also configured to display a message editing box on the conversation interface in response to the second input received by the user input unit 1007, and the message editing The first message is displayed in the box, and an input method interface corresponding to the message editing box is displayed; wherein, the first input is specifically input by the user through the input method interface.
  • the first message is unsent M messages
  • the electronic device further includes: a display unit 1006; a user input unit 1007, which is also used to receive the first message from the user in the conversation interface Before the first input of the first electronic device, when the first electronic device is in the message preview mode, receive the third input of the user on the unsent N messages; the display unit 1006 is configured to respond to the third input received by the user input unit 1007 Three inputs, when the N messages are not sent, the N messages are displayed on the conversation interface in a preview mode, and the unsent M messages are messages in the N messages.
  • the user input unit 1007 is further configured to receive a fourth input from the user after the display unit 1006 displays N messages in a preview manner on the conversation interface; the processor 1010 is further configured to respond to For the fourth input received by the user input unit 1007, execute the second processing corresponding to the fourth input, the second processing includes Including at least one of the following: adjusting the sequence of the N messages, and updating the content of at least one of the N messages.
  • the first message is unsent M messages; the processor 1010 is further configured to divide the unsent M messages into at least one message group, and each message group includes unsent At least one message in the M messages, the messages in the same message group are associated with the same group identifier; the processor 1010 is specifically configured to send the second message and at least one group identifier to the server, and the at least one group identifier is used to instruct the server The order in which the individual messages in the second message are forwarded.
  • the user can trigger the electronic device to combine unsent messages or update the content of sent messages, and finally obtain the second message, and send the second message through the server, a
  • the layout of these messages can be guaranteed not to be changed;
  • it since there is no need to re-enter the content of the message, it can be Simplifies the process of updating messages, thus increasing the flexibility of sending messages.
  • the electronic device 1000 is the second electronic device described in Embodiment 3,
  • the user input unit 1007 is used to receive the second message forwarded by the server, and the second message is a message after the first electronic device has updated the content of the M messages sent by the first electronic device; the display unit 1006 is used to display a prompt information, the prompt information is used to prompt the user that M messages have been updated; the user input unit 1007 is also used to receive the user's target input to the prompt message; The target area in the interface displays the second message, and the target area is the display of the first message in the conversation interface.
  • the electronic device since the electronic device can also display prompt information after receiving the second message, and respond to the user's target input of the prompt information, the display of the first message in the conversation interface The area displays the second message, so the flexibility of sending messages can be increased.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • FIG. 10 is a schematic diagram of a hardware structure of a server according to an embodiment of the present application.
  • the embodiment of the present application also provides a server.
  • the server of the embodiment of the present application includes: Processor 91, transceiver 92, memory 93, network interface 94 and bus interface.
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 91 and various circuits of memory represented by memory 93 are linked together.
  • the bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein.
  • the bus interface provides the interface.
  • Transceiver 92 may be a plurality of elements, including a transmitter and a receiver, providing a means for communicating with various other devices over a transmission medium.
  • the processor 91 is responsible for managing the bus architecture and general processing, and the memory 93 can store data used by the processor 91 when performing operations.
  • the server also includes some unshown functional modules, which will not be repeated here.
  • the server also includes: instructions or programs stored on the memory 93 and operable on the processor 91, the processor 91 calls the instructions or programs in the memory 93 to execute the method performed by each module in Figure 7, and achieves The same technical effects are not described here in order to avoid repetition.
  • the transceiver 92 is used to receive the second message and at least one group identifier sent by the first electronic device, the second message is obtained by combining M messages not sent by the first electronic device, and each group identifier is combined with the M messages in the M messages. At least one message association, at least one group identifier is used to instruct the server to forward the order of each message in the second message;
  • the processor 91 is configured to divide the messages in the second message into at least one message group based on at least one group identifier;
  • the processor 91 may be further configured to sequentially forward at least one message group to the second electronic device according to a sequence indicated by at least one group identifier.
  • the server can divide the second message into at least one message group based on receiving the second message sent by the first electronic device and at least one group identifier, and follow the order indicated by the at least one group identifier , sequentially forwarding at least one message group to the second electronic device, so the flexibility of sending messages can be improved.
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above message sending method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here.
  • the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
  • the above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the various processes of the above message sending method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.

Landscapes

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

Abstract

本申请公开了一种消息发送方法、装置和电子设备,属于通信技术领域。该方法包括:第一电子设备接收用户对第一消息的第一输入,第一消息为第一电子设备已发送或未发送的M个消息,M为正整数;第一电子设备响应于第一输入,对第一消息执行第一处理,得到第二消息;第一电子设备通过服务器发送第二消息;其中,在第一消息为已发送的M个消息的情况下,第一处理为更新内容的处理;在第一消息为未发送的M个消息的情况下,第一处理为消息合并处理。

Description

消息发送方法、装置和电子设备
相关申请的交叉引用
本申请主张在2022年2月22日在中国提交的中国专利申请号202210161022.0的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种消息发送方法、装置和电子设备。
背景技术
随着电子设备的发展,电子设备的功能越来越丰富,例如,电子设备可以通过即时通讯类软件发送消息。
具体的,在相关技术中,如果用户需要对同一主题发送多条消息,例如:用户需要对同一主题发送3条消息,当用户发送完第一条消息后,需要在输入框中编辑第二条消息,但是当用户在编辑第二条消息时,其他聊天对象可能会在会话界面发送其他消息,那么用户发送的第一条消息和第二条消息之间就会穿插其他用户发送的消息。如此,由于用户在会话界面中对同一主题发送的多条消息中会穿插其他用户发送的消息,从而打乱用户发送多条消息的布局,因此现有技术中发送消息的方式不够灵活。
发明内容
本申请实施例的目的是提供一种消息发送方法、装置和电子设备,能够解决现有技术中发送消息的方式不够灵活的问题。
第一方面,本申请实施例提供了一种消息发送方法,该方法包括:第一电子设备接收用户针对第一消息的第一输入,第一消息为第一电子设备已发送或未发送的M个消息,M为正整数;第一电子设备响应于第一输入,对第一消息执行第一处理,得到第二消息;第一电子设备通过服务器发送第二消息;其中,在第一消息为已发送的M个消息的情况下,第一处理为更新内容的处理;在第一消息为未发送的M个消息的情况下,第一处理为消息合并处理。
第二方面,本申请实施例提供了一种消息发送方法,该方法包括:服务器接收第一电子设备发送的第二消息和至少一个组标识,第二消息由第一电子设备未发送的M个消息合并得到,每个组标识与M个消息中的至少一个消息关联,至少一个组标识用于指示服务器转发第二消息中的各个消息的顺序;服务器基于至少一个组标识,将第二消息中的消息划分为至少一个消息组,并按照至少一个组标识指示的顺序,依次向第二电子设备转发至少一个消息组。
第三方面,本申请实施例提供了一种消息发送方法,该方法包括:第二电子设备接收服务器转发的第二消息,第二消息为第一电子设备对第一电子设备已发送的M个消息更新内容后的消息;第二电子设备显示提示信息,提示信息用于提示用户M个消 息已被更新;第二电子设备接收用户对提示信息的目标输入;第二电子设备响应于目标输入,在会话界面中的目标区域显示第二消息,目标区域为第一消息在会话界面中的显示。
第四方面,本申请实施例提供了一种消息发送的装置,该装置包括:接收模块、处理模块和发送模块;接收模块,用于接收用户对第一消息的第一输入,第一消息为第一电子设备已发送或未发送的M个消息,M为正整数;处理模块,用于响应于接收模块接收的第一输入,对第一消息执行第一处理,得到第二消息;发送模块,用于通过服务器发送处理模块得到的第二消息;其中,在第一消息为已发送的M个消息的情况下,第一处理为更新内容的处理;在第一消息为未发送的M个消息的情况下,第一处理为消息合并处理。
第五方面,本申请实施例提供了一种消息发送的装置,该装置包括:接收模块、处理模块和发送模块;接收模块,用于接收第一电子设备发送的第二消息和至少一个组标识,第二消息由第一电子设备未发送的M个消息合并得到,每个组标识与M个消息中的至少一个消息关联,至少一个组标识用于指示服务器转发第二消息中的各个消息的顺序;处理模块,用于基于至少一个组标识,将第二消息中的消息划分为至少一个消息组;发送模块,用于按照至少一个组标识指示的顺序,依次向第二电子设备转发至少一个消息组。
第六方面,本申请实施例提供了一种消息发送的装置,该装置包括:接收模块和显示模块;接收模块,用于接收服务器转发的第二消息,第二消息为第一电子设备对第一电子设备已发送的M个消息更新内容后的消息;显示模块,用于显示提示信息,提示信息用于提示用户M个消息已被更新;接收模块,还用于接收用户对提示信息的目标输入;显示模块,还用于响应于接收模块接收的目标输入,在会话界面中的目标区域显示第二消息,目标区域为第一消息在会话界面中的显示。
第七方面,本申请实施例提供了一种电子设备,所述电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,所述程序或指令被处理器执行时实现如第一方面或第三方面的所述方法的步骤。
第八方面,本申请实施例提供了一种网络侧设备,所述网络侧设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,所述程序或指令被处理器执行时实现如第二方面的所述方法的步骤。
第九方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面、第二方面和第三方面的所述方法的步骤。
第十方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面、第二方面和第三方面所述的方法。
第十一方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面、第二方面和第三方面所述的方法。
在本申请实施例中,第一电子设备可以接收用户对第一消息的第一输入,第一消 息为第一电子设备已发送或未发送的M个消息,M为正整数;第一电子设备响应于第一输入,对第一消息执行第一处理,得到第二消息;第一电子设备通过服务器发送第二消息;其中,在第一消息为已发送的M个消息的情况下,第一处理为更新内容的处理;在第一消息为未发送的M个消息的情况下,则第一处理为消息合并处理。通过该方案,由于用户可以触发第一电子设备将未发送的M个消息合并处理或者对已发送的M个消息更新内容处理,最后得到第二消息,并通过服务器发送该第二消息,而无需分多次发送多个消息或重新输入已发送的消息的内容,因此可以提高电子设备发送消息的灵活性,且用户可以灵活地控制多条消息的布局。
附图说明
图1为本申请实施例提供的消息发送的方法的示意图;
图2为本申请实施例提供的消息发送方法应用的界面示意图之一;
图3为本申请实施例提供的消息发送方法应用的界面示意图之二;
图4为本申请实施例提供的消息发送方法应用的界面示意图之三;
图5为本申请实施例提供的消息发送装置的示意图之一;
图6为本申请实施例提供的消息发送装置的示意图之二;
图7为本申请实施例提供的消息发送装置的示意图之三;
图8为本申请实施例提供的电子设备的示意图;
图9为本申请实施例提供的电子设备的硬件示意图。
图10为本申请实施例提供的一种服务器的硬件示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息发送方法、装置和电子设备进行详细地说明。
可选地,本发明实施例提供的消息发送方法可以应用于发送消息的场景中。
示例性地,若用户需求发送多个消息则用户可以通过对这些消息的第一输入,触发第一电子设备将上述较多内容的消息合并得到第二消息,并通过服务器发送该第二消息。如此,由于无需分多次发送这些消息,因此可以避免在这些消息之间穿插其他消息,因此可以保证这些消息的布局不会被改变,可以提高发送消息的方式的灵活性。
又示例性地,当用户需求对已发送的至少一条消息进行内容补充/内容删除时,用户可以对该至少一条消息输入,以触发电子设备在该至少一条消息的基础上添加内容或删除内容,并通过服务器发送更新内容后的消息,由于无需重新输入该至少一条消 息的内容,因此可以简化对消息进行更新操作过程,从而可以提高发送消息的方式的灵活性。
实施例一
结合图1,本申请实施例提供一种消息发送方法,该方法可以包括下述的步骤101至步骤103。下面以第一电子设备执行该方法为例进行示例性地说明。
步骤101、第一电子设备接收用户对第一消息的第一输入。
其中,第一消息可以为第一电子设备已发送或未发送的M个消息,M可以为正整数。
可选地,本申请实施例中,第一输入可以为触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定。
可选地,本申请实施例中,第一消息可以为会话界面中的消息,该会话界面可以为用户与某个联系人的会话界面,也可以为用户与某个群组的会话界面,本申请实施例不作限定。
可选地,本申请实施例中,上述已发送的M个消息可以为第一电子设备发送的M个消息,也可以为其他用户的设备发送的M个消息;或者上述已发送的M个消息既可以包括第一电子设备发送的消息,也可以包括其他用户的设备发送的消息,本申请实施例不作限定。
可选地,本申请实施例中的每个消息(例如已发送的消息和未发送的消息)中可以包括至少一种类型的内容,每种类型的内容可以为以下任一项:文本内容、图片内容、视频内容或语音内容等,本申请实施例不作限定。
步骤102、第一电子设备响应于第一输入,对第一消息执行第一处理,得到第二消息。
其中,在第一消息为已发送的M个消息的情况下,第一处理为更新内容的处理;在第一消息为未发送的M个消息的情况下,第一处理为消息合并处理。
可选地,本申请实施例中,更新内容可以为添加内容或删除内容,还可以为删除部分内容后再添加新的内容,具体可以根据实际使用需求确定,本申请实施例不作限定。
可选地,本申请实施例中,电子设备可以添加以下至少一种类型的内容:文本内容、图片内容、视频内容、语音内容。
可选地,本申请实施例中,电子设备可以添加一种类型的内容,例如添加文本内容或图片内容,如此可以避免不同类型的内容相互参杂,从而可以提高消息的阅读体验。
可选地,本申请实施例中,第二消息的数量可以与第一消息的数量相同,也可以与第一消息的数量不同,具体可以根据实际使用需求确定,本申请实施例不作限定。
例如,第一消息为5条消息,第二消息为1条消息。
步骤103、第一电子设备通过服务器发送第二消息。
本申请实施例中,服务器为会话界面所属的应用程序对应的服务器。
可选地,本申请实施例中,第一电子设备通过服务器发送第二消息后,会话界面中的其他用户(具体为其他用户的设备,以下称为第二电子设备)可以接收第二消息。
本申请实施例中,第一电子设备可以先向服务器发送第二消息,服务器在接收到第二消息之后,服务器可以向第二电子设备下发第二消息。例如,假设会话界面为用户与联系人1的会话界面,那么服务器在接收到第二消息之后,可以向联系人1的设备下发第二消息,以便于第二电子设备和第一电子设备更新各自的会话界面中的消息。
在本申请实施例提供的消息发送方法中,由于用户可以触发第一电子设备将未发送的消息合并处理或者对已发送的消息更新内容处理,最后得到第二消息,并通过服务器发送该第二消息,一方面,由于无需分多次发送这些消息,因此可以避免在这些消息之间穿插其他消息,因此可以保证这些消息的布局不会被改变;另一方面,由于无需重新输入该消息的内容,因此可以简化对消息更新的操作过程,因此可以提高发送消息的灵活性。
可选地,本申请实施例中,第一电子设备得到第二消息后,在通过服务器发送第二消息之前,可以将第二消息显示在会话界面中的输入框或一个预览框中,若第二消息显示在会话界面中的输入框中,则用户可以通过对会话界面中“放大”控件的输入,触发第一电子设备显示第二消息的全部内容,从而方便用户查看和整理第二消息。
可选地,可以建立第一消息和第二消息的关联关系,从而可以在点击第二消息时跳转至第一消息所在区域,显示第一消息。
可选地,本申请实施例中,上述第一消息为已发送的M个消息;在上述步骤102之后,本申请实施例提供的消息发送方法还可以包括下述的步骤104。
步骤104、第一电子设备向服务器发送指示信息。
其中,指示信息可以用于指示以下任一项:(1),服务器删除服务器中的第一消息、(2),服务器将服务器中的第一消息替换为第二消息。
可选地,本申请实施例中,上述指示信息中可以包括第一消息的身份信息ID(Identity Document,ID)、包名等,以便服务器可以准确删除第一消息或将第一消息替换为第二消息。
需要说明的是,本申请实施例中,服务器将服务器中的第一消息替换为第二消息之后,可以删除第一消息。
为了便于描述,将会话界面中的其他用户的设备统称为第二电子设备,两者意思相同,可以互换。
可选地,本申请实施例中,服务器删除服务器中的第一消息后,第一电子设备可以取消第一消息在会话界面中的显示,并且第二电子设备可以取消第一消息在该第二电子设备的会话界面中的显示。即会话界面中的所有用户将不会看到第一消息。
可选地,本申请实施例中,服务器删除服务器中的第一消息后,上述第一电子设备通过服务器发送第二消息具体为服务器以新消息的形式发送该第二消息。
本申请实施例中,电子设备可以先执行上述步骤103,再执行上述步骤104,或者可以先执行上述步骤104,再执行上述步骤103,或者电子设备可以同时执行步骤103和步骤104,具体可以根据实际使用需求确定,本申请实施例不作限定。
本申请实施例中,当第一消息为已发送的M个消息时,由于第一电子设备在更新第一消息的内容并得到第二消息之后,可以向服务器发送用于指示服务器删除服务器中的第一消息或者指示服务器将服务器中的第一消息替换为第二消息的指示信息,因 此可以避免会话界面(例如第一电子设备中的会话界面和第二电子设备中的会话界面)中同时存在多个与第一消息相关的内容,因此可以提高显示消息的灵活性。
可选地,本申请实施例中,在上述(2)中,即指示信息用于指示服务器将服务器中的第一消息替换为第二消息;在上述步骤104之后,本申请实施例提供的消息发送方法还可以包括下述的步骤105。
步骤105、第一电子设备在会话界面中的第一区域显示第二消息。
其中,第一区域可以为第一消息在会话界面中的显示区域,第二消息中的第一内容与第二内容的显示形式不同,第一内容可以为第一消息中的内容,第二内容可以为第二消息中与第一内容不同的内容。
可选地,本申请实施例中,第一电子设备在会话界面中的第一区域显示第二消息可以理解为:第一电子设备取消在第一区域显示第一消息,并在第一区域显示第二消息。
可选地,本申请实施例中,显示形式不同可以包括:显示颜色不同、显示尺寸不同、背景颜色不同等,本申请实施例不作限定。
可选地,本申请实施例中,第二内容的显示形式较第一内容的显示形式更加突出和醒目,以提高用户的关注度。
例如,以第一内容和第二内容均为文本内容为例,第一内容的颜色可以为黑色,第二内容的颜色可以红色。
可选地,本申请实施例中,第二内容可以包括以下至少一项:文本内容、图片内容、视频内容、语音内容。
需要说明的是,本申请实施例中,假设第二电子设备在其中的会话界面的第三位置显示第一消息,那么在服务器将服务器中的第一消息替换为第二消息之后,第二电子设备也可以取消第一消息在第三位置的显示,并在第三位置显示第二消息。且第二电子设备显示第一内容和第二内容的显示形式与第一电子设备显示第一内容和第二内容的显示形式相同。
可选地,本申请实施例中,第一电子设备还可以在第二消息所在区域显示第一提示信息,该第一提示信息可以指示第二消息中的哪些内容为更新的内容。
示例性地,如图2中的(a)所示:在会话界面20中,第一消息21为“我的收货地址是:北京市,海淀区”,用户可以对第一消息21进行添加(即更新)内容的输入(即第一输入);从而第一电子设备可以响应于第一输入,在第一消息21中添加“,XX路YY号”,得到第二消息22:“我的收货地址是:北京市,海淀区,XX路YY号”,然后第一电子设备可以通过服务器发送第二消息22和指示信息,该指示信息用于指示服务器将服务器中的第一消息替换为第二消息;然后如图2中的(b)所示,第一电子设备可以在第一消息的位置显示第二消息,并在第二消息下方显示提示信息23(第一提示信息):“红色为追加部分”;其中,第二消息中的“我的收货地址是:北京市,海淀区”的显示颜色为黑色,第二消息中的“,XX路YY号”的显示颜色为红色。
可选地,本申请实施例中,第二电子设备也可以在第二电子设备中显示第二消息的区域显示第一提示信息。
可选地,本申请实施例中,第一电子设备可以指示服务器将第一消息的发送时间更新为第二消息的发送时间。如此,各个设备(包括第一电子设备和第二电子设备)均可以在各自的会话界面上显示更新后的时间,且该更新后的时间的显示区域与第二消息的显示区域相邻。
例如,如图2中的(a)所示:第一消息的发送时间为上午10:12;假设第一电子设备在10:15向服务器发送第二消息,那么在服务器将服务器中的第一消息替换为第二消息后,如图2中的(b)所示:第一电子设备可以在第一消息的显示区域显示第二消息,并将第一消息的发送时间更新为10:15。
本申请实施例中,由于第一电子设备可以在原显示第一消息的位置显示第二消息,同时在第二消息中以不同的显示形式显示原第一消息不同的内容,从而便于用户查看哪些内容为更新的内容,因此可以提高显示消息的灵活性。
可选地,本申请实施例中,假设第一消息为已发送的M个消息,在上述步骤101之前,本申请实施例提供的消息发送方法还可以包括下述的步骤106和步骤107。
步骤106、第一电子设备接收用户在会话界面上的第二输入。
步骤107、第一电子设备响应于第二输入,在会话界面上显示消息编辑框,且在消息编辑框中显示第一消息,并显示与消息编辑框对应的输入法界面;
其中,第二输入可以为用户从会话界面中选择第一消息的输入。
可选地,本申请实施例中,第二输入可以为触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定。
可选地,本申请实施例中,上述第二输入可以包括第一子输入和第二子输入。
其中,第一子输入为用户对第一消息的输入,第一子输入用于触发第一电子设备显示目标控件,目标控件用于触发对消息执行内容更新处理的功能,第二子输入为对目标控件的输入。
可选地,本申请实施例中,第一电子设备接收用户对第一消息的第一子输入之后,可以显示目标控件,或者可以显示目标控件和至少一个第一控件,每个第一控件用于触发以下任一项:删除第一电子设备的本地消息、撤回消息、转发消息、收藏消息。然后用户可以通过对目标控件的第二子输入,触发第一电子设备在会话界面上显示消息编辑框,且在消息编辑框中显示第一消息,并显示与消息编辑框对应的输入法界面。
例如,如图2中的(a)所示:第一电子设备在会话界面中显示已发送的消息21(即第一消息),用户可以在消息21上长按(即第一子输入),如图3中的(a)所示:第一电子设备可以显示一个控件列表31,该控件列表中包括“追加”控件(即目标控件)、“删除本地”控件、“转发”控件(即至少一个第一控件),然后,用户可以在“追加”控件上点击(即第二子输入),如图3中的(b)所示:从而第一电子设备可以在会话界面上显示消息编辑框,且在消息编辑框中显示第一消息,并显示与消息编辑框对应的输入法界面。从而用户可以通过在该输入法界面上的输入(即第一输入),触发第一电子设备在消息21中添加内容。
本申请实施例中,由于用户可以触发第一电子设备对已发送的消息再次编辑,因此可以提高处理已发送消息的灵活性。
可选地,本申请实施例中,假设第一消息为未发送的M个消息,在上述步骤101 之前,并且在第一电子设备处于消息预览模式的情况下,本申请实施例提供的消息发送方法还可以包括下述的步骤108和步骤109。
步骤108、第一电子设备接收用户对未发送的N个消息的第三输入。
步骤109、第一电子设备响应于第三输入,在不发送N个消息的情况下,以预览方式在会话界面显示N个消息,未发送的M个消息为N个消息中的消息。
其中,第三输入可以为预览N个消息的输入;第一输入具体可以为用户选择N个消息中的M个消息输入。
可选地,本申请实施例中,N个消息的显示形式,与第一电子设备通过服务器发送该N个消息之后,该N个消息在会话界面中的显示形式相同。如此,可以便于用户预览发送该N个消息后的显示效果。
可选地,本申请实施例中,上述N个消息可以为用户触发第一电子设备在目标聊天模式下发送(即预览)的消息,在目标聊天模式下,当用户触发第一电子设备通过会话界面发送一个消息时,第一电子设备可以以预览的方式显示将该消息显示在会话界面中,并未通过服务器发送该消息,即会话界面中的其他用户并不会收到该消息,但是用户可以正常接收其他用户发送的消息。
可选地,本申请实施例中,用户可以在执行第三输入之前,先触发第一电子设备开启目标聊天模式,或者,若上述会话界面为群组会话界面,用户可以触发第一电子设备向该群组中的管理员申请开启目标聊天模式,并在管理员的同意下开启目标聊天模式,具体可以根据实际使用需求确定。
可选地,本申请实施例中,第三输入的输入形式可以与在正常模式下用户触发电子设备发送消息的输入形式相同。例如,第三输入可以为用户对发送控件的输入。
可选地,本申请实施例中,第三输入可以为触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定。
可选地,本申请实施例中,第三输入包括N个第三子输入,每个第三子输入用于预览N个消息中的一个消息。实际实现中,对于上述N个消息中的第i个消息,用户在完成对第i个消息的编辑/输入后,可以通过第i个第三子输入,触发第一电子设备在会话界面中显示第i个消息,然后用户可以继续编辑/输入第i+1个消息,并在完成对第i+1个消息的编辑/输入之后,通过第i+1个第三子输入,触发第一电子设备在会话界面中显示第i+1个消息,以此类推,直至第一电子设备在会话界面中显示第N个消息,i为正整数。
下面结合附图对本申请实施例提供的消息发送方法进行示例性地说明。
示例性地,如图4中的(a)所示:会话界面40中可以包括“本地预览对话”控件41,用户可以对该控件输入,触发第一电子设备开启目标聊天模式,然后,用户可以依次输入并触发第一电子设备预览消息A,消息B和消息C,从而如图4中的(b)所示,第一电子设备可以在会话界面上分别显示消息A42、消息B43和消息C44。可以理解,第三输入包括3个第三子输入,分别用于预览消息A、消息B和消息C。由于用户可以触发第一电子设备预览多条消息,从而可以避免一次性输入内容较多,导致用户无法通过输入框查阅输入框中所有输入消息的问题。
本申请实施例中,由于用户可以触发第一电子设备将N个消息以预览的形式显示 在会话界面中,并未将该N个消息通过服务器发送至其他用户设备,因此可以提高处理消息的多样性。
可选地,在第一电子设备处于消息预览模式下,仍然可以接收其他设备发送的消息,并显示在会话界面。
可选地,本申请实施例中,在上述步骤109之后,本申请实施例提供的消息发送方法还可以包括下述的步骤110和步骤111。
步骤110、第一电子设备接收用户的第四输入。
可选地,本申请实施例中,第四输入可以为触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定。
步骤111、第一电子设备响应于第四输入,执行与第四输入对应的第二处理,第二处理包括以下至少一项:调整N个消息的排列顺序、更新N个消息中的至少一个消息的内容。
其中,在第二处理包括调整N个消息的排列顺序的情况下,未发送的M个消息在第二消息中的排列顺序与未发送的M个消息在N个消息中的排列顺序相同。
可选地,本申请实施例中,用户可以通过对上述N个消息中一个或多个消息的拖动输入(即第四输入),触发电子设备调整上述N个消息的排列顺序。
可选地,本申请实施例中,当上述至少一个消息中包括多个消息时,第四输入包括多个第四子输入,每个第四子输入用于更新该多个消息中的一个消息中的内容。
具体的,对于上述至少一个消息中的每个消息,用户可以选择一个消息,然后再通过一个第四子输入对该消息中的消息进行更新(如删除内容、添加内容、调整内容格式)。
本申请实施例中,由于用户可以触发第一电子设备对N个消息的排列顺序重新调整或者更新至少一个消息中的消息的内容,因此可以提高处理预览消息的灵活性。
可选地,本申请实施例中,第一消息为未发送的M个消息;在上述步骤103之前,本申请实施例提供的消息发送方法还可以包括下述的步骤112,上述步骤103具体可以通过下述的步骤103a实现。
步骤112、第一电子设备将未发送的M个消息分为至少一个消息组。
其中,每个消息组中可以包括未发送的M个消息中的至少一个消息,相同消息组中的消息可以与相同的组标识关联。
可选地,本申请实施例中,第一电子设备可以在用户的触发下,将上述未发送的M个消息分为至少一个消息组;或者,第一电子设备可以以图片或视频为基础,自动将上述未发送的M个消息分为至少一个消息组,具体可以根据实际使用需求确定,本申请实施例不作限定。
例如,上述M个消息包括消息1、消息2、消息3、消息4;其中,消息1为图片消息,消息2为消息1对应的文字消息,消息3为图片消息,消息4为消息3对应的文字消息;那么电子设备可以将消息1和消息2分为1组,将消息3和消息4分为1组。
可选地,本申请实施例中,当一个消息组中包括多种类型的消息时,可以将不同类型的消息中具有关联关系的部分进行关联。
例如,一个组消息中包括一个图片消息和一个文字消息,如果对图片局部进行黄色标记,那么文字消息中与该局部相关联的文字也显示黄色。
步骤103a、第一电子设备向服务器发送第二消息和至少一个组标识。
其中,至少一个组标识可以用于指示服务器转发第二消息中的各个消息的顺序。
可选地,本申请实施例中,第一电子设备还可以响应于用户的输入,将未发送的M个消息压缩为一个目标压缩文件,并通过服务器发送该目标压缩文件。
本申请实施例中,由于第一电子设备可以将未发送的M个消息分为至少一个消息组,并且指示服务器按照消息组中的组标识转发该M个消息,因此可以提高处理未发送消息的灵活性。
下面结合附图对本申请实施例提供的消息发送方法进行示例性地说明。
当第一消息为已发送的M个消息时:如图2中的(a)所示:第一电子设备在会话界面20中显示第一消息21“我的收货地址是:北京市,海淀区”,用户可以对第一消息21长按输入(即第一子输入),如图3中的(a)所示:第一电子设备可以显示一个控件列表31,该控件列表中包括“追加”控件(即目标控件)、“删除本地”控件、“转发”控件(即至少一个第一控件),然后,用户可以在“追加”控件上点击(即第二子输入),如图3中的(b)所示:从而第一电子设备可以在会话界面上显示消息编辑框32,且在消息编辑框32中显示第一消息,并显示与消息编辑框32对应的输入法界面33。从而用户可以通过在该输入法界面33上的输入(即第一输入),触发第一电子设备在消息21中添加内容,得到第二消息,用户可以点击“发送”控件,如图2中的(b)所示:第一电子设备通过服务器发送第二消息22,取消第一消息的显示,并在显示第一消息的区域显示第二消息,并在第二消息下方显示提示信息23(第一提示信息):“红色为追加部分”;其中,第二消息22中的“我的收货地址是:北京市,海淀区”的显示颜色为黑色,第二消息中的“,XX路YY号”的显示颜色为红色,以及将第一消息的发送时间更新为10:15。
当第一消息为未发送的M个消息时:如图4中的(a)所示:第一电子设备在会话界面40中显示“本地预览对话”控件41,用户可以对控件41点击输入,触发第一电子设备开启目标聊天模式,用户可以在会话界面上进行预览3个消息(即N个消息)的输入(即第三输入),如图4中的(b)所示:第一电子设备可以在会话界面中显示3个消息预览框,用户可以选择消息A和消息B(即第一输入),如图4中的(c)所示:触发第一电子设备得到消息45(即第二消息),并通过服务器发送消息45,将消息45显示在会话界面中。
实施例二
本申请实施例提供一种消息发送方法,该方法可以包括下述的步骤201和步骤202。下面以服务器执行该方法为例进行示例性地说明。
步骤201、服务器接收第一电子设备发送的第二消息和至少一个组标识。
其中,第二消息可以由第一电子设备未发送的M个消息合并得到,每个组标识可以与M个消息中的至少一个消息关联,至少一个组标识可以用于指示服务器转发第二消息中的各个消息的顺序。
步骤202、服务器基于至少一个组标识,将第二消息中的消息划分为至少一个消 息组,并按照至少一个组标识指示的顺序,依次向第二电子设备转发至少一个消息组。可选地,本申请实施例中,服务器可以在接收第一电子设备发送的目标压缩文件之后,将目标压缩文件发送至第二电子设备。
在本申请实施例提供的消息发送方法中,由于服务器可以基于接收第一电子设备发送的第二消息和至少一个组标识,将第二消息划分为至少一个消息组,并按照至少一个组标识指示的顺序,依次向第二电子设备转发至少一个消息组,因此可以提高发送消息的灵活性。
实施例三
本申请实施例提供一种消息发送方法,该方法可以包括下述的步骤301至步骤304。下面以服务器执行该方法为例进行示例性地说明。
步骤301、第二电子设备接收服务器转发的第二消息。
其中,第二消息可以为第一电子设备对第一电子设备已发送的M个消息更新内容后的消息。
例如,第二消息可以为1条消息。
步骤302、第二电子设备显示提示信息。
其中,提示信息可以用于提示用户M个消息已被更新。
可选地,本申请实施例中,提示信息中还可以包括第二消息的全部内容或部分内容。
步骤303、第二电子设备接收用户对提示信息的目标输入。
可选地,本申请实施例中,目标输入可以为触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定。
步骤304、第二电子设备响应于目标输入,在会话界面中的目标区域显示第二消息。
其中,目标区域为第一消息在会话界面中的显示区域。
可选地,本申请实施例中,第二电子设备在接收到服务器转发的目标压缩文件之后,将目标压缩文件进行解压,得到第二消息。
在本申请实施例提供的消息发送方法中,由于第二电子设备在接收到第二消息后,还可以显示提示信息,并响应于用户对该提示信息的目标输入,在第一消息在会话界面中的显示区域显示第二消息,因此可以提高发送消息的灵活性。
需要说明的是,本申请实施例提供的消息发送方法,执行主体可以为消息发送装置,或者该消息发送装置中的用于执行消息发送方法的控制模块。本申请实施例中以消息发送装置执行消息发送方法为例,说明本申请实施例提供的消息发送装置。
结合图5,本申请实施例提供一种消息发送装置500,该消息发送装置500可以包括:接收模块501、处理模块502和发送模块503;接收模块501,可以用于接收用户对第一消息的第一输入,第一消息为第一电子设备已发送或未发送的M个消息,M为正整数;处理模块502,可以用于响应于接收模块501接收的第一输入,对第一消息执行第一处理,得到第二消息;发送模块503,可以用于通过服务器发送处理模块502得到的第二消息;其中,在第一消息为已发送的M个消息的情况下,第一处理为更新内容的处理;在第一消息为M个消息的情况下,第一处理为消息合并处理。
可选地,本申请实施例中,第一消息为已发送的M个消息;发送模块503,还可以用于在处理模块502响应于第一输入,对第一消息执行第一处理,得到第二消息之后,向服务器发送指示信息,指示信息用于指示以下任一项:服务器删除服务器中的第一消息、服务器将服务器中的第一消息替换为第二消息。
可选地,本申请实施例中,该装置还包括:显示模块;指示信息用于指示服务器将服务器中的第一消息替换为第二消息;显示模块,用于在发送模块503向服务器发送指示信息之后,在会话界面中的第一区域显示第二消息,第一区域为第一消息在会话界面中的显示区域;其中,第二消息中的第一内容与第二内容的显示形式不同,第一内容为第一消息中的内容,第二内容为第二消息中与第一内容不同的内容。
可选地,本申请实施例中,第一消息为已发送的M个消息;接收模块501,还用于在接收用户对第一消息的第一输入之前,接收用户在会话界面上的第二输入,第二输入为选择第一消息的输入;显示模块,还用于响应于接收模块501接收的第二输入,在会话界面上显示消息编辑框,且在消息编辑框中显示第一消息,并显示与消息编辑框对应的输入法界面;其中,第一输入具体为用户通过输入法界面输入内容的输入。
可选地,本申请实施例中,第一消息为未发送的M个消息,该装置还包括:显示模块;接收模块501,还用于在接收用户对第一消息的第一输入之前,在所述第一电子设备处于消息预览模式的情况下,接收用户对未发送的N个消息的第三输入;显示模块,用于响应于接收模块501接收的第三输入,在不发送所述N个消息的情况下,以预览方式在会话界面显示所述N个消息,所述未发送的M个消息为所述N个消息中的消息。
可选地,本申请实施例中,接收模块501,还用于在以预览方式在会话界面显示N个消息之后,接收用户的第四输入;处理模块502,还用于响应于接收模块501接收的第四输入,执行与第四输入对应的第二处理,第二处理包括以下至少一项:调整N个消息的排列顺序、更新所述N个消息中的至少一个消息的内容。
可选地,本申请实施例中,第一消息为未发送的M个消息;处理模块502,还用于将未发送的M个消息分为至少一个消息组,每个消息组中包括未发送的M个消息中的至少一个消息,相同消息组中的消息与相同的组标识关联;发送模块503,具体用于向服务器发送第二消息和至少一个组标识,至少一个组标识用于指示服务器转发第二消息中的各个消息的顺序。
在本申请实施例提供的消息发送装置中,由于用户可以触发消息发送装置将未发送的消息合并处理或者对已发送的消息更新内容处理,最后得到第二消息,并通过服务器发送该第二消息,一方面,由于无需分多次发送这些消息,因此可以避免在这些消息之间穿插其他消息,因此可以保证这些消息的布局不会被改变;另一方面,由于无需重新输入该消息的内容,因此可以简化对消息更新的操作过程,因此可以提高发送消息的灵活性。
结合图6,本申请实施例提供一种消息发送装置600,该消息发送装置可以包括:接收模块601、处理模块602和发送模块603;接收模块601,用于接收第一电子设备发送的第二消息和至少一个组标识,第二消息由第一电子设备未发送的M个消息合并得到,每个组标识与M个消息中的至少一个消息关联,至少一个组标识用于指示服务 器转发第二消息中的各个消息的顺序;处理模块602,用于基于至少一个组标识,将第二消息中的消息划分为至少一个消息组;发送模块603,用于按照至少一个组标识指示的顺序,依次向第二电子设备转发至少一个消息组。
在本申请实施例提供的消息发送装置中,由于消息发送装置可以基于接收第一电子设备发送的第二消息和至少一个组标识,将第二消息划分为至少一个消息组,并按照至少一个组标识指示的顺序,依次向第二电子设备转发至少一个消息组,因此可以提高发送消息的灵活性。
结合图7,本申请实施例提供一种消息发送装置700,该消息发送装置可以包括:接收模块701和显示模块702;接收模块701,用于接收服务器转发的第二消息,第二消息为第一电子设备对第一电子设备已发送的M个消息更新内容后的消息;显示模块702,用于显示提示信息,提示信息用于提示用户M个消息已被更新;接收模块701,还用于接收用户对提示信息的目标输入;显示模块702,还用于响应于接收模块接收的目标输入,在会话界面中的目标区域显示第二消息,目标区域为第一消息在会话界面中的显示。
在本申请实施例提供的消息发送装置中,由于消息发送装置在接收到第二消息后,还可以显示提示信息,并响应于用户对该提示信息的目标输入,在第一消息在会话界面中的显示区域显示第二消息,因此可以提高发送消息的灵活性。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
本申请实施例中的消息发送装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的消息发送装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的消息发送装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。
如图8所示,本申请实施例还提供一种电子设备800,包括处理器802,存储器801,存储在存储器801上并可在处理器802上运行的程序或指令,该程序或指令被处理器802执行时实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图9为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元 1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
在电子设备1000为实施例一中所述的第一电子设备的情况下,
其中,用户输入单元1007,可以用于接收用户对第一消息的第一输入,第一消息为第一电子设备已发送或未发送的M个消息,M为正整数;处理器1010,可以用于响应于用户输入单元1007接收的第一输入,对第一消息执行第一处理,得到第二消息;处理器1010,还可以用于通过服务器发送处理器1010得到的第二消息;其中,在第一消息为已发送的M个消息的情况下,第一处理为更新内容的处理;在第一消息为M个消息的情况下,第一处理为消息合并处理。
可选地,本申请实施例中,第一消息为已发送的M个消息;处理器1010,还可以用于在处理器1010响应于第一输入,对第一消息执行第一处理,得到第二消息之后,向服务器发送指示信息,指示信息用于指示以下任一项:服务器删除服务器中的第一消息、服务器将服务器中的第一消息替换为第二消息。
可选地,本申请实施例中,该电子设备还包括:显示单元1006;指示信息用于指示服务器将服务器中的第一消息替换为第二消息;显示单元1006,用于在处理器1010向服务器发送指示信息之后,在会话界面中的第一区域显示第二消息,第一区域为第一消息在会话界面中的显示区域;其中,第二消息中的第一内容与第二内容的显示形式不同,第一内容为第一消息中的内容,第二内容为第二消息中与第一内容不同的内容。
可选地,本申请实施例中,第一消息为已发送的M个消息;用户输入单元1007,还用于在接收用户针对会话界面中的第一消息的第一输入之前,接收用户在会话界面上的第二输入,第二输入为选择第一消息的输入;显示单元1006,还用于响应于用户输入单元1007接收的第二输入,在会话界面上显示消息编辑框,且在消息编辑框中显示第一消息,并显示与消息编辑框对应的输入法界面;其中,第一输入具体为用户通过输入法界面输入内容的输入。
可选地,本申请实施例中,第一消息为未发送的M个消息,该电子设备还包括:显示单元1006;用户输入单元1007,还用于在接收用户针对会话界面中的第一消息的第一输入之前,在所述第一电子设备处于消息预览模式的情况下,接收用户对未发送的N个消息的第三输入;显示单元1006,用于响应于用户输入单元1007接收的第三输入,在不发送所述N个消息的情况下,以预览方式在会话界面显示所述N个消息,所述未发送的M个消息为所述N个消息中的消息。
可选地,本申请实施例中,用户输入单元1007,还用于在显示单元1006以预览方式在会话界面显示N个消息之后,接收用户的第四输入;处理器1010,还用于响应于用户输入单元1007接收的第四输入,执行与第四输入对应的第二处理,第二处理包 括以下至少一项:调整N个消息的排列顺序、更新所述N个消息中的至少一个消息的内容。
可选地,本申请实施例中,第一消息为未发送的M个消息;处理器1010,还用于将未发送的M个消息分为至少一个消息组,每个消息组中包括未发送的M个消息中的至少一个消息,相同消息组中的消息与相同的组标识关联;处理器1010,具体用于向服务器发送第二消息和至少一个组标识,至少一个组标识用于指示服务器转发第二消息中的各个消息的顺序。
在本申请实施例提供的电子设备中,由于用户可以触发电子设备将未发送的消息合并处理或者对已发送的消息更新内容处理,最后得到第二消息,并通过服务器发送该第二消息,一方面,由于无需分多次发送这些消息,因此可以避免在这些消息之间穿插其他消息,因此可以保证这些消息的布局不会被改变;另一方面,由于无需重新输入该消息的内容,因此可以简化对消息更新的操作过程,因此可以提高发送消息的灵活性。
在电子设备1000为实施例三中所述的第二电子设备的情况下,
其中,用户输入单元1007,用于接收服务器转发的第二消息,第二消息为第一电子设备对第一电子设备已发送的M个消息更新内容后的消息;显示单元1006,用于显示提示信息,提示信息用于提示用户M个消息已被更新;用户输入单元1007,还用于接收用户对提示信息的目标输入;显示单元1006,还用于响应于接收模块接收的目标输入,在会话界面中的目标区域显示第二消息,目标区域为第一消息在会话界面中的显示。
在本申请实施例提供的电子设备中,由于电子设备在接收到第二消息后,还可以显示提示信息,并响应于用户对该提示信息的目标输入,在第一消息在会话界面中的显示区域显示第二消息,因此可以提高发送消息的灵活性。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
图10为本申请实施例的一种服务器的硬件结构示意图。
本申请实施例还提供了一种服务器。如图10所示,本申请实施例的服务器包括: 处理器91、收发机92、存储器93、网络接口94和总线接口。在图10中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器91代表的一个或多个处理器和存储器93代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机92可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。处理器91负责管理总线架构和通常的处理,存储器93可以存储处理器91在执行操作时所使用的数据。另外,服务器还包括一些未示出的功能模块,在此不再赘述。
具体的,该服务器还包括:存储在存储器93上并可在处理器91上运行的指令或程序,处理器91调用存储器93中的指令或程序执行图7中的各个模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。
其中,收发机92用于接收第一电子设备发送的第二消息和至少一个组标识,第二消息由第一电子设备未发送的M个消息合并得到,每个组标识与M个消息中的至少一个消息关联,至少一个组标识用于指示服务器转发第二消息中的各个消息的顺序;
可选地,处理器91,用于基于至少一个组标识,将第二消息中的消息划分为至少一个消息组;
可选地,处理器91,还可以用于按照至少一个组标识指示的顺序,依次向第二电子设备转发至少一个消息组。
在本申请实施例提供的服务器中,由于服务器可以基于接收第一电子设备发送的第二消息和至少一个组标识,将第二消息划分为至少一个消息组,并按照至少一个组标识指示的顺序,依次向第二电子设备转发至少一个消息组,因此可以提高发送消息的灵活性。
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,上述处理器为上述实施例中的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨 论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (16)

  1. 一种消息发送方法,所述方法包括:
    第一电子设备接收用户对第一消息的第一输入,所述第一消息为所述第一电子设备已发送或未发送的M个消息,M为正整数;
    所述第一电子设备响应于所述第一输入,对所述第一消息执行第一处理,得到第二消息;
    所述第一电子设备通过服务器发送所述第二消息;
    其中,在所述第一消息为所述已发送的M个消息的情况下,所述第一处理为更新内容的处理;在所述第一消息为所述未发送的M个消息的情况下,所述第一处理为消息合并处理。
  2. 根据权利要求1所述的方法,其中,所述第一消息为所述已发送的M个消息;
    所述第一电子设备响应于所述第一输入,对第一消息执行第一处理,得到第二消息之后,所述方法还包括:
    所述第一电子设备向所述服务器发送指示信息,所述指示信息用于指示以下任一项:所述服务器删除所述服务器中的所述第一消息、所述服务器将所述服务器中的所述第一消息替换为所述第二消息。
  3. 根据权利要求2所述的方法,其中,所述指示信息用于指示所述服务器将所述服务器中的所述第一消息替换为所述第二消息;
    所述第一电子设备向所述服务器发送所述指示信息之后,所述方法还包括:
    所述第一电子设备在会话界面中的第一区域显示所述第二消息,所述第一区域为所述第一消息在所述会话界面中的显示区域;
    其中,所述第二消息中的第一内容与第二内容的显示形式不同,所述第一内容为所述第一消息中的内容,所述第二内容为所述第二消息中与所述第一内容不同的内容。
  4. 根据权利要求1至3中任一项所述的方法,其中,所述第一消息为所述已发送的M个消息;
    所述第一电子设备接收用户对第一消息的第一输入之前,所述方法还包括:
    所述第一电子设备接收用户在会话界面上的第二输入,所述第二输入为选择所述第一消息的输入;
    所述第一电子设备响应于所述第二输入,在所述会话界面上显示消息编辑框,且在所述消息编辑框中显示所述第一消息,并显示与所述消息编辑框对应的输入法界面;
    其中,所述第一输入为用户通过所述输入法界面输入内容的输入。
  5. 根据权利要求1所述的方法,其中,所述第一消息为所述未发送的M个消息;
    所述第一电子设备接收用户对第一消息的第一输入之前,所述方法还包括:
    在所述第一电子设备处于消息预览模式的情况下,
    所述第一电子设备接收用户对未发送的N个消息的第三输入;
    所述第一电子设备响应于所述第三输入,在不发送所述N个消息的情况下,以预览方式在会话界面显示所述N个消息,所述未发送的M个消息为所述N个消息中的消息。
  6. 根据权利要求5所述的方法,其中,所述以预览方式在会话界面显示所述N个 消息之后,所述方法还包括:
    所述第一电子设备接收用户的第四输入;
    所述第一电子设备响应于所述第四输入,执行与所述第四输入对应的第二处理,所述第二处理包括以下至少一项:调整所述N个消息的排列顺序、更新所述N个消息中的至少一个消息的内容;
    其中,在所述第二处理包括调整所述N个消息的排列顺序的情况下,所述未发送的M个消息在所述第二消息中的排列顺序与所述未发送的M个消息在所述N个消息中的排列顺序相同。
  7. 根据权利要求1、5或6所述的方法,其中,所述第一消息为所述未发送的M个消息;
    所述第一电子设备通过服务器发送所述第二消息之前,所述方法还包括:
    所述第一电子设备将所述未发送的M个消息分为至少一个消息组,每个消息组中包括所述未发送的M个消息中的至少一个消息,相同消息组中的消息与相同的组标识关联;
    所述第一电子设备通过服务器发送所述第二消息,包括:
    所述第一电子设备向所述服务器发送所述第二消息和至少一个组标识,所述至少一个组标识用于指示所述服务器转发所述第二消息中的各个消息的顺序。
  8. 一种消息发送方法,包括:
    服务器接收第一电子设备发送的第二消息和至少一个组标识,所述第二消息由所述第一电子设备未发送的M个消息合并得到,每个组标识与所述M个消息中的至少一个消息关联,所述至少一个组标识用于指示所述服务器转发所述第二消息中的各个消息的顺序;
    所述服务器基于所述至少一个组标识,将所述第二消息中的消息划分为至少一个消息组,并按照所述至少一个组标识指示的顺序,依次向第二电子设备转发所述至少一个消息组。
  9. 一种消息发送方法,包括:
    第二电子设备接收服务器转发的第二消息,所述第二消息为第一电子设备对所述第一电子设备已发送的M个消息更新内容后的消息;
    所述第二电子设备显示提示信息,所述提示信息用于提示用户所述M个消息已被更新;
    所述第二电子设备接收用户对所述提示信息的目标输入;
    所述第二电子设备响应于所述目标输入,在所述会话界面中的目标区域显示所述第二消息,所述目标区域为所述第一消息在所述会话界面中的显示区域。
  10. 一种消息发送装置,所述装置包括:接收模块、处理模块和发送模块;
    所述接收模块,用于接收用户对第一消息的第一输入,所述第一消息为第一电子设备已发送或未发送的M个消息,M为正整数;
    所述处理模块,用于响应于所述接收模块接收的所述第一输入,对所述第一消息执行第一处理,得到第二消息;
    所述发送模块,用于通过服务器发送所述处理模块得到的所述第二消息;
    其中,在所述第一消息为所述已发送的M个消息的情况下,所述第一处理为更新内容的处理;在所述第一消息为所述未发送的M个消息的情况下,所述第一处理为消息合并处理。
  11. 一种消息发送装置,所述装置包括:接收模块、处理模块和发送模块;
    所述接收模块,用于接收第一电子设备发送的第二消息和至少一个组标识,所述第二消息由所述第一电子设备未发送的M个消息合并得到,每个组标识与所述M个消息中的至少一个消息关联,所述至少一个组标识用于指示所述服务器转发所述第二消息中的各个消息的顺序;
    所述处理模块,用于基于所述至少一个组标识,将所述第二消息中的消息划分为至少一个消息组;
    所述发送模块,用于按照所述至少一个组标识指示的顺序,依次向第二电子设备转发所述至少一个消息组。
  12. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至9中任一项所述的消息发送方法的步骤。
  13. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至9中任一项所述的消息发送方法的步骤。
  14. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至9中任一项所述的消息发送方法。
  15. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至9中任一项所述的消息发送方法。
  16. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至9中任一项所述的消息发送方法。
PCT/CN2023/076489 2022-02-22 2023-02-16 消息发送方法、装置和电子设备 WO2023160457A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210161022.0 2022-02-22
CN202210161022.0A CN114629864B (zh) 2022-02-22 2022-02-22 消息发送方法、装置和电子设备

Publications (1)

Publication Number Publication Date
WO2023160457A1 true WO2023160457A1 (zh) 2023-08-31

Family

ID=81900672

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/076489 WO2023160457A1 (zh) 2022-02-22 2023-02-16 消息发送方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN114629864B (zh)
WO (1) WO2023160457A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955334A (zh) * 2014-04-02 2014-07-30 联想(北京)有限公司 一种信息处理方法及电子设备
US20160182434A1 (en) * 2014-12-19 2016-06-23 Facebook, Inc. Withdrawal of a message sent in a social networking system
CN105760104A (zh) * 2016-02-26 2016-07-13 深圳市金立通信设备有限公司 一种消息处理方法及终端
CN109309614A (zh) * 2018-11-30 2019-02-05 努比亚技术有限公司 一种消息修改方法、移动终端、服务器及存储介质
CN109558054A (zh) * 2018-11-30 2019-04-02 努比亚技术有限公司 一种移动终端的消息处理方法、移动终端及存储介质
CN110673770A (zh) * 2019-09-18 2020-01-10 维沃移动通信有限公司 消息展示方法及终端设备
CN111030918A (zh) * 2019-11-19 2020-04-17 维沃移动通信有限公司 一种消息处理方法、电子设备及服务器

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545236A (zh) * 2019-09-04 2019-12-06 网易(杭州)网络有限公司 即时通讯消息修改方法及装置、存储介质、电子设备
CN111669316B (zh) * 2020-06-19 2022-04-26 厦门亿联网络技术股份有限公司 即时消息处理方法、装置、设备、服务器及存储介质
CN111988391A (zh) * 2020-08-14 2020-11-24 网联清算有限公司 一种消息发送方法及装置
CN112003781B (zh) * 2020-08-26 2022-08-16 维沃移动通信(深圳)有限公司 聊天消息发送方法、装置及电子设备
CN112688861B (zh) * 2020-12-29 2023-02-24 上海掌门科技有限公司 一种在社交应用中发送会话信息的方法与设备
CN113141296B (zh) * 2021-03-26 2023-06-13 维沃移动通信有限公司 消息显示方法、装置及电子设备
CN113300938B (zh) * 2021-04-02 2023-02-24 维沃移动通信有限公司 消息发送方法、装置及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955334A (zh) * 2014-04-02 2014-07-30 联想(北京)有限公司 一种信息处理方法及电子设备
US20160182434A1 (en) * 2014-12-19 2016-06-23 Facebook, Inc. Withdrawal of a message sent in a social networking system
CN105760104A (zh) * 2016-02-26 2016-07-13 深圳市金立通信设备有限公司 一种消息处理方法及终端
CN109309614A (zh) * 2018-11-30 2019-02-05 努比亚技术有限公司 一种消息修改方法、移动终端、服务器及存储介质
CN109558054A (zh) * 2018-11-30 2019-04-02 努比亚技术有限公司 一种移动终端的消息处理方法、移动终端及存储介质
CN110673770A (zh) * 2019-09-18 2020-01-10 维沃移动通信有限公司 消息展示方法及终端设备
CN111030918A (zh) * 2019-11-19 2020-04-17 维沃移动通信有限公司 一种消息处理方法、电子设备及服务器

Also Published As

Publication number Publication date
CN114629864B (zh) 2024-04-16
CN114629864A (zh) 2022-06-14

Similar Documents

Publication Publication Date Title
CN113300938B (zh) 消息发送方法、装置及电子设备
WO2023040741A1 (zh) 消息处理方法、装置和电子设备
CN112748844B (zh) 消息处理方法、装置及电子设备
CN112306325B (zh) 交互控制方法和装置
CN111984115A (zh) 消息发送方法、装置和电子设备
WO2023131055A1 (zh) 消息发送方法、装置和电子设备
JP2024518775A (ja) メッセージ処理方法、第1メッセージ処理装置、第2メッセージ処理装置及び電子機器
CN113285866B (zh) 信息发送方法、装置和电子设备
WO2023040845A1 (zh) 消息发送方法、装置及电子设备
US20240031317A1 (en) Image Sharing Method and Electronic Device
US20230328018A1 (en) Sending method and apparatus, and electronic device
CN111787493A (zh) 消息发送方法、消息发送装置及电子设备
WO2022063045A1 (zh) 消息显示方法、装置及电子设备
CN113282424A (zh) 信息引用方法、装置和电子设备
US20240211118A1 (en) Content Editing Method and Electronic Device and Non-Transitory Readable Storage Medium
CN113325978B (zh) 消息显示方法、装置和电子设备
WO2024109731A1 (zh) 内容分享方法、装置、电子设备和可读存储介质
US20240089223A1 (en) Information display method and apparatus, and electronic device
WO2023165421A1 (zh) 聊天窗口信息输入方法、装置和电子设备
CN111857503A (zh) 显示方法、显示装置及电子设备
WO2023131290A1 (zh) 信息交互方法、装置、电子设备及介质
WO2023160457A1 (zh) 消息发送方法、装置和电子设备
WO2023071932A1 (zh) 消息发送方法和电子设备
CN113872849B (zh) 消息交互方法、装置及电子设备
CN112462987A (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: 23759082

Country of ref document: EP

Kind code of ref document: A1