CN113805981A - Dial pattern display method and device, watch, electronic device, and storage medium - Google Patents

Dial pattern display method and device, watch, electronic device, and storage medium Download PDF

Info

Publication number
CN113805981A
CN113805981A CN202010551834.7A CN202010551834A CN113805981A CN 113805981 A CN113805981 A CN 113805981A CN 202010551834 A CN202010551834 A CN 202010551834A CN 113805981 A CN113805981 A CN 113805981A
Authority
CN
China
Prior art keywords
graph
watch
target
parameters
trajectory
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
CN202010551834.7A
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 CN202010551834.7A priority Critical patent/CN113805981A/en
Publication of CN113805981A publication Critical patent/CN113805981A/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Abstract

The application relates to a dial pattern display method and device, a watch, electronic equipment and a storage medium, which are applied to the watch, firstly, a user-defined first target track graph is generated on the electronic equipment, and generation parameters of the first target track graph are sent to the watch; and then, the watch receives the generation parameters of the first target trajectory graph sent by the electronic equipment, and a second target trajectory graph is drawn on the watch according to the generation parameters of the first target trajectory graph. And finally, displaying the second target track graph on a display screen of the watch as 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 display method and device, watch, electronic device, and storage medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a dial pattern display method and device, a watch, electronic equipment and a 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 display method and device, a watch, electronic equipment and a storage medium, and can meet various personalized requirements of users.
A dial pattern display method applied to a watch, the method comprising:
receiving generation parameters of a first target track graph sent by electronic equipment, wherein the first target track graph is a user-defined graph generated on the electronic equipment;
drawing a second target track graph according to the generation parameters of the first target track graph;
and displaying the second target track graph on a display screen of the watch as a self-defined dial pattern.
A dial pattern display method is applied to electronic equipment and comprises the following steps:
generating a self-defined first target track graph;
acquiring generation parameters of the first target locus diagram;
and sending the generation parameters of the first target trajectory graph to a watch so that the watch can draw a second target trajectory graph according to the generation parameters of the first target trajectory graph, and displaying the second target trajectory graph on a display screen of the watch as a self-defined dial pattern.
A dial pattern display device for a wristwatch, the device comprising:
the generating parameter receiving module is used for receiving generating parameters of a first target track graph sent by the electronic equipment, wherein the first target track graph is a user-defined graph generated on the electronic equipment;
the second target track graph drawing module is used for drawing a second target track graph according to the generation parameters of the first target track graph;
and the display module is used for displaying the second target track graph on a display screen of the watch as a self-defined dial plate pattern.
A watch comprising a memory and a processor, said memory having stored thereon a computer program, characterized in that the computer program, when executed by the processor, causes the processor to carry out the steps of the dial pattern display 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 plate pattern display 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 plate pattern display method as described above.
The dial pattern display method and device, the watch, the electronic equipment and the storage medium receive generation parameters of a first target track graph sent by the electronic equipment, wherein the first target track graph is a user-defined graph generated on the electronic equipment. And drawing a second target track graph on the watch according to the generation parameters of the first target track graph, and displaying the second target track graph on a display screen of the watch as a self-defined dial pattern.
Firstly, generating a self-defined first target track graph on the electronic equipment, and sending generation parameters of the first target track graph to the watch; and then, the watch receives the generation parameters of the first target trajectory graph sent by the electronic equipment, and a second target trajectory graph is drawn on the watch according to the generation parameters of the first target trajectory graph. And finally, displaying the second target track graph on a display screen of the watch as 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 exemplary embodiment of a dial plate pattern display method;
FIG. 2 is a flow chart of a dial pattern display method in one embodiment;
FIG. 3 is a second target trace plot plotted in FIG. 2 according to the generation parameters of the first target trace plot;
FIG. 4 is a diagram of a second target trajectory plot on a watch dial in one embodiment;
FIG. 5 is a flow chart of a dial pattern display method in one embodiment;
FIG. 6 is a flowchart of a method of generating a customized first target trajectory map of FIG. 5;
FIG. 7 is a flow chart of a method for displaying a pattern on a dial plate in an exemplary embodiment;
FIG. 8 is a block diagram showing the structure of a dial pattern display device 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 a dial pattern display method 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 pattern display method in the application, a user can generate a first customized target locus diagram on the electronic device 120 through customized design, the electronic device 120 obtains generation parameters of the first target locus diagram, and the generation parameters of the first target locus diagram are sent to the watch 140. The watch 140 receives the generation parameters of the first target trajectory diagram sent by the electronic device 120, draws a second target trajectory diagram according to the generation parameters, and displays the second target trajectory diagram on the display screen of the watch as a self-defined dial 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 display method in one embodiment. The dial pattern display method in the present embodiment is described by taking the example of the operation on the wristwatch 140 in fig. 1. As shown in fig. 2, the dial pattern display method includes steps 220 to 260. Wherein the content of the first and second substances,
step 220, receiving a generation parameter of a first target trajectory graph sent by the electronic device, where the first target trajectory graph is a custom graph generated on the electronic device.
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 generate the first target trajectory graph on the electronic device 120 through a custom design, and the first target trajectory graph is a custom graph generated on the electronic device. One route formed by a certain movement of a point is called a trajectory. For example, on an application program controlling a watch in an electronic device, a function of custom designing a dial pattern is provided. The user can draw freely in the application program to generate the first target locus diagram, then obtain the generation parameters of the first target locus diagram, and send the generation parameters of the first target locus diagram to the watch 140. The watch 140 receives the generation parameters of the first target trajectory diagram sent by the electronic device.
The parameters for generating the first target trajectory diagram received by the watch 140 from the electronic device are parameters for generating the first target trajectory diagram on the electronic device, such as the shapes, sizes, colors, and position information of the trajectory curves constituting the first target trajectory diagram. Of course, this is not limited in this application.
And 240, drawing a second target track graph on the watch according to the generation parameters of the first target track graph.
After the watch 140 receives the generation parameters of the first target trajectory graph sent by the electronic device, a second target trajectory graph is drawn on the watch according to the generation parameters of the first target trajectory graph. 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 a second target locus diagram is drawn on the watch according to the generation parameters of the first target locus diagram on 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, a second target trajectory graph can be drawn according to 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 second target track graph on a display screen of the watch as a self-defined dial plate pattern.
And displaying a second target track graph drawn on the watch according to the generation parameters of the first target track graph on a display screen of the watch, namely, completing the effect of self-defining the first target track graph on the synchronous electronic equipment on the watch, and generating a self-defining dial plate pattern on the watch.
In the embodiment of the application, firstly, a user-defined first target track graph is generated on the electronic equipment, and generation parameters of the first target track graph are sent to the watch; and then, the watch receives the generation parameters of the first target trajectory graph sent by the electronic equipment, and a second target trajectory graph is drawn on the watch according to the generation parameters of the first target trajectory graph. And finally, displaying the second target track graph on a display screen of the watch as 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 first target trajectory diagram comprise parameters of the first base trajectory diagram and first graph transformation parameters;
receiving generation parameters of a first target locus diagram sent by electronic equipment, wherein the generation parameters comprise:
and receiving parameters of the first basic track graph and the first graph transformation parameters sent by the electronic equipment.
When the first target track graph is a track graph formed by a first basic track graph and a graph obtained by graph transformation based on the first basic track graph, the generation parameters of the first target track graph comprise parameters of the first basic track graph and first graph transformation parameters. The parameters of the first basic track graph include size, color, position information, and the like of the first basic track graph displayed on the electronic device, and the first graph transformation parameters include parameters of at least one of a zoom operation, a symmetry operation, and a rotation operation performed on the first basic track graph, which is not limited in this application.
The user may generate the first target trajectory diagram on the electronic device 120 through a custom design, then obtain generation parameters of the first target trajectory diagram, where the generation parameters of the first target trajectory diagram include parameters of the first basic trajectory diagram and first graph transformation parameters, and send the generation parameters of the first target trajectory diagram to the watch 140. The watch 140 receives the generation parameters of the first target trajectory diagram sent by the electronic device, that is, the parameters of the first basic trajectory diagram corresponding to the first target trajectory diagram and the first graph transformation parameters.
In the embodiment of the application, the watch receives generation parameters of a first target trajectory diagram sent by the electronic device, and the generation parameters of the first target trajectory diagram not only include parameters of a first basic trajectory diagram, but also include first graph transformation parameters. In this way, when the second target locus diagram is generated on the watch according to the generation parameters of the first target locus diagram, not only the first basic locus diagram is generated, but also the diagram is transformed on the basis of the first basic locus diagram to obtain a transformed diagram, so that the first basic locus diagram and the transformed diagram are combined to obtain the second target locus diagram. Because the first basic track graph is subjected to graph transformation to obtain the transformed graph, when the second target track graph is formed, the diversity of the second target track graph is increased, and the diversity of watch patterns is further increased.
In one embodiment, as shown in fig. 3, drawing a second target trajectory graph on the watch according to the generation parameters of the first target trajectory graph includes:
and 242, calculating display parameters of the first basic trajectory diagram on a display screen of the watch according to the parameters of the first basic trajectory diagram.
The parameters of the first basic track map include size, color, position information and the like of the first basic track map displayed on the electronic device. 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 second basic locus diagram is drawn according to the generation parameters of the first basic locus diagram on the electronic equipment, the generation parameters are correspondingly reduced in equal proportion so as to adapt to the display screen with smaller size of the watch. After the scaling down of the generated parameters, the display parameters of the first basic trajectory diagram on the display screen of the watch are calculated.
Step 244, 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 graph transformation parameter includes a parameter for performing at least one of a scaling operation, a symmetry operation, and a rotation operation on the first basic trajectory diagram, and the second graph transformation parameter includes a parameter for performing at least one of a scaling operation, a symmetry operation, and a rotation operation on the second basic trajectory diagram. For the parameter of the zooming operation, the parameter of the zooming operation on the electronic equipment needs to be reduced in an equal proportion, and the parameter of the zooming operation on the watch can be obtained; for the parameters of the symmetric operation, the parameters of the symmetric operation for the graphic transformation on the electronic equipment are equal to the parameters of the symmetric operation on the watch; as for the rotation parameter, the parameter of the rotation operation on the electronic device that performs the graphic conversion is equivalent to the parameter of the rotation operation on the watch.
And 246, drawing a second basic track graph on the display screen of the watch based on the display parameters of the first basic track graph on the display screen of the watch.
After the display parameters of the first basic trajectory graph on the display screen of the watch are calculated in step 242, the second basic trajectory 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 basic track graph on the watch display screen, the pixel value sizes of the pixel points and other parameters.
And step 248, drawing a second target track map on the display screen of the watch based on the second basic track map drawn on the display screen of the watch and the second graphic transformation parameter on the watch.
After the second basic trajectory graph is drawn on the display screen of the watch, the second basic trajectory graph on the display screen of the watch can be subjected to graph transformation based on the second graph transformation parameter on the watch. Specifically, the display parameters of the second basic track graph on the display screen of the watch are transformed based on the second graph transformation parameters on the watch, and 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.
After the second basic track graph is drawn on the display screen of the watch and the graph transformed based on the second basic track graph is drawn on the display screen of the watch, it can be understood that the two times of drawing can be performed simultaneously or have time sequence. And finally, combining the second basic track graph and the transformed graph to form a second target track graph. For example, as shown in fig. 4, a second target locus graph 420 is displayed on the dial of the wristwatch, and the second target locus graph 420 is obtained by combining graphs converted from the second basic locus graph 422. For example, each rotation of 90 ° for the second base trajectory diagram 422. The second basic track map 422 is obtained by scaling down the first basic track map on the electronic device.
In the embodiment of the application, display parameters of the first basic track graph on a display screen of the watch are calculated according to the parameters of the first basic track graph. And calculating a second graphic transformation parameter on the watch according to the first graphic transformation parameter. And drawing a second basic track graph on the display screen of the watch based on the display parameters of the first basic track graph on the display screen of the watch. And drawing a second target track graph on the display screen of the watch based on a second basic track graph drawn on the display screen of the watch and a second graph transformation parameter on the watch.
The parameters of the first basic track graph and the first graph transformation parameters of the first target track graph customized by the user on the electronic equipment are adaptively adjusted to the parameters of the second basic track graph and the second graph transformation parameters of the second target track graph on the watch, so that the first target track graph customized by the user on the electronic equipment is synchronized on the watch. The effect of self-defining design of the second target track graph (namely the watch pattern) on the watch is indirectly realized, and various personalized requirements of users are met.
In one embodiment, the first base trajectory graph includes a first initial trajectory curve and a plurality of trajectory curves generated according to a stochastic algorithm based on the first initial trajectory curve.
Specifically, the first initial trajectory curve may be a trajectory curve which is drawn by a user in a customized manner on an application program controlling the watch in the electronic device. The random algorithm comprises a Berlin noise algorithm, a Value noise algorithm and the like, wherein the Berlin noise algorithm is a very strong algorithm, is often used for generating random contents by a program and is widely applied to the multimedia fields of games, movies and the like. Berlin noise can be used for scroll terrain, simulated hand-drawn lines and the like on a one-dimensional layer.
After generating the first initial trajectory profile on the electronic device, a plurality of trajectory profiles may be generated based on the first initial trajectory profile according to a stochastic algorithm. The plurality of trajectory curves are distributed in a preset range around the first initial trajectory curve, and the plurality of trajectory curves can be understood to be adjacent to the first initial trajectory curve. Specifically, the parameters of the first initial trajectory curve are input into a random algorithm for calculation to obtain the parameters of a plurality of trajectory curves, and the plurality of trajectory curves can be drawn based on the parameters of the plurality of trajectory curves. Furthermore, the first initial trajectory curve and the plurality of trajectory curves generated by the random algorithm based on the first initial trajectory curve are combined to form the first basic trajectory graph. It is understood that the first basic trajectory diagram is a ribbon trajectory diagram formed by the first initial trajectory curve and the plurality of trajectory curves.
In the embodiment of the application, after a first basic track map is generated on electronic equipment, a plurality of track curves are generated according to a random algorithm based on a first initial track curve. And forming a first basic track graph by the first initial track curve and a plurality of track curves generated according to a random algorithm based on the first initial track curve. The plurality of track curves generated based on the random algorithm and the first initial track curve together enable the whole line of the whole first basic track graph to have better liquidity and meet higher requirements of users.
In one embodiment, displaying the second target trajectory graph on a display screen of the watch as a customized dial pattern, includes:
and statically displaying the second target track graph on a display screen of the watch as a self-defined dial plate pattern.
Specifically, a generation parameter of a first target trajectory graph sent by the electronic device is received, and the first target trajectory graph is a custom graph generated on the electronic device. And drawing a second target track graph on the watch according to the generation parameters of the first target track graph, and displaying the second target track graph on a display screen of the watch as a self-defined dial pattern.
The second target track graph can be statically displayed on a display screen of the watch to serve as a self-defined dial pattern. Wherein static means that the second target trajectory diagram stops being displayed on the watch display.
In the embodiment of the application, the second target track graph is a graph which is synchronized to the watch from the first customized target track graph on the electronic equipment, and the second target track graph is statically displayed on a display screen of the watch to serve as a customized dial 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, displaying the second target trajectory graph on a display screen of the watch as a customized dial pattern, further comprising:
and dynamically displaying the second target track graph on a display screen of the watch to form an animation, and taking the animation as a self-defined dial plate pattern.
Specifically, the second target trajectory graph may be dynamically displayed on the display screen of the watch in correspondence with statically displaying the second target trajectory 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 second target track graph on a display screen of the watch to form an animation, and taking the animation as a self-defined dial plate pattern. Namely, the second target track 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 second target track graph is a graph which is synchronized to the watch from the first customized target track graph on the electronic equipment, the target graph is dynamically displayed on a display screen of the watch to form an animation, and the animation is used as the customized 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, the parameters of the first basic track map include size, color and position information of the first basic track map displayed on the electronic device, and the graphic transformation parameters include parameters for performing at least one of a zoom operation, a symmetry operation and a rotation operation on the first basic track map.
Specifically, the first basic trajectory diagram is a diagram that is custom-designed by a user on the electronic device, and therefore, the parameters of the first basic trajectory diagram include size, color, position information, and the like of the first basic trajectory diagram displayed on the electronic device. With these parameters, a first basic track graph on the electronic device can be synchronized to a second basic track graph on the watch to form a second basic track graph.
The first graph transformation parameter includes a parameter for performing at least one of a scaling operation, a symmetry operation, and a rotation operation on the first base trajectory graph. On the basis of the first basic track map, the transformed graph can be obtained by combining the first graph transformation parameters, and then the first target track map is obtained. Similarly, the second graph transformation parameter includes a parameter for performing at least one of a scaling operation, a symmetry operation, and a rotation operation on the second basic trajectory diagram. On the basis of the second basic track map, the transformed graph can be obtained by combining the transformation parameters of the second graph, and then a second target track map is obtained.
In this embodiment of the application, the parameters of the first basic track map include size, color, and position information of the first basic track map displayed on the electronic device, and the graphic transformation parameters include parameters for performing at least one of a zoom operation, a symmetry operation, and a rotation operation on the first basic track map. Then, according to the parameters of the first basic track graph, the display parameters of the first basic track graph on the 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 basic track graph on the display screen of the watch based on the display parameters of the first basic track graph on the display screen of the watch. And drawing a second target track graph on the display screen of the watch based on a second basic track graph drawn on the display screen of the watch and a second graph transformation parameter on the watch. 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. 5, there is provided a dial pattern display method applied to an electronic device, the method including:
step 520, generating a self-defined first target track graph;
step 540, acquiring generation parameters of a first target locus diagram;
and 560, sending the generation parameters of the first target trajectory graph to the watch, so that the watch draws a second target trajectory graph on the watch according to the generation parameters of the first target trajectory graph, and displaying the second target trajectory graph on a display screen of the watch as a self-defined dial pattern.
In the embodiment of the application, a user can generate the first target track graph on the electronic device through custom design, for example, on an application program for controlling a watch in the electronic device, a function of custom design of a dial pattern is provided. The user can draw freely in the application program to generate the first target locus diagram, then obtain the generation parameters of the first target locus diagram, and send the generation parameters of the first target locus diagram to the watch 140. The watch 140 receives the generation parameters of the first target trajectory diagram sent by the electronic device.
And after the watch receives the generation parameters of the first target trajectory graph sent by the electronic equipment, drawing a second target trajectory graph according to the generation parameters of the first target trajectory graph. And displaying the second target track graph on a display screen of the watch to generate a user-defined dial plate pattern.
In the previous embodiment, as shown in fig. 6, step 520 is to generate a customized first target track graph, which includes:
step 522, generating a first self-defined initial trajectory curve.
The first initial trajectory profile may be a trajectory profile custom-drawn by a user on an application controlling the watch in the electronic device. The electronic equipment generates a self-defined first initial track curve according to user self-definition drawing.
A plurality of trajectory curves adjacent to the first initial trajectory curve are generated according to a stochastic algorithm, step 524.
After the first initial trajectory curve is generated on the electronic device, parameters of the first initial trajectory curve are calculated. And inputting the parameters of the first initial trajectory curve into a random algorithm for calculation to obtain the parameters of a plurality of trajectory curves adjacent to the first initial trajectory curve. And then drawing a plurality of track curves adjacent to the first initial track curve on the electronic equipment in real time.
Step 526, combine the first initial trajectory curve with the adjacent multiple trajectory curves to obtain a first basic trajectory graph.
The first initial trajectory curve and the plurality of trajectory curves adjacent to the first initial trajectory curve are combined to form a first basic trajectory diagram. Wherein the first basic track map is a track map displayed on the electronic device.
And step 528, performing symmetric processing based on the first basic track map to obtain a customized first target track map.
The first basic track map can be symmetrically processed to obtain a self-defined first target track map. Of course, other processes such as rotation and translation may be performed on the first basic trajectory diagram, which is not limited in this application.
In the embodiment of the application, firstly, a user-defined first initial track curve is generated on the electronic device, and a plurality of track curves adjacent to the first initial track curve are generated according to a random algorithm. And combining the first initial track curve with a plurality of adjacent track curves to obtain a first basic track graph, and performing symmetrical processing based on the first basic track graph to obtain a user-defined first target track graph. Secondly, acquiring generation parameters of the first target trajectory graph, sending the generation parameters of the first target trajectory graph to the watch so that the watch can draw a second target trajectory graph on the watch according to the generation parameters of the first target trajectory graph, and finally displaying the second target trajectory graph on a display screen of the watch as a self-defined dial pattern.
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. And the finally obtained second target trajectory graph has better fluidity, and can meet higher requirements of users.
In a specific embodiment, as shown in fig. 7, there is provided a dial pattern display method including the steps of:
step 702, receiving parameters of a first basic track graph and first graph transformation parameters of a dial pattern sent by electronic equipment;
step 704, calculating display parameters of the first basic track graph on a display screen of the watch according to the parameters of the first basic track graph;
step 706, calculating a second graph transformation parameter on the watch according to the first graph transformation parameter;
step 708, drawing a second basic trajectory diagram on the display screen of the watch based on the display parameters of the first basic trajectory diagram on the display screen of the watch;
step 710, drawing a transformed graph on the display screen of the watch based on a second basic track graph drawn on the display screen of the watch and a second graph transformation parameter on the watch;
step 712, combining the second basic track graph and the transformed graph to obtain a second target track graph, and drawing the second target track graph on the watch;
and 714, rotationally displaying the second target track graph on a display screen of the watch according to a preset speed to form an animation, and taking the animation as 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 display apparatus 800 comprising:
a generation parameter receiving module 820, configured to receive a generation parameter of a first target trajectory diagram sent by an electronic device, where the first target trajectory diagram is a custom diagram generated on the electronic device;
the second target trajectory graph drawing module 840 is used for drawing a second target trajectory graph according to the generation parameters of the first target trajectory graph;
and the display module 860 is used for displaying the second target track graph on a display screen of the watch as a self-defined dial pattern.
In one embodiment, the generation parameters of the first target trajectory diagram comprise parameters of the first base trajectory diagram and first graph transformation parameters; the generating parameter receiving module 820 is further configured to receive parameters of the first basic trajectory graph and the first graph transformation parameters sent by the electronic device.
In one embodiment, the second target trajectory graph drawing module 840 further includes:
the display parameter calculation unit of the first basic track graph is used for calculating display parameters of the first basic track graph on a display screen of the watch according to the parameters of the first basic track graph;
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 basic track graph drawing unit is used for drawing a second basic track graph on the display screen of the watch based on the display parameters of the first basic track graph on the display screen of the watch.
And the second target track graph drawing unit is used for drawing a second target track graph on the display screen of the watch based on a second basic track graph drawn on the display screen of the watch and a second graph transformation parameter on the watch.
In one embodiment, the parameters of the first base trajectory graph include a first initial trajectory profile and a plurality of trajectory profiles generated according to a stochastic algorithm based on the first initial trajectory profile.
In one embodiment, the display module 860 is further configured to statically display the second target trajectory map on a display screen of the watch as a customized dial pattern.
In one embodiment, the display module 860 is further configured to dynamically display the second target trajectory graph on a display screen of the watch to form an animation, and the animation is used as a customized dial pattern.
In one embodiment, the parameters of the first basic track map include size, color and position information of the first basic track map displayed on the electronic device, and the graphic transformation parameters include parameters for performing at least one of a zoom operation, a symmetry operation and a rotation operation on the first basic track map.
The division of each module in the dial pattern display device is only used for illustration, and in other embodiments, the dial pattern display device may be divided into different modules as needed to complete all or part of the functions of the dial pattern display device.
For specific limitations of the dial pattern display device, reference may be made to the above limitations of the dial pattern display method, which are not described herein again. The modules in the dial pattern display device can be wholly or partially realized 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, a watch is further provided, which 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 display 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 display 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 implementation of each module in the dial pattern display device provided in the embodiment of the present application may be 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 display method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a dial pattern display method.
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 display only represent some 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 (13)

1. A dial pattern display method applied to a watch, the method comprising:
receiving generation parameters of a first target track graph sent by electronic equipment, wherein the first target track graph is a user-defined graph generated on the electronic equipment;
drawing a second target track graph according to the generation parameters of the first target track graph;
and displaying the second target track graph on a display screen of the watch as a self-defined dial pattern.
2. The method of claim 1, wherein the generation parameters of the first target trajectory graph include parameters of a first base trajectory graph and first graph transformation parameters;
the receiving of the generation parameter of the first target locus diagram sent by the electronic device includes:
and receiving parameters of a first basic track graph and the first graph transformation parameters sent by the electronic equipment.
3. The method of claim 2, wherein said drawing a second target trajectory graph on said watch according to said first target trajectory graph generation parameters comprises:
calculating display parameters of the first basic track graph on a display screen of the watch according to the parameters of the first basic track graph;
calculating a second graphic transformation parameter on the watch according to the first graphic transformation parameter;
drawing a second basic track graph on the display screen of the watch based on the display parameters of the first basic track graph on the display screen of the watch;
and drawing a second target track graph on the display screen of the watch based on a second basic track graph drawn on the display screen of the watch and a second graph transformation parameter on the watch.
4. The method of claim 2, wherein the first base trajectory graph comprises a first initial trajectory curve and a plurality of trajectory curves generated according to a stochastic algorithm based on the first initial trajectory curve.
5. The method of claim 1, wherein said displaying said second target trajectory map on a display of said watch as a customized dial pattern comprises:
and statically displaying the second target track graph on a display screen of the watch as a self-defined dial pattern.
6. The method of claim 1, wherein said displaying said second target trajectory map on a display of said watch as a customized dial pattern further comprises:
and dynamically displaying the second target track graph on a display screen of the watch to form an animation, and taking the animation as a self-defined dial plate pattern.
7. The method of claim 2, wherein the parameters of the first basic track map include size, color and position information of the first basic track map displayed on the electronic device, and wherein the graphic transformation parameters include parameters for at least one of a zoom operation, a symmetry operation and a rotation operation of the first basic track map.
8. A dial pattern display method applied to electronic equipment is characterized by comprising the following steps:
generating a self-defined first target track graph;
acquiring generation parameters of the first target locus diagram;
and sending the generation parameters of the first target trajectory graph to a watch so that the watch can draw a second target trajectory graph on the watch according to the generation parameters of the first target trajectory graph, and displaying the second target trajectory graph on a display screen of the watch as a self-defined dial pattern.
9. The method of claim 8, wherein generating the customized first target trajectory map comprises:
generating a self-defined first initial track curve;
generating a plurality of trajectory curves according to a random algorithm based on the first initial trajectory curve;
combining the first initial trajectory curve with the plurality of trajectory curves to obtain a first basic trajectory graph;
and carrying out symmetrical processing based on the first basic track graph to obtain a self-defined first target track graph.
10. A dial pattern display device, for a watch, comprising:
the generating parameter receiving module is used for receiving generating parameters of a first target track graph sent by the electronic equipment, wherein the first target track graph is a user-defined graph generated on the electronic equipment;
the second target track graph drawing module is used for drawing a second target track graph according to the generation parameters of the first target track graph;
and the display module is used for displaying the second target track graph on a display screen of the watch as a self-defined dial plate pattern.
11. 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 display method according to any one of claims 1 to 7.
12. An electronic device, characterized by comprising a memory and a processor, wherein a computer program is stored in the memory, wherein the computer program, when executed by the processor, causes the processor to perform the steps of the dial pattern display method according to any one of claims 8 to 9.
13. 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 display method according to any one of claims 1 to 9.
CN202010551834.7A 2020-06-17 2020-06-17 Dial pattern display method and device, watch, electronic device, and storage medium Pending CN113805981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010551834.7A CN113805981A (en) 2020-06-17 2020-06-17 Dial pattern display method and device, watch, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010551834.7A CN113805981A (en) 2020-06-17 2020-06-17 Dial pattern display method and device, watch, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN113805981A true CN113805981A (en) 2021-12-17

Family

ID=78943201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010551834.7A Pending CN113805981A (en) 2020-06-17 2020-06-17 Dial pattern display method and device, watch, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN113805981A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632608A (en) * 2017-10-09 2018-01-26 珠海格力电器股份有限公司 The method, apparatus and electronic equipment of the controlled electronic equipment movement of control
CN108958615A (en) * 2018-07-25 2018-12-07 维沃移动通信有限公司 A kind of display control method, terminal and computer readable storage medium
CN109032746A (en) * 2018-08-10 2018-12-18 广东小天才科技有限公司 A kind of display interface customizing method, system and the electronic equipment of wearable device
CN110096209A (en) * 2019-04-01 2019-08-06 北京新界教育科技有限公司 Handwriting trace display methods and device
CN110381195A (en) * 2019-06-05 2019-10-25 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
CN110912870A (en) * 2019-10-18 2020-03-24 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for synchronizing data of electronic whiteboard
CN110941383A (en) * 2019-10-11 2020-03-31 广州视源电子科技股份有限公司 Double-screen display method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632608A (en) * 2017-10-09 2018-01-26 珠海格力电器股份有限公司 The method, apparatus and electronic equipment of the controlled electronic equipment movement of control
CN108958615A (en) * 2018-07-25 2018-12-07 维沃移动通信有限公司 A kind of display control method, terminal and computer readable storage medium
CN109032746A (en) * 2018-08-10 2018-12-18 广东小天才科技有限公司 A kind of display interface customizing method, system and the electronic equipment of wearable device
CN110096209A (en) * 2019-04-01 2019-08-06 北京新界教育科技有限公司 Handwriting trace display methods and device
CN110381195A (en) * 2019-06-05 2019-10-25 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
CN110941383A (en) * 2019-10-11 2020-03-31 广州视源电子科技股份有限公司 Double-screen display method, device, equipment and storage medium
CN110912870A (en) * 2019-10-18 2020-03-24 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for synchronizing data of electronic whiteboard

Similar Documents

Publication Publication Date Title
CN107239287B (en) Webpage display method and device, electronic equipment and storage medium
US11783111B2 (en) Display method and apparatus, and electronic device
CN110825286B (en) Image processing method and device and electronic equipment
EP4242839A1 (en) Page switching display method and apparatus, storage medium, and electronic device
CN111223155B (en) Image data processing method, device, computer equipment and storage medium
CN113805981A (en) Dial pattern display method and device, watch, electronic device, and storage medium
CN110334163B (en) Map background optimization method, device, equipment and storage medium for big data
CN110456957B (en) Display interaction method, device, equipment and storage medium
CN113538502A (en) Picture clipping method and device, electronic equipment and storage medium
CN101800793B (en) A kind of automatic adaptation method of the display position of graph text information on the mobile apparatus
CN115328429A (en) Display method, display device, electronic apparatus, and storage medium
CN113722025A (en) Dial pattern generation method and device, watch, electronic device, and computer-readable storage medium
CN113672829B (en) Page display method and device, electronic equipment and storage medium
CN115619904A (en) Image processing method, device and equipment
CN110825993B (en) Picture display method and device and electronic equipment
CN113888673A (en) Map editing method, system, device, computing equipment and storage medium
CN114415921A (en) List sliding realization method and device, electronic equipment and storage medium
CN112650491A (en) Date selection modal component development method based on Reactnative and related equipment
JP2022536634A (en) Method, Apparatus, Computer Facility, and Storage Medium for Rendering GIS Point Data
CN112991274A (en) Crowd counting method and device, computer equipment and storage medium
CN115552364A (en) Multi-terminal collaborative display updating method and device
CN111611043A (en) Image display method, image display device, electronic equipment and computer readable storage medium
EP3467807B1 (en) Map information transmission device for transmitting objects for display superimposed on map, map display device, program, and method
CN105975153A (en) Mobile terminal-based image personalized processing method and apparatus
CN111324405A (en) Character display method and device and electronic equipment

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