CN113722025A - Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium - Google Patents

Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN113722025A
CN113722025A CN202010457176.5A CN202010457176A CN113722025A CN 113722025 A CN113722025 A CN 113722025A CN 202010457176 A CN202010457176 A CN 202010457176A CN 113722025 A CN113722025 A CN 113722025A
Authority
CN
China
Prior art keywords
watch
pattern
graph
dial
dial plate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010457176.5A
Other languages
Chinese (zh)
Inventor
陈德银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010457176.5A priority Critical patent/CN113722025A/en
Publication of CN113722025A publication Critical patent/CN113722025A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt

Abstract

The application relates to a dial pattern generation method and device, a watch, electronic equipment and a computer readable storage medium, which are applied to the watch and used for receiving generation parameters of a dial pattern sent by the electronic equipment, wherein the dial pattern is a self-defined dial pattern generated on the electronic equipment. And drawing a target graph on the watch according to the generation parameters of the dial plate pattern, and displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern. Therefore, the dial plate patterns can be designed by self definition at the electronic equipment end, and the dial plate patterns designed by self definition at the electronic equipment end are synchronously displayed on the watch. Therefore, the effect of self-defining design of the dial plate patterns on the watch is indirectly achieved, and various personalized requirements of users are met.

Description

Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a dial pattern generation method and device, a watch, electronic equipment and a computer readable storage medium.
Background
With the development of mobile technology, a variety of smart devices have emerged. The intelligent watch has come and go, brings great changes to the life of people, and brings convenience. The dial plate of the intelligent watch not only can display time information like a traditional watch, but also can display patterns. The design of the dial plate pattern of traditional intelligent watch is comparatively single, consequently, the dial plate pattern just also can show single pattern. People's life is more and more colorful, obviously can only show the dial plate pattern of single pattern, can not satisfy the various individualized demands of user already.
Therefore, the problem that the single pattern on the traditional dial plate cannot meet the requirements of various individualization of users is urgently needed to be solved.
Disclosure of Invention
The embodiment of the application provides a dial pattern generation method and device, a watch, electronic equipment and a computer readable storage medium, which can meet various personalized requirements of users.
A dial pattern generation method, the method comprising:
receiving generation parameters of a dial plate pattern sent by electronic equipment, wherein the dial plate pattern is a self-defined dial plate pattern generated on the electronic equipment;
drawing a target graph on the watch according to the generation parameters of the dial plate pattern;
and displaying the target graph on a display screen of the watch to generate a user-defined dial plate pattern.
A dial plate pattern generation method is applied to electronic equipment and comprises the following steps:
generating a self-defined dial plate pattern on the electronic equipment;
acquiring generation parameters of the dial plate pattern;
and sending the generation parameters of the dial plate patterns to a watch so that the watch can draw a target graph according to the generation parameters of the dial plate patterns, and displaying the target graph on a display screen of the watch to generate a user-defined dial plate pattern.
A dial pattern generating apparatus applied to a wristwatch, the apparatus comprising:
the device comprises a generation parameter receiving module, a parameter setting module and a parameter setting module, wherein the generation parameter receiving module is used for receiving generation parameters of a dial plate pattern sent by electronic equipment, and the dial plate pattern is a self-defined dial plate pattern generated on the electronic equipment;
the target graph drawing module is used for drawing a target graph on the watch according to the generation parameters of the dial plate pattern;
and the display module is used for displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern.
A watch comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the computer program, when executed by the processor, causes the processor to perform the steps of the dial pattern generation method as described above.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the dial pattern generation method as described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the dial pattern generation method as described above.
The dial pattern generation method and device, the watch, the electronic equipment and the computer readable storage medium are applied to the electronic equipment, receive generation parameters of the dial pattern sent by the electronic equipment, and the dial pattern is a self-defined dial pattern generated on the electronic equipment. And drawing a target graph on the watch according to the generation parameters of the dial plate pattern, and displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern.
Firstly, generating a self-defined dial pattern on electronic equipment, and sending a generation parameter of the self-defined dial pattern to a watch; and then, the watch receives the dial pattern generation parameters sent by the electronic equipment, and the target graph is drawn on the watch according to the dial pattern generation parameters. And finally, displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern. Therefore, the dial plate patterns can be designed by self definition at the electronic equipment end, and the dial plate patterns designed by self definition at the electronic equipment end are synchronously displayed on the watch. Therefore, the effect of self-defining design of the dial plate patterns on the watch is indirectly achieved, and various personalized requirements of users are met.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment of a dial pattern generation method in one embodiment;
FIG. 2 is a flow chart of a dial pattern generation method in one embodiment;
FIG. 3 is a flow chart of the method of FIG. 2 for drawing a target graphic on the watch based on the parameters generated by the dial pattern;
FIG. 4 is a schematic diagram showing the structure of a dial pattern in one embodiment;
FIG. 5 is a schematic diagram of a dial pattern at different times in one embodiment;
FIG. 6 is a flow chart of a dial pattern generation method in one embodiment;
FIG. 7 is a flow chart of a method for generating a dial pattern in a specific embodiment;
FIG. 8 is a block diagram showing the structure of a dial pattern generating apparatus according to an embodiment;
fig. 9 is a schematic diagram of an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a diagram illustrating an application scenario of the method for generating a dial pattern in an embodiment, where the watch may be a smart watch, but is not limited to the smart watch. As shown in fig. 1, the application environment includes an electronic device 120 and a watch 140. Through the dial plate pattern generation method in the application, a user can generate a user-defined dial plate pattern on the electronic device 120 through user-defined design, the electronic device 120 obtains generation parameters of the dial plate pattern, and the generation parameters of the dial plate pattern are sent to the watch 140. The watch 140 receives the generation parameters of the dial plate pattern sent by the electronic device 120, draws a target graph according to the generation parameters of the dial plate pattern, displays the target graph on a display screen of the watch, and generates a user-defined dial plate pattern. Here, the electronic device 120 may 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, and a wearable device.
Fig. 2 is a flowchart of a dial pattern generation method in one embodiment. The dial pattern generation method in the present embodiment is described by taking the example of running on the wristwatch 140 in fig. 1. As shown in fig. 2, the dial plate pattern generation method includes steps 220 to 260. Wherein the content of the first and second substances,
step 220, receiving the generation parameters of the dial plate patterns sent by the electronic equipment, wherein the dial plate patterns are self-defined dial plate patterns generated on the electronic equipment.
Where a dial refers to a display area on the watch 140. A number of contents can be displayed on the dial, for example: watch hands, background patterns, small inserts, etc.; the small plug-ins include year, month, day, week, electric quantity, weather, step number, exercise information, health information, position information, and the like. This application mainly designs the background pattern on the dial plate, and wrist-watch pointer, little plug-in components etc. on the dial plate can self-define and set up display position, display mode and whether show etc. certainly.
The user may create the dial design on the electronic device 120 by custom designing, for example, the functionality of custom designing the dial design on an application on the electronic device that controls the watch. The user can perform custom design of the dial plate pattern in the application program, then obtain the generation parameters of the dial plate pattern, and send the generation parameters of the dial plate pattern to the watch 140. The watch 140 receives the generation parameters of the dial pattern transmitted by the electronic device.
The generation parameters of the dial pattern received by the watch 140 and transmitted by the electronic device are the generation parameters of the user-defined dial pattern on the electronic device, for example, the shape, size, color, position information, and the like of a plurality of patterns constituting the user-defined dial pattern, where the patterns may be regular patterns or irregular patterns. Of course, this is not limited in this application.
And 240, drawing a target graph on the watch according to the generation parameters of the dial plate pattern.
After the watch 140 receives the generation parameters of the dial pattern transmitted by the electronic device, the target graphic is drawn according to the generation parameters of the dial pattern. Because the size of the electronic equipment display screen is different compared with the size of the watch display screen, and the size of the electronic equipment display screen is larger than the size of the watch display screen under most conditions, when the target graph is drawn according to the generation parameters of the upper dial plate pattern of the electronic equipment, the generation parameters are correspondingly reduced so as to adapt to the display screen with the smaller size of the watch. After the generation parameters are reduced, the target image can be drawn based on the reduced generation parameters. For example, the reduction may or may not be an equal-scale reduction, and the present application is not limited thereto.
And step 260, displaying the target graph on a display screen of the watch to generate a user-defined dial plate pattern.
And displaying a target graph drawn according to the generation parameters of the watch dial pattern on the electronic equipment on a display screen of the watch, so that the effect of synchronizing the self-defined pattern on the electronic equipment on the watch is achieved, and the self-defined watch dial pattern is also generated on the watch.
In the embodiment of the application, firstly, a user-defined dial plate pattern is generated on the electronic equipment, and the generation parameters of the user-defined dial plate pattern are sent to the watch; and then, the watch receives the dial pattern generation parameters sent by the electronic equipment and draws the target graph according to the dial pattern generation parameters. And finally, displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern. Therefore, the dial plate patterns can be designed by self definition at the electronic equipment end, and the dial plate patterns designed by self definition at the electronic equipment end are synchronously displayed on the watch. Therefore, the effect of self-defining design of the dial plate patterns on the watch is indirectly achieved, and various personalized requirements of users are met.
In one embodiment, the generation parameters of the dial plate pattern comprise parameters of a first initial graph of the dial plate pattern and first graph transformation parameters;
receiving generation parameters of a dial plate pattern sent by electronic equipment, wherein the generation parameters comprise:
and receiving parameters of a first initial graph and first graph transformation parameters of the dial pattern sent by the electronic equipment.
When the dial pattern is a first combined pattern formed by the first initial pattern and a pattern obtained by pattern conversion based on the first initial pattern, the generation parameters of the dial pattern comprise parameters of the first initial pattern of the dial pattern and first pattern conversion parameters. The parameters of the first initial graph include size, color, position information, and the like of the first initial graph displayed on the electronic device, and the first graph transformation parameters include parameters of zooming, translating, and rotating the first initial graph, which is not limited in this application.
The user can generate the dial plate pattern on the electronic device 120 through self-defined design, then obtain the generation parameters of the dial plate pattern, the generation parameters of the dial plate pattern include the parameters of the first initial graph of the dial plate pattern and the first graph transformation parameters, and send the generation parameters of the dial plate pattern to the watch 140. The watch 140 receives the generation parameters of the dial pattern transmitted by the electronic device, that is, the parameters of the first initial pattern and the first pattern conversion parameters of the dial pattern.
In the embodiment of the application, the watch receives the generation parameters of the dial plate pattern sent by the electronic equipment, and the generation parameters of the dial plate pattern not only comprise parameters of a first initial graph of the dial plate pattern, but also comprise first graph transformation parameters. In this way, when the dial pattern is generated on the wristwatch according to the generation parameters of the dial pattern, not only the second initial pattern is generated, but also the pattern conversion is performed on the basis of the second initial pattern to obtain a converted pattern, so that the second initial pattern and the converted pattern are combined to obtain a second combined pattern. Because the second initial graph is subjected to graph transformation to obtain the transformed graph, when the combined graph is formed, the diversity of the combined graph is increased, and the diversity of the watch pattern is also increased.
In one embodiment, as shown in fig. 3, drawing a target graphic on a watch according to generation parameters of a dial plate pattern includes:
and 241, calculating display parameters of the first initial graph on a display screen of the watch according to the parameters of the first initial graph of the dial pattern.
The parameters of the first initial graph of the dial pattern comprise the size, the color, the position information and the like of the first initial graph of the dial pattern displayed on the electronic equipment. Because the size of the electronic equipment display screen is different compared with the size of the watch display screen, and the size of the electronic equipment display screen is larger than the size of the watch display screen under most conditions, when the target graph is drawn according to the generation parameters of the upper dial plate pattern of the electronic equipment, the generation parameters are correspondingly reduced in equal proportion so as to adapt to the display screen with the smaller size of the watch. After the generation parameters are scaled down, the display parameters of the first initial graph on the display screen of the watch are calculated.
Step 243, calculating a second graphic transformation parameter on the watch according to the first graphic transformation parameter.
The first graphic transformation parameter is a parameter for performing graphic transformation on the electronic device, and because the size of the display screen of the electronic device is different from that of the display screen of the watch, and the size of the display screen of the electronic device is larger than that of the display screen of the watch in most cases, the second graphic transformation parameter on the watch needs to be recalculated according to the ratio of the graphic transformation parameter to the display screen of the watch.
The first graphic transformation parameters comprise parameters for zooming, translating and rotating the first initial graphic, and the second graphic transformation parameters comprise parameters for zooming, translating and rotating the second initial graphic. For the rotation parameters, the rotation parameters for performing the graphic transformation on the electronic equipment are equal to the rotation parameters on the watch; for the zooming parameters, the zooming parameters on the electronic equipment need to be reduced in an equal proportion, and the zooming parameters on the watch can be obtained; for the translation parameter, the scaling parameter on the electronic device needs to be scaled down in equal proportion to obtain the translation parameter on the watch.
And 245, drawing a second initial graph on the display screen of the watch based on the display parameters of the first initial graph on the display screen of the watch.
After the display parameters of the first initial graph on the display screen of the watch are calculated in the above step 241, the second initial graph can be directly drawn on the display screen of the watch according to the display parameters. The display parameters comprise the positions of pixel points forming the second initial graph on the watch display screen, the pixel value sizes of the pixel points and other parameters.
And 247, drawing the transformed graph on the display screen of the watch based on the second initial graph drawn on the display screen of the watch and the second graph transformation parameter on the watch.
After the second initial graph is drawn on the display screen of the watch, the second initial graph on the display screen of the watch can be subjected to graph transformation based on the graph transformation parameters on the watch. Specifically, the display parameters of the second initial graph on the display screen of the watch are transformed based on the graph transformation parameters on the watch, so that the display parameters of the transformed graph on the display screen of the watch are obtained. Therefore, the converted graph can be drawn on the display screen of the watch directly according to the display parameters of the converted graph on the display screen of the watch.
And step 249, combining the second initial graph and the transformed graph to obtain a target graph, and drawing the target graph on the watch.
After the second initial graph is drawn on the display screen of the watch and the transformed graph is drawn on the display screen of the watch, it can be understood that the two times of drawing can be performed simultaneously, and a time sequence can also exist. Finally, the second initial graph and the transformed graph are combined to form the target graph. For example, as shown in fig. 4, a target graphic 420 is displayed on the dial of the watch, and the target graphic 420 is obtained by combining graphics obtained by converting the second initial graphic 422 on the electronic device. For example, a 6 ° rotation, a 1.02 times scaling, and a 2 pixel translation of the second initial graphic 422.
In the embodiment of the application, the display parameters of the first initial graph on the display screen of the watch are calculated according to the parameters of the first initial graph of the dial pattern. And calculating a second graphic transformation parameter on the watch according to the first graphic transformation parameter. And drawing a second initial graph on the display screen of the watch based on the display parameters of the first initial graph on the display screen of the watch. And drawing the transformed graph on the display screen of the watch based on the second initial graph drawn on the display screen of the watch and the second graph transformation parameter on the watch. And combining the second initial graph and the transformed graph to form a target graph. The parameters of the first initial graph and the first graph transformation parameters of the dial plate patterns customized by the user on the electronic equipment are adaptively adjusted to the parameters of the second initial graph and the second graph transformation parameters of the dial plate patterns on the watch, so that the customized dial plate patterns on the electronic equipment are synchronized to the watch. The effect of self-defining design dial plate pattern on the wrist-watch has been realized indirectly, satisfies the demand of user's multiple individualized.
In one embodiment, displaying the target graphic on a display screen of the watch, generating a customized dial plate pattern, comprising:
and statically displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern.
Specifically, according to parameters of a first initial graph of the dial pattern, display parameters of the first initial graph on a display screen of the watch are calculated. And calculating a second graphic transformation parameter on the watch according to the first graphic transformation parameter. And drawing a second initial graph on the display screen of the watch based on the display parameters of the first initial graph on the display screen of the watch. And drawing the transformed graph on the display screen of the watch based on the second initial graph drawn on the display screen of the watch and the second graph transformation parameter on the watch. And combining the second initial graph and the transformed graph to form a target graph.
And then, statically displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern. Wherein static means that the target graphic stops being displayed on the watch display. In the embodiment of the application, the target graph is a graph which is synchronized to a watch from a user-defined graph on the electronic equipment, and the target graph is statically displayed on a display screen of the watch to generate a user-defined dial plate pattern. The effect of self-defining design of the dial plate patterns on the watch is indirectly realized, and various personalized requirements of users are met.
In one embodiment, the target graph is displayed on a display screen of the watch, and a customized dial plate pattern is generated, and the method further comprises the following steps:
and dynamically displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern.
Specifically, the target graph may be dynamically displayed on the display screen of the watch in correspondence with statically displaying the target graph on the display screen of the watch. The dynamic state is a state corresponding to the static state and always in motion. The motion state includes a regular motion and also includes a state corresponding to an irregular motion. For example, if the target pattern is a pattern corresponding to a flower, the flower can be displayed on the display screen of the watch in a dynamic form of slowly blooming, and a customized dial pattern can be generated.
And dynamically displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern. Namely, the target graph is always in a moving state to form an animation, and the animation is displayed on a watch display screen to generate a self-defined dial plate pattern.
In the embodiment of the application, the target graph is a graph which is synchronized to a watch from a user-defined graph on the electronic equipment, and the target graph is dynamically displayed on a display screen of the watch to generate a user-defined dial plate pattern. The effect of self-defining design dial plate patterns on the watch is indirectly realized, and simultaneously, the dynamic sense and the interest of the dial plate patterns are increased.
In one embodiment, dynamically displaying the target graphic on a display screen of the watch to generate a customized dial plate pattern, comprises:
and (4) displaying the target graph on a display screen of the watch in a rotating mode according to a preset speed rate to generate a self-defined dial plate pattern.
Specifically, one dynamic mode is to display the target graph on a display screen of the watch in a rotating mode according to a preset speed rate to form an animation. For example, as shown in fig. 4, a target figure 420 is displayed on the dial of the wristwatch, and the target figure 420 is obtained by combining figures obtained by converting the original figure 422 into figures. For example, by rotating the initial graphic 422 by 6 °, scaling by 1.02 times, and shifting by 2 pixels at a time.
Then, after the target graph is obtained, the target graph can be displayed on a display screen of the watch in a rotating mode according to a preset speed rate, and a user-defined dial plate pattern is generated. For example, the rotation is performed at a rate of 10 ° per second, although this is not limited in this application. As shown in fig. 5, fig. 5(a) shows the position of the target pattern at the first time, fig. 5(b) shows the position of the target pattern at the second time, and the position of the target pattern at the second time is the target pattern obtained by rotating the target pattern in fig. 5(a) by 10 ° clockwise.
In the embodiment of the application, the target graph is displayed on a display screen of the watch in a rotating mode according to the preset speed, and the user-defined dial plate pattern is generated. The dial plate patterns are presented in the form of animation, the conventional static expression form is broken through, the dynamic and fashionable visual perception is provided for the user, and the requirements of the user on various individualization are met.
In one embodiment, the parameters of the first initial graphic include size, color and position information of the initial graphic displayed on the electronic device, and the graphic transformation parameters include parameters of zooming, translating and rotating the initial graphic.
Specifically, the first initial graphic is a graphic that is custom-designed by a user on the electronic device, and thus the parameters of the first initial graphic include size, color, position information, and the like of the initial graphic displayed on the electronic device. With these parameters, a first initial pattern on the electronic device can be synchronized to a second initial pattern formed on the watch.
The first graphic transformation parameters include parameters for scaling, translating and rotating the first initial graphic. On the basis of the first initial graph, a graph after transformation can be obtained by combining the first graph transformation parameters, and then a first combined graph is obtained. Similarly, the second graphic transformation parameters include parameters for scaling, translating and rotating the second initial graphic. On the basis of the second initial graph, the transformed graph can be obtained by combining the second graph transformation parameters, and then a second combined graph is obtained.
In this embodiment of the application, the parameters of the first initial graph include size, color, and position information of the initial graph displayed on the electronic device, and the graph transformation parameters include parameters for zooming, translating, and rotating the initial graph. Then, calculating display parameters of the first initial graph on a display screen of the watch according to parameters of the first initial graph of the dial pattern; calculating a second graph transformation parameter on the watch according to the first graph transformation parameter; and drawing a second initial graph on the display screen of the watch based on the display parameters of the first initial graph on the display screen of the watch. Drawing a transformed graph on a display screen of the watch based on a second initial graph drawn on the display screen of the watch and a second graph transformation parameter on the watch; and combining the second initial graph and the transformed graph to form a target graph. Finally, the user-defined dial plate patterns on the electronic equipment are synchronized to the watch dial plate, and the requirements of various individualization of users are met.
In one embodiment, as shown in fig. 6, a method applied to an electronic device includes:
step 620, generating a self-defined dial plate pattern on the electronic equipment;
step 640, obtaining generation parameters of the dial plate pattern;
and 660, sending the generation parameters of the dial plate patterns to the watch so that the watch can draw a target pattern on the watch according to the generation parameters of the dial plate patterns, and displaying the target pattern on a display screen of the watch to generate a user-defined dial plate pattern.
In the embodiment of the application, a user can generate the dial plate pattern through custom design on the electronic equipment, for example, on an application program for controlling a watch on the electronic equipment, a function of custom design of the dial plate pattern is provided. The user can carry out custom design on the dial plate pattern in the application program, then the generation parameters of the dial plate pattern are obtained, and the generation parameters of the dial plate pattern are sent to the watch. The watch 140 receives the generation parameters of the dial pattern transmitted by the electronic device.
And after the watch receives the generation parameters of the dial pattern sent by the electronic equipment, drawing the target graph according to the generation parameters of the dial pattern. And displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern.
In a specific embodiment, as shown in fig. 7, there is provided a dial plate pattern generating method including the steps of:
step 702, receiving parameters of a first initial graph and first graph transformation parameters of a dial pattern sent by electronic equipment;
step 704, calculating display parameters of the first initial graph on a display screen of the watch according to the parameters of the first initial graph of the dial pattern;
step 706, calculating a second graph transformation parameter on the watch according to the first graph transformation parameter;
and 708, drawing a second initial graph on the display screen of the watch based on the display parameters of the first initial graph on the display screen of the watch.
Step 710, drawing a transformed graph on the display screen of the watch based on a second initial graph drawn on the display screen of the watch and a second graph transformation parameter on the watch;
and 712, combining the second initial graph and the transformed graph to obtain a target graph, and drawing the target graph on the watch.
And 714, displaying the target graph on a display screen of the watch in a rotating mode according to a preset speed rate, and generating a self-defined dial plate pattern.
In the embodiment of the application, the user-defined design of the dial plate patterns at the electronic equipment end can be supported, and the dial plate patterns designed by the user-defined design at the electronic equipment end are synchronously displayed on the watch. Therefore, the effect of self-defining design of the dial plate patterns on the watch is indirectly achieved, and various personalized requirements of users are met.
It should be understood that, although the steps in the flowchart of fig. 7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is also provided a dial pattern generating apparatus 800 comprising:
a generation parameter receiving module 820, configured to receive a generation parameter of a dial pattern sent by an electronic device, where the dial pattern is a user-defined dial pattern generated on the electronic device;
the target graph drawing module 840 is used for drawing a target graph on the watch according to the generation parameters of the dial plate pattern;
and the display module 860 is used for displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern.
In one embodiment, the parameter receiving module 820 is further configured to receive parameters of a first initial graphic and a first graphic transformation parameter of the dial pattern transmitted by the electronic device.
In one embodiment, the target graph drawing module 840 further includes:
the display parameter calculation unit of the first initial graph is used for calculating the display parameters of the first initial graph on the display screen of the watch according to the parameters of the first initial graph of the dial pattern;
the second graph transformation parameter calculation unit is used for calculating a second graph transformation parameter on the watch according to the first graph transformation parameter;
and the second initial graph drawing unit is used for drawing a second initial graph on the display screen of the watch based on the display parameters of the first initial graph on the display screen of the watch.
The transformed graph drawing unit is used for drawing a transformed graph on the display screen of the watch based on a second initial graph drawn on the display screen of the watch and a second graph transformation parameter on the watch;
and the image combination unit is used for combining the second initial graph and the transformed graph to obtain a target graph, and drawing the target graph on the watch.
In one embodiment, the display module 860 is further configured to statically display the target graphic on a display screen of the watch, and generate a customized dial plate pattern.
In one embodiment, the display module 860 is further configured to dynamically display the target graphic on a display screen of the watch, and generate a customized dial plate pattern.
In one embodiment, the display module 860 is further configured to display the target graphic on the display screen of the watch in a rotating manner according to a preset speed, so as to generate a customized dial pattern.
In one embodiment, the parameters of the first initial graphic include size, color and position information of the initial graphic displayed on the electronic device, and the graphic transformation parameters include parameters of zooming, translating and rotating the initial graphic.
The division of each module in the dial pattern generation device is only used for illustration, and in other embodiments, the dial pattern generation device may be divided into different modules as needed to complete all or part of the functions of the dial pattern generation device.
For specific limitations of the dial pattern generation device, reference may be made to the above limitations of the dial pattern generation method, which are not described herein again. The respective modules in the dial pattern generating apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is also provided a watch including a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of a dial plate pattern generation method provided in the above embodiments.
Fig. 9 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 9, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. 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 a processor for implementing a dial pattern generation method provided in the above embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a Point of Sales (POS), a vehicle-mounted computer, and a wearable device.
The respective modules in the dial pattern generation apparatus provided in the embodiments of the present application may be implemented in the form of a computer program. The computer program may be run on an electronic device or a server. The program modules constituting the computer program may be stored on a memory of the electronic device or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the dial pattern generation method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a method of dial pattern generation.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of 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), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above embodiments of dial pattern generation only represent several embodiments of the present application, and the description is specific and detailed, but not to be construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A dial pattern generation method applied to a watch, the method comprising:
receiving generation parameters of a dial plate pattern sent by electronic equipment, wherein the dial plate pattern is a self-defined dial plate pattern generated on the electronic equipment;
drawing a target graph on the watch according to the generation parameters of the dial plate pattern;
and displaying the target graph on a display screen of the watch to generate a user-defined dial plate pattern.
2. The method according to claim 1, wherein the generation parameters of the dial pattern include parameters of a first initial graphic and a first graphic conversion parameter of the dial pattern;
the receiving of the generation parameters of the dial plate patterns sent by the electronic equipment comprises the following steps:
and receiving parameters of a first initial graph and first graph transformation parameters of the dial pattern sent by the electronic equipment.
3. The method of claim 2, wherein said drawing a target graphic on said watch according to the generation parameters of said dial plate pattern comprises:
calculating display parameters of a first initial graph of the dial pattern on a display screen of the watch according to the parameters of the first initial graph;
calculating a second graphic transformation parameter on the watch according to the first graphic transformation parameter;
drawing a second initial graph on the display screen of the watch based on the display parameters of the first initial graph on the display screen of the watch;
drawing a transformed graph on the display screen of the watch based on a second initial graph drawn on the display screen of the watch and a second graph transformation parameter on the watch;
and combining the second initial graph and the transformed graph to obtain a target graph, and drawing the target graph on the watch.
4. The method of claim 1, wherein said displaying said target graphic on a display of said watch generates a customized dial pattern comprising:
and statically displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern.
5. The method of claim 1, wherein said displaying said target graphic on a display of said watch generates a customized dial pattern, further comprising:
and dynamically displaying the target graph on a display screen of the watch to generate a user-defined dial plate pattern.
6. The method of claim 1, wherein dynamically displaying the target graphic on a display of the watch, generating a customized dial pattern, comprises:
and displaying the target graph on a display screen of the watch in a rotating mode according to a preset speed rate to generate a user-defined dial plate pattern.
7. The method of claim 2, wherein the parameters of the first initial graphic comprise size, color and position information of the initial graphic displayed on the electronic device, and the graphic transformation parameters comprise parameters of scaling, translating and rotating the initial graphic.
8. A dial plate pattern generation method is applied to electronic equipment and is characterized by comprising the following steps:
generating a self-defined dial plate pattern on the electronic equipment;
acquiring generation parameters of the dial plate pattern;
and sending the generation parameters of the dial plate patterns to a watch so that the watch can draw a target pattern on the watch according to the generation parameters of the dial plate patterns, and displaying the target pattern on a display screen of the watch to generate a user-defined dial plate pattern.
9. A dial pattern generating apparatus, for use in a watch, the apparatus comprising:
the device comprises a generation parameter receiving module, a parameter setting module and a parameter setting module, wherein the generation parameter receiving module is used for receiving generation parameters of a dial plate pattern sent by electronic equipment, and the dial plate pattern is a self-defined dial plate pattern generated on the electronic equipment;
the target graph drawing module is used for drawing a target graph on the watch according to the generation parameters of the dial plate pattern;
and the display module is used for displaying the target graph on a display screen of the watch to generate a self-defined dial plate pattern.
10. A wristwatch comprising a memory and a processor, the memory having stored therein a computer program, wherein the computer program, when executed by the processor, causes the processor to perform the steps of the dial pattern generation method according to any one of claims 1 to 7.
11. An electronic device comprising a memory and a processor, the memory having stored therein a computer program, wherein the computer program, when executed by the processor, causes the processor to perform the steps of the dial pattern generation method according to claim 8.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the dial pattern generation method according to any one of claims 1 to 8.
CN202010457176.5A 2020-05-26 2020-05-26 Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium Pending CN113722025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010457176.5A CN113722025A (en) 2020-05-26 2020-05-26 Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010457176.5A CN113722025A (en) 2020-05-26 2020-05-26 Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN113722025A true CN113722025A (en) 2021-11-30

Family

ID=78672224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010457176.5A Pending CN113722025A (en) 2020-05-26 2020-05-26 Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN113722025A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088130A1 (en) * 2022-10-25 2024-05-02 华为技术有限公司 Display method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701904A (en) * 2013-12-27 2014-04-02 广州华多网络科技有限公司 Method and device for showing information through dial plate
CN104536669A (en) * 2014-12-15 2015-04-22 小米科技有限责任公司 Information displaying method and device
CN104850408A (en) * 2015-05-28 2015-08-19 深圳市陨石通信设备有限公司 Method and device for drawing pictures on smartwatch
CN106292258A (en) * 2016-08-26 2017-01-04 深圳市爱保护科技有限公司 A kind of intelligent watch and dial plate collocation method, dial plate configuration device
CN106776826A (en) * 2016-11-25 2017-05-31 上海斐讯数据通信技术有限公司 A kind of update method, the apparatus and system of wrist-watch background picture
CN109032746A (en) * 2018-08-10 2018-12-18 广东小天才科技有限公司 A kind of display interface customizing method, system and the electronic equipment of wearable device
CN208432861U (en) * 2018-08-14 2019-01-25 信利光电股份有限公司 A kind of smartwatch
CN110096209A (en) * 2019-04-01 2019-08-06 北京新界教育科技有限公司 Handwriting trace display methods and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701904A (en) * 2013-12-27 2014-04-02 广州华多网络科技有限公司 Method and device for showing information through dial plate
CN104536669A (en) * 2014-12-15 2015-04-22 小米科技有限责任公司 Information displaying method and device
CN104850408A (en) * 2015-05-28 2015-08-19 深圳市陨石通信设备有限公司 Method and device for drawing pictures on smartwatch
CN106292258A (en) * 2016-08-26 2017-01-04 深圳市爱保护科技有限公司 A kind of intelligent watch and dial plate collocation method, dial plate configuration device
CN106776826A (en) * 2016-11-25 2017-05-31 上海斐讯数据通信技术有限公司 A kind of update method, the apparatus and system of wrist-watch background picture
CN109032746A (en) * 2018-08-10 2018-12-18 广东小天才科技有限公司 A kind of display interface customizing method, system and the electronic equipment of wearable device
CN208432861U (en) * 2018-08-14 2019-01-25 信利光电股份有限公司 A kind of smartwatch
CN110096209A (en) * 2019-04-01 2019-08-06 北京新界教育科技有限公司 Handwriting trace display methods and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088130A1 (en) * 2022-10-25 2024-05-02 华为技术有限公司 Display method and electronic device

Similar Documents

Publication Publication Date Title
CN108279966B (en) Webpage screenshot method, device, terminal and storage medium
US11500513B2 (en) Method for icon display, terminal, and storage medium
CN109344352B (en) Page loading method and device and electronic equipment
CN110908762B (en) Dynamic wallpaper implementation method and device
CN109874048B (en) Video window assembly semitransparent display method and device and computer equipment
CN110825286B (en) Image processing method and device and electronic equipment
EP4242839A1 (en) Page switching display method and apparatus, storage medium, and electronic device
CN112651475B (en) Two-dimensional code display method, device, equipment and medium
CN113127784A (en) Large-screen data visual display method and device, storage medium and computer equipment
EP3832459A1 (en) Graphic drawing method and apparatus, device, and storage medium
CN116149520B (en) Intelligent processing method, system and medium for intelligent watch interactive interface
CN113722025A (en) Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium
CN107861711B (en) Page adaptation method and device
CN114691069A (en) Image display adjustment method and device and electronic equipment
CN111223155A (en) Image data processing method, image data processing device, computer equipment and storage medium
WO2024088132A1 (en) Target-image display method and display apparatus, and electronic device and storage medium
CN113805981A (en) Dial pattern display method and device, watch, electronic device, and storage medium
CN112783392A (en) Information screen display method and device
CN115630241A (en) Page display method and device, electronic equipment and storage medium
CN115908116A (en) Image processing method, device, equipment and storage medium
CN113672829B (en) Page display method and device, electronic equipment and storage medium
CN115328429A (en) Display method, display device, electronic apparatus, and storage medium
CN113888673A (en) Map editing method, system, device, computing equipment and storage medium
CN116414209A (en) Display method, display device, electronic equipment and storage medium
CN113674153A (en) Image processing chip, electronic device, image processing method, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination