An interface display method and a mobile terminal
By recognizing the interface switching direction and adjusting the interface edge outline on irregular screens, the problem of occlusion during interface switching on irregular screens of mobile terminals is solved, thus improving the user experience.
Patent Information
- Application Number
- CN201811427249.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-27
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2038-11-27
AI Technical Summary
In existing technologies, when mobile terminals use irregular screens, parts of the interface are blocked by the irregular screen during interface switching, resulting in a poor user experience.
By recognizing the interface switching direction and adjusting the edge contour of the new interface in case of mismatch, it can be made to match the screen edge contour information, such as processing a right-angled interface into a rounded-corner interface.
It improves the user experience when switching between user interfaces, avoids the situation where right-angled interfaces are blocked by rounded corners of the screen, and enhances user satisfaction.
Smart Images

Figure CN109542572B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the terminal field, and particularly to an interface display method and a mobile terminal. BACKGROUND
[0002] With the popularization of smart handheld devices and the development of display screen technology, the appearance of mobile phone screens is constantly changing, and the screen resolution is constantly increasing. The appearance is no longer a regular rectangular screen, but an irregular screen with certain rounded corners or a notch.
[0003] In the prior art, when a device uses an irregular screen, it brings a sense of novelty to the user, but also has some obvious shortcomings, such as display obstruction, obstruction when switching from a rectangular interface to a rounded screen, and the like. In particular, in a scenario similar to a negative one screen, when the user switches from the main interface to the negative one screen by swiping to the right, since the edge of the negative one screen interface is a right angle and the upper right corner of the device is a rounded corner, there is a problem. When the user slowly swipes, when the right angle interface is tangent to the rounded corner (just touching), it is obvious that part of the right angle interface is blocked by the rounded corner, and the experience is not good. SUMMARY
[0004] Embodiments of the present application provide an interface display method and a mobile terminal to solve the problem that in the prior art, when a mobile terminal uses an irregular screen, part of the newly switched interface is blocked by the irregular screen during interface switching, resulting in poor user experience.
[0005] To solve the above technical problems, the present application is implemented as follows:
[0006] In a first aspect, an interface display method is provided, which comprises:
[0007] When an interface switching operation from a first interface to a second interface is monitored, the interface switching direction is identified according to the monitored interface switching operation;
[0008] In the case where the first contour information and the second contour information do not match, the second edge of the second interface displayed on the screen is adjusted to a third edge according to the first contour information, and the contour information of the third edge matches the first contour information;
[0009] The first contour information is the contour information of a first edge of the screen pointed to by the interface switching direction, and the second contour information is the contour information of a second edge of the second interface facing the interface switching direction.
[0010] In a second aspect, a mobile terminal is provided, which comprises:
[0011] The identification module is configured to identify the interface switching direction according to the monitored interface switching operation when the interface switching operation from the first interface to the second interface is monitored.
[0012] The adjustment module is configured to adjust the second edge of the second interface displayed on the screen to a third edge according to the first profile information when the first profile information does not match the second profile information, wherein the third edge has profile information matching the first profile information.
[0013] The first profile information is profile information of a first edge of the screen in the direction of the interface switching direction, and the second profile information is profile information of a second edge of the second interface in the direction of the interface switching direction.
[0014] In a third aspect, a mobile terminal is provided, which comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, and the computer program, when executed by the processor, implements the steps of the method according to the first aspect.
[0015] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the method according to the first aspect.
[0016] In the embodiments of the present application, the interface switching direction can be identified when the user performs the interface switching operation, and the edge of the second interface in the direction of the interface switching direction can be adjusted according to the profile information of the edge of the screen when the profile information of the edge of the second interface in the direction of the interface switching direction does not match the profile information of the edge of the screen in the direction of the interface switching direction, so that the edge of the second interface in the direction of the interface switching direction matches the profile information of the edge of the screen. When the mobile terminal adopts an irregular screen, if the user performs the interface switching operation, the edge of the newly switched interface can be automatically adjusted to match the profile information of the edge of the screen, and part of the newly switched interface will not be blocked by the irregular screen, thereby improving the user experience. For example, when the newly switched interface is a rectangular interface and the screen is a rounded corner screen, the rectangular interface is processed into a rounded corner interface matching the rounded corner screen, and when the newly switched interface is tangent to the rounded corner of the screen, the rectangular interface will not be blocked by the rounded corner, thereby improving the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and serve to explain the principles of the application. In the drawings:
[0018] Figure 1 is a flowchart of an interface display method provided by one of the embodiments of the present application;
[0019] Figure 2 is a schematic diagram of a mobile terminal provided by one of the embodiments of the present application;
[0020] Figure 3 is one of the interface diagrams of a mobile terminal provided by one of the embodiments of the present application;
[0021] Figure 4 is another one of the interface diagrams of a mobile terminal provided by one of the embodiments of the present application;
[0022] Figure 5 is still another one of the interface diagrams of a mobile terminal provided by one of the embodiments of the present application;
[0023] Figure 6 is a structural schematic diagram of a mobile terminal provided by one of the embodiments of the present application;
[0024] Figure 7 is a hardware structural schematic diagram of a mobile terminal for implementing the embodiments of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0026] Figure 1 is a flowchart of an interface display method provided by one of the embodiments of the present application; Figure 2 is a schematic diagram of a mobile terminal provided by one of the embodiments of the present application. As shown in the interface display method, Figure 1 applied to a mobile terminal, the mobile terminal includes a screen, and the method includes:
[0027] Step 102, when the interface switching operation from the first interface to the second interface is monitored, identifying the interface switching direction according to the monitored interface switching operation.
[0028] Specifically, the interface switching direction is the direction of the movement of the second interface.
[0029] For ease of illustration, as shown in the interface display method, Figure 2 the center of the screen is defined as the axis O, the horizontal direction is defined as the X axis, and the vertical direction is defined as the Y axis.
[0030] For example, the mobile terminal displays the main interface on its screen. When the user swipes right from the main interface to switch to the negative one screen, the interface switching operation from the main interface to the negative one screen is detected. At this time, the interface switching direction is identified as the positive X-axis direction based on the detected interface switching operation. In other words, the interface switching direction is to the right.
[0031] Step 104: If the first contour information and the second contour information do not match, adjust the second edge of the second interface displayed on the screen to the third edge according to the first contour information.
[0032] The first contour information is the contour information of the first edge of the screen that the interface switching direction points to, and the second contour information is the contour information of the second edge of the second interface that faces the interface switching direction.
[0033] For example, when the interface switching direction is the positive X-axis direction, the first contour information is the contour information of the edge of the screen pointed to by the positive X-axis direction, specifically, it can be the contour information of the right edge of the screen; when the interface switching direction is the negative X-axis direction, the first contour information is the contour information of the edge of the screen pointed to by the negative X-axis direction, specifically, it can be the contour information of the left edge of the screen.
[0034] For example, when the interface switching direction is the positive X-axis direction, the second interface is the negative one screen interface, and the second contour information is the contour information of the edge of the negative one screen interface facing the positive X-axis direction. Specifically, it can be the contour information of the right edge of the negative one screen interface.
[0035] Among them, the contour information of the third edge matches the contour information of the first edge.
[0036] For example, the screen is Figure 2 When the rounded corner screen shown is a rectangular screen, the first contour information does not match the second contour information. Based on the contour information of the right edge of the rounded corner screen, the edge of the negative screen is adjusted to the third edge, and the contour information of the third edge matches the first contour information.
[0037] The interface display method provided by the embodiment of the present application can recognize the interface switching direction when the user performs the interface switching operation, and in the case that the edge profile information of the second interface switched to towards the interface switching direction does not match the edge profile information of the screen pointed to by the interface switching direction, the edge of the second interface switched to towards the interface switching direction is adjusted according to the edge profile information of the screen, so that it matches the edge profile information of the screen. Thus, when the mobile terminal adopts an irregular screen, if the user performs the interface switching, the edge of the interface switched to can be automatically adjusted to match the edge profile information of the screen, and part of the interface switched to will not be blocked by the irregular screen, thereby improving the user experience. For example, when the interface switched to is a rectangular interface and the screen is a rounded corner screen, the rectangular interface is processed into a rounded corner interface matching the rounded corner screen, and when the interface switched to is tangent to the rounded corner of the screen, the rectangular interface will not be blocked by the rounded corner, thereby improving the user experience.
[0038] Figure 3 is one of the interface schematic diagrams of the mobile terminal provided by an embodiment of the present application; Figure 4 is another of the interface schematic diagrams of the mobile terminal provided by an embodiment of the present application; Figure 5 is a third of the interface schematic diagrams of the mobile terminal provided by an embodiment of the present application. Figures 3 to 5 In the figure, MP represents the main interface, R represents the sliding direction, and A1 represents the negative one screen interface. The following will be described in combination with Figures 3 to 5 The interface display method provided by the present application will be described.
[0039] When the first interface is the main interface MP as shown in Figure 3 , the user slides on the screen in the direction as shown by the arrow R in Figure 3 , the interface switching operation from the main interface MP to the negative one screen interface A1 is monitored, the interface switching direction is recognized as the X-axis positive direction according to the monitored interface switching operation, the first profile information is the edge profile information of the screen pointed to by the X-axis positive direction, that is, the edge profile information of the right side of the screen, and the second profile information is the edge profile information of the negative one screen interface A1 towards the X-axis positive direction, that is, the edge profile information of the right side of the negative one screen interface A1. Figure 4 As can be seen from the figure, the negative one screen interface A1 is a rectangular interface, and Figures 3 to 5 the screen shown in the figure is a rounded corner screen. Therefore, according to the above interface display method, in the case that the first profile information does not match the second profile information, the right side edge of the negative one screen interface A1 is adjusted according to the first profile information to form the right side edge of the rounded corner as shown by the negative one screen interface A1 in Figure 5 .
[0040] In the above examples, the screen is taken as a round-cornered screen as an example, and those skilled in the art can understand that the interface display method provided by the present application is also applicable to other irregular screens such as a notch screen and a waterdrop screen. For example, the screen is taken as a waterdrop screen, when the interface switching direction is the positive direction of the Y axis, the first contour information is the contour information of the edge of the screen pointed to by the positive direction of the Y axis, and specifically can be the contour information of the upper edge of the screen, the second interface is a rectangular interface, the second contour information is the contour information of the edge of the second interface facing the positive direction of the Y axis, and specifically can be the contour information of the upper edge of the second interface, and the above interface display method is used to adjust the upper edge of the second interface, so that the upper edge of the second interface can be matched with the upper edge of the screen, and the experience of the user is improved.
[0041] In an embodiment of the present application, the step 104 can include:
[0042] In the case that the first contour information does not match the second contour information, after displaying the transition animation special effect on the second edge, the second edge of the second interface displayed on the screen is adjusted to a third edge according to the first contour information.
[0043] In the embodiment, in the case that the first contour information does not match the second contour information, before adjusting the second edge of the second interface displayed on the screen to the third edge according to the first contour information, a transition animation special effect is displayed on the second edge of the newly switched second interface, so that the transition animation special effect is presented to the user during the interface switching process, and the natural switching through the animation can avoid misunderstanding caused by the harsh conversion of directly displaying the third edge.
[0044] In an embodiment of the present application, the first contour information includes at least one first contour, and one first contour corresponds to one first angle information; the second contour information includes at least one second contour, and one second contour corresponds to one second angle information.
[0045] The step 104 can include:
[0046] In the case that the difference between the target second angle information and the target first angle information is not within the preset range, the second edge of the second interface displayed on the screen is adjusted to a third edge according to the first contour information;
[0047] The first contour corresponding to the target first angle information and the second contour corresponding to the target second angle information have the same vertical coordinate range on the screen.
[0048] For example, the first contour information includes the contour of the upper right corner of the screen and the corresponding angle information, and the contour of the lower right corner of the screen and the corresponding angle information; the second contour information includes the contour of the upper right corner of the negative one screen interface and the corresponding angle information, and the contour of the lower right corner of the screen and the corresponding angle information; and in a case where a difference between the target second angle information corresponding to the contour of the upper right corner of the negative one screen interface and the target first angle information corresponding to the contour of the upper right corner of the screen is not within a preset range, or a difference between the target second angle information corresponding to the contour of the lower right corner of the negative one screen interface and the target first angle information corresponding to the contour of the lower right corner of the screen is not within the preset range, the second edge of the second interface displayed on the screen is adjusted to be the third edge according to the first contour information.
[0049] In the above example, the contour of the upper right corner of the screen corresponding to the angle information of the upper right corner of the screen and the contour of the upper right corner of the negative one screen interface corresponding to the angle information of the upper right corner of the negative one screen interface have the same vertical coordinate range on the screen; and the contour of the lower right corner of the screen corresponding to the angle information of the lower right corner of the screen and the contour of the lower right corner of the negative one screen interface corresponding to the angle information of the lower right corner of the negative one screen interface have the same vertical coordinate range on the screen.
[0050] In the embodiment, whether the first contour information matches the second contour information can be determined by the contour and the corresponding angle information, which facilitates determining whether the contour information of the edge of the second interface facing the interface switching direction on the newly switched second interface matches the contour information of the edge on the screen pointing to the interface switching direction by using simple angle information, and further facilitates quickly and conveniently determining whether the first contour information matches the second contour information.
[0051] In an embodiment of the present application, the adjusting the second edge of the second interface displayed on the screen to be the third edge according to the first contour information in the step 104 can include:
[0052] reconstructing the target second contour in the second contour information to adjust the second edge to be the third edge, wherein a difference between the target second angle information corresponding to the reconstructed target second contour and the corresponding target first angle information is within the preset range;
[0053] wherein the difference between the target second angle information corresponding to the target second contour and the target first angle information is not within the preset range.
[0054] For example, when the difference between the target second angle information corresponding to the contour of the upper right corner of the minus one screen interface and the target first angle information corresponding to the contour of the upper right corner of the screen is not within the preset range, and the difference between the target second angle information corresponding to the contour of the lower right corner of the minus one screen interface and the target first angle information corresponding to the contour of the lower right corner of the screen is not within the preset range, the contour of the upper right corner and the contour of the lower right corner of the minus one screen interface are reconstructed to adjust the second edge to a third edge, wherein the difference between the angle information corresponding to the contour of the upper right corner and the contour of the lower right corner of the reconstructed minus one screen interface and the angle information corresponding to the contour of the upper right corner and the contour of the lower right corner of the screen is within the preset range.
[0055] In the embodiment, the edge of the newly switched second interface can be adjusted according to the angle information, and the newly switched second interface can be quickly and conveniently adjusted.
[0056] In an embodiment of the present application, the step of identifying the interface switching direction according to the monitored interface switching operation in step 102 comprises:
[0057] The interface switching direction is identified according to the touch screen track formed by the monitored interface switching operation.
[0058] In the embodiment, the interface switching direction is identified according to the touch screen track formed by the interface switching operation, and the interface switching direction can be conveniently identified.
[0059] Those skilled in the art can understand that the interface switching direction can also be identified according to the monitored interface switching operation in other ways, for example, the user issues an interface switching voice instruction, and the interface switching direction is identified according to the received interface switching voice instruction.
[0060] Figure 6 is a structural schematic diagram of a mobile terminal provided by an embodiment of the present application. As shown in Figure 6 The mobile terminal comprises:
[0061] The identification module 61 is configured to, when an interface switching operation from a first interface to a second interface is monitored, identify an interface switching direction according to the monitored interface switching operation.
[0062] The adjustment module 62 is configured to, when the first contour information and the second contour information do not match, adjust the second edge of the second interface displayed on the screen to a third edge according to the first contour information, wherein the contour information of the third edge matches the first contour information.
[0063] The first profile information is profile information of a first edge of the screen pointed by the interface switching direction, and the second profile information is profile information of a second edge of the second interface facing the interface switching direction.
[0064] In an embodiment of the present application, the adjusting module 62 is specifically configured to:
[0065] In a case where the first profile information does not match the second profile information, after displaying a transition animation effect on the second edge, the second edge of the second interface displayed on the screen is adjusted to a third edge according to the first profile information.
[0066] In an embodiment of the present application, the first profile information comprises at least one first profile, and one first profile corresponds to one first angle information; the second profile information comprises at least one second profile, and one second profile corresponds to one second angle information; and the adjusting module 62 is specifically configured to:
[0067] In a case where a difference between the target first angle information and the target second angle information is not within a preset range, the second edge of the second interface displayed on the screen is adjusted to a third edge according to the first profile information.
[0068] The first profile corresponding to the target first angle information and the second profile corresponding to the target second angle information have the same vertical coordinate range on the screen.
[0069] In an embodiment of the present application, the adjusting module 62 is specifically configured to:
[0070] The target second profile in the second profile information is reconstructed to adjust the second edge to the third edge, wherein a difference between target second angle information corresponding to the reconstructed target second profile and target first angle information corresponding to the reconstructed target second profile is within the preset range.
[0071] The difference between the target second angle information corresponding to the target second profile and the target first angle information is not within the preset range.
[0072] In an embodiment of the present application, the identifying module 61 is specifically configured to:
[0073] The interface switching direction is identified according to a touch screen track formed by monitoring an interface switching operation.
[0074] The mobile terminal provided by the embodiment of the present application can realize Figures 1 to 5The processes implemented by the mobile terminal in the method embodiment are not repeated here to avoid repetition. The mobile terminal provided in this embodiment can identify the interface switching direction when the user performs the interface switching operation, and in the case that the profile information of the edge of the second interface switched to towards the interface switching direction does not match the profile information of the edge of the screen pointed to by the interface switching direction, the edge of the second interface switched to towards the interface switching direction is adjusted according to the profile information of the edge of the screen, so that it matches the profile information of the edge of the screen. In this way, when the mobile terminal adopts an irregular screen, if the user performs the interface switching, the edge of the interface switched to can be automatically adjusted to match the profile information of the edge of the screen, and part of the interface of the newly switched interface will not be blocked by the irregular screen, thereby improving the user experience. For example, when the newly switched interface is a rectangular interface and the screen is a rounded corner screen, the right-angled interface is processed into a rounded corner interface matching the rounded corner screen, and when the newly switched interface is tangent to the rounded corner of the screen, the right-angled interface will not be blocked by the rounded corner, thereby improving the user experience.
[0075] Figure 7 Fig. 7 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application. The mobile terminal 700 includes, but is not limited to, a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and a power supply 711, etc. Those skilled in the art can understand that the mobile terminal structure shown in the figure does not constitute a limitation on the mobile terminal, and the mobile terminal can include more or fewer components than shown, or combine certain components, or different component arrangements. In the embodiments of the present application, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, and a pedometer, etc. Figure 7
[0076] The processor 710 is configured to:
[0077] When the interface switching operation from the first interface to the second interface is monitored, the interface switching direction is identified according to the monitored interface switching operation;
[0078] In the case that the first profile information and the second profile information do not match, the second edge of the second interface displayed on the screen is adjusted to a third edge according to the first profile information, and the profile information of the third edge matches the first profile information;
[0079] The first profile information is profile information of a first edge of the screen pointed by the interface switching direction, and the second profile information is profile information of a second edge on the second interface facing the interface switching direction.
[0080] The mobile terminal provided by the embodiment can recognize the interface switching direction when the user performs the interface switching operation, and in the case that the profile information of the edge on the newly switched second interface facing the interface switching direction does not match the profile information of the edge of the screen pointed by the interface switching direction, the edge on the newly switched second interface facing the interface switching direction is adjusted according to the profile information of the edge of the screen so as to match the profile information of the edge of the screen. In this way, when the mobile terminal adopts an irregular screen, if the user performs the interface switching, the edge of the newly switched interface can be automatically adjusted to match the profile information of the edge of the screen, and part of the newly switched interface will not be blocked by the irregular screen, improving the user experience. For example, when the newly switched interface is a rectangular interface and the screen is a rounded corner screen, the rectangular interface will be processed into a rounded corner interface matching the rounded corner screen, and when the newly switched interface is tangent to the rounded corner of the screen, the rectangular interface will not be blocked by the rounded corner, thereby improving the user experience.
[0081] It should be understood that in the embodiment of the present application, the radio frequency unit 701 can be used for receiving and transmitting signals in the process of information transmission or conversation. Specifically, the radio frequency unit 701 receives the downlink data from the base station and processes the data by the processor 710. In addition, the radio frequency unit 701 transmits the uplink data to the base station. Generally, the radio frequency unit 701 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
[0082] The mobile terminal provides the user with wireless broadband Internet access through the network module 702, such as helping the user to send and receive emails, browse web pages and access streaming media, etc.
[0083] The audio output unit 703 can convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as a sound. Moreover, the audio output unit 703 can also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal receiving sound, a message receiving sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, etc.
[0084] The input unit 704 is configured to receive audio or video signals. The input unit 704 can include a graphic processing unit (GPU) 7041 and a microphone 7042. The graphic processing unit 7041 processes image data of a still picture or a video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 706. The image frame processed by the graphic processing unit 7041 can be stored in the memory 709 (or other storage medium) or transmitted via the radio frequency unit 701 or the network module 702. The microphone 7042 can receive sound, and can process such sound as audio data. The processed audio data can be converted into a format transmittable to a mobile communication base station in a telephone call mode, and outputted via the radio frequency unit 701.
[0085] The mobile terminal 700 also includes at least one sensor 705, such as an optical sensor, a motion sensor, and other sensors. Specifically, the optical sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 7061 and / or the backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when at rest, and can be used to identify the mobile terminal posture (such as screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, knock), and the like. The sensor 705 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which will not be described here.
[0086] The display unit 706 is configured to display information input by a user or information provided to the user. The display unit 706 can include a display panel 7061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0087] The user input unit 707 can be used to receive input digital or character information and to generate a key signal corresponding to a user’s setting and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also called a touch screen, can collect a user’s touch operation (such as a user’s operation using a finger, a stylus, or any suitable object or accessory on or near the touch panel 7071). The touch panel 7071 can include two parts, a touch detecting device and a touch controller. The touch detecting device detects a user’s touch position and detects a signal caused by the touch operation, and transmits the signal to the touch controller. The touch controller receives the touch information from the touch detecting device, converts it into touch coordinates, and sends it to the processor 710, and receives a command from the processor 710 and executes it. In addition, the touch panel 7071 can be implemented in various types such as a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type. In addition to the touch panel 7071, the user input unit 707 can include other input devices 7072. Specifically, the other input devices 7072 can include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like, which are not described here.
[0088] Further, the touch panel 7071 can be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near it, it transmits it to the processor 710 to determine the type of touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of touch event. Although in the above description, the touch panel 7071 and the display panel 7061 are implemented as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated to realize the input and output functions of the mobile terminal, which is not limited here. Figure 7
[0089] The interface unit 708 is an interface for connecting an external device to the mobile terminal 700. For example, the external device can include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and the like. The interface unit 708 can be used to receive input (e.g., data information, power, and the like) from an external device and transmit the received input to one or more elements within the mobile terminal 700, or can be used to transmit data between the mobile terminal 700 and the external device.
[0090] The memory 709 can be used to store software programs and various data. The memory 709 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), and the like. In addition, the memory 709 can include a high-speed random access memory, and can also include a nonvolatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0091] The processor 710 is a control center of the mobile terminal, connects all parts of the mobile terminal through various interfaces and lines, executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 709 and calling data stored in the memory 709, and thus performs overall monitoring on the mobile terminal. The processor 710 can include one or more processing units; preferably, the processor 710 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 710.
[0092] The mobile terminal 700 can also include a power supply 711 (such as a battery) for supplying power to various components; preferably, the power supply 711 can be logically connected to the processor 710 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.
[0093] In addition, the mobile terminal 700 includes some functional modules which are not shown here and will not be described here.
[0094] Preferably, the embodiment of the present application also provides a mobile terminal, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and executable on the processor 710, wherein the computer program is executed by the processor 710 to realize each process of the above-mentioned interface display method embodiment and achieve the same technical effect, and details are not described here to avoid repetition.
[0095] The embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, the computer program is executed by a processor to realize each process of the interface display method embodiment, and the same technical effects can be achieved, and details are not repeated here. The computer readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0096] It should be noted that in this paper, the term "including", "containing" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0097] From the above description of the embodiments, those skilled in the art can clearly understand that the above embodiment method can be realized by software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on this understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner or network device) execute the method described in each embodiment of the present application.
[0098] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above specific embodiments, the above specific embodiments are only illustrative, not restrictive, and those skilled in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims, which all belong to the protection of the present application.
Claims
1. An interface display method applied to a mobile terminal, characterized by, The mobile terminal comprises a screen, and the method comprises: when a interface switching operation from a first interface to a second interface is monitored, recognizing a interface switching direction according to the monitored interface switching operation; in a case where first profile information and second profile information do not match, adjusting a second edge of the second interface displayed on the screen to a third edge according to the first profile information, the third edge having profile information matching the first profile information; wherein the first profile information is profile information of a first edge of the screen in the direction of the interface switching direction, and the second profile information is profile information of a second edge of the second interface in the direction of the interface switching direction.
2. The method of claim 1, wherein, The adjusting of the second edge of the second interface displayed on the screen to the third edge according to the first profile information in a case where the first profile information and the second profile information do not match comprises: in a case where the first profile information and the second profile information do not match, displaying a transition animation effect on the second edge, and then adjusting the second edge of the second interface displayed on the screen to the third edge according to the first profile information.
3. The method of claim 1, wherein, The first profile information comprises at least one first profile, and one first profile corresponds to one first angle information; the second profile information comprises at least one second profile, and one second profile corresponds to one second angle information; the adjusting of the second edge of the second interface displayed on the screen to the third edge according to the first profile information in a case where the first profile information and the second profile information do not match comprises: in a case where a difference between target second angle information and target first angle information is not within a preset range, adjusting the second edge of the second interface displayed on the screen to the third edge according to the first profile information; wherein a first profile corresponding to the target first angle information and a second profile corresponding to the target second angle information have the same range of longitudinal coordinates on the screen.
4. The method of claim 3, wherein, The adjusting of the second edge of the second interface displayed on the screen to the third edge according to the first profile information comprises: reconstructing a target second profile in the second profile information to adjust the second edge to the third edge, wherein a difference between target second angle information corresponding to the reconstructed target second profile and target first angle information is within the preset range; wherein a difference between the target second angle information corresponding to the target second profile and the target first angle information is not within the preset range.
5. The method of claim 1, wherein, The recognizing of the interface switching direction according to the monitored interface switching operation comprises: recognizing the interface switching direction according to a touch screen track formed by the monitored interface switching operation.
6. A mobile terminal, characterized by The mobile terminal comprises a screen, and the mobile terminal further comprises: a recognition module configured to, when a interface switching operation from a first interface to a second interface is monitored, recognize a interface switching direction according to the monitored interface switching operation; an adjusting module, configured to, in a case where the first contour information does not match the second contour information, adjust a second edge of the second interface displayed on the screen to a third edge according to the first contour information, the third edge having contour information matching the first contour information. The first contour information is contour information of a first edge of the screen in a direction of the interface switching, and the second contour information is contour information of a second edge of the second interface in the direction of the interface switching.
7. The mobile terminal of claim 6, wherein, The adjusting module is specifically configured to: in a case where the first contour information does not match the second contour information, display a transition animation effect on the second edge, and then adjust the second edge of the second interface displayed on the screen to a third edge according to the first contour information.
8. The mobile terminal of claim 6, wherein, The first contour information includes at least one first contour, and one first contour corresponds to one first angle information; the second contour information includes at least one second contour, and one second contour corresponds to one second angle information; and the adjusting module is specifically configured to: in a case where a difference between target second angle information and target first angle information is not within a preset range, adjust the second edge of the second interface displayed on the screen to a third edge according to the first contour information. The first contour corresponding to the target first angle information and the second contour corresponding to the target second angle information have the same vertical coordinate range on the screen.
9. The mobile terminal of claim 8, wherein, The adjusting module is specifically configured to: reconstruct a target second contour in the second contour information to adjust the second edge to the third edge, wherein a difference between target second angle information corresponding to the reconstructed target second contour and target first angle information is within the preset range. The difference between the target second angle information corresponding to the target second contour and the target first angle information is not within the preset range.
10. The mobile terminal of claim 6, wherein, The identifying module is specifically configured to: identify the direction of the interface switching according to a touch screen track formed by monitoring an interface switching operation.
11. A mobile terminal, characterized by The method comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being executed by the processor to implement the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and system for resolving multiple proximate touches
CN105103097A
Application message processing method, application message processing device and mobile terminal
CN106373017A
Wallpaper setting method and terminal
CN107704302A
Generating worst case bit patterns for simultaneous switching noise (SSN) in digital systems
US20100017158A1
Systems and methods for real-time data quantification, acquisition, analysis and feedback
US20180188284A1