Interface display method and device, electronic equipment and storage medium
By detecting motion in the display interface of the electronic device and controlling the movement of the control, the user experience problem caused by the stationary interface is solved, and a more interesting interactive experience is achieved.
Patent Information
- Application Number
- CN202311766495.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-20
- Publication Date
- 2025-06-20
AI Technical Summary
The display interface controls of existing electronic devices are usually stationary and lack fun, resulting in poor user interaction experience.
By detecting the movement of the electronic device, at least one control is controlled to move within the information display interface, including moving in the motion direction, performing rigid body collision simulation, and stacking displays at the bottom of the information display interface.
It increases the fun of the information display interface, improves the user's interactive experience, and provides interactive feedback through animation effects.
Smart Images

Figure CN120179328A_ABST
Abstract
Description
Background Art
[0002] In recent years, with the continuous progress of technology and the change of user needs, more and more electronic devices have begun to focus on the pattern design of the display interface and the user's interaction experience.
[0003] Currently, in the display interface of electronic devices, the displayed controls are usually static, lacking interest during the user's interaction with the interface, resulting in a poor experience. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides an interface display method, apparatus, electronic device, and storage medium.
[0005] According to the first aspect of the embodiments of the present disclosure, an interface display method is provided, which is applied to an electronic device and includes:
[0006] Display an information display interface, where at least one control is displayed in the information display interface;
[0007] When it is detected that the electronic device moves, control at least one control to move within the information display interface.
[0008] In some embodiments, controlling at least one control to move within the information display interface includes:
[0009] Control at least one control to move along the movement direction of the electronic device within the information display interface.
[0010] In some embodiments, the control is configured as a rigid body with mass, and the method further includes:
[0011] During the movement of at least one control, perform rigid body collision simulation on the controls that collide among at least one control;
[0012] According to the rigid body collision simulation result, control the collided controls to move or remain stationary within the information display interface.
[0013] In some embodiments, the collisions that occur during the movement of the control include: collisions between controls, and / or, collisions between the control and the edge of the information display interface.
[0014] In some embodiments, at least one control is configured with a rotation constraint, and the rotation constraint is used to limit the rotation angle of at least one control.
[0015] In some embodiments, when at least one control remains stationary, at least one control is stacked and displayed at the bottom of the information display interface.
[0016] In some embodiments, displaying the information display interface includes:
[0017] Obtain the control information of at least one control;
[0018] According to the control information of at least one control, display any one of the at least one controls at the top of the information display interface until all the controls in the at least one control are displayed in the information display interface.
[0019] In some embodiments, at least one control is used to display application program data in the electronic device, and the method further includes:
[0020] When it is detected that the electronic device moves, refresh the application program data displayed by at least one control.
[0021] According to the second aspect of the embodiments of the present disclosure, there is provided an interface display device applied to an electronic device, including:
[0022] A display module, configured to display an information display interface, and at least one control is displayed in the information display interface;
[0023] A control module, configured to control at least one control to move in the information display interface when it is detected that the position of the electronic device moves.
[0024] According to the third aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the method of the first aspect of the embodiments of the present disclosure by executing the executable instructions.
[0025] According to the fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method of the first aspect of the embodiments of the present disclosure is implemented.
[0026] The solution provided by the embodiments of the present disclosure can detect whether the electronic device moves after the information display interface is displayed. When it is detected that the electronic device moves, control at least one control to move in the information display interface. Thus, the information display interface provided by the embodiments of the present disclosure can give the user a certain animation feedback when the user moves the electronic device, thereby increasing the interest of the information display interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 Show a schematic diagram of a system architecture in the embodiments of the present disclosure.
[0028] Figure 2 Show a schematic flowchart of an interface display method in the embodiments of the present disclosure.
[0029] Figure 3 Show a schematic diagram of an information display interface in the embodiments of the present disclosure.
[0030] Figure 4 Shows a schematic diagram of the moving state of a control in an embodiment of the present disclosure.
[0031] Figure 5 Shows a schematic diagram of the structure of an electronic device in an embodiment of the present disclosure. Detailed implementation manners
[0032] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0033] The terms used in the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular forms "a", "the", and "said" used in the present disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0034] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".
[0035] The exemplary implementation manners of the present disclosure will be described in detail below.
[0036] An interface display method is provided in an embodiment of the present disclosure, and this method can be executed by any electronic device. Exemplarily, the electronic device may be a smart phone, a smart wearable device, etc. Among them, the smart wearable device may be a smart watch, a smart bracelet, a smart glasses, etc.
[0037] Figure 1 Shows a schematic flowchart of an interface display method in an embodiment of the present disclosure. As Figure 1 shown, the interface display method provided in the embodiment of the present disclosure includes the following steps.
[0038] S101, display an information display interface, and at least one control is displayed in the information display interface.
[0039] In some embodiments, the information display interface may be the main screen interface of an electronic device, which can be understood as the interface that is first displayed after power-on. For example, the dial of a smart watch, the main interface of a smart phone, etc. Different devices and operating systems may have different main screen interface designs.
[0040] It should be noted that at least one control is displayed in the information display interface, and these controls can display application program data in the electronic device. For example, the controls displayed in the information display interface can be a time control, a date control, a battery control, a health control, a sports control, etc.
[0041] Among them, the time control can display data such as the alarm clock set by the user or the current time. The date control can display data such as the current date or memo information associated with the date. The battery control can display data such as the remaining battery power or the battery charging status. The health control can display data such as the user's heart rate or blood oxygen. The sports control can display data such as the user's steps or calories consumed.
[0042] It is worth noting that the same type of control can be repeatedly added to the information display interface to display different data. For example, the user can add two sports controls to the information display interface, one for displaying the user's steps and the other for displaying the calories consumed. The embodiments of the present disclosure will not elaborate on this.
[0043] In addition, the above controls can also be used to display application program identifiers. By clicking on the application program identifier, the user can start the corresponding application program. Of course, the above controls can also be used for application program notifications or other information such as folders containing application program identifiers. The embodiments of the present disclosure will not elaborate on this.
[0044] Those skilled in the art can understand that the above description of the controls is only an example and is not used to limit the data displayed by the controls. According to actual needs, the controls can display any application program data, application program identifiers, or other application program-related information so that the user can quickly view this information in the information display interface.
[0045] In some embodiments, the shape and color of the control can match the application program data displayed in the control. For example, when the battery control is used to display the remaining power, it can be displayed in the shape of a battery. And if the remaining power is greater than or equal to 50% of the total power, the battery control is displayed in green; if the remaining power is less than 50% of the total power, the battery control is displayed in yellow. Another example, when the health control is used to display the user's heart rate, it can be displayed in the shape of a heart. And if the user's heart rate is within the normal range, the health control is displayed in red; if the user's heart rate is too fast, the health control is displayed in dark red.
[0046] By configuring the shape and color of the control in the above manner, users can quickly obtain the desired information in the information display interface with the assistance of visual elements such as color and shape. Of course, users can also customize the configuration of the color and shape of the control according to their own habits, and the embodiments of the present disclosure do not limit this.
[0047] In some embodiments, the information display interface can be displayed after triggering a physical button on the electronic device, or can be displayed by touching the display screen of the electronic device, and the embodiments of the present disclosure do not limit this.
[0048] In some embodiments, the movement trajectory of the electronic device can also be detected, and when it is detected that the electronic device moves along a preset trajectory, the information display interface is displayed. For example, for smart watches and smart bracelets, the information display interface can be displayed when it is detected that the user raises the wrist during wearing. For smart glasses, the information display interface can be displayed when it is detected that the user moves the head along a specified trajectory during wearing.
[0049] Exemplarily, Figure 2 shows a schematic diagram of an information display interface in an embodiment of the present disclosure. Specifically, please refer to Figure 2 (a) and (b) in it. The information display interface can be displayed in the following manner: Obtain the control information of at least one control. According to the control information of at least one control, any control in the at least one control is displayed at the top of the information display interface until all the controls in the at least one control are displayed in the information display interface.
[0050] It should be noted that the control information may include the shape and color of the control and the application program data used for display by the control.
[0051] It is worth noting that for smart watches and smart bracelets, since the viewing angle of the user may be different each time, the top and bottom of the information display interface in the embodiments of the present disclosure can be understood as the top and bottom of the user's viewing angle, or the top and bottom of the direction in which the electronic device is perpendicular to the ground. Among them, the viewing angle of the user can be obtained by collecting the user's line of sight through a camera, and the direction in which the electronic device is perpendicular to the ground can be determined by the gravity sensing ability of the electronic device. The embodiments of the present disclosure will not elaborate on this.
[0052] That is to say, when displaying the information display interface, embodiments of the present disclosure can display at least one control at any position on the top of the information display interface at any time. Since the control can be configured as a rigid body with mass, after the control is displayed, it can move downward under the action of the gravity of the rigid body, that is, fall towards the bottom of the information display interface, thereby enhancing the interest and aesthetics of the information display interface. Moreover, since the control will eventually fall to the bottom of the information display interface instead of being arranged in an orderly manner at a specific position, the space in the information display interface can be utilized to the greatest extent to display more content.
[0053] It can be understood that S102 can be executed after any control is displayed, without waiting for all the controls in at least one control to be displayed in the information display interface or waiting for the control to move towards the bottom of the information display interface. That is to say, as long as there is a control in the information display interface, S102 can be executed to make the controls already displayed in the information display interface move in the information display interface following the movement of the electronic device.
[0054] S102: When it is detected that the electronic device moves, control at least one control to move within the information display interface.
[0055] It should be noted that the motion detection of the electronic device can be implemented by a gyroscope, or by an accelerometer. Of course, it can also be implemented by the combination of the two or other sensors capable of implementing the motion detection function. Embodiments of the present disclosure do not limit this.
[0056] Exemplarily, Figure 3 shows a schematic diagram of the movement state of a control in an embodiment of the present disclosure.
[0057] Please refer to Figure 3 , in some embodiments, the control can move in the information display interface along the movement direction of the electronic device, so that the movement direction of the control conforms to the user's intuition and makes it convenient for the user to view the moving control. For example, when the electronic device is smart glasses, if the movement direction of the control is different from the movement direction of the electronic device, for example, when the user looks up, the control moves downward, which will make it difficult for the user to clearly see the moving control and violate the user's intuition, resulting in a bad experience for the user.
[0058] In some embodiments, the moving speed of the control can be proportional to the moving speed of the electronic device, thereby giving the user a more distinct interaction feedback.
[0059] In some embodiments, the control can be configured as a rigid body with mass. At this time, during the movement of the control, rigid body collision simulation can be performed on the colliding controls. Subsequently, according to the results of the rigid body collision simulation, control the colliding controls to move or remain stationary within the information display interface.
[0060] That is to say, when a collision occurs between controls, the direction of the force can be calculated based on the collision points on the controls, so as to obtain the rebound direction and speed, so that different elastic effects will be produced for the collisions of each control under different circumstances.
[0061] Exemplarily, different controls can be configured as rigid bodies with different shapes and a uniform mass distribution per unit area, so as to enrich the collision effects of different controls.
[0062] In some embodiments, the collisions that occur during the movement of the controls include: collisions between the controls, and / or, collisions between the controls and the edges of the information display interface. During the movement of the controls, each control can continuously iterate its position from the initial state according to its shape and the force applied. Among them, the force applied is jointly determined by the gravity of the control itself and the external force applied when the electronic device moves.
[0063] Please continue to refer to Figure 3 , in some embodiments, when at least one control remains stationary, at least one control is stacked and displayed at the bottom of the information display interface. That is to say, when the controls in the information display interface are stationary, the controls in the information display interface will be stacked at the bottom of the information display interface. In other words, since the controls in the information display interface are configured as rigid bodies with mass, they can finally be stacked at the bottom of the information display interface under the action of gravity.
[0064] It should be noted that for smart watches and smart bracelets, since the viewing angle of the user may be different each time, the bottom of the information display interface in the embodiments of the present disclosure can be understood as the bottom of the viewing angle of the user, or the bottom in the direction perpendicular to the ground of the electronic device. Of course, the bottom can also be a pre-specified side of the electronic device. For example, the side where the physical button of the electronic device is located, the side where the charging interface is located, etc. The embodiments of the present disclosure do not limit this.
[0065] In some embodiments, the movement generated by a control after a collision may be translational, rotational, or a combination of both. When the movement generated after a control collision includes rotation, since the display direction of the application data in the control remains consistent with the direction of the control, a large rotation may invert the display direction of the application data, making it difficult for the user to read the application data displayed in the control. Thus, embodiments of the present disclosure may also configure a rotation constraint for at least one control. The rotation constraint is used to limit the rotation angle of at least one control, thereby restricting the rotation angle of the control during the collision within a range convenient for the user to view. Of course, the rotation constraint may also be applied to the application data, such that the display direction of the application data is not completely consistent with the direction of the control, i.e., the control can rotate freely while the rotation angle of the application data is restricted within a range convenient for the user to view. Embodiments of the present disclosure will not elaborate on this.
[0066] It can be understood that since the battery capacity of an electronic device is usually small, there are many sensors and high power consumption. And users generally have a demand for long battery life of electronic devices. If the user needs to recharge repeatedly due to battery life during use, it will bring an unpleasant user experience.
[0067] To improve the battery life of an electronic device, the application data displayed on the main screen interface of the electronic device is usually not refreshed in real time. For example, a sports control for displaying the user's step count may refresh the data every 30 seconds, while a health control for displaying the heart rate may refresh the data every 5 minutes. However, in some cases, the historical data displayed on the main interface is meaningless to the user. For example, the user may expect to quickly know the current heart rate rather than the heart rate a few minutes ago. In the related art, usually the user needs to open the program list and start the corresponding application to view the latest application data. However, this interaction method is very cumbersome, unable to enable the user to quickly obtain the desired data, and making the application data displayed on the main screen interface meaningless.
[0068] In view of this, when there is a control for displaying application data in the information display interface of embodiments of the present disclosure, in the case of detecting that the electronic device is in a moving state, the application data displayed by the control can be refreshed.
[0069] Thus, embodiments of the present disclosure set the refresh condition of the application data as motion detection. For example, for a smart watch or smart bracelet worn on the user's wrist, it can be triggered by shaking the wrist, and for smart glasses worn on the user's head, it can be triggered by shaking the head. That is, the user can refresh the application data displayed by the control in the information display interface by gently shaking the wrist or gently shaking the head.
[0070] In addition, since the movement of the electronic device also triggers the animation effect of the control moving, when the application data is refreshed, the space displayed in the information display interface will also move in the information display interface, so as to provide interactive feedback to the user and enable the user to know that the data displayed in the control has been successfully refreshed.
[0071] In some embodiments, in order to enable the user to directly obtain more application data through the information display interface, when it is detected that the user shakes the electronic device at a preset frequency, the control displayed in the information display interface can be switched. For example, for smart watches and smart bracelets, when the user continuously shakes the wrist three times within two seconds, or for smart glasses, when the user continuously shakes the head three times within two seconds, the currently displayed control in the information display interface is replaced with a new control.
[0072] Based on the same inventive concept, an interface display device is also provided in the embodiments of the present disclosure, as described in the following embodiments. The interface display device can be applied to any electronic device, for example, a smart phone, a smart wearable device, etc. Since the principle of solving problems in the embodiments of the interface display device is similar to that of the above method embodiments, the implementation of the embodiments of the interface display device can refer to the implementation of the above method embodiments, and the repeated parts will not be described again.
[0073] Figure 4 The structural schematic diagram of an interface display device in the embodiments of the present disclosure is shown. As Figure 4 shown, the interface display device 400 includes: a display module 401 and a control module 402.
[0074] Among them, the display module 401 is used to display an information display interface, and at least one control is displayed in the information display interface;
[0075] The control module 402 is used to control at least one control to move in the information display interface when it is detected that the position of the electronic device has moved.
[0076] In some embodiments, the control module 402 is used to control at least one control to move in the information display interface along the movement direction of the electronic device.
[0077] In some embodiments, the control is configured as a rigid body with mass. The control module 402 is used to perform rigid body collision simulation on the controls that collide during the movement of at least one control. According to the rigid body collision simulation result, control the collided control to move or remain stationary in the information display interface.
[0078] In some embodiments, the collisions that occur during the movement of the control include: collisions between controls, and / or, collisions between the control and the edge of the information display interface.
[0079] In some embodiments, at least one control is configured with a rotation constraint for restricting the rotation angle of the at least one control.
[0080] In some embodiments, when at least one control remains stationary, the at least one control is stacked and displayed at the bottom of the information display interface.
[0081] In some embodiments, the display module 401 is configured to obtain control information of at least one control. According to the control information of the at least one control, any one of the at least one control is displayed at the top of the information display interface until all of the at least one control are displayed in the information display interface.
[0082] In some embodiments, at least one control is used to display application program data in the electronic device. The display module 401 is further configured to refresh the application program data displayed by the at least one control when it is detected that the electronic device is in motion.
[0083] Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, a method, or a program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuitry", "module", or "system" here.
[0084] Reference will be made below Figure 5 to describe the electronic device 500 capable of implementing the embodiments of the present disclosure. Figure 5 The electronic device 500 shown is merely an example and should not impose any limitation on the functions and applicable scope of the embodiments of the present disclosure.
[0085] As Figure 5 shown, the electronic device 500 is presented in the form of a general-purpose computing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).
[0086] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 510, so that the processing unit 510 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present disclosure.
[0087] In some embodiments, the processing unit 510 may perform the following steps of the above method embodiments: display an information display interface in which at least one control is displayed; and control the at least one control to move within the information display interface when it is detected that the electronic device moves.
[0088] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and / or a cache storage unit 5202, and may further include a read-only storage unit (ROM) 5203.
[0089] The storage unit 520 may further include a program / utilities 5204 having a set (at least one) of program modules 5205. Such program modules 5205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.
[0090] The bus 530 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.
[0091] The electronic device 500 may also communicate with one or more external devices 540 (such as a keyboard, a pointing device, a Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 500, and / or may communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be carried out through an input / output (I / O) interface 550. Also, the electronic device 500 may communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 560. As Figure 5 shown, the network adapter 560 communicates with other modules of the electronic device 500 through the bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0092] Those skilled in the art can easily understand from the description of the above embodiments that the exemplary embodiments described herein can be implemented by software or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a portable hard disk, etc.) or on a network, including several instructions for causing a computing device (such as a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
[0093] In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above method of the present disclosure is stored thereon. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section.
[0094] More specific examples of the computer-readable storage medium in the present disclosure may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0095] In the present disclosure, the computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
[0096] Optionally, the program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination of the above.
[0097] In specific implementation, program code for performing the operations of the present disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., connected through the Internet using an Internet service provider).
[0098] It should be noted that although several modules or units of a device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more of the above-described modules or units can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0099] In addition, although the steps of the methods in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution, etc.
[0100] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software, or can be implemented by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the methods according to the embodiments of the present disclosure.
[0101] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the appended claims.
Claims
1. An interface display method, characterized in that, Applied to an electronic device, including: Display an information display interface, in which at least one control is displayed; When it is detected that the electronic device moves, control the at least one control to move within the information display interface.
2. The method according to claim 1, characterized in that, The controlling the at least one control to move within the information display interface includes: Control the at least one control to move along the movement direction of the electronic device within the information display interface.
3. The method according to claim 1 or 2, characterized in that, The control is configured as a rigid body with mass, and the method further includes: During the movement of the at least one control, perform rigid body collision simulation on the controls that collide among the at least one control; According to the rigid body collision simulation result, control the collided controls to move or remain stationary within the information display interface.
4. The method according to claim 3, characterized in that, The collisions that occur during the movement of the control include: collisions between controls, and / or, collisions between the control and the edge of the information display interface.
5. The method according to claim 3, characterized in that, The at least one control is configured with a rotation constraint, and the rotation constraint is used to limit the rotation angle of the at least one control.
6. The method according to claim 3, characterized in that, When the at least one control remains stationary, the at least one control is stacked and displayed at the bottom of the information display interface.
7. The method according to claim 1, characterized in that, The displaying the information display interface includes: Obtain the control information of the at least one control; According to the control information of the at least one control, display any one of the at least one control at the top of the information display interface until all of the at least one control are displayed in the information display interface.
8. The method according to claim 1, characterized in that, The at least one control is used to display the application program data in the electronic device, and the method further includes: When it is detected that the electronic device moves, refresh the application program data displayed by the at least one control.
9. An interface display device, characterized in that, Applied to an electronic device, including: A display module, configured to display an information display interface, in which at least one control is displayed; A control module, configured to control the at least one control to move within the information display interface when it is detected that the position of the electronic device moves.
10. An electronic device, characterized in that, Including: A processor; And A memory, configured to store the executable instructions of the processor; Wherein, the processor is configured to execute the method according to any one of claims 1 to 8 by executing the executable instructions.
11. A computer-readable storage medium, on which a computer program is stored, characterized in that, When the computer program is executed by the processor, the method according to any one of claims 1 to 8 is implemented.