CN113438148B - Message sending method, message sending device, computer readable storage medium and electronic equipment - Google Patents

Message sending method, message sending device, computer readable storage medium and electronic equipment Download PDF

Info

Publication number
CN113438148B
CN113438148B CN202110703425.9A CN202110703425A CN113438148B CN 113438148 B CN113438148 B CN 113438148B CN 202110703425 A CN202110703425 A CN 202110703425A CN 113438148 B CN113438148 B CN 113438148B
Authority
CN
China
Prior art keywords
message
sub
messages
input
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110703425.9A
Other languages
Chinese (zh)
Other versions
CN113438148A (en
Inventor
张瑛如
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110703425.9A priority Critical patent/CN113438148B/en
Publication of CN113438148A publication Critical patent/CN113438148A/en
Application granted granted Critical
Publication of CN113438148B publication Critical patent/CN113438148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

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

Abstract

The application discloses a message sending method, a message sending device, a computer readable storage medium and electronic equipment, which are used for receiving a splitting instruction aiming at a message to be sent; splitting the message to be sent into a plurality of sub-messages in response to the splitting instruction; receiving a combining instruction for the plurality of sub-messages; responding to the combination instruction, combining the corresponding sub-messages and sending the combined sub-messages to the corresponding terminals; the message to be sent is freely split and combined by additionally arranging the splitting and combining operations of the message to be sent, the message to be sent is prevented from being copied once for each contact person under the condition that the message with similar contents but certain difference is sent to a plurality of contact persons, then the message to be sent is edited, the message with similar contents but certain difference is simply, quickly and conveniently sent to the plurality of contact persons, and the convenience of message sending is improved.

Description

Message sending method, message sending device, computer readable storage medium and electronic equipment
Technical Field
The present application relates to the field of message sending, and in particular, to a message sending method, an apparatus, a computer-readable storage medium, and an electronic device.
Background
Today, with the increasing popularity of smart phones, social chat has become an important part of people's work and life. In the process of social chat, not only the messages can be forwarded or shared to other contacts, but also the chat contents which are similar in content but have certain differences can be forwarded to a plurality of contacts, and the chat contents need to be communicated with the plurality of contacts at the same time.
In the prior art, for forwarding chat contents with similar contents but a certain difference, the same content is usually required to be continuously copied to a chat frame of each contact to be sent, and then some contents in the chat frames are replaced, added or intercepted according to different contacts and then clicked for sending. Such operation steps are very cumbersome, and as the number of contacts to be sent increases, the complexity of the whole steps increases linearly.
Disclosure of Invention
An object of the embodiments of the present application is to provide a message sending method, an apparatus, a computer-readable storage medium, and an electronic device, which can solve the problem that an operation step is complicated when a message is sent.
In a first aspect, an embodiment of the present application provides a message sending method, where the method includes:
receiving a first input to a first message;
splitting the first message into N sub-messages in response to the first input;
receiving a second input to M of the N sub-messages;
responding to the second input, combining the M sub-messages and sending the combined M sub-messages to corresponding terminals;
wherein M and N are integers, and N is more than or equal to M and more than or equal to 2.
In a second aspect, an embodiment of the present application provides a message sending apparatus, where the apparatus includes:
a first receiving module for receiving a first input to a first message;
a splitting module for splitting the first message into N sub-messages in response to the first input;
a second receiving module, configured to receive a second input to M of the N sub-messages;
the combination module is used for responding to the second input, combining the M sub-messages and sending the combined sub-messages to the corresponding terminals;
wherein M and N are integers, and N is more than or equal to M and more than or equal to 2.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements each step in the above-mentioned message sending method.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps in the message sending method when executing the computer program.
The beneficial effect of this application lies in: the message to be sent is freely split and combined by additionally arranging the splitting and combining operations of the message to be sent, so that the message can be split firstly under the condition that the message with similar contents and certain difference is sent to a plurality of contacts, then different contacts are subjected to different combinations according to split sub-messages and then sent to corresponding contacts, the split sub-messages can be applied to sending of the plurality of contacts, the message to be sent is prevented from being copied once for each contact, then the message to be sent is edited, the operation steps are simplified, the message with similar contents and certain difference is sent to the plurality of contacts simply, quickly and conveniently, and the convenience of message sending is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a message sending method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 4 is a diagram illustrating an embodiment of entering a message splitting mode;
FIG. 5 is a schematic diagram illustrating a message splitting implemented by circling through a gesture according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a message suspended in a bubble form after being split according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a message splitting implemented by inputting beginning and end words according to an embodiment of the present application;
FIG. 8 is a schematic diagram illustrating an implementation of message splitting by automatically partitioning statements according to an embodiment of the present application;
FIG. 9 (a) is a diagram illustrating an exit chat interface displaying a bubble mode status according to an embodiment of the present application;
FIG. 9 (b) is a diagram illustrating dragging a contact avatar to an input box according to an embodiment of the present application;
FIG. 9 (c) is a schematic diagram illustrating the avatar hovering above the input box after dragging the avatar in accordance with an embodiment of the present application;
fig. 10 is a block diagram of another alternative electronic device provided in an embodiment of the present application.
Detailed Description
In order to explain the technical contents, the objects and the effects of the present application in detail, the following description is made with reference to the embodiments and the accompanying drawings.
The message sending method, the message sending device, the computer readable storage medium and the electronic equipment can be applied to various application scenes of social chat; the present invention can also be applied to application scenarios where re-editing and re-combining of messages is required, such as search, and the following is described by a specific embodiment:
referring to fig. 1, an embodiment of the present application provides a message sending method, where the message sending method includes:
s1, receiving a first input of a first message;
an operation object indicates that the first message is to be split through a first input, where the operation object may be a user or other objects capable of implementing operations, such as an intelligent robot or a terminal under manual control;
the first message may be a message edited by the user currently, or may be a message sent by other contacts to the user or sent by the user, or may be one message or multiple messages;
s2, responding to the first input, and splitting the first message into N sub-messages;
s3, receiving a second input of M sub-messages in the N sub-messages;
s4, responding to the second input, combining the M sub-messages and sending the combined sub-messages to corresponding terminals;
wherein M and N are integers, and N is more than or equal to M and more than or equal to 2;
as shown in fig. 4, when the first message is "please send the following messages to colleagues a, B, C, D, E, and want to participate in the cheering activity in the tomorrow, and then eat with the family, and want to build up a body every day, and want to work every day, and" please be happy with colleagues C, and say that the huts are bought in tomorrow ", the contents of colleagues a, B, D, and E are the same, and the content of C is different, at this time, the first message can be split into sub-messages" a "," B "," C "," D "," E "," tomorrow need to participate in the cheering activity in the tomorrow, and then eat with the family, and need to build up a body every day, and work every day, and both need to be happy every day, and "the huts are bought in the tomorrow", and the message sent to a can be sub-messages "a" and "tomorrow need to participate in the cheering activity in the tomorrow, and" all the hula activity in the day ", and the hula activity in the case of the family, and the hula activity all need to buy the hula in the combination, and the message to be sent to be combined, and then the sub-messages sent to the fourth message" C "the family" can be happy together, and the family can be sent to be happy, and the combined together, and the message of the hula activity of the hula in the family can be sent to be combined, and the hula in the day, and the hula activity of the hula in the family can be combined message of the hula in the family can be combined, and the hula in the day, and the family can be combined with the hula;
in an optional embodiment, after splitting the first message, the sub-messages may be controlled to suspend in the chat interface in the form of controls so that the user can directly combine and send the sub-messages when switching different contacts, that is, after splitting the first message into N sub-messages, N controls are displayed on the chat interface, each control is used for indicating one sub-message, and the N controls are in one-to-one correspondence with the N sub-messages;
correspondingly, the second input is an input to M of the N controls, and the combining the M sub-messages includes:
combining the sub-messages corresponding to the M controls;
determining which sub-messages selected by the operation object to combine according to the selection of the suspended control by the operation object;
when the chat interfaces are switched, the controls corresponding to the sub-messages are always suspended on the current display interface, wherein the switching can be different chat interfaces under the same application or different chat interfaces under different applications;
for example, as shown in fig. 4, a current chat interface is in conversation with a contact X, a message is split based on the message sent by the contact X and then sent to contacts a, B, C, D, and E, each split sub-message is suspended on the chat interface in the form of a control, when the message is to be sent to a, the chat interface is switched to the chat interface with a, the control corresponding to each split sub-message is suspended on the current chat interface, and when the message is to be sent to a, the control corresponding to the sub-message to be combined is directly selected from the chat interface and then sent to a;
by controlling each split sub-message to suspend in the chat interface in a control form, and when the chat interface is switched, each sub-message always suspends in the current display interface, the method is convenient for each sub-message to suspend in the chat interface when the chat interface of different contacts is switched, and the combination of each sub-message can be conveniently sent to the corresponding contact;
in another optional implementation, after the messages are split, each sub-message may be stored in the background, and a control for triggering the display of the sub-message is presented on the display interface, and when the user wants to combine the sub-messages, the control on the display interface is triggered, so that each sub-message is displayed on the display interface to facilitate the user to combine the sub-messages;
in order to facilitate control over splitting of the first message, in an optional embodiment, before step S1, the method includes:
s0, receiving a message splitting mode entering request of a first message;
responding to the message splitting mode entering request, and entering a message splitting mode;
in order to implement entering the message splitting mode, the operation object may perform a long-time pressing operation on the first message, that is, as shown in fig. 4, when it is recognized that the operation object presses the first message for a long time, that is, when the time for the operation object to select the message to be operated is greater than a preset time, for example, 2 seconds, a message splitting mode selection control pops up on the display interface;
when the operation object is identified to select the message splitting mode selection control, entering a message splitting mode;
after entering the message splitting mode, the user can freely split the message to be sent, and as long as entering the message splitting mode, the message obtained from other ways can also be split, for example, a content K in conversation with a contact person X is split currently, if the message to be sent needs to send a content L in conversation with a contact person Y in addition to the sending K, the content L can also be split after being called out;
in another optional embodiment, after step S4, the method may further include the step of:
s5, receiving a message splitting mode exit request aiming at the first message;
responding to the message splitting mode exit request, and exiting the message splitting mode;
specifically, a user can click to exit the message splitting mode by long-pressing a message to be sent, and at the moment, when the user is identified to click to exit the message splitting mode, the user can exit the message splitting mode, and all sub-messages suspended on a display interface can be emptied;
in an optional implementation manner, the user may also press the control corresponding to a certain sub-message for a long time to make the specific certain sub-message disappear, that is, when it is recognized that the control corresponding to the certain sub-message is pressed for a long time, the control corresponding to the sub-message is controlled to disappear on the display interface;
the message splitting mode can be entered and exited by receiving the message splitting mode entering request and the message splitting mode exiting request, so that the flexibility of eliminating the splitting mode is improved, whether the message to be sent is split or not can be conveniently realized according to the requirement, and the flexibility is high;
in another optional embodiment, the user may aggregate the plurality of sub-messages to form a new sub-message, that is, when receiving the aggregated input, aggregate the plurality of included sub-messages to form a new sub-message according to the plurality of sub-messages included in the aggregated input;
or the user can further split a sub-message and form a plurality of sub-messages based on the sub-message.
In order to implement the splitting of the first message, various implementation manners can be flexibly used: the first implementation mode comprises the following steps:
acquiring an input track of a first message, and determining a corresponding splitting mode according to the input track;
splitting the first message into N sub-messages according to the splitting mode;
as shown in fig. 5, the user may perform gesture circling on the first message directly in the chat interface, and directly circle out the repeated content that needs to be sent: "the part that should attend to cheering activities in tomorrow, then eat with big family together, need body-building every day, need work every day, all happy every day" and have the difference: after recognizing the gesture of the user, determining a splitting mode corresponding to the gesture to respectively use the circled sub-contents as sub-messages, correspondingly generating a plurality of sub-messages, and controlling each sub-message to suspend in a chat interface, wherein the sub-messages can be suspended in various forms, in this embodiment, the sub-messages are controlled to suspend in the chat interface in the form of bubbles, as shown in fig. 6;
the generated bubbles can be arbitrarily dragged on a screen, the size of the displayed bubbles can be changed through the zooming operation of gestures, if the characters are excessive, the minimum size can be reduced to the size of the bubbles with only the first two characters and ellipses, and a user can also set the shape of the bubbles;
when the messages are combined, a user only needs to drag the bubbles into the dialog box, so that the method is convenient and quick;
according to the implementation mode, the operation object can directly perform gesture operation on the first message on the chat interface, the first message is directly segmented, the corresponding segmentation operation track can be identified, and the corresponding splitting mode is determined based on the operation track, so that the splitting of the message to be sent is realized, the splitting of the message to be sent can be realized directly based on the gesture, and the implementation mode is convenient and fast.
The second implementation mode comprises the following steps:
receiving a preset operation of an operation object on a first message;
the preset operation can be double-click, long-time pressing, single-click and the like;
responding to the preset operation, and displaying a preset window;
receiving a separation object input by the operation object in the preset window, wherein the separation object is determined according to the first message;
splitting the message to be sent into N corresponding sub-messages according to the separation object; <xnotran> , , , , " A, B, C, D 8 , E, F7 45 , ", A, A, B, B, C, C, D, D, E, E, F, F, , , 7, , "A", "B", "C", "D", "E", "F", " 8 " "7 45 , " ; </xnotran>
Namely, the separation object is a first word and a last word or a first character and a last character corresponding to each sub-message to be split;
for a single word or character to be split, two repeated words or characters can be input in succession to represent;
as shown in fig. 7, after entering the message splitting mode, the user may double-click the message to be split, and at this time, an input window may pop up, where the input window is bound to the double-clicked message and may be displayed above the double-clicked message, and the user may input the beginning words and the ending words of the sub-message to be split in the input window, for example, for the message "please send the following information to colleagues a, B, C, D, and E, want to participate in cheering activities in tomorrow, then eat with the family, need to build up body every day, work every day, and be happy every day, when the user inputs" tomorrow "and" Happy ", the bubble corresponding to the whole segment of text beginning with" tomorrow "and ending with" tomorrow "is automatically generated, and if there are multiple segments of sentences meeting the input conditions in the message to be split, all the sub-messages meeting the conditions may emerge on one side of the message for the user to select;
if the user inputs "tomorrow", "activity", "then", "eat", "everyday" and "happy", three bubbles will be formed, that is, "tomorrow should attend cheering activities", "then eat with the family", "keep fit each day", "work each day, happy each day", if a single word is to be split, two single words are continuously input, the single word will form a small bubble, for example, two a are continuously input, a will form a small bubble;
the operation object inputs the separation object corresponding to the sub-message to be separated in the popped preset window, and the first message can be separated into a plurality of corresponding sub-messages according to the separation object, so that the message can be conveniently and quickly separated.
The third implementation mode comprises the following steps:
carrying out sentence division on the first message according to a preset rule, and displaying the divided sentences;
receiving a third input of an operation object to the divided sentences, and determining the sentences selected by the operation object;
the preset rule refers to a division method adopted when sentence division is performed, for example, the first message may be divided by punctuation marks in the first message, or specific words, characters, or characters, for example, the first message is "exercise every day, work every day, and be happy every day", and if the preset rule is based on punctuation mark division, the preset rule may be divided into three sentences: "exercise daily", "work daily", and "happy daily"; if the sentence is divided based on a specific word, such as "daily", three sentences can be obtained: "exercise daily", "work daily", and "happy daily";
receiving a selection instruction of an operation object to the divided sentences, and determining the sentences selected by the operation object;
generating N corresponding sub-messages according to the statements selected by the operation objects;
each selected statement forms a corresponding sub-message, and the sub-message is suspended on a chat interface in a control form;
as shown in fig. 8, after entering the message splitting mode, sentence division may be automatically performed according to commas or periods, after the sentence division is completed, a preselected column is displayed on one side of the display screen, each divided sentence is listed in the preselected column, and if a user double-clicks the selected sentence, a bubble is automatically generated by the corresponding sentence and suspended on the display interface; if a user clicks the check boxes before the sentences, then clicks any one of the checked sentences, all the checked sentences can be dragged in batch, when the selected sentences are dragged out of the area of the pre-selection bar, the checked sentences automatically generate a bubble according to the check sequence, and the user can exit the pre-selection bar after clicking to exit;
the message to be sent is automatically divided into sentences according to the preset rule and the divided sentences are displayed, the operation object only needs to select the divided sentences, and the corresponding sub-messages are generated based on the sentences selected by the operation object, so that the message is conveniently and quickly split.
In order to realize the combination of the messages, various implementation modes can be flexibly adopted:
the first implementation mode comprises the following steps:
based on the second input, acquiring the sequence of the operation object for selecting the M sub-messages;
combining the M sub-messages selected by the operation object according to the sequence of the M sub-messages selected by the operation object;
in actual operation, after entering the chat interface of the corresponding contact to send the message, the user can directly drag the sub-message suspended on the chat interface into the chat frame to be combined into a sentence to be sent, as shown in fig. 6, the sentence is sent to the content of the colleague B, the content of the dragged bubble is ' B ' and ' tomorrow needs to participate in cheering activities after entering the chat interface with the chat frame B, and then the sentence is eaten together with the family, and the person needs to build body every day, works every day, and is happy every day, so that the combined message is formed, if a new character needs to be input again, the new character bubble can be generated and then dragged, or the content can be directly adjusted based on the combined message after the combined message is generated;
if the information needs to be sent to a colleague C, the information can be sequentially dragged to form a C and a C, the C and the C need to participate in cheering activities in tomorrow, then the information can be eaten together with the family, the body needs to be built every day, the information needs to be worked every day, the information is happy every day, and three bubbles of a gift needs to be bought in tomorrow are sent to a chat frame of a chat interface with the C;
the method can more freely customize the bubble message and then carry out combined transmission aiming at the conditions that the transmission content has larger difference and the number of required transmitters is small;
the second implementation mode comprises the following steps:
splitting the first message into N sub-messages further comprises:
displaying an input box;
the receiving a second input to M of the N sub-messages comprises:
receiving a fourth input for moving a target object identifier to the input box and a fifth input for moving M sub-messages of the N sub-messages to the input box, wherein the target object identifier is used for indicating a terminal corresponding to a target object;
the combining and sending the M sub-messages to the corresponding terminals in response to the second input includes:
binding the input box with the target object identifier according to the fourth input;
based on the fifth input, acquiring the moving sequence of the M sub-messages;
combining the M sub-messages according to the moving sequence of the M sub-messages to generate a message to be sent;
respectively sending the message to be sent to each terminal bound with the input frame;
as shown in fig. 9 (a), after the sub-message is generated, after exiting from the current chat interface, a bubble mode state may be displayed on the current display interface, that is, an input box may be displayed at the bottom of the current display interface, as shown in fig. 9 (b), the user may drag the avatar on the right side into the input box to bind the avatar with the input box, each avatar representing each contact, wherein multiple contacts may be dragged or the entire group of avatars may be dragged into the input box to bind, after binding, it is indicated that the input box represents the input boxes of multiple contacts, after binding, the avatar corresponding to the bound contact may be suspended on the input box, as shown in fig. 9 (c);
the method is suitable for the condition that the same message is sent to a plurality of contacts in a group mode, the sent message can be directly dragged to the input box bound with each contact to be sent without entering the chat interface of each person in sequence, and therefore the combined message can be automatically sent to each contact at the same time;
by dragging the sub-messages to be combined and the target object identifications to be sent to the input frame, the combined messages can be respectively sent to the terminals corresponding to the target object identifications to be sent dragged to the input frame, and the group sending of the same content is conveniently realized.
If different messages are sent for different contacts in the mode, the bubbles in different combinations can be dragged to the input box to respectively form corresponding combined messages, and then the head portraits of the corresponding contacts to be sent are dragged to the corresponding combined messages, so that the corresponding combined messages are only sent to the contacts corresponding to the head portraits;
in an optional embodiment, on the basis of the second implementation manner, after exiting the current chat interface, the method further includes:
displaying a label control;
after the input box and the target object identifier are bound, the method further comprises the following steps:
receiving a sixth input to the label control;
responding to the sixth input, displaying a label sub-message corresponding to the label control, and establishing association between the label sub-message and a target object identifier selected by an operation object;
the method comprises the steps that all target object identifications bound with an input frame can be associated with tag sub-messages, and only part of all the bound target object identifications can be selected to be associated with the tag sub-messages according to selection of an operation object, for example, the operation object can trigger a tag control to generate the tag sub-messages and then select the target object identifications to be associated with the tag sub-messages, so that the target object identifications associated with the tag sub-messages can be freely and flexibly determined;
after the tag sub-messages are generated, when the messages are combined, the tag sub-messages and other sub-messages are moved into an input box by an operation object according to the sequence to combine the messages;
the sending the message to be sent to each terminal bound with the input box respectively comprises:
under the condition that the tag sub-message exists in the message to be sent and the association between the target object identifier of the message to be sent and the tag sub-message is established, replacing the tag sub-message with a name corresponding to the target object of the message to be sent according to the association, and sending the replaced message to a terminal corresponding to the target object of the message to be sent;
if the operation object does not select the target object identifier associated with the tag sub-message, directly sending the message to be sent to a terminal corresponding to the target object to be sent of the message;
namely, by adding a tag bubble, names of all contacts bound to the current input box or names of part of contacts bound to the current input box can be extracted to generate a corresponding tag bubble, as shown in the boxes in fig. 9 (b) (c);
dragging the bubble into the input box to combine and generate the required content, automatically sending the combined message to all people bound at present after clicking, automatically replacing the message of the contact person associated with the bubble with the name of the corresponding contact person when the tag bubble is sent, wherein the tag bubble is a special bubble, and automatically reading the name of the contact person in the database associated with the tag bubble when the message is sent, and displaying the read actual name in the message;
by newly building the label control, the label control can be associated with each target object identifier to be sent, when the message is subjected to group sending, if the label sub-message corresponding to the label control exists in the message and is associated with the target object identifier to be sent, the label sub-message can be automatically replaced by the name corresponding to the target object to be sent, so that the contact name can be automatically replaced in the corresponding message on the basis of the object to be sent in a self-adaptive manner when the message is subjected to group sending, and the method has the advantages of high flexibility and strong applicability.
Referring to fig. 2, another embodiment of the present application provides a message sending apparatus, including:
the first receiving module is used for receiving a splitting instruction aiming at a message to be sent;
a splitting module, configured to split the message to be sent into multiple sub-messages in response to the splitting instruction;
a second receiving module, configured to receive a combining instruction for the plurality of sub-messages;
the combination module is used for responding to the combination instruction, combining the corresponding sub-messages and sending the combined sub-messages to the corresponding terminals;
wherein the splitting module is further configured to:
displaying N controls, each control for indicating a sub-message;
the second input received by the second receiving module is input to M controls in the N controls;
the combination module is used for combining the sub-messages corresponding to the M controls;
in an optional embodiment, the first receiving module is configured to obtain an input track of a first message, and determine a corresponding splitting manner according to the input track;
the second splitting module is used for splitting the first message into N sub-messages according to the splitting mode.
In another optional embodiment, the first receiving module is configured to:
receiving a preset operation of an operation object on a first message;
responding to the preset operation, and popping up a preset window;
receiving a separation object which is input by the operation object in the preset window and is determined according to the first message;
the splitting module is used for splitting the message to be sent into N corresponding sub-messages according to the separation object.
In another optional embodiment, the first receiving module is configured to:
carrying out sentence division on the first message according to a preset rule, and displaying the divided sentences;
receiving a third input of an operation object to the divided sentences, and determining the sentences selected by the operation object;
the splitting module is used for generating corresponding N sub-messages according to the statements selected by the operation objects.
In an optional embodiment, the second receiving module is configured to:
receiving M sub-messages selected by an operation object from the N sub-messages and selecting the sequence of the M sub-messages;
the combination module is used for combining the M sub-messages selected by the operation object according to the sequence of the M sub-messages selected by the operation object.
In another optional embodiment, the splitting module is further configured to display an input box;
the second receiving module is configured to:
receiving a fourth input for moving a target object identifier to the input box and a fifth input for moving M sub-messages of the N sub-messages to the input box, wherein the target object identifier is used for indicating a terminal corresponding to a target object;
the combination module is used for:
binding the input box with the target object identifier according to the fourth input;
combining the M sub-messages according to the input sequence of the M sub-messages by the fifth input to generate a message to be sent;
and respectively sending the message to be sent to each terminal bound with the input box.
In another optional embodiment, the splitting module is further configured to display a label control;
the second receiving module is further configured to receive a sixth input to the label control after the input box is bound to the target object identifier;
the combination module is further configured to:
responding to the sixth input, displaying a label sub-message corresponding to the label control, and establishing association between the label sub-message and a target object identifier selected by an operation object;
the sending the message to be sent to each terminal bound with the input frame respectively comprises:
judging whether the label sub-message exists in the message to be sent;
if yes, judging whether the mark of the target object to be sent of the message is associated with the label sub-message, if yes, replacing the label sub-message with a name corresponding to the target object to be sent of the message according to the association, and sending the replaced message to a terminal corresponding to the target object to be sent of the message;
and otherwise, sending the message to be sent to a terminal corresponding to a target object to be sent of the message.
Another embodiment of the present application provides a computer-readable storage medium, where a program or an instruction is stored on the computer-readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process in the foregoing message sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on. The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Referring to fig. 3, another embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the message sending method when executing the computer program.
Fig. 10 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 is 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, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here. Optionally, a user input unit 1007 for receiving a first input for the first message; a processor 1010 configured to split the first message into N sub-messages in response to the first input; a user input unit 1007 for receiving a second input for M of the N sub-messages; a processor 1010, configured to, in response to the second input, combine the M sub-messages and send the combined sub-messages to corresponding terminals;
wherein M and N are integers, and N is more than or equal to M and more than or equal to 2.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 1061, and the display panel 1061 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 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may 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 that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
To sum up, the message sending method, the message sending device, the computer readable storage medium and the electronic device provided by the application realize free splitting and combining of messages to be sent by additionally arranging operations of splitting and combining messages to be sent, so that for the condition that messages with similar contents but certain differences are sent to a plurality of contacts, the messages can be split firstly, then different contacts are subjected to different combinations according to split sub-messages and then sent to corresponding contacts, the splitting of the messages can be freely realized in different modes, the split sub-messages can be suspended in a chat interface in various forms, such as bubbles, the suspension priority is higher than the switching of the chat interface, the setting can be higher than the switching of various applications, namely in the process of switching the chat interface or switching different applications, the bubble messages are always suspended on a display interface, the messages can be conveniently dragged by a user to be freely combined into new messages and applied to the sending of different contacts, the situation that messages to be sent to be copied for each contact, then the messages to be sent for one time are edited, the messages to be simultaneously, the messages to be sent in a group can be conveniently and the messages sent by combining the same content, and the messages can be conveniently and the messages sent by combining the same, if the messages are not easily and the messages.
In the above embodiments provided in the present application, it should be understood that the disclosed method, apparatus, computer-readable storage medium, and electronic device may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of components or modules may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be an indirect coupling or communication connection through some interfaces, devices or components or modules, and may be in an electrical, mechanical or other form.
The components described as separate parts may or may not be physically separate, and parts displayed as components may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the components can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each component may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will appreciate that the embodiments described in this specification are presently considered to be preferred embodiments and that acts and modules are not required in the present application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
The above description is only an example of the present application, and is not intended to limit the scope of the present application, and all equivalent modifications made by the present application and the contents of the accompanying drawings, which are directly or indirectly applied to the related technical fields, are all included in the scope of the present application.

Claims (9)

1. A method for sending a message, comprising:
receiving a first input to a first message;
splitting the first message into N sub-messages in response to the first input;
receiving a second input to M of the N sub-messages;
responding to the second input, combining the M sub-messages and sending the combined M sub-messages to corresponding terminals;
wherein M and N are integers, and N is more than or equal to M and more than or equal to 2;
splitting a message to be sent into N sub-messages, and then: displaying N controls, each control for indicating a sub-message;
the second input is input to M of the N controls;
the combining the M sub-messages comprises:
combining the sub-messages corresponding to the M controls;
the receiving a first input to a first message comprises:
acquiring an input track of a first message, and determining a corresponding splitting mode according to the input track;
the splitting the first message into N sub-messages in response to the first input comprises:
and splitting the first message into N sub-messages according to the splitting mode.
2. The method of claim 1, wherein receiving the first input for the first message further comprises:
receiving a preset operation of an operation object on a first message;
responding to the preset operation, and displaying a preset window;
receiving a separation object input by the operation object in the preset window, wherein the separation object is determined according to the first message;
the splitting the first message into N sub-messages in response to the first input comprises:
and splitting the message to be sent into corresponding N sub-messages according to the separation object.
3. The method of claim 1, wherein receiving the first input for the first message further comprises:
carrying out sentence division on the first message according to a preset rule, and displaying the divided sentences;
receiving a third input of an operation object to the divided sentences, and determining the sentences selected by the operation object;
the splitting the first message into N sub-messages in response to the first input comprises:
and generating corresponding N sub-messages according to the statement selected by the operation object.
4. A method for sending messages according to any one of claims 2 to 3,
said combining the M sub-messages in response to the second input comprises:
acquiring the sequence of selecting the M sub-messages based on the second input;
and combining the M sub-messages selected by the operation object according to the sequence of selecting the M sub-messages.
5. The method according to any one of claims 1 to 3, wherein the splitting the first message into N sub-messages further comprises:
displaying an input frame;
the receiving a second input to M of the N sub-messages comprises:
receiving a fourth input for moving a target object identifier to the input box and a fifth input for moving M sub-messages of the N sub-messages to the input box, wherein the target object identifier is used for indicating a terminal corresponding to a target object;
the combining and sending the M sub-messages to the corresponding terminals in response to the second input includes:
binding the input box with the target object identifier according to the fourth input;
based on the fifth input, acquiring the moving sequence of the M sub-messages;
combining the M sub-messages according to the moving sequence of the M sub-messages to generate a message to be sent;
and respectively sending the message to be sent to each terminal bound with the input frame.
6. The method according to claim 5, further comprising:
displaying a label control;
after the input box and the target object identifier are bound, the method further comprises the following steps:
receiving a sixth input to the label control;
responding to the sixth input, displaying a label sub-message corresponding to the label control, and establishing association between the label sub-message and a target object identifier selected by an operation object;
the sending the message to be sent to each terminal bound with the input box respectively comprises:
and under the condition that the tag sub-message exists in the message to be sent and the association is established between the target object identifier to be sent of the message and the tag sub-message, replacing the tag sub-message with the name corresponding to the target object to be sent of the message according to the association, and sending the replaced message to the terminal corresponding to the target object to be sent of the message.
7. A message transmission apparatus, comprising:
a first receiving module for receiving a first input to a first message;
a splitting module for splitting the first message into N sub-messages in response to the first input;
a second receiving module, configured to receive a second input for M of the N sub-messages;
the combination module is used for responding to the second input, combining the M sub-messages and sending the combined sub-messages to corresponding terminals; wherein M and N are integers, and N is more than or equal to M and more than or equal to 2;
wherein the splitting module is further configured to:
displaying N controls, each control for indicating a sub-message;
the second input received by the second receiving module is input to M controls in the N controls;
the combination module is used for combining the sub-messages corresponding to the M controls;
the first receiving module is used for acquiring an input track of a first message and determining a corresponding splitting mode according to the input track;
the splitting module is used for splitting the first message into N sub-messages according to the splitting mode.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the individual steps of the method for sending a message according to any one of claims 1 to 6.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the message sending method according to any one of claims 1 to 6 when executing the computer program.
CN202110703425.9A 2021-06-24 2021-06-24 Message sending method, message sending device, computer readable storage medium and electronic equipment Active CN113438148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110703425.9A CN113438148B (en) 2021-06-24 2021-06-24 Message sending method, message sending device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110703425.9A CN113438148B (en) 2021-06-24 2021-06-24 Message sending method, message sending device, computer readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113438148A CN113438148A (en) 2021-09-24
CN113438148B true CN113438148B (en) 2022-11-25

Family

ID=77753812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110703425.9A Active CN113438148B (en) 2021-06-24 2021-06-24 Message sending method, message sending device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113438148B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051010B (en) * 2021-11-09 2023-07-14 广州博冠信息科技有限公司 Interactive control method, device, computer storage medium and electronic equipment
CN115424603A (en) * 2022-08-30 2022-12-02 维沃移动通信有限公司 Voice generation method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767669A (en) * 2014-01-07 2015-07-08 腾讯科技(深圳)有限公司 Message sending and message displaying method and device
CN105677494A (en) * 2016-02-01 2016-06-15 北京京东尚科信息技术有限公司 Message distribution method and device
CN106375182A (en) * 2016-08-22 2017-02-01 腾讯科技(深圳)有限公司 Voice communication method and device based on instant messaging application
CN112039679A (en) * 2020-08-17 2020-12-04 上海掌门科技有限公司 Method and device for processing group chat voice message, electronic equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180351895A1 (en) * 2018-07-11 2018-12-06 Yogesh Rathod In the event of selection of message, invoking camera to enabling to capture media and relating, attaching, integrating, overlay message with/on/in captured media and send to message sender

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767669A (en) * 2014-01-07 2015-07-08 腾讯科技(深圳)有限公司 Message sending and message displaying method and device
CN105677494A (en) * 2016-02-01 2016-06-15 北京京东尚科信息技术有限公司 Message distribution method and device
CN106375182A (en) * 2016-08-22 2017-02-01 腾讯科技(深圳)有限公司 Voice communication method and device based on instant messaging application
CN112039679A (en) * 2020-08-17 2020-12-04 上海掌门科技有限公司 Method and device for processing group chat voice message, electronic equipment and medium

Also Published As

Publication number Publication date
CN113438148A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN113300938B (en) Message sending method and device and electronic equipment
CN113438148B (en) Message sending method, message sending device, computer readable storage medium and electronic equipment
CN111984115A (en) Message sending method and device and electronic equipment
WO2022156668A1 (en) Information processing method and electronic device
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN113282424B (en) Information reference method and device and electronic equipment
CN113285866B (en) Information sending method and device and electronic equipment
CN112866092B (en) Group chat creation method and group chat creation device
WO2022063045A1 (en) Message display method and apparatus, and electronic device
WO2023131055A1 (en) Message sending method and apparatus, and electronic device
CN111857504A (en) Information display method and device, electronic equipment and storage medium
WO2023125157A1 (en) Message sending method and apparatus, and electronic device and medium
CN114374663A (en) Message processing method and message processing device
CN114443203A (en) Information display method and device, electronic equipment and readable storage medium
CN112637407A (en) Voice input method and device and electronic equipment
WO2023071932A1 (en) Message sending method and electronic device
CN111857463A (en) New message reminding method and device, electronic equipment and medium
CN116301520A (en) Session management method and device and electronic equipment
CN113852540B (en) Information transmission method, information transmission device and electronic equipment
CN113141296B (en) Message display method and device and electronic equipment
CN111831203B (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN112230817B (en) Link page display method and device and electronic equipment
CN113872849A (en) Message interaction method and device and electronic equipment
CN113824627A (en) Group chat message display method and device, electronic equipment and storage medium
CN112035032B (en) Expression adding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant