CN111142759B - Information sending method and electronic equipment - Google Patents

Information sending method and electronic equipment Download PDF

Info

Publication number
CN111142759B
CN111142759B CN201911355802.3A CN201911355802A CN111142759B CN 111142759 B CN111142759 B CN 111142759B CN 201911355802 A CN201911355802 A CN 201911355802A CN 111142759 B CN111142759 B CN 111142759B
Authority
CN
China
Prior art keywords
information
editing content
display area
input
editing
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
CN201911355802.3A
Other languages
Chinese (zh)
Other versions
CN111142759A (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 CN201911355802.3A priority Critical patent/CN111142759B/en
Publication of CN111142759A publication Critical patent/CN111142759A/en
Application granted granted Critical
Publication of CN111142759B publication Critical patent/CN111142759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for sending information and electronic equipment, wherein the method comprises the following steps: receiving first editing content input in an information editing frame of a target chat interface, wherein the first editing content is used for replying first information displayed in the target chat interface; under the condition that the electronic equipment receives second information and first input, storing first editing content and emptying an information editing frame, wherein the second information is displayed on a target chat interface; and under the condition that the reply to the second information is completed and the second input aiming at the first editing content is received, the first editing content is sent in the target chat interface. The information sending method provided by the invention can reduce the operation of the user in the chat process, so that the operation of the user is convenient and time-saving, and the chat efficiency is further improved.

Description

Information sending method and electronic equipment
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method for sending information and an electronic device.
Background
With the rapid development of wireless communication technology, electronic devices such as mobile phones and tablet computers are becoming more and more popular and become an indispensable part of people's daily life. The electronic equipment can realize real-time chatting with users of other electronic equipment by installing the instant messaging application program, and the convenience and the experience effect of people in communication are improved. However, in the current process of using the electronic device by the user for chatting, the currently edited reply content may be interrupted and other contents may be preferentially replied, so that the operation of the user in the chatting process becomes cumbersome and time-consuming, and further the chatting efficiency is reduced.
Therefore, the problem of low chat efficiency exists in the chat process of the current electronic equipment.
Disclosure of Invention
The embodiment of the invention provides a method for sending information and electronic equipment, which can solve the problem of low chat efficiency of the conventional electronic equipment in the chat process.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for sending information, including:
receiving first editing content input in an information editing frame of a target chat interface, wherein the first editing content is used for replying first information displayed in the target chat interface;
under the condition that the electronic equipment receives second information and first input, storing the first editing content and emptying the information editing frame, wherein the second information is displayed on the target chat interface;
and under the condition that the reply to the second information is completed and a second input aiming at the first editing content is received, sending the first editing content on the target chat interface.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the system comprises a first input module, a first display module and a second input module, wherein the first input module is used for receiving first editing content input in an information editing box of a target chat interface, and the first editing content is used for replying first information displayed in the target chat interface;
the storage module is used for storing the first editing content and emptying the information editing frame under the condition that the electronic equipment receives second information and first input, wherein the second information is displayed on the target chat interface;
and the sending module is used for sending the first editing content in the target chat interface under the conditions that the reply to the second information is completed and a second input aiming at the first editing content is received.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the information sending method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the above-mentioned information sending method.
In the embodiment of the invention, first editing content input in an information editing box of a target chat interface is received, wherein the first editing content is used for replying first information displayed in the target chat interface; under the condition that the electronic equipment receives second information and first input, storing first editing content and emptying an information editing frame, wherein the second information is displayed on a target chat interface; under the condition that the second information is replied and the second input aiming at the first editing content is received, the first editing content is sent at the target chat interface, so that the operation of the user in the chat process can be reduced, the operation of the user is convenient and fast, time is saved, and the chat efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart of a method for sending information according to an embodiment of the present invention;
fig. 2 is one of schematic diagrams of a group chat interface provided by an embodiment of the present invention;
fig. 3 is a second schematic diagram of a group chat interface provided by the embodiment of the invention;
fig. 4 is a third schematic diagram of a group chat interface provided by the embodiment of the present invention;
fig. 5 is a fourth schematic diagram of a group chat interface provided by the embodiment of the present invention;
fig. 6 is a fifth schematic view of a group chat interface provided by an embodiment of the present invention;
fig. 7 is a sixth schematic view of a group chat interface provided by an embodiment of the present invention;
fig. 8 is a seventh schematic diagram of a group chat interface provided in the embodiment of the present invention;
FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of a memory module according to an embodiment of the present invention;
FIG. 11 is a second schematic structural diagram of a memory module according to an embodiment of the invention;
fig. 12 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flow chart of a method for sending information according to an embodiment of the present invention is shown, where the method is applied to an electronic device, and as shown in fig. 1, the method for sending information includes the following steps:
step 101, receiving first editing content input in an information editing box of a target chat interface, wherein the first editing content is used for replying first information displayed in the target chat interface;
102, when the electronic device receives second information and first input, storing the first editing content and emptying the information editing frame, wherein the second information is displayed on the target chat interface;
and 103, sending the first editing content on the target chat interface under the conditions that the reply to the second information is completed and a second input aiming at the first editing content is received.
Here, in the process that the electronic device edits the first editing content for replying the first information in the target chat interface, the first editing content can be stored when the second information needing to be replied preferentially is received and the first input is received, the stored first editing content can be called and sent when the reply to the second information is completed and the second input is received, all the processes are completed in the target chat interface, the user does not need to switch the interface and delete and re-edit the editing content, the operations of the user in the chat process can be reduced, the operation of the user is convenient and time-saving, and the chat efficiency is further improved.
In step 101, when the electronic device receives the first information sent by the other electronic device and displays the first information on the target chat interface, if the user inputs the first editing content for replying to the first information in the information editing box in the target chat interface, the electronic device may receive the first editing content.
The target chat interface may be a chat interface for a user to chat with another user, that is, the chat interface may display information sent by the electronic device and information sent by another electronic device. For example, the electronic device is an electronic device a, and the information sent by the electronic device a and the information sent by the electronic device B are displayed in the target chat interface.
Alternatively, the target chat interface may be a chat interface for a user to chat with a plurality of other users, that is, the target chat interface is a group chat interface, and information of at least three electronic devices including the electronic devices is displayed in the chat interface. For example, the target chat interface may display information of tens or hundreds of electronic devices including the electronic device a.
The first information may include one or more pieces of information, and when the first information includes a plurality of pieces of information, if the target chat interface is a group chat interface, the plurality of pieces of information may be information transmitted by one other electronic device or a plurality of other electronic devices, which is not limited herein.
It should be noted that the target chat interface at least includes an information display area and an information editing box, and the information display area is used for displaying the information sent by the electronic device and the information sent by other electronic devices; the information editing box is used for a user of the electronic equipment to edit the content including the first editing content, such as text, images and the like.
Illustratively, as shown in fig. 2, the target chat interface is a group chat interface 20, and the group chat interface 20 includes an information display area 21 and an information edit box 22, where the information display area 21 may display information sent by at least three electronic devices, such as "please see if this scheme is feasible" sent by the electronic device 1 (i.e., the electronic device), "i feel ok" sent by the electronic device 2, and "agree" sent by the electronic device 3 and the electronic device 4; and an information editing box 22 for the user of the electronic device 1 to edit the content (i.e. the first edited content) in reply to other users, such as "if there is no objection, execute cheer!according to this scheme! ".
In step 102, after the electronic device receives the first editing content and before the electronic device transmits the first editing content, if the electronic device receives the second information and receives the first input and the second information is displayed on the target chat interface, the electronic device may store the first editing content in the information editing frame displayed on the target chat interface in its memory and clear the information editing frame in response to the first input.
The second message may be a message sent by an electronic device other than the electronic device after receiving the first message, and the reply priority of the second message is higher than the reply priority of the first message, that is, the second message needs to be replied first and then the first message needs to be replied.
The second information may include one or more pieces of information, and the other electronic device that transmits the first information and the second information may be the same electronic device or different electronic devices, which is not limited herein.
Illustratively, the electronic device 1 as shown in FIG. 2 sends its user edit "if there is no objection, execute La!according to this scheme! Before, "i feel that this scheme is problematic" (i.e., the second information) that the electronic device 1 may receive "i feel that there is a problem" transmitted by the electronic device 5.
It should be noted that the first input may be any operation that is input in the target chat interface and is used to instruct the electronic device to store the first editing content, and the first input may be any one of a voice operation, an air gesture operation, a touch operation, and the like. For example, as shown in fig. 3, the first input may be a double-click operation (i.e., an operation of clicking twice in succession within a preset time length) of the "send" control 23 displayed in the group chat interface 20 by the user of the electronic device 1, and the like.
In some embodiments, the storing the first editing content may include: responding to the first input, adding the first editing content into a preset display area in the target chat interface and storing the first editing content, so that a user can select the first editing content to send after sending the second editing content.
Illustratively, in the event that electronic device 1 receives a double-click operation of its user on the "send" control 23 as shown in FIG. 3, electronic device 1 may "execute the La!according to this scheme if there is no objection! "stored and added to the display area 40 as shown in fig. 4.
The preset display area can be an area in the target chat interface where information is displayed and an area outside the information editing frame, so that influences on display of the information and editing of the content can be reduced.
In addition, the preset display area may display one or more pieces of editing content, for example, the preset display area may display only an area of editing content stored last time.
It should be noted that, in the case that a plurality of pieces of editing content are added to the preset display area, the electronic device may dynamically adjust the size of the preset display area according to the added editing content, for example, the displayed information may be reduced or shrunk, and all the added editing content may be displayed, and so on.
Alternatively, in some embodiments, the adding and storing the first editing content to the preset display area in the target chat interface may include: determining whether a target information height is less than or equal to a preset height threshold, wherein the target information height is: the height occupied by the displayed edited content in the row direction in a preset display area in the target chat interface; displaying and storing the first editing content in the preset display area under the condition that the height of the target information is less than or equal to a preset height threshold; or, under the condition that the height of the target information is greater than a preset height threshold, adding the first editing content into the preset display area and storing the first editing content, wherein the preset display area is in a folded state, and part or all of the first editing content is hidden. In this way, the electronic device can limit the display height of the preset display area within the preset height threshold, thereby reducing the influence on the displayed information.
Illustratively, if the preset height threshold of the display area 40 of the electronic device 1 is preset to be a height capable of displaying only one line of text, then only the above-mentioned "if there is no objection, do la! "and the edited content occupies only one line," if there is no objection, execute la | according to this scheme! ", i.e., as shown in FIG. 4; and a line of edit contents "is there a problem for others" has been added to the display area 40? "in case the electronic device 1 will" if there is no objection, execute la | according to this scheme! "Add to display area 40 and adjust display area 40 to a collapsed state, i.e., added" if there is no objection, do you do this scheme! "is folded and hidden, i.e. as shown in fig. 5.
In addition, under the condition that the preset display area is in the folded state, the folding identifier can be displayed in the preset display area to prompt a user that the folded and hidden editing content exists in the preset display area, and the user can expand the preset display area and display the hidden editing content by clicking the folding identifier. For example, as shown in fig. 5, the display area 40 may display a fold indication 41 when in a folded state.
Alternatively, in another embodiment, the storing the first editing content may include: storing and hiding the first edited content in response to the first input. Here, the electronic device may hide the first edited content when stored, so that an influence on information displayed by the target chat interface may be further reduced.
Of course, when the electronic device stores and hides the first edited content, the electronic device may further display a prompt message to prompt the user that the first edited content is hidden.
Illustratively, as shown in FIG. 6, in the event that electronic device 1 receives a double-click operation of its user on the "send" control 23 as shown in FIG. 3, electronic device 1 may execute "if there is no objection, according to this scheme! And storing and hiding and displaying prompt information of 'saved as draft'.
It should be noted that, after the electronic device stores the first editing content, the electronic device may clear the first editing content in the information editing box of the target chat interface, so that the user of the electronic device may input the second editing content for replying the second information in the information editing box of the target chat interface.
In step 103, in a case that the electronic device completes replying to the second information and receives a second input for the first editing content, the electronic device may send the first editing content on the target chat interface.
The second input may be any operation for instructing the electronic device to transmit the stored first editing content, and may be any one of a voice operation, an air gesture operation, a touch operation, and the like. For example, as shown in FIG. 4, the electronic device stores "if there is no objection, execute La!according to this scheme! After that, the electronic device may receive the voice operation input by the user, where the operation content of the voice operation is: send "if there is no objection, execute la!according to this scheme! ", and the like.
In some implementations, the storing the first editing content in response to the first input includes: responding to the first input, and adding the first editing content into a preset display area in the target chat interface and storing the first editing content; wherein the second input comprises: and aiming at the operation of the first editing content added into the preset display area, the operation of the user in the process of sending the first editing content is more convenient and time-saving, and the chat efficiency is further improved.
The adding of the first editing content to the preset display area may be displaying the first editing content in the preset display area, and specifically, the adding and storing the first editing content to the preset display area in the target chat interface may include: determining whether a target information height is less than or equal to a preset height threshold, wherein the target information height is: the height occupied by the displayed edited content in the row direction in a preset display area in the target chat interface; displaying and storing the first editing content in the preset display area under the condition that the height of the target information is less than or equal to a preset height threshold; wherein the second input comprises: and aiming at the first editing content displayed in the preset display area. Therefore, the user can directly operate the first editing content displayed in the preset display area, and the operation of the user is more convenient and time-saving.
Illustratively, as shown in FIG. 4, a display area 40 is shown with a "if there is no objection, do Do La!according to this scheme! "if the electronic device receives a user's answer" if there is no objection, then execute the program according to this scheme! "double-click operation (i.e., operation on the first editing content displayed in the preset display area), the electronic device determines that the second input is received.
Or, the adding the first editing content to the preset display area may be hiding the first editing content in the preset display area in a folded state, specifically, the adding the first editing content to the preset display area in the target chat interface and storing the first editing content further includes: under the condition that the height of the target information is larger than a preset height threshold value, adding the first editing content into the preset display area and storing the first editing content; wherein the preset display area is in a folded state and the first editing content is partially or completely hidden; the second input comprises: the method includes the steps of unfolding the preset display area in the folded state, and aiming at the first editing content in the preset display area in the unfolded state. Therefore, the influence on the display effect of the information displayed by the electronic equipment can be reduced, and the operation of the user in the chatting process is more convenient and time-saving.
Illustratively, as shown in FIG. 5, after "if there is no objection, do you according to this scheme! "when added to the display area 40, the electronic device adjusts the display area 40 to a collapsed state, and" if there is no objection, do you do this! "is hidden in the display area 40, and in the case that the electronic device receives a user's click operation on the folding indicator 41 (i.e. an operation of unfolding the preset display area in the folded state), the electronic device displays all the editing contents hidden in the display area 40, i.e. displays" in the display area 40, "if there is no objection, executes la | according to this scheme! ", as shown in FIG. 7; if the electronic device again receives the user's pair "if there is no objection, execute la! "i.e. an operation for the first edited content within the preset display area in said unfolded state), the electronic device receives a second input from the user (comprising a click operation on the fold indication 41 and a double click operation on" if there is no objection, do you according to this scheme | ").
In further embodiments, said storing said first compilation and emptying said information editing pane in response to said first input comprises: storing and hiding the first edited content in response to the first input; the second input comprises: an operation for instructing display of a dialog box including the first editing content, and an operation for the first editing content displayed in the dialog box. Therefore, the influence on the display effect of the information displayed by the electronic equipment can be further reduced, and the operation of the user in the chatting process is more convenient and time-saving.
Illustratively, in the case of the electronic device 1 shown in FIG. 6, it is possible to "execute La | according to this scheme if there is no objection! In the case of storing and hiding and displaying the prompt message 61 of "saved as draft", if the electronic device receives a double-click operation (i.e., an operation for instructing display of a dialog box including the first editing content) input by the user to the "send" control 23 while the information edit box is empty, the electronic device displays the dialog box 80, and the dialog box displays a dialog box including "if there is no objection, the dialog | is executed according to this scheme! "as shown in fig. 8; if the electronic device receives a user's answer "if there is no objection, execute la! "double-click operation (i.e., operation on the first editing content displayed in the dialog box), the electronic device receives a second input.
It should be noted that, in the foregoing embodiment, the operation on the first editing content displayed in the preset display area or the dialog box may be that a control associated with the first editing content is displayed in the preset display area or the dialog box, the control includes a first sub-control for sending the first editing content, and when the electronic device receives a click operation of the first sub-control, it is determined that the operation for instructing to send the first editing content is received.
Illustratively, as shown in FIG. 4 or FIG. 7, the display area 40 also displays a control at the bottom of each edit, such as "if there is no objection, execute Do according to this scheme! The 'direct sending' sub-control is displayed under 'and if the electronic equipment receives the operation that the user clicks the' direct sending 'sub-control, the user is confirmed to indicate the electronic equipment to send' if no objection exists, the cheering!is executed according to the scheme! "; alternatively, as shown in FIG. 8, the dialog box 80 also displays a control at the bottom of each edit, such as "execute la!according to this scheme if there is no objection! The sub-control of "directly sending" is displayed under "and if the electronic device receives an operation of clicking the sub-control 81 by the user, it is confirmed that the user instructs the electronic device to send" if there is no objection, execute the program! ", and the like.
Of course, after the step 102 and when the second editing content is completely transmitted, the electronic device may further receive a third input, where the third input is used to instruct the electronic device to edit or delete the stored first editing content.
The third input may be any operation for instructing the electronic device to edit or delete the stored first editing content, and may be any one of a voice operation, an air gesture operation, a touch operation, and the like. Specifically, the control associated with the first editing content may further include a second sub-control and a third sub-control, where the second sub-control is used to instruct to edit the first editing content, and the third sub-control is used to instruct to delete the first editing content, that is, the third input may be a click operation on the second sub-control or the third sub-control.
Illustratively, as shown in FIG. 4, FIG. 7, or FIG. 8, a display is shown that "if there is no objection, do you run A according to this scheme! And if the electronic equipment receives the click of the editing child control from the user, the electronic equipment displays that if no objection exists, the electronic equipment executes the cheering!according to the scheme! And the user can edit the content displayed in the information editing frame again; or, if the electronic device receives a click of the "delete" child control by the user, the electronic device deletes "if there is no objection, execute la!according to the scheme! ".
In step 103, the electronic device may send the first editing content in response to a second input.
Illustratively, the user's receipt at the electronic device of a request for a response shown in FIG. 4, FIG. 7, or FIG. 8 at "if there is no objection, do Do la according to this scheme! The clicking operation of the sub-control of "under" directly sending "causes the electronic equipment to send" if there is no objection, execute the program according to this scheme! "and the information display area in the group chat interface displays" if there is no objection, execute cheering!according to this scheme! ", and the like.
In the embodiment, first editing content input in an information editing box of a target chat interface is received, wherein the first editing content is used for replying first information displayed in the target chat interface; under the condition that the electronic equipment receives second information and first input, storing first editing content and emptying an information editing frame, wherein the second information is displayed on a target chat interface; under the condition that the second information is replied and the second input aiming at the first editing content is received, the first editing content is sent at the target chat interface, so that the operation of the user in the chat process can be reduced, the operation of the user is convenient and fast, time is saved, and the chat efficiency is improved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 9, the electronic device 900 includes:
a first input module 901, configured to receive first editing content input in an information editing box of a target chat interface, where the first editing content is used to reply to first information displayed in the target chat interface;
a storage module 902, configured to store the first editing content and clear the information editing box when the electronic device receives second information and receives a first input, where the second information is displayed on the target chat interface;
a sending module 903, configured to send the first editing content in the target chat interface when the reply to the second information is completed and a second input for the first editing content is received.
Optionally, the storage module 902 is specifically configured to:
responding to the first input, and adding the first editing content into a preset display area in the target chat interface and storing the first editing content;
wherein the second input comprises: an operation for the first editing content added to the preset display area.
Optionally, as shown in fig. 10, the storage module 902 includes:
a determining unit 9021, configured to determine whether a target information height is less than or equal to a preset height threshold, where the target information height is: the height occupied by the displayed edited content in the row direction in a preset display area in the target chat interface;
a first storage unit 9022, configured to display and store the first editing content in the preset display area when the height of the target information is less than or equal to a preset height threshold;
wherein the second input comprises: and aiming at the first editing content displayed in the preset display area.
Optionally, as shown in fig. 11, the storage module 902 further includes:
a second storage unit 9023, configured to add and store the first editing content to the preset display area when the height of the target information is greater than a preset height threshold;
wherein the preset display area is in a folded state and the first editing content is partially or completely hidden; the second input comprises: the method includes the steps of unfolding the preset display area in the folded state, and aiming at the first editing content in the preset display area in the unfolded state.
Optionally, the storage module 902 is specifically configured to:
storing and hiding the first edited content in response to the first input;
the second input comprises: a first input for instructing to display a dialog box including the first editing content, and an operation for the first editing content displayed in the dialog box.
The electronic device 900 can implement the processes implemented by the electronic device in the foregoing embodiments and achieve the same beneficial effects, and for avoiding repetition, the details are not described here.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, and power source 1211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein, the processor 1210 is configured to:
receiving first editing content input in an information editing frame of a target chat interface, wherein the first editing content is used for replying first information displayed in the target chat interface;
under the condition that the electronic equipment receives second information and first input, storing the first editing content and emptying the information editing frame, wherein the second information is displayed on the target chat interface;
and under the condition that the reply to the second information is completed and a second input aiming at the first editing content is received, sending the first editing content on the target chat interface.
Optionally, the processor 1210 is specifically configured to:
responding to the first input, and adding the first editing content into a preset display area in the target chat interface and storing the first editing content;
wherein the second input comprises: an operation for the first editing content added to the preset display area.
Optionally, the processor 1210 is specifically configured to:
determining whether a target information height is less than or equal to a preset height threshold, wherein the target information height is: the height occupied by the displayed edited content in the row direction in a preset display area in the target chat interface;
displaying and storing the first editing content in the preset display area under the condition that the height of the target information is less than or equal to a preset height threshold;
wherein the second input comprises: and aiming at the first editing content displayed in the preset display area.
Optionally, the processor 1210 is specifically configured to:
under the condition that the height of the target information is larger than a preset height threshold value, adding the first editing content into the preset display area and storing the first editing content;
wherein the preset display area is in a folded state and the first editing content is partially or completely hidden; the second input comprises: the method includes the steps of unfolding the preset display area in the folded state, and aiming at the first editing content in the preset display area in the unfolded state.
Optionally, the processor 1210 is specifically configured to:
storing and hiding the first edited content in response to the first input;
the second input comprises: a first input for instructing to display a dialog box including the first editing content, and an operation for the first editing content displayed in the dialog box.
The electronic device 1200 can implement the processes implemented by the electronic device in the foregoing embodiments and achieve the same beneficial effects, and for avoiding repetition, the details are not described here again.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during information transmission and reception or during a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1210; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1201 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1202, such as to assist the user in emailing, browsing web pages, and accessing streaming media.
The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the electronic apparatus 1200 (e.g., a call signal reception sound, a message reception sound, and the like). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1206. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1201 in case of the phone call mode.
The electronic device 1200 also includes at least one sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 and/or the backlight when the electronic device 1200 moves to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described further herein.
The display unit 1206 is used to display information input by the user or information provided to the user. The Display unit 1206 may include a Display panel 12061, and the Display panel 12061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, the other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 12071 may be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 1208 is an interface for connecting an external device to the electronic apparatus 1200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1208 may be used to receive input from an external device (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic apparatus 1200 or may be used to transmit data between the electronic apparatus 1200 and the external device.
The memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1209 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1210 is a control center of the electronic device, connects various parts of the whole electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 1209 and calling data stored in the memory 1209, thereby performing overall monitoring of the electronic device. Processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The electronic device 1200 may further include a power source 1211 (e.g., a battery) for providing power to the various components, and preferably, the power source 1211 may be logically coupled to the processor 1210 via a power management system, such that the power management system may be configured to manage charging, discharging, and power consumption.
In addition, the electronic device 1200 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1210, a memory 1209, and a computer program that is stored in the memory 1209 and can be run on the processor 1210, and when the computer program is executed by the processor 1210, the processes of the above-mentioned embodiment of the information sending method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the information sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (4)

1. A method for sending information is applied to electronic equipment, and is characterized by comprising the following steps:
receiving first editing content input in an information editing frame of a target chat interface, wherein the first editing content is used for replying first information displayed in the target chat interface;
under the condition that the electronic equipment receives second information and first input, storing the first editing content and emptying the information editing frame, wherein the second information is displayed on the target chat interface;
under the conditions that the reply to the second information is completed and a second input aiming at the first editing content is received, the first editing content is sent in the target chat interface;
the storing the first editing content includes:
responding to the first input, and adding the first editing content into a preset display area in the target chat interface and storing the first editing content; the adding and storing the first editing content into a preset display area in the target chat interface comprises:
determining whether a target information height is less than or equal to a preset height threshold, wherein the target information height is: the height occupied by the displayed edited content in the row direction in a preset display area in the target chat interface;
displaying and storing the first editing content in the preset display area under the condition that the height of the target information is less than or equal to a preset height threshold;
wherein the second input comprises: an operation for the first editing content displayed in the preset display area;
the adding and storing the first editing content into a preset display area in the target chat interface further comprises:
under the condition that the height of the target information is larger than a preset height threshold value, adding the first editing content into the preset display area and storing the first editing content;
wherein the preset display area is in a folded state and the first editing content is partially or completely hidden; the second input comprises: the method includes the steps of expanding the preset display area in the folded state, and operating the first editing content in the preset display area in the expanded state.
2. An electronic device, comprising:
the system comprises a first input module, a first display module and a second input module, wherein the first input module is used for receiving first editing content input in an information editing box of a target chat interface, and the first editing content is used for replying first information displayed in the target chat interface;
the storage module is used for storing the first editing content and emptying the information editing frame under the condition that the electronic equipment receives second information and first input, wherein the second information is displayed on the target chat interface;
the sending module is used for sending the first editing content on the target chat interface under the conditions that the reply to the second information is completed and a second input aiming at the first editing content is received;
the storage module is specifically configured to:
responding to the first input, and adding the first editing content into a preset display area in the target chat interface and storing the first editing content;
the memory module includes:
a determining unit, configured to determine whether a target information height is less than or equal to a preset height threshold, where the target information height is: the height occupied by the displayed edited content in the row direction in a preset display area in the target chat interface;
the first storage unit is used for displaying and storing the first editing content in the preset display area under the condition that the height of the target information is less than or equal to a preset height threshold value;
wherein the second input comprises: an operation for the first editing content displayed in the preset display area;
the storage module further comprises:
the second storage unit is used for adding and storing the first editing content into the preset display area under the condition that the height of the target information is larger than a preset height threshold;
wherein the preset display area is in a folded state and the first editing content is partially or completely hidden; the second input comprises: the method includes the steps of expanding the preset display area in the folded state, and operating the first editing content in the preset display area in the expanded state.
3. An electronic device, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of transmitting information according to claim 1.
4. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for transmitting information according to claim 1.
CN201911355802.3A 2019-12-25 2019-12-25 Information sending method and electronic equipment Active CN111142759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911355802.3A CN111142759B (en) 2019-12-25 2019-12-25 Information sending method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911355802.3A CN111142759B (en) 2019-12-25 2019-12-25 Information sending method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111142759A CN111142759A (en) 2020-05-12
CN111142759B true CN111142759B (en) 2021-11-23

Family

ID=70519904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911355802.3A Active CN111142759B (en) 2019-12-25 2019-12-25 Information sending method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111142759B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269509B (en) * 2020-10-29 2022-11-25 维沃移动通信(杭州)有限公司 Information processing method and device and electronic equipment
CN112448884A (en) * 2020-11-11 2021-03-05 维沃移动通信(杭州)有限公司 Content saving method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889433A (en) * 2019-01-25 2019-06-14 维沃移动通信有限公司 A kind of message method and mobile terminal
CN110427134A (en) * 2019-08-09 2019-11-08 网易(杭州)网络有限公司 Data processing method, device, equipment and the readable storage medium storing program for executing of instant messaging

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9406048B2 (en) * 2010-07-07 2016-08-02 Mark Meister Email system for preventing inadvertant transmission of propriety message or documents to unintended recipient

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889433A (en) * 2019-01-25 2019-06-14 维沃移动通信有限公司 A kind of message method and mobile terminal
CN110427134A (en) * 2019-08-09 2019-11-08 网易(杭州)网络有限公司 Data processing method, device, equipment and the readable storage medium storing program for executing of instant messaging

Also Published As

Publication number Publication date
CN111142759A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN107977132B (en) Information display method and mobile terminal
CN108234289B (en) Message display method and device and mobile terminal
EP4071606A1 (en) Application sharing method, first electronic device and computer-readable storage medium
CN110096326B (en) Screen capturing method, terminal equipment and computer readable storage medium
CN109614061B (en) Display method and terminal
CN110196667B (en) Notification message processing method and terminal
CN110768805B (en) Group message display method and electronic equipment
US20210352040A1 (en) Message sending method and terminal device
CN109739407B (en) Information processing method and terminal equipment
CN109032486B (en) Display control method and terminal equipment
CN109189303B (en) Text editing method and mobile terminal
CN109451141B (en) Operation control method and related terminal
WO2019120192A1 (en) Method for editing text, and mobile device
CN110674662A (en) Scanning method and terminal equipment
CN110442279B (en) Message sending method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN110138972B (en) Notification processing method and device
CN109271262B (en) Display method and terminal
CN111610903A (en) Information display method and electronic equipment
CN108196781B (en) Interface display method and mobile terminal
CN110796438B (en) Message sending method and mobile terminal
CN111142759B (en) Information sending method and electronic equipment
CN109669656B (en) Information display method and terminal 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