Dial display method and device, chip, electronic equipment and medium
By using a combination of three-dimensional models and two-dimensional pictures on electronic devices to display dial components with different interfaces, the problem of difficulty in displaying high-precision dynamic dials is solved, and an efficient and energy-saving dial display effect is achieved.
Patent Information
- Application Number
- CN202311333224.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-13
- Publication Date
- 2025-04-15
AI Technical Summary
Existing electronic devices (such as electronic watches) are difficult to support the display of high-precision dynamic dials due to their small memory and weak computing power.
By obtaining the dial components, including a three-dimensional model and a two-dimensional picture, the first and second dial interfaces are displayed according to these components. The display orientation of the three-dimensional model in different interfaces is different, and it responds to user operations to change the display orientation.
It realizes the display of high-precision dynamic dials on electronic devices with small memory and weak computing power, improving the effect and efficiency of dial display, while saving memory and computing resources.
Smart Images

Figure CN119828922A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a dial display method, device, chip, electronic equipment and medium. Background Art
[0002] Compared with mobile phones, some electronic devices (such as electronic watches, etc.) have smaller memory and weaker computing power, so it is difficult to support the display of high-precision dynamic dials. Therefore, it is necessary to provide a dial display method suitable for the above electronic devices. Summary of the invention
[0003] The embodiments of the present application provide a dial display method, device, chip, electronic device and medium, which support the display of high-precision dynamic dials on electronic devices with small memory and weak computing power.
[0004] In a first aspect, an embodiment of the present application provides a dial display method, including: obtaining a dial component, the dial component including a three-dimensional model and a two-dimensional picture; displaying a first dial interface based on the three-dimensional model and the two-dimensional picture; in response to a first operation of the user on the dial, displaying a second dial interface based on the three-dimensional model and the two-dimensional picture; wherein the display orientation of the three-dimensional model in the first dial interface is different from the display orientation in the second dial interface.
[0005] Optionally, in response to the user's first operation on the dial, a second dial interface is displayed based on the three-dimensional model and the two-dimensional picture, including: obtaining operation parameters of the first operation; and determining the display orientation of the three-dimensional model based on the operation parameters.
[0006] Optionally, the first operation includes a touch screen operation, and the operation parameters of the touch screen operation include one or more of the following: the displacement size of the touch screen displacement of the touch screen operation; the displacement direction of the touch screen displacement of the touch screen operation; the touch screen duration of the touch screen operation; the touch screen area of the touch screen operation; and the touch screen pressure of the touch screen operation.
[0007] Optionally, the display orientation of the three-dimensional model is determined according to the operating parameters, including: determining the x-axis coordinate value and the y-axis coordinate value of the three-dimensional model in a set coordinate system according to the displacement size and the displacement direction; determining the z-axis coordinate value of the three-dimensional model in the set coordinate system according to at least one of the touch screen duration, the touch screen area and the touch screen pressure; wherein the z-axis of the set coordinate system is perpendicular to the display screen of the dial.
[0008] Optionally, the first operation includes a perspective changing operation, and the operation parameters of the perspective changing operation include one or more of the following: a line of sight rotation direction of the perspective changing operation; a line of sight rotation angle of the perspective changing operation; and a line of sight distance of the perspective changing operation.
[0009] Optionally, the display orientation of the three-dimensional model is determined according to the operating parameters, including: determining the rotation direction of the three-dimensional model in a set coordinate system according to the line of sight rotation direction; determining the rotation angle of the three-dimensional model in the set coordinate system according to the line of sight rotation angle; determining the z-axis coordinate value of the three-dimensional model in the set coordinate system according to the line of sight distance; wherein the z-axis of the set coordinate system is perpendicular to the display screen of the dial.
[0010] Optionally, in response to the user's first operation on the dial, a second dial interface is displayed based on the three-dimensional model and the two-dimensional picture, including: determining the display area of the two-dimensional picture according to the first operation; and / or determining the display shape of the two-dimensional picture according to the first operation; and / or determining the display orientation of the two-dimensional picture according to the first operation.
[0011] Optionally, the three-dimensional model is used to display a foreground object; and the two-dimensional picture includes a picture for displaying a background object.
[0012] Optionally, the three-dimensional model is used to display dynamic components; the two-dimensional picture is used to display static components.
[0013] In a second aspect, an embodiment of the present application provides a dial display device, comprising: an acquisition module, used to acquire a dial component, the dial component comprising a three-dimensional model and a two-dimensional picture; a display module, used to display a first dial interface based on the three-dimensional model and the two-dimensional picture; in response to a first operation of the user on the dial, a second dial interface is displayed based on the three-dimensional model and the two-dimensional picture; wherein the display orientation of the three-dimensional model in the first dial interface is different from the display orientation in the second dial interface.
[0014] In a third aspect, an embodiment of the present application provides an electronic chip, comprising: a processor, which is used to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute any method as in the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising one or more memories for storing computer program instructions, and one or more processors, wherein when the computer program instructions are executed by the one or more processors, the electronic device is triggered to execute a method as described in any one of the first aspects.
[0016] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a computer, the computer executes any method in the first aspect.
[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes any method in the first aspect.
[0018] The three-dimensional model in the embodiment of the present application is a dynamic component of the dial, which can be used to produce complex animation effects, and the two-dimensional picture is a static component of the dial, which may not produce animation effects or be used to produce simple animation effects. The electronic watch can present a dynamic dial display effect by displaying the dynamic components and static components of the dial. In addition, the embodiment of the present application can also reduce the size and calculation amount of the dial component, and the dial display based on this can save the memory and computing resource consumption of the electronic watch. In this way, the embodiment of the present application supports the display of high-precision dynamic dials on electronic devices with small memory and weak computing power. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments are briefly introduced below.
[0020] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0021] Figure 2 and Figure 3 They are respectively a schematic diagram of a dial assembly and a schematic diagram of a dial display when a swing is stationary in a 3D model provided in an embodiment of the present application;
[0022] Figure 4 and Figure 5 They are respectively a schematic diagram of a dial assembly and a schematic diagram of a dial display when a swing in a 3D model swings to the left rear, provided in an embodiment of the present application;
[0023] Figure 6 and Figure 7 They are respectively a schematic diagram of a dial assembly and a schematic diagram of a dial display when a swing in a 3D model is swung forward, provided in an embodiment of the present application;
[0024] Figure 8 and Fig. 9 They are respectively a schematic diagram of a dial assembly and a schematic diagram of a dial display when a swing in a 3D model is swung to the rear, provided in an embodiment of the present application;
[0025] Fig.10 Another schematic diagram of a dial display when a swing is stationary in a 3D model provided in an embodiment of the present application;
[0026] Fig.11 Another schematic diagram of a dial display when a swing in a 3D model swings to the rear provided in an embodiment of the present application;
[0027] Fig.12 Another schematic diagram of a dial display when a swing swings forward in a 3D model provided in an embodiment of the present application;
[0028] Fig.13 A schematic diagram for showing that a background image displayed on a dial changes when a user's viewing angle changes, provided in an embodiment of the present application;
[0029] Fig.14 and Fig.15 Schematic diagrams of dial display when the user viewing angle is normal and non-normal, respectively, provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0031] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0032] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0033] It should be understood that the term "at least one" used in this article refers to one or more, and "plurality" refers to two or more. The term "and / or" used in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, wherein a, b, c can be single or multiple.
[0034] It should be understood that, although the terms first, second, etc. may be used to describe the set thresholds in the embodiments of the present application, these set thresholds should not be limited to these terms. These terms are only used to distinguish the set thresholds from each other. For example, without departing from the scope of the embodiments of the present application, the first set threshold may also be referred to as the second set threshold, and similarly, the second set threshold may also be referred to as the first set threshold.
[0035] The dial display method provided in any embodiment of the present application can be applied to Figure 1 In the electronic device 100 shown. Figure 1 FIG. 1 is a schematic diagram showing the structure of the electronic device 100. In one embodiment, the electronic device 100 may be an electronic watch.
[0036] The electronic device 100 may include a processor 110, an internal memory 121, a charging management module 140, a power management module 141, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a microphone 170C, a sensor module 180, a button 190, a motor 191, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an acceleration sensor, a touch sensor, etc.
[0037] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0038] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated into one or more processors. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
[0039] In some embodiments, the processor 110 may be a system on chip (SOC), which may include a central processing unit (CPU) and may further include other types of processors. In some embodiments, the processor 110 may be a PWM control chip.
[0040] The processor 110 may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the technical solution program, etc. In addition, the processor 110 may have the function of operating one or more software programs, which may be stored in a storage medium.
[0041] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0042] In some embodiments, the memory of the electronic device 100 may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), or any computer-readable medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.
[0043] In some embodiments, the processor 110 and the memory may be combined into a processing device, or may be independent components, and the processor 110 may be used to execute program codes stored in the memory. In specific implementation, the memory may also be integrated into the processor 110, or may be independent of the processor 110.
[0044] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0045] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0046] The charging management module 140 is used to receive charging input from a charger. The power management module 141 is used to connect the charging management module 140 and the processor 110 .
[0047] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0048] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0049] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0050] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0051] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0052] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0053] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0054] The display screen 194 is used to display images, videos, etc. In one embodiment, the first dial interface and the second dial interface described in other embodiments of the present application can be displayed successively through the display screen 194 to present an animation effect of the dial display.
[0055] The 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0056] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0057] The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture static images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element.
[0058] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0059] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.
[0060] The electronic device 100 can implement audio functions, such as voice playback, through the audio module 170, the speaker 170A, the microphone 170C, and the application processor.
[0061] The pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor can be arranged on the display screen 194. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. When a touch screen operation is applied to the display screen 194, the electronic device 100 detects the touch screen pressure of the touch screen operation according to the pressure sensor. The electronic device 100 can also calculate the touch screen position of the touch screen operation according to the detection signal of the pressure sensor. Feasibly, the electronic device 100 can also calculate the touch screen displacement size and touch screen position direction of the touch screen operation based on the calculated touch screen position.
[0062] The gyroscope sensor can be used to determine the motion posture of the electronic device 100. The acceleration sensor can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). Feasibly, the electronic device 100 can determine the posture change of the electronic device 100 based on the posture data collected by the gyroscope sensor and the position data collected by the acceleration sensor, and convert the determined posture change into the user's viewing angle change of the display screen 194.
[0063] A touch sensor is also called a "touch control device". The touch sensor can be arranged on the display screen 194. The touch sensor and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor is used to detect touch screen operations acting on or near it. The touch sensor can pass the detected touch screen operation to the application processor to determine the type of touch event. Visual output related to the touch screen operation can be provided through the display screen 194, such as displaying a dial display animation effect related to the touch screen operation. In other embodiments, the touch sensor can also be arranged on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0064] The buttons 190 include a power button, a volume button, etc. The buttons 190 may be mechanical buttons or touch buttons. The motor 191 may generate a vibration prompt. The motor 191 may be used for incoming call vibration prompts or for touch vibration feedback.
[0065] The SIM card interface 195 is used to connect a SIM card. The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
[0066] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
[0067] Compared with mobile phones, some electronic devices (such as electronic watches, etc.) have smaller memory and weaker computing power, so it is difficult to support the display of high-precision dynamic dials. For example, due to the limitations of device memory and computing power, electronic watches in the prior art can only display dynamic dial display effects by displaying multiple consecutive two-dimensional images in sequence.
[0068] For example, the continuous multiple frames of two-dimensional images may include a close-up image, a mid-range image, and a distant image of the object. The electronic watch displays these three images in sequence to present a dynamic dial display effect of the object from near to far.
[0069] However, the more pictures are used, the greater the memory consumption and computing power consumption of the electronic watch will be, and the electronic watch cannot support the display of a large number of pictures. Therefore, the number of two-dimensional pictures that can be used by the electronic watch is small, which makes the dynamic display effect of the dial poor.
[0070] The following describes the technical implementation of the embodiment of the present application by taking an electronic watch as an example. The embodiment of the present application is also applicable to other types of electronic devices other than electronic watches that have a dial display function but have a small memory and weak computing power.
[0071] In one embodiment of the present application, the dial assembly of the electronic watch includes a dynamic assembly and a static assembly.
[0072] Dynamic components are components that need to produce complex animation effects and attract high user attention during the display of the dial. In this way, the content in the dynamic dial that needs to produce complex animation effects and attract high user attention can be configured as dynamic components as needed.
[0073] Dynamic components can be represented by 3D models, such as 3D models in FBX, OBJ, GLB, VRM, etc. Displaying dynamic components by 3D models can have a continuous and smooth animation display effect.
[0074] Static components are components that do not need to produce animation effects or produce simple animation effects and have low user attention during the display of the dial. In this way, the content in the dynamic dial that does not need to produce animation effects or produces simple animation effects and has low user attention can be configured as static components as needed.
[0075] Static components can be represented by two-dimensional images, such as images in jpg, png, jpeg and other formats. Displaying static components by two-dimensional images can reduce memory usage, etc.
[0076] In one feasible implementation, the electronic watch may store a 3D model used as a dynamic component of the dial and a two-dimensional image used as a static component of the dial, and the electronic watch may display the dial according to the stored 3D model and two-dimensional image.
[0077] Compared with the prior art, the dynamic dial display effect presented by the electronic watch is better by displaying the dynamic components and static components of the dial. In addition, the size and calculation amount of the dial components can be reduced, and the dial display based on this can save the memory and computing resource consumption of the electronic watch.
[0078] Below, some embodiments of the present application are described separately, and the implementation methods and beneficial effects of different embodiments can be referenced to each other. Although introduced separately, multiple embodiments can be implemented on the same electronic watch at the same time, and the present application does not limit this.
[0079] Exemplarily, the dynamic dial display content of the electronic watch may include: a dog swinging on a swing in a park (hereinafter referred to as scene 1), wherein the sky, the ground, trees, grass, stones, etc. are displayed as the background, and the swing and the dog are displayed as the foreground.
[0080] During the display of the dial, the animation effects of the background objects such as the sky and the ground in scene 1 may not be reflected, or the animation effects to be reflected are simple, so part or all of them can be displayed as static components with one or more two-dimensional pictures. In other words, when multiple objects with simple animation effects are included, multiple objects can be displayed with one two-dimensional picture, or multiple two-dimensional pictures can be used to display multiple objects respectively.
[0081] For example, static components can include Figure 2 The two-dimensional background image 22 shown in the figure uses the two-dimensional background image 22 to display multiple objects such as trees 221, grass 222, and stones 223. The electronic watch can present an animation effect of the position change of the object by changing the display area of the two-dimensional background image 22.
[0082] For another example, a static component may include two two-dimensional images, one of which is used to display trees and grass and stones near the trees, and the other is used to display grass and stones far from the trees. The electronic watch can present an animation effect of the position change of the objects by changing the positions of the two two-dimensional images respectively.
[0083] During the dial display process, if the foreground objects such as the swing and the dog in scene 1 need to reflect complex animation effects, they can be displayed as dynamic components in a three-dimensional model, such as Figure 2The 3D model 21 shown includes a swing 211 and a dog 212. It should be noted that when multiple objects with complex animation effects are included, multiple objects can be displayed using one 3D model, or multiple 3D models can be used to display the multiple objects respectively.
[0084] That is to say, reference Figure 2 The dial component of scene 1 may include a dynamic component and a static component. The dynamic component includes a 3D model 21 for displaying foreground objects such as a swing 211 and a dog 212, and the static component includes a two-dimensional background image 22 for displaying background objects such as the sky (not shown), the ground (not shown), trees 221 on the back side of the swing 211, grass 222, and stones 223. Figure 2 As shown, the swing 211 may include a sling and a seat in which the dog 212 may sit.
[0085] Among them, reference Figure 2 , the x-axis and y-axis of the coordinate system may be parallel to the two-dimensional background image 22, and the z-axis of the coordinate system may be perpendicular to the two-dimensional background image 22. Figure 3 , the x-axis and y-axis of the coordinate system can be parallel to the display screen surface, the z-axis of the coordinate system is perpendicular to the display screen surface, and the positive half axis of the z-axis points from the inner side of the display screen surface to the outer side of the display screen surface.
[0086] The scene when the dog 212 sits in the swing 211 and remains still (or when it swings to the lowest point) can be as follows: Figure 2 As shown. When the swing 211 remains stationary, the rope of the swing 211 can be perpendicular to the ground. When the dog 212 sits in the swing 211 and swings from front to back (from the positive half axis of the z-axis to the negative half axis of the z-axis), the dog 212 and the swing 211 can rotate based on the x-axis of the coordinate system, and the coordinate value on the x-axis can remain unchanged. During the swing, the position of the uppermost end of the rope can remain fixed.
[0087] Among them, the distance between the two-dimensional picture and the three-dimensional model can be determined according to the animation effect displayed on the dial.
[0088] For example, Figure 2 As shown, based on the swing range of the swing 211 on the z-axis in the animation effect (i.e., the farthest position that the swing can reach when swinging forward / backward), the swing amplitude of the swing 211 on the z-axis (the difference between the z-axis coordinate value when the swing 211 is stationary and the z-axis coordinate value when the swing 211 swings backward to the farthest position) can be determined. Thus, the interval distance between the 3D model 21 and the two-dimensional background image 22 can be determined to ensure that the distance between the swing 211 and the two-dimensional background image 22 when the swing 211 is stationary is greater than the above swing amplitude.
[0089] To display Figure 2As an example, the dial assembly shown in FIG. 1 can display an image of the dial when the swing 211 is stationary. Figure 3 shown.
[0090] It should be noted that in addition to displaying the swing 211 and dog 212 in the 3D model 21, and the sky (not shown), ground (not shown), trees 221, grass 222, and stones 223 in the two-dimensional background image 22, the dial interface can also be used to display time, date and other information.
[0091] It should be noted that the animation effect of the dial display can be performed autonomously or in response to human-computer interaction. Among them, the dynamic dial display can be performed in response to the user's operation on the dial (or user operation). The animation effect of the dial display can be reflected in the change of display orientation and display content. User operations can include: touch screen operations such as click operations and sliding operations, and can also include operations such as changes in viewing angles.
[0092] In response to user operations, the display orientation of the three-dimensional model in the dial interface may change.
[0093] In response to user operations, the display orientation of the two-dimensional image in the dial interface may or may not change.
[0094] In response to user operations, the display content (such as display shape, display color, etc.) of the two-dimensional image in the dial interface may or may not change.
[0095] Among them, the operation parameters of the user operation can be obtained, and the display orientation of the three-dimensional model, the display orientation of the two-dimensional image, and the display content of the two-dimensional image can be determined according to the operation parameters.
[0096] The operating parameters of the touch screen operation may include the size and direction of the touch screen displacement, the touch screen duration, the touch screen area, the touch screen pressure, etc.
[0097] The operating parameters of the viewing angle change operation may include the line of sight rotation direction, the line of sight rotation angle, the line of sight distance (i.e., the distance between the user and the dial display screen), etc.
[0098] Different orientations may be the same direction but different positions, different directions but the same positions, or different directions and positions. Among them, changes in the yaw angle (such as rotation along the y-axis of the object coordinate system), pitch angle (such as rotation along the x-axis of the object coordinate system), and roll angle (such as rotation along the z-axis of the object coordinate system) of an object (such as a three-dimensional model or a two-dimensional image) may lead to changes in the direction of the object, and changes in the x-axis coordinate value, y-axis coordinate value, and z-axis coordinate value of the object in the set coordinate value may lead to changes in the position of the object.
[0099] For example, it can be determined according to the user operation whether the dog 212 swings with the swing 211 and the swinging mode (such as swing amplitude and swing direction). Based on the action of the dog 212 swinging with the swing 211, the display position of the 3D model 21 in the dial interface changes accordingly.
[0100] The following describes the animation effects of the watch face display caused by different types of user operations.
[0101] For example, in response to the user's sliding operation, the electronic watch can display a dynamic display effect of the dog 212 swinging on a swing. In the above scenario 1, in response to the sliding operation performed by the user, the two dial interfaces displayed successively by the electronic watch are different, and at least can be reflected in the different display orientations of the 3D model 21 in the two dial interfaces.
[0102] refer to Figure 3 , while the watch face is displayed, if the user performs the following Figure 3 The sliding operation shown (i.e., the user's finger slides horizontally along path 301 from the negative semi-axis of the x-axis to the positive semi-axis of the x-axis on the touch display screen) can convert the user's sliding operation into a force applied to the dog 212 (or the seat of the swing 211) to change the positions of the dog 212 and the swing 211, thereby achieving a dynamic display effect of the dog 212 swinging on the swing.
[0103] Exemplarily, the electronic watch may obtain operating parameters of the sliding operation, and determine the magnitude and direction of the force used to change the orientation of the three-dimensional model according to the operating parameters.
[0104] For example, reference Figure 3 The operation parameters of the sliding operation may include the touch screen displacement size and touch screen displacement direction of the sliding operation on the x-axis. The touch screen displacement size can be converted into the size of the force F1 applied to the dog 212, and the touch screen displacement direction can be converted into the direction of the force F1 on the x-axis.
[0105] For example, reference Figure 3 The operating parameters of the sliding operation may include the touch screen pressure of the sliding operation, and the touch screen pressure may be converted into the magnitude of the force F2 applied to the dog 212.
[0106] In a feasible implementation, the display orientation of the three-dimensional model can be determined according to the size and direction of the touch screen displacement of the sliding operation.
[0107] Reference Figure 3If the user performs a sliding operation, then in one embodiment of the present application, after the user releases the touch screen to end the sliding operation, the touch screen displacement size (i.e., the length of the path 301) and the touch screen displacement direction of the sliding operation in the horizontal direction (the x-axis direction of the coordinate system) can be converted into a horizontal force F1 applied to the dog 212.
[0108] After the user finishes the sliding operation, the electronic watch can display the animation effect of the dog 212 and the swing 211 under the dragging action of the horizontal force F1, such as the dog 212 and the swing seat being restrained by the swing rope. Figure 3 The current position shown is the center, and it swings back and forth in the x-axis direction until it remains stationary.
[0109] In one embodiment of the present application, the relationship between the horizontal displacement of the touch screen (i.e., the horizontal displacement of the touch screen caused by the sliding operation) and the lateral speed of the swing seat (i.e., the left and right swinging speed of the dog 212 in the x-axis direction) can satisfy the following formula (1):
[0110] Speed_x=touch_screen_time_x*0.01 (1)
[0111] Among them, touch_screen_time_x represents the horizontal displacement of the touch screen in pixels, and speed_x represents the lateral speed of the swing seat in radians per second.
[0112] In a feasible implementation, the display orientation of the three-dimensional model can be determined according to the size and direction of the touch screen displacement of the sliding operation, as well as the touch screen duration, touch screen area and / or touch screen pressure of the sliding operation.
[0113] Reference Figure 3 In addition to converting the touch screen displacement of the sliding operation into a horizontal force F1, the touch screen pressure (or touch screen area, touch screen duration) of the sliding operation can also be converted into a vertical force F2 applied to the dog 212, and the direction of the force F2 is vertically inward (negative direction of the z-axis of the coordinate system).
[0114] After the user finishes the sliding operation, the electronic watch can display the animation effect of the dog 212 and the swing 211 under the combined action of the horizontal force F1 and the vertical force F2, such as the dog 212 and the swing seat being restrained by the swing rope. Figure 3 The current position shown is the center, and the swing 211 swings back and forth between the left rear position and the right front position of the current position (i.e., the directional terms front, back, left, and right are used to describe the front, back, left, and right of the dog 212) until it remains stationary. If the position of the swing 211 when it is stationary is at the origin of the coordinate system, then Figure 3The x-axis coordinate value of the position behind the current position is positive and the z-axis coordinate value is negative. Figure 3 The x-axis coordinate value of the position right front of the current position is shown to be a negative value and the z-axis coordinate value is a positive value.
[0115] refer to Figure 2 , the horizontal force F1 and the vertical force F2 can be combined into Figure 2 As shown in FIG. 2 , the force F (the direction of the force F points to the left rear of the current position of the dog 212 ) can be seen as the animation effect presented by the dog 212 under the force F by applying the horizontal force F1 and the vertical force F2 to the dog 212 .
[0116] In one embodiment of the present application, the relationship between the touch screen duration and the inward / outward speed of the swing seat (i.e., the forward and backward swinging speed of the dog 212 in the z-axis direction) can satisfy the following formula (2):
[0117] Speed_yz=-touch_screen_time*2.0 (2)
[0118] Among them, touch_screen_time represents the duration of touch screen, in seconds, and speed_yz represents the inward / outward speed of the swing seat, in radians per second.
[0119] Exemplarily, the dial assembly when the dog 212 swings to a certain left rear position can be as follows: Figure 4 As shown, the dial display content when the dog 212 swings to the left rear position can be as follows Figure 5 As shown (dial information such as time and date are not shown).
[0120] In one embodiment, the dial display interface of the electronic watch may be as follows: Figure 3 In another embodiment, the dial display interface of the electronic watch can be as follows: Figure 5 The square interface shown.
[0121] refer to Figure 4 and Figure 5 When the dog 212 swings to the left rear position, the dog 212 and the swing 211 are tilted toward the left rear direction, and the dog 212 is in a forward-leaning posture. Figure 2 and Figure 3 The swing 211 is shown in a stationary position. When the dog 212 swings to the left rear position, the dog 212 and the swing 211 are closer to the two-dimensional background image 22 in the z-axis direction.
[0122] When the dog 212 swings to the right front position, the dog 212 and the swing 211 are tilted toward the right front direction, and the dog 212 is in a backward posture. Figure 2 and Figure 3The swing 211 is shown in a stationary position. When the dog 212 swings to the right front position, the dog 212 and the swing 211 are further away from the two-dimensional background image 22 in the z-axis direction.
[0123] It can be seen that, taking the dog 212 swinging to the left rear position and the right front position as an example, when the dog 212 swings to different positions, the display position of the 3D model 21 in the dial interface changes accordingly, and the postures of the dog 212 when swinging to different positions are different (left-leaning forward posture and right-leaning backward posture), which causes the display direction of the 3D model 21 in the dial interface to change.
[0124] refer to Figure 3 and Figure 5 , the two figures respectively show the dial display images when the dog 212 is stationary (or swings to a vertical position) and swings to the left rear position. It can be seen that in response to the user's sliding operation, the position of the dog 212 can change between the left rear position and the right front position like a swing, so that the dial display content of the 3D model 21 has a dynamic display effect of the dog 212 swinging between the left rear position and the right front position.
[0125] In scenario 1, in response to a sliding operation, the electronic watch displays two different dial interfaces successively, wherein the 3D model 21, a dynamic component, is displayed in different positions in the two dial interfaces to present a complex animation effect, while the static component may have no animation effect or a simple animation effect.
[0126] For example, in response to the sliding operation, the two-dimensional background image 22, a static component, has the same display position and content in two dial interfaces displayed successively by the electronic watch, that is, there is no animation effect on the background image.
[0127] refer to Figure 3 and Figure 5 During the period when the dog 212 swings between the left rear position and the right front position, the dial display content of the two-dimensional background image 22 (including trees 221, grass 222, stones 223, etc.) can remain unchanged.
[0128] For another example, in response to a sliding operation, the static component of the shadow image of the 3D model 21 may be displayed in different positions in the two dial interfaces, but the displayed content may be the same, that is, the shadow image has an animation effect of changing the display position.
[0129] For another example, in response to a sliding operation, the display position and display content of the static component of the shadow image of the 3D model 21 may be different in the two dial interfaces, that is, the shadow image has an animation effect in which both the display position and the display content change.
[0130] For example, in response to the user's click operation, the electronic watch can display a dynamic display effect of the dog 212 swinging on a swing. In the above scenario 1, in response to the user's click operation, the two dial interfaces displayed successively by the electronic watch are different, and at least can be reflected in the different display orientations of the 3D model 21 in the two dial interfaces.
[0131] The display orientation of the three-dimensional model may be determined according to the touch screen duration, touch screen area and / or touch screen pressure of the click operation.
[0132] Reference Figure 3 If the user performs a click operation, then in one embodiment of the present application, after the user releases the touch screen to end the click operation, the touch screen pressure (or touch screen area, touch screen duration) of the click operation can be converted into a vertical force F2 applied to the dog 212.
[0133] After the user finishes the click operation, the electronic watch can display the animation effect of the dog 212 and the swing 211 under the push of the vertical force F2, for example, the dog 212 and the swing seat are restrained by the swing rope. Figure 3 The current position shown is the center, and it swings back and forth in the z-axis direction until it remains stationary.
[0134] Exemplarily, the dial assembly when the dog 212 swings to a certain forward position can be as follows: Figure 6 As shown, the dial display content when the dog 212 swings to the front position can be as follows Figure 7 shown.
[0135] refer to Figure 6 and Figure 7 When the dog 212 swings to the front position, the dog 212 and the swing 211 tilt forward, and the dog 212 is in a backward posture. Figure 2 and Figure 3 The swing 211 is shown in a stationary position. When the dog 212 swings to the forward position, the dog 212 and the swing 211 are further away from the two-dimensional background image 22 in the z-axis direction.
[0136] For example, the dial assembly when the dog 212 swings to a certain rear position can be as follows: Figure 8 As shown, the dial display content when the dog 212 swings to the rear position can be as follows Fig. 9 shown.
[0137] refer to Figure 8 and Fig. 9 When the dog 212 swings to the rear position, the dog 212 and the swing 211 tilt backward, and the dog 212 is in a forward-leaning posture. Figure 2 and Figure 3The swing 211 is shown in a stationary position. When the dog 212 swings to the rear position, the dog 212 and the swing 211 are closer to the two-dimensional background image 22 in the z-axis direction.
[0138] It can be seen that, taking the dog 212 swinging to the rear position and the front position as an example, when the dog 212 swings to different positions, the display position of the 3D model 21 in the dial interface changes accordingly, and the postures of the dog 212 when swinging to different positions are different (forward leaning posture and backward leaning posture), which makes the display direction of the 3D model 21 in the dial interface change.
[0139] refer to Figure 3 , Figure 7 and Fig. 9 The three figures respectively show the dial display images when the dog 212 is stationary (or swinging to a vertical position), swinging to a forward position, and swinging to a rearward position. It can be seen that in response to the user's click operation, the position of the dog 212 can change to swing forward and backward, so that the dial display content of the 3D model 21 has a dynamic display effect of the dog 212 swinging forward and backward.
[0140] In scenario 1, in response to a click operation, the electronic watch displays two different watch dial interfaces successively, wherein the 3D model 21, a dynamic component, is displayed in different positions in the two watch dial interfaces to present a complex animation effect, while the static component may have no animation effect or a simple animation effect.
[0141] For example, in response to a click operation, the two-dimensional background image 22, a static component, has the same display position and content in two dial interfaces displayed successively by the electronic watch, that is, there is no animation effect in the background image.
[0142] refer to Figure 3 , Figure 7 and Fig. 9 During the period when the dog 212 swings back and forth, the dial display content of the two-dimensional background image 22 (including trees 221, grass 222, stones 223, etc.) can remain unchanged.
[0143] For another example, in response to a click operation, the static component of the shadow image of the 3D model 21 may be displayed in different positions in the two dial interfaces, but the displayed content may be the same, that is, the shadow image has an animation effect of changing the display position.
[0144] For another example, in response to a click operation, the display position and display content of the static component of the shadow image of the 3D model 21 may be different in the two dial interfaces, that is, the shadow image has an animation effect in which both the display position and the display content change.
[0145] In one feasible implementation, the touch screen of the electronic watch can be a pressure-sensitive screen. When the user performs touch-screen operations such as clicking or sliding, the electronic watch can measure the touch-screen pressure of the user during the touch-screen operation in real time through the pressure-sensitive screen, and then convert the measured touch-screen pressure into a vertical force F2.
[0146] In one embodiment, the greater the touch screen pressure, the greater the value of the converted vertical force F2.
[0147] In another feasible implementation method, when the user performs a touch screen operation such as a click operation or a sliding operation, the electronic watch can measure the touch screen area of the user during the touch screen operation in real time through the touch screen, and then convert the measured touch screen area into touch screen pressure, and then convert the touch screen pressure into a vertical force F2, or directly convert the measured touch screen area into a vertical force F2.
[0148] In one embodiment, the larger the touch screen area, the greater the converted touch screen pressure.
[0149] In one embodiment, the larger the touch screen area, the larger the value of the converted vertical force F2.
[0150] In another feasible implementation, when the user performs a touch screen operation such as a click operation or a sliding operation, the electronic watch can measure the user's touch screen duration (i.e., the duration of the touch screen operation) through the touch screen, and then convert the measured touch screen duration into touch screen pressure, and then convert the touch screen pressure into a vertical force F2, or directly convert the measured touch screen duration into a vertical force F2.
[0151] In one embodiment, the longer the screen is touched, the greater the converted touch screen pressure is.
[0152] In one embodiment, the shorter the screen touch time is, the greater the value of the converted vertical force F2 is.
[0153] In addition to the above-mentioned method of converting the touch screen displacement and touch screen pressure (or touch screen area, touch screen duration) of the touch screen operation into the force applied to the dog 212 after the user finishes the touch screen operation, in another feasible implementation method, the current touch screen position and touch screen pressure (or touch screen area, touch screen duration) of the touch screen operation can be converted into the current force applied to the dog 212 in real time during the user's touch screen operation. In this way, during the user's touch screen operation, the electronic watch can display the animation effects of the dog 212 and the swing 211 under the current force in real time.
[0154] In one possible implementation, refer to Figure 3When the user performs the sliding operation, the dog 212 and the swing seat are restrained by the swing rope and gradually swing to the left with the current position as the center. After the user finishes the sliding operation, the dog 212 and the swing seat swing back and forth in the x-axis direction with the current position as the center until they remain stationary.
[0155] In another possible implementation, refer to Figure 3 When the user performs the sliding operation, the dog 212 and the swing seat are restrained by the swing rope and gradually swing to the left rear with the current position as the center. After the user finishes the sliding operation, the dog 212 and the swing seat swing back and forth between the left rear position and the right front position of the current position with the current position as the center until they remain stationary.
[0156] In another feasible implementation, refer to Figure 3 When the user performs a click operation, the dog 212 and the swing seat are restrained by the swing rope and gradually swing backward with the current position as the center. After the user finishes the click operation, the dog 212 and the swing seat swing back and forth in the z-axis direction with the current position as the center until they remain stationary.
[0157] In addition to foreground objects such as the swing and the dog, and background objects such as trees, stones, and grass, the dynamic dial display content in the above scene 1 may also include: the shadows of the dog and the swing, and the shadows of the dog and the swing change accordingly with the change of the subject position. In response to the user operation, the display position of the shadow in the dial interface may change.
[0158] During the display of the dial, the shadow in scene 1 needs to reflect a simple animation effect, so it can be displayed as a static component in a two-dimensional shadow image.
[0159] In one embodiment, reference Figure 10-12 The static components in the dial component of scene 1 may include not only a two-dimensional background image 22, but also a shadow image 24. The ground shadow image of the 3D model 21 may be reflected by the image content of the shadow image 24, and the ground shadow position of the 3D model 21 may be reflected by the position of the shadow image 24. Figure 10-12 The dial display contents are shown respectively when the dog 212 swings to the lowest point, swings backwards, and swings forwards (the 3D model 21 is not shown).
[0160] In a feasible implementation, as the orientation of the subject changes, the display orientation of the shadow changes accordingly, but the display content of the shadow remains unchanged. For example, the dynamic change of the shadow can be reflected by changing the display orientation of the shadow image 24 but not changing the display content of the shadow image 24.
[0161] In one embodiment, the position movement of the shadow image in the x-axis direction and the y-axis direction may be movement of the shadow image on the background image along the x-axis and the y-axis respectively, and the distance between the shadow image and the background image in the z-axis direction may be zero.
[0162] By changing the display orientation of the shadow image accordingly with the orientation of the subject while keeping the display content of the shadow image unchanged, it can meet the display needs of simple animation effects for shadow images that users do not pay much attention to, and help reduce the consumption of memory and computing resources of electronic watches by the dial display.
[0163] refer to Figure 10-12 , since the coordinate values of the dog 212 and the swing 211 in the x-axis direction do not change during the period when the dog 212 swings back and forth along the z-axis direction, the position change of the shadow image 24 only involves the up and down movement change in the y-axis direction (such as Figure 10-12 The moving path is shown by the dotted line in the figure), without involving left and right movement changes in the x-axis direction.
[0164] For example, compared to Fig.10 The position of the shadow image 24 when the dog 212 swings to the lowest point is shown (referred to as position 1). Since the dog 212 is closer to the two-dimensional background image 22 when it swings backward, the position of the shadow image 24 when the dog 212 swings backward is located above position 1 in the y-axis direction (as shown in FIG. Fig.11 shown).
[0165] For example, compared with Fig.10 As shown in FIG. 1 , the shadow image 24 is located at position 1 when the dog 212 swings to the lowest point. Since the dog 212 is further away from the two-dimensional background image 22 when swinging forward, the position of the shadow image 24 when the dog 212 swings forward is located below position 1 in the y-axis direction (e.g., Fig.12 shown).
[0166] In addition, when the dog 212 swings forward, there may be a shadow image 24 that exceeds or partially exceeds the y-axis direction ( Fig.11 The content indicated by the midpoint line is the excess portion) in the case of the boundary of the two-dimensional background image 22, in which case the excess portion may not be displayed.
[0167] In one embodiment of the present application, the relationship between the shadow displacement (i.e., the displacement of the shadow image in the y-axis direction) and the rotation angle of the swing (i.e., the rotation angle of the swing along the x-axis) can satisfy the following formula (3):
[0168] h=H*sin(θ)*0.25 (3)
[0169] Among them, h represents the shadow displacement, H represents the height of the shadow image (that is, the length of the shadow image in the y-axis direction), and θ represents the rotation angle of the swing.
[0170] Since the swinging process of the dog 212 may include not only swinging back and forth along the z-axis direction but also swinging left and right along the x-axis direction, the shadow image 24 may move up and down in the y-axis direction corresponding to the position change of the dog 212 swinging back and forth, and the shadow image 24 may move left and right in the x-axis direction corresponding to the position change of the dog 212 swinging back and forth.
[0171] For example, compared to Fig.10 As shown, when the dog 212 swings to the lowest point, the shadow image 24 is at position 1. When the dog 212 swings to the left rear, the x-axis coordinate value of the position where the shadow image 24 is located can be greater than the x-axis coordinate value of position 1, and the y-axis coordinate value of the position where the shadow image 24 is located can be greater than the y-axis coordinate value of position 1.
[0172] For example, compared with Fig.10 As shown, when the dog 212 swings to the lowest point, the shadow image 24 is at position 1. When the dog 212 swings to the right front, the x-axis coordinate value of the position where the shadow image 24 is located can be smaller than the x-axis coordinate value of position 1, and the y-axis coordinate value of the position where the shadow image 24 is located can be smaller than the y-axis coordinate value of position 1.
[0173] like Figure 10-12 As shown, during the period when the dog 212 swings back and forth on the turbulent swing, the display position of the shadow image 24 changes accordingly along the y-axis direction, but the display content of the shadow image 24 can remain consistent.
[0174] In another feasible implementation, as the orientation of the subject changes, the display orientation and display content of the shadow change accordingly. By making the display orientation and display content of the shadow change accordingly with the orientation of the subject, the electronic watch can display the shadow more realistically and improve the visual effect of the dial display.
[0175] In one embodiment, the static component may include multiple shadow images, which correspond to multiple positions of the 3D model 21. For example, the dog 212 is located at Figure 4 When the position is at the left rear as shown, the corresponding shadow picture is as follows Figure 4 As shown in the shadow image 23. For example, dog 212 is located at Figure 6 When the front position is shown, the corresponding shadow picture is as follows Figure 6 The shadow in Figure 23 is shown.
[0176] In another embodiment, the 3D model 21 includes not only the dog 212 and the swing 211, but also the shadows of the dog 212 and the swing 211. Figure 4-Figure 9 The shadow picture 23 shown may be a shadow in the 3D model 21 .
[0177] like Figure 4 and Figure 5 As shown, when the dog 212 swings to the left rear position, the dog 212 and the swing 211 are tilted toward the left rear direction, and the dog 212 is in a forward-leaning posture. At this time, the shadows of the dog 212 and the swing 211 are tilted toward the positive semi-axis direction of the x-axis based on the y-axis, and the shadow image 23 reflects the shadow image of the dog 212 when it is in a forward-leaning posture and tilted toward the left rear direction.
[0178] like Figure 6 and Figure 7 As shown, when dog 212 swings to the front position, dog 212 and swing 211 tilt forward, and dog 212 is in a backward posture. At this time, the shadows of dog 212 and swing 211 are not tilted based on the y-axis, and shadow image 23 reflects the shadow image of dog 212 when it is in a backward posture and tilted forward.
[0179] like Figure 8 and Fig. 9 As shown, when dog 212 swings to the rear position, dog 212 and swing 211 tilt backward, and dog 212 is in a forward-leaning posture. At this time, the shadows of dog 212 and swing 211 are not tilted based on the y-axis, and shadow image 23 reflects the shadow image of dog 212 in a forward-leaning posture and tilted backward.
[0180] like Figure 4-Figure 9 As shown, when the dog 212 swings to different positions, the display position of the shadow image 23 is different, so that the shadow display position can be dynamically changed. For example, compared with the coordinate value of the shadow in the y-axis direction when the dog 212 swings to the front position, the coordinate value of the shadow in the y-axis direction when the dog 212 swings to the rear or left rear position is larger.
[0181] like Figure 4-Figure 9 As shown, when the dog 212 swings to different positions, the display content of the shadow image 23 is different, so that the effect of dynamic change of the shadow display content can be presented.
[0182] For example, in response to the user's perspective change operation, the electronic watch can display a dynamic display effect of a three-dimensional model and a dynamic display effect of a two-dimensional image. In the above scenario 1, in response to the perspective change operation performed by the user, the two dial interfaces displayed successively by the electronic watch are different, and can be reflected in the different display orientations of the 3D model 21, the two-dimensional background image 22, and the background image in the two dial interfaces.
[0183] Among them, the display orientation of the three-dimensional model and the display orientation of the two-dimensional image can be determined according to the operation parameters of the view angle change operation such as the view rotation direction, the view rotation angle, the view distance, etc.
[0184] The self-rotation of the three-dimensional model in the corresponding direction and angle can be controlled according to the line of sight rotation direction and line of sight rotation angle of the perspective change operation to change the display direction of the three-dimensional model. The z-axis coordinate value of the three-dimensional model can be changed according to the line of sight distance of the perspective change operation to change the display position of the three-dimensional model.
[0185] The position of the two-dimensional image can be controlled to translate in the x-axis and y-axis directions according to the line of sight rotation direction and the line of sight rotation angle, or the two-dimensional image can be controlled to rotate itself. In addition, the z-axis coordinate value of the two-dimensional image can be changed according to the line of sight distance to change the display orientation of the two-dimensional image.
[0186] In response to the viewing angle change operation, the change in the display orientation of the two-dimensional image may include a change in the display area and display position of the two-dimensional image.
[0187] During the display of the dial, the user's viewing angle of the dial display content may change. At this time, by changing the display orientation of the three-dimensional model and the two-dimensional image, the dial display content can be changed accordingly to match the change in the user's viewing angle. By changing the dial display content in response to the change in the user's viewing angle, the dial display content can be matched with the user's viewing angle, and the dial display effect is better.
[0188] In one embodiment, the electronic watch may be equipped with sensors such as accelerometers and gyroscopes, and the tilt of the display screen may be detected based on data collected by the sensors in real time, such as whether the display screen is tilted and the direction and magnitude of the tilt.
[0189] It is feasible to convert the tilt direction and amplitude of the display screen into the sight line rotation direction and sight line rotation angle of the viewing angle change operation, that is, to reflect the change of the user's viewing angle by the tilt of the display screen. For example, when the display screen is not tilted, the user's viewing angle can be considered to be normal viewing, and when the display screen is tilted, the user's viewing angle can be considered to be oblique viewing. For another example, when the display screen is tilted in a certain direction, the user's viewing angle can be considered to be the viewing angle when tilted in the opposite direction.
[0190] The display area of the two-dimensional image can be changed according to the operating parameters of the viewing angle change operation, so as to have a display effect in which the display orientation of the two-dimensional image in the dial display interface changes dynamically before and after the viewing angle changes.
[0191] The two-dimensional image includes a background image, and the x-axis and y-axis coordinate values of the background image can be changed according to the sight rotation direction and the sight rotation angle to change the display area of the background image.
[0192] Exemplary, reference Fig.13In the above scenario 1, when the user viewing angle is θ1, the display image of the electronic watch may be the image shown by label 1301 (i.e., displaying the two-dimensional background image 22), and when the user viewing angle is θ2, the display image of the electronic watch may be the image shown by label 1302.
[0193] like Fig.13 As shown, when the user viewing angle is θ1, the dial display content includes the trees 221, all of the grass 222 and all of the stones 223 in the two-dimensional background image 22, and the trees 221 and the grass 222 near the trees 221 are located on one side of the image, and the stones 223 far away from the trees 221 are located on the other side of the image.
[0194] When the user viewing angle is θ2, the dial display content includes the tree 221, part of the grass 222 and part of the stone 223 in the two-dimensional background image 22, the other parts of the grass 222 and the other parts of the stone 223 are not displayed, and the tree 221 and the grass 222 near the tree 221 are located in the middle of the image rather than on one side.
[0195] That is, when the user viewing angle is θ1, the display area of the two-dimensional background image 22 is the area where the image shown by label 1301 is located. When the user viewing angle is θ2, the display area of the two-dimensional background image 22 is the area where the intersection of the image shown by label 1301 and the image shown by label 1302 is located. In this way, the display area of the two-dimensional background image 22 changes based on the change of the user viewing angle.
[0196] In one embodiment, when the user's viewing angle gradually changes from θ1 to θ2, the image displayed on the electronic watch may gradually change from the image shown by label 1301 to the image shown by label 1302.
[0197] refer to Fig.13 , the displayed image of the background image at any viewing angle can be the part of the image at that viewing angle of the background image. In this way, when the user's viewing angle changes, the part of the image at the viewing angle before the change of the background image can be displayed by panning, and then the part of the image at the viewing angle after the change of the background image can be displayed by panning.
[0198] The direction of translation may be consistent with the direction of viewing angle change. For example, if the user's viewing angle changes in the direction of the positive semi-axis of the x-axis, the display of the background image is translated in the direction of the positive semi-axis of the x-axis.
[0199] In one embodiment of the present application, when the user's viewing angle changes, the electronic watch can achieve dynamic display of static components when the viewing angle changes by means of translation and edge pixel expansion.
[0200] If the displayed image of the background picture at a certain viewing angle may be the entire image of the background picture, then the displayed image of the background picture at other viewing angles may include the partial image of the background picture at that viewing angle and the image obtained by expanding the edge pixels.
[0201] refer to Fig.13 If the user's viewing angle is θ1, the electronic watch's display image of the two-dimensional background image 22 can be the entire image of the two-dimensional background image 22 (i.e., the image shown by label 1301); if the user's viewing angle is θ2, the electronic watch's display image of the two-dimensional background image 22 can include the part of the image under the θ2 viewing angle of the two-dimensional background image 22 (i.e., the intersecting part of the image shown by label 1302 and the image shown by label 1301) and the image obtained by edge pixel expansion (i.e., the remaining part of the image shown by label 1302 except the intersecting part).
[0202] by Fig.13 Taking the square translation along the x-axis to display the image shown by label 1302 as an example, pixels can be expanded to the right according to the pixels at the right edge of the two-dimensional background image 22, and the expanded pixels can be consistent with the pixels at the right edge of the two-dimensional background image 22.
[0203] In one embodiment of the present application, when the user's viewing angle changes, the electronic watch can also achieve dynamic display of static components when the viewing angle changes by switching background images.
[0204] It can be seen that the perspective change operation can lead to the dynamic display of the background image, which can be achieved by translation, edge pixel expansion, and switching background images. The displayed image of the background image changes with the change of the user's perspective, so that a continuous and smooth dial display effect can be presented when the user's perspective changes.
[0205] The display orientation of the 3D model can be changed according to the operating parameters of the view angle change operation.
[0206] For example, in the above scenario 1, when the user is looking directly at the dial, the dial display content of the electronic watch may be as follows: Fig.14 As shown in the figure, when the user is looking at the dial at an angle, the dial display content of the electronic watch can be as follows: Fig.15 As shown, the display orientation of the 3D model 21 changes dynamically as the user's viewing angle changes.
[0207] like Fig.14 As shown, when the user looks directly at the dial, the electronic watch can display the front image that can be seen when looking directly at the 3D model 21. Fig.15 As shown, when the user squints at the dial, the electronic watch can display the side image that can be seen by squint at the 3D model 21. Fig.14 The front view of the 3D model 21 is shown. Fig.15 The side image of the 3D model 21 shown may be an image that a user can see by rotating the 3D model 21 while keeping the user's viewing angle unchanged.
[0208] The change in user perspective can be matched by displaying the rotated image of the dynamic component. When the user changes the perspective, the user can see that the display orientation of the dynamic component on the dial has a corresponding rotation change, which can improve the user experience.
[0209] The display orientation of the two-dimensional image can be changed according to the operating parameters of the viewing angle change operation, so as to have a display effect in which the display orientation of the two-dimensional image in the dial display interface changes dynamically before and after the viewing angle changes.
[0210] The two-dimensional image includes a shadow image, and the x-axis and y-axis coordinate values of the shadow image can be changed according to the sight rotation direction and the sight rotation angle to change the display position of the shadow image.
[0211] When the user's viewing angle changes, the electronic watch can control the position of the static component in the coordinate system to change, so that the dial display orientation of the static component changes. If the static component includes a background image and a shadow image, the background image and the shadow image can be synchronously translated.
[0212] refer to Fig.14 and Fig.15 When the user's viewing angle changes from straight-on to oblique-on, the electronic watch has a translation change in the display content of the two-dimensional background image 22 and the shadow image 23, so that the relative position relationship between the shadow image 23 and the background objects (trees 221, grass 222, stones 223) in the two-dimensional background image 22 remains consistent. In this way, when the user's viewing angle changes from straight-on to oblique-on, the display area of the two-dimensional background image 22 has a dynamic change, and the display position of the shadow image 23 has a dynamic change.
[0213] An embodiment of the present application provides a dial display method, which may include the following steps 1) to 3):
[0214] Step 1), obtain a dial component, the dial component includes a three-dimensional model and a two-dimensional image.
[0215] The three-dimensional model is a dynamic component of the dial, which is used to generate complex animation effects. Preferably, the dynamic component of the dial component may include one or more three-dimensional models.
[0216] In one embodiment, the three-dimensional model is used to display the foreground object. Figure 2 The 3D model 21 is shown.
[0217] The two-dimensional picture is a static component of the dial, and may not produce an animation effect or be used to produce a simple animation effect. Preferably, the static component of the dial component may include one or more two-dimensional pictures.
[0218] In a feasible implementation, the static component of the dial component may include a foreground image, a background image, and an image whose component position is between the foreground image and the background image.
[0219] The foreground image can be in front of other components of the dial and can block other components behind it.
[0220] The background image can be located behind other components of the dial and can be blocked by other components in front of it. Figure 2 and Figure 3 As shown, the 3D model 21 is located in front of the two-dimensional background image 22 and can block part of the image content of the two-dimensional background image 22 .
[0221] In a feasible implementation, the background picture contains images of all elements that serve as the background of the dial display.
[0222] In one embodiment, the two-dimensional image includes an image for displaying a background object. Exemplarily, the two-dimensional image included in the dial component may be as follows: Figure 2 The two-dimensional background image 22 is shown.
[0223] Step 2), displaying a first dial interface according to the three-dimensional model and the two-dimensional image.
[0224] In one embodiment, the first dial interface can be as follows Figure 3 shown.
[0225] Step 3), in response to the user's first operation on the dial, display a second dial interface according to the three-dimensional model and the two-dimensional image, wherein the display orientation of the three-dimensional model in the first dial interface is different from the display orientation in the second dial interface.
[0226] In response to the first operation, the display orientation of the three-dimensional model in the dial display interface changes dynamically, wherein the orientation is different, and the orientation may be the same direction but different position, different direction but the same position, or different direction and position.
[0227] The first operation may be a touch screen operation or an operation of changing the user's viewing angle.
[0228] The touch screen operation may be a sliding operation, a clicking operation, etc. performed by the user on the dial display screen during the dial display. In response to the touch screen operation, the display orientation of the three-dimensional model in the dial display interface is different.
[0229] For example, reference Figure 5In response to the user's sliding operation, the displayed image of the 3D model 21 may be the dog 212 swinging to the left rear. Prior to this, the displayed image of the 3D model 21 may be the image of the dog 212 when it is still, that is, there is a three-dimensional animation effect from being still to swinging to the left rear.
[0230] For example, reference Fig. 9 In response to the user's click operation, the displayed image of the 3D model 21 may be the dog 212 swinging backwards. Prior to this, the displayed image of the 3D model 21 may be the image of the dog 212 when it is still, that is, there is a three-dimensional animation effect from stillness to swinging backwards.
[0231] The perspective change operation may be an operation performed by the user during the dial display to change the perspective (such as head movement), an operation that triggers the user's perspective change (such as the user's wrist movement at the electronic watch wearing position), etc. In response to the perspective change operation, the display orientation of the three-dimensional model in the dial display interface is different.
[0232] For example, the display image of the first dial interface can be Fig.14 In response to the viewing angle change operation, the display image of the second dial interface may be Fig.15 As shown in the image, the display orientation of the 3D model 21 changes in the dial display interface.
[0233] In one embodiment, the change of the user's viewing angle can be detected by detecting the tilt of the dial display screen. In another embodiment, the change of the user's viewing angle can also be detected by a face image collected by a built-in camera.
[0234] The three-dimensional model in the embodiment of the present application is a dynamic component of the dial, which can produce complex animation effects, and the two-dimensional picture is a static component of the dial, which can produce no animation effects or simple animation effects. The electronic watch can present a dynamic dial display effect by displaying the dynamic components and static components of the dial. In addition, the embodiment of the present application can also reduce the size and calculation amount of the dial component, and the dial display based on this can save the memory and computing resource consumption of the electronic watch. In this way, the embodiment of the present application supports the display of high-precision dynamic dials on electronic devices with small memory and weak computing power.
[0235] In one embodiment, the above step 3) may include: obtaining an operation parameter of the first operation; and determining the display orientation of the three-dimensional model according to the operation parameter, that is, determining the display orientation of the three-dimensional model in the second dial display interface to change the display orientation of the three-dimensional model.
[0236] If the first operation is detected, the operation parameters of the first operation can be obtained, and the display orientation of the three-dimensional model can be changed according to the obtained operation parameters, and then the second dial interface is displayed according to the changed display orientation, so that the display orientation of the three-dimensional model in the dial interface changes to present the animation effect of the three-dimensional model. In one embodiment, the operation parameters of the touch screen operation include one or more of the following: the displacement size of the touch screen displacement of the touch screen operation; the displacement direction of the touch screen displacement of the touch screen operation; the touch screen duration of the touch screen operation; the touch screen area of the touch screen operation; the touch screen pressure of the touch screen operation. These operation parameters can be used to determine the display position and / or display direction of the three-dimensional model.
[0237] In one embodiment, the step of determining the display orientation of the three-dimensional model according to the operating parameters may include: determining the x-axis coordinate value and the y-axis coordinate value of the three-dimensional model in a set coordinate system according to the displacement size and displacement direction; determining the z-axis coordinate value of the three-dimensional model in the set coordinate system according to at least one of the touch screen duration, the touch screen area and the touch screen pressure; wherein the z-axis of the set coordinate system is perpendicular to the display screen of the dial.
[0238] refer to Figure 2 and Figure 3 The displacement size and displacement direction can determine the size and direction of the horizontal force F1, and the touch screen duration, touch screen area and touch screen pressure can be used to determine the size of the vertical force F2. Based on the two forces, the display position of the 3D model 21 can be determined.
[0239] By converting the touch screen displacement of the touch screen operation into the position on the xy plane and converting the touch screen pressure into the z-axis coordinate value, the touch screen operation can be converted into the display position of the three-dimensional model. Based on the change of the display position, a three-dimensional animation effect of the three-dimensional model can be presented.
[0240] In one embodiment, the display direction of the 3D model can be determined by the spatial position of the 3D model. For example, in the above scenario 1, after the spatial position of the 3D model 21 is determined, the display direction of the 3D model 21 can be determined based on the restraining effect of the swing rope. Figure 4 In the illustrated embodiment, the display direction of the 3D model 21 is that the 3D model 21 is tilted toward the left rear.
[0241] In another embodiment, the orientation of the three-dimensional model may remain fixed, for example, the three-dimensional model is never tilted.
[0242] In one embodiment, the operation parameters of the perspective changing operation include one or more of the following: a line of sight rotation direction of the perspective changing operation; a line of sight rotation angle of the perspective changing operation; and a line of sight distance of the perspective changing operation.
[0243] In one embodiment, the step of determining the display orientation of the three-dimensional model based on the operating parameters may include: determining the rotation direction of the three-dimensional model in a set coordinate system based on the line of sight rotation direction; determining the rotation angle of the three-dimensional model in the set coordinate system based on the line of sight rotation angle; determining the z-axis coordinate value of the three-dimensional model in the set coordinate system based on the line of sight distance; wherein the z-axis of the set coordinate system is perpendicular to the display screen of the dial.
[0244] The display orientation of the three-dimensional model may be changed according to the operation parameters of the viewing angle change operation. The change of the display orientation may involve the rotation change and the change of the z-axis coordinate value of the three-dimensional model, so as to match the change of the user's viewing angle.
[0245] Exemplary, reference Fig.14 and Fig.15 When the user's viewing angle changes from normal viewing to oblique viewing, the three-dimensional model undergoes a corresponding angle of rotation, causing the display orientation of the three-dimensional model to change.
[0246] In addition to causing a change in the display orientation of the 3D model, the user operation may also cause a change in the display orientation of the 2D image. In such an embodiment, the display orientation of the 2D image in the first dial interface is different from the display orientation in the second dial interface.
[0247] refer to Figure 5 , Figure 7 and Fig. 9 In response to the touch screen operation, the display position of the background image in the dial display interface remains unchanged, but the display position of the shadow image in the dial display interface changes. In other embodiments, in response to the touch screen operation, the display position of the background image in the dial display interface may also change, and this application does not limit this.
[0248] refer to Fig.14 and Fig.15 In response to the viewing angle change operation, the display position of the background image in the dial display interface changes, and the display position of the shadow image in the dial display interface changes.
[0249] In addition to changing the display position of the two-dimensional image, user operations can also change the display content of the two-dimensional image (such as display shape, display color, etc.). In such an embodiment, the display content of the two-dimensional image in the first dial interface is different from the display content in the second dial interface.
[0250] refer to Figure 5 , Figure 7 and Fig. 9 In response to the touch screen operation, the display orientation and display shape of the shadow image 23 change.
[0251] In one embodiment, the above step 3) includes: determining the display area of the two-dimensional image according to the first operation, that is, determining the display area of the two-dimensional image in the second dial display interface to change the display area of the two-dimensional image.
[0252] For example, in response to the viewing angle change operation, the display area of the background image can be determined according to the operating parameters of the viewing angle change operation (such as the sight rotation direction and angle). Figure 14-15 In response to the viewing angle change operation, the display area of the background image changes.
[0253] In one embodiment, the above step 3) includes: determining the display shape of the two-dimensional image according to the first operation, that is, determining the display shape of the two-dimensional image in the second dial display interface to change the display shape of the two-dimensional image.
[0254] For example, in response to the touch screen operation, the display shape of the shadow image (the image used to reflect the shadow of the three-dimensional model) can be determined according to the operation parameters of the touch screen operation, so that the display shape of the shadow image matches the display orientation of the three-dimensional model. Figure 5 , Figure 7 and Fig. 9 In response to the touch screen operation, the display shape of the shadow image 23 changes.
[0255] In one embodiment, the above step 3) includes: determining the display position of the two-dimensional image according to the first operation, that is, determining the display position of the two-dimensional image in the second dial display interface to change the display position of the two-dimensional image.
[0256] Exemplarily, in response to the touch screen operation, the display orientation of the shadow image can be determined according to the operation parameters of the touch screen operation, so that the display orientation of the shadow image matches the display orientation of the three-dimensional model. Figure 10-12 In response to the touch screen operation, the display position of the shadow image 24 changes.
[0257] Exemplarily, in response to the viewing angle change operation, the display position of the shadow image can be determined according to the operating parameters of the viewing angle change operation. Figure 14-15 In response to the viewing angle change operation, the display position of the shadow image 23 changes.
[0258] The specific technical implementation and effects of the dial display method provided in the embodiment of the present application can be referred to the description of other embodiments of the present application and will not be repeated here.
[0259] An embodiment of the present application also provides a dial display device, including: an acquisition module, used to acquire a dial component, the dial component including a three-dimensional model and a two-dimensional picture; a display module, used to display a first dial interface based on the three-dimensional model and the two-dimensional picture; in response to a first operation of the user on the dial, a second dial interface is displayed based on the three-dimensional model and the two-dimensional picture; wherein the display orientation of the three-dimensional model in the first dial interface is different from the display orientation in the second dial interface.
[0260] An embodiment of the present application also provides an electronic chip, which task processing chip is installed in an electronic device (UE), and the electronic chip includes: a processor, which is used to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method steps provided by any method embodiment of the present application.
[0261] An embodiment of the present application also proposes a terminal device, which includes a communication module, a memory for storing computer program instructions, and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, the terminal device is triggered to execute the method steps provided by any method embodiment of the present application.
[0262] An embodiment of the present application also provides an electronic device, which includes multiple antennas, a memory for storing computer program instructions, a processor for executing computer program instructions, and a communication device (such as a communication module that can implement 5G communication based on the NR protocol), wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps provided by any method embodiment of the present application.
[0263] Specifically, in an embodiment of the present application, one or more computer programs are stored in the above-mentioned memory, and the one or more computer programs include instructions. When the instructions are executed by the above-mentioned device, the above-mentioned device executes the method steps described in the embodiment of the present application.
[0264] Furthermore, the devices, apparatuses, and modules described in the embodiments of the present application may be implemented by computer chips or entities, or by products having certain functions.
[0265] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0266] In the several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0267] Specifically, a computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method steps provided in the embodiment of the present application.
[0268] The embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is run on a computer, it enables the computer to execute the method steps provided by the embodiment of the present application.
[0269] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0270] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0271] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0272] The integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory, random access memory, disk or optical disk and other media that can store program code.
[0273] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0274] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0275] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments of the present application can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0276] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the same or similar parts between the various embodiments in this application can be referred to each other. For example, the specific working process of the system, device and unit described in the embodiments of this application can refer to the corresponding process in the method embodiment of this application, and will not be repeated here.
[0277] The above description is only a specific embodiment of the present application and is not intended to limit the present application. The protection scope of the present application shall be based on the claims.
Claims
1. A dial display method, characterized in that: include: Acquire a dial component, wherein the dial component includes a three-dimensional model and a two-dimensional picture; Displaying a first watch face interface according to the three-dimensional model and the two-dimensional picture; In response to a first operation of the user on the watch face, displaying a second watch face interface according to the three-dimensional model and the two-dimensional picture; The display orientation of the three-dimensional model in the first dial interface is different from the display orientation in the second dial interface.
2. The method according to claim 1, characterized in that The method of displaying a second dial interface according to the three-dimensional model and the two-dimensional picture in response to the first operation of the user on the dial includes: Acquire an operation parameter of the first operation; The display orientation of the three-dimensional model is determined according to the operation parameters.
3. The method according to claim 2, characterized in that The first operation includes a touch screen operation, and the operation parameters of the touch screen operation include one or more of the following: The displacement size of the touch screen displacement of the touch screen operation; a displacement direction of the touch screen displacement of the touch screen operation; The touch screen duration of the touch screen operation; The touch screen area of the touch screen operation; The touch screen pressure of the touch screen operation.
4. The method according to claim 3, characterized in that Determining the display orientation of the three-dimensional model according to the operation parameter includes: Determining an x-axis coordinate value and a y-axis coordinate value of the three-dimensional model in a set coordinate system according to the displacement magnitude and the displacement direction; Determine a z-axis coordinate value of the three-dimensional model in the set coordinate system according to at least one of the touch screen duration, the touch screen area, and the touch screen pressure; Wherein, the z-axis of the set coordinate system is perpendicular to the display screen of the dial.
5. The method according to claim 2, characterized in that: The first operation includes a perspective change operation, and the operation parameters of the perspective change operation include one or more of the following: The sight line rotation direction of the perspective changing operation; The sight line rotation angle of the perspective change operation; The sight distance of the viewing angle change operation.
6. The method according to claim 5, characterized in that Determining the display orientation of the three-dimensional model according to the operation parameter includes: Determining the rotation direction of the three-dimensional model in a set coordinate system according to the line of sight rotation direction; Determining a rotation angle of the three-dimensional model in the set coordinate system according to the line of sight rotation angle; Determining a z-axis coordinate value of the three-dimensional model in the set coordinate system according to the line of sight distance; Wherein, the z-axis of the set coordinate system is perpendicular to the display screen of the dial.
7. The method according to any one of claims 1 to 6, characterized in that: The method of displaying a second dial interface according to the three-dimensional model and the two-dimensional picture in response to the first operation of the user on the dial includes: According to the first operation, determining a display area of the two-dimensional image; and / or, According to the first operation, determining a display shape of the two-dimensional image; and / or, According to the first operation, a display orientation of the two-dimensional image is determined.
8. The method according to any one of claims 1 to 6, characterized in that: The three-dimensional model is used to display the foreground object; The two-dimensional picture includes a picture for displaying a background object.
9. The method according to any one of claims 1 to 6, characterized in that: The three-dimensional model is used to display dynamic components; The two-dimensional image is used to display static components.
10. A dial display device, characterized in that: include: An acquisition module, used for acquiring a dial component, wherein the dial component includes a three-dimensional model and a two-dimensional picture; A display module, configured to display a first dial interface according to the three-dimensional model and the two-dimensional image; In response to a first operation of the user on the watch face, displaying a second watch face interface according to the three-dimensional model and the two-dimensional picture; The display orientation of the three-dimensional model in the first dial interface is different from the display orientation in the second dial interface.
11. An electronic chip, characterized in that: include: A processor, configured to execute computer program instructions stored in a memory, wherein when the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method according to any one of claims 1 to 9.
12. An electronic device, characterized in that: The electronic device comprises one or more memories for storing computer program instructions, and one or more processors, wherein when the computer program instructions are executed by the one or more processors, the electronic device is triggered to execute the method as described in any one of claims 1-9.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 9.
14. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is run on a computer, the computer is caused to perform the method according to any one of claims 1 to 9.
Citation Information
Cited By
Dial display method and apparatus, and chip, electronic device and medium
EP4733909A1
Dial display method and apparatus, and chip, electronic device and medium
WO2025077231A1