Display device and display method
By designing multiple clock display units and rotation units in the clock interface of the display device, combined with the digital encoding table, the problem of poor display effect of the existing clock interface is solved, and the dynamic display and rotation animation effect of time numbers are realized, which improves interactivity and artistry.
Patent Information
- Application Number
- CN202411290119.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-03-21
AI Technical Summary
When the existing clock interface displays time information, the digital display form is monotonous and lacks interactivity and artistry, resulting in poor screen display effect.
By designing a plurality of clock display units in the display device, each unit includes a dial and a rotating unit, the rotating unit rotates about the center of the dial, and the display position of the rotating unit is updated in combination with the position marking and encoding value in the digital encoding table to realize the display of time numbers.
Through the orderly arrangement and combination of the rotation unit in the clock display unit at different positions on the dial, the digital display of the current time is realized, and the rotation animation is generated when the time changes, improving the interactiveness and artisticity of the picture.
Smart Images

Figure CN119676491A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of display devices, and in particular to a display device and a display method. Background Art
[0002] Display devices refer to terminal devices that can output specific display images, which can be terminal devices such as smart TVs, communication terminals, smart advertising screens, projectors, etc. Taking smart TVs as an example, smart TVs are based on Internet application technology, have open operating systems and chips, have open application platforms, can realize two-way human-computer interaction functions, and are TV products that integrate multiple functions such as audio and video, entertainment, and data to meet the diverse and personalized needs of users.
[0003] The display device can display a clock interface and display time information through the clock interface. The time information can be displayed through numbers or through hour, minute, and second hands on the clock interface. However, this method is relatively monotonous, and the displayed numbers are displayed through text, which is relatively simple and single in form, lacking interactivity and artistry, and reducing the display effect of the picture. Summary of the invention
[0004] The present application provides a display device and a display method to solve the problem of poor picture display effect of a clock interface.
[0005] In a first aspect, the present application provides a display device, comprising a display and a controller. The display is configured to display a user interface; and the controller is configured to:
[0006] Controlling the display to display a clock interface, wherein the clock interface includes a plurality of first clock display units, wherein the first clock display units include a dial and a rotating unit, and the rotating unit rotates around the center of the dial;
[0007] Get the time number corresponding to the current time;
[0008] Searching for a code array associated with the time number in a digital code table, the code array comprising a position number and a code value, the position number being used to represent a display position of the first clock display unit on the clock interface, and the code value being used to represent a display position of a rotating unit in the first clock display unit on the dial;
[0009] The display position of the rotating unit in the first clock display unit is updated according to the encoding array, so that a plurality of the first clock display units present the time digits.
[0010] In a second aspect, the present application further provides a display method, which is applied to the above-mentioned display device, and the method comprises:
[0011] Controlling the display to display a clock interface, wherein the clock interface includes a plurality of first clock display units, wherein the first clock display unit includes a dial and a rotating unit, and the rotating unit rotates around the center of the dial;
[0012] Get the time number corresponding to the current time;
[0013] Searching for a code array associated with the time number in a digital code table, the code array comprising a position number and a code value, the position number being used to represent a display position of the first clock display unit on the clock interface, and the code value being used to represent a display position of a rotating unit in the first clock display unit on the dial;
[0014] The display position of the rotating unit in the first clock display unit is updated according to the encoding array, so that a plurality of the first clock display units present the time digits.
[0015] It can be seen from the above technical solutions that some embodiments of the present application provide a display device and a display method, wherein the method can obtain the time digits corresponding to the current time when the display displays a clock interface. The clock interface includes multiple first clock display units, the first clock display unit includes a dial and a rotating unit, and the rotating unit rotates around the center of the dial. Then, the coding array associated with the time digits is searched in the digital coding table, the coding array includes a position number and a coding value, the position number is used to characterize the display position of the first clock display unit on the clock interface, and the coding value is used to characterize the display position of the rotating unit in the first clock display unit on the dial. The display position of the rotating unit in the first clock display unit is updated according to the coding array, so that multiple first clock display units present time digits. The method realizes the digital display of the current time by orderly arranging and combining the rotating units in the clock display unit at different positions on the dial. And when the time changes, the rotating unit rotates around the dial, which will produce different rotating animations to improve the picture display effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 A schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application;
[0018] Figure 2 A schematic diagram of the hardware configuration of a display device provided in some embodiments of the present application;
[0019] Figure 3 A schematic diagram of software configuration of a display device provided in some embodiments of the present application;
[0020] Figure 4 A schematic diagram of a flow chart of a display method provided in some embodiments of the present application;
[0021] Figure 5 A schematic diagram of a clock interface provided in some embodiments of the present application;
[0022] Figure 6 A schematic diagram of a clock display unit provided in some embodiments of the present application;
[0023] Figure 7 Another schematic diagram of a clock interface provided in some embodiments of the present application;
[0024] Figure 8 A schematic diagram of position labels for a first clock display unit in a digital display unit group provided in some embodiments of the present application;
[0025] Fig. 9 A schematic diagram of the display position of the rotating unit on the dial provided in some embodiments of the present application;
[0026] Fig.10 A schematic diagram of basic numbers provided for some embodiments of the present application. DETAILED DESCRIPTION
[0027] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.
[0028] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0029] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0030] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0031] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0032] In the embodiment of the present application, the display device 200 generally refers to a device with image display and data processing capabilities. For example, the display device 200 includes but is not limited to a smart TV, a mobile terminal, a computer, a monitor, an advertising screen, a wearable device, a virtual reality device, an augmented reality device, etc.
[0033] Figure 1 This is a schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application. Figure 1 As shown in FIG. 1 , a user can operate the display device 200 through touch operation, the mobile terminal 300 and the control device 100. The control device 100 is used to receive operation instructions input by the user and convert the operation instructions into control instructions that can be recognized and responded to by the display device 200. For example, the control device 100 can be a remote controller, a stylus pen, a handle, etc.
[0034] The mobile terminal 300 can be used as a control device for performing human-computer interaction between the user and the display device 200. The mobile terminal 300 can also be used as a communication device for establishing a communication connection with the display device 200 and performing data interaction. In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and achieve connection and communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 to achieve a synchronous display function.
[0035] In some embodiments, the mobile terminal 300 or other electronic devices may also simulate the functions of the control device 100 by running an application program for controlling the display device 200 .
[0036] like Figure 1 As also shown in FIG. 4 , the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0037] The display device 200 may provide a broadcast receiving television function, and may also additionally provide an intelligent network television function with a computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), and the like.
[0038] Figure 2 Some embodiments of the present application provide Figure 1 2 is a block diagram of the hardware configuration of the display device 200.
[0039] In some embodiments, the display device 200 may include at least one of a tuner 210 , a communication device 220 , a detector 230 , a device interface 240 , a controller 250 , a display 260 , an audio output device 270 , a memory, a power supply, and a user input interface 280 .
[0040] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0041] In some embodiments, the display 260 includes a display function component for presenting a picture, and a driving component for driving an image display. The display 260 is used to receive an image signal output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, and components of a menu control interface and a user control UI interface.
[0042] In some embodiments, the communication device 220 is a component for communicating with an external device or server 400 according to various communication protocol types. The display device 200 may be provided with a plurality of communication devices 220 according to different supported communication modes. For example, when the display device 200 supports wireless network communication, the display device 200 may be provided with a communication device 220 including a WiFi function. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including a Bluetooth function.
[0043] The communication device 220 can enable the display device 200 to communicate with the external device or server 400 by wireless or wired connection. Among them, the wired connection can connect the display device 200 with the external device through components such as data cables and interfaces. The wireless connection can connect the display device 200 with the external device through wireless signals or wireless networks. The display device 200 can establish a connection relationship with the external device directly, or indirectly establish a connection relationship through a gateway, a router, a connection device, etc.
[0044] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first interface to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to the user's operation through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.
[0045] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0046] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface receives the user input command through the graphical user interface (GUI).
[0047] In some embodiments, the audio output device 270 may be a local speaker of the display device 200, or may be an external audio output device of the display device 200. In particular, for the external audio output device of the display device 200, the display device 200 may also be provided with an external audio output terminal, and the audio output device may be connected to the display device 200 through the external audio output terminal to output the sound of the display device 200.
[0048] In some embodiments, the user input interface 280 may be used to receive instructions from a user.
[0049] In order to perform user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200. The operating system can control the display device to provide a user interface, for example, the operating system can directly control the display device to provide a user interface, or can provide a user interface by running an application program. The operating system also allows the user to interact with the display device 200.
[0050] It should be noted that the operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device.
[0051] The operating system can be divided into different modules or layers according to the functions implemented, such as Figure 3As shown, in some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the system library layer and the kernel layer.
[0052] In some embodiments, the application layer is used to provide services and interfaces for applications so that the display device 200 can run applications and interact with users based on the applications. At least one application can be run in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. that come with the operating system; they can also be applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.
[0053] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.
[0054] like Figure 3 As shown, in the embodiment of the present application, the application framework layer includes a view system, managers, content providers, etc., wherein the view system can design and implement the interface and interaction of the application, and the view system includes lists, grids, text boxes, buttons, etc. The manager includes at least one of the following modules: an activity manager is used to interact with all activities running in the system; Catheterization The Location Manager is used to provide system services or applications with access to the system location service; the Package Manager is used to retrieve various information related to the application packages currently installed on the device; the Notification Manager is used to control the display and clearing of notification messages; the Window Manager is used to manage icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.
[0055] In some embodiments, the activity manager is used to manage the life cycle of each application and the usual navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes, for example, reducing the display window, shaking the display, distorting the display, etc.
[0056] In some embodiments, the system runtime layer can provide support for the framework layer. When the framework layer is used, the operating system will run the instruction library contained in the system runtime layer, such as the C / C++ instruction library, to implement the functions to be implemented by the framework layer.
[0057] In some embodiments, the kernel layer is a functional layer between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management. Figure 3 As shown, the kernel layer may be configured with hardware drivers, and the drivers included in the kernel layer may be at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0058] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the display device 200 in the embodiment of the present application. Depending on factors such as the function of the display device and the type of operating system, the number of levels and specific level types contained in the operating system may be expressed in other forms.
[0059] Based on the above display device 200, a display screen can be presented. For example, a playback screen, a control interface, and other application interfaces. Depending on the developer or operator of the application, the application installed on the display device 200 may include various forms, such as system applications, third-party applications, etc. When the application list is displayed in the display 260, the user can select one of the applications and control the display device 200 to run the application to implement the function of the application.
[0060] In some embodiments, the display device 200 can display a clock interface, and display time information through the clock interface. For example, the time information can be displayed through numbers or through hour, minute, and second hands on the clock interface. However, this method is relatively monotonous, and the displayed numbers are displayed through text, which is relatively simple and single in form, lacking interactivity and artistry.
[0061] In some embodiments, some embodiments of the present application provide a display method, which is applied to the display device 200. Through the orderly arrangement and combination of multiple clock display units, the effective unification and integration of digital display and pointer display is achieved, and the interactivity and artistry are improved.
[0062] The display device 200 to which the display method can be applied includes: a display 260 and a controller 250. The display 260 is configured to display a user interface. The controller 250 is configured to execute the above display method, such as Figure 4 As shown, Figure 4 A flow chart of a display method provided in an embodiment of the present application specifically includes the following contents:
[0063] S401: Control the display 260 to display a clock interface.
[0064] Among them, the clock interface includes a clock display unit, the clock display unit includes a dial and a rotating unit, the rotating unit rotates around the center of the dial, and the rotating unit and the dial are both display controls in the interface.
[0065] In some embodiments, the clock display unit includes a first clock display unit and a second clock display unit, wherein the first clock display unit is used to present the current time in digits, and the second clock display unit is used to simulate a clock shape to represent the time.
[0066] For example, Figure 5 , Figure 6 As shown, Figure 5 A schematic diagram of a clock interface provided in an embodiment of the present application, Figure 6 Schematic diagram of a clock display unit provided for an embodiment of the present application. The clock interface includes 40 identical clock display units, and the 40 clock display units present a clock layout of 5 rows and 8 columns. Each clock display unit includes a dial and 2 identical rotation units, namely a first rotation unit and a second rotation unit. The rotation unit can rotate at any angle around the center of the dial. The 24 clock display units in rows 2-4 of the clock interface are first clock display units. The 16 clock display units in rows 1 and 5 are second clock display units.
[0067] It is understandable that the first rotating unit in the second clock display unit rotates around the center of the dial to simulate the rotation state of the hour hand of the clock. The second rotating unit rotates around the center of the dial to simulate the rotation state of the minute hand of the clock. The rotating unit in the first clock display unit rotates around the center of the dial to change the display position of the rotating unit on the dial. By sorting and combining different display positions of multiple rotating units on the dial, the digital display of the current time can be achieved. When the time changes, the rotating unit rotates around the dial, which will produce different rotating animations, which are smooth and natural, realize the combination of graphics and numbers, and improve interactivity and artistry.
[0068] In some embodiments, the display device 200 includes a clock interface generation module and a digital display module. The clock interface generation module is used to generate a clock interface. The digital display module is used to update the display position of the rotating unit in the clock display unit on the dial based on the current time, so that the clock interface presents the current time information.
[0069] In some embodiments, the controller 250 may create a clock interface and obtain a clock layout in response to a display instruction for displaying a clock interface. The clock layout is used to characterize the number and arrangement of clock display units, for example Figure 5 The clock layout shown is a 5-row 8-column clock layout. A clock display unit is added to the clock interface according to the clock layout, and finally the display 260 is controlled to display the clock interface.
[0070] In some embodiments, the controller 250 can set the interface background of the clock interface, for example, a solid color background such as light gray, beige, or a background with gradient color changes, to enhance the visual effect.
[0071] In some embodiments, in order to improve the display effect, the clock display unit can be set based on the screen resolution of the display 260 so that the clock display unit can cover the entire screen. That is, the controller 250 can obtain the screen resolution of the display 260, calculate the position coordinates of the clock display unit according to the screen resolution and the clock layout, and add the clock display unit to the clock interface according to the position coordinates.
[0072] In some embodiments, the display size of the clock display unit can be calculated based on the screen resolution and the clock layout, and then the horizontal starting coordinate and the vertical starting coordinate are calculated based on the screen resolution and the display size. The horizontal starting coordinate is the horizontal starting coordinate of the clock display unit on the clock interface, and the vertical starting coordinate is the vertical starting coordinate of the clock display unit on the clock interface. And the row and column information of each clock display unit is calculated according to the clock layout. The row and column information is used to characterize the position of the clock display unit on the clock interface. The row and column information includes the number of rows and columns of the clock display unit on the clock interface. Finally, the position coordinates of each clock display unit are calculated based on the horizontal starting coordinate, the vertical starting coordinate and the row and column information.
[0073] For example, using Figure 5 In the example of the clock interface shown, the display width is ScreenWidth and the display height is ScreenHeight based on the screen resolution of the display 260. According to the clock layout of 5 rows and 8 columns, the width and height of the clock display unit are ScreenWidth / 8, and the horizontal starting coordinate is 0 based on the center of the left border of the clock display unit, and the vertical starting coordinate is startY=(ScreenHeight-5*cellWidth) / 2 based on the center of the upper border of the clock display unit.
[0074] According to the layout of 5 rows and 8 columns, index values corresponding to 5 rows and 8 columns can be generated. All index values can be traversed, the row and column information of the clock display unit can be determined based on the index value, and the position coordinates of each clock display unit can be calculated based on the row and column information, that is, the position coordinates of the clock display unit in the rowth row and the colth column are (cellWidth*row, startY+cellWidth*col).
[0075] According to the position coordinates calculated above, a clock display unit is created and added to the clock interface. The clock interface is refreshed to obtain a clock interface including multiple clock display units. The clock interface initially generated and displayed is as follows: Figure 7 As shown, the rotating unit on the dial points directly upward by default.
[0076] S402: Obtain the time number corresponding to the current time.
[0077] For example, if the current time is 12:36, the corresponding time number is 1236.
[0078] S403: Searching for a coding array associated with a time number in a digital coding table.
[0079] The digital coding table includes a coding array associated with time numbers. The coding array includes a position number and a coding value. The position number is used to represent the display position of the clock display unit on the clock interface, and the coding value is used to represent the display position of the rotating unit in the clock display unit on the dial.
[0080] In some embodiments, for the creation of the digital code table, the controller 250 can configure the position number for the first clock display unit. Figure 5 In the clock interface example shown, the 24 clock display units in the 2nd to 4th rows in the clock interface are the first clock display units. The positions of the first clock display units can be marked as clock 1, clock 2, ..., clock 24 in sequence from left to right and from top to bottom.
[0081] In some embodiments, since the time digits are composed of basic digits, the basic digits are characters in the target system. For example, the ten Arabic numerals in the decimal system are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Therefore, the first clock display unit can be divided into a plurality of digital display unit groups, each of which includes a preset number of first clock display units, and a position number is configured for each first clock display unit in the digital display unit group. The basic digits are presented by a single digital display unit group.
[0082] For example, using Figure 5 In the clock interface example shown, the 24 clock display units in the 2nd to 4th rows of the clock interface display time numbers, and the time numbers are composed of 4 basic numbers, each basic number can be presented by 6 clock display units, then the 6 clock display units can be divided into a digital display unit group, that is, the 24 clock display units are divided into 4 digital display unit groups, and each digital display unit group is used to present a basic number.
[0083] like Figure 8 As shown, it is a schematic diagram of the position number of the first clock display unit in the digital display unit group provided in the embodiment of the present application. The digital display unit group includes 6 first clock display units, and the 6 first clock display units present a clock layout of 3 rows and 2 columns. The position numbers of the first clock display units are marked as clock 1, clock 2, ..., clock 6 in sequence from left to right and from top to bottom.
[0084] For the creation of the digital code table, the controller 250 can also obtain the display position of the rotating unit on the dial and configure the code value for the display position. For example, the rotating unit in each dial has 8 display positions, and different numbers can be displayed by combining the 8 different display positions. Fig. 9The figure shows a schematic diagram of the display position of the rotating unit on the dial provided in the embodiment of the present application, including top, right, bottom, left, obliquely upper right, obliquely lower right, obliquely lower left and obliquely upper left, and the code values are 1, 2, 3, 4, 5, 6, 7, 8 respectively.
[0085] In some embodiments, since the rotating unit can rotate around the dial, the display position of the rotating unit on the dial can be characterized based on the rotation angle of the rotating unit on the dial, and the rotation angle is the angle between the display position of the rotating unit on the dial and the target display position. The target display position is a preset display position on the dial. Therefore, the rotation angle of the rotating unit on the dial can be obtained, a coding value can be configured for the rotation angle, and a position coding table can be generated based on the rotation angle and the coding value.
[0086] For example, the target display position is Fig. 9 The display position shown is directly above, then the rotation angles corresponding to the eight display positions of directly above, directly right, directly below, directly left, obliquely to the upper right, obliquely to the lower right, obliquely to the lower left and obliquely to the upper left are 0, 90, 180, 270, 45, 135, 225 and 315, based on Fig. 9 The 8 display positions of the rotating unit shown can be obtained from the following position coding table:
[0087] Encoded value Location Direction Rotation Angle 1 Right up 0 2 Right 90 3 Directly below 180 4 Right left 270 5 Diagonally to the upper right 45 6 Diagonally to the lower right 135 7 Diagonally to the lower left 225 8 Diagonally to the upper left 315
[0088] After configuring the position number and the code value, the controller 250 can obtain the basic number and generate the code array of the basic number according to the position number and the code value. When creating the digital code table, the code array of the basic number is added to the digital code table for subsequent calling when displaying time information.
[0089] For example, since the time digits can be composed of digits from 0 to 9, the basic digits are 0 to 9. Each basic digit has a different structure. According to the specific characteristics of each basic digit and the display position of the rotating unit on the dial, the encoding value sequence of each basic digit can be constructed to obtain the encoding array.
[0090] Continue to use Figure 5 In the example of the clock interface shown, the first clock display unit includes two rotating units, and each first clock display unit corresponds to a coding combination, which includes 2 coding values. Based on the specific characteristics of each basic number and the coding value corresponding to the rotating unit, the following position digital coding table can be obtained:
[0091] Basic numbers Encoding Array 0 (2,3),(4,3),(1,3),(1,3),(1,2),(1,4) 1 (5,7),(3,3),(5,7),(1,3),(5,7),(1,1) 2 (2,2),(4,3),(2,3),(4,1),(1,2),(4,4) 3 (2,2),(4,3),(2,2),(1,3),(2,2),(4,1) 4 (3,3),(3,3),(1,2),(1,3),(5,7),(1,1) 5 (2,3),(4,4),(1,2),(4,3),(2,2),(4,1) 6 (2,3),(4,4),(1,3),(4,3),(1,2),(4,1) 7 (2,2),(4,3),(5,7),(1,3),(5,7),(1,1) 8 (2,3),(4,3),(2,1),(4,1),(1,2),(1,4) 9 (2,3),(4,3),(1,2),(1,3),(2,2),(1,4)
[0092] The above digital coding table includes coding arrays corresponding to basic numbers 0-9, and the coding array includes coding combinations corresponding to the 6 first clock display units in the digital display unit group, and the index information (arrangement order) of the coding array represents the position number of the first clock display unit in the digital display unit group. Taking the coding array corresponding to the basic number 0 as an example, the coding array indicates that: the coding value of the first rotation unit in the first clock display unit with the position number of clock 1 is 2, and the coding value of the second rotation unit is 3; the coding value of the first rotation unit in the first clock display unit with the position number of clock 2 is 4, and the coding value of the second rotation unit is 3; the coding value of the first rotation unit in the first clock display unit with the position number of clock 3 is 1, and the coding value of the second rotation unit is 3; the coding value of the first rotation unit in the first clock display unit with the position number of clock 4 is 1, and the coding value of the second rotation unit is 3; the coding value of the first rotation unit in the first clock display unit with the position number of clock 5 is 1, and the coding value of the second rotation unit is 2; the coding value of the first rotation unit in the first clock display unit with the position number of clock 6 is 1, and the coding value of the second rotation unit is 4.
[0093] It is understandable that based on the above digital coding table, the coding array corresponding to the basic number can be found. According to the index information of the coding array, the coding value of the rotating unit in the first clock display unit can be obtained. Then, based on the position coding table, the rotation angle corresponding to the coding value can be found, and the display position of the rotating unit can be updated according to the rotation angle, thereby realizing the display of different numbers.
[0094] S404: updating the display position of the rotating unit in the first clock display unit according to the coding array, so that the plurality of first clock display units present the time digits.
[0095] In some embodiments, based on the above digital coding table and position coding table, after the controller 250 obtains the coding array associated with the time digital, it can read the position label and the coding value in the coding array, and find the rotation angle corresponding to the coding value in the position coding table. The first clock display unit corresponding to the position label is located, and the rotation unit in the first clock display unit corresponding to the position label is rotated around the center of the dial to the rotation angle.
[0096] It should be noted that the rotation angle refers to the position angle of the rotating unit on the dial relative to the target display position. When it is necessary to control the rotating unit to rotate around the center of the dial to the rotation angle, the rotating unit can be controlled to rotate clockwise to the position of the rotation angle, or the rotating unit can be controlled to rotate counterclockwise to the position of the rotation angle.
[0097] In some embodiments, the time digits are composed of basic digits, and the basic digits are presented by a digital display unit group. Therefore, the controller 250 can split the time digits into basic digits. For each basic digit, the coding array associated with the basic digit is found in the digital coding table, the position label and the coding value are read in the coding array, and the rotation angle corresponding to the coding value is found in the position coding table. Then, the digital display unit group corresponding to the basic digit is selected in the clock interface, the first clock display unit corresponding to the position label is located in the digital display unit group, and the rotating unit in the first clock display unit is rotated around the center of the dial to the rotation angle so that the digital display unit group presents the basic digit.
[0098] For example, using Figure 5 In the example of the clock interface shown, the time number corresponding to the current time is composed of four basic numbers, namely 1, 2, 3, and 6. The four basic numbers can be displayed separately through the 4-digit display unit group. Fig.10 As shown, it is a schematic diagram of the basic numbers provided by the embodiment of the present application. Taking the basic number 3 as an example, the encoding array corresponding to the basic number 3 obtained in the digital encoding table is: (2, 2), (4, 3), (2, 2), (1, 3), (2, 2), (4, 1). That is, in the digital display unit group, the encoding value of the first rotation unit in the first clock display unit with the position label of clock 1 is 2, and the encoding value of the second rotation unit is 2; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 2 is 4, and the encoding value of the second rotation unit is 3; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 3 is 2, and the encoding value of the second rotation unit is 2; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 4 is 1, and the encoding value of the second rotation unit is 3; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 5 is 2, and the encoding value of the second rotation unit is 2; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 6 is 4, and the encoding value of the second rotation unit is 1.
[0099] For each first clock display unit, the rotation angle corresponding to the coding value can be found based on the position coding table, and the first rotating unit and the second rotating unit can be controlled to rotate on the dial to the position of the rotation angle, thereby realizing the display of the basic number 3 through the digital display unit group.
[0100] Taking the basic number 6 as an example, the encoding array corresponding to the basic number 3 obtained in the digital encoding table is: (2, 3), (4, 4), (1, 3), (4, 3), (1, 2), (4, 1). That is, in the digital display unit group, the encoding value of the first rotation unit in the first clock display unit with the position label of clock 1 is 2, and the encoding value of the second rotation unit is 3; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 2 is 4, and the encoding value of the second rotation unit is 4; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 3 is 1, and the encoding value of the second rotation unit is 3; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 4 is 4, and the encoding value of the second rotation unit is 3; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 5 is 1, and the encoding value of the second rotation unit is 2; the encoding value of the first rotation unit in the first clock display unit with the position label of clock 6 is 4, and the encoding value of the second rotation unit is 1.
[0101] For each first clock display unit, the rotation angle corresponding to the coding value can be found based on the position coding table, and the first rotating unit and the second rotating unit can be controlled to rotate on the dial to the position of the rotation angle, thereby realizing the display of the basic number 6 through the digital display unit group.
[0102] S405: Controlling the rotating unit in the second clock display unit to rotate around the center of the dial by a target angle at preset intervals, so that the second clock display unit simulates a clock to represent time.
[0103] The target angle is the angle at which the hour hand, minute hand, and second hand rotate at preset intervals on the clock.
[0104] In some embodiments, the second clock display unit can simulate the hour hand state and minute hand state of the clock. That is, the second clock display unit includes two rotating units, namely a first rotating unit and a second rotating unit. The first rotating unit rotates around the center of the dial to simulate the hour hand rotation state of the clock, and the second rotating unit rotates around the center of the dial to simulate the minute hand rotation state of the clock. When updating the currently displayed time information, the controller 250 can control the first rotating unit to rotate around the center of the dial by a first angle, and control the second rotating unit in the second clock display unit to rotate around the center of the dial by a second angle.
[0105] The first angle is the angle at which the hour hand rotates on the clock at intervals of a preset period, and the second angle is the angle at which the minute hand rotates on the clock at intervals of a preset period.
[0106] In some embodiments, the second clock display unit can simulate the hour hand state, minute hand state and second hand state of the clock. That is, the second clock display unit includes three rotating units, namely a first rotating unit, a second rotating unit and a third rotating unit. The first rotating unit rotates around the center of the dial to simulate the hour hand rotation state of the clock, the second rotating unit rotates around the center of the dial to simulate the minute hand rotation state of the clock, and the third rotating unit rotates around the center of the dial to simulate the second hand rotation state of the clock. When updating the currently displayed time information, the controller 250 can control the first rotating unit to rotate around the center of the dial by a first angle, and control the second rotating unit in the second clock display unit to rotate around the center of the dial by a second angle, and control the third rotating unit in the second clock display unit to rotate around the center of the dial by a third angle.
[0107] The first angle is the angle at which the hour hand rotates on the clock at a preset period, the second angle is the angle at which the minute hand rotates on the clock at a preset period, and the third angle is the angle at which the second hand rotates on the clock at a preset period.
[0108] For example, using Figure 5 The clock interface shown takes the hour hand state and minute hand state of the analog clock as an example. In order to improve the display effect, the preset period can be 1 second, that is, the second clock display unit is updated once per second. The first angle of rotation of the first rotating unit per second, that is, the angle of rotation of the hour hand per second, is 1 / 120 degrees. The second angle of rotation of the second rotating unit per second, that is, the angle of rotation of the minute hand per second, is 0.1 degrees. Then, every 1s, the first rotating unit is controlled to rotate 1 / 120 degrees clockwise on the dial, and the second rotating unit is controlled to rotate 0.1 degrees clockwise on the dial, thereby realizing the time display in the form of a clock.
[0109] In this embodiment, the current time information can be displayed in the form of digital display and pointer display. The clock interface is composed of the basic element of the clock display unit, which improves the overall coordination of the screen, and displays different effects through the basic form of the clock display unit. When the time changes, the rotating unit in the clock display unit rotates around the dial to produce different rotating animations, reflecting the combination of numbers and graphics, and improving interactivity and artistry.
[0110] Based on the above display method, some embodiments of the present application further provide a display device 200, wherein the display device 200 includes a display 260 and a controller 250. The display 260 is configured to display a user interface. The controller 250 is configured to:
[0111] The display 260 is controlled to display a clock interface.
[0112] The clock interface includes a plurality of first clock display units, the first clock display unit includes a dial and a rotating unit, and the rotating unit rotates around the center of the dial.
[0113] Get the time number corresponding to the current time.
[0114] Find the encoding array associated with the time number in the digital encoding table.
[0115] The coding array includes a position number and a coding value, the position number is used to represent the display position of the first clock display unit on the clock interface, and the coding value is used to represent the display position of the rotating unit in the first clock display unit on the dial.
[0116] The display positions of the rotating units in the first clock display units are updated according to the coding array, so that the plurality of first clock display units present time digits.
[0117] The same and similar parts between the various embodiments in this specification can be referenced to each other and will not be described again here.
[0118] It can be seen from the above technical solutions that the display device and display method provided in the above embodiments can obtain the time digits corresponding to the current time when the display displays the clock interface. The clock interface includes multiple first clock display units, and the first clock display unit includes a dial and a rotating unit, and the rotating unit rotates around the center of the dial. Then, the coding array associated with the time digit is searched in the digital coding table, and the coding array includes a position number and a coding value. The position number is used to characterize the display position of the first clock display unit on the clock interface, and the coding value is used to characterize the display position of the rotating unit in the first clock display unit on the dial. The display position of the rotating unit in the first clock display unit is updated according to the coding array, so that multiple first clock display units present time digits. The method realizes the digital display of the current time by orderly arranging and combining the rotating units in the clock display unit at different positions on the dial. And when the time changes, the rotating unit rotates around the dial, which will produce different rotating animations to improve the picture display effect.
[0119] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.
[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0121] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: a display configured to display a user interface; The controller is configured as: Controlling the display to display a clock interface, wherein the clock interface includes a plurality of first clock display units, wherein the first clock display units include a dial and a rotating unit, and the rotating unit rotates around the center of the dial; Get the time number corresponding to the current time; Searching for a code array associated with the time number in a digital code table, the code array comprising a position number and a code value, the position number being used to represent a display position of the first clock display unit on the clock interface, and the code value being used to represent a display position of a rotating unit in the first clock display unit on the dial; The display position of the rotating unit in the first clock display unit is updated according to the encoding array, so that a plurality of the first clock display units present the time digits.
2. The display device according to claim 1, characterized in that The controller performs the step of controlling the display to display a clock interface, and is further configured to: In response to a display instruction for displaying a clock interface, creating a clock interface; Acquire a clock layout, where the clock layout is used to characterize the number and arrangement of the first clock display units; Adding the first clock display unit in the clock interface according to the clock layout; The display is controlled to display the clock interface.
3. The display device according to claim 2, characterized in that The controller performs the step of adding the first clock display unit in the clock interface according to the clock layout, and is further configured to: Get the screen resolution; Calculate the position coordinates of the first clock display unit according to the screen resolution and the clock layout; The first clock display unit is added in the clock interface according to the position coordinates.
4. The display device according to claim 1, characterized in that Before the controller performs the step of searching the coding array associated with the time number in the digital coding table, the controller is further configured to: Configuring a position number for the first clock display unit; Obtaining a display position of the rotating unit on the dial, and configuring a coding value for the display position; Get the base number; Generate a code array of the basic number according to the position label and the code value; Create a digital coding table; Add the encoding array of the base number to the digital encoding table.
5. The display device according to claim 4, characterized in that The controller performs the steps of obtaining the display position of the rotating unit on the dial and configuring a coding value for the display position, and is further configured to: Obtaining a rotation angle of the rotation unit on the dial, wherein the rotation angle is used to characterize a display position of the rotation unit on the dial, and the rotation angle is an angle between the display position of the rotation unit on the dial and a target display position; Configuring a coded value for the rotation angle; A position encoding table is generated based on the rotation angle and the encoding value.
6. The display device according to claim 5, characterized in that The controller performs the step of updating the position of the rotating unit in the first clock display unit according to the coding array, and is further configured to: Reading the position number and the code value in the code array; Searching the rotation angle corresponding to the code value in the position code table; Locating the first clock display unit corresponding to the position mark; The rotating unit in the first clock display unit is rotated around the center of the dial to the rotation angle.
7. The display device according to claim 5, characterized in that After the controller executes the step of obtaining the time number corresponding to the current time, the controller is further configured to: Splitting the time number into base numbers; Searching the encoding array associated with the basic number in the digital encoding table; Reading the position number and the code value in the code array; Searching the rotation angle corresponding to the code value in the position code table; Locating the first clock display unit corresponding to the position mark; The rotating unit in the first clock display unit is rotated around the center of the dial to the rotation angle.
8. The display device according to claim 7, characterized in that Before the controller performs the step of locating the first clock display unit corresponding to the position mark, the controller is further configured to: Selecting a digital display unit group corresponding to a basic number in the clock interface, the digital display unit group including a preset number of first clock display units; Locating a first clock display unit corresponding to the position number in the digital display unit group; The rotating unit in the first clock display unit is rotated around the center of the dial to the rotation angle, so that the digital display unit group presents the basic numbers.
9. The display device according to claim 1, characterized in that: The clock interface further includes a second clock display unit, the second clock display unit includes a dial, a first rotating unit and a second rotating unit; the first rotating unit rotates around the center of the dial to simulate the rotation state of the hour hand of the clock, and the second rotating unit rotates around the center of the dial to simulate the rotation state of the minute hand of the clock; the controller is further configured to: At preset intervals, the first rotating unit in the second clock display unit is controlled to rotate around the center of the dial at a first angle, and the second rotating unit in the second clock display unit is controlled to rotate around the center of the dial at a second angle; the first angle is the angle at which the hour hand rotates on the clock at preset intervals, and the second angle is the angle at which the minute hand rotates on the clock at preset intervals.
10. A display method, characterized in that: Applied to the display device according to any one of claims 1 to 9, the method comprising: Controlling the display to display a clock interface, wherein the clock interface includes a plurality of first clock display units, wherein the first clock display unit includes a dial and a rotating unit, and the rotating unit rotates around the center of the dial; Get the time number corresponding to the current time; Searching for a code array associated with the time number in a digital code table, the code array comprising a position number and a code value, the position number being used to represent a display position of the first clock display unit on the clock interface, and the code value being used to represent a display position of a rotating unit in the first clock display unit on the dial; The display position of the rotating unit in the first clock display unit is updated according to the encoding array, so that a plurality of the first clock display units present the time digits.