Method, apparatus, device, medium, and product for displaying an input panel

CN122933989APending Publication Date: 2026-10-16BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510422171.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2026-10-16

AI Technical Summary

Technical Problem

并且在主播进行直播的过程中,通常会与其他主播或者观众进行互动,其他主播或者观众在直播间内可以通过输入文字或者打赏礼物等方式一起参与互动,当直播间的热度越来越高,直播间内参与互动的人数也会越来越多,此时直播间内的相关的互动操作也会变得越来越频繁

Benefits of technology

[0010] It should be understood that the content described in this section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122933989A_ABST
    Figure CN122933989A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a method, apparatus, device, medium and product for displaying an input panel. The method comprises determining whether an input panel corresponding to an input box is displayed in response to interaction with the input box being paused. The method further comprises saving a state of the input panel as an expanded state in response to the input panel being displayed. The method further comprises displaying the input panel based on the expanded state of the input panel in response to the interaction with the input box being resumed. By the method, the display state of the input panel can be saved when the interaction with the input box is paused, and the input panel can be directly invoked by the previously saved display state of the input panel when the interaction with the input box is resumed again, so that the input panel is displayed, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this disclosure generally relate to the field of interface processing, and more specifically to methods, apparatuses, devices, media, and program products for displaying input panels. Background Technology

[0002] Currently, in the live streaming context, an increasing amount of content is being discovered and presented to a wide audience, including content promoting knowledge, entertaining the public, and showcasing competitive events. During live streams, hosts typically interact with other hosts or viewers. These interactions can be facilitated by typing text or sending virtual gifts. As the live stream gains popularity, the number of participants also increases, leading to more frequent and engaging interactions within the stream.

[0003] As interactive actions increase in the live stream, the number of comments from viewers also grows. For example, viewers send bullet comments and other messages in different interactive scenarios. During this process, viewers typically need to open an input box, at which point the system automatically displays a keyboard on the screen. Viewers can then use the on-screen keyboard to input any information they want to communicate, thus interacting in the live stream. Summary of the Invention

[0004] Embodiments of this disclosure provide a method, apparatus, device, medium, and program product for displaying an input panel.

[0005] According to a first aspect of this disclosure, a method for displaying an input panel is provided. The method includes determining whether an input panel corresponding to an input box is displayed in response to an interaction with the input box being paused. The method further includes saving the state of the input panel as an expanded state in response to the input panel being displayed. The method further includes displaying the input panel based on its expanded state in response to an interaction with the input box being resumed.

[0006] In a second aspect of this disclosure, an apparatus for displaying an input panel is provided. The apparatus includes an input panel display determination module configured to determine whether an input panel corresponding to an input box is displayed in response to an pause in interaction with the input box; an expanded state saving module configured to save the state of the input panel to an expanded state in response to the input panel being displayed; and an input panel display module configured to display the input panel based on its expanded state in response to a resumption of interaction with the input box.

[0007] In a third aspect of this disclosure, an electronic device is provided, including at least one processor; and a storage device for storing at least one program, which, when executed by the at least one processor, causes the at least one processor to implement the method according to the first aspect of this disclosure.

[0008] In a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method according to a first aspect of this disclosure.

[0009] In a fifth aspect of this disclosure, a computer program product is provided. This computer program product includes a computer program that, when executed by a processor, implements the method according to a first aspect of this disclosure.

[0010] It should be understood that the content described in this section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0011] The above and other objects, features and advantages of this disclosure will become more apparent from the accompanying drawings, in which like reference numerals generally denote like parts.

[0012] Figure 1 The illustration shows a schematic diagram of an example environment in which some embodiments of the present disclosure may be implemented;

[0013] Figure 2 The illustration shows a schematic diagram of an example method for displaying an input panel according to some embodiments of the present disclosure;

[0014] Figure 3 The illustration shows a comparative example of a process for displaying an input panel according to some embodiments of the present disclosure;

[0015] Figure 4 The illustration shows a schematic diagram of an example flowchart for displaying an input panel according to some embodiments of the present disclosure;

[0016] Figure 5 The illustration shows an example of a process for invoking an input panel according to some embodiments of the present disclosure;

[0017] Figure 6A The illustration shows an example of an input box for displaying an input panel being paused according to some embodiments of the present disclosure;

[0018] Figure 6BThe illustration shows an example of how the interaction of an input box for displaying an input panel is restored according to some embodiments of the present disclosure;

[0019] Figure 7 The illustration shows a schematic block diagram of an apparatus for displaying an input panel according to some embodiments of the present disclosure;

[0020] Figure 8 A schematic block diagram of an example device suitable for implementing various embodiments of the present disclosure is illustrated.

[0021] In the various figures, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation

[0022] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0023] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0024] For example, upon receiving a user's proactive request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0025] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0026] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0027] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0028] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0029] Taking a live streaming scenario as an example, when a user is watching a streamer's live stream and comments in the comment box, the comment box and the corresponding keyboard will pop up. However, if the user switches to the background (e.g., by pressing the home button, a low battery pop-up, a charging pop-up, etc.) or switches to another application (e.g., by clicking on a notification message from another application), and then returns to the live stream, because the input box is a dialog box, it will lose focus when the user interface of the live stream is not visible. This will trigger the keyboard to collapse, resulting in the input box and keyboard being collapsed when the user returns to the live stream. This causes inconvenience to the user and reduces the user experience.

[0030] In the traditional approach described above, the input box is typically implemented using a DialogFragment class. The keyboard is retracted when interaction is paused (onPause), and in most cases, the input box is closed immediately after the keyboard disappears. This significantly reduces the user's willingness to comment on the input box when they return to the live stream, decreasing the audience's willingness to interact with the streamer. It may even cause users to abandon the live stream altogether, severely impacting the user experience.

[0031] To address at least the aforementioned and other potential problems, embodiments of this disclosure propose a method for displaying an input panel. In this method, a computing device first determines whether the input panel corresponding to the input box is displayed after determining that interaction with the input box has been paused. Then, after determining that the input panel is displayed, the state of the input panel is saved as an expanded state. Finally, the computing device can display the input panel based on its expanded state after determining that interaction with the input box has resumed. This method improves the user experience by saving the display state of the input panel when interaction with the input box is interrupted or paused, allowing the input panel to be directly invoked and displayed after interaction with the input box resumes, using the previously saved display state.

[0032] The embodiments of this disclosure will now be described in further detail with reference to the accompanying drawings. Figure 1 Example environments in which the devices and / or methods of embodiments of this disclosure may be implemented are illustrated. In environment 100, computing device 102 is used to process computational tasks required when displaying an input panel. Interaction with an input box can be determined by whether the input box is in a running state. In one example, if the input box is in a running state (Resumed), it can be further determined that the input box is in an interactive state. In another example, if the input box is not in a running state, it can be directly determined that the input box is not in an interactive state.

[0033] Examples of computing device 102 include, but are not limited to, personal computers, server computers, handheld or laptop devices, mobile devices (such as mobile phones, personal digital assistants (PDAs), media players, etc.), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, and distributed computing environments that include any of the above systems or devices.

[0034] It is understood that this disclosure is only described in conjunction with relevant embodiments and is not intended to limit the scope of protection of this disclosure. Any technical solutions in other disclosures that fall within the scope of protection of this disclosure should be protected.

[0035] like Figure 1 As shown, the computing device 102 can obtain the status information of the input field 106 in the user interface in a timely manner. For example, whether the input field 106 is in a running state of interacting with the user, or whether the interaction with the input field is paused. For example, when the onPause function for the input field is detected to be invoked, it indicates that the interaction with the input field is paused.

[0036] In some embodiments, the interaction state of the interaction 104 with respect to the input field 106 can be determined by the user interface in which the input field resides. In one example, whether the interaction 104 with respect to the input field 106 is paused is determined by whether the user interface is switched to the system background. If the user interface in which the input field resides is switched to the system background, it can be determined that the interaction with the input field is paused. In another example, if it is determined that the user interface including the input field is about to be switched to another user interface, it can also be determined that the interaction 104 with respect to the input field 106 is paused. In yet another example, if a system notification is received from the system in which the user interface resides while the input field is in an interactive state, it can also be determined that the interaction 104 with respect to the input field 106 is paused. The above examples are merely for describing this disclosure and are not intended to specifically limit this disclosure.

[0037] After determining that interaction 104 with input box 106 has been paused, computing device 102 further determines whether the input panel 108 corresponding to input box 106 is displayed. For example, the input panel may be a keyboard. In some embodiments, parameters for the input panel may be detected, and then the display of the input panel may be determined based on these parameters, such as the height data of the input panel. In some embodiments, the display of input panel 108 may be determined by determining whether input panel 108 has been invoked. If computing device 102 determines that input panel 108 has been invoked, it can determine that input panel 108 is displayed. If computing device 102 determines that input panel 108 has not been invoked, it can determine that input panel 108 is not displayed.

[0038] After determining that the input panel 108 has been displayed, the computing device 102 can save the state of the input panel as expanded 110. It should be noted that the state of the input panel includes both expanded 110 and collapsed 110. In one example, after determining that the input panel 108 has been displayed, its state can be set to expanded 110 and saved. Additionally, if it is determined that the input panel 108 has not been displayed, its state can be set to collapsed 110.

[0039] If interaction with the input field or the interface including the input field is paused, it indicates that the input field or the interface has lost focus. The input panel will then be collapsed. Additionally, when the input panel is collapsed, the input field is not closed; instead, it remains active.

[0040] If interaction with input field 106 is restored in a subsequent process, computing device 102 can determine the state of input panel 108 after confirming that interaction 104 with input field 106 has been restored.

[0041] When computing device 102 determines that the state of input panel 108 is expanded 110, input panel 108 is displayed. In another example, when computing device 102 determines that the state of input panel 108 is collapsed, input panel 108 is not displayed.

[0042] This method allows the input panel's display state to be saved when interaction with the input box is interrupted or paused. When interaction with the input box resumes, the input panel can be directly accessed and displayed using the previously saved display state, thus improving the user experience.

[0043] The above combination Figure 1 The following is a schematic diagram illustrating an example environment in which some embodiments of this disclosure may be implemented, in conjunction with... Figure 2 This illustration depicts an example method 200 for displaying an input panel according to some embodiments of the present disclosure. This example method can be... Figure 1 The computing device 102 or any suitable computing device in the system shall execute the test.

[0044] like Figure 2 As shown, in example method 200, at box 202, in response to an interaction with the input box being paused, it is determined whether the input panel corresponding to the input box is displayed. For example, if computing device 102 determines that interaction with the input box has been paused, such as by calling the Onpause function, the input box is in the process of transitioning from a fully interactive state (running state) to a partially invisible or completely invisible state. During this process, computing device 102 needs to determine whether the input panel 108 corresponding to the input box 106 is being displayed.

[0045] In some embodiments, the computing device 102 can determine whether the input panel 108 is displayed by determining the height of the input panel 108. When the computing device 102 determines that the height of the input panel 108 is greater than a threshold height, it determines that the input panel 108 is being displayed. When the computing device 102 determines that the height of the input panel 108 is less than or equal to the threshold height, it determines that the input panel 108 is not displayed.

[0046] Additionally, the threshold height can be set to 0, in which case the computing device directly determines whether the input panel 108 is displayed based on this threshold height. For example, if the computing device 102 determines that the height of the input panel 108 is greater than 0, it determines that the input panel 108 is being displayed. Conversely, if the computing device 102 determines that the height of the input panel 108 is less than or equal to 0, it determines that the input panel 108 is not displayed.

[0047] In some embodiments, the display of the input panel 108 can also be determined by determining whether the input panel 108 is invoked. The invocation status of the input panel 108 can also be achieved by listening to other states of the input panel, for example, the computing device 102 can determine whether the input panel is invoked by listening to the active or inactive state of the input panel, whether the input panel is occupying system memory, etc.

[0048] In some embodiments, when the computing device 102 determines that the interaction 104 with the input box 106 has been paused, the input panel 108 with the input box 106 is collapsed. In one example, when the computing device 102 determines that the interaction 104 with the input box 106 has been paused, the state of the input panel 108 with the input box 106 can be set to an expanded state, and then the input panel 108 can be collapsed. In another example, when the computing device 102 determines that the interaction 104 with the input box 106 has been paused, the memory usage of the input panel 108 with the input box 106 in the system can also be directly cleared, thereby collapsing the input panel 108.

[0049] Additionally, after the input panel 108 is retracted, the computing device 102 keeps the input box 106 active. In one example, after the input panel 108 is retracted, the computing device 102 retains the input box 106 in system memory. By keeping the input box 106 active, the speed and efficiency of re-activating the input box 106 can be greatly improved.

[0050] Next, at box 204, in response to the input panel being displayed, the state of the input panel is saved as an expanded state. It should be noted that the input panel's state includes an expanded state 110 and a collapsed state. In one example, once it is determined that the input panel 108 is displayed, its state can be set to expanded state 110. In another example, once it is determined that the input panel 108 is not displayed, its state can be set to collapsed state.

[0051] In some embodiments, after determining that the input panel 108 for the input box 106 is displayed, the computing device 102 further acquires an expanded state identifier associated with the input panel 108. After acquiring the expanded state identifier associated with the input panel 108, if the input panel is in an expanded state, the computing device 102 stores the expanded state identifier as indicating an expanded state.

[0052] In some embodiments, after determining that the input panel 108 for the input box 106 is not displayed, the computing device 102 further sets an expanded state flag associated with the input panel 108 to indicate a collapsed state. The computing device 102 then stores the expanded state flag.

[0053] At box 206, in response to the resumption of the interaction with the input box, the input panel is displayed based on the expanded state of the input panel. If the computing device 102 determines that the interaction with the input box 106 has been resumed, the input panel is quickly displayed using the expanded state of the input panel.

[0054] After the interaction 104 with input field 106 is resumed, computing device 102 can determine the state of input panel 108. In one example, if computing device 102 determines that input panel 108 is in an expanded state 110, then input panel 108 is displayed. In another example, if computing device 102 determines that input panel 108 is in a collapsed state, then input panel 108 is not displayed.

[0055] In some embodiments, after the interaction 104 with input box 106 is resumed, computing device 102 acquires the expanded state indicator for input panel 108. If computing device 102 determines that the expanded state indicator is used to indicate the expanded state of input panel 108, computing device 102 invokes the input panel display function and then uses the input panel display function to display input panel 108.

[0056] Additionally, if the interaction 104 with the input box 106 is resumed, and the computing device 102 determines that the expanded state indicator indicates the collapsed state indicator of the input panel 108, the computing device 102 will not process the input panel.

[0057] Additionally, when the input panel 108 is invoked and displayed, the computing device 102 will also invoke the previously active input box 106 and display it on the user interface for the input box 106.

[0058] In some embodiments, after obtaining the expanded state flag for the input panel 108, the computing device 102, during the process of invoking the input panel display function, will also determine a recurring task operation for the input panel display function due to the delay in the input box gaining focus. At this time, the computing device 102 will repeatedly invoke the input panel display function according to the recurring task operation so that the input panel 108 is displayed simultaneously with the input box.

[0059] For example, the time interval for the recurring task is determined to be 200ms. The recurring task is executed once every 200ms to call the input panel display function, so that the input panel can be called up and displayed on the user interface when the input box is displayed. It is understood that the time interval can be defined by the user, and this disclosure does not impose any restrictions.

[0060] In some embodiments, if the interaction with the input field is not restored within a predetermined time, the state of keeping the input field 106 active is cancelled. Additionally, the first expanded state flag is deleted, and the input panel 108 for the input field 106 remains in a collapsed state.

[0061] For example, if interaction with the input field is paused for more than 10 minutes, the state of keeping the input field 106 active is canceled. At this time, the first expanded state indicator is also deleted, and the input panel 108 for the input field 106 remains in the collapsed state.

[0062] In some embodiments, the user interface is a first user interface, the input box 106 is a first input box, the input panel 108 is a first input panel, the expanded state is a first expanded state, and the expanded state identifier is a first expanded state identifier.

[0063] When switching from the first user interface to the second user interface, after determining that the first input panel is displayed, the computing device 102 determines a first expanded state identifier for the first expanded state of the first input panel and stores the first expanded state identifier, while keeping the first input box active. At this time, if the second user interface also displays the corresponding second input box and second input panel, a similar operation will occur when switching from the second user interface to the first user interface.

[0064] This method allows the input panel's display state to be saved and the input box to remain active when interaction with the input box is interrupted or paused. When interaction with the input box resumes, the input panel can be invoked directly using the previously saved display state flag, thus improving the user experience.

[0065] The above combination Figure 2 A schematic diagram illustrating an example method for displaying an input panel according to some disclosed embodiments is described below. Figure 3 A schematic diagram illustrating a comparative example of a process for displaying an input panel according to some embodiments of the present disclosure. Figure 3 The process can be made by Figure 1 The computing device 102 or any suitable device in the system executes the commands. Figure 3 The following description uses the input panel as an example of a keyboard.

[0066] like Figure 3 Example 300 illustrates a scenario where the user interface for an input field is moved to the background during a live stream. In box 302, the traditional processing method is displayed. During this process, in box 304, the user interface is moved to the background. Then, in box 306, the keyboard corresponding to the input field in the user interface is directly collapsed (keyboard collapse 306), and in box 308, the input field is closed. After this, neither the input field nor the keyboard will be displayed again.

[0067] In this situation, if the user returns to the user interface, the input field has been closed and the keyboard has been hidden. This significantly reduces the user's willingness to interact with the input field again to enter text, severely impacting the user experience.

[0068] Box 310 illustrates the solution of this disclosure. In box 312, the user interface is moved to the background. In box 314, the computing device 102 records the keyboard state and keeps the input box active. Additionally, if the input box already contains text information, the text information is also saved.

[0069] At box 316, the user returns to the foreground. If the computing device 102 obtains an expanded status indicator for the keyboard state, then at box 318, the keyboard display function is invoked to display the keyboard on the user interface, and the input boxes are also displayed on the user interface. Additionally, previously stored text information is also displayed in the input boxes at this time.

[0070] The above combination Figure 3 A schematic diagram illustrating a comparative example of a process for displaying an input panel according to some disclosed embodiments is described below. Figure 4 This is a schematic diagram illustrating an example of a flowchart for displaying an input panel according to some embodiments of the present disclosure. The flowchart can be... Figure 1 The computing device 102 or any suitable computing device in the system executes the commands. Figure 4 The following description uses the input panel as an example of a keyboard.

[0071] like Figure 4 In Example 400, at 402, the live stream is taken to the background. Then, at frame 404, computing device 102 determines whether the keyboard is being displayed. If it is determined that the keyboard is being displayed, at 406, the keyboard display flag is saved, and the input box is not closed. That is, the expanded state flag for the keyboard is saved, and the input box is kept alive.

[0072] At frame 408, the live stream returns to the foreground. The computing device 102 checks the flag at frame 410. If the computing device detects an expanded status indicator for the keyboard, it pops up the keyboard at frame 412 and displays the corresponding input box.

[0073] The above combination Figure 4 A schematic diagram illustrating an example flowchart for displaying an input panel according to some disclosed embodiments is provided below. Figure 5 A schematic diagram illustrating an example of a process for invoking an input panel according to some embodiments of the present disclosure. This example can be provided by... Figure 1 The computing device 102 or any suitable device in the system executes the commands. Figure 5 The following description uses the input panel as an example of a keyboard.

[0074] like Figure 5 As shown, Example 500 can be understood in conjunction with the previous Examples 300 and 400. At box 502, the live stream returns to the foreground. Then, at box 504, the computing device 102 attempts to invoke the keyboard. Since, upon returning to the user interface, if the keyboard's expanded state indicator is obtained, the input box needs to be located to determine its specific position within the user interface. This process may take some time; therefore, a loop task needs to be created and repeatedly executed to invoke the keyboard.

[0075] For example, in box 506, the execution time interval of the loop task is set to a delay of 200ms, meaning the loop task is executed once every 200ms to perform the keyboard access operation. After each loop task ends, the computing device checks in box 508 whether the keyboard is displayed. If the keyboard is displayed, the operation ends in box 510.

[0076] The above combination Figure 5 A schematic diagram illustrating an example of a process for invoking an input panel according to some disclosed embodiments is shown below. Figure 6A This diagram illustrates an example of pausing interaction with an input box used to display an input panel according to some embodiments of the present disclosure. Figures 6A-6B The following description uses the input panel as an example of a keyboard.

[0077] like Figure 6A As shown in Example 600A, in a live streaming scenario, in the live streaming room, when the viewer is watching the user-generated content 602 transmitted from the broadcaster's end, after clicking the comment box 604 in the live streaming room, the keyboard 606 corresponding to the comment box 604 will also be invoked and displayed in the live streaming room.

[0078] At this time, if the user interface corresponding to the live broadcast room is switched to the background and the interaction with the input box is paused, the computing device obtains the expansion status identifier of the keyboard and stores the expansion status identifier, and also keeps the comment box 604 alive.

[0079] After the live stream is switched to the background, the system desktop 608 is displayed on the user interface, where A, B, C, D, E, and F are all system applications.

[0080] The above combination Figure 6A A schematic diagram illustrating an example of pausing interaction with an input field displaying a keyboard, according to some disclosed embodiments. The following is in conjunction with... Figure 6B A schematic diagram illustrating an example of how the interaction of an input box for displaying a keyboard is restored according to some embodiments of the present disclosure.

[0081] like Figure 6B As shown, in Example 600B, combined with the previous Example 600A, when returning to the live broadcast room from the system desktop, the computing device, after obtaining the expanded status indicator for the keyboard 610, performs a loop task operation for the keyboard display function, and then pops up the keyboard and the comment box for the keyboard together and displays them in the live broadcast room.

[0082] like Figure 7 As shown, the device 700 includes an input panel display determination module 702, configured to determine whether an input panel corresponding to an input box is displayed in response to a pause in interaction with the input box; an expanded state saving module 704, configured to save the state of the input panel as an expanded state in response to the input panel being displayed; and an input panel display module 706, configured to display the input panel based on the expanded state in response to a resumption of interaction with the input box.

[0083] In some embodiments, the input panel display determination module 702 includes: an input panel height determination module configured to determine the height of the input panel in response to an pause in interaction with the input box; and an input panel display determination module configured to determine that the input panel is displayed in response to the height being greater than a threshold height.

[0084] In some embodiments, the input panel display determination module 702 further includes an input panel not displayed determination module, configured to determine that the input panel is not displayed in response to a height being less than or equal to a threshold height.

[0085] In some embodiments, the device 700 further includes: an input panel collapse module configured to collapse the input panel; and an input box live state maintenance module configured to keep the input box alive in response to the input panel being collapsed.

[0086] In some embodiments, the unfolded state saving module 704 includes: an unfolded state identifier determining module, configured to determine an unfolded state identifier associated with the input panel indicating an unfolded state in response to the input panel being displayed; and an unfolded state identifier storing module, configured to store the unfolded state identifier for the input panel.

[0087] In some embodiments, the input panel display module 706 includes: an expanded state indicator acquisition module configured to acquire an expanded state indicator for the input panel in response to the resumption of interaction with the input box; and an input panel display module configured to display the input panel in response to the expanded state indicator indicating an expanded state.

[0088] In some embodiments, the input panel display module includes: an input panel display function invocation module configured to invoke the input panel display function in response to an expanded state indicator indicating an expanded state; and an input panel display module configured to display the input panel using the input panel display function.

[0089] In some embodiments, the input panel display module includes: a loop task operation determination module configured to determine a loop task operation for the input panel display function; and an input panel display function repeated invocation module configured to repeatedly invoke the input panel display function based on the loop task operation to display the input panel when an input box is displayed.

[0090] In some embodiments, the device 700 further includes: determining that interaction with the input field is paused by at least one of the following: determining that the user interface including the input field is switched to the system background; determining that the user interface including the input field is switched to another user interface; or receiving a system notification from the system where the user interface is located.

[0091] Figure 8 A schematic block diagram of an example device 800 that can be used to implement embodiments of the present disclosure is shown. Figure 1 The computing device 102 can be implemented using device 800. As shown, device 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) 802 or loaded from storage unit 808 into random access memory (RAM) 803. RAM 803 can also store various programs and data required for the operation of device 800. CPU 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.

[0092] Multiple components in device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of monitors, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0093] The various processes and handling described above, such as method 200 and examples 300 to 600B, can be executed by processing unit 801. For example, in some embodiments, method 200 and examples 300 to 600B can be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed on device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by CPU 801, one or more actions of the example methods 200 and examples 300 to 600B described above can be performed.

[0094] This disclosure can be a method, apparatus, system, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of this disclosure.

[0095] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0096] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0097] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0098] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0099] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0100] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0101] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0102] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technical improvements to the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for displaying an input panel, comprising: In response to an pause in interaction with the input field, determine whether the input panel corresponding to the input field is displayed; In response to the input panel being displayed, the state of the input panel is saved as an expanded state; as well as In response to the resumption of the interaction with the input box, the input panel is displayed based on the expanded state of the input panel.

2. The method according to claim 1, wherein determining whether the input panel corresponding to the input box is displayed includes: In response to the interaction with the input box being paused, the height of the input panel is determined; as well as In response to the height being greater than a threshold height, it is determined that the input panel is displayed.

3. The method according to claim 2, wherein determining whether the input panel corresponding to the input box is displayed further includes: In response to the height being less than or equal to the threshold height, it is determined that the input panel is not displayed.

4. The method according to claim 1, further comprising: Collapse the input panel; as well as In response to the input panel being collapsed, the input box remains active.

5. The method according to claim 1, wherein saving the state of the input panel as an expanded state includes: In response to the input panel being displayed, an unfolded state identifier associated with the input panel is determined to indicate the unfolded state; as well as Store the expanded state identifier for the input panel.

6. The method of claim 1, wherein displaying the input panel comprises: In response to the resumption of the interaction with the input box, the expanded state indicator for the input panel is obtained; as well as In response to the unfolded status indicator indicating the unfolded state, the input panel is displayed.

7. The method of claim 6, wherein displaying the input panel in response to the unfolded state indicator indicating the unfolded state comprises: In response to the unfolded status indicator indicating the unfolded status, the input panel display function is invoked; as well as The input panel is displayed using the input panel display function.

8. The method of claim 7, wherein displaying the input panel using the input panel display function comprises: Determine the recurring task operation for the input panel display function; as well as Based on the aforementioned cyclic task operation, the input panel display function is repeatedly invoked to display the input panel when the input box is displayed.

9. The method according to claim 1, further comprising: The interaction with the input field is determined to be paused by at least one of the following: It is determined that the user interface including the input box has been switched to the system background; It is determined that the user interface including the input box has been switched to another user interface; or Received a system notification from the system where the user interface is located.

10. An apparatus for displaying an input panel, comprising: The input panel display confirmation module is configured to determine whether the input panel corresponding to the input box is displayed in response to the pause of the interaction with the input box. An expanded state saving module is configured to save the state of the input panel as an expanded state in response to the input panel being displayed. as well as An input panel display module is configured to display the input panel based on the expanded state of the input box in response to the resumption of the interaction with the input box.

11. An electronic device, comprising: At least one processor; as well as A storage device for storing at least one program, which, when executed by the at least one processor, causes the at least one processor to implement the method according to any one of claims 1-9.

12. A computer-readable storage medium having a computer program stored thereon, the computer program implementing the method according to any one of claims 1-9 when executed by a processor.

13. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-9.