Movatterモバイル変換


[0]ホーム

URL:


CN113467693B - Interface control method and device and electronic equipment - Google Patents

Interface control method and device and electronic equipment
Download PDF

Info

Publication number
CN113467693B
CN113467693BCN202110739048.4ACN202110739048ACN113467693BCN 113467693 BCN113467693 BCN 113467693BCN 202110739048 ACN202110739048 ACN 202110739048ACN 113467693 BCN113467693 BCN 113467693B
Authority
CN
China
Prior art keywords
display area
focus
input control
interface
graphical user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110739048.4A
Other languages
Chinese (zh)
Other versions
CN113467693A (en
Inventor
刘彦明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN202110739048.4ApriorityCriticalpatent/CN113467693B/en
Publication of CN113467693ApublicationCriticalpatent/CN113467693A/en
Application grantedgrantedCritical
Publication of CN113467693BpublicationCriticalpatent/CN113467693B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention provides an interface control method, an interface control device and electronic equipment. Wherein the method comprises the following steps: in response to focus acquisition operation for the actual input control, loading a pseudo input control in a second display area, and distributing a focus to the second display area; performing high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area; and transferring the focus from the second display area to the first display area after the high dynamic transformation operation, and displaying the soft keyboard in the reserved display area. The reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are mutually not shielded by performing the high dynamic transformation operation on the content displayed by the graphical user interface, namely, the service display interface is not shielded by a system soft keyboard arranged in the reserved display area, so that the service display interface is not checked by a user, and the experience of the user can be improved.

Description

Interface control method and device and electronic equipment
Technical Field
The present invention relates to the field of interface technologies, and in particular, to an interface control method, an apparatus, and an electronic device.
Background
At present, the mobile terminal is increasingly applied to live broadcast scenes and video play scenes, the product design of the mobile terminal is more prone to full-screen immersion experience, and meanwhile interaction of user comments and bullet screen sending is supported. In a full-screen scene of an Android system, when a user calls an input method for input through an interface, the system soft keyboard automatically moves up the interface so that an input box is positioned at the upper edge of the soft keyboard, and therefore a focus of an input layout is prevented from being blocked by the soft keyboard.
However, if there is still a business interface under the input layout, this portion of the business interface may be completely covered by the soft keyboard, resulting in failure to be seen or used by the user. That is, when the user evokes the input method input, the system soft keyboard may shield the service interface in the interface, thereby affecting the user to view the service interface and reducing the user experience.
Disclosure of Invention
Therefore, the invention aims to provide an interface control method, an interface control device and electronic equipment to control movement of an interface, so that a system soft keyboard does not shade a service interface in the interface, a user can not be influenced to view the service interface, and the experience of the user is improved.
In a first aspect, an embodiment of the present invention provides an interface control method, where a graphical user interface of a target application is provided by a terminal device, where content displayed on the graphical user interface at least includes: the business display interface and the actual input control are positioned in the first display area, and the target application is also configured with a pseudo input control and a second display area corresponding to the pseudo input control; the second display area and the reserved display area of the soft keyboard are not shielded; the method comprises the following steps: in response to focus acquisition operation for the actual input control, loading a pseudo input control in a second display area, and distributing a focus to the second display area; performing high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area; the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded; and transferring the focus from the second display area to the first display area after the high dynamic transformation operation, and displaying the soft keyboard in the reserved display area.
In an optional embodiment of the present invention, the second display area is disposed in a top area of the graphical user interface, and the size of the pseudo input control is 1 pixel, and the pseudo input control is a transparent control.
In an optional embodiment of the present invention, the step of loading the pseudo input control in the second display area in response to the focus obtaining operation for the actual input control, and allocating the focus to the second display area includes: responding to focus acquisition operation for an actual input control, and enabling a first display area to acquire a focus; and loading a pseudo input control in the second display area, and transferring the focus to the second display area.
In an alternative embodiment of the present invention, the step of performing a highly dynamic transformation operation on the content displayed on the graphical user interface based on the allocated focal point position and the reserved display area includes: and if the allocated focal point is not blocked by the reserved display area, performing high dynamic transformation operation on the content displayed by the graphical user interface.
In an alternative embodiment of the present invention, the terminal device includes a display adjustment module, and the step of performing a highly dynamic transformation operation on the content displayed on the graphical user interface includes: and performing high dynamic transformation operation on the content displayed by the graphical user interface based on the display adjustment module.
In an alternative embodiment of the present invention, after the step of transferring the focus from the second display area to the first display area, the method further includes: the pseudo input controls are deleted from the graphical user interface.
In an optional embodiment of the present invention, the terminal device further includes a first listener; the step of loading the pseudo input control in the second display area in response to the focus acquisition operation for the actual input control includes: responding to focus acquisition operation for an actual input control, and monitoring whether the focus is transferred from the second display area to the first display area after the highly dynamic transformation operation or not through the first monitor; if not, loading the pseudo input control in the second display area.
In an optional embodiment of the present invention, the terminal device further includes a second listener; the step of performing a highly dynamic transformation operation on the content displayed on the graphical user interface based on the allocated focal point position and the reserved display area comprises the following steps: monitoring whether a second display area acquires a focus or not through a second monitor; and if so, performing high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area.
In an optional embodiment of the present invention, the terminal device further includes a third listener; the method further comprises the following steps: and responding to the hiding operation aiming at the soft keyboard, monitoring a control for acquiring the focus through a third monitor, and discarding the focus by the control for acquiring the focus.
In an alternative embodiment of the present invention, the graphical user interface is in a full screen mode.
In a second aspect, an embodiment of the present invention further provides an interface control apparatus, where a graphical user interface of a target application is provided through a terminal device, where content displayed on the graphical user interface at least includes: the business display interface and the actual input control are positioned in the first display area, and the target application is also configured with a pseudo input control and a second display area corresponding to the pseudo input control; the second display area and the reserved display area of the soft keyboard are not shielded; the device comprises: the focus acquisition module is used for loading a pseudo input control in the second display area in response to focus acquisition operation for the actual input control, and distributing the focus to the second display area; the interface conversion module is used for carrying out high dynamic conversion operation on the content displayed by the graphical user interface based on the allocated focal position and the reserved display area; the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded; and the soft keyboard display module is used for transferring the focus from the second display area to the first display area after the high dynamic transformation operation, and displaying the soft keyboard in the reserved display area.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, and the processor executes the computer executable instructions to implement the steps of the interface control method described above.
In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the steps of the interface control method described above.
The embodiment of the invention has the following beneficial effects:
according to the interface control method, the device and the electronic equipment provided by the embodiment of the invention, the terminal equipment responds to focus acquisition operation aiming at an actual input control, a pseudo input control is loaded in a second display area, and a focus is distributed to the second display area; the terminal equipment performs high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded; and the terminal equipment transfers the focus from the second display area to the first display area after the high dynamic transformation operation, and displays the soft keyboard in the reserved display area. In the mode, the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are mutually not shielded by performing the high dynamic transformation operation on the content displayed by the graphical user interface, namely, the service display interface is not shielded by a system soft keyboard arranged in the reserved display area, so that a user can not be influenced to view the service display interface, and the experience of the user can be improved.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the techniques of the disclosure.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a graphical user interface provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of a soft keyboard in a graphical user interface according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating shifting of a graphical user interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another graphical user interface provided by an embodiment of the present invention;
FIG. 5 is a flowchart of an interface control method according to an embodiment of the present invention;
FIG. 6 is a flowchart of another interface control method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another graphical user interface provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an interface control device according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of another interface control device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, in a full-screen scene of an Android system, when a user calls an input method for input through an interface, a system soft keyboard automatically moves up the interface to enable an input box to be located at the upper edge of the soft keyboard, so that a focus of an input layout is prevented from being blocked by the soft keyboard. However, if there is still a business interface under the input layout, this portion of the business interface may be completely covered by the soft keyboard, resulting in failure to be seen or used by the user. That is, when the user evokes the input method input, the system soft keyboard may shield the service interface in the interface, thereby affecting the user to view the service interface and reducing the user experience.
Based on the above, the interface control method, the device and the electronic equipment provided by the embodiment of the invention can be applied to equipment capable of realizing man-machine interaction such as computers, mobile phones and tablet computers, and particularly can be applied to equipment which is an android system.
For the sake of understanding the present embodiment, first, a detailed description is given of an interface control method disclosed in the present embodiment.
The embodiment provides an interface control method, a graphical user interface of a target application is provided through a terminal device, and content displayed by the graphical user interface at least comprises: the business display interface and the actual input control are positioned in the first display area, and the target application is also configured with a pseudo input control and a second display area corresponding to the pseudo input control; the second display area and the reserved display area of the soft keyboard are not shielded.
The terminal device in this embodiment may be a device with a man-machine interaction function, such as a mobile phone, a computer, a tablet computer, or the like, where the terminal device in this embodiment may be a device of an android system, or may be a device of another system (such as an IOS system). The target application in this embodiment may be an application configured with an actual input control, i.e. an application that can pull out a text input by a soft keyboard.
Referring to a schematic diagram of a graphical user interface shown in fig. 1, fig. 1 illustrates the interface when the actual input control is not in focus. As shown in fig. 1, the graphical user interface in fig. 1 displays a business display interface and actual input controls. In fig. 1 a full screen user graphical interface is presented, with a title bar at the top, displaying the scheme name "system scheme". The area "please input" in fig. 1 is referred to as a first display area, and controls supporting input (i.e., actual input controls) may be set. The service layout set in the first display area may be any service interface under the actual input control, for example: emoji expression panels, etc.
The bottom "presentation area" in fig. 1 is the service display interface, i.e. other services not related to input, such as: quick reply, etc., and other services that are not related to input can be understood as other services that do not require pulling a software disc and that are not related to input.
Referring to a schematic diagram of a soft keyboard in a graphical user interface shown in fig. 2, when a user clicks an actual input control, the user clicks the actual input control to obtain focus and pulls up the soft keyboard, fig. 2 shows the interface after the soft keyboard is displayed completely. As shown in fig. 2, after the user clicks the actual input control, a soft keyboard may be displayed in the reserved display area of the graphical user interface.
When the user clicks one control, the focus is shifted to other controls, and only one control exists in the system at the same time to obtain one focus.
It can be seen that, compared with fig. 2, the reserved display area of the soft keyboard in fig. 2 covers the first display area of the actual input control in fig. 1, so that the first display area needs to be moved upwards to ensure that the soft keyboard does not block the actual input control. Referring to the schematic diagram of shifting a graphical user interface shown in fig. 3, shifting the graphical user interface upward as shown in fig. 3 may enable the actual input control that gets focus to be unobstructed by the soft keyboard.
Through various tests and system researches, it is found that when a user clicks a control supporting input (i.e., an actual input control) to pull up the soft keyboard, it is determined whether an inputtable area (a first display area) of the actual input control is blocked by the pulled up soft keyboard, if the inputtable area is blocked by the soft keyboard, the system performs upward adjustment on the graphical user interface until the inputtable area is no longer blocked by the soft keyboard, but only to the extent of "preventing the gram input area from being blocked by the soft keyboard". However, this way can only ensure that the actual input control is not blocked by the soft keyboard, and cannot ensure that the service display interface below the actual input control is not blocked by the soft keyboard, and still has a certain technical problem.
Specifically, if the user wants to pull up the soft keyboard, the user needs to click on the actual input control, at this time, the focus is allocated to the first display area, at this time, the reserved display area of the soft keyboard shields the focus, and then the graphical user interface needs to be shifted up, so that the focus is not shielded by the reserved display area. However, a service display interface can be arranged below the first display area, and the service display interface is not provided with a focus, so that the service display interface is likely to be blocked by the reserved display area after the graphical user interface is moved up, at this time, the user cannot see the content of the graphical user interface clearly after pulling up the soft keyboard, and therefore normal use of the user is affected, and the experience of the user is poor.
Therefore, the target application in this embodiment is further configured with a pseudo input control, referring to the schematic diagram of another graphical user interface shown in fig. 4, as shown in fig. 4, the upper left corner of the graphical user interface may be provided with a second display area, and the pseudo input control may be disposed in the second display area, where the second display area and the reserved display area of the soft keyboard are not blocked by each other.
Based on the above description, referring to a flowchart of an interface control method shown in fig. 5, the interface control method includes the steps of:
In step S502, in response to a focus acquisition operation for an actual input control, a pseudo input control is loaded in the second display area, and focus is allocated to the second display area.
The focus obtaining operation of the actual input control may be understood as an operation of clicking the first display area corresponding to the actual input control by the user, that is, an operation of clicking the "please input" area in fig. 1 by the user. The terminal device may load the pseudo input control in the second display area in response to a focus acquisition operation for the actual input control. The pseudo input controls are loaded after the terminal device responds to the focus acquisition operation and the terminal device allocates focus into the second display area instead of the first display area.
I.e. after the user clicks on the first display area, the terminal device may load a pseudo input control in the second display area, assigning focus to the second display area.
Step S504, performing high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area; the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded.
In this embodiment, the content displayed on the gui may be subjected to the highly dynamic transformation operation only when the position of the focal point and the reserved display area are not blocked. Since the focus is allocated to the second display area, the position of the focus is in the second display area. Also, it has been mentioned above that the second display area and the reserved display area of the soft keyboard are not obscured from each other. Therefore, the reserved display area does not shade the position of the focus, and the content displayed by the graphical user interface can be subjected to high dynamic transformation operation.
The high dynamic transformation operation can not shrink the content displayed by the interface, and only the interface height is adjusted to change the display positions of the service display interface and the actual input control in the graphical user interface, so that the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded.
Step S506, transferring the focus from the second display area to the first display area after the highly dynamic transformation operation, and displaying the soft keyboard in the reserved display area.
After the content displayed by the graphical user interface is subjected to the high dynamic transformation operation, the focus can be transferred back to the first display area, the soft keyboard is displayed in the reserved display area, the soft keyboard is in a pulled-up state, the focus also returns to the first display area, and the user can perform subsequent text writing operation, namely, text is input through the soft keyboard.
According to the interface control method provided by the embodiment of the invention, the terminal equipment responds to the focus acquisition operation aiming at the actual input control, the pseudo input control is loaded in the second display area, and the focus is distributed to the second display area; the terminal equipment performs high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded; and the terminal equipment transfers the focus from the second display area to the first display area after the high dynamic transformation operation, and displays the soft keyboard in the reserved display area. In the mode, the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are mutually not shielded by performing the high dynamic transformation operation on the content displayed by the graphical user interface, namely, the service display interface is not shielded by a system soft keyboard arranged in the reserved display area, so that a user can not be influenced to view the service display interface, and the experience of the user can be improved.
Another flow chart of an interface control method in an alternative embodiment shown in fig. 6, the interface control method in the alternative embodiment includes the steps of:
Step S602, in response to a focus acquisition operation for the actual input control, causes the first display area to acquire a focus.
When the user performs a focus acquisition operation for the actual input control, the terminal device generally causes the actual input control to acquire the focus, that is, the first display area to acquire the focus. For example: and clicking an actual input control set in the first display area by the user, and acquiring a focus by the actual input control.
In step S604, a pseudo input control is loaded in the second display area, and the focus is shifted into the second display area.
After the first display area acquires the focus, the terminal device may load a pseudo input control in the second display area. The loading of the pseudo input control is only for the purpose of executing the interface control method provided in the embodiment, and no other function is given. Thus, the pseudo input controls may be as small as possible, and the pseudo input controls may be transparently processed, for example: the second display area is arranged in the top area of the graphical user interface, the size of the pseudo input control is 1 pixel, and the pseudo input control is a transparent control.
As shown in fig. 4, in general, the reserved display area of the soft keyboard may be disposed at the bottom of the gui, and in order to make the second display area and the reserved display area of the soft keyboard not blocked from each other, the second display area may be disposed at the top area of the gui, for example: the second display area may be disposed in a top upper left corner area or an upper right corner area of the graphical user interface. In this way, the second display area is arranged in the top area of the graphical user interface, so that the second display area and the reserved display area of the soft keyboard are not blocked.
The terminal device may define a pseudo input control for a pixel by: the size, width and height of the set control are all 1px, and the background of the set control is transparent. In addition, the graphical user interface may be in a full screen mode, and the terminal device may further define a service layout total container in a full screen scene: setting the type of the container, such as a linear type, an absolute coordinate type and the like; setting a pseudo input control supporting dynamic addition of a pixel and storing the pseudo input control in the upper left corner of the container; setting a real actual input control id in the service scene, and searching the real actual input control by the system through the id. The terminal device may furthermore define a focus transfer manager for handling all logic of the focus transfer.
The business layout total container contains the complete runtime environment: all dependencies, class libraries, other binaries, configuration files, etc. required by the application, except the application itself, are uniformly driven into a package called a container image.
Step S606, performing high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area; the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded.
In this embodiment, the terminal device needs to check whether the position of the focal point is blocked by the reserved display area, and if so, it cannot perform a highly dynamic transformation operation on the content displayed on the graphical user interface; if not, the content displayed by the graphical user interface can be subjected to highly dynamic transformation operation. For example: and if the allocated focal point is not blocked by the reserved display area, performing high dynamic transformation operation on the content displayed by the graphical user interface.
If the user clicks the first display area which may be blocked by the soft keyboard, a pseudo input control with a width and a height of one pixel is constructed at the upper left corner of the interface, and a focus is acquired by the pseudo input control, and then the soft keyboard is pulled up. The terminal device can determine that the inputtable area (the second display area) of the pseudo input control is not blocked by the pulled-up soft keyboard at the moment, so that the terminal device can not execute the interface translation operation and can execute the highly dynamic transformation operation.
The terminal device comprises a display adjustment module of an input method, which is generally 'adjust Resize', and the content displayed by the graphical user interface can be subjected to high dynamic transformation operation based on the display adjustment module 'adjust Resize'.
The display adjustment module 'adjust resize' can enable the graphic user interface to automatically vacate space to display the soft keyboard when the soft keyboard appears on the graphic user interface, the whole of the original graphic user interface is adapted, the fact that an actual input control and a possible service display interface are not affected by the soft keyboard is ensured, and a reserved display area, the service display interface after the highly dynamic transformation operation and the actual input control after the highly dynamic transformation operation are not shielded.
Referring to the schematic diagram of another graphical user interface shown in fig. 7, fig. 7 is a schematic diagram of the graphical user interface after performing a highly dynamic transformation operation on the content displayed by the graphical user interface, it can be seen that the service display interface after the highly dynamic transformation operation is not affected by the soft keyboard, and the reserved display area, the service display interface after the highly dynamic transformation operation, and the actual input control after the highly dynamic transformation operation are not blocked by each other.
In the mode, the characteristic that the service display interface translation is not triggered by the focus is obtained by using the pseudo input control, the soft keyboard is pulled up by using the pseudo input control to replace the actual input control to obtain the focus, the content displayed by the graphical user interface can be subjected to high dynamic transformation operation, and the pseudo input control returns the focus to the actual input control after the soft keyboard is pulled up, so that the interface control method of the embodiment is realized.
Step S608, transferring the focus from the second display area to the first display area after the highly dynamic transformation operation, and displaying the soft keyboard in the reserved display area.
After the soft keyboard is completely displayed in the reserved display area, the focus can be transferred from the second display area to the first display area after the operation of high dynamic transformation, namely, the focus of the pseudo input control with the size of one pixel is returned to the actual input control which needs to acquire the focus, so that seamless transition is realized.
Because the pseudo input control is only a control set for focus transfer, after the focus of the pseudo input control with a pixel size is returned to the actual input control needing to acquire the focus, the pseudo input control is not necessary, and the terminal equipment can delete the pseudo input control from the graphical user interface.
In the method provided by the embodiment of the invention, if the user wants to pull up the soft keyboard, the user can click on the actual input control positioned in the first display area, and the focus acquisition operation for the actual input control is executed. The terminal device responds to the focus obtaining operation, and can firstly distribute the focus to the actual input control, then load the pseudo input control in the second display area of the graphical user interface, wherein the pseudo input control is a transparent control with 1 pixel and is only used for performing related operation of focus transfer.
After loading the pseudo input controls, the terminal device may shift focus to the pseudo input controls. The second display area is arranged in the top area of the graphical user interface, and the second display area and the reserved display area of the soft keyboard are not shielded from each other, so that the offset operation of the graphical user interface is not needed. The content displayed by the graphical user interface can be subjected to high dynamic transformation operation through a display adjustment module 'adjust resolution', and a reserved display area, a service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded. Finally, focus may be shifted back to the actual input control and then the pseudo input control deleted.
According to the method provided by the embodiment of the invention, the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded by the high dynamic transformation operation on the content displayed by the graphical user interface, and the service display interface is not shielded by the system soft keyboard arranged in the reserved display area, so that the user is not influenced to view the service display interface, and the user experience can be improved.
In this embodiment, the terminal device may set a plurality of listeners, which are configured to listen to the focal position, for example: the terminal device further comprises a first monitor; the step of loading the pseudo input control in the second display area in response to the focus acquisition operation for the actual input control may include: responding to focus acquisition operation aiming at an actual input control, and monitoring whether a first display area acquires a focus or not through a first monitor; if not, loading the pseudo input control in the second display area.
When the user clicks the input control, if the first monitor monitors that the first display area acquires the focus, this indicates that the focus transfer operation is completed at this time, that is, the second display area acquires the focus first, then performs the highly dynamic transformation operation on the content displayed by the graphical user interface, and then the focus is transferred to the first display area. At this time, the terminal device may not perform the focus shift operation without processing the focus.
The terminal device may set a click listener (i.e., a first listener) for the actual input control within the layout total container. When the user clicks the input control, if the first monitor monitors that the first display area has no focus, this indicates that the focus shifting operation is not performed, and at this time, the terminal device may perform the focus shifting operation: firstly, the second display area acquires the focus, then, the content displayed by the graphical user interface is subjected to high dynamic transformation operation, and finally, the focus is transferred to the first display area.
The terminal device may also set listeners (i.e., a second listener and a third listener) when making layout adjustments for the layout total container. The terminal device may further comprise a second listener; the step of performing a highly dynamic transformation operation on the content displayed on the graphical user interface based on the allocated focal point position and the reserved display area may include: monitoring whether a second display area acquires a focus or not through a second monitor; and if so, performing high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area.
When the soft keyboard is displayed, layout adjustment is triggered, and then second monitor logic is triggered, and at the moment, focus transfer is performed: if the second monitor monitors the second display area to acquire the focus, the transfer condition is met, the content displayed on the graphical user interface is subjected to high dynamic transformation operation based on the position of the allocated focus and the reserved display area, the pseudo input control gives up the focus, and the actual input control requests the focus.
In addition, the terminal device may further include a third listener, where the method further includes: and responding to the hiding operation aiming at the soft keyboard, monitoring a control for acquiring the focus through a third monitor, and discarding the focus by the control for acquiring the focus.
When the soft keyboard is hidden, layout adjustment is triggered to trigger the third monitor logic, and focal point discarding is performed at this time: the third monitor monitors a control for acquiring the focus, wherein the control for acquiring the focus can be a pseudo input control or an actual input control. The terminal equipment responds to the hiding operation of the soft keyboard, and the focus acquired by the pseudo input control or the actual input control can be directly abandoned.
According to the method provided by the embodiment of the invention, the focus transfer technology is realized by using the transparent pseudo-input control with one pixel, so that the requirement on a full-screen scene is met, the service display interface is ensured not to be covered and shielded by the system soft keyboard, the negative influence on the service display interface when the terminal equipment processes the soft keyboard in the full-screen scene is perfectly solved, the service display interface is not influenced by a user to view, and the user experience can be improved.
Corresponding to the method embodiment, the embodiment of the invention provides an interface control device, which provides a graphical user interface of a target application through a terminal device, wherein the content displayed by the graphical user interface at least comprises: the business display interface and the actual input control are positioned in the first display area, and the target application is also configured with a pseudo input control and a second display area corresponding to the pseudo input control; the second display area and the reserved display area of the soft keyboard are not shielded. A schematic structural diagram of an interface control device shown in fig. 8, the interface control device comprising:
A focus acquisition module 81 for loading a pseudo input control in the second display area in response to a focus acquisition operation for an actual input control, and distributing the focus into the second display area;
an interface conversion module 82, configured to perform a highly dynamic conversion operation on the content displayed on the graphical user interface based on the allocated focal position and the reserved display area; the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded;
the soft keyboard display module 83 is configured to transfer the focus from the second display area to the first display area after the highly dynamic transformation operation, and display the soft keyboard in the reserved display area.
According to the interface control device provided by the embodiment of the invention, the terminal equipment responds to the focus acquisition operation aiming at the actual input control, the pseudo input control is loaded in the second display area, and the focus is distributed to the second display area; the terminal equipment performs high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are not shielded; and the terminal equipment transfers the focus from the second display area to the first display area after the high dynamic transformation operation, and displays the soft keyboard in the reserved display area. In the mode, the reserved display area, the service display interface after the high dynamic transformation operation and the actual input control after the high dynamic transformation operation are mutually not shielded by performing the high dynamic transformation operation on the content displayed by the graphical user interface, namely, the service display interface is not shielded by a system soft keyboard arranged in the reserved display area, so that a user can not be influenced to view the service display interface, and the experience of the user can be improved.
The second display area is arranged in the top area of the graphical user interface, the size of the pseudo input control is 1 pixel, and the pseudo input control is a transparent control.
The focus acquisition module is used for responding to focus acquisition operation aiming at an actual input control, so that a first display area acquires a focus; and loading a pseudo input control in the second display area, and transferring the focus to the second display area.
And the interface conversion module is used for carrying out high dynamic conversion operation on the content displayed by the graphical user interface if the allocated focal point is not blocked by the reserved display area.
The terminal equipment comprises a display adjustment module, and the interface conversion module is used for carrying out high dynamic conversion operation on the content displayed by the graphical user interface based on the display adjustment module.
Fig. 9 is a schematic structural diagram of another interface control device, which further includes: the control deleting module 84 is connected to the soft keyboard display module 83, and the control deleting module 84 is configured to delete the pseudo input control from the graphical user interface.
The terminal equipment further comprises a first monitor; the focus acquisition module is used for responding to focus acquisition operation aiming at an actual input control, and monitoring whether a first display area acquires a focus or not through a first monitor; if not, loading the pseudo input control in the second display area.
The terminal equipment further comprises a second monitor; the interface conversion module is used for monitoring whether the second display area acquires a focus or not through the second monitor; and if so, performing high dynamic transformation operation on the content displayed by the graphical user interface based on the allocated focal point position and the reserved display area.
The terminal equipment further comprises a third monitor; as shown in fig. 9, the interface control device further includes: the focus discarding module 85 is connected to the soft keyboard display module 83, and the focus discarding module 85 is configured to, in response to a hiding operation for the soft keyboard, monitor, by using a third monitor, a control for obtaining a focus, so that the control for obtaining a focus discards the focus.
The graphical user interface is in a full screen mode.
The embodiment of the invention also provides electronic equipment for running the interface control method; referring to a schematic structural diagram of an electronic device shown in fig. 10, the electronic device includes a memory 100 and a processor 101, where the memory 100 is configured to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the interface control method described above.
Further, the electronic device shown in fig. 10 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
The memory 100 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 103 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 102 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 10, but not only one bus or type of bus.
The processor 101 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 101 or instructions in the form of software. The processor 101 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 100 and the processor 101 reads information in the memory 100 and in combination with its hardware performs the steps of the method of the previous embodiments.
The embodiment of the invention also provides a computer readable storage medium, which stores computer executable instructions that, when being called and executed by a processor, cause the processor to implement the interface control method, and the specific implementation can be referred to the method embodiment and will not be described herein.
The interface control method, the apparatus and the computer program product of the electronic device provided in the embodiments of the present invention include a computer readable storage medium storing program codes, and instructions included in the program codes may be used to execute the method in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and/or apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. An interface control method, characterized in that a graphical user interface of a target application is provided through a terminal device, and content displayed by the graphical user interface at least comprises: the system comprises a service display interface and an actual input control, wherein the actual input control is positioned in a first display area, the target application is further provided with a pseudo input control and a second display area corresponding to the pseudo input control, the pseudo input control is a control arranged for focus transfer, and the pseudo input control is used for acquiring a focus to pull up a soft keyboard instead of the actual input control; the second display area and the reserved display area of the soft keyboard are not shielded; the method comprises the following steps:
CN202110739048.4A2021-06-302021-06-30Interface control method and device and electronic equipmentActiveCN113467693B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110739048.4ACN113467693B (en)2021-06-302021-06-30Interface control method and device and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110739048.4ACN113467693B (en)2021-06-302021-06-30Interface control method and device and electronic equipment

Publications (2)

Publication NumberPublication Date
CN113467693A CN113467693A (en)2021-10-01
CN113467693Btrue CN113467693B (en)2023-07-21

Family

ID=77876647

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110739048.4AActiveCN113467693B (en)2021-06-302021-06-30Interface control method and device and electronic equipment

Country Status (1)

CountryLink
CN (1)CN113467693B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2014153986A1 (en)*2013-03-282014-10-02Tencent Technology (Shenzhen) Company LimitedMethod, apparatus, and terminal device for displaying multiple input boxes in a web page
CN107368242A (en)*2017-09-202017-11-21济南浚达信息技术有限公司A kind of method of Android system soft keyboard automatic adjusting position
CN111247510A (en)*2018-03-232020-06-05华为技术有限公司 Application window display method and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2010092086A (en)*2008-10-032010-04-22Just Syst CorpUser input apparatus, digital camera, input control method, and input control program
US9916291B2 (en)*2013-03-282018-03-13Tencent Technology (Shenzhen) Company LimitedMethod, apparatus, and terminal device for displaying multiple input boxes in a web page where display space is limited
US10838598B2 (en)*2018-06-032020-11-17Apple Inc.Focus movement between virtual user interface elements and native user interface elements

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2014153986A1 (en)*2013-03-282014-10-02Tencent Technology (Shenzhen) Company LimitedMethod, apparatus, and terminal device for displaying multiple input boxes in a web page
CN107368242A (en)*2017-09-202017-11-21济南浚达信息技术有限公司A kind of method of Android system soft keyboard automatic adjusting position
CN111247510A (en)*2018-03-232020-06-05华为技术有限公司 Application window display method and terminal

Also Published As

Publication numberPublication date
CN113467693A (en)2021-10-01

Similar Documents

PublicationPublication DateTitle
US11347389B2 (en)File processing method, terminal, and storage medium
US11500513B2 (en)Method for icon display, terminal, and storage medium
KR102278932B1 (en) Application program processing method and terminal device
CN112817684B (en)User interface display method, device, terminal and storage medium
US7889212B2 (en)Magnifying visual information using a center-based loupe
CN108415752A (en)user interface display method, device, equipment and storage medium
CN108540646A (en)message reminding method, device, equipment and storage medium
CN110297681B (en)Image processing method, device, terminal and storage medium
CN111866423A (en) Screen recording method and corresponding device for electronic terminal
CN109656445B (en) Content processing method, device, terminal and storage medium
CN108415751A (en)message reminding method, device, equipment and storage medium
CN107688430B (en) Method, device, terminal and storage medium for replacing wallpaper
CN107506086A (en) Touch screen control method, device, mobile terminal and storage medium
CN105786713B (en)The split screen of mobile terminal investigates method, device and mobile terminal
US11314391B2 (en)Navigation bar controlling method and terminal
CN110443772B (en)Picture processing method and device, computer equipment and storage medium
CN107748656A (en)A kind of picture display process, device, terminal and storage medium
CN111897607B (en) Application interface loading and interaction method, device and storage medium
CN113467693B (en)Interface control method and device and electronic equipment
CN107562324B (en) Data display control method and terminal
CN104866620B (en)The implementation method of background formula focus chart, apparatus and system
CN110971955B (en)Page processing method and device, electronic equipment and storage medium
CN112948730B (en)Webpage data display method and device, storage medium and electronic equipment
CN115630241A (en)Page display method and device, electronic equipment and storage medium
US11069066B2 (en)Dynamically change tracker speed, switch crop rectangles, and display invisible corners via zoom-loupes

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp