Instant messaging software content input method, device, equipment and medium

The switching mechanism between small and large input boxes in instant messaging software addresses the challenge of editing large content inputs, improving user convenience and visibility in instant messaging applications.

JP2024541239AActive Publication Date: 2024-11-08BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024525027
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-11-12
Filing Date
2022-11-08
Publication Date
2024-11-08
Estimated Expiration
2042-11-08

AI Technical Summary

Technical Problem

Existing instant messaging software lacks convenient methods for users to edit and manage input content, particularly when large amounts of text are entered, as the input box often obscures the received message content.

Method used

Implementing a switching mechanism between a small session interface input box and a larger rich text input box, allowing users to toggle between the two based on content size, enabling editing and display adjustments.

Benefits of technology

Enhances user convenience by allowing seamless switching between input boxes of different sizes, facilitating efficient editing and maintaining visibility of both input and received messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024541239000001_ABST
    Figure 2024541239000001_ABST
Patent Text Reader

Abstract

The present disclosure relates to a content input method, device, equipment, and medium for instant messaging software, the instant messaging software including a first input box and a second input box, the first input box and the second input box being switched by a switching control, the first input box and the second input box being different in size, receiving a target input content to be input in the first input box, displaying the target input content in the first input box, and displaying the target input content in the second input box in response to a trigger on the switching control.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application is based on and claims priority from Chinese Patent Application No. 202111341329.0 filed on November 12, 2021. The disclosure of the aforementioned Chinese patent application is hereby incorporated by reference in its entirety into this application.

[0002] [Technical field] The present disclosure relates to the technical field of the Internet, and in particular to a content input method, device, equipment and medium for instant messaging software. [Background technology]

[0003] With the rapid development of computer communication technology, the application of instant messaging (IM) software is becoming more and more widespread, allowing users to transmit text, pictures, files, and facial expressions through instant messaging software, which has brought great convenience to users' lives and work.

[0004] In the related art, a user can input content through an input box, and after completing the input, the input content in the input box can be sent to a designated recipient to complete sending of a message. Summary of the Invention [Means for solving the problem]

[0005] According to a first aspect, the present disclosure provides a content input method for instant messaging software, the instant messaging software including a first input box and a second input box, the first input box and the second input box are switched by a switching control, and a size of the first input box and a size of the second input box are different; receiving a target input content to be input into the first input box and displaying the target input content within the first input box; In response to a trigger on the switching control, the target input content is displayed in the second input box.

[0006] According to a second aspect, the present disclosure provides a content input device for instant messaging software, the instant messaging software including a first input box and a second input box, the first input box and the second input box are switched by a switching control, and a size of the first input box and a size of the second input box are different; The apparatus comprises: a first display module for receiving a target input content to be input into the first input box and displaying the target input content within the first input box; and a second display module for displaying the target input content within the second input box in response to a trigger on the switching control.

[0007] According to a third aspect, the present disclosure provides an electronic device, the electronic device including a processor, the processor adapted to execute a computer program stored in a memory, the processor implementing any one of the methods according to the first aspect when executing the computer program.

[0008] According to a fourth aspect, the present disclosure provides a computer readable storage medium having a computer program stored thereon, the computer readable storage medium being characterized in that, when the computer program is executed by a processor, it realises any one of the methods according to the first aspect.

[0009] According to a fifth aspect, the present disclosure provides a computer program product, which when executed on a computer causes the computer to perform any one of the methods according to the first aspect.

[0010] According to a sixth aspect, the present disclosure provides a computer program comprising instructions, which when executed by a processor, cause the processor to perform the content input method according to any one of the embodiments. [Brief description of the drawings]

[0011] The drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure.

[0012] In order to more clearly describe the technical solutions in the embodiments or prior art of the present disclosure, the following briefly introduces drawings that need to be used in the description of the embodiments or prior art, and it is obvious that those skilled in the art can also derive other drawings based on these drawings without exerting creative efforts. [Figure 1A] 1A-1D are schematic diagrams of some examples of input boxes according to the present disclosure. [Figure 1B] FIG. 2 is a schematic diagram of another input box according to the present disclosure. [Diagram 2] 4 is a flow chart of some example content entry methods for instant messaging software according to the present disclosure. [Diagram 3] 4 is a flowchart of some example content entry methods for another instant messaging software according to the present disclosure. [Figure 4A] 2A-2C are schematic diagrams of several example display screens of instant messaging software according to the present disclosure. [Figure 4B] 3A-3C are schematic diagrams of several example display screens of another instant messaging software according to the present disclosure. [Figure 5A]4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 5B] 4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 6] 4 is a flowchart of some example embodiments of a content entry method for another instant messaging software according to the present disclosure. [Figure 7A] 4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 7B] 4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 8] 4 is a flowchart of some example embodiments of a content entry method for another instant messaging software according to the present disclosure. [Figure 9A] 3A-3C are schematic diagrams of several example display screens of another instant messaging software according to the present disclosure. [Figure 9B] 4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 10] 4 is a flowchart of some example embodiments of a content entry method for another instant messaging software according to the present disclosure. [Figure 11] 4 is a flowchart of some example embodiments of a content entry method for another instant messaging software according to the present disclosure. [Figure 12A] 4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 12B] 4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 12C] 4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 12D] 4A-4C are schematic diagrams of several example display screens of yet another instant messaging software according to the present disclosure. [Figure 13] 4 is a flowchart of some example embodiments of a content entry method for another instant messaging software according to the present disclosure. [Figure 14] 1 is a structural schematic diagram of some embodiments of a content input device for instant messaging software according to the present disclosure; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] In order to make the above objectives, features and advantages of the present disclosure more clearly understandable, the present disclosure will be further described below. It should be explained that, unless contradictory, the embodiments and features in the embodiments of the present disclosure may be combined with each other.

[0014] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure; however, the present disclosure may be practiced in ways not described herein. Apparently, the embodiments in the specification are merely some embodiments of the present disclosure, but not all of the embodiments.

[0015] The technical solution of the present disclosure can be applied to a terminal device, where the terminal device may be a computer, a tablet, a mobile phone, or other smart electronic device, etc. The terminal device has a display screen, where the display screen may be a touch screen or a non-touch screen, and for a terminal device with a touch screen, a user can realize an interaction operation with the terminal device by gestures, fingers, or a touch tool (e.g., a touch pen). For a terminal device with a non-touch screen, a user can realize an interaction operation with the terminal device by an external device (e.g., a mouse or a keyboard, etc.).

[0016] As mentioned above, the content that can be presented in the input box in IM software is limited, making it inconvenient for users to edit the content they input.

[0017] In view of the above technical problems, the present disclosure provides a content input method, device, equipment and medium for instant messaging software, so as to facilitate users to edit the content they input.

[0018] Fig. 1A is a schematic diagram of some examples of an input box according to the present disclosure, and Fig. 1B is a schematic diagram of some examples of another input box according to the present disclosure, a user can select a message recipient in an IM client and establish a session with the recipient, as shown in Fig. 1A, an input box is displayed in the session display interface of the IM software, the user can input content into the input box of the session interface, and after completing the content input, the input content in the input box of the session interface can be sent to the recipient by triggering the operation of message sending, thereby realizing the sending of the message. As shown in Fig. 1A, in order to avoid the occlusion of the content of the received message, the input box of the session display interface can be set small, but when a user inputs a large amount of content, it is inconvenient to check and edit the input content in the input box of the session interface.

[0019] To solve this problem, a switching control can be set in the input box of the session interface, and the rich text input box can be set large so that it can cover the session display interface by triggering the switching control, as shown in Figure 1B, in this way, when a user inputs a large amount of content, it is convenient for the user to check and edit the input content in the rich text input box. As shown in Figure 1B, a switching control can also be set in the rich text input box, and the switching control can be triggered to switch back to the input box of the session interface shown in Figure 1A.

[0020] In summary, by triggering the switching control, the input box of the session interface can be switched to a rich text input box, and the rich text input box can be switched to an input box of the session interface. The size of the rich text input box is different from the size of the input box of the session interface, for example, the size of the rich text input box is relatively large, and the size of the input box of the session interface is relatively small, so that the switching between the large input box and the small input box can be realized. In this way, the user's demand for input boxes of different sizes in different scenarios can be met.

[0021] In the technical solution of the present disclosure, the first input box is an input box of a session interface, and the corresponding second input box is a rich text input box, or the first input box is a rich text input box, and the corresponding second input box is an input box of a session interface.

[0022] Figures 1, 4, 5, 7, 9 and 12 in this disclosure are merely schematic diagrams of some examples of input boxes in an interface and are not intended to limit the location of the input boxes in the interface or the proportion of the entire interface.

[0023] In the technical solution disclosed herein, 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 size of the first input box and the size of the second input box are different, so that switching between a large input box and a small input box can be realized. The target input content to be input into the first input box is displayed in the first input box by receiving the target input content, and the target input content is displayed in the second input box in response to a trigger on the switching control. Thus, the input content displayed in the large input box and the input content displayed in the small input box are synchronized, so that the content to be input into the small input box can be displayed in the large-sized input box, which is convenient for the user to edit the content to be input.

[0024] The technical solutions of the present disclosure will be described below in examples.

[0025] FIG. 2 is a flowchart of several embodiments of a content input method for instant messaging software according to the present disclosure, as shown in FIG. 2, specifically includes:

[0026] S101, receiving a target input content to be input into the first input box, and displaying the target input content in the first input box.

[0027] The IM software includes a first input box and a second input box, the first input box and the second input box being switched by a switching control, and the first input box and the second input box being different in size.

[0028] Exemplarily, the first input box is an input box of the session interface shown in FIG. 1A, and the corresponding second input box is a rich text input box shown in FIG. 1B, or the first input box is a rich text input box shown in FIG. 1B, and the corresponding second input box is an input box of the session interface shown in FIG. 1A. When the first input box is an input box of the session interface shown in FIG. 1A, the first input box can be switched to the rich text input box shown in FIG. 1B, i.e., the second input box, by triggering a switch control in the first input box, and the small input box can be switched to the large input box. When the first input box is a rich text input box shown in FIG. 1B, the first input box can be switched to the input box of the session interface shown in FIG. 1A, i.e., the second input box, by triggering a switch control in the first input box, and the large input box can be switched to the small input box.

[0029] For example, as shown in Fig. 1A, when the first input box is an input box of a session interface and the target input content input by the user into the first input box is "I am Chinese", "I am Chinese" is displayed in the first input box as shown in Fig. 1A. Also, for example, as shown in Fig. 1B, when the first input box is a rich text input box and the target input content input by the user into the first input box is "I am Chinese", "I am Chinese" is displayed in the first input box.

[0030] S103, in response to a trigger on the switching control, displaying the target input content in the second input box.

[0031] For example, the first input box is the input box of the session interface shown in FIG. 1A. As shown in FIG. 1A, the first input box displays “I am Chinese”. When it is necessary to switch to the second input box, a switch control in the first input box is selected to be triggered. In response to the triggering of the switch control, the second input box is also displayed with the target input content of “I am Chinese”, as shown in FIG. 1B. Thus, the target input content in the small input box can be synchronously displayed in the large input box.

[0032] For example, the first input box is a rich text input box as shown in FIG. 1B, and as shown in FIG. 1B, the first input box displays “I am Chinese”. When it is necessary to switch to the second input box, the user selects to trigger the switching control in the first input box, and in response to the triggering of the switching control, the user switches to the second input box, and as shown in FIG. 1A, the second input box also displays the target input content of “I am Chinese”. Thus, the target input content in the larger input box can be synchronously displayed in the smaller input box.

[0033] In this embodiment, 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 between by a switching control. The size of the first input box and the size of the second input box are different, so that switching between a large input box and a small input box can be realized. By receiving a target input content to be input into the first input box, the target input content is displayed in the first input box, and in response to a trigger for the switching control, the input content displayed in the large input box and the input content displayed in the small input box can be synchronized, and the content to be input into the small input box can be displayed in the large-sized input box, which is convenient for the user to edit the content to be input.

[0034] FIG. 3 is a flowchart of several embodiments of a content input method for another instant messaging software according to the present disclosure, which on the basis of the embodiment shown in FIG. 2 further includes:

[0035] S105, in response to a trigger for a target edit control, processing the target input content in the first input box or the second input box according to a target edit manner corresponding to the target edit control.

[0036] The target edit control may be one of a bold edit control, an underline edit control, a strikethrough edit control, an italics edit control, a hyperlink edit control, an ordered list edit control, an unordered list edit control, and a quote edit control, and accordingly, the target edit manner may be one of bold, add underline, add strikethrough, italics, add hyperlink, arrange in an ordered list manner, arrange in an unordered list manner, and quote. In other embodiments, the target edit control may be another edit control such as a font color edit control or a font type edit control, and this embodiment is not specifically limited thereto.

[0037] In actual application, a user can select one from multiple content edit controls presented in the IM client according to his or her own actual needs, and the content edit control selected by the user is the target edit control. For example, as shown in FIG. 4A, when the user needs to present the target input content in an underline presentation style, the underline edit control can be selected and triggered as the target edit control.

[0038] After a user receives a trigger for a target edit control, in response to the trigger operation, for example, as shown in FIG. 4B, the target edit control may be an underline edit control, and in response to the trigger for the underline edit control, an underline may be added to the target input content in the target input box, thereby presenting the target input content in an underline presentation style.

[0039] In other embodiments, when the target edit control is a bold edit control, the target edit manner is bold, and a bold process is performed on the target input content to present the target input content in a bold presentation style; or when the target edit control is a strikethrough edit control, the target edit manner is add strikethrough, and a strikethrough process is performed on the target input content to present the target input content in a strikethrough presentation style; or when the target edit control is an italic edit control, the target edit manner is slant, and a slant process is performed on the target input content to present the target input content in a slant presentation style; or when the target edit control is an italic edit control, the target edit manner is slant, and a slant process is performed on the target input content to present the target input content in a slant presentation style. is a hyperlink edit control, the target edit method is link setting, where an associated link is set for the target input content, thereby presenting the target input content in a hyperlink presentation style; or, when the target edit control is an ordered list edit control, the target edit method is number ordering, where the target input content is ordered and presented in an ordered list presentation style; or, when the target edit control is an unordered list edit control, the target edit method is random arrangement, where the target input content is arranged without an order number, thereby presenting the target input content in an unordered list presentation style.

[0040] It should be noted that FIG. 4 only illustrates an input box in the session interface as an example, and other embodiments may process the target input content in a rich text input box.

[0041] In some embodiments, the target input content is all the input content in the first input box. For example, as shown in FIG. 4A, before a user inputs content into the first input box, the user triggers the underline edit control, and as shown in FIG. 4B, after triggering the underline edit control, the user inputs content into the first input box, and all the input content is presented in an underline presentation style, obviously, all the input content in the first input box is the target input content.

[0042] In some embodiments, the target input content is a part of the input content in the first input box. For example, as shown in FIG. 5A, a user inputs content into the first input box, and triggers the underline edit control after selecting the part of the input content; as shown in FIG. 5B, after triggering the underline edit control, the selected input content is presented in an underline presentation style, and obviously, the part of the input content in the first input box is the target input content.

[0043] In this embodiment, in response to a trigger for a target editing control, the target input content in the first input box or the second input box can be processed based on the target editing method corresponding to the target editing control to change the presentation style of the target input content, so that the target input content can be presented to the user in different presentation styles, and the diversity of content editing capabilities can be increased, thereby meeting the user's demand for diversity of content editing capabilities.

[0044] Based on the above embodiment, the second input box may be obtained based on changing the size of the first input box.

[0045] Illustratively, when the first input box is an input box of the session interface shown in Fig. 1A, the size of the first input box is enlarged to obtain a second input box in response to the trigger of the switching control, and when the first input box is a rich text input box shown in Fig. 1B, the size of the first input box is reduced to obtain a second input box in response to the trigger of the switching control.

[0046] FIG. 6 is a flowchart of some embodiments of a content input method for another instant messaging software according to the present disclosure. Based on the embodiment shown in FIG. 3, FIG. 6 provides a detailed description of an implementation manner of triggering the display of at least one content editing control before executing S105, as follows:

[0047] S104, in response to a trigger on a first button displayed in the first input box or the second input box, displaying at least one content editing control.

[0048] The at least one content edit control includes the target edit control.

[0049] 7A is a schematic diagram of some exemplary display screens of the instant messaging software according to the present disclosure, and illustratively, as shown in FIG 7A, a first button is displayed in the input box of the session interface, and a user can trigger the first button by clicking the first button, for example, the first button may be an "Aa" style button, and as shown in FIG 7B, at least one content editing control is displayed in response to the trigger operation of the first button.

[0050] In some embodiments, these content edit controls may include at least one of a bold edit control, an underline edit control, a strikethrough edit control, an italic edit control, a hyperlink edit control, an ordered list edit control, an unordered list edit control, and a quote edit control, and may include at least one other content edit control, such as a font color edit control and a font type edit control, and the embodiments are not specifically limited to content edit controls.

[0051] Based on at least one content edit control displayed, the user selects and triggers one of these content edit controls according to his / her own needs, and the content edit control selected by the user is the target edit control.

[0052] It should be noted that FIG. 7 only illustrates an input box in the session interface as an example, and in other embodiments, it may be a rich text input box.

[0053] In this embodiment, in response to a trigger on a first button displayed in the first input box or the second input box, at least one content editing control is displayed, and the at least one content editing control includes a target editing control. When there is no need to edit the input content, the content editing control is hidden, so that the display screen of the IM software can be made relatively simple and the user experience can be improved; and the first button is displayed in the first input box, which is convenient for the user to operate.

[0054] FIG. 8 is a flowchart of some embodiments of a content input method of another instant messaging software according to the present disclosure. Based on the embodiment shown in FIG. 3, FIG. 8 is a detailed description of another implementation manner of triggering the display of at least one content editing control before executing S103, as follows:

[0055] S104', displaying at least one content editing control in response to a trigger for the target input content displayed in the first input box or the second input box.

[0056] The at least one content edit control includes the target edit control.

[0057] FIG. 9A is a schematic diagram of some examples of a display screen of another instant messaging software according to the present disclosure. Illustratively, an input content that needs to be edited can be selected from an input box of the session interface shown in FIG. 9A, i.e., a target input content can be selected, and in response to the selection operation of the target input content, a floating toolbar can be displayed near the position where the target input content is located, and at least one content editing control is displayed in the floating toolbar.

[0058] In some embodiments, these content edit controls may include at least one of a bold edit control, an underline edit control, a strikethrough edit control, an italic edit control, a hyperlink edit control, an ordered list edit control, an unordered list edit control, and a quote edit control, and may include at least one other content edit control, such as a font color edit control and a font type edit control, and the embodiments are not specifically limited to content edit controls.

[0059] Based on at least one content editing control displayed in the floating toolbar, a user selects and triggers one of these content editing controls according to his / her own needs, and the content editing control selected by the user is the target editing control.

[0060] In this embodiment, in response to a trigger for a target input content displayed in the first input box or the second input box, at least one content editing control is displayed, and the at least one content editing control includes a target editing control. When there is no need to edit the input content, the content editing control is hidden, making the display screen relatively simple and improving the user experience; and a single button is set to trigger the display of the content editing control, further improving the simplicity of the display screen.

[0061] In some embodiments, based on the above embodiments, the display position of at least one content editing control and the position of the target input content are related.

[0062] Exemplarily, as shown in FIG. 9A, the floating toolbar is located near the region where the target input content is located, so that it is convenient for the user to perform trigger operations on the content editing controls, for example, the floating toolbar may be located at a position of 8 pt above the region where the target input content is located. In some embodiments, when the target input content is located near the edge of the input box, the corresponding floating toolbar is located within the display box and close to the region of the display box edge, as shown in FIG. 9A, to ensure that all content editing controls are fully displayed, for example, the floating toolbar is located within the display box and at a position of 8 pt from the display box edge. In some embodiments, when the target input content is located near the middle of the input box, the corresponding floating toolbar may be distributed symmetrically on both sides of the target input content, as shown in FIG. 9B, so that the aesthetics of the display screen can be maintained.

[0063] In this embodiment, the display position of at least one content editing control is associated with the position of the target input content, which is convenient for the user to operate and ensures the aesthetics of the display screen and the integrity of the content editing control.

[0064] FIG. 10 is a flowchart of some embodiments of a content input method for another instant messaging software according to the present disclosure. Based on the embodiment shown in FIG. 2, FIG. 10 is a detailed description of one possible implementation manner for executing S101, as follows:

[0065] S101', displaying the target input content in the first input box, and saving the target input content in a draft box.

[0066] The user inputs a target input content in the first input box, and after receiving the target input content input by the user, the target input content is saved in a draft box and the target input content is displayed in the first input box.

[0067] As a specific example of one possible implementation of S103, as shown in FIG. S103', in response to a trigger on the switching control, obtain the target input content from the draft box and display it in the second input box.

[0068] The first input box and the second input box share a single draft box, and in response to a trigger of the switching control, the second input box can retrieve a previously saved target input content displayed in the first input box from the draft box and display the target input content in the second input box.

[0069] In this embodiment, the first input box and the second input box share a draft box, the target input content is displayed in the first input box, and the target input content is stored in the draft box. In response to a trigger for the switching control, the target input content is obtained from the draft box and displayed in the second input box. There is no data transmission between the first input box and the second input box, and the synchronization efficiency of the target input content can be improved.

[0070] FIG. 11 is a flowchart of some embodiments of a content input method for another instant messaging software according to the present disclosure. Based on the embodiment shown in FIG. 10, FIG. 11 is a detailed description of one possible implementation manner for executing S103', as follows:

[0071] S201, in response to a trigger on the switching control, obtain a first target input content of the first title region and a second target input content of the first body region from the draft box.

[0072] The size of the first input box is larger than the size of the second input box, for example, the first input box is a rich text input box shown in FIG. 1B, and the second input box is an input box of the session interface shown in FIG. 1A.

[0073] The first input box includes a first title area and a first body area, the first title area can display a first target input content, and the first body area can display a second target input content. Here, the first target input content may not be empty, for example, as shown in FIG. 12A, the first target input content displayed in the first title area is "China", and the second target input content displayed in the first body area is "I am Chinese". The first target input content may be empty, as shown in FIG. 12C, the first title area does not display any content, and the second target input content displayed in the first body area is "I am Chinese".

[0074] Based on the above embodiment, a first target input content of a first title area and a second target input content of a first body area are stored in the draft box, and a user triggers a switching control in the first input box, and in response to the triggering of the switching control, the first target input content of the first title area and the second target input content of the first body area are obtained from the draft box.

[0075] S202, determining whether the first target input content is empty.

[0076] If so, execute S203; if not, execute S204.

[0077] S203, displaying the second target input content in a text area within a second input box including only a text area.

[0078] When the first target input content is empty, the second target input content stored in the draft box is obtained, and the second target input content is displayed in the body area of ​​the second input box, the displayed second input box only includes the body area, and there is no need to leave a title area for the first target input content, and the screen displayed in the second input box is relatively more aesthetic. For example, as shown in Fig. 12C, no content is displayed in the first title area, and the second target input content displayed in the first body area is "I am Chinese", and as shown in Fig. 12D, in response to the trigger of the switching control, there is no need to set a title area above the body area in the second input box, and the body area is placed on the top, and the second target input content "I am Chinese" is displayed in the body area.

[0079] S204, displaying the first target input content in a second title area of ​​a second input box including a second title area and a second body area, and displaying the second target input content in the second body area.

[0080] When the 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 in the second input box, and display the second target input content in the second body area, without affecting the presentation style of the first target input content and the second target input content. For example, as shown in FIG. 12A, display the first target input content "China" in the first title area, and display the second target input content "I am Chinese" in the first body area, and in response to the trigger of the switching control, the second input box displays the second title area and the second body area, where, as shown in FIG. 12B, display the first target input content "China" in the second title area, and display the second target input content "I am Chinese" in the second body area.

[0081] FIG. 13 is a flowchart of some embodiments of a content input method for another instant messaging software according to the present disclosure. Based on the embodiment shown in FIG. 10, FIG. 13 is a detailed description of another possible implementation manner when executing S103', as follows:

[0082] S301: when the first input box includes a first title area and a first body area, in response to a trigger for the switching control, obtain a first target input content of the first title area and a second target input content of the first body area from the draft box, and display the first target input content in the second title area of ​​a second input box and display the second target input content in the second body area.

[0083] The size of the first input box is smaller than the size of the second input box, for example, the first input box is the input box of the session interface shown in FIG. 1A, and the second input box is the rich text input box shown in FIG. 1B.

[0084] 12B, the first input box includes a first title area and a first body area, the first target input content is displayed in the first title area, and the second target input content is displayed in the first body area, and the first target input content and the second target input content are stored in the draft box. In response to a trigger on a user's switching control, 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 is displayed in the second body area of ​​the second input box.

[0085] For example, as shown in Fig. 12B, a first input box displays a first title area and a first body area, where a first target input content "China" is displayed in the first title area and a second target input content "I am Chinese" is displayed in the first body area. In response to triggering of the toggle control, a second input box displays a second title area and a second body area, where a first target input content "China" is displayed in the second title area and a second target input content "I am Chinese" is displayed in the second body area, as shown in Fig. 12A.

[0086] S301', when the first input box includes a body region, in response to a trigger for the switching control, obtain a target input content of the body region from the draft box, and display the target input content in a second body region of a second input box.

[0087] The size of the first input box is smaller than the size of the second input box, for example, the first input box is the input box of the session interface shown in FIG. 1A, and the second input box is the rich text input box shown in FIG. 1B.

[0088] Illustratively, the first input box only includes a body region, and the target input content is displayed in the body region, as shown in FIG. 12D, and only the target input content is stored in the draft box. In response to a user's trigger on the switching control, the target input content is obtained from the draft box, and the target input content is displayed in the second body region of the second input box.

[0089] For example, as shown in Figure 12D, a first input box displays only a body region and displays a target input content "I am Chinese" in the body region. In response to triggering of the toggle control, a second input box displays a second title region and a second body region, where the target input content "China" is displayed in the second body region and not in the second title region, as shown in Figure 12C.

[0090] The present disclosure further provides a content input device for instant messaging software. FIG. 14 is a structural schematic diagram of several embodiments of the content input device for instant messaging software according to the present disclosure. As shown in FIG. 14, the content input device for instant messaging software includes: a first display module 110 for receiving a target input content to be input into the first input box and displaying the target input content in the first input box; and a second display module 120 for displaying the target input content in the second input box in response to a trigger on the switching control.

[0091] In some embodiments, The device further includes a processing module for processing a target input content in the first input box or the second input box based on a target editing strategy corresponding to the target editing control in response to a trigger for the target editing control.

[0092] In some embodiments, The switch further includes a transformation module for resizing the first input box to obtain the second input box in response to a trigger on the switch control.

[0093] In some embodiments, the first display module 110 is further adapted to display at least one content edit control in response to a trigger on a first button displayed in the first input box, the at least one content edit control including the target edit control.

[0094] The second display module 120 is further used to display at least one content edit control in response to a trigger on a first button displayed in the second input box, the at least one content edit control including the target edit control.

[0095] In some embodiments, the first display module 110 is further adapted to display at least one content edit control in response to a trigger for a target input content displayed in the first input box, the at least one content edit control including the target edit control.

[0096] The second display module 120 is further used to display at least one content edit control in response to a trigger for a target input content displayed in the second input box, the at least one content edit control including the target edit control.

[0097] In some embodiments, the first input box and the second input box share a single draft box.

[0098] The first display module 110 is further used for displaying the target input content in the first input box and storing the target input content in a draft box.

[0099] A second display module 120 is further used for retrieving the target input content from the draft box and displaying it in the second input box in response to a trigger on the switching control.

[0100] In some embodiments, the display position of the at least one content editing control and the position of the target input content are relative.

[0101] In some embodiments, a size of the first input box is larger than a size of the second input box, and the first input box includes a first title area and a first body area.

[0102] The second display module 120 is further used to, in response to a trigger on the switching control, retrieve a first target input content in the first title area and a second target input content in the first body area from the draft box, and, when the first target input content is empty, display the second target input content in a body area in a second input box including only a body area, and, when the first target input content is not empty, display the first target input content in a second title area of ​​a second input box including a second title area and a second body area, and display the second target input content in the second body area.

[0103] In some embodiments, a size of the first input box is smaller than a size of the second input box, and the first input box includes a body area, or the first input box includes a first title area and a first body area, and the second input box includes a second title area and a second body area.

[0104] The second display module 120 is further used to, in response to a trigger on the switching control, obtain a first target input content of the first title area and a second target input content of the first body area from the draft box, 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 body area, when the first input box includes a first title area and a first body area, and to, in response to a trigger on the switching control, obtain the target input content of the body area from the draft box, and display the target input content in the second body area of ​​the second input box, when the first input box includes a body area.

[0105] In some embodiments, the at least one content editing control comprises: Includes at least one of the following: bold, underline, strikethrough, italics, hyperlink, ordered list, unordered list, and citation.

[0106] The apparatus according to the embodiments of the present disclosure may be used to implement the technical solutions of the embodiments of the above methods, and the realization principles and technical effects thereof are similar, and will not be further described here.

[0107] An embodiment of the present disclosure further provides an electronic device, the electronic device including a processor, the processor being adapted to execute a computer program stored in a memory, the processor implementing steps of the above method embodiments when executing the computer program.

[0108] An embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above method embodiments.

[0109] An embodiment of the present disclosure further provides a computer program product, which, when executed on a computer, causes the computer to perform the steps of the embodiment of the method of the present disclosure.

[0110] According to a first aspect, the present disclosure provides a content input method for instant messaging software, the instant messaging software including a first input box and a second input box, the first input box and the second input box are switched by a switching control, and a size of the first input box and a size of the second input box are different; receiving a target input content to be input into the first input box and displaying the target input content within the first input box; In response to a trigger on the switching control, the target input content is displayed in the second input box.

[0111] In some embodiments, the method further comprises: The method further includes, in response to a trigger for a target edit control, processing a target input content in the first input box or the second input box based on a target edit strategy corresponding to the target edit control.

[0112] In some embodiments, the method further comprises: The method further includes, in response to a trigger on the switching control, resizing the first input box to obtain the second input box.

[0113] In some embodiments, the method further comprises: displaying at least one content edit control in response to a trigger on a first button displayed in the first input box or the second input box, the at least one content edit control including the target edit control; Or, The method further includes displaying at least one content edit control in response to a trigger for a target input content displayed in the first input box or the second input box, the at least one content edit control including the target edit control.

[0114] In some embodiments, the first input box and the second input box share a single draft box; receiving a target input content to be input into the first input box and displaying the target input content in the first input box includes: displaying the target input in the first input box and saving the target input in a draft box; displaying the target input content in the second input box in response to a trigger on the switching control, In response to a trigger on the switching control, retrieving the target input content from the draft box and displaying it in the second input box.

[0115] In some embodiments, the display position of the at least one content editing control and the position of the target input content are relative.

[0116] In some embodiments, a size of the first input box is larger than a size of the second input box, and the first input box includes a first title area and a first body area; retrieving the target input content from the draft box and displaying it in the second input box in response to a trigger on the switching control, obtaining a first target input content for the first title region and a second target input content for the first body region from the draft box in response to a trigger on the switching control; If the first target input is empty, displaying the second target input in a body region within a second input box including only a body region; When the first target input content is not empty, displaying the first target input content in a second title area of ​​a second input box including a second title area and a second body area, and displaying the second target input content in the second body area.

[0117] In some embodiments, a size of the first input box is smaller than a size of the second input box, the first input box includes a body area, or the first input box includes a first title area and a first body area, and the second input box includes a second title area and a second body area; retrieving the target input content from the draft box and displaying it in the second input box in response to a trigger on the switching control, When the first input box includes a first title area and a first body area, in response to a trigger on the switching control, obtain a first target input content of the first title area and a second target input content of the first body area from the draft box, and display the first target input content in the second title area of ​​a second input box and the second target input content in the second body area; When the first input box includes a body text area, in response to a trigger on the switching control, obtaining the target input content of the body text area from the draft box and displaying the target input content in a second body text area of ​​a second input box.

[0118] In some embodiments, the at least one content editing control comprises: Includes at least one of the following: bold, underline, strikethrough, italics, hyperlink, ordered list, unordered list, and citation.

[0119] According to a second aspect, the present disclosure provides a content input device for instant messaging software, the instant messaging software including a first input box and a second input box, the first input box and the second input box are switched by a switching control, and a size of the first input box and a size of the second input box are different; The apparatus comprises: a first display module for receiving a target input content to be input into the first input box and displaying the target input content within the first input box; and a second display module for displaying the target input content within the second input box in response to a trigger on the switching control.

[0120] In some embodiments, The device further includes a processing module for processing a target input content in the first input box or the second input box based on a target editing strategy corresponding to the target editing control in response to a trigger for the target editing control.

[0121] In some embodiments, The switch further includes a transformation module for resizing the first input box to obtain the second input box in response to a trigger on the switch control.

[0122] In some embodiments, the first display module is further adapted to display at least one content edit control in response to a trigger on a first button displayed in the first input box, the at least one content edit control including the target edit control.

[0123] The second display module is further used for displaying at least one content edit control in response to a trigger on a first button displayed in the second input box, the at least one content edit control including the target edit control.

[0124] In some embodiments, the first display module is further adapted to display at least one content edit control in response to a trigger for a target input content displayed in the first input box, the at least one content edit control including the target edit control.

[0125] The second display module is further used to display at least one content edit control in response to a trigger for a target input content displayed in the second input box, the at least one content edit control including the target edit control.

[0126] In some embodiments, the first input box and the second input box share a single draft box.

[0127] The first display module is further used for displaying the target input content in the first input box and storing the target input content in a draft box.

[0128] A second display module is further used for retrieving the target input content from the draft box and displaying it in the second input box in response to a trigger on the switching control.

[0129] In some embodiments, the display position of the at least one content editing control and the position of the target input content are relative.

[0130] In some embodiments, a size of the first input box is larger than a size of the second input box, and the first input box includes a first title area and a first body area.

[0131] The second display module is further used to, in response to a trigger on the switching control, retrieve a first target input content in the first title area and a second target input content in the first body area from the draft box, and, when the first target input content is empty, display the second target input content in a body area in a second input box including only a body area, and, when the first target input content is not empty, display the first target input content in a second title area of ​​a second input box including a second title area and a second body area, and display the second target input content in the second body area.

[0132] In some embodiments, a size of the first input box is smaller than a size of the second input box, and the first input box includes a body area, or the first input box includes a first title area and a first body area, and the second input box includes a second title area and a second body area.

[0133] The second display module is further used to, in response to a trigger on the switching control, obtain a first target input content of the first title area and a second target input content of the first body area from the draft box, 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 body area, when the first input box includes a first title area and a first body area, and to, in response to a trigger on the switching control, obtain the target input content of the body area from the draft box, and display the target input content in the second body area of ​​the second input box, when the first input box includes a body area.

[0134] In some embodiments, the at least one content editing control comprises: Includes at least one of the following: bold, underline, strikethrough, italics, hyperlink, ordered list, unordered list, and citation.

[0135] According to a third aspect, the present disclosure provides an electronic device, the electronic device including a processor, the processor adapted to execute a computer program stored in a memory, the processor implementing any one of the methods according to the first aspect when executing the computer program.

[0136] According to a fourth aspect, the present disclosure provides a computer readable storage medium having a computer program stored thereon, the computer readable storage medium being characterized in that, when the computer program is executed by a processor, it realises any one of the methods according to the first aspect.

[0137] According to a fifth aspect, the present disclosure provides a computer program product, which when executed on a computer causes the computer to perform any one of the methods according to the first aspect.

[0138] According to a sixth aspect, the present disclosure provides a computer program comprising instructions, which when executed by a processor, cause the processor to perform the content input method according to any one of the embodiments.

[0139] It should be explained that, in this specification, relational terms such as, for example, "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that any such actual relationship or order exists between those entities or operations. And, the terms "comprise", "include", or any other variant thereof are intended to cover a non-exclusive "comprise", whereby a process, method, article or device that includes a set of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent in such process, method, article or device. In the absence of further limitations, an element qualified by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device that includes said element.

[0140] The above are merely specific embodiments of the present disclosure, allowing those skilled in the art to understand or realize the present disclosure. Various modifications of these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A content input method for instant messaging software, comprising: receiving a target input content to be input into a first input box and displaying the target input content in the first input box, the instant messaging software including the first input box and a second input box, the first input box and the second input box being switched by a switching control, and a size of the first input box and a size of the second input box being different; and displaying the target input content in the second input box in response to a trigger on the switching control.

2. 2. The content input method of claim 1, further comprising: in response to a trigger for a target edit control, processing a target input content in the first input box or the second input box based on a target edit strategy corresponding to the target edit control.

3. The method of claim 1 , further comprising: in response to a trigger on the switching control, resizing the first input box to obtain the second input box.

4. 3. The content input method of claim 2, further comprising displaying at least one content editing control in response to a trigger on a first button displayed in the first input box or the second input box, the at least one content editing control including the target editing control.

5. 3. The method of claim 2, further comprising displaying at least one content editing control in response to a trigger for a target input content displayed in the first input box or the second input box, the at least one content editing control including the target editing control.

6. The first input box and the second input box share a single draft box; receiving a target input content to be input into the first input box and displaying the target input content in the first input box includes: displaying the target input in the first input box and saving the target input in the draft box; displaying the target input content in the second input box in response to a trigger on the switching control, The method of claim 1 , further comprising: retrieving the target input content from the draft box and displaying it in the second input box in response to a trigger on the switching control.

7. The method of claim 4 , wherein a display position of the at least one content editing control and a position of the target input content are relative to each other.

8. 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 body area; retrieving the target input content from the draft box and displaying it in the second input box in response to a trigger on the switching control, 7. The content input method of claim 6, further comprising obtaining a first target input content for the first title region and a second target input content for the first body region from the draft box in response to a trigger on the switching control.

9. retrieving the target input content from the draft box and displaying it in the second input box in response to a trigger on the switching control, If the first target input is empty, displaying the second target input in a body region within a second input box including only a body region; 9. The content input method of claim 8, further comprising: when the first target input content is not empty, displaying the first target input content in a second title area of ​​a second input box including a second title area and a second body area, and displaying the second target input content in the second body area.

10. the size of the first input box is smaller than the size of the second input box; The first input box includes a body region, or the first input box includes a first title region and a first body region, and the second input box includes a second title region and a second body region; retrieving the target input content from the draft box and displaying it in the second input box in response to a trigger on the switching control, When the first input box includes a first title area and a first body area, in response to a trigger on the switching control, obtain a first target input content of the first title area and a second target input content of the first body area from the draft box, and display the first target input content in the second title area of ​​a second input box and the second target input content in the second body area; 7. The content input method of claim 6, further comprising: in response to a trigger for the switching control, when the first input box includes a body region, obtaining the target input content of the body region from the draft box and displaying the target input content in a second body region of a second input box.

11. The at least one content editing control includes:

5. The method of claim 4, further comprising at least one of bold, underline, strikethrough, italics, hyperlink, ordered list, unordered list, or citation.

12. A content input device for instant messaging software, comprising: a first display module for receiving a target input content to be input into a first input box and displaying the target input content in the first input box, the instant messaging software including the first input box and a second input box, the first input box and the second input box being switched by a switching control, and the first input box and the second input box being different in size; a second display module for displaying the target input content in the second input box in response to a trigger on the switching control.

13. An electronic device including a processor, the processor being used to execute a computer program stored in a memory, the processor implementing the content input method according to any one of claims 1 to 11 when executing the computer program.

14. A non-volatile computer readable storage medium on which a computer program is stored, the computer program implementing the content input method according to any one of claims 1 to 11 when executed by a processor.

15. A computer program product which, when executed on a computer, causes the computer to carry out a content input method according to any one of claims 1 to 11.

16. A computer program comprising instructions which, when executed by a processor, cause the processor to carry out a content input method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Text processing method and device and computer readable storage medium

    CN112099678A

  • Method and apparatus for processing task events

    JP2016502702A