Methods and apparatus for generating dial patterns; watches; electronic devices; computer-readable storage media

By generating and synchronizing customized dial pattern parameters on electronic devices to smart watches, the problem of single dial design in traditional smart watches is solved and personalized and diversified dial design effects are achieved.

CN113722025BActive Publication Date: 2024-10-29OPPO CHONGQING INTELLIGENT TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202010457176.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-26
Publication Date
2024-10-29
Estimated Expiration
2040-05-26

AI Technical Summary

Technical Problem

The dial pattern design of traditional smart watches is relatively single and cannot meet the diverse and personalized needs of users.

Method used

By generating customized dial pattern parameters on the electronic device and sending these parameters to the watch, the watch draws and displays the customized dial pattern based on these parameters, supporting custom designs on the electronic device side and synchronizing them to the watch.

Benefits of technology

It realizes the effect of customizing the dial pattern on the watch, meets the diverse and personalized needs of users, and increases the diversity and dynamics of the dial pattern.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113722025B_ABST
    Figure CN113722025B_ABST
Patent Text Reader

Abstract

The present application relates to a dial pattern generation method and device, a watch, an electronic device, and a computer-readable storage medium, which are applied to a watch to receive generation parameters of a dial pattern sent by an electronic device, wherein the dial pattern is a customized dial pattern generated on the electronic device. A target graphic is drawn on the watch according to the generation parameters of the dial pattern, and the target graphic is displayed on the display screen of the watch to generate a customized dial pattern. In this way, it is possible to support customized design of dial patterns on the electronic device side, and synchronize the customized design of the dial pattern on the electronic device side to the watch for display. Thereby, the effect of customized design of dial patterns on the watch is indirectly achieved to meet the diverse and personalized needs of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart terminal technology, and in particular to a dial pattern generation method and device, a watch, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the development of mobile technology, various smart devices have emerged. Among them, smart watches have come into being, which have brought great changes to people's lives and brought a lot of convenience. The dial of a smart watch can not only display time information like a traditional watch, but also display patterns. The design of the dial pattern of a traditional smart watch is relatively simple, so the dial pattern can only display a single pattern. As people's lives become more and more colorful, it is obvious that the dial pattern that can only display a single pattern can no longer meet the diverse and personalized needs of users.

[0003] Therefore, there is an urgent need to solve the problem that a single pattern on a traditional dial can no longer meet the diverse and personalized needs of users. Summary of the invention

[0004] The embodiments of the present application provide a dial pattern generation method and device, a watch, an electronic device, and a computer-readable storage medium that can meet the diverse and personalized needs of users.

[0005] A method for generating a dial pattern, the method comprising:

[0006] Receiving generation parameters of a dial pattern sent by an electronic device, wherein the dial pattern is a custom dial pattern generated on the electronic device;

[0007] Drawing a target graphic on the watch according to the generation parameters of the dial pattern;

[0008] The target graphic is displayed on a display screen of the watch to generate a customized dial pattern.

[0009] A dial pattern generation method is applied to electronic equipment, the method comprising:

[0010] Generating a customized dial pattern on the electronic device;

[0011] Obtaining generation parameters of the dial pattern;

[0012] The generation parameters of the dial pattern are sent to the watch, so that the watch draws a target graphic according to the generation parameters of the dial pattern, and displays the target graphic on a display screen of the watch to generate a customized dial pattern.

[0013] A dial pattern generating device, applied to a watch, comprising:

[0014] A generation parameter receiving module, used to receive generation parameters of a dial pattern sent by an electronic device, wherein the dial pattern is a custom dial pattern generated on the electronic device;

[0015] A target graphic drawing module, used for drawing a target graphic on the watch according to the generation parameters of the dial pattern;

[0016] The display module is used to display the target graphic on the display screen of the watch to generate a customized dial pattern.

[0017] A watch comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the computer program is executed by the processor, the processor executes the steps of the dial pattern generation method as described above.

[0018] An electronic device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the dial pattern generation method as described above.

[0019] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the dial pattern generation method as described above.

[0020] The dial pattern generation method and device, watch, electronic device, and computer-readable storage medium are applied to an electronic device to receive dial pattern generation parameters sent by the electronic device, where the dial pattern is a custom dial pattern generated on the electronic device. A target pattern is drawn on the watch according to the dial pattern generation parameters, and the target pattern is displayed on the display screen of the watch to generate a custom dial pattern.

[0021] First, a custom dial pattern is generated on the electronic device, and the generation parameters of the custom dial pattern are sent to the watch; then, the watch receives the generation parameters of the dial pattern sent by the electronic device, and draws the target graphic on the watch according to the generation parameters of the dial pattern. Finally, the target graphic is displayed on the display screen of the watch to generate a custom dial pattern. In this way, it is possible to support the custom design of the dial pattern on the electronic device side, and synchronize the custom design of the dial pattern on the electronic device side to the watch for display. Thus, the effect of custom designing the dial pattern on the watch is indirectly achieved to meet the various personalized needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] 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.

[0023] Figure 1 A diagram showing an application environment of a dial pattern generation method in an embodiment;

[0024] Figure 2 is a flow chart of a method for generating a dial pattern in one embodiment;

[0025] Figure 3 for Figure 2 A flowchart of a method for drawing a target graphic on the watch according to generation parameters of a dial pattern;

[0026] Figure 4 A schematic diagram of the composition of a dial pattern in an embodiment;

[0027] Figure 5 A schematic diagram of a dial pattern at different times in an embodiment;

[0028] Figure 6 is a flow chart of a method for generating a dial pattern in one embodiment;

[0029] Figure 7 is a flowchart of a method for generating a dial pattern in a specific embodiment;

[0030] Figure 8 is a structural block diagram of a dial pattern generating device in one embodiment;

[0031] Fig. 9 FIG. 1 is a schematic diagram of the internal structure of an electronic device in an embodiment. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0033] Figure 1 FIG. 1 is an application scenario diagram of a dial pattern generation method in an embodiment, where the watch may be a smart watch, but is certainly not limited to a smart watch. Figure 1As shown, the application environment includes an electronic device 120 and a watch 140. Through the dial pattern generation method in the present application, a user can generate a customized dial pattern through a customized design on the electronic device 120, and the electronic device 120 obtains the generation parameters of the dial pattern and sends the generation parameters of the dial pattern to the watch 140. The watch 140 receives the generation parameters of the dial pattern sent by the electronic device 120, draws a target graphic according to the generation parameters of the dial pattern, displays the target graphic on the display screen of the watch, and generates a customized dial pattern. Here, the electronic device 120 can be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, etc.

[0034] Figure 2 FIG. 1 is a flowchart of a dial pattern generation method in one embodiment. The dial pattern generation method in this embodiment is executed in Figure 1 The watch 140 in FIG. 1 is used as an example for description. Figure 2 As shown, the dial pattern generation method includes steps 220 to 260. Among them,

[0035] Step 220, receiving generation parameters of a dial pattern sent by an electronic device, where the dial pattern is a custom dial pattern generated on the electronic device.

[0036] The dial refers to the display area on the watch 140. The dial can display a lot of content, such as: watch hands, background patterns, widgets, etc. The widgets include year, month, day, week, battery level, weather, number of steps, exercise information, health information, location information, etc. This application mainly designs the background pattern on the dial. Of course, the watch hands, widgets, etc. on the dial can be customized to set the display position, display mode, and whether to display, etc.

[0037] The user can generate a dial pattern through custom design on the electronic device 120. For example, the application for controlling the watch on the electronic device provides a function for custom designing a dial pattern. The user can custom design a dial pattern in the application, and then obtain generation parameters of the dial pattern, and send the generation parameters of the dial pattern to the watch 140. The watch 140 receives the generation parameters of the dial pattern sent by the electronic device.

[0038] The dial pattern generation parameters received by the watch 140 from the electronic device are generation parameters for customizing the dial pattern on the electronic device, such as the shape, size, color, and position information of multiple graphics constituting the custom dial pattern, and the graphics here can be regular graphics or irregular graphics. Of course, this application does not limit this.

[0039] Step 240: Draw a target graphic on the watch according to the generation parameters of the dial pattern.

[0040] After the watch 140 receives the generation parameters of the dial pattern sent by the electronic device, the target graphics are drawn according to the generation parameters of the dial pattern. Because the size of the electronic device display screen is different from that of the watch display screen, and in most cases the size of the electronic device display screen is larger than that of the watch display screen, when drawing the target graphics according to the generation parameters of the dial pattern on the electronic device, the generation parameters will be reduced accordingly to adapt to the smaller display screen of the watch. After the generation parameters are reduced, the target image can be drawn according to the reduced generation parameters. For example, the reduction here can be proportional reduction or non-proportional reduction, and this application does not limit this.

[0041] Step 260, displaying the target graphic on the display screen of the watch to generate a customized dial pattern.

[0042] The target graphic drawn according to the generation parameters of the dial pattern on the electronic device is displayed on the display screen of the watch, thereby completing the effect of synchronizing the custom pattern on the electronic device on the watch, and also generating a custom dial pattern on the watch.

[0043] In an embodiment of the present application, first, a custom dial pattern is generated on an electronic device, and the generation parameters of the custom dial pattern are sent to a watch; then, the watch receives the generation parameters of the dial pattern sent by the electronic device, and draws a target graphic according to the generation parameters of the dial pattern. Finally, the target graphic is displayed on the display screen of the watch to generate a custom dial pattern. In this way, it is possible to support the custom design of the dial pattern on the electronic device side, and synchronize the custom design of the dial pattern on the electronic device side to the watch for display. Thus, the effect of custom designing the dial pattern on the watch is indirectly achieved, meeting the various personalized needs of users.

[0044] In one embodiment, the dial pattern generation parameters include parameters of a first initial graphic of the dial pattern and a first graphic transformation parameter;

[0045] The dial pattern generation parameters sent by the receiving electronic device include:

[0046] Receive parameters of a first initial graphic and a first graphic transformation parameter of a dial pattern sent by an electronic device.

[0047] Among them, when the dial pattern is a first combined graphic composed of a first initial graphic and a graphic obtained by performing a graphic transformation based on the first initial graphic, the generation parameters of the dial pattern include parameters of the first initial graphic of the dial pattern and first graphic transformation parameters. The parameters of the first initial graphic include the size, color, and position information of the first initial graphic displayed on the electronic device, and the first graphic transformation parameters include parameters for scaling, translating, and rotating the first initial graphic, etc., and this application does not limit this.

[0048] The user can generate a dial pattern through a custom design on the electronic device 120, and then obtain generation parameters of the dial pattern, which include parameters of the first initial graphic of the dial pattern and first graphic transformation parameters, and send the generation parameters of the dial pattern to the watch 140. The watch 140 receives the generation parameters of the dial pattern sent by the electronic device, that is, receives the parameters of the first initial graphic of the dial pattern and the first graphic transformation parameters.

[0049] In an embodiment of the present application, the watch receives generation parameters of a dial pattern sent by an electronic device, and the generation parameters of the dial pattern include not only parameters of the first initial graphic of the dial pattern, but also first graphic transformation parameters. In this way, when the dial pattern is generated on the watch according to the generation parameters of the dial pattern, not only a second initial graphic is generated, but also a graphic transformation is performed on the basis of the second initial graphic to obtain a transformed graphic, so that the second initial graphic and the transformed graphic are combined to obtain a second combined graphic. Because the second initial graphic is transformed to obtain the transformed graphic, when the combined graphic is formed, the diversity of the combined graphics is increased, and the diversity of the watch pattern is also increased.

[0050] In one embodiment, Figure 3 As shown, a target graphic is drawn on the watch according to the generation parameters of the dial pattern, including:

[0051] Step 241, calculating display parameters of the first initial graphic on the display screen of the watch according to the parameters of the first initial graphic of the dial pattern.

[0052] The parameters of the first initial graphic of the dial pattern include the size, color, and position information of the first initial graphic of the dial pattern displayed on the electronic device. Because the size of the electronic device display screen is different from that of the watch display screen, and in most cases the size of the electronic device display screen is larger than that of the watch display screen, when drawing the target graphic according to the generation parameters of the dial pattern on the electronic device, the generation parameters will be proportionally reduced accordingly to adapt to the smaller display screen of the watch. After the generation parameters are proportionally reduced, the display parameters of the first initial graphic on the watch display screen are calculated.

[0053] Step 243: Calculate the second graphic transformation parameter on the watch according to the first graphic transformation parameter.

[0054] The first graphic transformation parameters are parameters for performing graphic transformation on the electronic device, and because the size of the electronic device display screen is different from that of the watch display screen, and in most cases the size of the electronic device display screen is larger than that of the watch display screen, it is necessary to recalculate the second graphic transformation parameters on the watch based on the graphic transformation parameters combined with the ratio of the electronic device display screen to the watch display screen.

[0055] The first graphic transformation parameters include parameters for scaling, translating and rotating the first initial graphic, and the second graphic transformation parameters include parameters for scaling, translating and rotating the second initial graphic, etc. For rotation parameters, the rotation parameters for graphic transformation on the electronic device are equivalent to the rotation parameters on the watch; for scaling parameters, the scaling parameters on the electronic device need to be proportionally reduced to obtain the scaling parameters on the watch; for translation parameters, the scaling parameters on the electronic device need to be proportionally reduced to obtain the translation parameters on the watch.

[0056] Step 245 , drawing a second initial graphic on the display screen of the watch based on the display parameters of the first initial graphic on the display screen of the watch.

[0057] After the display parameters of the first initial graphic on the display screen of the watch are calculated in the above step 241, the second initial graphic can be directly drawn on the display screen of the watch according to these display parameters. The display parameters include the positions of the pixels constituting the second initial graphic on the display screen of the watch, the pixel values ​​of these pixels, and other parameters.

[0058] Step 247, drawing a transformed graphic on the display screen of the watch based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameter on the watch.

[0059] After the second initial graphic is drawn on the display screen of the watch, the second initial graphic on the display screen of the watch can be transformed based on the graphic transformation parameters on the watch. Specifically, based on the graphic transformation parameters on the watch, the display parameters of the second initial graphic on the display screen of the watch are transformed to obtain the display parameters of the transformed graphic on the display screen of the watch. Thus, the transformed graphic can be drawn on the display screen of the watch directly according to the display parameters of the transformed graphic on the display screen of the watch.

[0060] Step 249, a target graphic is obtained by combining the second initial graphic and the transformed graphic, and the target graphic is drawn on the watch.

[0061] After the second initial graphic is drawn on the display screen of the watch, and the transformed graphic is drawn on the display screen of the watch, it can be understood that the two drawings can be performed simultaneously or in a time sequence. Finally, the second initial graphic and the transformed graphic are combined to form the target graphic. For example, Figure 4 As shown, the target graphic 420 is displayed on the dial of the watch, and the target graphic 420 is obtained by combining the graphics after the second initial graphic 422 on the electronic device is transformed. For example, the second initial graphic 422 is rotated 6°, scaled 1.02 times, and translated 2 pixels each time.

[0062] In an embodiment of the present application, the display parameters of the first initial graphic on the display screen of the watch are calculated according to the parameters of the first initial graphic of the dial pattern. The second graphic transformation parameters on the watch are calculated according to the first graphic transformation parameters. Based on the display parameters of the first initial graphic on the display screen of the watch, the second initial graphic is drawn on the display screen of the watch. Based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameters on the watch, the transformed graphic is drawn on the display screen of the watch. The second initial graphic and the transformed graphic are combined to form a target graphic. The parameters of the first initial graphic of the dial pattern customized by the user on the electronic device and the first graphic transformation parameters are adapted to the parameters of the second initial graphic of the dial pattern on the watch and the second graphic transformation parameters, thereby realizing the synchronization of the customized dial pattern on the electronic device to the watch. The effect of customizing the design of the dial pattern on the watch is indirectly achieved to meet the diverse and personalized needs of users.

[0063] In one embodiment, the target graphic is displayed on a display screen of a watch to generate a customized dial pattern, including:

[0064] The target graphic is statically displayed on the display screen of the watch to generate a customized dial pattern.

[0065] Specifically, according to the parameters of the first initial graphic of the dial pattern, the display parameters of the first initial graphic on the display screen of the watch are calculated. According to the first graphic transformation parameters, the second graphic transformation parameters on the watch are calculated. Based on the display parameters of the first initial graphic on the display screen of the watch, the second initial graphic is drawn on the display screen of the watch. Based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameters on the watch, a transformed graphic is drawn on the display screen of the watch. The second initial graphic and the transformed graphic are combined to form a target graphic.

[0066] Then, the target graphic is statically displayed on the display screen of the watch to generate a customized dial pattern. Here, static means that the target graphic is displayed on the display screen of the watch without moving. In the embodiment of the present application, the target graphic is a graphic customized on the electronic device synchronized to the graphic on the watch, and the target graphic is statically displayed on the display screen of the watch to generate a customized dial pattern. This indirectly achieves the effect of customizing the design of the dial pattern on the watch, meeting the various personalized needs of users.

[0067] In one embodiment, the target graphic is displayed on a display screen of a watch to generate a customized dial pattern, further comprising:

[0068] Dynamically display the target graphic on the watch's display to generate a customized dial pattern.

[0069] Specifically, in contrast to displaying the target graphic statically on the display screen of the watch, the target graphic can also be displayed dynamically on the display screen of the watch. Dynamic refers to being in a state of motion, as opposed to being static. The state of motion includes regular motion and irregular motion. For example, if the target graphic is a graphic corresponding to a flower, the flower can be displayed on the display screen of the watch in a dynamic form of slowly blooming, generating a customized dial pattern.

[0070] The target graphic is dynamically displayed on the display screen of the watch to generate a custom dial pattern. That is, the target graphic is always in a state of motion to form an animation, and the animation is displayed on the display screen of the watch to generate a custom dial pattern.

[0071] In the embodiment of the present application, the target graphic is synchronized from the customized graphic on the electronic device to the graphic on the watch, and the target graphic is dynamically displayed on the display screen of the watch to generate a customized dial pattern. While indirectly achieving the effect of customizing the dial pattern on the watch, it also increases the dynamism and fun of the dial pattern.

[0072] In one embodiment, the target graphic is dynamically displayed on a display screen of a watch to generate a customized dial pattern, including:

[0073] The target graphic is rotated and displayed on the watch display at a preset rate to generate a customized dial pattern.

[0074] Specifically, one of the dynamic forms is to rotate the target graphic at a preset rate and display it on the display screen of the watch to form an animation. Figure 4As shown, the target graphic 420 is displayed on the dial of the watch, and the target graphic 420 is obtained by combining the graphics after the graphic transformation of the initial graphic 422. For example, the initial graphic 422 is rotated 6 degrees, scaled 1.02 times, and translated 2 pixels each time.

[0075] Then, after obtaining the target pattern, the target pattern can be rotated and displayed on the display screen of the watch at a preset rate to generate a customized dial pattern. For example, the target pattern can be rotated at a rate of 10° per second. Of course, this application does not limit this. Figure 5 As shown, Figure 5 (a) is the position of the target image at the first time, Figure 5 (b) is the position of the target image at the second time. The position of the target image at the second time is Figure 5 The target image in (a) is obtained by rotating the target image 10° clockwise.

[0076] In the embodiment of the present application, the target graphic is rotated and displayed on the display screen of the watch at a preset speed to generate a customized dial pattern. The dial pattern is presented in the form of animation, breaking through the conventional static form of expression, giving the user a dynamic and fashionable visual experience, and meeting the diverse and personalized needs of users.

[0077] In one embodiment, the parameters of the first initial graphic include the size, color and position information of the initial graphic displayed on the electronic device, and the graphic transformation parameters include parameters for scaling, translating and rotating the initial graphic.

[0078] Specifically, the first initial graphic is a graphic designed by a user on the electronic device, and therefore, the parameters of the first initial graphic include the size, color, and position information of the initial graphic displayed on the electronic device. With these parameters, the first initial graphic on the electronic device can be synchronized to the watch to form a second initial graphic.

[0079] The first graphic transformation parameters include parameters for scaling, translating and rotating the first initial graphic. Based on the first initial graphic, the transformed graphic can be obtained by combining the first graphic transformation parameters, thereby obtaining the first combined graphic. Similarly, the second graphic transformation parameters include parameters for scaling, translating and rotating the second initial graphic. Based on the second initial graphic, the transformed graphic can be obtained by combining the second graphic transformation parameters, thereby obtaining the second combined graphic.

[0080] In an embodiment of the present application, the parameters of the first initial graphic include the size, color and position information of the initial graphic displayed on the electronic device, and the graphic transformation parameters include parameters for scaling, translating and rotating the initial graphic. Then, according to the parameters of the first initial graphic of the dial pattern, the display parameters of the first initial graphic on the display screen of the watch are calculated; according to the first graphic transformation parameters, the second graphic transformation parameters on the watch are calculated; based on the display parameters of the first initial graphic on the display screen of the watch, the second initial graphic is drawn on the display screen of the watch. Based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameters on the watch, the transformed graphic is drawn on the display screen of the watch; the second initial graphic and the transformed graphic are combined to form a target graphic. Finally, the custom dial pattern on the electronic device is synchronized to the watch dial to meet the user's diverse and personalized needs.

[0081] In one embodiment, Figure 6 As shown, a method is applied to an electronic device, characterized in that the method includes:

[0082] Step 620, generating a customized dial pattern on the electronic device;

[0083] Step 640, obtaining generation parameters of the dial pattern;

[0084] Step 660, sending the dial pattern generation parameters to the watch, so that the watch draws the target graphic on the watch according to the dial pattern generation parameters, and displays the target graphic on the display screen of the watch to generate a customized dial pattern.

[0085] In the embodiment of the present application, the user can generate a dial pattern through a custom design on the electronic device. For example, the application for controlling the watch on the electronic device provides a function for custom designing a dial pattern. The user can custom design the dial pattern in the application, and then obtain the generation parameters of the dial pattern, and send the generation parameters of the dial pattern to the watch. The watch 140 receives the generation parameters of the dial pattern sent by the electronic device.

[0086] After the watch receives the dial pattern generation parameters sent by the electronic device, the target pattern is drawn according to the dial pattern generation parameters, and the target pattern is displayed on the display screen of the watch to generate a customized dial pattern.

[0087] In a specific embodiment, Figure 7 As shown, a method for generating a dial pattern is provided, comprising the following steps:

[0088] Step 702, receiving parameters of a first initial graphic of a dial pattern and a first graphic transformation parameter sent by an electronic device;

[0089] Step 704, calculating display parameters of the first initial graphic on the display screen of the watch according to the parameters of the first initial graphic of the dial pattern;

[0090] Step 706, calculating the second graphic transformation parameter on the watch according to the first graphic transformation parameter;

[0091] Step 708: Draw a second initial graphic on the display screen of the watch based on the display parameters of the first initial graphic on the display screen of the watch.

[0092] Step 710, drawing a transformed graphic on the display screen of the watch based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameter on the watch;

[0093] Step 712, a target graphic is obtained by combining the second initial graphic and the transformed graphic, and the target graphic is drawn on the watch.

[0094] Step 714, rotating the target graphic at a preset rate and displaying it on the display screen of the watch to generate a customized dial pattern.

[0095] In the embodiment of the present application, it is possible to support the customized design of dial patterns on the electronic device side, and synchronize the customized design of dial patterns on the electronic device side to be displayed on the watch. Thus, the effect of customized design of dial patterns on the watch is indirectly achieved, meeting the various personalized needs of users.

[0096] It should be understood that although Figure 7 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 7 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0097] In one embodiment, Figure 8 As shown, a dial pattern generating device 800 is also provided, the device comprising:

[0098] A generation parameter receiving module 820 is used to receive generation parameters of a dial pattern sent by an electronic device, where the dial pattern is a custom dial pattern generated on the electronic device;

[0099] A target graphic drawing module 840, used for drawing a target graphic on the watch according to the generation parameters of the dial pattern;

[0100] The display module 860 is used to display the target graphic on the display screen of the watch and generate a customized dial pattern.

[0101] In one embodiment, the generating parameter receiving module 820 is further used to receive the parameters of the first initial graphic of the dial pattern and the first graphic transformation parameters sent by the electronic device.

[0102] In one embodiment, the target graphics drawing module 840 further includes:

[0103] A display parameter calculation unit of the first initial graphic, used to calculate the display parameters of the first initial graphic on the display screen of the watch according to the parameters of the first initial graphic of the dial pattern;

[0104] A second graphic transformation parameter calculation unit, used for calculating a second graphic transformation parameter on the watch according to the first graphic transformation parameter;

[0105] The second initial graphic drawing unit is used to draw the second initial graphic on the display screen of the watch based on the display parameters of the first initial graphic on the display screen of the watch.

[0106] a transformed graphic drawing unit, for drawing a transformed graphic on the display screen of the watch based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameter on the watch;

[0107] An image combining unit is used to combine the second initial graphic and the transformed graphic to obtain a target graphic, and draw the target graphic on the watch.

[0108] In one embodiment, the display module 860 is also used to statically display the target graphic on the display screen of the watch to generate a customized dial pattern.

[0109] In one embodiment, the display module 860 is also used to dynamically display the target graphic on the display screen of the watch to generate a customized dial pattern.

[0110] In one embodiment, the display module 860 is also used to rotate the target graphic at a preset rate and display it on the display screen of the watch to generate a customized dial pattern.

[0111] In one embodiment, the parameters of the first initial graphic include the size, color and position information of the initial graphic displayed on the electronic device, and the graphic transformation parameters include parameters for scaling, translating and rotating the initial graphic.

[0112] The division of the various modules in the above-mentioned dial pattern generating device is only for illustration. In other embodiments, the dial pattern generating device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned dial pattern generating device.

[0113] For the specific definition of the dial pattern generating device, please refer to the definition of the dial pattern generating method above, which will not be repeated here. Each module in the above-mentioned dial pattern generating device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0114] In one embodiment, a watch is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of a dial pattern generation method provided in the above embodiments.

[0115] Fig. 9 FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. Fig. 9 As shown, the electronic device includes a processor and a memory connected via a system bus. The processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement a dial pattern generation method provided in each of the above embodiments. The internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium. The electronic device can be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, etc.

[0116] The implementation of each module in the dial pattern generating device provided in the embodiment of the present application can be in the form of a computer program. The computer program can be run on an electronic device or a server. The program modules constituted by the computer program can be stored in the memory of the electronic device or the server. When the computer program is executed by the processor, the steps of the method described in the embodiment of the present application are implemented.

[0117] The embodiment of the present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the dial pattern generation method.

[0118] A computer program product comprising instructions, when the computer program product is run on a computer, causes the computer to execute a dial pattern generating method.

[0119] Any reference to memory, storage, database or other media used in the embodiments of the present application may include non-volatile and / or volatile memory. Suitable non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM) and memory bus dynamic RAM (RDRAM).

[0120] The above dial pattern generation examples only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A dial pattern generation method, applied to a watch, It is characterized in that The method comprises: Receive generation parameters of a dial pattern sent by an electronic device, wherein the dial pattern is a customized dial pattern generated on the electronic device; the generation parameters of the dial pattern include parameters of a first initial graphic of the dial pattern and first graphic transformation parameters; the parameters of the first initial graphic include size, color and position information of the initial graphic displayed on the electronic device, and the first graphic transformation parameters include parameters for scaling, translating and rotating the initial graphic; the generation parameters of the dial pattern sent by the receiving electronic device include: parameters of the first initial graphic of the dial pattern sent by the receiving electronic device and first graphic transformation parameters; wherein the application for controlling the watch on the electronic device provides a function for customizing the design of a dial pattern, and the generation parameters of the dial pattern are acquired by the electronic device after the user customizes the design of the dial pattern in the application; Drawing a target graphic on the watch according to the generation parameters of the dial pattern; including: calculating the display parameters of the first initial graphic on the display screen of the watch according to the parameters of the first initial graphic of the dial pattern; calculating the second graphic transformation parameters on the watch according to the first graphic transformation parameters; drawing a second initial graphic on the display screen of the watch based on the display parameters of the first initial graphic on the display screen of the watch; drawing a transformed graphic on the display screen of the watch based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameters on the watch; obtaining a target graphic by combining the second initial graphic and the transformed graphic, and drawing the target graphic on the watch; the generation parameters of the dial pattern according to the dial pattern first graphic transformation parameters, calculating the second graphic transformation parameters on the watch, including: calculating the second graphic transformation parameters on the watch according to the first graphic transformation parameters and the ratio of the display screen of the electronic device to the display screen of the watch; drawing the transformed graphic on the display screen of the watch based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameters on the watch, including: transforming the display parameters of the second initial graphic on the display screen of the watch based on the second graphic transformation parameters on the watch to obtain the display parameters of the transformed graphic on the display screen of the watch; drawing the transformed graphic on the display screen of the watch according to the display parameters of the transformed graphic on the display screen of the watch; The target graphic is displayed on a display screen of the watch to generate a customized dial pattern.

2. The method according to claim 1, It is characterized in that The second initial graphic and the transformed graphic are drawn simultaneously.

3. The method according to claim 1, It is characterized in that The step of displaying the target graphic on the display screen of the watch to generate a customized dial pattern includes: The target graphic is statically displayed on the display screen of the watch to generate a customized dial pattern.

4. The method according to claim 1, It is characterized in that The step of displaying the target graphic on the display screen of the watch to generate a customized dial pattern further includes: The target graphic is dynamically displayed on the display screen of the watch to generate a customized dial pattern.

5. The method according to claim 1, It is characterized in that Dynamically displaying the target graphic on the display screen of the watch to generate a customized dial pattern includes: The target graphic is rotated and displayed on the display screen of the watch at a preset rate to generate a customized dial pattern.

6. The method according to claim 1, It is characterized in that The rotation parameters for performing the graphic transformation on the electronic device are equal to the rotation parameters on the watch; The scaling parameters on the electronic device are proportionally reduced to obtain the scaling parameters on the watch; The translation parameters on the electronic device are proportionally reduced to obtain the translation parameters on the watch.

7. A dial pattern generation method, applied to electronic equipment, It is characterized in that The method comprises: Generating a customized dial pattern on the electronic device; Acquire generation parameters of the dial pattern; the generation parameters of the dial pattern include parameters of a first initial graphic of the dial pattern and first graphic transformation parameters; the parameters of the first initial graphic include size, color and position information of the initial graphic displayed on the electronic device, and the first graphic transformation parameters include parameters for scaling, translating and rotating the initial graphic; The generation parameters of the dial pattern are sent to the watch, so that the watch draws a target graphic on the watch according to the generation parameters of the dial pattern, and displays the target graphic on the display screen of the watch to generate a customized dial pattern; the generation parameters of the dial pattern are sent to the watch, including: sending parameters of a first initial graphic of the dial pattern and a first graphic transformation parameter to the watch; wherein the application for controlling the watch on the electronic device provides a function for customizing the design of the dial pattern, and the generation parameters of the dial pattern are acquired by the electronic device after the user customizes the design of the dial pattern in the application; Wherein, drawing a target graphic on the watch according to the generation parameters of the dial pattern includes: calculating display parameters of a first initial graphic on the display screen of the watch according to parameters of the first initial graphic of the dial pattern; calculating second graphic transformation parameters on the watch according to the first graphic transformation parameters; drawing a second initial graphic on the display screen of the watch based on the display parameters of the first initial graphic on the display screen of the watch; drawing a transformed graphic on the display screen of the watch based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameters on the watch; obtaining a target graphic by combining the second initial graphic and the transformed graphic, and drawing the target graphic on the watch; The first graphic transformation parameters, calculate the second graphic transformation parameters on the watch, include: calculating the second graphic transformation parameters on the watch according to the first graphic transformation parameters and the ratio of the display screen of the electronic device to the display screen of the watch; drawing the transformed graphic on the display screen of the watch based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameters on the watch, include: based on the second graphic transformation parameters on the watch, transforming the display parameters of the second initial graphic on the display screen of the watch to obtain the display parameters of the transformed graphic on the display screen of the watch; drawing the transformed graphic on the display screen of the watch according to the display parameters of the transformed graphic on the display screen of the watch.

8. A dial pattern generating device, It is characterized in that Applied to a watch, the device comprises: A generation parameter receiving module is used to receive generation parameters of a dial pattern sent by an electronic device, wherein the dial pattern is a customized dial pattern generated on the electronic device; the generation parameters of the dial pattern include parameters of a first initial graphic of the dial pattern and first graphic transformation parameters; the parameters of the first initial graphic include size, color and position information of the initial graphic displayed on the electronic device, and the first graphic transformation parameters include parameters for scaling, translating and rotating the initial graphic; the generation parameters of the dial pattern sent by the receiving electronic device include: receiving parameters of the first initial graphic of the dial pattern sent by the receiving electronic device and first graphic transformation parameters; wherein the application for controlling the watch on the electronic device provides a function for customizing the design of the dial pattern, and the generation parameters of the dial pattern are acquired by the electronic device after the user customizes the design of the dial pattern in the application; A target graphic drawing module, for drawing a target graphic on the watch according to the generation parameters of the dial pattern; the target graphic drawing module comprises: a display parameter calculation unit for a first initial graphic, for calculating the display parameters of the first initial graphic on the display screen of the watch according to the parameters of the first initial graphic of the dial pattern; a second graphic transformation parameter calculation unit, for calculating the second graphic transformation parameters on the watch according to the first graphic transformation parameters; a second initial graphic drawing unit, for drawing a second initial graphic on the display screen of the watch based on the display parameters of the first initial graphic on the display screen of the watch; a transformed graphic drawing unit, for drawing a transformed graphic on the display screen of the watch based on the second initial graphic drawn on the display screen of the watch and the second graphic transformation parameters on the watch; an image combination unit, for obtaining a target graphic by combining the second initial graphic and the transformed graphic, and drawing the target graphic on the watch; The second graphic transformation parameter calculation unit is specifically used to calculate the second graphic transformation parameter on the watch according to the first graphic transformation parameter and the ratio of the display screen of the electronic device to the display screen of the watch; The transformed graphic drawing unit is specifically used to: transform the display parameters of the second initial graphic on the display screen of the watch based on the second graphic transformation parameters on the watch to obtain the display parameters of the transformed graphic on the display screen of the watch; and draw the transformed graphic on the display screen of the watch according to the display parameters of the transformed graphic on the display screen of the watch; The display module is used to display the target graphic on the display screen of the watch to generate a customized dial pattern.

9. A watch, It is characterized in that It comprises a memory and a processor, wherein a computer program is stored in the memory, and is characterized in that when the computer program is executed by the processor, the processor executes the steps of the dial pattern generation method as described in any one of claims 1 to 6.

10. An electronic device, It is characterized in that It comprises a memory and a processor, wherein a computer program is stored in the memory, and is characterized in that when the computer program is executed by the processor, the processor executes the steps of the dial pattern generation method as described in claim 7.

11. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the dial pattern generation method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and device for showing information through dial plate

    CN103701904A

  • Information displaying method and device

    CN104536669A

  • Method and device for drawing pictures on smartwatch

    CN104850408A

  • Intelligent wristwatch and dial configuration method and dial configuration device thereof

    CN106292258A

  • Watch background picture updating method, device and system

    CN106776826A