CN104216687A - Method and system for timing displaying - Google Patents

Method and system for timing displaying Download PDF

Info

Publication number
CN104216687A
CN104216687A CN201310206419.8A CN201310206419A CN104216687A CN 104216687 A CN104216687 A CN 104216687A CN 201310206419 A CN201310206419 A CN 201310206419A CN 104216687 A CN104216687 A CN 104216687A
Authority
CN
China
Prior art keywords
timing
display box
parameter
timing display
display
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
CN201310206419.8A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310206419.8A priority Critical patent/CN104216687A/en
Publication of CN104216687A publication Critical patent/CN104216687A/en
Pending legal-status Critical Current

Links

Abstract

The invention belongs to the field of data processing and provides a method and system for timing displaying. The method comprises the steps that the parameters of a timing display frame are preset, the timing display frame is generated according to the parameters, timing codes are executed, and the executed timing codes are displayed in the timing display frame. According to the method and system for timing displaying, the parameters of the timing display frame are preset, the timing display frame is generated according to the parameters, the timing codes are executed, and the executed timing codes are displayed in the timing display frame so that the timing display frame can carry out timing displaying according to the preset parameters. A user can achieve the purpose of timing displaying through the simple method for timing displaying.

Description

A kind of method and system of timing display
Technical field
The invention belongs to data processing field, particularly relate to the method and system of a kind of timing display.
Background technology
On present webpage, the effect of timing display is all the same, clocking effect on webpage can not be modified according to the wish of user, such user cannot modify to clocking effect according to the idea of oneself, cannot show the different individual characteies of different user, cannot bring good customer experience to user.
Summary of the invention
The object of the embodiment of the present invention is the method and system providing a kind of timing display packing, to solve the single problem of prior art display effect.
The embodiment of the present invention is achieved in that and said method comprising the steps of a kind of method that timing shows:
The parameter of display box time pre-designed;
Timing display box is generated according to described parameter;
Perform timing code, and show the timing code of described execution at described timing display box.
Another object of the embodiment of the present invention is the system providing a kind of timing to show, and described system comprises:
Timing display box parameter presets unit, for the parameter of display box time pre-designed;
Timing display box generation unit, the parameter preset for presetting unit according to described timing display box parameter generates timing display box;
Timing display unit, for performing timing code, and shows the timing code of described execution at the timing display box that described timing display box generation unit generates.
The embodiment of the present invention, the parameter of display box time pre-designed, timing display box is generated according to parameter, perform timing code, and the timing code of described execution is shown at timing display box, to make described timing display box according to the described parameter timing display preset, provide a kind of method of timing display effect, make user can reach the effect of timing display by simple method.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of the timing display packing that Fig. 1 provides for the embodiment of the present invention;
The structural drawing of the timing display system that Fig. 2 provides for the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The embodiment of the present invention, the parameter of display box time pre-designed, timing display box is generated according to parameter, perform timing code, and the timing code of described execution is shown at timing display box, to make described timing display box according to the described parameter timing display preset, provide a kind of method of timing display effect, make user can reach the effect of timing display by simple method.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
Embodiment one
Be illustrated in figure 1 the process flow diagram of the timing display packing that the embodiment of the present invention provides, said method comprising the steps of:
In step S101, the parameter of display box time pre-designed.
In embodiments of the present invention, the parameter of display box time pre-designed, described parameter includes but not limited to: the font of the shape of the quantity of timing display box, the implication of timing display box, timing display box, the color of timing display box, timing display box display, the size etc. of described font.Below the parameter enumerated is specifically described:
1, the quantity of timing display box: display number that each user likes is different, some user likes display " time+point+second ", at this moment only need arrange 3 timing display boxes; Some user likes display " time+point of+second+year+month+day ", at this moment just needs to arrange 6 timing display boxes.
2, the implication of each timing display box; Display mode that each user likes is different, and some user likes display " time/point/second ", at this moment in order 3 timing display boxes is set to " display hour hands ", " display minute hand ", " display second hand " respectively; Some user likes display " second/point/time ", at this moment in order 3 timing display boxes is set to " display second hand ", " display minute hand ", " display hour hands " respectively.
3, the shape of timing display box; Some user likes the timing display box of circle, some user likes square timing display box, and the shape of hobby to timing display box according to user is arranged.
4, the color of timing display box: some user likes the timing display box of black, some user like white timing display box, according to user like the color of timing display box is arranged.
5, the font of timing display box display: some user likes regular script, and some user likes the Song typeface, the font to timing display box shows of liking according to user is arranged.
6, the size of font; Some user likes words a little greatly, and some user likes less word, and the size of the font to the display of timing display box of liking according to user is arranged.
In step s 102, timing display box is generated according to described parameter.
In embodiments of the present invention, after the parameter having preset timing display box, technician generates timing display box according to the parameter preset.
In step s 103, perform timing code, and show the timing code of described execution at described timing display box.
In embodiments of the present invention, although the effect of timing display is different, for programming personnel, the display of timing is all realized by one section of timing code, this timing code can be: C language, C++, java etc., can use according to the language of terminal support.Therefore, after generation timing display box, programming personnel performs the timing code write, and on the timing display box of described generation, show the timing code of execution.
The embodiment of the present invention, the parameter of display box time pre-designed, timing display box is generated according to parameter, perform timing code, and the timing code of described execution is shown at timing display box, to make described timing display box according to the described parameter timing display preset, provide a kind of method of timing display effect, make user can reach the effect of timing display by simple method.
As an embodiment of the present invention, described pre-designed time display box parameter step before, described method also comprises:
The display mode of display box time pre-designed, with the parameter of display box time pre-designed according to described display mode.
In embodiments of the present invention, when pre-designed display box parameter step before, the display mode of display box time all right pre-designed, with the parameter of display box time pre-designed according to described display mode, namely this display mode can determine timing display box parameter to be preset.
Embodiment two
Be illustrated in figure 2 the structural drawing of the timing display system that the embodiment of the present invention provides, for convenience of explanation, the part relevant to the embodiment of the present invention be only shown, comprise:
Timing display box parameter presets unit 201, for the parameter of display box time pre-designed.
In embodiments of the present invention, timing display box parameter preset unit 201 pre-designed time display box parameter, described parameter includes but not limited to: the shape of the quantity of timing display box, the implication of timing display box, timing display box, the color of timing display box, timing display box display font, described font size etc.Below the parameter enumerated is specifically described:
1, the quantity of timing display box: display number that each user likes is different, some user likes display " time+point+second ", at this moment only need arrange 3 timing display boxes; Some user likes display " time+point of+second+year+month+day ", at this moment just needs to arrange 6 timing display boxes.
2, the implication of each timing display box; Display mode that each user likes is different, and some user likes display " time/point/second ", at this moment in order 3 timing display boxes is set to " display hour hands ", " display minute hand ", " display second hand " respectively; Some user likes display " second/point/time ", at this moment in order 3 timing display boxes is set to " display second hand ", " display minute hand ", " display hour hands " respectively.
3, the shape of timing display box; Some user likes the timing display box of circle, some user likes square timing display box, and the shape of hobby to timing display box according to user is arranged.
4, the color of timing display box: some user likes the timing display box of black, some user like white timing display box, according to user like the color of timing display box is arranged.
5, the font of timing display box display: some user likes regular script, and some user likes the Song typeface, the font to timing display box shows of liking according to user is arranged.
6, the size of font; Some user likes words a little greatly, and some user likes less word, and the size of the font to the display of timing display box of liking according to user is arranged.
Timing display box generation unit 202, the parameter preset for presetting unit 201 according to described timing display box parameter generates timing display box.
In embodiments of the present invention, after the parameter having preset timing display box, timing display box generation unit 202 generates timing display box according to the parameter preset.
Timing display unit 203, for performing timing code, and shows the timing code of described execution at the timing display box that described timing display box generation unit 202 generates.
In embodiments of the present invention, although the effect of timing display is different, for programming personnel, the display of timing is all realized by one section of timing code, this timing code can be: C language, C++, java etc., can use according to the language of terminal support.Therefore, after generation timing display box, programming personnel performs the timing code write, and on the timing display box of described generation, show the timing code of execution.
The embodiment of the present invention, the parameter of display box time pre-designed, timing display box is generated according to parameter, perform timing code, and the timing code of described execution is shown at timing display box, to make described timing display box according to the described parameter timing display preset, provide a kind of method of timing display effect, make user can reach the effect of timing display by simple method.
As an embodiment of the present invention, preset before unit 201 presets in described timing display box parameter, described system also comprises:
Display mode presets unit, for the display mode of display box time pre-designed, with the parameter of display box time pre-designed according to described display mode.
In embodiments of the present invention, when pre-designed display box parameter step before, the display mode of display box time all right pre-designed, with the parameter of display box time pre-designed according to described display mode, namely this display mode can determine timing display box parameter to be preset.
One of ordinary skill in the art will appreciate that the unit included by above-described embodiment two is carry out dividing according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skill in the art it is also understood that, the all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, comprises ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a method for timing display, is characterized in that, said method comprising the steps of:
The parameter of display box time pre-designed;
Timing display box is generated according to described parameter;
Perform timing code, and show the timing code of described execution at described timing display box.
2. the method for claim 1, is characterized in that, described pre-designed time display box parameter step before, described method also comprises:
The display mode of display box time pre-designed, with the parameter of display box time pre-designed according to described display mode.
3. the method for claim 1, it is characterized in that, the parameter of described timing display box, comprising: the font of the shape of the quantity of timing display box, the implication of timing display box, timing display box, the color of timing display box, timing display box display, the size of described font.
4. a system for timing display, it is characterized in that, described system comprises:
Timing display box parameter presets unit, for the parameter of display box time pre-designed;
Timing display box generation unit, the parameter preset for presetting unit according to described timing display box parameter generates timing display box;
Timing display unit, for performing timing code, and shows the timing code of described execution at the timing display box that described timing display box generation unit generates.
5. system as claimed in claim 4, is characterized in that, preset before unit presets in described timing display box parameter, described system also comprises:
Display mode presets unit, for the display mode of display box time pre-designed, with the parameter of display box time pre-designed according to described display mode.
6. system as claimed in claim 4, it is characterized in that, described timing display box parameter presets the parameter of the timing display box that unit is preset, and comprising: the font of the shape of the quantity of timing display box, the implication of timing display box, timing display box, the color of timing display box, timing display box display, the size of described font.
CN201310206419.8A 2013-05-29 2013-05-29 Method and system for timing displaying Pending CN104216687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310206419.8A CN104216687A (en) 2013-05-29 2013-05-29 Method and system for timing displaying

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310206419.8A CN104216687A (en) 2013-05-29 2013-05-29 Method and system for timing displaying

Publications (1)

Publication Number Publication Date
CN104216687A true CN104216687A (en) 2014-12-17

Family

ID=52098226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310206419.8A Pending CN104216687A (en) 2013-05-29 2013-05-29 Method and system for timing displaying

Country Status (1)

Country Link
CN (1) CN104216687A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040225966A1 (en) * 2003-05-09 2004-11-11 Motorola, Inc. Method and device for automatically displaying appointments
CN1642321A (en) * 2004-01-05 2005-07-20 英华达(南京)科技有限公司 Method for mobile communication device to set time displaying state in hold-on mode
CN101150814A (en) * 2006-09-19 2008-03-26 三星电子株式会社 Method of controlling display of analog clock and mobile communication terminal using same
CN101329552A (en) * 2008-06-26 2008-12-24 无敌科技(西安)有限公司 Method and apparatus for displaying electronic clock
CN101825865A (en) * 2009-03-07 2010-09-08 鸿富锦精密工业(深圳)有限公司 Display device and display method
CN103049171A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method for self-defining clock based on mobile device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040225966A1 (en) * 2003-05-09 2004-11-11 Motorola, Inc. Method and device for automatically displaying appointments
CN1642321A (en) * 2004-01-05 2005-07-20 英华达(南京)科技有限公司 Method for mobile communication device to set time displaying state in hold-on mode
CN101150814A (en) * 2006-09-19 2008-03-26 三星电子株式会社 Method of controlling display of analog clock and mobile communication terminal using same
CN101329552A (en) * 2008-06-26 2008-12-24 无敌科技(西安)有限公司 Method and apparatus for displaying electronic clock
CN101825865A (en) * 2009-03-07 2010-09-08 鸿富锦精密工业(深圳)有限公司 Display device and display method
CN103049171A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method for self-defining clock based on mobile device

Similar Documents

Publication Publication Date Title
CN108228287B (en) QT-based user interface control generation method and device
EP3407300A1 (en) Method and device for realizing color tween animation
US20150074519A1 (en) Method and apparatus of controlling page element
CN102104510A (en) Data view processing method and system
KR20180019158A (en) METHOD AND DEVICE FOR PREVIEWING A DYNAMIC IMAGE, AND METHOD AND DEVICE FOR DISPLAYING A DISPLAY PACKAGE
CN105528167A (en) Information display method and apparatus
CN111936966A (en) Design system for creating graphical content
CN112068911B (en) Electronic form generation method, device, system, equipment and medium
CN104899038A (en) Interface style transformation method and device
CN105512099A (en) Gantt chart generation method and device
CN109426415B (en) Method and device for generating cascade selector
US9678640B2 (en) View management architecture
CN102508822A (en) Thai display method, device and system
CN104750363A (en) Realization method and system for concealed floating window
US20170315704A1 (en) Application user interfaces with scrollable color palettes
CN103823651A (en) Information processing method and electronic equipment
CN104216687A (en) Method and system for timing displaying
CN111476007A (en) Table generation method, table generation device, computer device and computer-readable storage medium
CN108509125B (en) Page turning method, device, terminal and computer readable storage medium
CN106033412A (en) Text conversion method and device
CN109189537A (en) The dynamic display method of page info calculates equipment and computer storage medium
CN104615941A (en) Fast encryption method and device for Android user partition and terminal equipment
US20150234635A1 (en) Tracking recitation of text
TW201913370A (en) Application page display method and device, device, storage medium
CN104572598A (en) Typesetting method and device for digitally published product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141217

RJ01 Rejection of invention patent application after publication