Display method and electronic equipment

By adjusting the interactive interface layout of electronic devices, the problem of difficult access to control positions on large-sized screens is solved, and the convenience of users operating controls without moving their positions is achieved.

CN119002765APending Publication Date: 2024-11-22LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411186630.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When using electronic devices with large-sized screens, it is difficult for users to interact through interactive controls on the screen, especially when the controls are located above or far end of the screen, the user needs to move the position or use additional devices for easy operation, resulting in inconvenience in interaction.

Method used

By responding to user trigger instructions, adjusting the element layout of the interactive interface, the first target interaction control is positioned at the second display position of the interactive device in the second interactive interface, ensuring the distance between the position and the target boundary and the first The distance between the display position and the target boundary is different, thereby realizing the position adjustment of the control.

Benefits of technology

Without additional device support, users can easily operate any interactive controls on the screen, improving screen utilization and display effects, and adapting to user needs in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002765A_ABST
    Figure CN119002765A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a display method and electronic equipment, and the method comprises the steps: displaying a first interaction interface which comprises a first target interaction control located at a first display position of interactive equipment; in response to the first trigger instruction, determining a target layout adjustment mode; based on the target layout adjustment mode, the element layout of the first interaction interface is adjusted, a second interaction interface is obtained and displayed, elements in the first interaction interface comprise the first target interaction control, and elements in the second interaction interface comprise the second target interaction control. The first target interaction control is located at a second display position of the interactive device in the second interaction interface, and the distance between the first display position and a target boundary of the second interaction interface is not equal to the distance between the second display position and the target boundary.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to the field of display technology, and in particular to a display method and electronic equipment. Background Art

[0002] For electronic devices that interact via touch screens, when the user cannot touch the interactive controls in the interactive interface based on the current operating position, there is a problem that it is difficult for the user to interact without moving the operating position or using an external device. Summary of the invention

[0003] In view of this, the embodiments of the present application at least provide a display method and an electronic device.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The present application provides a display method, including:

[0006] Displaying a first interactive interface, wherein the first interactive interface includes a first target interactive control located at a first display position of the interactive device;

[0007] In response to the first trigger instruction, determining a target layout adjustment mode;

[0008] Based on the target layout adjustment method, the element layout of the first interactive interface is adjusted to obtain and display the second interactive interface. The elements in the first interactive interface include a first target interactive control. The first target interactive control is located at a second display position of the interactive device in the second interactive interface. The distance between the first display position and the target boundary of the second interactive interface is not equal to the distance between the second display position and the target boundary.

[0009] An embodiment of the present application provides an electronic device, comprising: an interactive screen and a control component;

[0010] An interactive screen, used to display a first interactive interface and a second interactive interface, wherein the first interactive interface includes a first target interactive control located at a first display position of the interactive screen;

[0011] A control component is used to determine a target layout adjustment method in response to a first trigger instruction; based on the target layout adjustment method, the element layout of the first interactive interface is adjusted to obtain a second interactive interface, the elements in the first interactive interface include a first target interactive control, the first target interactive control is located at a second display position of the interactive screen in the second interactive interface, and the distance between the first display position and the target boundary of the second interactive interface is not equal to the distance between the second display position and the target boundary.

[0012] An embodiment of the present application provides a display device, including:

[0013] A first display module, configured to display a first interactive interface, wherein the first interactive interface includes a first target interactive control located at a first display position of the interactive device;

[0014] A first determining module, configured to determine a target layout adjustment method in response to a first trigger instruction;

[0015] The second display module is used to adjust the element layout of the first interactive interface based on the target layout adjustment method to obtain and display the second interactive interface. The elements in the first interactive interface include a first target interactive control. The first target interactive control is located at a second display position of the interactive device in the second interactive interface. The distance between the first display position and the target boundary of the second interactive interface is not equal to the distance between the second display position and the target boundary.

[0016] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to implement the above-mentioned display method.

[0017] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code runs in an electronic device, a processor in the electronic device executes some or all of the steps for implementing the above-mentioned display method.

[0018] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, some or all of the steps in the above-mentioned display method are implemented.

[0019] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1A Schematic diagram 1 of a display of an interactive interface in the related art;

[0021] Figure 1B A display diagram of an interactive interface in the related art Figure 2 ;

[0022] Figure 1C A schematic diagram of a display method according to an embodiment of the present application;

[0023] Figure 1D A display diagram of an interactive interface in the related art Figure 3 ;

[0024] Figure 1E A display schematic diagram 1 of an interactive interface provided in an embodiment of the present application;

[0025] Figure 1F A display diagram of an interactive interface provided in an embodiment of the present application Figure 2 ;

[0026] Figure 1G A schematic diagram of the composition structure of a view tree in the related art;

[0027] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0028] Figure 3 A schematic diagram of a drawing process of a view in the related art;

[0029] Figure 4 A schematic diagram of an implementation process of a display method provided in an embodiment of the present application Figure 2 ;

[0030] Figure 5 A schematic diagram of the composition structure of a class diagram provided in an embodiment of the present application;

[0031] Figure 6 A schematic diagram of the structure of a display device provided in an embodiment of the present application;

[0032] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0034] In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application. It should also be noted that, for ease of description, only the parts related to the relevant application are shown in the accompanying drawings.

[0035] For electronic devices with large screens, when a user interacts with the screen through touch, the interaction may be somewhat inconvenient due to the large screen size.

[0036] For example, a user wants to click an element at the top of the screen, but the element is too high to be clicked by the user; for another example, if a user stands on the right side of the screen and wants to click an element on the left side of the screen, the user needs to move his current position.

[0037] In the related art, when the user does not dynamically change the location, the user's operable range can be expanded by adding additional control devices to further solve the problem of inconvenient interaction. For example, when using an electronic device with a large screen, a pointer, electronic pen, or controller is provided. However, this requires switching of operating tools when the user operates, and the user needs to master additional control devices when using the electronic device.

[0038] Or by changing the user's position, the user's operational range can be expanded. For example, using tools such as chairs to raise the height of the user's touchable area. However, this still requires the user to use additional tools during operation, and when the user performs alternating operations on the high and low areas of the screen, the user needs to repeatedly use tools to change his position, which increases the inconvenience of interaction.

[0039] In the related art, the elements on the screen can also be placed within the user's operable range by limiting the display area of ​​the screen. For example, the target application has a preset half-screen mode. In the half-screen mode, the original interactive interface of the target application on the large-size screen is lowered by half a screen before being displayed. The interactive area is only displayed in the lower half of the large-size screen, and the upper half of the large-size screen can be blank or black. However, in this way, the display area of ​​the interface is limited, resulting in limited displayed content, which makes the utilization rate of the large-size screen low.

[0040] For example, Figure 1A As shown, the interactive interface of the document application displays a first interactive area 11, a second interactive area 12, and a third interactive area 13. The first interactive area 11 includes a menu control 14; the second interactive area 12 includes a document selection control 15 and a document interface operation control 16; and the third interactive area 13 includes an application control 17. The controls in the interactive interface are mainly concentrated in the upper half of the interactive interface.

[0041] In order to allow users to click on the controls in the upper half of the interactive interface, you can select half-screen mode in the settings. In half-screen mode, Figure 1BAs shown, the interactive interface of the document application displays a first interactive area 21, a second interactive area 22, a third interactive area 23 and a fourth interactive area 24. Among them, the first interactive area 21 includes a menu control 25; the second interactive area 22 includes a document selection control 26 and a document interface operation control 27; the third interactive area 23 includes an application control 28; and the fourth interactive area 24 includes a prompt text "Click the black area on the screen to exit", and the background is black. Figure 1B The lower part of the interactive interface is Figure 1A The upper part of the interactive interface.

[0042] In this way, the user can operate the controls in the upper half of the original interactive interface, but half of the screen area is not used, and the screen utilization rate is low.

[0043] On this basis, the embodiment of the present application provides a display method, which can be performed by an electronic device with an interactive screen. The electronic device may include but is not limited to a server, an interactive large-screen device, a laptop, a tablet computer, a desktop computer, a mobile device (such as a mobile phone, a portable video player, a personal digital assistant, a dedicated messaging device, a portable gaming device) and other devices with data processing capabilities.

[0044] like Figure 1C As shown, the display method includes the following steps S101 to S103:

[0045] Step S101: displaying a first interactive interface, wherein the first interactive interface includes a first target interactive control located at a first display position of an interactive device.

[0046] Here, the interactive device may include an electronic device with an interactive screen. Among them, the interactive screen may include an interactive screen with a control module. The interactive screen may include a touch screen, which may include but is not limited to an infrared touch screen, a capacitive touch screen, a pressure-sensitive touch screen, etc.

[0047] The first interactive interface may include a display interface of an interactive device. The first interactive interface includes interactive interface controls. The interface controls may include but are not limited to buttons, file editing boxes, and the like.

[0048] In some embodiments, the first interactive interface may be the entire display interface of the interactive device, or may be a partial display interface of the interactive device.

[0049] For example, the first interactive interface may be a display interface of at least one interactive screen of a computer having multiple interactive screens.

[0050] In some implementations, when the first interactive interface is a display interface of an application, the application may execute an operation corresponding to an interface control in the display interface in response to a user triggering the interface control.

[0051] The first target interactive control may include at least one interface control to be adjusted in the first interactive interface.

[0052] In some implementations, the first target interactive control may include an adjustable interface control preset in the first interactive interface.

[0053] For example, the first target interactive control may be an interface control of a menu bar in the first interactive interface.

[0054] For another example, the first target interactive control may be all interface controls in the first interactive interface.

[0055] The first display position is the display position of the first target interactive control in the first interactive interface in the interactive device of the interactive device, and may correspond to an entire display area or to multiple dispersed display areas.

[0056] For example, Figure 1D As shown, a setting window 31 and a control 32 for exiting the setting window are displayed in the setting interface of the interactive device. The setting window 31 includes a display area 33 of a menu bar, a display area 34 of specific settings, and a display area 35 of the setting window name; the display area 33 includes a plurality of menu controls corresponding to network settings, display and sound, device and power, etc.; the display area 34 includes a plurality of specific setting controls such as wired network, wireless network, hotspot, Bluetooth, etc.

[0057] When the setting interface of the interactive device is displayed on a large-size interactive screen, the display area 33 of the menu bar is on the left side of the screen. When the user stands on the right side of the screen and wants to click on the menu control in the menu bar, he needs to move to the left side of the screen to complete the interaction.

[0058] Step S102: In response to the first trigger instruction, determine a target layout adjustment method.

[0059] Here, the first trigger instruction may include an instruction to instruct adjustment of the interface layout of the interactive device. For example, the first trigger instruction may include an instruction to instruct adjustment of the display interface of the target application currently displayed on the interactive device; for another example, the first trigger instruction may include an instruction to instruct adjustment of all display interfaces displayed by the interactive device.

[0060] In some implementations, the manner of obtaining the first trigger instruction may include at least one of the following:

[0061] In response to a trigger operation of the user on the interactive device, a first trigger instruction is obtained; the trigger operation may include but is not limited to at least one of triggering a mechanical key corresponding to the first trigger instruction, performing a gesture corresponding to the first trigger instruction, giving a voice command corresponding to the first trigger instruction, etc.;

[0062] In response to obtaining a first user position of an operating user in a physical space, obtaining a first trigger instruction;

[0063] An operating user of the interactive device is determined, and a first trigger instruction is obtained in response to obtaining a historical display habit of the operating user.

[0064] For example, in response to an operating user pressing a mechanical button of the interactive device corresponding to adjusting the interface layout of the interactive device, the first trigger instruction may be obtained.

[0065] For another example, after a first user position of an operating user in a physical space is identified, a first trigger instruction may be obtained after a position between the first user position and an interactive control in a display interface exceeds a preset distance threshold.

[0066] In some implementations, the interactive device may obtain the first trigger instruction after acquiring the first user's location through a target interface, and adjust the interface layout; the target interface may be an interface that provides location information of the first user's location.

[0067] For another example, the interactive device may obtain the first trigger instruction based on the display habits and / or operating habits of the operating user who currently operates the interactive device, when the interface layout of the first interactive interface at the current moment does not match the operating habits of the operating user. The display habits and / or operating habits may represent the habitual operating position of the corresponding operating user.

[0068] The target layout adjustment method may include an adjustment method for the layout of elements in the display interface of the interactive device, that is, an interface layout adjustment method. The elements in the display interface may include, but are not limited to, controls, static content, etc. in the display interface. The static content may include, but is not limited to, at least one of images, text, videos, etc.

[0069] In some implementations, the target layout adjustment method may be a layout adjustment method of the first interactive interface, and may also include a layout adjustment method of an interactive interface other than the first interactive interface.

[0070] In some embodiments, the target layout adjustment method may include but is not limited to at least one of adjusting the left element in the display interface to the right, adjusting the right element to the left, adjusting the top element to the bottom, adjusting the bottom element to the top, etc.

[0071] For example, when the operating user sits on the right side of the interactive device, the position of the left top element in the current display interface can be adjusted to the right bottom of the display interface. In this way, the operating user can operate the elements that cannot be operated in the original display interface in the adjusted interactive interface without moving his position.

[0072] For another example, when a large interactive screen is placed vertically on the ground, the position of the bottom element in the current display interface can be adjusted to the top of the display interface. In this way, it can prevent children from accidentally touching the bottom element and affecting the normal use of the screen.

[0073] Step S103: Based on the target layout adjustment method, the element layout of the first interactive interface is adjusted to obtain and display the second interactive interface. The elements in the first interactive interface include a first target interactive control. The first target interactive control is located at a second display position of the interactive device in the second interactive interface. The distance between the first display position and the target boundary of the second interactive interface is not equal to the distance between the second display position and the target boundary.

[0074] Here, the second interactive interface can be a display interface obtained by adjusting the layout of the first interactive interface based on the target layout adjustment mode, and the content in the second interactive interface can be the same as the content in the first interactive interface, but the interface layout is different. The second interactive interface includes the first target interactive control.

[0075] The second display position is the display position of the first target interactive control in the second interactive interface in the interactive device. It may correspond to an entire display area or to multiple dispersed display areas. For example, the second display position may include but is not limited to the side where the operating user is located relative to the interactive device, the opposite position of the control in the first interactive interface, the display area corresponding to the habitual operating position of the operating user, etc.

[0076] The target border may include a border of the interactive device, which may include but is not limited to at least one of a left border, a right border, a top border, and a bottom border.

[0077] It can be understood that after the element layout of the first interactive interface is adjusted based on the target layout adjustment mode, the position of the adjusted element in the second interactive interface changes at least relative to one side boundary.

[0078] For example, Figure 1E As shown, after determining that the operating user position is on the right side of the interactive device, the interactive device can automatically switch Figure 1DThe display area of ​​the menu bar on the left side of the setting window 41 is moved to the right side, and in the adjusted setting interface, the menu bar display area 42 is displayed on the right side of the setting window 41, and the display area 43 of the specific settings is displayed on the left side of the setting window 41. The display area 42 includes multiple menu controls corresponding to network settings, display and sound, device and power, etc.; the display area 43 includes multiple specific setting controls such as wired network, wireless network, hotspot, Bluetooth, etc.

[0079] In some embodiments, after the interactive device is connected to a device such as a smart camera or microphone that can collect user location information, the specific location of the operating user can be determined by identifying the location of the operating user in the collected image and / or the source of the sound in the collected audio, and the target layout adjustment method can be further determined to complete the layout switching of the interactive interface.

[0080] In the embodiment of the present application, in response to the first trigger instruction, based on the target layout adjustment method, the element layout of the first interactive interface including the first target interactive control is adjusted to obtain the adjusted second interactive interface, and the distance between the position of the first target interactive control and the target boundary is different before and after the adjustment. In this way, on the one hand, without the need for additional device support, the user can operate any interactive control in the display interface of the interactive device; on the other hand, by adjusting the element layout in the interactive interface, the interactive interface can be fully displayed, the screen utilization rate can be improved, and the display effect of the interactive device can be better; on the other hand, the controls in the interactive interface can be adjusted to the position required by the user in different scenarios according to the different needs of the user.

[0081] In some embodiments, the above step S102 may include the following steps S111 to S113:

[0082] Step S111: In response to a first trigger instruction, determine a target operation area corresponding to the first trigger instruction.

[0083] Here, the target operation area may include an area in the interactive device where interactive operations can be performed, for example, an area corresponding to the operable range of the operating user in the interactive device.

[0084] For example, when the operating user provides a voice instruction to adjust the elements in the display interface to the right side of the interactive device, the right side of the interactive device may be determined as the target operation area.

[0085] For another example, when the operating user clicks on a sidebar on any side of the interactive device, the opposite side of one side where elements are concentrated in the current display interface can be determined as the target operation area.

[0086] Step S112: determining a first display position based on first layout information of the first interactive interface.

[0087] Here, the first layout information may be related information characterizing the layout of the first interactive interface, including but not limited to the layout mode of the first interactive interface, the content distribution of the first interactive interface, etc. The layout mode may include but not limited to at least one of linear layout, frame layout, relative layout, etc.

[0088] In some implementations, the first display position where the first target interactive control is located may be determined based on distribution information of elements in the first interactive interface.

[0089] Step S113: determining a target layout adjustment method based on a positional relationship between the first display position and the target operation area.

[0090] In some implementations, the target layout adjustment mode may be determined based on whether the distance between the first display position and the target operation area is greater than a maximum distance threshold or less than a minimum distance threshold.

[0091] For example, when the distance between the first display position and the target operation area is greater than a maximum distance threshold, the element at the first display position may be adjusted to the opposite side position of the first display position on the target dimension. In the target dimension, the distance between the opposite side position of the first display position and the target operation area is less than the maximum distance threshold. The target dimension may be any direction in the plane where the first interactive interface is located.

[0092] For another example, when the distance between the first display position and the target operation area is less than a minimum distance threshold, the element at the first display position may be adjusted to the opposite side position of the first display position on the target dimension, wherein the distance between the opposite side position of the first display position and the target operation area on the target dimension is greater than the minimum distance threshold.

[0093] In the embodiment of the present application, in response to the first trigger instruction, the target operation area corresponding to the first trigger instruction is determined; based on the first layout information of the first interactive interface, the first display position is determined; based on the positional relationship between the first display position and the target operation area, the target layout adjustment method is determined. In this way, the target layout adjustment method is determined based on the relationship between the target operation area and the first display position, which can improve the accuracy of the position of the first target interactive control to facilitate user operation after the interface layout of the first interactive interface is adjusted, and further improve the user's experience of using the control to perform interactive operations when using the interactive device.

[0094] In some embodiments, the above step S113 may include the following steps S121:

[0095] Step S121: When the first display position is located on the target side of the interactive device, determine that the target layout adjustment method is a first adjustment method, the target side is a side of the interactive device away from the target operation area on the target dimension, and the first adjustment method represents the reverse arrangement of the elements in the first interactive interface on the target dimension.

[0096] Here, the target dimension may include any direction in the plane where the display interface of the interactive device is located.

[0097] The target side may be a side of the interactive device that is away from the target operation area in the target dimension.

[0098] It can be understood that, by adjusting the first interaction interface based on the first adjustment method, the elements that are farther away from the target operation area in the first interaction interface are closer to the target operation area in the adjusted second interaction interface.

[0099] For example, Figure 1F As shown, in Figure 1A In the case where the lower half of the interactive interface of the document application is used as the target operation area, the vertical direction can be used as the target dimension, and based on the first adjustment method, the menu control 14, the document selection control 15, the document interface operation control 16 and the application control 17 are adjusted to Figure 1F In addition, the controls in the menu control 14 and the controls in the application control 17 are arranged in reverse order, and the document selection control 15 and the document interface operation control 16 are arranged in reverse order.

[0100] In the embodiment of the present application, the elements including the first target interactive control are arranged in reverse in the dimension away from the target operation area. In this way, the elements farther away from the target operation area can be closer to the target operation area after the interface layout of the interactive interface is adjusted, further improving the accuracy of the location of the first target interactive control to facilitate user operation.

[0101] In some embodiments, the above step S121 may include the following step S131:

[0102] Step S131: when the first display position is located at a target side of the interactive device and the number of interactive controls in the target side is greater than the number of interactive controls in the opposite side of the target side, determine that the target layout adjustment mode is the first adjustment mode.

[0103] Here, the target side is the side far from the target operation area, and the opposite side of the target side is the side close to the target operation area. By adjusting the first interactive interface based on the first adjustment method, the interactive controls that are farther from the target operation area in the first interactive interface are closer to the target operation area in the adjusted second interactive interface. In this way, when the number of interactive controls on the side far from the target operation area is greater than the number of interactive controls on the side close to the target operation area, most of the interactive controls are adjusted to the side close to the target operation area, which can improve the feasibility and convenience of users interacting through the interactive controls based on the target operation area.

[0104] In the embodiment of the present application, when the first display position is located at the target side of the interactive device, and the number of interactive controls in the target side is greater than the number of interactive controls in the opposite side of the target side, the target layout adjustment mode is determined to be the first adjustment mode. In this way, the interface layout can be adjusted according to the number distribution of interactive controls in the first interactive interface, the number of interactive controls that are convenient for users to operate is increased, and the user's interactive experience is further improved.

[0105] In some embodiments, the above step S111 may include the following steps S141 to S142:

[0106] Step S141: In response to a first trigger instruction, obtain first position information; the first position information represents the position of an operating user of the interactive device in a physical environment.

[0107] Here, the first position information may include but is not limited to the distance between the operating user and the interactive device, the left and right position of the operating user relative to the interactive device, etc.

[0108] Step S142: Determine a target operation area based on the first position information.

[0109] In some implementations, a display area corresponding to the operating user's operable range in the interactive device may be determined as a target operating area based on the operating user's position in the physical environment.

[0110] For example, a display area in the interactive device that is no more than 0.5 meters away from the operating user may be determined as the target operating area.

[0111] For another example, when the operating user is located on the left side of the interactive device, the left half of the display area of ​​the interactive device can be determined as the target operation area.

[0112] In the embodiment of the present application, in response to the first trigger instruction, first position information representing the position of the operating user of the interactive device in the physical environment is obtained; based on the first position information, the target operation area is determined. In this way, the layout adjustment method can be determined by the distance between the operating user's position and the target operation area, so that the first target interactive control can be flexibly switched as the position of the operating user changes, further improving the interactive experience of the operating user.

[0113] In some embodiments, the first interactive interface includes a first application interface of a first target application. After executing the above step S102, the above display method may further include at least one of the following steps S151 to S152:

[0114] Step S151: In response to the second trigger instruction, based on the target layout adjustment mode, the element layout of the second application interface of the first target application is adjusted to obtain and display the third application interface.

[0115] Here, the first target application may be an application running on the interactive device.

[0116] The first application interface may include a current display interface of the first target application.

[0117] The second application interface may include at least one display interface of the first target application other than the first application interface. For example, the second application interface may be the next display interface after the first application interface jumps, or may be all other display interfaces except the first application interface.

[0118] The second trigger instruction may include an instruction to adjust the interface layout of the second application interface.

[0119] In some implementations, the manner of obtaining the second trigger instruction may include, but is not limited to, at least one of the following:

[0120] In response to obtaining and displaying the second interactive interface, obtaining a second trigger instruction;

[0121] In response to displaying the second application interface, obtaining a second trigger instruction;

[0122] In response to a trigger operation of the user on the interactive device, a second trigger instruction is obtained; the trigger operation may include but is not limited to at least one of triggering a mechanical key corresponding to the second trigger instruction, performing a gesture corresponding to the second trigger instruction, giving a voice command corresponding to the second trigger instruction, etc.;

[0123] An operating user of the interactive device is determined, and in response to obtaining a historical display habit of the operating user, a second trigger instruction is obtained.

[0124] For example, the second application interface may be adjusted after the second interactive interface is displayed.

[0125] For example, the interactive device can obtain a second trigger instruction based on the display habits and / or operating habits of the user who is currently operating the interactive device, if the interface layout of the second application interface at the current moment does not match the operating habits of the user.

[0126] The third application interface may be a display interface having the same content as the second application interface but a different layout.

[0127] Step S152: In response to the third trigger instruction, based on the target layout adjustment mode, adjust the element layout of the fourth application interface of the second target application to obtain and display the fifth application interface.

[0128] Here, the second target application may be an application running on the interactive device and different from the first target application.

[0129] The fourth application interface may include at least one display interface of the second target application. For example, the fourth application interface may be the current display interface of the second target application, or may be all display interfaces of the second target application.

[0130] The third trigger instruction may include an instruction to adjust the interface layout of the fourth application interface.

[0131] In some implementations, the manner of obtaining the third trigger instruction may include, but is not limited to, at least one of the following:

[0132] In response to obtaining and displaying the second interactive interface, obtaining a third trigger instruction;

[0133] In response to displaying the fourth application interface, obtaining a third trigger instruction;

[0134] In response to a trigger operation of the user on the interactive device, a third trigger instruction is obtained; the trigger operation may include but is not limited to at least one of triggering a mechanical key corresponding to the third trigger instruction, performing a gesture corresponding to the third trigger instruction, giving a voice command corresponding to the third trigger instruction, etc.;

[0135] An operating user of the interactive device is determined, and in response to obtaining a historical display habit of the operating user, a third trigger instruction is obtained.

[0136] For example, the fourth application interface may be adjusted after the second interactive interface is displayed.

[0137] For example, the interactive device can obtain a third trigger instruction based on the display habits and / or operating habits of the user who is currently operating the interactive device, when the interface layout of the fourth application interface at the current moment does not match the operating habits of the user.

[0138] The fifth application interface may be a display interface having the same content as the fourth application interface but a different layout.

[0139] In an embodiment of the present application, in response to the second trigger instruction, based on the target layout adjustment method, the element layout of the second application interface of the first target application is adjusted to obtain and display the third application interface; in response to the third trigger instruction, based on the target layout adjustment method, the element layout of the fourth application interface of the second target application is adjusted to obtain and display the fifth application interface. In this way, after updating the interface layout of the current display interface, the interface layout of other interfaces of the application to which the display interface belongs and / or the interface layout of other applications running on the same interactive device are dynamically updated. There is no need to restart the application or device after changing the interface layout. The interface layout of different display interfaces of the same application and / or the interface layout of display interfaces of other applications can be dynamically switched, thereby improving the subsequent interactive operation experience of the operating user.

[0140] In some embodiments, the first target interactive control is located in a target view in the first interactive interface, and the above step S102 may include step S161:

[0141] Step S161: In response to the first trigger instruction, a target layout adjustment method is determined based on the layout mode of the target view.

[0142] Here, the target view may include at least one view and / or view group in the first interactive interface, and each layout mode in the first interactive interface includes at least one view. Each view may include content data, which may include but is not limited to at least one of text data, image data, video data, etc.

[0143] The layout mode may represent the way to layout views in the interface, and may include but is not limited to at least one of a conventional layout, a scroll view mode, a list view mode, etc. Among them, the conventional layout may include but is not limited to at least one of a linear layout, a relative layout, a frame layout, an absolute layout, a flow layout, etc.

[0144] In some implementations, different layout modes correspond to different target layout adjustment methods.

[0145] For example, when the layout mode is a normal layout, the target layout adjustment method may be to keep the order of the views in the interface unchanged and only adjust the positions.

[0146] For another example, when the layout mode is the scroll view mode, the screen content exceeding the screen size is displayed through the scroll bar, and the target layout adjustment method can be to adjust the scroll bar position and the distribution of the content in the screen. Among them, the scroll bar can be a view.

[0147] In some embodiments, each display interface of the application may correspond to a view tree, the leaf nodes of the view tree are views and view groups, each view group corresponds to a layout mode, each view group may include at least one child node, and the child node may include a child view and / or a child view group. The interface layout of each display interface is mainly determined by the layout of each view group to its child nodes, so the layout of the entire display interface can be modified by modifying the layout of the view group to the child nodes.

[0148] For example, Figure 1G As shown, the view tree corresponding to the display interface includes the root node 61 of the operation view tree, the leaf node 71 that carries the view layout, and the leaf node 81 corresponding to the first-level view group. The layout mode corresponding to the first-level view group is a linear layout; the first-level view group includes a second-level view group arranged linearly, button 3 and button 4 as views; the leaf node 91 corresponding to the second-level view group, the leaf node 92 corresponding to button 3, and the leaf node 93 corresponding to button 4 are child nodes of the leaf node 81. The layout mode corresponding to the second-level view group is a linear layout; the second-level view group includes buttons 1 and button 2 as views arranged linearly; the leaf node 101 corresponding to button 1 and the leaf node 102 corresponding to button 2 are child nodes of the leaf node 91.

[0149] In the embodiment of the present application, in response to the first trigger instruction, the target layout adjustment method is determined based on the layout mode of the target view. In this way, the target view in the interface can automatically switch the corresponding layout based on the different layout modes of the display interface, thereby improving the overall display effect of the display interface after switching the interface layout mode.

[0150] In some embodiments, the step S161 described above of determining the target layout adjustment method based on the layout mode of the target view may include the following steps S171:

[0151] Step S171: When the target view is located on the target side of the interactive device and the layout mode of the target view is a linear arrangement mode, determine that the target layout adjustment mode is the second adjustment mode, the target side is the side of the interactive device away from the target operation area on the first target dimension, and the second adjustment mode represents adjusting the target view to the opposite side of the target side, and the arrangement order of the elements in the target view on the first target dimension is reversed or not reversed.

[0152] Here, the second adjustment method is a method of adjusting based on the layout mode of the target view.

[0153] In some embodiments, when the target view includes at least one subview group, the arrangement order of the elements in the target view on the first target dimension may be reversed or not according to different layout modes of the subview groups in the target view.

[0154] For example, when the linearly arranged target views include a subview group whose layout mode is the list view mode, the target views as a whole are arranged forward on the first target dimension, and the elements in the subview group may be arranged reversely on the first target dimension.

[0155] For another example, when the linearly arranged target view includes a subview group whose layout mode is the linear arrangement mode, the target view as a whole is arranged forward on the first target dimension, and the elements in the subview group are also arranged forward on the first target dimension.

[0156] In the embodiment of the present application, when the target view is located on the side of the interactive device away from the target operation area on the first target dimension, and the layout mode of the target view is a linear arrangement mode, the target layout adjustment mode is determined to be the second adjustment mode; wherein the second adjustment mode represents adjusting the target view to the opposite side of the target side, and the arrangement order of the elements in the target view on the first target dimension is reversed or not. In this way, the elements of the target view in the adjusted interactive interface can be adjusted accordingly according to their respective view layouts, thereby improving the overall interface display effect and further improving the user experience of the operating user.

[0157] In some embodiments, after the above step S103, the above display method may further include the following step S181:

[0158] Step S181, in response to triggering the second target interaction control located at the third display position in the second interaction interface, sending the position information corresponding to the fourth display position to the application layer, and the second target interaction control is located at the fourth display position in the first interaction interface.

[0159] Here, the second target interactive control may include at least one interface control whose display position is adjusted in the second interactive interface, and the second target interactive control may be the same as or different from the first target interactive control. For example, the second target interactive control may be the first target interactive control, or may be other controls in the first interactive interface except the first target interactive control.

[0160] The application layer may include an application layer in an operating system of an interactive device.

[0161] In some embodiments, the application layer may not obtain the position information of the adjusted elements in the display interface, and the system layer of the interactive device completes the adjustment of the interface layout and the display of the adjusted interactive interface; after the interactive device responds to the operating user triggering the second target interactive control located at the third display position in the second interactive interface, the system layer sends the original position information of the triggered second target interactive control, that is, the fourth display position, to the application layer; the application layer can match the second target interactive control according to the interface layout of the first interactive interface and the fourth display position, thereby executing the operation that needs to be performed when the second target interactive control is triggered. In this way, the application itself does not need to have the function of adjusting the interface layout, and the layout adjustment can be completed by the system layer, further expanding the application scope of the display method in the embodiment of the present application.

[0162] In the embodiment of the present application, in response to triggering the second target interactive control located at the third display position in the second interactive interface, the position information corresponding to the fourth display position is sent to the application layer, and the second target interactive control is located at the fourth display position in the first interactive interface. In this way, when the operating user triggers the control, only the original position of the control needs to be sent to the application layer, and the application layer accurately responds to the corresponding control triggered by the operating user according to the original layout of the application, without the need for the application itself to support layout adjustment, which can increase the number of applications supported by the interactive device and further expand the application scope of the interactive device.

[0163] The present application embodiment provides an electronic device, such as Figure 2 As shown, the electronic device 200 includes: an interactive screen 201 and a control component 202.

[0164] The interactive screen 201 is used to display a first interactive interface and a second interactive interface, wherein the first interactive interface includes a first target interactive control located at a first display position of the interactive screen 201;

[0165] The control component 202 is used to determine a target layout adjustment method in response to a first trigger instruction; based on the target layout adjustment method, adjust the element layout of the first interactive interface to obtain the second interactive interface, the elements in the first interactive interface include the first target interactive control, the first target interactive control is located at a second display position of the interactive screen in the second interactive interface, and the distance between the first display position and the target boundary of the second interactive interface is not equal to the distance between the second display position and the target boundary.

[0166] In some embodiments, the control component can also be used to: determine the target operation area corresponding to the first trigger instruction in response to the first trigger instruction; determine the first display position based on the first layout information of the first interactive interface; determine the target layout adjustment method based on the positional relationship between the first display position and the target operation area.

[0167] In some embodiments, the control component can also be used to: when the first display position is located on the target side of the interactive device, determine that the target layout adjustment method is a first adjustment method, the target side is a side of the interactive device away from the target operation area on the target dimension, and the first adjustment method represents the reverse arrangement of the elements in the first interactive interface on the target dimension.

[0168] In some embodiments, the control component can also be used to: when the first display position is located on the target side of the interactive device and the number of interactive controls in the target side is greater than the number of interactive controls in the opposite side of the target side, determine that the target layout adjustment method is the first adjustment method.

[0169] In some embodiments, the control component can also be used to: obtain first position information in response to the first trigger instruction; the first position information represents the position of the operating user of the interactive device in the physical environment; and determine the target operation area based on the first position information.

[0170] In some embodiments, the first interactive interface includes a first application interface of a first target application. After determining the target layout adjustment method in response to the first trigger instruction, the control component can also be used for at least one of the following: in response to a second trigger instruction, based on the target layout adjustment method, adjusting the element layout of the second application interface of the first target application to obtain and display a third application interface; in response to a third trigger instruction, based on the target layout adjustment method, adjusting the element layout of the fourth application interface of the second target application to obtain and display a fifth application interface.

[0171] In some embodiments, the first target interaction control is located in a target view in the first interaction interface, and the control component can also be used to: determine the target layout adjustment method based on the layout mode of the target view in response to the first trigger instruction.

[0172] In some embodiments, the control component can also be used to: when the target view is located on the target side of the interactive device and the layout mode of the target view is a linear arrangement mode, determine that the target layout adjustment mode is a second adjustment mode, the target side is the side of the interactive device away from the target operation area on the first target dimension, and the second adjustment mode represents adjusting the target view to the opposite side of the target side, and the arrangement order of the elements in the target view on the first target dimension is reversed or not reversed.

[0173] In some embodiments, after adjusting the element layout of the first interactive interface based on the target layout adjustment method to obtain and display the second interactive interface, the control component can also be used to: in response to triggering a second target interactive control located at a third display position in the second interactive interface, send position information corresponding to a fourth display position to the application layer, the second target interactive control being located at the fourth display position in the first interactive interface.

[0174] In related technologies, the workflow of a view can be divided into three parts: measurement, layout, and drawing. In the measurement process, the width and height of the view are calculated; in the layout process, the position of the view is set; in the drawing process, the content of the view is drawn. Among them, the position of the view can be obtained by obtaining the coordinates of the four endpoints of the view.

[0175] like Figure 3 As shown, the view drawing process may include the following steps S301 to S312:

[0176] Step S301: In response to a first trigger instruction, a view node transmits a layout adjustment request to a parent node view group.

[0177] Step S302: After receiving the layout adjustment request, the parent node view group transmits the layout adjustment request to the root node of the operation view tree.

[0178] Step S303: After receiving the layout adjustment request, the root node traverses all view groups.

[0179] Step S304: The root node starts updating the view measurement process and transmits an instruction for updating the view measurement process to each view group.

[0180] Step S305: Each view group updates the view measurement process and transmits an instruction for updating the view measurement process to the view.

[0181] Step S306: Update the view measurement process for each view.

[0182] Step S307: The root node starts updating the view layout process and transmits an instruction of updating the view layout process to each view group.

[0183] Step S308: Each view group updates the view layout process and transmits an instruction for updating the view layout process to the view.

[0184] Step S309: Each view updates the view layout process.

[0185] Step S310: The root node starts updating the view drawing process and transmits an instruction of updating the view drawing process to each view group.

[0186] Step S311: Each view group updates the view drawing process and transmits an instruction for updating the view drawing process to the view.

[0187] Step S312: each view updates the view drawing process.

[0188] Therefore, the layout of the entire interface can be modified by adding an operation to modify the view position in step S308 and step S309. In this case, the measurement process is not involved, and the view size will not be modified; the drawing process is not involved, and the view content will not be modified; only the layout process is involved, and only the view position is modified. Since the transmission of touch events is determined based on the position of the view in the operating system, after the view position change is updated, the touch event can be accurately transmitted to the corresponding view through the operating system.

[0189] On this basis, an embodiment of the present application provides a display method that can be applied to an interactive device.

[0190] like Figure 4 As shown, the method includes the following steps S401 to S402:

[0191] Step S401: display a first interactive interface.

[0192] Step S402: In response to the first trigger instruction, based on the target layout adjustment mode, the element layout of the first interactive interface is adjusted to obtain and display the second interactive interface.

[0193] When implementing, Figure 5As shown, a layout implementation class 501 can be designed in the framework class diagram of the interactive interface to modify the layout of the view group. The subclass of the layout implementation class 501 can be used to implement specific logic. In the system view class 502, an instance of the layout implementation is created. In the key processes such as the process of connecting the view to the operating system, the process of disconnecting the view from the operating system, and the view layout process, the corresponding method of the layout implementation class 501 is called to add logic. A layout factory class 503 is designed to use the factory mode to produce specific instances of the subclass of the layout implementation class according to different types of view groups. A layout mode management class 504 is designed to provide an information transmission interface for determining the switching mode of the current layout. The switching mode includes a switchable mode and a non-switchable mode. In the switchable mode, the layout adjustment operation is performed according to the layout adjustment logic. In the non-switchable mode, the layout adjustment operation is not performed.

[0194] The subclasses of the layout implementation class 501 may include, but are not limited to, a scroll view implementation class 505 for processing different layout modes, a cycle view implementation class 506, a list view implementation class 507, and a general layout implementation class 508.

[0195] In the embodiment of the present application, in response to the first trigger instruction, the element layout of the displayed first interactive interface is adjusted based on the target layout adjustment mode, and the second interactive interface is obtained and displayed. In this way, on the one hand, without the need for additional device support, the user can operate any interactive control in the display interface of the interactive device; on the other hand, by adjusting the element layout in the interactive interface, the interactive interface can be fully displayed, the screen utilization rate can be improved, and the display effect of the interactive device can be better; on the other hand, the controls in the interactive interface can be adjusted to the position required by the user in different scenarios according to the different needs of the user.

[0196] The present application embodiment provides an electronic device, such as Figure 6 As shown, including:

[0197] A first display module 601 is used to display a first interactive interface, wherein the first interactive interface includes a first target interactive control located at a first display position of an interactive device;

[0198] A first determining module 602, configured to determine a target layout adjustment method in response to a first trigger instruction;

[0199] The second display module 603 is used to adjust the element layout of the first interactive interface based on the target layout adjustment method, obtain and display the second interactive interface, the elements in the first interactive interface include the first target interactive control, the first target interactive control is located at the second display position of the interactive device in the second interactive interface, and the distance between the first display position and the target boundary of the second interactive interface is not equal to the distance between the second display position and the target boundary.

[0200] In some embodiments, the first determination module can also be used to: determine the target operation area corresponding to the first trigger instruction in response to the first trigger instruction; determine the first display position based on the first layout information of the first interactive interface; determine the target layout adjustment method based on the positional relationship between the first display position and the target operation area.

[0201] In some embodiments, the first determination module can also be used to: when the first display position is located on the target side of the interactive device, determine that the target layout adjustment method is a first adjustment method, the target side is a side of the interactive device away from the target operation area in the target dimension, and the first adjustment method represents the reverse arrangement of the elements in the first interaction interface in the target dimension.

[0202] In some embodiments, the first determination module can also be used to: when the first display position is located on the target side of the interactive device and the number of interactive controls in the target side is greater than the number of interactive controls in the opposite side of the target side, determine that the target layout adjustment method is the first adjustment method.

[0203] In some embodiments, the first determination module can also be used to: obtain first position information in response to the first trigger instruction; the first position information represents the position of the operating user of the interactive device in the physical environment; and determine the target operation area based on the first position information.

[0204] In some embodiments, the first interactive interface includes a first application interface of a first target application; the above-mentioned display device may also include a third display module, used for at least one of the following: in response to a second trigger instruction, based on the target layout adjustment method, adjusting the element layout of the second application interface of the first target application, obtaining and displaying the third application interface; in response to a third trigger instruction, based on the target layout adjustment method, adjusting the element layout of the fourth application interface of the second target application, obtaining and displaying the fifth application interface.

[0205] In some embodiments, the first target interaction control is located in a target view in the first interaction interface, and the first determination module can also be used to: determine the target layout adjustment method based on the layout mode of the target view in response to the first trigger instruction.

[0206] In some embodiments, the first determination module can also be used to: when the target view is located on the target side of the interactive device and the layout mode of the target view is a linear arrangement mode, determine that the target layout adjustment mode is a second adjustment mode, the target side is the side of the interactive device away from the target operation area on the first target dimension, and the second adjustment mode represents adjusting the target view to the opposite side of the target side, and the arrangement order of the elements in the target view on the first target dimension is reversed or not reversed.

[0207] In some embodiments, the above-mentioned display device may also include a first sending module, which is used to: after adjusting the element layout of the first interactive interface based on the target layout adjustment method, obtaining and displaying the second interactive interface, in response to triggering the second target interactive control located at the third display position in the second interactive interface, send the position information corresponding to the fourth display position to the application layer, and the second target interactive control is located at the fourth display position in the first interactive interface.

[0208] The present application embodiment provides an electronic device, including: a memory and a processor. Figure 7 As shown, the electronic device 700 includes:

[0209] Memory 701, used to store computer programs that can be run on processor 702;

[0210] The processor 702 is used to execute the program stored in the memory 701 to implement the above display method.

[0211] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is executed in an electronic device, a processor in the electronic device executes some or all of the steps for implementing the above-mentioned display method.

[0212] An embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements some or all of the steps in the above-mentioned display method.

[0213] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to implement the above-mentioned display method.

[0214] The present application is described with reference to the flowchart and / or block diagram of the method and device according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.

[0215] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0216] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0217] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed in the present application should be included in the protection scope of the present application.

[0218] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0219] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0220] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0221] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0222] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0223] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0224] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0225] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0226] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A display method, comprising: Displaying a first interactive interface, wherein the first interactive interface includes a first target interactive control located at a first display position of the interactive device; In response to the first trigger instruction, determining a target layout adjustment mode; Based on the target layout adjustment method, the element layout of the first interactive interface is adjusted to obtain and display the second interactive interface, the elements in the first interactive interface include the first target interactive control, the first target interactive control is located at the second display position of the interactive device in the second interactive interface, and the distance between the first display position and the target boundary of the second interactive interface is not equal to the distance between the second display position and the target boundary.

2. The method according to claim 1, wherein determining the target layout adjustment mode in response to the first trigger instruction comprises: In response to the first trigger instruction, determining a target operation area corresponding to the first trigger instruction; Determining the first display position based on first layout information of the first interactive interface; A target layout adjustment mode is determined based on a positional relationship between the first display position and the target operation area.

3. The method according to claim 2, wherein determining the target layout adjustment mode based on the positional relationship between the first display position and the target operation area comprises: When the first display position is located on the target side of the interactive device, the target layout adjustment method is determined to be a first adjustment method, the target side is a side of the interactive device away from the target operation area on the target dimension, and the first adjustment method represents the reverse arrangement of the elements in the first interactive interface on the target dimension.

4. The method according to claim 3, wherein when the first display position is located at the target side of the interactive device, determining that the target layout adjustment mode is the first adjustment mode comprises: When the first display position is located on a target side of the interactive device and the number of interactive controls in the target side is greater than the number of interactive controls in an opposite side of the target side, the target layout adjustment mode is determined to be the first adjustment mode.

5. The method according to claim 2, wherein in response to the first trigger instruction, determining a target operation area corresponding to the first trigger instruction comprises: In response to the first trigger instruction, obtaining first location information; The first position information represents the position of the operating user of the interactive device in the physical environment; The target operation area is determined based on the first position information.

6. The method according to any one of claims 1 to 5, wherein the first interactive interface comprises a first application interface of a first target application; After determining the target layout adjustment mode in response to the first trigger instruction, the method further includes at least one of the following: In response to the second trigger instruction, based on the target layout adjustment mode, the element layout of the second application interface of the first target application is adjusted to obtain and display a third application interface; In response to the third trigger instruction, based on the target layout adjustment method, the element layout of the fourth application interface of the second target application is adjusted to obtain and display a fifth application interface.

7. The method according to any one of claims 2 to 5, wherein the first target interaction control is located in a target view in the first interaction interface; The step of determining the target layout adjustment mode in response to the first trigger instruction includes: In response to the first trigger instruction, the target layout adjustment mode is determined based on the layout mode of the target view.

8. The method according to claim 7, wherein determining the target layout adjustment mode based on the layout mode of the target view comprises: When the target view is located on the target side of the interactive device and the layout mode of the target view is a linear arrangement mode, the target layout adjustment mode is determined to be the second adjustment mode, the target side is the side of the interactive device away from the target operation area on the first target dimension, and the second adjustment mode represents adjusting the target view to the opposite side of the target side, and the arrangement order of the elements in the target view on the first target dimension is reversed or not reversed.

9. According to the method of any one of claims 1 to 5, after adjusting the element layout of the first interactive interface based on the target layout adjustment mode to obtain and display the second interactive interface, the method further comprises: In response to triggering the second target interaction control located at the third display position in the second interaction interface, the position information corresponding to the fourth display position is sent to the application layer, and the second target interaction control is located at the fourth display position in the first interaction interface.

10. An electronic device, comprising: Interactive screens and control components; The interactive screen is used to display a first interactive interface and a second interactive interface, wherein the first interactive interface includes a first target interactive control located at a first display position of the interactive screen; The control component is used to determine the target layout adjustment mode in response to the first trigger instruction; Based on the target layout adjustment method, the element layout of the first interactive interface is adjusted to obtain the second interactive interface, the elements in the first interactive interface include the first target interactive control, the first target interactive control is located at the second display position of the interactive screen in the second interactive interface, and the distance between the first display position and the target boundary of the second interactive interface is not equal to the distance between the second display position and the target boundary.