WO2023083181A1 - 即时通讯软件的内容输入方法、装置、设备和介质 - Google Patents

即时通讯软件的内容输入方法、装置、设备和介质 Download PDF

Info

Publication number
WO2023083181A1
WO2023083181A1 PCT/CN2022/130637 CN2022130637W WO2023083181A1 WO 2023083181 A1 WO2023083181 A1 WO 2023083181A1 CN 2022130637 W CN2022130637 W CN 2022130637W WO 2023083181 A1 WO2023083181 A1 WO 2023083181A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
content
box
input box
target
Prior art date
Application number
PCT/CN2022/130637
Other languages
English (en)
French (fr)
Inventor
余洁
张超
蒋程
李洛斌
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023083181A1 publication Critical patent/WO2023083181A1/zh

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present disclosure relates to the technical field of the Internet, and in particular to a content input method, device, device and medium for instant messaging software.
  • the user can input content through the input box, and send the input content in the input box to a designated receiver after completing the input, so as to complete the sending of the message.
  • the present disclosure provides a content input method for instant messaging software
  • the instant messaging software includes a first input box and a second input box, and the first input box and the second input box are switched through controls switching, the sizes of the first input box and the second input box are different,
  • the target input content is displayed in the second input box.
  • the present disclosure provides a content input device for instant messaging software, the instant messaging software includes a first input box and a second input box, and the first input box and the second input box are switched through controls switching, the sizes of the first input box and the second input box are different;
  • the device includes:
  • a first display module configured to receive target input content input into the first input box, and display the target input content in the first input box
  • the second display module is configured to display the target input content in the second input box in response to triggering the switching control.
  • the present disclosure provides an electronic device, including: a processor, the processor is used to execute a computer program stored in a memory, and when the processor executes the computer program, any one of the functions provided in the first aspect is implemented. method.
  • the present disclosure provides a computer-readable storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, any method provided in the first aspect is implemented.
  • the present disclosure provides a computer program product, which, when running on a computer, causes the computer to execute any one of the methods provided in the first aspect.
  • the present disclosure provides a computer program, including: instructions, which when executed by a processor cause the processor to execute the content input method according to any one of the embodiments.
  • Fig. 1A is a schematic diagram of some embodiments of an input box provided by the present disclosure
  • FIG. 1B is a schematic diagram of another input box provided by the present disclosure.
  • FIG. 2 is a schematic flow diagram of some embodiments of a content input method of an instant messaging software provided by the present disclosure
  • FIG. 3 is a schematic flowchart of some embodiments of another content input method for instant messaging software provided by the present disclosure
  • FIG. 4A is a schematic diagram of some embodiments of a display screen of an instant messaging software provided by the present disclosure
  • FIG. 4B is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • FIG. 5A is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • FIG. 5B is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • FIG. 6 is a schematic flow diagram of some embodiments of another content input method for instant messaging software provided by the present disclosure.
  • FIG. 7A is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • FIG. 7B is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • FIG. 8 is a schematic flowchart of some embodiments of another content input method for instant messaging software provided by the present disclosure.
  • FIG. 9A is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • FIG. 9B is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • FIG. 10 is a schematic flowchart of some embodiments of another content input method for instant messaging software provided by the present disclosure.
  • Fig. 11 is a schematic flowchart of some embodiments of another content input method of instant messaging software provided by the present disclosure.
  • Fig. 12A is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • Fig. 12B is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • FIG. 12C is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • Fig. 12D is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • Fig. 13 is a schematic flowchart of some embodiments of another content input method of instant messaging software provided by the present disclosure.
  • Fig. 14 is a schematic structural diagram of some embodiments of a content input device for instant messaging software provided by the present disclosure.
  • the technical solutions disclosed in the present disclosure can be applied to terminal devices, where the terminal devices may be computers, tablets, mobile phones, or other smart electronic devices.
  • the terminal device has a display screen, wherein the display screen can be a touch screen or a non-touch screen.
  • the user can realize the interactive operation with the terminal device through gestures, fingers or touch tools (such as a stylus pen).
  • an external device for example, a mouse or a keyboard, etc.
  • a mouse or a keyboard, etc. may be used to implement interactive operations with the terminal device.
  • the input box in the IM software can display less content, which is inconvenient for the user to edit the input content.
  • the present disclosure provides a content input method, device, equipment and medium for instant messaging software, which facilitate users to edit and input content.
  • FIG. 1A is a schematic diagram of some embodiments of an input box provided by the present disclosure
  • FIG. 1B is a schematic diagram of some embodiments of another input box provided by the present disclosure.
  • a user can select a recipient of a message in an IM client
  • an input box is displayed in the session display interface of the IM software, and the user can input content in the input box of the session interface, and after completing the input of the content, the operation of sending a message is triggered , the input content in the input box of the conversation interface can be sent to the receiver, so as to realize the sending of the message.
  • the input box of the conversation display interface can be set relatively small to avoid blocking the content of the received message, so when the user enters a large amount of content, it is not convenient to view in the input box of the conversation interface and edit input.
  • a switch control can be set in the input box of the conversation interface, and the rich text input box can be switched to by triggering the switch control.
  • the rich text input box is set relatively large and can cover the conversation display interface, as shown in Figure 1B , so that when the user enters a large amount of content, it is convenient to view and edit the input content in the rich text input box.
  • a switching control is also set in the rich text input box, and by triggering the switching control, it can be switched back to the input box of the conversational interface as shown in FIG. 1A .
  • the input box of the conversational interface can be switched to the rich text input box, and the rich text input box can also be switched to the input box of the conversational interface.
  • the size of the rich text input box and the input box of the conversational interface are different, for example, the size of the rich text input box is larger, and the size of the input box of the conversational interface is smaller, and the switching between the large input box and the small input box can be realized. In this way, the user's needs for input boxes of different sizes in different scenarios can be met.
  • the first input box is an input box of a conversation interface
  • the corresponding second input box is a rich text input box
  • the first input box is a rich text input box
  • the corresponding second input box is a session The input box of the interface.
  • Figure 1 Figure 1, Figure 4, Figure 5, Figure 7, Figure 9 and Figure 12 in this disclosure are only schematic illustrations of some embodiments of the input box in the interface, and do not limit the position and occupation of the input box in the interface. The scale of the interface.
  • the instant messaging software includes a first input box and a second input box, and the first input box and the second input box are switched by a switching control.
  • the sizes of the first input box and the second input box are different, and can Realize switching between the large input box and the small input box, display the target input content in the first input box by receiving the target input content input to the first input box; switch to the second input box in response to triggering of the switching control, Displaying the target input content in the second input box can synchronize the input content displayed in the large input box and the small input box, so that the large-sized input box displays the input content in the small-sized input box, which is convenient for the user to edit the input content.
  • Fig. 2 is a schematic flowchart of some embodiments of a content input method of an instant messaging software provided by the present disclosure, as shown in Fig. 2 , specifically including:
  • S101 Receive target input content input into the first input box, and display the target input content in the first input box.
  • the IM software includes a first input box and a second input box, the first input box and the second input box are switched by a switch control, and the sizes of the first input box and the second input box are different.
  • the first input box is an input box of a conversation interface as shown in FIG. 1A
  • the corresponding second input box is a rich text input box as shown in FIG. 1B
  • the first input box is an input box as shown in FIG. 1B
  • the rich text input box shown, the corresponding second input box is the input box of the conversational interface as shown in FIG. 1A. If the first input box is the input box of the conversational interface as shown in Figure 1A, by triggering the switching control in the first input box, the first input box can be switched to the rich text input box as shown in Figure 1B, that is, the first The second input box can switch the small input box to the large input box.
  • the first input box is a rich text input box as shown in Figure 1B
  • the first input box can be switched to the input box of the conversational interface as shown in Figure 1A, that is, the first
  • the second input box can switch the large input box to the small input box.
  • the input box of the conversational interface of the first input box As shown in Figure 1A, the target input content entered by the user into the first input box is " I am Chinese “, then " I am Chinese” is displayed in the first input box. People “, as shown in Figure 1A.
  • the first input box is a rich text input box, as shown in Figure 1B, the target input content entered by the user into the first input box is " I am Chinese ", and " I am Chinese " is displayed in the first input box. Chinese ".
  • the first input box is the input box of the conversational interface as shown in Figure 1A
  • " I am Chinese” is displayed in the first input box, as shown in Figure 1A, when it is necessary to switch to the second input box, Select and trigger the switching control in the first input box, and switch to the second input box in response to the triggering of the switching control, as shown in Figure 1B
  • the target input content of " I am Chinese " is also displayed in the second input box, Able to display the target input content in the small input box to the large input box synchronously.
  • the first input box is a rich text input box as shown in Figure 1B
  • " I am Chinese” is displayed in the first input box, as shown in Figure 1B, when you need to switch to the second input box, select Trigger the switching control in the first input box, and switch to the second input box in response to the triggering of the switching control, as shown in Figure 1A
  • the target input content of " I am Chinese " is also displayed in the second input box, which can Synchronously display the target input content in the large input box to the small input box.
  • the instant messaging software includes a first input box and a second input box, and the first input box and the second input box are switched by a switching control.
  • the sizes of the first input box and the second input box are different, and large
  • the switching between the input box and the small input box is to display the target input content in the first input box by receiving the target input content input to the first input box; in response to triggering the switching control, switch to the second input box, and then
  • the target input content is displayed in the input box, and the input content displayed in the large input box and the small input box can be synchronized, so that the input content in the small input box is displayed in the large input box, which is convenient for users to edit the input content.
  • Fig. 3 is a schematic flowchart of some embodiments of another content input method for instant messaging software provided by the present disclosure.
  • Fig. 3 is based on the embodiment shown in Fig. 2 and further includes:
  • the target edit control can be one of bold edit control, underline edit control, strikethrough edit control, italic edit control, hyperlink edit control, ordered list edit control, unordered list edit control and reference edit control, correspondingly,
  • the target editing method can be one of bold, underline, strikethrough, italic, hyperlink, arrange in an ordered list, arrange in an unordered list, and quote.
  • the target edit control may also be other edit controls such as font color edit control and font type edit control, which is not specifically limited in this embodiment.
  • the content editing control selected by the user is the target editing control. For example, if the user needs to display an underlined style To display the target input content, the underline edit control can be selected as the target edit control and triggered, as shown in FIG. 4A .
  • the target edit control After receiving the user's trigger on the target edit control, respond to the trigger operation.
  • the target edit control is an underline edit control.
  • an underline can be added to the target input content in the target input box, so that The target input content is displayed in an underlined display style, as shown in FIG. 4B .
  • the target editing control is a bold editing control
  • the target editing mode is bold, and the target input content is bolded so that the target input content is displayed in a bold display style
  • the target editing method is to add a strikethrough, and add a strikethrough to the target input content, so that the target input content is displayed in a strikethrough display style
  • the target edit control is italic editing control
  • the target editing method is tilted, and the target input content is tilted so that the target input content is displayed in a tilted display style
  • the target editing mode is set link, for Set the link associated with the target input content, so that the target input content is displayed in the display style of a hyperlink
  • the target editing control is an ordered list editing control, the target editing method is arranged by serial number, and the target input content is numbered.
  • the target input content be displayed in the display style of an ordered list; or, if the target edit control is an unordered list edit control, the target editing method is an unordered list arrangement, and the target input content is arranged without a sequence number, so that the target input content is displayed in an unordered list.
  • the display style of the sequence listing is displayed.
  • FIG. 4 only uses the input box of the conversational interface as an example for illustration, and in other implementation manners, the target input content in the rich text input box may also be processed.
  • the target input content is all input content in the first input box.
  • the underline edit control is triggered, as shown in Figure 4A.
  • the user enters content in the first input box, and the input content is all underlined.
  • the input content in the first input box is the target input content.
  • the target input content is part of the input content in the first input box.
  • the user enters content in the first input box, selects part of the input content and triggers the underline edit control, as shown in Figure 5A, after triggering the underline edit control, the selected input content is displayed in an underline display style, as shown in Figure 5B As shown, it is obvious that part of the input content in the first input box is the target input content.
  • processing the target input content in the first input box or the second input box based on the target editing method corresponding to the target editing control can change the display style of the target input content, so that the target The input content can be displayed to the user in different display styles, which can increase the diversity of content editing capabilities, thereby meeting the needs of users for the diversity of content editing capabilities.
  • the second input box may be obtained based on changing the size of the first input box.
  • the size of the first input box is enlarged to obtain a second input box. If the first input box is a rich text input box as shown in FIG. 1B , in response to triggering of the switching control, the size of the first input box is reduced to obtain the second input box.
  • Fig. 6 is a schematic flow chart of some embodiments of another content input method of instant messaging software provided by the present disclosure. Fig. 6 is based on the embodiment shown in Fig. 3 , before executing S105, at least one content editing control is displayed as a trigger.
  • a specific description of an implementation is as follows:
  • the at least one content editing control includes the target editing control.
  • Fig. 7A is a schematic diagram of some embodiments of a display screen of an instant messaging software provided by the present disclosure.
  • a first button is displayed in the input box of the conversation interface, and the user can click the first button to trigger the first button, for example, the first button may be an "Aa" style button.
  • the first button may be an "Aa" style button.
  • at least one content editing control is displayed, as shown in FIG. 7B .
  • these content editing controls may include bold editing controls, underline editing controls, strikethrough editing controls, italic editing controls, hyperlink editing controls, ordered list editing controls, unordered list editing controls, reference editing controls At least one of them may also include at least one of other content editing controls such as font color editing controls and font type editing controls. This embodiment does not specifically limit the content editing controls.
  • the user Based on at least one content editing control displayed, the user selects one of these content editing controls to trigger based on his own needs, and the content editing control selected by the user is the target editing control.
  • FIG. 7 only uses the input box of the conversation interface as an example for illustration, and in other implementation manners, it may also be a rich text input box.
  • At least one content editing control is displayed, at least one content editing control includes the target editing control, and there is no need to input content
  • the content editing control can be hidden, so that the display screen of the IM software is relatively simple, which can improve the user experience; in addition, the first button is displayed in the first input box, which is convenient for the user to operate.
  • Fig. 8 is a schematic flowchart of some embodiments of another content input method for instant messaging software provided by the public. Fig. 8 is based on the embodiment shown in Fig. 3, before executing S103, as a trigger to display at least one content editing control
  • the specific description of another implementation is as follows:
  • the at least one content editing control includes the target editing control.
  • FIG. 9A is a schematic diagram of some embodiments of another instant messaging software display screen provided by the present disclosure.
  • the input content to be edited is selected in the input box of the conversation interface as shown in FIG. 9A , that is, the target input content is selected.
  • a floating toolbar may be displayed near the location of the target input content, and at least one content editing control is displayed in the floating toolbar.
  • these content editing controls may include bold editing controls, underline editing controls, strikethrough editing controls, italic editing controls, hyperlink editing controls, ordered list editing controls, unordered list editing controls, reference editing controls At least one of them may also include at least one of other content editing controls such as font color editing controls and font type editing controls. This embodiment does not specifically limit the content editing controls.
  • the user Based on at least one content editing control displayed in the floating toolbar, the user selects one of these content editing controls to trigger based on his own needs, and the content editing control selected by the user is the target editing control.
  • At least one content editing control in response to the triggering of the target input content displayed in the first input box or the second input box, at least one content editing control is displayed, and at least one content editing control includes the target editing control.
  • the content editing control can be hidden during editing, which makes the display screen more concise and can improve the user experience; in addition, there is no need to set a separate button to trigger the display of the content editing control, further improving the simplicity of the display screen.
  • the display position of at least one content editing control is related to the position of the target input content.
  • the floating toolbar is located near the area where the target input content is located, which is convenient for the user to trigger operations on the content editing control.
  • the floating toolbar may be located 8pt above the area where the target input content is located.
  • the corresponding floating toolbar is located in the display box and near the edge of the display box, ensuring that all content edits can be completely displayed. Controls, such as a floating toolbar, are positioned within the display frame at 8pt from the edge of the display frame.
  • the corresponding floating toolbars may be symmetrically distributed on both sides of the target input content, so as to maintain the aesthetics of the display screen.
  • the display position of at least one content editing control is related to the position of the target input content, which facilitates user operation and ensures the aesthetics of the display screen and the integrity of the content editing control.
  • Fig. 10 is a schematic flowchart of some embodiments of another content input method for instant messaging software provided by the public, and Fig. 10 is a specific description of a possible implementation of S101 on the basis of the embodiment shown in Fig. 2 ,as follows:
  • the user inputs the target input content in the first input box, and after receiving the target input content input by the user, saves the target input content in the draft box, and displays the target input content in the first input box at the same time.
  • the first input box and the second input box share a draft box.
  • the second input box can obtain the previously saved target input content displayed in the first input box from the draft box, and display it in the second input box.
  • the target input content is displayed in the input box.
  • the first input box and the second input box share a draft box, display the target input content in the first input box, and save the target input content in the draft box, in response to switching controls Trigger, obtain the target input content from the draft box, and display it in the second input box.
  • Fig. 11 is a schematic flowchart of some embodiments of another instant messaging software content input method provided by the public, and Fig. 11 is a specific implementation of a possible implementation of S103' based on the embodiment shown in Fig. 10 Described as follows:
  • the size of the first input box is larger than that of the second input box.
  • the first input box is a rich text input box as shown in FIG. 1B
  • the second input box is an input box of a conversational interface as shown in FIG. 1A .
  • the first input box includes: a first title area and a first text area, the first title area can display the first target input content, and the first text area can display the second target input content.
  • the first target input content may not be empty.
  • the first target input content displayed in the first title area is "China”
  • the second target input content displayed in the first text area is "I am Chinese”.
  • the first target input content can be empty, as shown in FIG. 12C , no content is displayed in the first title area, and the second target input content displayed in the first text area is "I am Chinese”.
  • the first target input content in the first title area and the second target input content in the first text area are stored in the draft box, the user triggers the switching control in the first input box, and responds to the triggering of the switching control , acquire the first target input content of the first title area and the second target input content of the first text area from the draft box.
  • the input content of the first target is empty, obtain the input content of the second target stored in the draft box, and display the input content of the second target in the text area of the second input box.
  • the displayed second input box only includes the text area, no need A title area is reserved for the input content of the first target, so that the screen displayed in the second input box is more beautiful.
  • no content is displayed in the first title area, and the second target input content displayed in the first text area is "I am Chinese”.
  • a title area is set above the text area, the top frame of the text area is set, and the second target input content "I am Chinese” is displayed in the text area, as shown in FIG. 12D .
  • first target input content is not empty, obtain the first target input content and the second target input content stored in the draft box, and display the first target input content in the second title area of the second input box, and display the first target input content in the second input box.
  • the text area displays the second target input content without affecting the display styles of the first target input content and the second target input content.
  • the first target input content "China” is displayed in the first title area
  • the second target input content "I am Chinese” is displayed in the first text area.
  • a second title area and a second text area are displayed in the input box, wherein the first target input content "China” is displayed in the second title area, and the second target input content "I am Chinese” is displayed in the second text area, As shown in Figure 12B.
  • Fig. 13 is a schematic flowchart of some embodiments of another content input method of instant messaging software provided by the present disclosure.
  • Fig. 13 is another possible implementation of S103' based on the embodiment shown in Fig. 10 The specific description is as follows:
  • the first input box includes a first title area and a first text area
  • the size of the first input box is smaller than that of the second input box.
  • the first input box is an input box of a conversational interface as shown in FIG. 1A
  • the second input box is a rich text input box as shown in FIG. 1B .
  • the first input box includes: a first title area and a first text area, the first title area displays the first target input content, and the first text area displays the second target input content, as shown in Figure 12B , at this time, the first target input content and the second target input content are stored in the draft box.
  • the first target input content and the second target input content are obtained from the draft box, and the first target input content is displayed in the second title area of the second input box, and the second target input content The content is displayed in the second text area of the second input box.
  • the first input box displays a first title area and a first text area, wherein the first target input content "China” is displayed in the first title area, and the second target input content "I am China” is displayed in the first text area. People", as shown in Figure 12B.
  • a second title area and a second text area are displayed in the second input box, wherein the first target input content "China” is displayed in the second title area, and the second text area is displayed in the second text area.
  • the target input content is "I am Chinese", as shown in Figure 12A.
  • the size of the first input box is smaller than that of the second input box.
  • the first input box is an input box of a conversational interface as shown in FIG. 1A
  • the second input box is a rich text input box as shown in FIG. 1B .
  • the first input box only includes: a text area.
  • the target input content is displayed in the text area.
  • only the target input content is stored in the draft box.
  • the target input content is obtained from the draft box, and the target input content is displayed in the second text area of the second input box.
  • the first input box only displays a text area, and the target input content "I am Chinese” is displayed in the text area, as shown in FIG. 12D .
  • a second title area and a second text area are displayed in the second input box, wherein the target input content "China” is displayed in the second text area, and is not displayed in the second title area, as shown in the figure 12C.
  • FIG. 14 is a schematic structural diagram of some embodiments of a content input device for instant messaging software provided by the present disclosure. As shown in FIG. 14 , the content of instant messaging software Input devices include:
  • the first display module 110 is configured to receive target input content input into the first input box, and display the target input content in the first input box.
  • the second display module 120 is configured to display the target input content in the second input box in response to triggering the switching control.
  • the processing module is configured to process the target input content in the first input box or the second input box based on the target editing mode corresponding to the target edit control in response to the triggering of the target edit control.
  • a changing module configured to change the size of the first input box to obtain the second input box in response to the triggering of the switching control.
  • the first display module 110 is further configured to display at least one content editing control in response to triggering the first button displayed in the first input box, and the at least one content editing control includes the Describes the target edit control.
  • the second display module 120 is further configured to display at least one content editing control in response to triggering the first button displayed in the second input box, and the at least one content editing control includes the target editing control.
  • the first display module 110 is further configured to display at least one content editing control in response to triggering the target input content displayed in the first input box, and the at least one content editing control includes the Describes the target edit control.
  • the second display module 120 is further configured to display at least one content editing control including the target editing control in response to triggering the target input content displayed in the second input box.
  • the first input box and the second input box share a draft box.
  • the first display module 110 is further configured to display the target input content in the first input box, and save the target input content into a draft box.
  • the second display module 120 is further configured to obtain the target input content from the draft box in response to the triggering of the switching control, and display it in the second input box.
  • the display position of the at least one content editing control is related to the position of the target input content.
  • the size of the first input box is larger than that of the second input box, and the first input box includes: a first title area and a first text area.
  • the second display module 120 is further configured to acquire the first target input content of the first title area and the second target input content of the first text area from the draft box in response to the triggering of the switching control ; If the first target input content is empty, display the second target input content in the text area in the second input box, and the second input box only includes the text area; if the first target input content is not empty, the first target input content is displayed in the second title area of the second input box, the second target input content is displayed in the second text area, and the second input box includes the second title area and the second text area. Two text areas.
  • the size of the first input box is smaller than the size of the second input box, and the first input box includes: a text area; or, the first input box includes: a first title area and The first text area; the second input box includes: a second title area and a second text area.
  • the second display module 120 is further configured to, in the case that the first input box includes a first title area and a first text area, in response to triggering the switching control, acquire the first input box from the draft box.
  • the first target input content in the title area and the second target input content in the first text area and display the first target input content in the second title area of the second input box, and display the first target input content in the second text area
  • the second text area of the box displays the target input content.
  • the at least one content editing control includes at least one of the following:
  • An embodiment of the present disclosure also provides an electronic device, including: a processor, configured to execute a computer program stored in a memory, and implement the steps of the foregoing method embodiments when the processor executes the computer program.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the foregoing method embodiments are implemented.
  • Embodiments of the present disclosure also provide a computer program product, which, when the computer program product is run on a computer, causes the computer to execute the steps of the above method embodiments of the present disclosure.
  • the present disclosure provides a content input method for instant messaging software, the instant messaging software includes a first input box and a second input box, and the first input box and the second input box are switched through controls switching, the sizes of the first input box and the second input box are different;
  • the target input content is displayed in the second input box.
  • the method also includes:
  • the target input content in the first input box or the second input box is processed based on the target editing mode corresponding to the target editing control.
  • the method also includes:
  • the method also includes:
  • the at least one content editing control includes the target editing control
  • At least one content editing control is displayed, and the at least one content editing control includes the target editing control.
  • the first input box and the second input box share a draft box
  • the receiving the target input content input into the first input box, and displaying the target input content in the first input box includes:
  • the displaying the target input content in the second input box in response to the triggering of the switching control includes:
  • the target input content is obtained from the draft box and displayed in the second input box.
  • the display position of the at least one content editing control is related to the position of the target input content.
  • the size of the first input box is larger than the size of the second input box, and the first input box includes: a first title area and a first text area;
  • obtaining the target input content from the draft box and displaying it in the second input box includes:
  • the second target input content is displayed in the text area in the second input box, and the second input box only includes the text area;
  • the first target input content is displayed in the second title area of the second input box, the second text area displays the second target input content, and the second input
  • the frame includes a second title area and a second text area.
  • the size of the first input box is smaller than the size of the second input box, and the first input box includes: a text area; or, the first input box includes: a first title area and The first text area; the second input box includes: a second title area and a second text area;
  • obtaining the target input content from the draft box and displaying it in the second input box includes:
  • the first input box includes a first title area and a first text area
  • the second target input content in the first text area and display the first target input content in the second title area of the second input box, and display the second target input content in the second text area;
  • the target input content of the text area is obtained from the draft box, and the second text in the second input box area displays the target input content.
  • the at least one content editing control includes at least one of the following:
  • the present disclosure provides a content input device for instant messaging software, the instant messaging software includes a first input box and a second input box, and the first input box and the second input box are switched by a switch control , the sizes of the first input box and the second input box are different;
  • the device includes:
  • a first display module configured to receive target input content input into the first input box, and display the target input content in the first input box
  • the second display module is configured to display the target input content in the second input box in response to triggering the switching control.
  • the processing module is configured to process the target input content in the first input box or the second input box based on the target editing mode corresponding to the target edit control in response to triggering of the target edit control.
  • a changing module configured to change the size of the first input box to obtain the second input box in response to the triggering of the switching control.
  • the first display module is further configured to display at least one content editing control in response to triggering the first button displayed in the first input box, and the at least one content editing control includes the Target edit control.
  • the second display module is further configured to display at least one content editing control in response to triggering the first button displayed in the second input box, and the at least one content editing control includes the target editing control.
  • the first display module is further configured to display at least one content editing control in response to triggering the target input content displayed in the first input box, and the at least one content editing control includes the Target edit control.
  • the second display module is further configured to display at least one content editing control in response to triggering the target input content displayed in the second input box, and the at least one content editing control includes the target editing control.
  • the first input box and the second input box share a draft box.
  • the first display module is further configured to display the target input content in the first input box, and save the target input content into a draft box.
  • the second display module is further configured to acquire the target input content from the draft box and display it in the second input box in response to the triggering of the switching control.
  • the display position of the at least one content editing control is related to the position of the target input content.
  • the size of the first input box is larger than that of the second input box, and the first input box includes: a first title area and a first text area.
  • the second display module is further configured to acquire the first target input content of the first title area and the second target input content of the first text area from the draft box in response to the triggering of the switching control; If the first target input content is empty, then display the second target input content in the text area in the second input box, and the second input box only includes the text area; if the first target input content is not is empty, the first target input content is displayed in the second title area of the second input box, the second target input content is displayed in the second text area, and the second input box includes the second title area and the second text area.
  • the size of the first input box is smaller than the size of the second input box, and the first input box includes: a text area; or, the first input box includes: a first title area and The first text area; the second input box includes: a second title area and a second text area.
  • the second display module is further configured to obtain the first title from the draft box in response to the triggering of the switch control when the first input box includes a first title area and a first text area
  • the first target input content of the area and the second target input content of the first text area and display the first target input content in the second title area of the second input box, and display the second target input content in the second text area Target input content; in the case that the first input box includes a text area, in response to the triggering of the switching control, obtain the target input content of the text area from the draft box, and enter it in the second input box
  • the second body text area displays the target input content.
  • the at least one content editing control includes at least one of the following:
  • the present disclosure provides an electronic device, including: a processor, the processor is used to execute a computer program stored in a memory, and when the processor executes the computer program, any one of the functions provided in the first aspect is implemented. method.
  • the present disclosure provides a computer-readable storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, any method provided in the first aspect is implemented.
  • the present disclosure provides a computer program product, which, when running on a computer, causes the computer to execute any one of the methods provided in the first aspect.
  • the present disclosure provides a computer program, including: instructions, which when executed by a processor cause the processor to execute the content input method according to any one of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开涉及一种即时通讯软件的内容输入方法、装置、设备和介质。所述即时通讯软件包括第一输入框和第二输入框,所述第一输入框和所述第二输入框通过切换控件切换,所述第一输入框和所述第二输入框的尺寸不同;接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容;响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。

Description

即时通讯软件的内容输入方法、装置、设备和介质
相关申请的交叉引用
本申请是以CN申请号为202111341329.0,申请日为2021年11月12日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。
技术领域
本公开涉及互联网技术领域,尤其涉及一种即时通讯软件的内容输入方法、装置、设备和介质。
背景技术
随时计算机通信技术的飞速发展,即时通信(Instant Messaging,IM)软件的应用也越来越广泛。通过即时通信软件传输文字、图片、文件或者表情等,给用户的生活和工作带来了极大的便利性。
在相关技术中,用户可以通过输入框输入内容,并在完成输入后将输入框中的输入内容发送给指定的接收方,来完成消息的发送。
发明内容
第一方面,本公开提供了一种即时通讯软件的内容输入方法,所述即时通讯软件包括第一输入框和第二输入框,所述第一输入框和所述第二输入框通过切换控件切换,所述第一输入框和所述第二输入框的尺寸不同,
接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容;
响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。
第二方面,本公开提供了一种即时通讯软件的内容输入装置,所述即时通讯软件包括第一输入框和第二输入框,所述第一输入框和所述第二输入框通过切换控件切换,所述第一输入框和所述第二输入框的尺寸不同;
所述装置,包括:
第一显示模块,用于接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容;
第二显示模块,用于响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。
第三方面,本公开提供了一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述处理器执行所述计算机程序时实现第一方面提供的任一种方法。
第四方面,本公开提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现第一方面提供的任一种方法。
第五方面,本公开提供了一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面提供的任一种方法。
第六方面,本公开提供一种计算机程序,包括:指令,指令当由处理器执行时使 处理器执行根据任一个实施例中的内容输入方法。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1A为本公开提供的一种输入框的一些实施例的示意图;
图1B为本公开提供的另一种输入框的示意图;
图2为本公开提供的一种即时通讯软件的内容输入方法的一些实施例的流程示意图;
图3为本公开提供的另一种即时通讯软件的内容输入方法的一些实施例的流程示意图;
图4A为本公开提供的一种即时通讯软件的显示画面的一些实施例的示意图;
图4B为本公开提供的另一种即时通讯软件的显示画面的一些实施例的示意图;
图5A为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图5B为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图6为本公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图;
图7A为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图7B为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图8为本公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图;
图9A为本公开提供的另一种即时通讯软件的显示画面的一些实施例的示意图;
图9B为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图10为本公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图;
图11为本公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图;
图12A为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图12B为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图12C为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图12D为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图;
图13为本公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图;
图14为本公开提供的一种即时通讯软件的内容输入装置的一些实施例的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
本公开的技术方案可应用于终端设备,其中,终端设备可以是电脑、平板、手机或者其他智能电子设备等。终端设备具有显示屏,其中,显示屏可以是触摸屏,也可以是非触摸屏,对于具有触摸屏的终端设备,用户可以通过手势、手指或者触控工具(例如,触控笔)实现与终端设备的交互操作。对于非触摸屏的终端设备,可以通过外部设备(例如,鼠标或者键盘等)实现与终端设备的交互操作。
如前所述,IM软件中输入框可展示的内容较少,不方便用户对输入的内容进行编辑。
针对上述技术问题,本公开提供了一种即时通讯软件的内容输入方法、装置、设备和介质,方便用户编辑输入的内容。
图1A为本公开提供的一种输入框的一些实施例的示意图,图1B为本公开提供的另一种输入框的一些实施例的示意图,用户可以在IM客户端中选择消息的接收方,建立与接收方的会话,如图1A所示,IM软件的会话显示界面中显示有输入框,用户在会话界面的输入框中可以输入内容,并在完成内容的输入后通过触发发送消息的操作,可以将会话界面的输入框中的输入内容发送至接收方,从而实现消息的发送。如图1A所示,会话显示界面的输入框可以设置得比较小,避免对接收到的消息的内容造成遮挡,如此当用户输入大量的内容时,在会话界面的输入框中不便于用于查看和编辑输入内容。
为了解决该问题,可以在会话界面的输入框内设置一个切换控件,通过触发切换控件可以切换至富文本输入框,富文本输入框设置得比较大,可以覆盖会话显示界面,如图1B所示,如此,当用户输入大量的内容时,在富文本输入框中方便查看和编辑输入内容。如图1B所示,富文本输入框内也设置有一个切换控件,通过触发切换控件可以切换回如图1A所示的会话界面的输入框。
综上所述,通过切换控件的触发,可以使会话界面的输入框切换至富文本输入框,也可以使富文本输入框切换至会话界面的输入框。富文本输入框和会话界面的输入框的尺寸不同,例如,富文本输入框的尺寸较大,会话界面的输入框的尺寸较小,能够实现大输入框与小输入框的切换。如此,能够满足用户在不同场景下对不同尺寸输入框的需求。
本公开的技术方案中,第一输入框为会话界面的输入框,相应的第二输入框为富文本输入框,或者,第一输入框为富文本输入框,相应的第二输入框为会话界面的输入框。
本公开中的图1、图4、图5、图7、图9和图12中的只是对界面中的输入框的一些实施例的示意,并不限定输入框在界面中的位置和占整个界面的比例。
本公开的技术方案中,通过即时通讯软件包括第一输入框和第二输入框,第一输入框和第二输入框通过切换控件切换,第一输入框和第二输入框的尺寸不同,能实现 大输入框和小输入框的切换,通过接收向第一输入框输入的目标输入内容,在第一输入框内显示目标输入内容;响应于对切换控件的触发,切换至第二输入框,在第二输入框内显示目标输入内容,能够同步大输入框和小输入框中显示的输入内容,使得大尺寸的输入框中显示小尺寸输入框中输入的内容,方便用户编辑输入的内容。
下面以实施例对本公开的技术方案进行描述。
图2为本公开提供的一种即时通讯软件的内容输入方法的一些实施例的流程示意图,如图2所示,具体包括:
S101,接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容。
IM软件包括第一输入框和第二输入框,第一输入框和第二输入框通过切换控件切换,第一输入框和第二输入框的尺寸不同。
示例性的,第一输入框为如图1A所示的会话界面的输入框,相应的第二输入框为如图1B所示的富文本输入框,或者,第一输入框为如图1B所示的富文本输入框,相应的第二输入框为如图1A所示的会话界面的输入框。若第一输入框为如图1A所示的会话界面的输入框,通过触发第一输入框内的切换控件,可以将第一输入框切换至如图1B所示的富文本输入框,即第二输入框,能够将小输入框切换至大输入框。若第一输入框为如图1B所示的富文本输入框,通过触发第一输入框内的切换控件,可以将第一输入框切换至如图1A所示的会话界面的输入框,即第二输入框,能够将大输入框切换至小输入框。
例如,第一输入框会话界面的输入框,如图1A所示,用户向第一输入框中输入的目标输入内容为“ 我是中国人”,则在第一输入框中显示“ 我是中国人”,如图1A所示。再例如,第一输入框为富文本输入框,如图1B所示,用户向第一输入框中输入的目标输入内容为“ 我是中国人”,则在第一输入框中显示“ 我是中国人”。
S103,响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。
示例性的,第一输入框为如图1A所示的会话界面的输入框,第一输入框中显示有“ 我是中国人”,如图1A所示,需要切换至第二输入框时,选择触发第一输入框内的切换控件,响应于切换控件的触发,切换至第二输入框,如图1B所示,第二输入框中也显示有“ 我是中国人”的目标输入内容,能够将小输入框中的目标输入内容同步显示至大输入框。
示例性的,第一输入框为如图1B所示的富文本输入框,第一输入框中显示有“ 是中国人”,如图1B所示,需要切换至第二输入框时,选择触发第一输入框内的切换控件,响应于切换控件的触发,切换至第二输入框,如图1A所示,第二输入框中也显示有“ 我是中国人”的目标输入内容,能够将大输入框中的目标输入内容同步显示至小输入框。
本实施例中,通过即时通讯软件包括第一输入框和第二输入框,第一输入框和第二输入框通过切换控件切换,第一输入框和第二输入框的尺寸不同,能实现大输入框和小输入框的切换,通过接收向第一输入框输入的目标输入内容,在第一输入框内显示目标输入内容;响应于对切换控件的触发,切换至第二输入框,在第二输入框内显示目标输入内容,能够同步大输入框和小输入框中显示的输入内容,使得大尺寸的输 入框中显示小尺寸输入框中输入的内容,方便用户编辑输入的内容。
图3为本公开提供的另一种即时通讯软件的内容输入方法的一些实施例的流程示意图,图3为图2所示实施例的基础上,还包括:
S105,响应于对目标编辑控件的触发,基于所述目标编辑控件对应的目标编辑方式处理所述第一输入框或第二输入框内的目标输入内容。
目标编辑控件可以是加粗编辑控件、下划线编辑控件、删除线编辑控件、斜体编辑控件、超链接编辑控件、有序列表编辑控件、无序列表编辑控件和引用编辑控件中的一个,相应的,目标编辑方式可以是加粗、增加下划线、增加删除线、斜体、增加超链接、以有序列表的方式排列、以无序列表的方式排列和引用的一个。在其他实施方式中,目标编辑控件也可以是字体颜色编辑控件、字体类型编辑控件等其他编辑控件,本实施例对此不做具体限制。
在实际应用中,用户可以根据自身的实际需求,在IM客户端展示的多个内容编辑控件中选择一个,用户选中的内容编辑控件即为目标编辑控件,例如,若用户需要以下划线的展示样式展示目标输入内容,则可以选择下划线编辑控件作为目标编辑控件并进行触发,如图4A所示。
接收到用户对目标编辑控件的触发后,对触发操作进行响应,例如,目标编辑控件为下划线编辑控件,响应于对下划线编辑控件的触发,可以对目标输入框内的目标输入内容增加下划线,使得目标输入内容以下划线的展示样式进行展示,如图4B所示。
在其他实施方式中,还可以是若目标编辑控件为加粗编辑控件,则目标编辑方式为加粗,对目标输入内容进行加粗处理,使得目标输入内容以加粗的展示样式进行展示;或者,若目标编辑控件为删除线编辑控件,则目标编辑方式为增加删除线,对目标输入内容增加删除线,使得目标输入内容以删除线的展示样式进行展示;或者,若目标编辑控件为斜体编辑控件,则目标编辑方式为倾斜,对目标输入内容进行倾斜处理,使得目标输入内容以倾斜的展示样式进行展示;或者,若目标编辑控件为超链接编辑控件,则目标编辑方式为设置链接,对目标输入内容设置关联的链接,使得目标输入内容以超链接的展示样式进行展示;或者,若目标编辑控件为有序列表编辑控件,则目标编辑方式为按序号排列,对目标输入内容编号排列,使得目标输入内容以有序列表的展示样式进行展示;或者,若目标编辑控件为无序列表编辑控件,则目标编辑方式为无序号排列,对目标输入内容无序号排列,使得目标输入内容以无序列表的展示样式进行展示。
需要说明的是,图4仅以会话界面的输入框为例进行示例性说明,在其他实施方式中,还可以是处理富文本输入框内的目标输入内容。
在一些实施例中,目标输入内容为第一输入框中的全部输入内容。例如,用户在第一输入框中输入内容之前,触发下划线编辑控件,如图4A所示,在触发下划线编辑控件之后,用户在第一输入框中输入内容,输入的内容均以下划线的展示样式进行展示,如图4B所示,显然,第一输入框中的全部输入内容即为目标输入内容。
在一些实施例中,目标输入内容为第一输入框中的部分输入内容。例如,用户在第一输入框中输入内容,选中部分输入内容后触发下划线编辑控件,如图5A所示,在触发下划线编辑控件之后,选中的输入内容以下划线的展示样式进行展示,如图5B 所示,显然,第一输入框中的部分输入内容为目标输入内容。
本实施例中,通过响应于对目标编辑控件的触发,基于目标编辑控件对应的目标编辑方式处理第一输入框或第二输入框内的目标输入内容能够改变目标输入内容的展示样式,使得目标输入内容能够以不同的展示样式向用户进行展示,能够提升内容编辑能力的多样性,从而能够满足用户对内容编辑能力多样性的需求。
基于上述实施例,第二输入框可以是基于变化第一输入框的尺寸得到的。
示例性的,若第一输入框为如图1A所示的会话界面的输入框,响应于切换控件的触发,放大第一输入框的尺寸得到第二输入框。若第一输入框为如图1B所示的富文本输入框,响应于切换控件的触发,缩小第一输入框的尺寸得到第二输入框。
图6为本公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图,图6是图3所示实施例的基础上,执行S105之前,作为触发显示至少一个内容编辑控件的一种实现方式的具体描述,如下:
S104,响应于对所述第一输入框或第二输入框内显示的第一按钮的触发,显示至少一个内容编辑控件。
所述至少一个内容编辑控件中包括所述目标编辑控件。
图7A为本公开提供的一种即时通讯软件的显示画面的一些实施例的示意图,示例性的,如图7A所示,会话界面的输入框内显示有第一按钮,用户可以通过点击第一按钮来触发第一按钮,例如,第一按钮可以是“Aa”样式的按钮。响应于第一按钮的触发操作,显示至少一个内容编辑控件,如图7B所示。
在一些实施例中,这些内容编辑控件可以包括加粗编辑控件、下划线编辑控件、删除线编辑控件、斜体编辑控件、超链接编辑控件、有序列表编辑控件、无序列表编辑控件、引用编辑控件中的至少一个,也可以包括字体颜色编辑控件、字体类型编辑控件等其他内容编辑控件中的至少一个,本实施例对内容编辑控件不做具体限制。
基于显示的至少一个内容编辑控件,用户基于自身需求在这些内容编辑控件中选择一个进行触发,用户选择的内容编辑控件即为目标编辑控件。
需要说明的是,图7仅以会话界面的输入框为例进行示例性说明,在其他实施方式中,还可以是富文本输入框。
本实施例中,通过响应于对第一输入框或第二输入框内显示的第一按钮的触发,显示至少一个内容编辑控件,至少一个内容编辑控件中包括目标编辑控件,在无需对输入内容进行编辑时可以隐藏内容编辑控件,使得IM软件的显示画面比较简洁,能够提升用户的体验;此外,第一按钮显示于第一输入框内,方便用户操作。
图8为公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图,图8是图3所示实施例的基础上,执行S103之前,作为触发显示至少一个内容编辑控件的另一种实现方式的具体描述,如下:
S104’,响应于对所述第一输入框或第二输入框内显示的所述目标输入内容的触发,显示至少一个内容编辑控件。
所述至少一个内容编辑控件中包括所述目标编辑控件。
图9A为本公开提供的又一种即时通讯软件的显示画面的一些实施例的示意图,示例性的,如图9A所示会话界面的输入框中选中需要编辑的输入内容,即选中目标输入内容,响应于目标输入内容的选中操作,可在目标输入内容所在位置的附近显示 一个浮动工具栏,浮动工具栏中显示有至少一个内容编辑控件。
在一些实施例中,这些内容编辑控件可以包括加粗编辑控件、下划线编辑控件、删除线编辑控件、斜体编辑控件、超链接编辑控件、有序列表编辑控件、无序列表编辑控件、引用编辑控件中的至少一个,也可以包括字体颜色编辑控件、字体类型编辑控件等其他内容编辑控件中的至少一个,本实施例对内容编辑控件不做具体限制。
基于浮动工具栏中显示的至少一个内容编辑控件,用户基于自身需求在这些内容编辑控件中选择一个进行触发,用户选择的内容编辑控件即为目标编辑控件。
本实施例中,响应于对第一输入框或第二输入框内显示的目标输入内容的触发,显示至少一个内容编辑控件,至少一个内容编辑控件中包括目标编辑控件,在无需对输入内容进行编辑时可以隐藏内容编辑控件,使得显示画面比较简洁,能够提升用户的体验;此外,无需设置单独的按钮来触发显示内容编辑控件,进一步提升显示画面简洁性。
在一些实施例中,基于上述实施例,至少一个内容编辑控件的显示位置与所述目标输入内容的位置相关。
示例性的,如图9A所示,浮动工具栏位于目标输入内容所在区域的附近,方便用户对内容编辑控件进行触发操作,例如,浮动工具栏可以位于目标输入内容所在区域上方8pt的位置处。在一些实施例中,若目标输入内容位于输入框中靠近边缘的位置,如图9A所示,相应的浮动工具栏位于显示框内且靠近显示框边缘的区域,确保能够完整显示所有的内容编辑控件,例如,浮动工具栏位于显示框内且距显示框边缘8pt的位置处。在一些实施例中,若目标输入内容位于输入框中靠近中间的位置,如图9B所示,相应的浮动工具栏可以对称分布于目标输入内容的两侧,从而能够保持显示画面的美观性。
本实施例中,通过至少一个内容编辑控件的显示位置与目标输入内容的位置相关,方便用户操作的同时,能够保证显示画面的美观性以及内容编辑控件的完整性。
图10为公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图,图10为图2所示实施例的基础上,执行S101时的一种可能的实现方式的具体描述,如下:
S101’,在所述第一输入框内显示所述目标输入内容,并将所述目标输入内容保存到草稿箱中。
用户在第一输入框内输入目标输入内容,接收到用户输入的目标输入内容后,将目标输入内容保存在草稿箱中,同时在第一输入框内显示该目标输入内容。
作为执行S103时的一种可能的实现方式的具体描述,如图10所示:
S103’,响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示。
第一输入框和第二输入框共用一个草稿箱,响应于切换控件的触发,第二输入框可以从草稿箱中获取到之前保存的第一输入框内显示的目标输入内容,并在第二输入框内显示该目标输入内容。
本实施例中,通过第一输入框和第二输入框共用一个草稿箱,在第一输入框内显示所述目标输入内容,并将目标输入内容保存到草稿箱中,响应于对切换控件的触发,从草稿箱获取目标输入内容,并在第二输入框内显示,第一输入框与第二输入框中不 存在数据传输,能够提升目标输入内容的同步效率。
图11为公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图,图11为图10所示实施例的基础上,执行S103’时的一种可能的实现方式的具体描述,如下:
S201,响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容。
第一输入框的尺寸大于第二输入框的尺寸,例如,第一输入框为如图1B所示的富文本输入框,第二输入框为如图1A所示的会话界面的输入框。
第一输入框包括:第一标题区域和第一正文区域,第一标题区域可以显示第一目标输入内容,第一正文区域可以显示第二目标输入内容。其中,第一目标输入内容可以不为空,例如,如图12A所示,第一标题区域内显示的第一目标输入内容为“中国”,第一正文区域内显示的第二目标输入内容为“我是中国人”。第一目标输入内容可以为空,如图12C所示,第一标题区域内不显示内容,第一正文区域内显示的第二目标输入内容为“我是中国人”。
基于上述实施例,草稿箱内存储有第一标题区域的第一目标输入内容,以及第一正文区域的第二目标输入内容,用户触发第一输入框内的切换控件,响应于切换控件的触发,从草稿箱中获取第一标题区域的第一目标输入内容,以及第一正文区域的第二目标输入内容。
S202,确定所述第一目标输入内容是否空。
若是,执行S203,若否,执行S204。
S203,在第二输入框内的正文区域显示所述第二目标输入内容,所述第二输入框仅包括正文区域。
若第一目标输入内容为空,获取草稿箱中存储的第二目标输入内容,并在第二输入框内的正文区域显示第二目标输入内容,显示的第二输入框只包括正文区域,无需为第一目标输入内容留有标题区域,使得第二输入框显示的画面比较美观。例如,如图12C所示,第一标题区域内不显示内容,第一正文区域显示的第二目标输入内容为“我是中国人”,响应于切换控件的触发,在第二输入框中无需在正文区域之上设置标题区域,正文区域顶格设置,且正文区域内显示第二目标输入内容“我是中国人”,如图12D所示。
S204,在第二输入框的第二标题区域显示所述第一目标输入内容,第二正文区域显示所述第二目标输入内容,所述第二输入框包括第二标题区域和第二正文区域。
若第一目标输入内容不为空,获取草稿箱中存储的第一目标输入内容和第二目标输入内容,并在第二输入框内的第二标题区域显示第一目标输入内容,在第二正文区域显示第二目标输入内容,不影响第一目标输入内容和第二目标输入内容的展示样式。例如,如图12A所示,第一标题区域内显示第一目标输入内容“中国”,第一正文区域显示第二目标输入内容“我是中国人”,响应于切换控件的触发,在第二输入框中显示有第二标题区域和第二正文区域,其中,第二标题区域内显示第一目标输入内容“中国”,第二正文区域内显示第二目标输入内容“我是中国人”,如图12B所示。
图13为本公开提供的又一种即时通讯软件的内容输入方法的一些实施例的流程示意图,图13为图10所示实施例的基础上,执行S103’时的另一种可能的实现方式 的具体描述,如下:
S301,在所述第一输入框包括第一标题区域和第一正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容,并在第二输入框的第二标题区域显示所述第一目标输入内容,第二正文区域显示所述第二目标输入内容。
第一输入框的尺寸小于第二输入框的尺寸,例如,第一输入框为如图1A所示的会话界面的输入框,第二输入框为如图1B所示的富文本输入框。
示例性的,第一输入框包括:第一标题区域和第一正文区域,第一标题区域显示有第一目标输入内容,第一正文区域内显示有第二目标输入内容,如图12B所示,此时,草稿箱内存储有第一目标输入内容和第二目标输入内容。响应于用户对切换控件的触发,从草稿箱中获取到第一目标输入内容和第二目标输入内容,并将第一目标输入内容显示于第二输入框的第二标题区域,第二目标输入内容显示于第二输入框的第二正文区域。
例如,第一输入框显示有第一标题区域和第一正文区域,其中,第一标题区域内显示第一目标输入内容“中国”,第一正文区域内显示第二目标输入内容“我是中国人”,如图12B所示。响应于切换控件的触发,在第二输入框中显示有第二标题区域和第二正文区域,其中,第二标题区域内显示第一目标输入内容“中国”,第二正文区域内显示第二目标输入内容“我是中国人”,如图12A所示。
S301’,在所述第一输入框包括正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述正文区域的目标输入内容,在第二输入框的第二正文区域显示所述目标输入内容。
第一输入框的尺寸小于第二输入框的尺寸,例如,第一输入框为如图1A所示的会话界面的输入框,第二输入框为如图1B所示的富文本输入框。
示例性的,第一输入框仅包括:正文区域,如图12D所示,正文区域内显示有目标输入内容,此时,草稿箱内仅存储有目标输入内容。响应于用户对切换控件的触发,从草稿箱中获取到目标输入内容,并将目标输入内容显示于第二输入框的第二正文区域。
例如,第一输入框仅显示有正文区域,正文区域内显示目标输入内容“我是中国人”,如图12D所示。响应于切换控件的触发,在第二输入框中显示有第二标题区域和第二正文区域,其中,第二正文区域内显示目标输入内容“中国”,第二标题区域内不显示,如图12C所示。
本公开还提供了一种即时通讯软件的内容输入装置,图14为本公开提供的一种即时通讯软件的内容输入装置的一些实施例的结构示意图,如图14所示,即时通讯软件的内容输入装置包括:
第一显示模块110,用于接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容。
第二显示模块120,用于响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。
在一些实施例中,还包括:
处理模块,用于响应于对目标编辑控件的触发,基于所述目标编辑控件对应的目 标编辑方式处理所述第一输入框或第二输入框内的目标输入内容。
在一些实施例中,还包括:
变化模块,用于响应于对所述切换控件的触发,变化所述第一输入框的尺寸得到所述第二输入框。
在一些实施例中,第一显示模块110,还用于响应于对所述第一输入框内显示的第一按钮的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
第二显示模块120,还用于响应于对所述第二输入框内显示的第一按钮的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
在一些实施例中,第一显示模块110,还用于响应于对所述第一输入框内显示的目标输入内容的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
第二显示模块120,还用于响应于对所述第二输入框内显示的目标输入内容的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
在一些实施例中,所述第一输入框和第二输入框共用一个草稿箱。
第一显示模块110,进一步用于在所述第一输入框内显示所述目标输入内容,并将所述目标输入内容保存到草稿箱中。
第二显示模块120,进一步用于响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示。
在一些实施例中,所述至少一个内容编辑控件的显示位置与所述目标输入内容的位置相关。
在一些实施例中,所述第一输入框的尺寸大于所述第二输入框的尺寸,所述第一输入框包括:第一标题区域和第一正文区域。
第二显示模块120,进一步用于响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容;若所述第一目标输入内容为空,则在第二输入框内的正文区域显示所述第二目标输入内容,所述第二输入框仅包括正文区域;若所述第一目标输入内容不为空,则在第二输入框的第二标题区域显示所述第一目标输入内容,第二正文区域显示所述第二目标输入内容,所述第二输入框包括第二标题区域和第二正文区域。
在一些实施例中,所述第一输入框的尺寸小于所述第二输入框的尺寸,所述第一输入框包括:正文区域;或者,所述第一输入框包括:第一标题区域和第一正文区域;所述第二输入框包括:第二标题区域和第二正文区域。
第二显示模块120,进一步用于在所述第一输入框包括第一标题区域和第一正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容,并在第二输入框的第二标题区域显示所述第一目标输入内容,第二正文区域显示所述第二目标输入内容;在所述第一输入框包括正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述正文区域的所述目标输入内容,在第二输入框的第二正文区域显示所述目标输入内容。
在一些实施例中,所述至少一个内容编辑控件包括以下至少一个:
加粗、下划线、删除线、斜体、超链接、有序列表、无序列表、引用。
本公开实施例提供的装置可用于执行上述各方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
本公开实施例还提供了一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述处理器执行所述计算机程序时实现上述方法实施例的步骤。
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的步骤。
本公开实施例还提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行本公开上述方法实施例的步骤。
第一方面,本公开提供了一种即时通讯软件的内容输入方法,所述即时通讯软件包括第一输入框和第二输入框,所述第一输入框和所述第二输入框通过切换控件切换,所述第一输入框和所述第二输入框的尺寸不同;
接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容;
响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。
在一些实施例中,所述方法,还包括:
响应于对目标编辑控件的触发,基于所述目标编辑控件对应的目标编辑方式处理所述第一输入框或第二输入框内的目标输入内容。
在一些实施例中,所述方法,还包括:
响应于对所述切换控件的触发,变化所述第一输入框的尺寸得到所述第二输入框。
在一些实施例中,所述方法,还包括:
响应于对所述第一输入框或第二输入框内显示的第一按钮的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件;
或者,
响应于对所述第一输入框或第二输入框内显示的目标输入内容的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
在一些实施例中,所述第一输入框和第二输入框共用一个草稿箱;
所述接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容,包括:
在所述第一输入框内显示所述目标输入内容,并将所述目标输入内容保存到草稿箱中;
所述响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容,包括:
响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示。
在一些实施例中,所述至少一个内容编辑控件的显示位置与所述目标输入内容的位置相关。
在一些实施例中,所述第一输入框的尺寸大于所述第二输入框的尺寸,所述第一 输入框包括:第一标题区域和第一正文区域;
所述响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示,包括:
响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容;
若所述第一目标输入内容为空,则在第二输入框内的正文区域显示所述第二目标输入内容,所述第二输入框仅包括正文区域;
若所述第一目标输入内容不为空,则在第二输入框的第二标题区域显示所述第一目标输入内容,第二正文区域显示所述第二目标输入内容,所述第二输入框包括第二标题区域和第二正文区域。
在一些实施例中,所述第一输入框的尺寸小于所述第二输入框的尺寸,所述第一输入框包括:正文区域;或者,所述第一输入框包括:第一标题区域和第一正文区域;所述第二输入框包括:第二标题区域和第二正文区域;
所述响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示,包括:
在所述第一输入框包括第一标题区域和第一正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容,并在第二输入框的第二标题区域显示所述第一目标输入内容,第二正文区域显示所述第二目标输入内容;
在所述第一输入框包括正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述正文区域的所述目标输入内容,在第二输入框的第二正文区域显示所述目标输入内容。
在一些实施例中,所述至少一个内容编辑控件包括以下至少一个:
加粗、下划线、删除线、斜体、超链接、有序列表、无序列表、引用。
第二方面,本公开提供一种即时通讯软件的内容输入装置,所述即时通讯软件包括第一输入框和第二输入框,所述第一输入框和所述第二输入框通过切换控件切换,所述第一输入框和所述第二输入框的尺寸不同;
所述装置,包括:
第一显示模块,用于接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容;
第二显示模块,用于响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。
在一些实施例中,还包括:
处理模块,用于响应于对目标编辑控件的触发,基于所述目标编辑控件对应的目标编辑方式处理所述第一输入框或第二输入框内的目标输入内容。
在一些实施例中,还包括:
变化模块,用于响应于对所述切换控件的触发,变化所述第一输入框的尺寸得到所述第二输入框。
在一些实施例中,第一显示模块,还用于响应于对所述第一输入框内显示的第一按钮的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目 标编辑控件。
第二显示模块,还用于响应于对所述第二输入框内显示的第一按钮的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
在一些实施例中,第一显示模块,还用于响应于对所述第一输入框内显示的目标输入内容的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
第二显示模块,还用于响应于对所述第二输入框内显示的目标输入内容的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
在一些实施例中,所述第一输入框和第二输入框共用一个草稿箱。
第一显示模块,进一步用于在所述第一输入框内显示所述目标输入内容,并将所述目标输入内容保存到草稿箱中。
第二显示模块,进一步用于响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示。
在一些实施例中,所述至少一个内容编辑控件的显示位置与所述目标输入内容的位置相关。
在一些实施例中,所述第一输入框的尺寸大于所述第二输入框的尺寸,所述第一输入框包括:第一标题区域和第一正文区域。
第二显示模块,进一步用于响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容;若所述第一目标输入内容为空,则在第二输入框内的正文区域显示所述第二目标输入内容,所述第二输入框仅包括正文区域;若所述第一目标输入内容不为空,则在第二输入框的第二标题区域显示所述第一目标输入内容,第二正文区域显示所述第二目标输入内容,所述第二输入框包括第二标题区域和第二正文区域。
在一些实施例中,所述第一输入框的尺寸小于所述第二输入框的尺寸,所述第一输入框包括:正文区域;或者,所述第一输入框包括:第一标题区域和第一正文区域;所述第二输入框包括:第二标题区域和第二正文区域。
第二显示模块,进一步用于在所述第一输入框包括第一标题区域和第一正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容,并在第二输入框的第二标题区域显示所述第一目标输入内容,第二正文区域显示所述第二目标输入内容;在所述第一输入框包括正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述正文区域的所述目标输入内容,在第二输入框的第二正文区域显示所述目标输入内容。
在一些实施例中,所述至少一个内容编辑控件包括以下至少一个:
加粗、下划线、删除线、斜体、超链接、有序列表、无序列表、引用。
第三方面,本公开提供了一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述处理器执行所述计算机程序时实现第一方面提供的任一种方法。
第四方面,本公开提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现第一方面提供的任一种方法。
第五方面,本公开提供了一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面提供的任一种方法。
第六方面,本公开提供一种计算机程序,包括:指令,指令当由处理器执行时使处理器执行根据任一个实施例中的内容输入方法。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (16)

  1. 一种即时通讯软件的内容输入方法,包括:
    接收向第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容,所述即时通讯软件包括所述第一输入框和第二输入框,所述第一输入框和所述第二输入框通过切换控件切换,所述第一输入框和所述第二输入框的尺寸不同;
    响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。
  2. 根据权利要求1所述的内容输入方法,还包括:
    响应于对目标编辑控件的触发,基于所述目标编辑控件对应的目标编辑方式,处理所述第一输入框或第二输入框内的目标输入内容。
  3. 根据权利要求1所述的内容输入方法,还包括:
    响应于对所述切换控件的触发,变化所述第一输入框的尺寸得到所述第二输入框。
  4. 根据权利要求2所述的内容输入方法,还包括:
    响应于对所述第一输入框或第二输入框内显示的第一按钮的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件;
  5. 根据权利要求2所述的内容输入方法,还包括:
    响应于对所述第一输入框或第二输入框内显示的目标输入内容的触发,显示至少一个内容编辑控件,所述至少一个内容编辑控件中包括所述目标编辑控件。
  6. 根据权利要求1所述的内容输入方法,其中,所述第一输入框和第二输入框共用一个草稿箱,
    所述接收向所述第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容,包括:
    在所述第一输入框内显示所述目标输入内容,并将所述目标输入内容保存到所述草稿箱中;
    所述响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容,包括:
    响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示。
  7. 根据权利要求4所述的内容输入方法,其中,所述至少一个内容编辑控件的显示位置与所述目标输入内容的位置相关。
  8. 根据权利要求6所述的内容输入方法,其中,所述第一输入框的尺寸大于所述第二输入框的尺寸,所述第一输入框包括第一标题区域和第一正文区域,
    所述响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在 所述第二输入框内显示,包括:
    响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容。
  9. 根据权利要求8所述的内容输入方法,其中,所述响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示,包括:
    若所述第一目标输入内容为空,则在第二输入框内的正文区域显示所述第二目标输入内容,所述第二输入框仅包括正文区域;
    若所述第一目标输入内容不为空,则在第二输入框的第二标题区域显示所述第一目标输入内容,在第二正文区域显示所述第二目标输入内容,所述第二输入框包括第二标题区域和第二正文区域。
  10. 根据权利要求6所述的内容输入方法,其中,
    所述第一输入框的尺寸小于所述第二输入框的尺寸,
    所述第一输入框包括正文区域,或者所述第一输入框包括第一标题区域和第一正文区域,所述第二输入框包括第二标题区域和第二正文区域,
    所述响应于对所述切换控件的触发,从所述草稿箱获取所述目标输入内容,并在所述第二输入框内显示,包括:
    在所述第一输入框包括第一标题区域和第一正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述第一标题区域的第一目标输入内容和所述第一正文区域的第二目标输入内容,并在第二输入框的第二标题区域显示所述第一目标输入内容,在第二正文区域显示所述第二目标输入内容;
    在所述第一输入框包括正文区域的情况下,响应于对所述切换控件的触发,从所述草稿箱获取所述正文区域的所述目标输入内容,在第二输入框的第二正文区域显示所述目标输入内容。
  11. 根据权利要求4所述的内容输入方法,其中,所述至少一个内容编辑控件包括以下至少一个:
    加粗、下划线、删除线、斜体、超链接、有序列表、无序列表或引用。
  12. 一种即时通讯软件的内容处理装置,包括:
    第一显示模块,用于接收向第一输入框输入的目标输入内容,在所述第一输入框内显示所述目标输入内容,所述即时通讯软件包括所述第一输入框和第二输入框,所述第一输入框和所述第二输入框通过切换控件切换,所述第一输入框和所述第二输入框的尺寸不同;
    第二显示模块,用于响应于对所述切换控件的触发,在所述第二输入框内显示所述目标输入内容。
  13. 一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述处理器执行所述计算机程序时实现权利要求1-11任一项所述的内容输入方 法。
  14. 一种非易失性计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-11任一项所述的内容输入方法。
  15. 一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行权利要求1-11任一项所述的内容输入方法。
  16. 一种计算机程序,包括:
    指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1-11任一项所述的内容输入方法。
PCT/CN2022/130637 2021-11-12 2022-11-08 即时通讯软件的内容输入方法、装置、设备和介质 WO2023083181A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111341329.0A CN114063855A (zh) 2021-11-12 2021-11-12 即时通讯软件的内容输入方法、装置、设备和介质
CN202111341329.0 2021-11-12

Publications (1)

Publication Number Publication Date
WO2023083181A1 true WO2023083181A1 (zh) 2023-05-19

Family

ID=80271691

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/130637 WO2023083181A1 (zh) 2021-11-12 2022-11-08 即时通讯软件的内容输入方法、装置、设备和介质

Country Status (2)

Country Link
CN (1) CN114063855A (zh)
WO (1) WO2023083181A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063855A (zh) * 2021-11-12 2022-02-18 北京字跳网络技术有限公司 即时通讯软件的内容输入方法、装置、设备和介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427134A (zh) * 2019-08-09 2019-11-08 网易(杭州)网络有限公司 即时通讯的数据处理方法、装置、设备及可读存储介质
CN112099678A (zh) * 2019-06-18 2020-12-18 腾讯科技(深圳)有限公司 一种文本处理方法、装置以及计算机可读存储介质
CN113050808A (zh) * 2021-04-22 2021-06-29 北京百度网讯科技有限公司 在输入框中突出显示目标文本的方法及装置
CN114063855A (zh) * 2021-11-12 2022-02-18 北京字跳网络技术有限公司 即时通讯软件的内容输入方法、装置、设备和介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156014A (zh) * 2016-07-29 2016-11-23 宇龙计算机通信科技(深圳)有限公司 一种信息处理方法及装置
CN107765980A (zh) * 2017-09-29 2018-03-06 珠海市魅族科技有限公司 输入方法及装置、终端设备和计算机可读存储介质
CN112740148A (zh) * 2018-09-28 2021-04-30 华为技术有限公司 一种向输入框中输入信息的方法及电子设备
CN109299441A (zh) * 2018-09-29 2019-02-01 况客科技(北京)有限公司 一种文章编辑方法及系统
CN109460180B (zh) * 2018-11-01 2022-05-31 联想(北京)有限公司 控制方法和电子设备
CN111221661A (zh) * 2018-11-27 2020-06-02 奇酷互联网络科技(深圳)有限公司 智能编辑的方法、移动终端和计算机可读存储介质
CN111507073A (zh) * 2020-04-10 2020-08-07 甯航 一种基于web富文本的论文编辑与智能排版方法及平台

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099678A (zh) * 2019-06-18 2020-12-18 腾讯科技(深圳)有限公司 一种文本处理方法、装置以及计算机可读存储介质
CN110427134A (zh) * 2019-08-09 2019-11-08 网易(杭州)网络有限公司 即时通讯的数据处理方法、装置、设备及可读存储介质
CN113050808A (zh) * 2021-04-22 2021-06-29 北京百度网讯科技有限公司 在输入框中突出显示目标文本的方法及装置
CN114063855A (zh) * 2021-11-12 2022-02-18 北京字跳网络技术有限公司 即时通讯软件的内容输入方法、装置、设备和介质

Also Published As

Publication number Publication date
CN114063855A (zh) 2022-02-18

Similar Documents

Publication Publication Date Title
US10990268B2 (en) Operation method and terminal device
US10089056B2 (en) Device, method, and graphical user interface for collaborative editing in documents
US20190121472A1 (en) Method for providing message function and electronic device thereof
JP6138866B2 (ja) 文書操作のためのデバイス、方法及びグラフィカルユーザインタフェース
US9710125B2 (en) Method for generating multiple windows frames, electronic device thereof, and computer program product using the method
US10338793B2 (en) Messaging with drawn graphic input
CN109710909B (zh) 内容获取方法、装置、终端及存储介质
US8756534B2 (en) Methods and graphical user interfaces for editing on a multifunction device with a touch screen display
WO2019037359A1 (zh) 一种分屏显示的方法、装置及终端
KR101273396B1 (ko) 통신단말장치 및 이를 이용한 통신시스템
JP7334362B2 (ja) 文書内テーブル閲覧方法、装置、電子機器及び記憶媒体
WO2008044321A1 (fr) Logiciel et système informatique de support d'opération
CN113282424B (zh) 信息引用方法、装置和电子设备
CN112988006B (zh) 显示方法、装置、电子设备和存储介质
WO2022156668A1 (zh) 信息处理方法和电子设备
WO2023083181A1 (zh) 即时通讯软件的内容输入方法、装置、设备和介质
CN111638838A (zh) 文本编辑方法、装置及电子设备
US9830056B1 (en) Indicating relationships between windows on a computing device
WO2018219261A1 (zh) 文本重组方法、装置、终端设备及计算机可读存储介质
WO2016173307A1 (zh) 一种消息复制方法和装置、以及智能终端
CN113849092A (zh) 内容分享方法、装置和电子设备
WO2024012508A1 (zh) 功能界面的显示方法和装置
CN112163432A (zh) 翻译方法、翻译装置和电子设备
CN113872849A (zh) 消息交互方法、装置及电子设备
CN112162681A (zh) 文本操作执行方法、装置及电子设备

Legal Events

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

Ref document number: 22891975

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022891975

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022891975

Country of ref document: EP

Effective date: 20240424