CN113438148A - 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 PDFInfo
- Publication number
- CN113438148A CN113438148A CN202110703425.9A CN202110703425A CN113438148A CN 113438148 A CN113438148 A CN 113438148A CN 202110703425 A CN202110703425 A CN 202110703425A CN 113438148 A CN113438148 A CN 113438148A
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-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/18—Commands 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 combination 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 and certain difference is sent to a plurality of contact persons, then the message to be sent is edited, the message with similar contents and certain difference is sent to the plurality of contact persons simply, quickly and conveniently, and the message sending convenience is improved.
Description
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, 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, including:
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, 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 diagram illustrating an embodiment of a message splitting implemented by automatically partitioning statements;
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 by an embodiment of the present application.
Detailed Description
In order to explain the technical content, 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, 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 information to coworkers A, B, C, D, E, the first message is to participate in the cheering activities in tomorrow, then eat with the family, exercise every day, work every day, and be happy every day" and "say with coworkers C, take a bought in tomorrow", the contents of coworkers A, B, D, E are the same, but the contents of C are different, at this time, the first message can be split into submessages "a", "B", "C", "D", "E", and "tomorrow, take part in the cheering activities in tomorrow", then eat with the family, exercise every day, work every day, happy every day, and "take a bought in tomorrow", and the messages sent to a can be submessages "a" and "tomorrow to participate in the cheering activities in tomorrow, then, the user eats together with the family, builds up body every day, works every day, and is happy every day, the message sent to the C is a combination of sub-messages ' C ' and ' tomorrow ' to participate in cheering activities, then eats together with the family, builds up body every day, works every day, and is happy every day ' and ' gifts bought in tomorrow ';
in an optional implementation manner, after the first message is split, the sub-messages can be controlled to suspend in the chat interface in the form of controls so as to facilitate a user to directly combine and send the sub-messages when switching different contacts, that is, after the first message is split 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, and a message is split based on the message sent by the contact X and then sent to a contact A, B, C, D, E, so that each split sub-message suspends in the chat interface in the form of a control, when a message is sent to a, the chat interface is switched to the chat interface with a, the control corresponding to each split sub-message still suspends in the current chat interface, and when a message is 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 is switched to different contacts, 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 the splitting of the first message, in an optional embodiment, before the step S1, the method includes the steps of:
s0, receiving a message splitting mode entering request of the first message;
entering a message splitting mode in response to the message splitting mode entry request;
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 alternative embodiment, after step S4, the method may further include the steps of:
s5, receiving a message splitting mode exit request aiming at the first message;
exiting the message splitting mode in response to the message splitting mode exit request;
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, aggregating the plurality of sub-messages included in the aggregated input 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 certain 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 suspend in various forms, in the 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 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; the separation object is a word, a word or a character contained in the first message, the first message is split based on the separation object, for example, the first message is "notify A, B, C, D to participate in outdoor group building activities at 8 o 'clock tomorrow on time", and notify E, F7 o' clock 45 to be divided, and the arrangement of the place is performed ", then the separation objects can be set to be A, A, B, B, C, C, D, D, E, E, F, F, on time, activities, 7 and arrangement respectively, so that several sub-messages of" a "," B "," C "," D "," E "," F "," participating in outdoor group building activities at 8 o 'clock on time ", and" 7 o' clock 45 to be divided, and the arrangement of the place is performed "are formed;
namely, the separation object is a head word and a tail word or a first character and a tail character corresponding to each sub-message to be separated;
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 on the message to be split, at which time an input window pops up, the input window is bound with the double-clicked message and can be displayed above the double-clicked message, the user can input words at the beginning and words at the end of the sub-message which needs to be split into in the input window, for example, for the message "please send the following information to coworkers A, B, C, D, E, want to go to participate in the cheering activities in the tomorrow, then eating with the great family, building body every day, working every day, and being happy every day, when the user inputs 'tomorrow' and 'happy', then automatically generate the air bubble corresponding to the whole text beginning with tomorrow and ending with open heart, if the message to be split has a plurality of sentences meeting the input condition, all sub-messages meeting the condition appear on one side of the message for the user to select;
for another example, if a user inputs "tomorrow", "activity", "then", "eat", "everyday" and "happy", three bubbles will be formed, that is, "tomorrow should participate in cheering activities", "then eat with a family", "exercise everyday, work everyday, and happy everyday", and if a single character is to be split, two single characters are continuously input, the single character 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 represents 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 indicates that the input box represents the input boxes of multiple contacts, after binding, the avatar of the corresponding 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 aiming at different contacts in the mode, the bubbles in different combinations can be dragged into the input box to respectively form corresponding combined messages, and then the head portrait of the corresponding contact to be sent is dragged onto the corresponding combined message, so that the corresponding combined message is only sent to the contact corresponding to the head portrait on the corresponding combined message;
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 frame respectively comprises:
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 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;
if the operation object does not select the target object identifier associated with the tag sub-message, the message to be sent is directly sent to the terminal corresponding to the target object to be sent;
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, and a corresponding tag bubble is generated, 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 combination 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 frame.
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 so, judging whether the target object identifier to be sent of the message is associated with the tag sub-message, if so, replacing the tag sub-message with the name corresponding to the target object to be sent of the message and sending the replaced message to the terminal corresponding to the target object to be sent of the message according to the association;
and otherwise, sending the message to be sent to a terminal corresponding to a target object to be sent by 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, 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 present application realize the free splitting and combining of the messages to be sent by adding the splitting and combining operations of the messages to be sent, so that for the situation that the messages with similar contents but certain differences are sent to a plurality of contacts, the messages can be split first, then different contacts can be combined differently according to the split sub-messages and then sent to the corresponding contacts, the splitting of the messages can be freely realized in different ways, the split sub-messages can be suspended in the chat interface in various forms, such as bubbles, and the suspended priority is higher than the switching of the chat interface, and the setting can be higher than the switching of various applications, that is, in the process of the chat interface switching or the switching of different applications, the bubble message is always suspended on the display interface, can be conveniently dragged by a user to freely combine into a new message, and is applied to sending of different contacts, so that the situation that the message to be sent is copied once for each contact, then the message to be sent is edited, meanwhile, different operations can be carried out according to different sending contents during sending, if the same message after combination is sent, the group sending of the same combined message can be directly realized by binding a sending frame and the corresponding sending contact, the message with similar contents but certain difference can be simply, quickly and conveniently sent to a plurality of contacts, meanwhile, the situation of group sending of the same message can be compatible, and the convenience of message sending is improved.
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 mutual coupling or direct coupling or communication connection 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 should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above 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 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 accompanying drawings, which are directly or indirectly applied to the related technical fields, are included in the scope of the present application.
Claims (11)
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, N are integers, and N is more than or equal to M and more than or equal to 2.
2. The method for sending a message according to claim 1, wherein the splitting the message to be sent into N sub-messages further comprises: 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:
and combining the sub-messages corresponding to the M controls.
3. The method according to claim 1, wherein the receiving a first input for 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.
4. The method according to claim 1, wherein the receiving a first input for a first message 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.
5. The method according to claim 1, wherein the receiving a first input for a first message 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.
6. The method according to any of claims 1 to 5,
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.
7. The method according to any one of claims 1 to 5, wherein the 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;
and respectively sending the message to be sent to each terminal bound with the input frame.
8. The method according to claim 7, 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 frame 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.
9. 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 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, N are integers, and N is more than or equal to M and more than or equal to 2.
10. 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 8.
11. 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 8 when executing the computer program.
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 true CN113438148A (en) | 2021-09-24 |
CN113438148B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114051010A (en) * | 2021-11-09 | 2022-02-15 | 广州博冠信息科技有限公司 | Interaction control method and 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 (5)
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 |
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 |
CN112039679A (en) * | 2020-08-17 | 2020-12-04 | 上海掌门科技有限公司 | Method and device for processing group chat voice message, electronic equipment and medium |
-
2021
- 2021-06-24 CN CN202110703425.9A patent/CN113438148B/en active Active
Patent Citations (5)
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 |
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 |
CN112039679A (en) * | 2020-08-17 | 2020-12-04 | 上海掌门科技有限公司 | Method and device for processing group chat voice message, electronic equipment and medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114051010A (en) * | 2021-11-09 | 2022-02-15 | 广州博冠信息科技有限公司 | Interaction control method and device, computer storage medium and electronic equipment |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN113438148B (en) | 2022-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
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 | |
CN111162998A (en) | Session data processing method, device, equipment and medium | |
CN113282424B (en) | Information reference method and device and electronic equipment | |
CN114500432A (en) | Session message transceiving method and device, electronic equipment and readable storage medium | |
US20190325201A1 (en) | Automated emotion detection and keyboard service | |
CN113285866B (en) | Information sending method and device and electronic equipment | |
WO2023165423A1 (en) | Message processing method and apparatus | |
WO2022063045A1 (en) | Message display method and apparatus, and electronic device | |
WO2023131055A1 (en) | Message sending method and apparatus, and electronic device | |
WO2023125157A1 (en) | Message sending method and apparatus, and electronic device and medium | |
CN112911052A (en) | Information sharing method and device | |
CN114443203A (en) | Information display method and device, electronic equipment and readable storage medium | |
CN114064173A (en) | Method, device, medium and equipment for creating instant session page | |
WO2024041516A1 (en) | Message processing method and apparatus, electronic device, and readable storage medium | |
CN112637407A (en) | Voice input method and device and electronic equipment | |
US11941245B2 (en) | Information processing method, storage medium, and electronic device | |
CN111857463A (en) | New message reminding method and device, electronic equipment and medium | |
CN114928585B (en) | Message processing method, device, electronic equipment and readable storage medium | |
CN116301520A (en) | Session management method and device and electronic equipment | |
CN113852540B (en) | Information transmission method, information transmission device and electronic equipment | |
CN114051009B (en) | Message sending method and electronic equipment | |
CN114338572B (en) | Information processing method, related device and storage medium | |
CN112230817B (en) | Link page display method and device and electronic equipment |
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 |