Display method and electronic device

By displaying dynamic effects on the electronic device's display interface that correspond to the vehicle's motion, the problem of motion sickness caused by the inconsistency between the visual and vestibular sensory information when riding in a vehicle is solved, thus reducing the risk of motion sickness.

WO2026103235A1PCT designated stage Publication Date: 2026-05-21HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2025-08-07
Publication Date
2026-05-21

Smart Images

  • Figure CN2025113385_21052026_PF_FP_ABST
    Figure CN2025113385_21052026_PF_FP_ABST
Patent Text Reader

Abstract

A display method and an electronic device, which are applicable to the technical field of display, and can reduce the risk of motion sickness caused by the inconsistency between motion information seen by eyes and motion information perceived by other organs of the body. The electronic device moves along with the movement of a vehicle. The method comprises: determining a motion state of a vehicle, wherein the motion state indicates a motion direction and / or a motion speed of the vehicle, and the motion direction comprises a horizontal direction and a vertical direction; and then displaying, in a preset area in a display interface of an electronic device, a dynamic effect corresponding to the motion state. A dynamic effect corresponding to a motion state of a vehicle is displayed in a preset area in a display interface of an electronic device, and the motion state of the vehicle is simulated, so that motion information seen by eyes of a user is consistent with motion information perceived by other organs of the body.
Need to check novelty before this filing date? Find Prior Art

Description

Display methods and electronic devices

[0001] This application claims priority to Chinese patent application filed on November 15, 2024, with application number 202411655586.5 and entitled "Display Method and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of display technology, and more specifically, to a display method and an electronic device. Background Technology

[0003] Traveling by public transportation is a common occurrence in people's daily lives. With the widespread use of electronic devices, people often check the content displayed on their electronic devices while traveling.

[0004] When using electronic devices while traveling, the screen we look at is stationary, so our eyes perceive the body as still. However, the vestibular system in our ears perceives the body as moving. The eyes transmit this information of stillness, and the vestibular system transmits this information of movement, simultaneously to the brain. When the brain receives these two completely different pieces of information, it is prone to misinterpretation, leading to symptoms such as dizziness and nausea. This condition is known as motion sickness.

[0005] How to reduce the risk of motion sickness when traveling by public transport has become an urgent problem to be solved. Summary of the Invention

[0006] This application provides a display method that can reduce the risk of motion sickness for users when traveling by public transport.

[0007] Firstly, a display method is provided, applied to an electronic device that moves with the movement of a vehicle, the method comprising:

[0008] Determine the motion state of a vehicle, which indicates the direction and / or speed of the vehicle's motion, including both horizontal and vertical directions;

[0009] Display dynamic effects corresponding to the motion state in a preset area on the electronic device's display interface.

[0010] The display method provided in this application embodiment is applied to an electronic device that moves along with a vehicle. The method includes: determining the motion state of the vehicle, the motion state indicating the direction and / or speed of the vehicle's movement, the direction of movement including horizontal and vertical directions; and then displaying dynamic effects corresponding to the motion state in a preset area of ​​the electronic device's display interface. By displaying dynamic effects corresponding to the motion state of the vehicle in a preset area of ​​the electronic device's display interface, the motion state of the vehicle is simulated, so that the motion information seen by the user's eyes can match the motion information perceived by other organs of the body, thereby reducing the risk of motion sickness caused by the difference between the motion information seen by the eyes and the motion information perceived by other organs of the body.

[0011] In conjunction with the first aspect, in some embodiments of the first aspect, the electronic device includes an accelerometer and a gyroscope sensor to determine the motion state of the vehicle, including: determining the motion state of the vehicle based on acceleration data collected by the accelerometer and angular velocity data collected by the gyroscope.

[0012] In conjunction with the first aspect, in some embodiments of the first aspect, the acceleration data includes acceleration in the X-axis direction, acceleration in the Y-axis direction, and acceleration in the Z-axis direction, wherein the X-axis, Y-axis, and Z-axis directions are mutually perpendicular, the Y-axis direction includes the direction of travel of the vehicle, the X-axis direction is perpendicular to the Y-axis direction and parallel to the ground, and the Z-axis direction is perpendicular to the Y-axis direction and parallel to the ground; the angular velocity data includes the angular velocity of the pitch angle, the angular velocity of the yaw angle, and the angular velocity of the roll angle.

[0013] The X-axis, Y-axis, and Z-axis directions can refer to the directions shown in Figure 4. The Y-axis direction can refer to the direction of travel of the vehicle, that is, the direction in which the vehicle moves forward or backward; the X-axis direction can refer to the direction perpendicular to the Y-axis and parallel to the ground, that is, the direction in which the vehicle turns along the direction of travel; the Z-axis direction can refer to the direction perpendicular to the Y-axis and parallel to the ground, that is, the direction in which the vehicle moves up and down. The angular velocities of pitch, yaw, and roll can refer to the angular velocities shown in Figure 4.

[0014] For example, electronic devices can determine whether a vehicle is moving forward or backward in a straight line based on acceleration along the Y-axis collected by an accelerometer.

[0015] For example, electronic devices can determine whether a vehicle is turning left or right based on acceleration in the X-axis direction and angular velocity of the roll angle.

[0016] For example, electronic devices can determine the up-and-down movement of a vehicle based on the acceleration in the Z-axis direction and the angular velocity of the pitch angle.

[0017] For example, electronic devices can determine whether a vehicle is swaying from side to side based on the angular velocity of the yaw angle.

[0018] In conjunction with the first aspect, in some embodiments of the first aspect, displaying a dynamic effect corresponding to the motion state of a vehicle in a preset area of ​​the electronic device display interface includes: if the motion state indicates that the vehicle is moving in a straight line, displaying a first dynamic effect in the preset area, the first dynamic effect including displaying a preset icon moving along a first direction in the preset area, the first direction including a direction opposite to the direction of travel of the vehicle, the preset icon being hidden when it moves to one edge of the preset area, and a new preset image being displayed at the other edge of the preset area.

[0019] For example, the first dynamic effect can refer to the dynamic effect shown in Figures 10, 13, and 14.

[0020] For example, the first dynamic effect can also refer to the dynamic effect shown in Figure 30.

[0021] For example, the first dynamic effect can also refer to the dynamic effect shown in Figure 34.

[0022] In conjunction with the first aspect, in some embodiments of the first aspect, if the motion state indicates that the vehicle is moving in a straight line and the vehicle's speed is less than a first speed threshold, the first dynamic effect further includes displaying N columns of preset icons in a preset area and displaying N columns of preset icons moving along a first direction in the preset area; if the motion state indicates that the vehicle is moving in a straight line and the vehicle's speed is greater than or equal to the first speed threshold, the first dynamic effect further includes displaying M columns of preset icons in a preset area and displaying M columns of preset icons moving along a first direction in the preset area; wherein M is greater than N.

[0023] In conjunction with the first aspect, in some embodiments of the first aspect, displaying a dynamic effect corresponding to the motion state of a vehicle in a preset area of ​​the electronic device's display interface includes: if the motion state indicates that the vehicle is moving in a straight line, displaying a second dynamic effect in the preset area, the second dynamic effect including displaying a preset icon on the preset area that diffuses outward toward the display interface of the electronic device.

[0024] The second dynamic effect can refer to the dynamic effect shown in Figure 14.

[0025] In conjunction with the first aspect, in some embodiments of the first aspect, displaying dynamic effects corresponding to the motion state of a vehicle in a preset area of ​​the electronic device display interface includes: if the motion state indicates that the vehicle is moving along a vertical direction, displaying a third dynamic effect in the preset area, the third dynamic effect including the size of a preset icon displayed in the preset area changing as the vehicle moves along a vertical direction.

[0026] The third dynamic effect can refer to the dynamic effect shown in Figure 18.

[0027] In some possible cases, if the motion status indicates that the vehicle is moving in a vertical direction, the electronic device can also display the dynamic effect shown in Figure 31.

[0028] In some possible cases, if the motion status indicates that the vehicle is moving in a vertical direction, the electronic device can also display the dynamic effect shown in Figure 36.

[0029] In conjunction with the first aspect, in some embodiments of the first aspect, displaying dynamic effects corresponding to the motion state of a vehicle in a preset area of ​​the electronic device display interface includes: if the motion state indicates that the vehicle is moving along a vertical direction, displaying a fourth dynamic effect in the preset area, the fourth dynamic effect including displaying a preset icon moving along a second direction in the preset area, the second direction including the direction opposite to the vehicle moving along a vertical direction.

[0030] If the motion state indicates that the vehicle is moving in a vertical direction, it can mean that the vehicle is in a state of up-and-down bumping. The fourth dynamic effect can refer to the dynamic effect shown in Figure 19.

[0031] In conjunction with the first aspect, in some embodiments of the first aspect, displaying dynamic effects corresponding to the motion state of a vehicle in a preset area of ​​the electronic device display interface includes: if the motion state indicates that the driving direction of the vehicle changes from a third direction to a fourth direction, displaying a fifth dynamic effect in the preset area, the preset area including a first sub-area and a second sub-area, the fifth dynamic effect including displaying a first icon moving in the fifth direction in the first sub-area, and displaying a second icon moving along a sixth direction in the second sub-area, the fifth direction and the sixth direction being opposite.

[0032] In this context, if the motion status indicator changes the vehicle's direction of travel from a third direction to a fourth direction, it is equivalent to the vehicle turning left or right.

[0033] The fifth dynamic effect can be indicated by the dynamic effect shown in Figure 20.

[0034] In some possible cases, the fifth dynamic effect can refer to the dynamic effect shown in Figure 32.

[0035] In some possible cases, if the motion status indicator changes the vehicle's direction of travel from a third direction to a fourth direction, the electronic device can also display the dynamic effect shown in Figure 35.

[0036] In conjunction with the first aspect, in some embodiments of the first aspect, the preset area includes two sub-areas, which are located on both sides of the display interface of the electronic device along the display direction.

[0037] The preset area can refer to area 802 shown in Figure 9, or to areas 291 and 292 shown in Figure 29, or to area 331 shown in Figure 33. This application embodiment does not limit this.

[0038] In conjunction with the first aspect, in some embodiments of the first aspect, the preset icon is a circular icon.

[0039] The preset icon can refer to the small dot shown in Figures 9, 13, 14, 16, 17, 18, 19, and 20.

[0040] In some possible cases, it can also refer to small squares, hearts, four-leaf clovers, small flowers, balloons, suns, stars, moons, clouds, wind, etc., as shown in Figure 28. This application embodiment does not limit this.

[0041] In conjunction with the first aspect, in some embodiments of the first aspect, the color of the preset icon is determined by inverting the color of the background area of ​​the display interface.

[0042] If the color of the preset icon can be determined by inverting the color of the background area of ​​the display interface, the contrast between the preset icon and the background area will be high, which can enhance the user's recognition of the preset icon and further reduce the risk of motion sickness.

[0043] In conjunction with the first aspect, in some embodiments of the first aspect, the saturation of the preset icon's color is determined by inverting the brightness of the color in the background area of ​​the display interface.

[0044] Thirdly, a display device is provided, including a unit for performing any of the methods in the first aspect. The device may be a server, a terminal device, or a chip within a terminal device. The device may include an input unit and a processing unit.

[0045] When the device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory for storing computer program code, which, when the processor executes the computer program code stored in the memory, causes the terminal device to perform any of the methods in the first aspect.

[0046] When the device is a chip within a terminal device, the processing unit can be an internal processing unit of the chip, and the input unit can be an output interface, pin, or circuit, etc.; the chip may also include a memory, which can be an internal memory of the chip (e.g., a register, cache, etc.) or an external memory (e.g., a read-only memory, random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip performs any of the methods in the first aspect.

[0047] In one possible implementation, the memory is used to store computer program code; the processor executes the computer program code stored in the memory. When the computer program code stored in the memory is executed, the processor performs the following: determining the motion state of the vehicle, the motion state indicating the direction and / or speed of the vehicle's motion, the direction of motion including horizontal and vertical directions; and displaying the dynamic effect corresponding to the motion state in a preset area of ​​the electronic device's display interface.

[0048] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing computer program code, which, when executed by a display device, causes the display device to perform any of the display methods in the first aspect.

[0049] Fifthly, a computer program product is provided, the computer program product comprising: computer program code, which, when executed by a display device, causes the display device to perform any of the methods in the first aspect.

[0050] The display method provided in this application embodiment is applied to an electronic device that moves along with a vehicle. The method includes: determining the motion state of the vehicle, the motion state indicating the direction and / or speed of the vehicle's movement, the direction of movement including horizontal and vertical directions; and then displaying dynamic effects corresponding to the motion state in a preset area of ​​the electronic device's display interface. By displaying dynamic effects corresponding to the motion state of the vehicle in a preset area of ​​the electronic device's display interface, the motion state of the vehicle is simulated, so that the motion information seen by the user's eyes can match the motion information perceived by other organs of the body, thereby reducing the risk of motion sickness caused by the difference between the motion information seen by the eyes and the motion information perceived by other organs of the body. Attached Figure Description

[0051] Figure 1 is a schematic diagram of the vestibular organ;

[0052] Figure 2 is a schematic diagram of a motion sickness phenomenon;

[0053] Figure 3 is a schematic diagram of a hardware system for an electronic device applicable to this application;

[0054] Figure 4 is a schematic diagram of a coordinate system;

[0055] Figure 5 is a schematic diagram of the interface of an electronic device displaying auxiliary functions according to an embodiment of this application;

[0056] Figure 6 is a schematic diagram of the interface of an electronic device displaying a motion sickness relief function according to an embodiment of this application;

[0057] Figure 7 is a schematic diagram of the settings interface of an electronic device's motion sickness relief function provided in an embodiment of this application;

[0058] Figure 8 is a schematic diagram of the settings interface of an electronic device's motion sickness relief function provided in an embodiment of this application;

[0059] Figure 9 is a schematic diagram of an interface that displays dynamic effects corresponding to the motion state of a vehicle, according to an embodiment of this application.

[0060] Figure 10 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0061] Figure 11 is a schematic diagram of the entrance and exit animation effects of a preset icon provided in an embodiment of this application;

[0062] Figure 12 is a schematic diagram of the dynamic effect of switching from portrait to landscape display according to an embodiment of this application;

[0063] Figure 13 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0064] Figure 14 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0065] Figure 15 is a schematic diagram of the dynamic effect of switching from portrait to landscape display according to an embodiment of this application;

[0066] Figure 16 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0067] Figure 17 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0068] Figure 18 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0069] Figure 19 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0070] Figure 20 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0071] Figure 21 is a schematic diagram of the process of displaying a preset icon on the display interface;

[0072] Figure 22 is a schematic diagram of the display range of a preset icon;

[0073] Figure 23 is a schematic diagram of the display range of a preset icon;

[0074] Figure 24 is a schematic diagram of the display interface when switching dynamic effects;

[0075] Figure 25 is a schematic diagram of the display range of a preset icon;

[0076] Figure 26 is a schematic diagram of the display range of a preset icon;

[0077] Figure 27 is a schematic diagram of the display range of a preset icon;

[0078] Figure 28 is a schematic diagram of a preset icon type;

[0079] Figure 29 is a schematic diagram of an interface that displays dynamic effects corresponding to the motion state of a vehicle, according to an embodiment of this application.

[0080] Figure 30 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0081] Figure 31 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0082] Figure 32 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0083] Figure 33 is a schematic diagram of an interface that displays dynamic effects corresponding to the motion state of a vehicle, according to an embodiment of this application.

[0084] Figure 34 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0085] Figure 35 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0086] Figure 36 is a schematic diagram of a dynamic effect provided in an embodiment of this application;

[0087] Figure 37 is a schematic diagram of a color inversion process provided in an embodiment of this application;

[0088] Figure 38 is a schematic diagram of the color brightness and saturation of a color inversion processing provided in an embodiment of this application;

[0089] Figure 39 is a schematic diagram of a color inversion process provided in an embodiment of this application;

[0090] Figure 40 is a schematic diagram of the color brightness and saturation of a color inversion processing provided in an embodiment of this application;

[0091] Figure 41 is a schematic diagram of a color inversion process provided in an embodiment of this application;

[0092] Figure 42 is a flowchart illustrating a display method provided in an embodiment of this application;

[0093] Figure 43 is a schematic diagram of a display device provided in this application;

[0094] Figure 44 is a schematic diagram of a display electronic device provided in this application. Detailed Implementation

[0095] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0096] Hereinafter, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include one or more of that feature.

[0097] For ease of understanding, the examples provided are for reference only and are related to the concepts in the embodiments of this application.

[0098] 1. Vestibular organ.

[0099] The vestibular organ is an important part of the human body. It is located in the inner ear labyrinth. Apart from the cochlea, it is mainly composed of the three semicircular canals (including the anterior semicircular canal, posterior semicircular canal, and horizontal semicircular canal), the utricle, and the saccule, as shown in Figure 1.

[0100] The anterior, posterior, and horizontal semicircular canals are key structures for sensing head rotation, capable of detecting rotational acceleration. The utricle and saccule are two other important components of the vestibular system, sensing linear acceleration, including gravitational forces. The vestibular system is used to detect whether the body is in motion.

[0101] 2. Motion sickness.

[0102] Motion sickness is a common motion perception disorder, which mainly occurs when the information seen by the eyes conflicts with the information perceived by the vestibular organs during travel or strenuous exercise. This causes the brain to be unable to interpret these two different pieces of information, resulting in symptoms such as dizziness and nausea.

[0103] For example, when looking at a phone while riding in a car, the eyes are focused on the screen, which is stationary. Therefore, the eyes perceive a state of stillness. However, because the car is moving, the vestibular system in the ear perceives a state of motion. This simultaneous transmission of information—from the eyes (status of stillness) and the vestibular system (status of motion)—to the brain, as shown in Figure 2, can lead to errors in brain processing and sensations such as dizziness and nausea.

[0104] 3. Hue-saturation-brightness (HSB) color mode.

[0105] The HSB color model is a color model that describes the hue, saturation, and brightness of a color. Hue represents the basic attribute of a color, such as red, green, and blue; saturation represents the purity or vividness of a color; and brightness represents the lightness or darkness of a color.

[0106] To reduce the risk of motion sickness caused by viewing electronic devices while traveling, this application provides a display method applied to an electronic device that moves with the vehicle. The method includes: determining the motion state of the vehicle, where the motion state indicates the direction and / or speed of the vehicle's movement, including horizontal and vertical directions; and then displaying a dynamic effect corresponding to the motion state in a preset area of ​​the electronic device's display interface. By displaying the dynamic effect corresponding to the vehicle's motion state in the preset area of ​​the electronic device's display interface, the motion state of the vehicle is simulated, ensuring that the motion information seen by the user's eyes matches the motion information perceived by other organs of the body, thereby reducing the risk of motion sickness caused by the discrepancy between the motion information seen by the eyes and the motion information perceived by other organs of the body.

[0107] The display method provided in this application can be applied to electronic devices. Optionally, the electronic device includes a terminal device, which can also be called a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, wearable device, tablet computer, computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. The embodiments of this application do not limit the specific technology or specific device form used in the terminal device.

[0108] For example, Figure 3 shows a schematic diagram of the structure of electronic device 100. Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0109] The accelerometer 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, it can detect the magnitude and direction of gravity. The accelerometer 180E can also be used to identify the posture of the electronic device, and can be applied to applications such as screen orientation switching and pedometers.

[0110] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation, motion-sensing games, and other scenarios.

[0111] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0112] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0113] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0114] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0115] It should be noted that any electronic device mentioned in the embodiments of this application may include more or fewer modules in electronic device 100.

[0116] The application scenarios provided in the embodiments of this application are described below.

[0117] The display method provided in this application can be applied to scenarios where users carry electronic devices while traveling. The electronic device can refer to portable electronic devices such as mobile phones and tablets; this application does not limit this. The mobile phone can include candybar phones and foldable phones; this application does not limit this. The vehicle can refer to cars, trains, high-speed trains, airplanes, ships, etc.; this application does not limit this. For example, when a user is traveling in a car with their mobile phone, and the user views the screen on their phone while the car is moving, the electronic device also displays dynamic effects corresponding to the direction of the car's movement in a preset area of ​​the screen. This allows the user's eyes to see a moving area on the phone screen, mitigating the difference between the static information perceived by the eyes and the motion information perceived by the vestibular organs, which can lead to motion sickness.

[0118] It should be understood that the above are illustrative examples of application scenarios and do not limit the application scenarios of this application in any way.

[0119] The following section explains the movement information of the vehicles.

[0120] The motion information of a vehicle can be represented in multiple dimensions. For example, as shown in Figure 4, the motion information of a car can be represented in six dimensions: the motion speed along the X-axis, the motion speed along the Y-axis, the motion speed along the Z-axis, the angular velocity of the pitch angle, the angular velocity of the yaw angle, and the angular velocity of the roll angle.

[0121] The speed along the X-axis indicates the linear speed of the car moving forward or backward; the speed along the Y-axis indicates the speed of swaying left and right in a direction perpendicular to the direction of travel; and the speed along the Z-axis indicates the speed of height change when the car bounces up and down. The electronic device can acquire the car's speed along the X-axis, Y-axis, and Z-axis using the accelerometer 180E shown in Figure 3. It should be noted that the speeds along the X-axis, Y-axis, and Z-axis refer to the speed of the electronic device relative to the ground, thus eliminating speed changes caused by the electronic device's own shaking.

[0122] The angular velocity of the pitch angle is equivalent to the angular velocity of rotation around the Y-axis, which refers to the angle by which an object or observation point rotates around the horizontal axis (usually the axis perpendicular to the horizontal plane), and is used to describe the degree to which the object or observation point rotates upward or downward.

[0123] The angular velocity of the yaw angle is equivalent to the angular velocity of rotation around the X-axis, which is the angle by which an object rotates about an axis perpendicular to its trajectory or a reference plane (usually a vertically upward axis). The yaw angle can be used to describe the change of orientation of an object in a horizontal plane.

[0124] The angular velocity of the roll angle is equivalent to the angular velocity of rotation around the Z-axis. The angular velocity of the roll angle can refer to the angle of rotation of an object around its longitudinal axis. The angular velocity of the roll angle can be used to describe the rotational state of an object on a horizontal plane, such as the angular change of the fuselage of an airplane as it rolls left and right on a horizontal plane.

[0125] Understandably, during vehicle operation, the vehicle's motion information can be determined by combining data from the aforementioned multiple dimensions. For example, when a vehicle is turning, its motion information can be determined based on its velocity along the Y-axis, the angular velocity of the yaw angle, and the angular velocity of the roll angle; when the vehicle is bumping, its motion information can be determined based on its velocity along the Z-axis and the angular velocity of the pitch angle.

[0126] It should be noted that the motion speed along the X-axis, the motion speed along the Y-axis, and the motion speed along the Z-axis can be obtained by the accelerometer 180E in the electronic device 100 shown in Figure 3, while the angular velocity of the pitch angle, the angular velocity of the yaw angle, and the angular velocity of the roll angle can be obtained by the gyroscope sensor 180B in the electronic device 100 shown in Figure 3.

[0127] The following explains how to enable the motion sickness relief display function in electronic devices to prevent users from experiencing motion sickness.

[0128] For example, as shown in Figure 5(a), the main interface 10 of the electronic device displays a settings control 101. Users can click the settings control 101 on the main interface 10 to enter the settings interface of the electronic device to configure it. In response to the user clicking the settings control 101, the electronic device displays a settings interface 20, which includes accessibility options 201. It is understood that, in addition to the settings control 101, the main interface 10 may also display controls for other applications; this embodiment does not limit this. Besides the accessibility options 201, the settings interface 20 may also include other function options, such as storage options, security options, privacy options, health-related phone usage options, smart assistant options, wallet options, user and account options, system update options, and about phone options; this embodiment does not limit this.

[0129] For example, as shown in Figure 5(c), a pull-down operation on the current display interface 30 of the electronic device can access the control center interface 40 on the negative one screen, as shown in Figure 5(d). The current display interface 30 of the electronic device can be any interface displayed on the electronic device; for example, the display interface 30 can be the main interface of the electronic device, the video playback interface that the user is watching, or the chat interface of an instant messaging application. This embodiment of the application does not limit this. The control center interface 40 can display setting controls 401, as shown in Figure 5(d). The control center interface 40 can also display editing controls, WIFI shortcut controls, Bluetooth shortcut controls, location shortcut controls, screen recording shortcut controls, video playback shortcut controls, brightness adjustment shortcut controls, volume adjustment shortcut controls, and some other shortcut controls. This embodiment of the application does not limit this. Users can access the settings interface 20 of the electronic device, as shown in Figure 5(b), by clicking the setting controls 401 displayed on the control center interface 40 to configure the electronic device.

[0130] As shown in Figure 6(a), the user can enter the accessibility settings interface 50 by clicking the accessibility option 201 in the settings interface 20, as shown in Figure 6(b). The accessibility settings interface 50 displays a motion sickness relief display control 501. It is understood that in addition to displaying the motion sickness relief display control 501, the accessibility settings interface 50 may also display other function options, such as accessibility options, one-handed mode options, quick launch and gesture options, screen recording options, smart multi-window options, favorites space options, enhanced audio and video call options, anti-mistouch mode options, and timed power on / off options, etc. This embodiment does not limit these options.

[0131] The motion sickness relief display function control 501 can be in an on or off state by default, and this embodiment does not limit this. In one possible case, the motion sickness relief display function control 501 is in an off state by default, as shown in Figure 6(b). The user can click on the motion sickness relief display function control 501 to enter the motion sickness relief settings interface 60, as shown in Figure 6(c). The motion sickness relief settings interface 60 displays the motion sickness relief display switch 601. Since the user enters the motion sickness relief settings interface 60 when the motion sickness relief display function control 501 is in an off state by default, the motion sickness relief display switch 601 is in an off state at this time. The user can click on the motion sickness relief display switch 601 to switch its state. It is understood that in addition to displaying the motion sickness relief display switch 601, the motion sickness relief settings interface 60 can also display prompts and precautions, as shown in Figure 6(c), and this embodiment does not limit this.

[0132] If a user clicks the motion sickness relief display switch 601 when it is in the off state, the switch will switch to the on state in response to the user's click, and the motion sickness relief display function will be activated. Simultaneously, the electronic device's display interface will jump to the on motion sickness relief settings interface 70, as shown in Figure 6(d). Here, the display state of the motion sickness relief display switch 601 is switched to the on state.

[0133] In one possible scenario, as shown in Figure 7, the motion sickness relief settings interface 70 will also display a sensitivity status bar 701. The sensitivity status bar 701 has a slider 7011, and the user can adjust the sensitivity of the motion sickness relief display function by adjusting the position of the slider 7011 in the sensitivity status bar 701.

[0134] In one possible scenario, as shown in Figure 8(a), the motion sickness relief settings interface 70 may also display a sensitivity status bar 701. When the user enables the motion sickness relief display function, a notification message indicating that the function is enabled will be displayed in the notification bar. For example, as shown in Figure 8(b), the notification message "Motion Sickness Relief Display Enabled" 702 is displayed in the notification bar. If the user swipes down from the notification bar, as shown in Figure 8(c), the electronic device displays the sensitivity settings interface 80 in response to the user's downward swipe, as shown in Figure 8(d). The sensitivity settings interface 80 displays a sensitivity adjustment status bar 801, which includes three buttons: "Weak," "Medium," and "Strong." The user can select the corresponding sensitivity for the motion sickness relief display by clicking the buttons on the sensitivity adjustment status bar 801. For example, the user can click the "Weak" button to select a weak sensitivity for the motion sickness relief display.

[0135] Optionally, after completing the sensitivity selection, the user can click on the blank area on the sensitivity adjustment status bar 801 to return to the motion sickness relief settings interface 70.

[0136] It should be noted that the above-described setting process for motion sickness relief display is merely an example and does not constitute a limitation on the setting of motion sickness relief display. In some possible cases, users can also set the motion sickness relief display through voice commands, or users can also set the motion sickness relief display through shortcut operations, and this application embodiment does not impose any limitations on this.

[0137] After the motion sickness relief display function is enabled on an electronic device, if a user views the device while in a vehicle, a preset icon will appear in a preset area on the device's screen, and the preset icon will be displayed with a dynamic effect to alleviate motion sickness. The following example, showing a user viewing a mobile phone in a car, will be explained in detail using Figures 9 to 28.

[0138] For example, after a user activates the motion sickness relief display function, if the user is traveling in a car with their mobile phone, several small dots will be displayed in preset areas 802 on both sides of the phone's screen, as shown in Figure 9. These small dots can move according to the phone's motion information, simulating a dynamic effect similar to the vehicle's motion information.

[0139] The following describes the dynamic effects displayed on the electronic device when the user has enabled the motion sickness relief display function and is traveling in a car with their mobile phone, while the vehicle is moving in a straight line.

[0140] When a user is traveling in a car with a mobile phone, the electronic device can display a dynamic effect of a small dot moving upwards as the vehicle moves in a straight line, or it can display a dynamic effect of the small dot spreading outwards. This application embodiment does not limit this.

[0141] First, let's explain the dynamic effect of the small dot moving upwards as the vehicle moves in a straight line.

[0142] For example, if a user has enabled the motion sickness relief display function, and the user is traveling in a car with their mobile phone, when the vehicle is moving forward in a straight line, the electronic device uses an accelerometer to determine the acceleration along the Y-axis and thus determines that the vehicle is moving backward in a straight line. Small dots moving upwards are then displayed on the left and right sides of the screen. Let's take the topmost small dot A on the left as an example. At time T0, as shown in Figure 10, small dot A is in the first position. At time T1, the vehicle continues moving forward in a straight line, and small dot A adaptively moves upwards to the second position. At time T2, the vehicle continues moving forward in a straight line, and small dot A adaptively moves upwards to the third position. At time T2, small dot A has reached the top edge of the screen, and part of small dot A has moved off the screen. A new small dot A' is then displayed at the corresponding position on the bottom edge of the screen. This ensures that the array of small dots can be continuously displayed on the screen. The movement trajectories of other small dots on the screen are similar to those of small dot A, and will not be described in detail here.

[0143] If the vehicle moves backward in a straight line, the dynamic effect displayed on the electronic device can be the opposite of the dynamic effect shown in Figure 10, that is, the dynamic effect of the small dot moving upward, which will not be elaborated here.

[0144] The small dots on both sides of the electronic device can appear in a preset area using an entrance animation effect. The entrance animation effect is explained in Figure 11 below.

[0145] At time T3, when small dots begin to appear in the preset area, the size of the small dots can be a first size value, such as 0.5dp; the alpha value of the small dots can be a first transparency value, such as 0, as shown in Figure 11(a). Alpha is a way of representing image transparency, and its value typically ranges from 0 to 100. An alpha value of 0 represents that the pixel is completely transparent and invisible, while an alpha value of 100 represents that the pixel is completely opaque and fully visible. Other values ​​represent different degrees of transparency. That is, the lower the alpha value, the higher the pixel transparency; the higher the alpha value, the lower the pixel transparency. As time increases, the size of the small dots gradually increases to a second size value, such as 1dp; the alpha value of the small dots gradually increases to a second transparency value, such as 80.

[0146] In Android development, dp refers to Device Independent Pixels, also known as Density Independent or Device-Independent Pixels. Except when setting fonts, dp is typically used as the unit when explicitly specifying dimensions. The Android system can convert dp into pixels (px) suitable for the current screen based on device information, thus achieving adaptation to different screen sizes and resolutions.

[0147] If the user turns off the motion sickness relief display function, the preset icons displayed in the preset area (such as the small dots shown in Figure 9) can disappear from the preset area using an exit animation. The following will continue to explain the entrance animation using the example of several small dots displayed in the preset area 802 on both sides of the mobile phone screen.

[0148] At time T4, when the small dot begins to disappear from the preset area, the size of the small dot can be a third size value, such as 0.9dp; the alpha value of the small dot can be a third transparency value, such as 78, as shown in Figure 11(b). As time increases, the size of the small dot gradually decreases to a first size value, such as 0dp; the alpha value of the small dot gradually decreases to a first transparency value, such as 0, as shown in Figure 11(b). It can be understood that the size and alpha value of the small dot can change over time. The third size value can refer to the size of the small dot at the start of the exit animation, and the third transparency value can refer to the alpha value of the small dot at the start of the exit animation. At the start of the exit animation, the size of the small dot can be any value between the first and second size values, and the alpha value of the small dot can be any value between the first and second transparency values.

[0149] Optionally, the size change of the small dot during the exit animation can be non-linear. For example, after the start of the exit, after a first interval (e.g., 200ms), the size of the small dot decreases from the third size value to half of the third size value. Then, after a second interval (e.g., 350ms), the size of the small dot decreases from half of the third size value to one-tenth of the third size value before disappearing. Similarly, the size change of the small dot in the entrance animation can also adopt the same strategy.

[0150] It's understandable that the motion sickness relief display function is activated when a user views the electronic device. Once the user has viewed the device, if they turn off the screen—meaning the display no longer shows the content they need—the user typically won't continue viewing the screen. Therefore, locking the screen after enabling the motion sickness relief display function will also display the aforementioned exit animation.

[0151] Correspondingly, when the screen is locked while the motion sickness relief display function is enabled on the electronic device, the aforementioned entrance animation effect can still be displayed when the user turns on the screen of the electronic device since the motion sickness relief display function is not turned off.

[0152] In some situations, users may rotate the screen while using electronic devices. For example, as shown in Figure 12, in a portrait display, a user rotates the phone to switch from portrait to landscape mode. It's understandable that some electronic devices have cameras on their displays, which occupy a portion of the screen area. For example, consider camera 120 as shown in Figure 12. When the electronic device is in landscape mode, camera 120 occupies the area for displaying small dots on the left side of the screen. If the electronic device maintains the same display as in portrait mode, showing a row of small dots, the camera may occupy part of the display area for the small dots, resulting in incomplete display of the dots and preventing the displayed dots from simulating the movement of a vehicle.

[0153] Understandably, the display width of a landscape display on an electronic device is usually much wider than that of a portrait display. To improve user experience, the small dots displayed on both sides of a landscape display can be in multiple rows, such as two rows, to avoid the situation where part of the display area is occupied by a camera and cannot simulate the vehicle's movement. The display height of a landscape display is usually much smaller than that of a portrait display; therefore, the number of small dots displayed in each column on a landscape display can also be less than the number of small dots displayed in each column on a portrait display. For example, as shown in Figure 12, in portrait mode, one column of small dots is displayed on one side of the screen, with four dots; in landscape mode, two columns of small dots are displayed on one side of the screen, one column with two dots and the other with three dots, both fewer than the four dots in a single column on one side of the screen in portrait mode.

[0154] During the process of switching the phone from portrait to landscape display, the small dots on both sides can first perform the exit animation as shown in Figure 11; when the phone starts to display in landscape mode, the small dots will simultaneously perform the entrance animation as shown in Figure 11.

[0155] In some situations, users may frequently switch between landscape and portrait modes. In such cases, the phone's display orientation may be switched again before the entrance animation has finished executing.

[0156] For example, when a phone switches from portrait to landscape mode, and an entrance animation is being displayed on the landscape screen, if the user rotates the phone again, switching the display orientation back from landscape to portrait, the phone continues to execute the entrance animation. After the entrance animation is completed, the exit animation will then be executed.

[0157] For example, when a phone switches from portrait to landscape mode, if the user rotates the phone again to change the screen orientation before the portrait mode is in progress and the landscape mode has not yet started, the phone will continue with the exit animation, followed by the entrance animation, and then the exit animation again.

[0158] In some possible situations, if the vehicle's speed is too high, for example, if the vehicle's forward straight-line speed exceeds a first speed threshold, the electronic device can move multiple rows of small dots up or down to simulate the vehicle's rapid movement, thereby achieving a motion sickness relief display. Figure 13 will be used as an example to illustrate this in detail below.

[0159] As shown in Figure 13, after the electronic device detects that the vehicle's backward speed exceeds a first speed threshold, it displays three columns of small dots on each of its left and right sides, for a total of six columns. The three columns of small dots displayed on the left side of the electronic device are designated as the first, second, and third columns. The column closest to the edge of the electronic device is the first column, the middle column is the second column, and the innermost column is the third column. The three columns of small dots are staggered, as shown in Figure 13. The size of each small dot in the three columns can be the same or different; this embodiment does not impose such a limitation.

[0160] For example, the three columns of small dots have different sizes. In the first column, all the dots are the same size, which is the fourth size. In the second column, all the dots are the same size, which is the fifth size. In the third column, all the dots are the same size, which is the sixth size. The fourth size is larger than the fifth size, and the fifth size is larger than the sixth size.

[0161] As the vehicle moves backward, all three columns of small dots move upward until they reach the top edge of the electronic device. For example, as shown in Figure 13, at time T5, the topmost dot B in the first column is at position four, the topmost dot C in the second column is at position five, and the topmost dot D in the third column is at position six. As the vehicle continues to move rapidly backward until time T6, dot B moves upward to position seven, dot C moves upward to position eight, and dot D moves upward to position nine. Position seven is above position four, position eight is above position five, and position nine is above position six. As the vehicle continues to move rapidly to time T7, dot B continues to move upward to position ten, dot C moves upward to position eleven, and dot D moves upward to position twelfth. Position ten is above position seven, position eleven is above position eight, and position twelfth is above position nine.

[0162] After the small dot moves to the top edge of the electronic device, it gradually disappears along the top edge, as shown in Figure 13. New small dots then appear at corresponding positions on the bottom edge of the electronic device, as shown in Figure 13: dots B', C', and D'. It should be noted that the number of small dots in the second column is one less than the number in the first and third columns. As the small dots in the second column move upwards, at time T6, the fourth small dot in the second column, namely dot C', appears at the bottom edge of the display. The movement trajectories of the other small dots on the display are similar to those of dots B, C, and D, and will not be described in detail here.

[0163] If the vehicle is displayed moving forward rapidly in a straight line and the speed exceeds the second speed threshold, the dynamic effect displayed on the electronic device can be the opposite of the dynamic effect shown in Figure 13, that is, the dynamic effect of multiple rows of small dots on the left and right sides moving downwards, which will not be elaborated here. The first speed threshold and the second speed threshold can be the same or different, and this embodiment does not impose any restrictions on this.

[0164] The following explains the dynamic effect of the small dots expanding outwards as the vehicle moves in a straight line.

[0165] As shown in Figure 14, when a user is carrying a mobile phone in a car, and the vehicle is moving forward in a straight line, the electronic device determines that the vehicle is moving forward in a straight line based on its positioning module. Small dots expanding outwards are then displayed on the left and right sides of the electronic device's screen. Let's take the top left dot (e.g., dot E) as an example. At time T8, as shown in Figure 14, dot E is at position thirteen. The vehicle continues moving forward in a straight line until time T9, at which point dot E adaptively moves to the fourteenth position to the left. It can be understood that since dot E is displayed on the left side of the electronic device's screen, its leftward movement is equivalent to it moving outwards from the screen. Optionally, during this outward movement, the size of dot E also increases; that is, at time T9, the size of dot E is greater than at time T8. The vehicle continues moving forward in a straight line until time T10, at which point dot E adaptively moves to the fourteenth position to the left, and its size continues to increase. In other words, the size of small dot E at time T10 is larger than that at time T9, and the fourteenth position is closer to the left edge of the display screen than the thirteenth and twelfth positions. In some possible cases, at time T10, part of small dot E has moved out of the electronic device's display screen. In this case, a row of small dots appears at the fifteenth position of the electronic device, which is close to the twelfth position, as shown in Figure 14. This is equivalent to creating a dynamic effect of small dots continuously spreading outward from the inside of the display screen. The movement trajectory of other small dots on the display screen is similar to that of small dot E, and will not be described in detail here.

[0166] If the vehicle moves backward in a straight line, the dynamic effect displayed on the electronic device can be the opposite of the dynamic effect shown in Figure 14, that is, the small dots on the left and right sides shrink inward. This will not be elaborated here.

[0167] It is understandable that some electronic devices have cameras on their displays, which occupy a portion of the screen. Users may rotate the screen while using their phones. For example, in portrait mode, a user rotates the phone to switch from portrait to landscape mode. For instance, consider the camera 120 shown in Figure 15. When the electronic device is in landscape mode, the camera 120 occupies the area for displaying small dots on the left side of the screen. If the electronic device maintains the same display as in portrait mode, showing a row of small dots, the camera may occupy part of the display area, resulting in incomplete dot display and preventing the displayed dots from simulating the movement of a vehicle.

[0168] Because the display area of ​​a landscape display on an electronic device is usually much wider than that of a portrait display, to improve the user experience, the number of columns of small dots displayed on both sides of the screen in a landscape display can be greater than the number of columns in a portrait display. For example, if there is one column of small dots on one side of a landscape display, then the number of columns on one side of a portrait display can be increased by one, making it two columns, as shown in Figure 15. Similarly, if there are two columns of small dots on one side of a landscape display, then the number of columns on one side of a portrait display can be increased by one, making it three columns. This avoids situations where part of the display area for small dots is occupied by a camera, preventing the simulation of vehicle movement. Since the display height of a landscape display is usually much smaller than that of a portrait display, the number of small dots displayed in each column on a landscape screen can also be less than the number of small dots displayed in each column on a portrait screen. For example, in portrait mode, one side of the screen displays a column of small dots, and the number of small dots in the column is 4; in landscape mode, one side of the screen displays two columns of small dots, one column of small dots has 2 dots and the other column of small dots has 3 dots, both of which are less than the number of small dots (4) displayed in the column of small dots on one side of the screen in portrait mode.

[0169] It should be noted that, unlike the dynamic effect shown in Figure 12, the dynamic effect shown in Figure 15 refers to a gradual diffusion from the inside of the electronic device outwards. Therefore, the size of the small dots on the inside is usually smaller than the size of the small dots on the outside, as shown in Figure 15.

[0170] Optionally, the size of the small dot gradually increases as it moves from the inside to the outside. For example, as the small dot moves from the inside to the outside, its size increases from 0dp to 18dp, and when it moves to the exit edge, such as line A1 in Figure 22, the size of the small dot is 16dp.

[0171] Optionally, the size of the small dot gradually decreases as it moves from the outside to the inside. For example, as the small dot moves from the outside to the inside, its size decreases from 18dp to 0dp, and when it moves to the exit edge, such as line B1 in Figure 22, the size of the small dot is 16dp.

[0172] The following describes the dynamic effects displayed on electronic devices when a user is traveling in a car with their mobile phone, as the vehicle turns.

[0173] If the user has enabled the motion sickness relief display function, when the user is carrying a mobile phone in a car and the vehicle turns left, the electronic device determines the speed of movement along the X-axis, Y-axis, and Z-axis based on the accelerometer in the electronic device, and determines the angular velocity of pitch, yaw, and roll based on the gyroscope sensor. Based on the speed of movement along the X-axis and the angular velocity of roll, it is determined that the vehicle is turning left. Then, small dots moving to the right side of the electronic device's display screen are displayed on the left and right sides of the screen respectively.

[0174] Let's take the small dot F at the top right as an example. At time T11, as shown in Figure 16, dot F is at position sixteen on the display screen. As the vehicle continues to turn left until time T12, dot F adaptively moves to the right to position seventeen. Since dot F is the top right dot on the display screen, moving it to the right is equivalent to moving it outwards from the display screen; that is, position seventeen is to the right of position sixteen. As the vehicle continues to turn left until time T13, dot F continues to move to the right and reaches the outer edge of the display screen, as shown in Figure 15.

[0175] Optionally, as the distance between the small dot F and the right edge of the display screen gets closer and closer, the transparency of the small dot F increases until the small dot F reaches the right edge of the display screen, at which point the transparency of the small dot F is 100%, that is, the small dot F gradually disappears at the right edge of the display screen.

[0176] Optionally, when the small dot F first appears, i.e., at time T11, the transparency of the small dot F is at its maximum, for example, 100%. As the small dot F moves to the right, its transparency decreases until it reaches 0. For example, when the small dot F moves to the seventeenth position, its transparency decreases to 0.

[0177] The movement trajectories of the other small dots on the display screen are similar to those of small dot F, and will not be described in detail here.

[0178] When the vehicle turns right, the dynamic effect displayed on the electronic device can be the opposite of the dynamic effect shown in Figure 16, that is, the small dots on the left and right sides move to the left. This will not be elaborated further here.

[0179] It should be noted that vehicle turning is usually accompanied by straight-line movement. Therefore, the dynamic effect shown in Figure 16 is usually displayed in combination with the dynamic effects shown in Figure 10, Figure 13 or Figure 14.

[0180] In some possible situations, if the vehicle is traveling too fast when turning, for example, if the speed of the vehicle turning right exceeds the third speed threshold, the electronic device can move multiple rows of small dots to the left to simulate the vehicle's rapid right turn, in order to achieve a motion sickness relief display.

[0181] For example, as shown in Figure 17, a column of small dots moving to the left is displayed on the left side of the screen, and three columns of small dots moving to the left are displayed on the right side of the screen. At time T14, when the small dots begin to appear, the transparency of the leftmost column of small dots is at its maximum, for example, 100%, and the transparency of the rightmost column of small dots is also at its maximum, for example, 100%. As the four columns of small dots move to the left, the transparency of the leftmost column and the rightmost column decreases. For example, at time T15, the transparency of the leftmost column and the rightmost column decreases to 0, which is equivalent to the small dots appearing completely on the screen. Continuing to move to the left, the transparency of the leftmost column gradually increases, exhibiting a gradually disappearing dynamic effect, as shown at time T16 in Figure 17. Simultaneously, the leftmost column of the three columns of small dots on the right, i.e., column 16 in Figure 17, also gradually increases in transparency, exhibiting a gradually disappearing dynamic effect.

[0182] It should be noted that vehicle turning is usually accompanied by straight-line movement. Therefore, the dynamic effect shown in Figure 17 is usually displayed in combination with the dynamic effects shown in Figure 10, Figure 13 or Figure 14.

[0183] The following describes the dynamic effects displayed on electronic devices when a user is traveling in a car with their mobile phone, as the vehicle moves up and down.

[0184] If the user has enabled the motion sickness relief display function, when the user is carrying a mobile phone in a car, and the vehicle is bumping up and down, the electronic device uses the accelerometer in the electronic device to determine the motion speed along the X-axis, Y-axis, and Z-axis, and uses the gyroscope sensor to determine the angular velocity of the pitch, yaw, and roll angles. Then, based on the motion speed along the Z-axis and the angular velocity of the pitch angle, it determines that the vehicle is bumping up and down. At this time, a row of small dots is displayed on the left and right sides of the electronic device's display screen, and the size of the small dots changes with the up and down movement of the vehicle.

[0185] If the vehicle moves up and down, the electronic device can display a dynamic effect showing the size of the small dot changing with the up-and-down movement of the vehicle, or it can display a dynamic effect showing the position of the small dot moving up and down with the up-and-down movement of the vehicle. This application embodiment does not limit this. The two dynamic effects are described below.

[0186] The following image shows a dynamic effect where the size of the small dots changes as the vehicle bounces up and down.

[0187] Let's take the small dot G at the top left as an example. As shown in Figure 18, at time T17, the vehicle is at position Z0, and the size of dot G is the seventh dimension. At time T18, the vehicle bumps downwards to position Z1, where Z1 is lower than Z0. The size of dot G increases as the vehicle bumps downwards, for example, increasing to the eighth dimension, which is greater than the seventh dimension. At time T19, the vehicle bumps upwards to position Z2, and the size of dot G decreases as the vehicle bumps upwards, for example, decreasing to the ninth dimension. Since position Z2 is higher than position Z1 and lower than position Z0, the ninth dimension is greater than the seventh dimension and less than the eighth dimension.

[0188] The movement trajectories of the other small dots on the display screen are similar to those of small dot G, and will not be described in detail here.

[0189] It should be noted that the up-and-down movement of a vehicle is usually accompanied by its straight-line movement. Therefore, the dynamic effect shown in Figure 19 is usually displayed in combination with the dynamic effects shown in Figure 10, Figure 13, or Figure 14.

[0190] The following is a dynamic effect showing the position of the small dot moving up and down as the vehicle bounces.

[0191] It is understandable that in the dynamic effect of the small dots moving up and down with the vehicle's bumps, the small dots on one side of the display screen can be in one column or multiple columns; this embodiment does not limit this. Taking two columns of small dots displayed on one side of the display screen as an example, if two columns of small dots are displayed on one side of the display screen, the sizes of the two columns of small dots can be the same or different; this embodiment does not limit this. The size of the outer small dots can be larger than the size of the inner small dots, or the size of the outer small dots can be smaller than the size of the inner small dots. For example, the size of the outer small dots is larger than the size of the inner small dots, as shown in Figure 19.

[0192] Let's take the small dot H at the top left as an example. As shown in Figure 19, at time T20, the vehicle is at position Z3, and dot H is at position eighteen. At time T21, the vehicle bumps downwards to position Z4, where Z4 is lower than Z3. The position of dot H moves upwards as the vehicle bumps downwards; for example, dot G moves upwards to position nineteen, which is higher than position eighteen. At time T22, the vehicle bumps upwards to position Z5, and dot H moves downwards as the vehicle bumps upwards; for example, dot G moves upwards to position twentieth. Since position Z5 is lower than position Z3 and higher than position Z4, position twentieth is higher than position eighteen and lower than position nineteen.

[0193] The movement trajectories of the other small dots on the display screen are similar to those of small dot H, and will not be described in detail here.

[0194] It should be noted that the up-and-down movement of a vehicle is usually accompanied by its straight-line movement. Therefore, the dynamic effect shown in Figure 19 is usually displayed in combination with the dynamic effects shown in Figure 10, Figure 13, or Figure 14.

[0195] The following describes the dynamic effects displayed on electronic devices when a user is traveling in a car with their mobile phone, as the vehicle moves from side to side.

[0196] In this context, lateral vehicle swaying can refer to the vehicle swaying in a direction perpendicular to its direction of travel. For example, as shown in Figure 4, the angular velocity of the yaw angle can indicate whether the vehicle is swaying laterally. Therefore, electronic devices can determine whether the vehicle is swaying laterally based on the angular velocity of the yaw angle.

[0197] If the user enables the motion sickness relief display function, when the user is carrying a mobile phone in a car, and the vehicle is bumping from side to side, the electronic device determines the left and right bumps based on the angular velocity of the yaw angle obtained by the gyroscope sensor in the electronic device. The electronic device can then display the dynamic effect shown in Figure 20.

[0198] For example, as shown in Figure 20, the electronic device display shows two columns of small dots, one on the left and one on the right. These two columns of dots move up or down as the vehicle sways from side to side. In some cases, multiple columns of small dots can also be displayed on the screen. For example, two columns of small dots can be displayed on the left side of the screen, and two columns of small dots can also be displayed on the right side of the screen. When two columns of small dots are displayed on the left side of the screen, the sizes of these two columns of small dots can be the same or different, and this embodiment does not limit this. All the small dots on the left side move in the same direction, and all the small dots on the right side move in the same direction, but in the opposite direction to the movement of the small dots on the left side.

[0199] Let's take the example of a display showing a column of small dots on each side of the screen, with the top left dot I1 and the top right dot I2 as examples. As shown in Figure 20, at time T23, the vehicle is at position Y0, dot I1 is at position 21, and dot I2 is at position 22. At time T24, the vehicle bumps to the right to position Y1. It should be noted that the left-right bumping of the vehicle usually causes one side of the vehicle to rise and the other side to fall. Compared to position Y0, the left side of the vehicle is lower and the right side is higher at position Y1. The position of dot I1 moves upward as the vehicle bumps to the right, and the position of dot I1 moves downward as the vehicle bumps to the right. For example, the position of dot I1 moves upward to position 23 as the vehicle bumps to the right, and the position of dot I1 moves downward to position 24 as the vehicle bumps to the right. Position 23 is higher than position 21, and position 24 is lower than position 22. At time T24, the vehicle continues to bounce to the right to position Y2. Compared to position Y0, the left side of the vehicle continues to lower, while the right side continues to rise. The position of the small dot I1 continues to move upwards and downwards as the vehicle bounces to the right. For example, the position of small dot I1 moves upwards to position twenty-fifth and downwards to position twenty-sixth. Position twenty-fifth is higher than positions twenty-third and twenty-first, while position twenty-sixth is lower than positions twenty-second and twenty-fourth.

[0200] The movement trajectory of the small dot on the left side of the display screen is similar to that of small dot I1, and the movement trajectory of the small dot on the right side of the display screen is similar to that of small dot I2. These will not be described in detail here.

[0201] It should be noted that the left and right swaying of the vehicle is usually accompanied by the straight-line movement of the vehicle. Therefore, the dynamic effect shown in Figure 20 is usually displayed in combination with the dynamic effects shown in Figure 10, Figure 13 or Figure 14.

[0202] The above describes the specific dynamic effects displayed on the electronic device when simulating vehicle motion to achieve a motion sickness relief display function. The following explains the movement pattern of the small dots during the process of achieving the above dynamic effects.

[0203] Small dots can appear as an array of small dots, as shown in Figure 21. This array includes multiple grids, where the width of each grid is represented by a column, and the distance between two adjacent grids is represented by a gutter. The column spacing between two columns of small dots can be the distance between the straight line containing the centers of all small dots in one grid and the straight line containing the centers of small dots in an adjacent grid. For example, the column spacing between grids 01 and 02 can be the distance d1 between line A and line B as shown in Figure 21. The distance d2 between two adjacent small dots in the same column can be the distance between the centers of two adjacent small dots in the same column, and this distance d2 can be determined based on a preset distance threshold.

[0204] After the small dot matrix is ​​moved onto the display screen, it is displayed within the small dot display area of ​​the display screen, as shown in Figure 21.

[0205] It is understandable that the display range of small dots on the screen will vary depending on the number of columns displayed on one side of the screen.

[0206] If a column of small dots is displayed on one side of the screen, for example, when an electronic device is displayed in portrait mode, the display area 1 for displaying a column of small dots on one side of the screen can be as shown in Figure 22. The left edge of display area 1 is line A1, the right edge is line B1, the top edge is line C1, and the bottom edge is line D1. Line A1 can be the edge of the screen; for example, if a column of small dots is displayed on the left side of the screen, the left edge of display area 1 (line A1) can refer to the left edge of the screen, line C1 can refer to the top edge, and line D1 can refer to the bottom edge. Line B1 can be determined based on the grid width (colume) shown in Figure 21, thus ensuring that only one column of small dots is displayed within display area 1. For example, as shown in Figure 22, the distance from the center of the small dot to line A1 is n, which is the edge margin shown in Figure 21, equivalent to n = 1 * margin; the distance between the center of the small dot and line B1 is m; the maximum display width of the small dot is the grid width (colume), therefore m = 1 * colon - 1 * margin. From this, we can determine the distance between line B1 and the left edge of the display screen, that is, the distance between line B1 and the left edge of the display screen is n + m.

[0207] If two columns of small dots are displayed on one side of the screen, for example, when the electronic device is displayed in landscape mode, the display area 2 for displaying two columns of small dots on one side of the screen can be as shown in Figure 23. The left edge of display area 2 is line A2, the right edge is line B2, the top edge is line C2, and the bottom edge is line D2. Line A2 can be the edge of the screen. For example, for two columns of small dots displayed on the left side of the screen, the left edge line A2 of display area 2 can refer to the left edge of the screen, line C2 can refer to the top edge of the screen, and line D2 can refer to the bottom edge of the screen. Line B2 can be determined based on the grid width column shown in Figure 21, thus ensuring that two columns of small dots can be displayed simultaneously within display area 2. For example, as shown in Figure 23, the distance from the center of the leftmost small circle in the two columns of small circles to line A2 is n, denoted by the edge margin, which is equivalent to n = 1 * margin; the distance from the center of the rightmost small circle in the two columns of small circles to line B2 is m; the maximum display width of the small circles is the grid width (colume), therefore m = 1 * colon - 1 * margin. The column spacing between two adjacent columns of small circles is n + m, therefore, the distance between line B2 and the left edge of the display screen can be determined to be 2 * n + 2 * m.

[0208] Optionally, the grid width (colume) is fixed. Different types of electronic devices have different screen widths, therefore the maximum number of grids displayed varies across different types of electronic devices. For example, a mobile phone in portrait mode can display a maximum of 4 grids; tablets and other electronic devices can display a maximum of 8 grids; and larger electronic devices such as televisions can display even more grids, such as 12 grids. The display range of the small dots can be determined based on the maximum number of grids that the electronic device can display.

[0209] For example, taking Figure 22 as an example, when the maximum number of grids is less than or equal to 4, the distance between B1 and the left edge of the display screen in display area 1 shown in Figure 22 is n+m, which can display one column of small dots; when the maximum number of grids is greater than 4 and less than or equal to 8, the distance between B1 and the left edge of the display screen in display area 2 shown in Figure 23 is 2*n+2*m, which can display two columns of small dots; when the maximum number of grids is greater than 8 and less than or equal to 12, the distance between the right edge of the display area and the left edge of the display screen is 3*n+3*m, which can display three columns of small dots.

[0210] When the small dot moves out of the display area, the exit animation effect shown in Figure 11 can be executed. The edge of the display area when the small dot moves out of the display area can be called the exit edge. The small dot can start executing the exit animation effect when the distance between the exit edges is equal to the preset edge threshold.

[0211] For example, as shown in Figure 22, the small dot moves from left to right, and the exit edge is line B1. When the distance between the small dot and line B1 is a preset edge threshold, the exit animation shown in Figure 11 begins. The preset edge threshold can be 5dp.

[0212] Because vehicle motion information is often complex, it may be displayed in combination with different dynamic effects. For example, a small dot at the top left may move both upwards and to the left simultaneously, and this dot may have two exit edges, line A1 and line C1. In this case, the distance between the small dot and line A1 might be 5dp, and simultaneously, the distance between the small dot and line C1 might also be 5dp. In this scenario, the small dot can be scaled towards the intersection of lines A1 and C1.

[0213] The following sections explain the conversion rules for the small dots corresponding to acceleration along the X-axis, acceleration along the Y-axis, acceleration along the Z-axis, angular velocity of pitch, angular velocity of yaw, and angular velocity of roll.

[0214] 1. The conversion rule of the small circle is determined based on the acceleration in the X-axis direction.

[0215] The direction of movement of the small dot, determined by the acceleration along the X-axis, can refer to the left and right movement of the small dot on the display screen.

[0216] When only one column of small dots is displayed on one side of the screen, the direction of movement of the small dots is opposite to the acceleration in the X-axis direction. The trigger positions for the entrance and exit animations of the small dots are on the corresponding exit edge lines. For example, as shown in Figure 22, when the small dots enter the display range 1 from left to right, the entrance animation starts when the small dots move to line A1, and the exit animation starts when the small dots move to line B1. Here, "the small dots move to line A1" can mean that the distance between the small dots and line A1 is a preset edge line threshold. "The small dots move to line B1" can also mean that the distance between the small dots and line B1 is a preset edge line threshold.

[0217] When the vehicle's speed exceeds a first speed threshold, the single-column display of small dots will switch to a multi-column display. As the vehicle's speed increases, the movement speed of the small dots also increases; that is, the movement speed of single-column displays is usually slower than that of multi-column displays. In this case, the exit animation may be slow, and the exit animation may not be complete when the small dots reach the exit line. In this situation, the movement speed of the small dots can be adjusted according to the exit animation speed so that the exit animation is completed when the small dots reach the exit line. Conversely, if the movement speed of the small dots is too fast, and the entrance animation has not finished when the small dots reach the exit line, the exit animation will continue after the entrance animation is completed.

[0218] When multiple columns of small dots are displayed on one side of the screen, the number of columns displayed will not exceed a preset column number threshold. For example, the preset column number threshold could be 5.

[0219] When the vehicle's direction of movement changes, if the electronic device displays a dynamic effect of a row of small dots (e.g., the I-th row of small dots) moving left and right, then based on the change in the vehicle's direction of movement, the electronic device will display a dynamic effect of the I-th row of small dots moving up and down. Small dots within a preset range in the array corresponding to the I-th row of small dots maintain their original direction of movement. For example, small dots within 12dp outside the I-th row of small dots continue to move left and right, and execute an exit animation while changing their direction of movement. Small dots outside 12dp outside the I-th row begin to execute a dynamic effect of moving up and down.

[0220] In some cases, the movement of multiple columns of small dots on the display screen changes from left to right to up to down. In this situation, the small dots that have already triggered the exit animation continue to execute the exit animation while changing their movement direction, and are no longer displayed within the display area. Since the small dots on one side have already executed the exit animation, while the small dots on the other side have not, it is possible for one side of the display screen to show a single column of small dots, while the other side shows multiple columns of small dots. For example, as shown in Figure 24, the two columns of small dots on the right side have executed the exit animation, while the small dots on the left side still maintain three columns.

[0221] If the number of columns of small dots on one side of the display screen is greater than or equal to the first column number threshold, for example, the first column number threshold is 3, then the minimum diameter of each column of small dots is limited when the exit animation is executed.

[0222] For example, when there are 3 columns of small dots on one side of the display screen, the minimum diameter of the outermost small dots when performing the exit animation is limited to 8dp; the minimum diameter of the middle column of small dots when performing the exit animation is limited to 10dp.

[0223] For example, if there are 5 columns of small dots on one side of the display screen, and the columns are arranged from the outside to the inside, they are the first column, the second column, the third column, the fourth column, and the fifth column. When the first and second columns of small dots perform the exit animation, the minimum diameter of these two columns is limited. For example, the minimum diameter of the first column of small dots when performing the exit animation is limited to 8dp; and the minimum diameter of the second column of small dots when performing the exit animation is limited to 10dp.

[0224] 2. The conversion rules for small dots are determined based on the acceleration in the Y-axis direction.

[0225] The direction of movement of the small dot, determined by acceleration along the Y-axis, can refer to the dot moving up and down on the display screen. The direction of movement of the small dot, determined by acceleration along the Y-axis, is opposite to the direction of the Y-axis acceleration. The trigger edges for the small dot's entry and exit are the top or bottom edge of the display screen.

[0226] For example, if the acceleration in the Y-axis direction indicates that the vehicle is moving forward, then the small dot moves downward; if the acceleration in the Y-axis direction indicates that the vehicle is moving backward, then the small dot moves upward. When the small dot moves upward, the trigger edge for the small dot's entrance animation is the lower edge of the display screen, for example, line D1 shown in Figure 22; the trigger edge for the small dot's exit animation is the upper edge of the display screen, for example, line C1 shown in Figure 22.

[0227] If the vehicle's velocity, determined based on acceleration along the Y-axis, exceeds a first velocity threshold, multiple columns of small dots can be displayed on one side of the electronic device's screen. The size of these small dots decreases as their distance from the screen edge increases. For example, in display area 3 as shown in Figure 25, three columns of small dots are displayed. The dots closest to line A3 have the largest diameter, while the middle column has a diameter smaller than that of the dots closest to line A3 but larger than that of the dots closest to line B3. For instance, the diameter of the dots closest to line A3 is 10 dp, the middle column has a diameter of 8 dp, and the dot closest to line B3 has a diameter of 6 dp.

[0228] When the display changes from showing one column of small dots on one side of the screen to showing multiple columns of small dots, the maximum diameter of the small dots in the added columns is less than a preset diameter threshold.

[0229] When multiple columns of small dots on one side of the screen are converted to a single column of small dots, the small dots that have exited the display area of ​​the screen can continue to perform exit animations outside the screen, and these small dots will not be displayed on the screen.

[0230] 3. The conversion rules for small dots are determined based on the acceleration in the Z-axis direction.

[0231] The vehicle's vertical swaying can be determined based on the acceleration along the Z-axis, and the corresponding dynamic effect of the small dot refers to the scaling of the small dot's size. For example, as shown in Figure 18, the acceleration along the Z-axis is in the opposite direction to the scaling of the small dot's size.

[0232] For example, if the vehicle is determined to be bumping upwards based on the acceleration in the Z-axis direction, the size of the small dot will decrease; if the vehicle is determined to be bumping downwards based on the acceleration in the Z-axis direction, the size of the small dot will increase.

[0233] The scaling range of the small dot can be shown in Figure 26. This scaling range can be determined based on the initial size of the small dot. Taking an initial radius of A as an example, the scaling range of the small dot can be a circular area with a radius of 2*A centered at the center of the small dot, as shown in Figure 26. The maximum increase in the size of the small dot can be a radius of A*1.8, and the minimum decrease in the size of the small dot can be a radius of A / 1.8.

[0234] 4. The conversion rule of the small circle is determined based on the angular velocity of the pitch angle.

[0235] The angular velocity of the pitch angle determines whether the vehicle tilts forward or backward. The corresponding dynamic effect of the small dot can be seen in its vertical movement, as shown in Figure 19. The angular velocity of the pitch angle is opposite to the direction of the small dot's movement.

[0236] For example, if the angular velocity of the pitch angle is a positive velocity, the small dot moves downwards; if the angular velocity of the pitch angle is a negative velocity, the small dot moves upwards.

[0237] Each up-and-down movement of the small dot is based on the angular velocity of the pitch angle and is performed by the continuous rotation angle of the angular velocity of the pitch angle. If the pitch angle stops rotating, the up-and-down movement of the small dot stops.

[0238] Based on the angular velocity of the pitch angle, the small dot does not move up or down when the pitch angle rotation angle is less than a first preset angle threshold. The small dot only moves up or down when the pitch angle rotation angle is greater than or equal to the first preset angle threshold. For example, when the pitch angle rotation angle is less than 30°, the small dot does not move up or down; when the pitch angle rotation angle is greater than or equal to 30°, the small dot moves 1dp for every 1° rotation.

[0239] 5. The conversion rule of the small circle is determined based on the angular velocity of the yaw angle.

[0240] The angular velocity based on the yaw angle can determine the left and right sway of the vehicle. The corresponding dynamic effect of the small dots can be that the small dots on one side move upward and the small dots on the other side move downward, and the small dots on both sides move the same distance, as shown in Figure 20.

[0241] Optionally, if the yaw angle turns to the left, the small dot on the left side of the display moves down and the small dot on the right side of the display moves up; if the yaw angle turns to the right, the small dot on the right side of the display moves down and the small dot on the left side of the display moves up.

[0242] For example, as shown in Figure 27, the small circle on the left moves upward by a distance of d271; the small circle on the right moves downward by a distance of d272; d271 = d272.

[0243] Optionally, turning the yaw angle to the right is considered turning the yaw angle in the positive direction.

[0244] Selectable, the small dot moves 4dp for every 1° rotation of the yaw angle.

[0245] 6. The conversion rules for the small dots are determined based on the angular velocity of the roll angle.

[0246] The angular velocity of the roll angle can determine whether the vehicle is tilted forward or backward. The corresponding dynamic effect of the small dot can be seen in the left-right movement of the small dot, as shown in Figure 16. The angular velocity of the roll angle is opposite to the direction of the small dot's movement.

[0247] For example, if the angular velocity of the roll angle is to the left, the small dot moves to the right; if the angular velocity of the roll angle is to the right, the small dot moves to the left.

[0248] Each up-and-down movement of the small dot is based on the angular velocity of the pitch angle and is performed by the continuous rotation angle of the angular velocity of the pitch angle. If the pitch angle stops rotating, the up-and-down movement of the small dot stops.

[0249] Based on the angular velocity of the roll angle, the small dot does not move left or right when the roll angle is less than a second preset angle threshold. The small dot only moves left or right when the roll angle is greater than or equal to the second preset angle threshold. For example, when the roll angle is less than 30°, the small dot does not move left or right; when the roll angle is greater than or equal to 30°, the small dot moves 1dp for every 1° of rotation.

[0250] The above explanation uses a small dot as an example of an icon displayed on the screen. It is understood that other shapes of icons can also be displayed on the screen. For example, the icons displayed on the screen can be small squares, hearts, four-leaf clovers, small flowers, balloons, suns, stars, moons, clouds, wind, etc., as shown in Figure 28. This application embodiment does not limit this.

[0251] In some cases, other icons can also be displayed on the screen to simulate the movement of a vehicle, thereby achieving a motion sickness relief function.

[0252] In one possible scenario, as shown in Figure 29, preset active areas can be displayed on the left and right sides of the electronic device, as shown in Figure 29 as areas 291 and 292. The colors of areas 291 and 292 can be different from the background color of the display screen. Optionally, a simulated track line segment 293 can also be displayed on area 291, and a simulated track line segment 294 can also be displayed on area 292. A slider 295 is displayed on line segment 293, and a slider 296 is also displayed on line segment 294. Slider 295 and slider 296 can move accordingly according to the movement state of the vehicle.

[0253] For example, if the electronic device detects that the vehicle is moving along the positive Y-axis, that is, the vehicle is moving forward in a straight line, sliders 295 and 296 slide downwards, as shown in Figure 30(a). If the electronic device detects that the vehicle is moving along the negative Y-axis, that is, the vehicle is moving backward in a straight line, sliders 295 and 296 slide upwards, as shown in Figure 30(b).

[0254] For example, if the electronic device detects that the vehicle is moving in the negative Z-axis direction, that is, the vehicle is bumping downwards, the dimensions of sliders 295 and 296 increase, as shown in Figure 31(a). If the electronic device detects that the vehicle is moving in the positive Z-axis direction, that is, the vehicle is bumping upwards, the dimensions of sliders 295 and 296 decrease, as shown in Figure 31(b).

[0255] For example, if the electronic device detects that the vehicle is moving along the positive X-axis, that is, the vehicle is turning left, then the left slider 295 moves down and the right slider 296 moves up, as shown in Figure 32(a). If the electronic device detects that the vehicle is moving along the negative X-axis, that is, the vehicle is turning right, then the left slider 295 moves up and the right slider 296 moves down, as shown in Figure 32(b).

[0256] In one possible scenario, as shown in Figure 33, a preset wave icon 331 can be displayed below the electronic device. The shape of the preset wave icon 331 can change with the movement state of the vehicle.

[0257] For example, if the electronic device detects that the vehicle is moving along the positive Y-axis, that is, the vehicle is moving forward in a straight line, then the upper part of the preset wave icon 331 is recessed, forming the wave icon 332 shown in Figure 34(a), simulating the state where the horizontal plane is subjected to forward inertia and a portion of it is tilted backward. If the electronic device detects that the vehicle is moving along the negative Y-axis, that is, the vehicle is moving backward in a straight line, then the upper part of the preset wave icon 331 is convex, forming the wave icon 333 shown in Figure 34(b), simulating the state where the horizontal plane is subjected to backward inertia and a portion of it is tilted forward.

[0258] For example, if the electronic device detects that the vehicle is moving along the positive X-axis, that is, the vehicle is turning left, then the preset wave icon 331 tilts to the left, forming the wave icon 334 shown in Figure 35(a), simulating the state of the horizontal plane tilting to the left due to gravity. If the electronic device detects that the vehicle is moving along the negative X-axis, that is, the vehicle is turning right, then the preset wave icon 331 tilts to the right, forming the wave icon 335 shown in Figure 35(b), simulating the state of the horizontal plane tilting to the right due to gravity.

[0259] For example, if the electronic device detects that the vehicle is moving along the negative Z-axis, that is, the vehicle is bumping downwards, then the preset wave icon 331 increases upwards, forming wave icon 336 as shown in Figure 36(a), simulating the state where the water level is maintained at a higher level due to inertia. If the electronic device detects that the vehicle is moving along the positive Z-axis, that is, the vehicle is bumping upwards, then the preset wave icon 331 decreases downwards, forming wave icon 337 as shown in Figure 36(b), simulating the state where the water level is maintained at a lower level due to inertia.

[0260] It is understandable that users can usually notice colors on the display screen that are significantly different from the background area, such as colors that are opposite to the background area. To improve the anti-motion sickness effect of the motion sickness relief function displayed on the display screen, the color of the icon used to implement the motion sickness relief function on the electronic device display screen can be a color opposite to the background area of ​​the display screen. The icon used to implement the motion sickness relief function can refer to the small dots shown in Figures 9 to 28, sliders 295 and 296 shown in Figures 29 to 32, and the preset wave icons 331 to 337 shown in Figures 33 to 36. This application embodiment does not limit this.

[0261] The electronic device can collect the color B of the background area, obtain the hue, saturation, and brightness of color B, and then process the hue, saturation, and brightness of color B according to preset rules to obtain the inverse color of color B, i.e., color F.

[0262] Electronic devices can use a color extractor to collect the color B of the background area. The color collected by the color extractor is usually in RGB format. Electronic devices can convert the RGB color B to HSB format to obtain the hue, saturation and lightness of color B.

[0263] After obtaining the color B in HSB format, the electronic device can convert color B into color F based on preset rules.

[0264] For example, after obtaining the color B of the background area, color B can be converted to color F based on a first rule. The first rule can be setting the hue of color F to a first hue value, the lightness to a first lightness value, and the saturation to a first saturation value determined based on the lightness of color B. The first hue value can be 220, and the first lightness value can be 100.

[0265] The first lightness value determined based on the lightness of color B can be seen in Figure 37. The lightness of a color is represented by line segment AC in Figure 37, where each point on line segment AC indicates the lightness value of the color, and the lightness value decreases linearly along line segment AC from A to C. For example, point A can indicate a lightness value of 100, and point C can indicate a lightness value of 0.

[0266] Points A and B in line segment AC form a line segment AB. Line segment AB indicates a range of lightness values ​​between A and B. Specifically, point A indicates a lightness value of 100, point B indicates a lightness value of 51, and line segment AB indicates a range of lightness values ​​between 51 and 100.

[0267] Points C and B in line segment AC form a line segment BC. Line segment BC indicates a brightness range between B and C. Point B indicates a brightness value of 50, and point C indicates a brightness value of 100. Since line segment AB indicates a brightness range of 51-100, if point B is placed within line segment BC, then line segment BC can indicate a brightness range excluding point B, which can be 0-50.

[0268] As shown in Figure 37, it also includes a line segment DF indicating color saturation. Along the direction from D to F in line segment DF, the color saturation value increases linearly. For example, point D can indicate a saturation value of 40, and point F can indicate a saturation value of 100.

[0269] In line segment DF, there is a point E. The saturation value indicated by point E is greater than the saturation value of point D and less than the saturation value of point F. For example, the saturation value indicated by point E can be 85.

[0270] If the brightness of color B falls within the brightness range indicated by line segment AB, then the saturation of color F can be set according to the first mapping relationship. The first mapping relationship indicates a positive mapping based on the brightness of color B to line segment EF, which indicates color saturation. For example, if the brightness of color B is point A in line segment AB, which is the point with the highest brightness and an indicated brightness value of 100, then the saturation of color F can be mapped to the point with the highest saturation in line segment EF, i.e., the saturation value indicated by point F is 100. If the brightness of color B is point B in line segment AB, which is the point with the lowest brightness and an indicated brightness value of 51, then the saturation of color F can be mapped to the point with the lowest saturation in line segment EF, i.e., the saturation value indicated by point E is 85.

[0271] If the brightness of color B falls within the brightness range indicated by line segment BC, then the saturation of color F can be set according to the second mapping relationship. The second mapping relationship indicates a positive mapping based on the brightness of color B to line segment DE, which indicates color saturation. For example, if the brightness of color B is point B in line segment AB, which is the point with the highest brightness (e.g., an indicated brightness value of 50), then the saturation of color F can be mapped to the point with the highest saturation in line segment EF, which is point E' (i.e., the point with a saturation less than that indicated by point E and adjacent to point E), indicating a saturation of 84. If the brightness of color B is point C in line segment AB, which is the point with the lowest brightness (e.g., an indicated brightness value of 0), then the saturation of color F can be mapped to the point with the highest saturation in line segment EF, which is point D, indicating a saturation value of 40.

[0272] Electronic devices can determine the inverse of color B, color F, based on example code 1.

[0273] Example code 1 includes: / / Perform inverse color calculation with H=220 and B=100 as an example. vec3 inverseCol(vec3 inCok){ float v=max(max{inCol.x.inCol.y),inCol.y); float y=0.0; float z=1.0-v; if(Z>0.5){ Y=0.4+(1-Z)*0.45 / 0.5;}else{ Y=0.85+(0.5-Z)*0.15 / 0.5;} return hsv2rgb(vec2(220.0 / 360.0,Y,1}}; ;

[0274] Where Y represents the saturation value of color F, and Z represents the brightness value of color B.

[0275] For example, the correspondence between color B and color F can be shown in Figure 38. Specifically, when the brightness of color B is 0, the saturation of its inverse color F is 40; when the brightness of color B is 50, the saturation of its inverse color F is 85; and when the brightness of color B is 100, the saturation of its inverse color F is 100.

[0276] In some cases where color B has a low brightness, the contrast of its inverse color F can be reduced to decrease the contrast of the inverse color against a light background, thereby reducing interference and improving the user experience.

[0277] For example, after obtaining the background color B, color B can be converted to color F based on the second rule. Similar to the first rule, the second rule can be to set the hue of color F to a second hue value, the lightness to a second lightness value, and the saturation to a second saturation value determined based on the lightness of color B. The second hue value can be 220, and the second lightness value can be 100.

[0278] The rule for determining the corresponding second lightness value based on the lightness of color H can be seen in Figure 39. The lightness of a color is represented by line segment GI in Figure 39, where each point on line segment GI indicates the lightness value of the color, and the lightness value increases linearly along line segment GI from G to I. For example, point G can indicate a lightness value of 100, and point I can indicate a lightness value of 0.

[0279] The line segment GI also includes point H. Points G and H form a line segment GH, which indicates a brightness range between G and H. Specifically, point G indicates a brightness value of 100, point H indicates a brightness value of 51, and line segment GH indicates a brightness value range of 51-100.

[0280] Points I and H in line segment GI form a line segment HI. Line segment HI indicates a brightness range between H and I. Point H indicates a brightness value of 51, and point I indicates a brightness value of 0. Since line segment GH indicates a brightness value range of 51-100, if point H is set in line segment GH, then line segment HI can indicate a brightness value range excluding point H, which can be 0-50.

[0281] As shown in Figure 39, it also includes a line segment JL indicating color saturation. Along the direction from J to L in line segment JL, the color saturation value increases linearly. For example, point J can indicate a saturation value of 40, and point L can indicate a saturation value of 100.

[0282] If the brightness of color B falls within the brightness range indicated by line segment GH, then the saturation setting of color F can be determined according to the first mapping relationship. The first mapping relationship indicates a reverse mapping based on the brightness of color H to the line segment KL indicating color saturation. For example, if the brightness of color B is point G in line segment GH, which is the point with the highest brightness and an indicated brightness value of 100, then the saturation of color F can be mapped to the point with the lowest saturation in line segment KL, which is the saturation value of 85 indicated by point K. If the brightness of color H is point H in line segment GH, which is the point with the lowest brightness and an indicated brightness value of 51, then the saturation of color L can be mapped to the point with the highest saturation in line segment KL, which is the saturation value of 100 indicated by point L.

[0283] If the brightness of color B falls within the brightness range indicated by line segment HI, the saturation setting of color F can be determined according to the second mapping relationship. The second mapping relationship indicates a positive mapping based on the brightness of color B to line segment JK, which indicates color saturation. For example, if the brightness of color B is point H in line segment GH, which is the point with the highest brightness (e.g., an indicated brightness value of 50), then the saturation of color F can be mapped to the point with the highest saturation in line segment JK, which is point K' (i.e., a point with a saturation less than that indicated by point K and adjacent to point K), indicating a saturation of 84. If the brightness of color B is point I in line segment GH, which is the point with the lowest brightness (e.g., an indicated brightness value of 0), then the saturation of color F can be mapped to the point with the lowest saturation in line segment JK, which is point J, indicating a saturation value of 40.

[0284] For example, the correspondence between color B and color F can be shown in Figure 40. Specifically, when the brightness of color B is 0, the saturation of its inverse color F is 40; when the brightness of color B is 50, the saturation of its inverse color F is 100; and when the brightness of color B is 100, the saturation of its inverse color F is 85.

[0285] In some possible cases, when inverting color B in a background area, the saturation of the inverted color F can be adjusted not only based on the brightness of color B, but also based on both the brightness and saturation of color B.

[0286] The mapping relationship between the lightness and saturation of color B and the saturation and lightness of color F can be seen in Figure 41. As shown in Figure 41, point M in the lightness diagram indicates the lightest color and point N indicates the darkest color; point O in the saturation diagram indicates the lightest color and point P indicates the darkest color.

[0287] When color B is the color indicated by point M, the corresponding inverse color F is the color indicated by point P. When color B is the color indicated by point N, the corresponding inverse color F is the color indicated by point O.

[0288] The electronic device can determine the inverse of color B, color F, based on example code 2.

[0289] Example code 2 includes:

[0290] In some possible cases, the color of the preset icon can also be a user-defined color, and this application embodiment does not limit this.

[0291] The display method provided in the embodiments of this application will be described in detail below with reference to Figure 42.

[0292] Figure 42 is a flowchart illustrating a display method provided in an embodiment of this application. This method is applied to an electronic device that moves with the movement of a vehicle. As shown in Figure 42, the method includes:

[0293] S101. Determine the motion state of the vehicle, which indicates the direction and / or speed of the vehicle's motion, including the horizontal and vertical directions.

[0294] The means of transportation can refer to vehicles, subways, ships, airplanes, etc., and this application does not limit this.

[0295] The horizontal direction can include the direction of travel of a vehicle, such as the direction of forward or backward movement, and the direction change when the vehicle turns. The vertical direction can refer to the direction perpendicular to the horizontal direction, such as the height change caused by a vehicle going uphill or downhill, or the up-and-down movement of a vehicle due to uneven road surfaces.

[0296] Optionally, the electronic device includes an accelerometer and a gyroscope. The electronic device determines the motion state of the vehicle based on the acceleration data collected by the accelerometer and the angular velocity data collected by the gyroscope.

[0297] For example, an electronic device can collect acceleration along the X-axis, Y-axis, and Z-axis using an accelerometer. As shown in Figure 4, the X, Y, and Z axes are mutually perpendicular. The Y-axis includes the vehicle's direction of travel, i.e., the direction in which the vehicle moves forward or backward. The X-axis is perpendicular to the Y-axis and parallel to the ground, i.e., the direction in which the vehicle turns along its direction of travel. The Z-axis is perpendicular to the Y-axis and parallel to the ground, i.e., the direction in which the vehicle moves up and down. Angular velocity data can include the angular velocity of the pitch angle, yaw angle, and roll angle, as shown in Figure 4.

[0298] For example, electronic devices can determine whether a vehicle is moving forward or backward in a straight line based on acceleration along the Y-axis collected by an accelerometer.

[0299] For example, electronic devices can determine whether a vehicle is turning left or right based on acceleration in the X-axis direction and angular velocity of the roll angle.

[0300] For example, electronic devices can determine the up-and-down movement of a vehicle based on the acceleration in the Z-axis direction and the angular velocity of the pitch angle.

[0301] For example, electronic devices can determine whether a vehicle is swaying from side to side based on the angular velocity of the yaw angle.

[0302] S102. Display the dynamic effects corresponding to the motion state in a preset area of ​​the electronic device's display interface.

[0303] The preset area can refer to area 802 shown in Figure 9, or to areas 291 and 292 shown in Figure 29, or to area 331 shown in Figure 33. This application embodiment does not limit this.

[0304] The dynamic effects corresponding to the motion state of a vehicle can refer to the dynamic effects shown in Figures 9, 13, 14, 16, 17, 18, 19, and 20.

[0305] The dynamic effect corresponding to the motion state of a vehicle can also refer to the dynamic effect shown in Figures 30 to 32.

[0306] The dynamic effect corresponding to the motion state of a vehicle can also refer to the dynamic effect shown in Figures 34 to 36.

[0307] For example, when the vehicle's motion status indicates that it is moving forward in a straight line, the electronic device can display the dynamic effects shown in Figures 10, 13, and 14. If the vehicle's speed is less than a first speed threshold, the dynamic effects shown in Figures 10 and 14 can be displayed; if the vehicle's speed is greater than or equal to the first speed threshold, the dynamic effect shown in Figure 13 can be displayed. The dynamic effects in Figures 10, 13, and 14 can simulate the vehicle's forward or backward straight-line movement.

[0308] For example, when the vehicle's motion status indicates that it should turn left or right, the electronic device can display the dynamic effect shown in Figure 16 or Figure 17. The dynamic effect shown in Figure 16 simulates a vehicle turning left, and the dynamic effect shown in Figure 17 simulates a vehicle turning right.

[0309] For example, when the vehicle's motion status indicates that the vehicle is bouncing up and down, the electronic device can display the dynamic effect shown in Figure 18 or Figure 19. The dynamic effect shown in Figures 18 and 19 can simulate the up-and-down bouncing of the vehicle.

[0310] For example, when the vehicle's motion status indicates that the vehicle is swaying from side to side, the electronic device can display the dynamic effect shown in Figure 20. The dynamic effect shown in Figure 20 can simulate the swaying of the vehicle from side to side.

[0311] Displaying dynamic effects corresponding to the vehicle's movement status can refer to showing preset icons that correspond to the vehicle's movement status in a preset area. The color of these preset icons can be determined by inverting the color of the background area of ​​the display interface.

[0312] If the color of the preset icon can be determined by inverting the color of the background area of ​​the display interface, the contrast between the preset icon and the background area will be high, which can enhance the user's recognition of the preset icon and further reduce the risk of motion sickness.

[0313] Optionally, the preset icon may refer to the small dot shown in Figures 9, 13, 14, 16, 17, 18, 19, and 20, or it may refer to the small square, heart, four-leaf clover, small flower, balloon, sun, star, moon, cloud, wind, etc. shown in Figure 28. This application embodiment does not limit this.

[0314] The display method provided in this application embodiment is applied to an electronic device that moves along with a vehicle. The method includes: determining the motion state of the vehicle, the motion state indicating the direction and / or speed of the vehicle's movement, the direction of movement including horizontal and vertical directions; and then displaying dynamic effects corresponding to the motion state in a preset area of ​​the electronic device's display interface. By displaying dynamic effects corresponding to the motion state of the vehicle in a preset area of ​​the electronic device's display interface, the motion state of the vehicle is simulated, so that the motion information seen by the user's eyes can match the motion information perceived by other organs of the body, thereby reducing the risk of motion sickness caused by the difference between the motion information seen by the eyes and the motion information perceived by other organs of the body.

[0315] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0316] It is understood that, in order to achieve the above functions, the electronic device includes hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0317] This application embodiment can divide an electronic device into functional modules based on the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one module. It should be noted that the module division in this application embodiment is illustrative and represents only one logical functional division; other division methods may be used in actual implementation. It should also be noted that the module names in this application embodiment are illustrative, and the names of the modules are not limited in actual implementation.

[0318] Figure 43 is a schematic diagram of a display device provided in an embodiment of this application.

[0319] It should be understood that the display device 600 can perform the display method shown in FIG42; the display device 600 includes: an acquisition unit 610 and a processing unit 620.

[0320] The processing unit 620 is used to determine the motion state of the vehicle, which indicates the direction and / or speed of the vehicle's motion. The direction of motion includes horizontal and vertical directions. The dynamic effect corresponding to the motion state is displayed in a preset area of ​​the electronic device's display interface.

[0321] The display device provided in this embodiment is used to execute the display method of the above embodiment. The technical principle and technical effect are similar, and will not be described again here.

[0322] It should be noted that the aforementioned display device 600 is embodied in the form of a functional unit. The term "unit" here can be implemented in software and / or hardware, without specific limitations.

[0323] For example, a "unit" can be a software program, a hardware circuit, or a combination of both that implements the above functions. The hardware circuit may include an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components that support the described functions.

[0324] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0325] Figure 44 shows a schematic diagram of the structure of an electronic device provided in this application. The dashed lines in Figure 44 indicate that the unit or module is optional. The electronic device 700 can be used to implement the display method described in the above method embodiments.

[0326] The electronic device 700 includes one or more processors 701, which can support the display method implemented in the method embodiments of the electronic device 700. The processor 701 can be a general-purpose processor or a special-purpose processor. For example, the processor 701 can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.

[0327] The processor 701 can be used to control the electronic device 700, execute software programs, and process data from the software programs. The electronic device 700 may also include a communication unit 705 for inputting (receiving) and outputting (transmitting) signals.

[0328] For example, electronic device 700 may be a chip, communication unit 705 may be the input and / or output circuit of the chip, or communication unit 705 may be the communication interface of the chip, and the chip may be a component of terminal device or other electronic device.

[0329] For example, electronic device 700 can be a terminal device, communication unit 705 can be the transceiver of the terminal device, or communication unit 705 can be the transceiver circuit of the terminal device.

[0330] The electronic device 700 may include one or more memories 702, which store a program 704. The program 704 can be executed by the processor 701 to generate instructions 703, causing the processor 701 to execute the impedance matching method described in the above method embodiments according to the instructions 703.

[0331] Optionally, the memory 702 may also store data. Optionally, the processor 701 may also read the data stored in the memory 702, which may be stored at the same memory address as the program 704, or the data may be stored at a different memory address than the program 704.

[0332] The processor 701 and memory 702 can be configured separately or integrated together; for example, integrated on the system on chip (SOC) of the terminal device.

[0333] For example, the memory 702 can be used to store the related program 704 of the display method provided in the embodiments of this application, and the processor 701 can be used to call the related program 704 of the display method stored in the memory 702 when displaying, and execute the display method of the embodiments of this application; including: determining the motion state of the vehicle, the motion state indicating the motion direction and / or motion speed of the vehicle, the motion direction including the horizontal direction and the vertical direction; and displaying the dynamic effect corresponding to the motion state in a preset area in the display interface of the electronic device.

[0334] This application also provides a computer program product that, when executed by processor 701, implements the display method described in any of the method embodiments of this application.

[0335] The computer program product can be stored in memory 702, for example, program 704. Program 704 is finally converted into an executable object file that can be executed by processor 701 after processing such as preprocessing, compilation, assembly and linking.

[0336] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the display method described in any of the method embodiments of this application. The computer program may be a high-level language program or an executable object program.

[0337] The computer-readable storage medium is, for example, memory 702. Memory 702 can be volatile memory or non-volatile memory, or memory 702 can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0338] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0339] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0340] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0341] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0342] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and other division methods may exist in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0343] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0344] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0345] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A display method characterized by comprising: The method is applied to an electronic device that moves with the movement of a vehicle. The method includes: Determine the motion state of the vehicle, the motion state indicating the direction of motion and / or speed of the vehicle, the direction of motion including the horizontal direction and the vertical direction; The dynamic effects corresponding to the motion state are displayed in a preset area of ​​the electronic device's display interface.

2. The method of claim 1, wherein, The electronic device includes an accelerometer and a gyroscope sensor, and determining the motion state of the vehicle includes: The motion state of the vehicle is determined based on the acceleration data collected by the accelerometer and the angular velocity data collected by the gyroscope.

3. The method of claim 2, wherein, The acceleration data includes acceleration in the X-axis direction, acceleration in the Y-axis direction, and acceleration in the Z-axis direction. The X-axis direction, the Y-axis direction, and the Z-axis direction are mutually perpendicular. The Y-axis direction includes the direction of travel of the vehicle. The X-axis direction is perpendicular to the Y-axis direction and parallel to the ground. The Z-axis direction is perpendicular to the Y-axis direction and parallel to the ground. The angular velocity data includes the angular velocity of the pitch angle, the angular velocity of the yaw angle, and the angular velocity of the roll angle.

4. The method according to any one of claims 1 to 3, characterized in that, The display of dynamic effects corresponding to the movement state of the vehicle in a preset area on the display interface of the electronic device includes: If the motion state indicates that the vehicle is moving in a straight line, a first dynamic effect is displayed in the preset area. The first dynamic effect includes displaying a preset icon that moves along a first direction in the preset area. The first direction includes a direction opposite to the direction of travel of the vehicle. When the preset icon moves to one edge of the preset area, it is hidden, and a new preset image is displayed at the other edge of the preset area.

5. The method according to claim 4, characterized in that, If the motion state indicates that the vehicle is moving in a straight line and the vehicle's speed is less than a first speed threshold, then the first dynamic effect further includes displaying N columns of preset icons in the preset area, and displaying the N columns of preset icons moving along the first direction in the preset area. If the motion state indicates that the vehicle is moving in a straight line, and the vehicle's speed is greater than or equal to the first speed threshold, then the first dynamic effect further includes displaying M columns of preset icons in the preset area, and displaying the M columns of preset icons moving along the first direction in the preset area; Where M is greater than N.

6. The method according to any one of claims 1 to 3, characterized in that, The display of dynamic effects corresponding to the movement state of the vehicle in a preset area on the display interface of the electronic device includes: If the motion state indicates that the vehicle is moving in a straight line, a second dynamic effect is displayed in the preset area. The second dynamic effect includes displaying a preset icon that diffuses outward toward the display interface of the electronic device in the preset area.

7. The method according to any one of claims 1 to 6, characterized in that, The display of dynamic effects corresponding to the movement state of the vehicle in a preset area on the display interface of the electronic device includes: If the motion state indicates that the vehicle is moving along the vertical direction, a third dynamic effect is displayed in the preset area. The third dynamic effect includes the size of a preset icon displayed in the preset area changing as the vehicle moves along the vertical direction.

8. The method according to any one of claims 1 to 7, characterized in that, The display of dynamic effects corresponding to the movement state of the vehicle in a preset area on the display interface of the electronic device includes: If the motion state indicates that the vehicle is moving along the vertical direction, a fourth dynamic effect is displayed in the preset area. The fourth dynamic effect includes displaying a preset icon moving along a second direction in the preset area. The first direction includes the direction opposite to the direction in which the vehicle is moving along the vertical direction.

9. The method according to any one of claims 1 to 8, characterized in that, The display of dynamic effects corresponding to the movement state of the vehicle in a preset area on the display interface of the electronic device includes: If the motion state indicates that the vehicle's direction of travel changes from a third direction to a fourth direction, a fifth dynamic effect is displayed in the preset area. The preset area includes a first sub-area and a second sub-area. The fifth dynamic effect includes displaying a first icon moving in the fifth direction in the first sub-area and displaying a second icon moving along a sixth direction in the second sub-area. The fifth direction and the sixth direction are opposite.

10. The method according to any one of claims 4 to 9, characterized in that, The preset area includes two sub-areas, which are located on both sides of the display interface of the electronic device along the display direction.

11. The method according to any one of claims 4 to 10, characterized in that, The preset icon is a circular icon.

12. The method according to any one of claims 4 to 11, characterized in that, The color of the preset icon is determined by inverting the color of the background area of ​​the display interface.

13. The method of claim 12, wherein, The color saturation of the preset icon is determined by inverting the brightness of the background color of the display interface.

14. An electronic device, comprising: The electronic device includes a module for performing the method as described in any one of claims 1 to 13.

15. An electronic device, comprising: include: One or more processors; Memory; And one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1 to 13.

16. A chip system, characterized by The chip system includes a processor for calling and running a computer program from memory, causing an electronic device on which the chip system is installed to perform the method as described in any one of claims 1 to 13.

17. A computer readable storage medium comprising a computer program, characterized in that, When the computer program is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1 to 13.