CN105138238A - Time display method and apparatus - Google Patents

Time display method and apparatus Download PDF

Info

Publication number
CN105138238A
CN105138238A CN201510494661.9A CN201510494661A CN105138238A CN 105138238 A CN105138238 A CN 105138238A CN 201510494661 A CN201510494661 A CN 201510494661A CN 105138238 A CN105138238 A CN 105138238A
Authority
CN
China
Prior art keywords
time
chronomere
showing region
assembly
viewing area
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.)
Granted
Application number
CN201510494661.9A
Other languages
Chinese (zh)
Other versions
CN105138238B (en
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.)
Beijing Persagy Energy-Saving Technology Co Ltd
Original Assignee
Beijing Persagy Energy-Saving 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 Beijing Persagy Energy-Saving Technology Co Ltd filed Critical Beijing Persagy Energy-Saving Technology Co Ltd
Priority to CN201510494661.9A priority Critical patent/CN105138238B/en
Publication of CN105138238A publication Critical patent/CN105138238A/en
Application granted granted Critical
Publication of CN105138238B publication Critical patent/CN105138238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Electric Clocks (AREA)

Abstract

The present application discloses a time display method and apparatus. An specific embodiment of the method comprises: generating a time control, wherein the time control comprises a time display region for displaying the time, the time display region comprises a time unit component and a time selection component corresponding to the time unit component, and the time selection component is used to obtain the time selected by a user; detecting a trigger signal acting on the time unit component; when detecting the trigger signal, determining a selected time unit according to the trigger signal; and according to the selected time unit, adjusting the time displayed in the time display region. According to the embodiment of the present application, fast switching of the time according to time units is realized and steps of adjusting the time by the user are reduced, thereby shortening the operation time of the user.

Description

A kind of method and apparatus for displaying time
Technical field
The application relates to field of computer technology, is specifically related to time control field, particularly relates to a kind of method and apparatus for displaying time.
Background technology
At present, time shaft can be realized by internet, time shaft is applied to different field, maximum effect is exactly event system, completes, associated with many-sided event by time shaft, form complete logout system, user can inquire about event correlation time, arrange according to actual needs.Such as, the time module of social network sites, train ticket and the selection of time module of plane ticket website, the application management software of some industry field etc. (sales volume of market and time correlation is inquired about, the safety management of infrastructure management company and time correlation etc., power industry and time correlation power consumption inquiry etc.) all may be applied to time shaft.In existing application, time and event are normally matched and are occurred, according to the time point that user selects, the event of its correspondence to be presented.But, also need to simplify the step of user according to chronomere's regulation time further, shorten the running time of user.
Summary of the invention
The object of the application is the method and apparatus for displaying time proposing a kind of improvement, solves the technical matters that above background technology part is mentioned.
On the one hand, this application provides a kind of method for displaying time, described method comprises: rise time control, described time control comprises the time showing region for displaying time, described time showing region comprises chronomere's assembly and the selection of time assembly corresponding with chronomere assembly, the time that described selection of time assembly is selected for obtaining user; Detect the trigger pip acted on described chronomere assembly; When trigger pip being detected, then determine by the chronomere selected according to trigger pip; According to by the chronomere selected, adjust the time that described time showing region shows.
In some embodiments, described chronomere comprise year, the moon, week, day, time, one or more among minute, second.
In some embodiments, described time control comprises two time showing regions for representing the time period, wherein, the start time point of the time representation time period of very first time viewing area, the termination time point of the time representation time period in the second time showing region.
In some embodiments, described method also comprises: when the trigger pip of the chronomere's assembly acted on a time showing region being detected, determine by the chronomere selected according to trigger pip, according to the time being adjusted another time showing region by the chronomere selected.
In some embodiments, described method also comprises: compare the time of very first time viewing area and the time in the second time showing region, if detect, the time of very first time viewing area is later than the time in the second time showing region, exchanges the time of very first time viewing area and the time in the second time showing region.
In some embodiments, described time control also comprises time period locked component; And described method also comprises: detect the trigger pip acting on described time period locked component; When described trigger pip being detected, the difference of time in current state lower very first time viewing area and the second time showing region being locked, and the difference of described time is recorded as segment length locking time; After above-mentioned lock operation, when detecting that the time in one of them time showing region changes, time in another time showing region of synchronous adjustment, the difference adjusting the time in rear very first time viewing area and the second time showing region is made to equal segment length locking time.
In some embodiments, the time that described acquisition user selects comprises: when the trigger pip acting on selection of time assembly being detected, ejects selection of time interface for users and clicks.
In some embodiments, the time that described acquisition user selects comprises: when the trigger pip acting on selection of time assembly being detected, monitor mouse roller event, when mouse roller event being detected, speed and the direction of mouse roller rolling is obtained, according to the speed of described rolling and the time of regulation time viewing area, direction according to mouse roller event.
In some embodiments, described method also comprises: carry out entirety control to the time of the described speed according to described rolling and regulation time viewing area, direction, the time in time showing region is changed by the order of natural time.
In some embodiments, described method also comprises: described according to by the chronomere selected, after adjusting the time that described time showing region shows, the event that the time correlation after display and adjustment joins.
Second aspect, this application provides a kind of device for displaying time, described device comprises: time control generation unit, be configured for rise time control, described time control comprises the time showing region for displaying time, described time showing region comprises chronomere's assembly and the selection of time assembly corresponding with chronomere assembly, the time that described selection of time assembly is selected for obtaining user; Detecting signal unit, is configured for the trigger pip detecting and act on described chronomere assembly; Chronomere's determining unit, is configured for when trigger pip being detected, then determine by the chronomere selected according to trigger pip; Time adjustment unit, is configured for according to by the chronomere selected, adjusts the time that described time showing region shows.
In some embodiments, described chronomere comprise year, the moon, week, day, time, one or more among minute, second.
In some embodiments, described time control comprises two time showing regions for representing the time period, wherein, the start time point of the time representation time period of very first time viewing area, the termination time point of the time representation time period in the second time showing region.
In some embodiments, also comprise: chronomere's interlock switch unit, be configured for when the trigger pip of the chronomere's assembly acted on a time showing region being detected, determine by the chronomere selected according to trigger pip, according to the time being adjusted another time showing region by the chronomere selected.
In some embodiments, also comprise: time check unit, be configured for and the time of very first time viewing area and the time in the second time showing region are compared, if detect, the time of very first time viewing area is later than the time in the second time showing region, exchanges the time of very first time viewing area and the time in the second time showing region.
In some embodiments, described time control also comprises time period locked component; And described device also comprises time period lock cell, is configured for: detect the trigger pip acting on described time period locked component; When described trigger pip being detected, the difference of time in current state lower very first time viewing area and the second time showing region being locked, and the difference of described time is recorded as segment length locking time; After above-mentioned lock operation, when detecting that the time in one of them time showing region changes, time in another time showing region of synchronous adjustment, the difference adjusting the time in rear very first time viewing area and the second time showing region is made to equal segment length locking time.
In some embodiments, described selection of time arrangement of components comprised for the time obtaining user's selection: when the trigger pip acting on selection of time assembly being detected, ejected selection of time interface for users and clicked.
In some embodiments, described selection of time arrangement of components comprised for the time obtaining user's selection: when the trigger pip acting on selection of time assembly being detected, monitor mouse roller event, when mouse roller event being detected, speed and the direction of mouse roller rolling is obtained, according to the speed of described rolling and the time of regulation time viewing area, direction according to mouse roller event.
In some embodiments, described time control also comprises time adjustment control module, time adjustment control module is configured for and carries out entirety control to the time of the described speed according to described rolling and regulation time viewing area, direction, and the time in time showing region is changed by the order of natural time.
In some embodiments, also comprise: correlating event display unit, be configured for described according to by the chronomere selected, after adjusting the time that described time showing region shows, the event that the time correlation after display and adjustment joins.
The method and apparatus for displaying time that the application provides, by to act on chronomere's assembly trigger pip detection, to determine corresponding chronomere according to trigger pip and according to this chronomere's regulation time, the quick switching of time unit in time can be realized, reduce the step of regulation time, shorten the running time of user, in addition, the application such as various dimensions interlock switching, time lock, time check, make user operation convenient, quick.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, the other features, objects and advantages of the application will become more obvious:
Fig. 1 is the process flow diagram of an embodiment of the method for displaying time according to the application;
Fig. 2 a is schematic diagram chronomere's assembly of day being operated to rear regulation time according to the application;
Fig. 2 b is schematic diagram chronomere's assembly in year being operated to rear regulation time according to the application;
Fig. 3 a is the schematic diagram of the numerical value being obtained year according to the selection of time assembly of the application by drop-down menu;
Fig. 3 b is the schematic diagram of the numerical value being obtained the moon according to the selection of time assembly of the application by drop-down menu;
Fig. 3 c is the schematic diagram of the numerical value being obtained week according to the selection of time assembly of the application by drop-down menu;
Fig. 3 d is the schematic diagram of the numerical value being obtained day according to the selection of time assembly of the application by drop-down menu;
Fig. 4 is the process flow diagram of another embodiment of the method for displaying time according to the application;
Fig. 5 a carries out the schematic diagram adjusted that links by the operation of the Time of Day unit assembly of very first time viewing area to two time showings in Fig. 4 embodiment zone time;
Fig. 5 b carries out the schematic diagram adjusted that links by the operation of the year unit assembly in the second time showing region to two time showings in Fig. 4 embodiment zone time.
Fig. 6 a is to the schematic diagram before the time automatic Verification in very first time viewing area and the second time showing region in Fig. 4 embodiment;
Fig. 6 b is to the schematic diagram after the time automatic Verification in very first time viewing area and the second time showing region in Fig. 4 embodiment.
Schematic diagram when Fig. 7 a (1) and Fig. 7 a (2) is the mistiming locking to very first time viewing area and the second time showing region in Fig. 4 embodiment;
Fig. 7 b is the schematic diagram to regulation time after the mistiming locking in very first time viewing area and the second time showing region in Fig. 4 embodiment.
Fig. 8 is the structural representation of an embodiment of the device for displaying time according to the application.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not the restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, illustrate only the part relevant to Invention.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the application in detail in conjunction with the embodiments.
Please refer to Fig. 1, it illustrates the flow process 100 of an embodiment of the method for displaying time.The present embodiment is mainly applied in this way in the electronic equipment including display screen and illustrates, this electronic equipment can comprise smart mobile phone, panel computer, E-book reader, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3), MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc.The described method for displaying time, comprises the following steps:
Step 101, rise time control.
In the present embodiment, electronic equipment (such as time control application runs pocket computer thereon) from code that is local or that remotely obtain for rise time control, and can perform this code with rise time control.The time control generated includes time showing region, and time showing region comprises one or more chronomeres assembly and the selection of time assembly corresponding with each chronomere assembly.Chronomere is the time of day of special agreement, and chronomere's assembly can be a button assembly, it can show the chronomere of its correspondence, so that user identifies.Selection of time assembly is used for showing the numerical value of chronomere and can be used for receiving user to the selection of chronomere's numerical value, and so, namely selection of time assembly can be used for the time obtaining user's selection.
In the present embodiment, the code of rise time control can be stored in the storer of electronic equipment self, and at this moment, this electronic equipment directly locally can obtain these codes; Above-mentioned code can also be stored in remote server (such as applying to the time control class on electronic equipment the background server provided support), at this moment, this electronic equipment can receive these information by wired connection mode or radio connection from remote server.Above-mentioned radio connection includes but not limited to 3G/4G connection, WiFi connection, bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultrawideband) connection and other radio connection developed known or future now.
Step 102, detects the trigger pip acted on chronomere's assembly.
In the present embodiment, electronic equipment after rise time control, can detect the trigger pip that the user of electronic equipment acts on this chronomere's assembly, and carries out subsequent processes according to detected trigger pip on its display screen.Here, the trigger pip of user to chronomere's assembly includes but not limited to following one or more: user points touch operation, the click action of mouse at assembly place of chronomere of chronomere's assembly correspondence position on a display screen.
Exemplarily, electronic equipment can carry out displaying time control by means of graphic user interface (GUI), and realizes the detection to the trigger pip acting on time control by means of the control in graphic user interface.
Step 103, when trigger pip being detected, then determines by the chronomere selected according to this trigger pip.
In the present embodiment, after electronic equipment detects that user is to the trigger pip (such as clicking the button as chronomere's assembly) of chronomere's assembly, it can parse which chronomere's assembly of trigger pip effect, the chronomere that this chronomere's assembly is corresponding be determine by the chronomere selected.
Step 104, according to by the chronomere selected, the time that regulation time viewing area shows.
In the present embodiment, according to by the chronomere selected to the adjustment of time, be the time of display is adjusted to corresponding with by the chronomere selected.Time is corresponding with chronomere, can be the time of display is accurate to this chronomere.The time of display is accurate to this chronomere can realize in the following manner: during regulation time, hide than by the selection of time assembly selected corresponding to little chronomere of chronomere, the numerical value of these less chronomeres is not shown, also cannot arrange.Meanwhile, for being selected chronomere and higher than being selected the chronomere of chronomere, making the selection of time assembly of its correspondence be in display state, making the numerical value of these chronomeres can show and setting.
Here it should be noted that, when to the time, control is arranged, the sequencing that chronomere's assembly and selection of time assembly are arranged is not strict with.
In some optional implementations of the present embodiment, chronomere can from year, season, the moon, week, day, time, select minute, second.Fig. 2 a shows the schematic diagram of time control that chronomere comprises year, the moon, week, day.As shown in Figure 2 a, time showing region 200 comprises: comprise chronomere's assembly 201 and the selection of time assembly 202 corresponding with chronomere assembly 201.The assembly of display " year " is chronomere's assembly 201 of year correspondence, and the assembly on the left of it is the selection of time assembly 201 of year correspondence; The assembly of display " moon " is chronomere's assembly 201 of moon correspondence, and the assembly on the left of it is the selection of time assembly 202 of moon correspondence; The assembly of display " week " is chronomere's assembly 201 of week correspondence, and the assembly on the left of it is the selection of time assembly 202 of week correspondence; The assembly of display " day " is chronomere's assembly 201 of day correspondence, and the assembly on the left of it is the selection of time assembly 202 of day correspondence.In Fig. 2 a, week and day correspondence selection of time assembly 202 use same assembly, those skilled in the art should expect, above each assembly also has other arrangements.When trigger pip acts on chronomere's assembly 202 of display " year ", the time of regulation time viewing area, make this time corresponding with year, namely the selection of time assembly of " year " correspondence is shown (owing to now there is not the chronomere higher than year, only need the selection of time assembly showing " year " correspondence), selection of time assembly chronomere (such as " moon ", " day ") corresponding to less than " year " is then set to hiding, and the time showing region after adjustment as shown in Figure 2 b.
In some optional implementations of the present embodiment, the time obtaining user's selection comprises: when the trigger pip acting on selection of time assembly being detected, ejects selection of time interface for users and clicks.Fig. 3 a-Fig. 3 d shows the exemplary plot of this optional implementation.Selection of time assembly can be a drop-down menu, when electronic equipment detects the click event to this drop-down menu, eject selection of time interface, there is in this selection of time interface the optional numerical value of corresponding chronomere, when the click event to certain numerical value being detected again, obtain corresponding numerical value according to click event, be presented on selection of time assembly.Numerical value on selection of time assembly is the time that user selects.
In some optional implementations of the present embodiment, the time obtaining user's selection comprises: when the trigger pip acting on selection of time assembly being detected, monitor mouse roller event, when mouse roller event being detected, speed and the direction of mouse roller rolling is obtained, according to the speed of this rolling and the time of regulation time viewing area, direction according to mouse roller event.
Detecting the trigger pip acting on selection of time assembly to describe in aforementioned optional implementation, repeat no more here, being only described not describing part above.Not describing part is above: monitor mouse roller event, when mouse roller event being detected, obtains speed and the direction of mouse roller rolling, according to the speed of this rolling and the time of regulation time viewing area, direction according to mouse roller event.Electronic equipment is monitored mouse roller event, when listening to mouse roller event, electronic equipment obtains speed and the direction of mouse roller rolling by resolving this mouse roller event, according to the speed of this rolling and the time of regulation time viewing area, direction.The speed of the corresponding time change of the speed that mouse roller rolls, during speed, the speed of time change is also faster.The direction of the direction then corresponding time variations that mouse roller rolls, scroll up then by the time to the change of more late direction, roll downwards then by the time to direction change comparatively early.Vice versa.In preferred implementation, control carrying out entirety according to the speed of this rolling and the time of regulation time viewing area, direction, the time in time showing region is changed by the order of natural time.Change by the order of natural time, when to refer to the numerical value of certain chronomere to comparatively early time orientation or to more late time orientation adjustment, the time of time showing region entirety all changes to same direction.Such as, when there is legal maximal value and minimum value in the numerical value of unit sometime, when the current value of this chronomere has been minimum value, when electronic equipment continues to reduce to it according to mouse roller event, now the numerical value of this chronomere is become maximal value, the numerical value of chronomere more higher leveled than this chronomere is subtracted one simultaneously.In like manner, when the current value of this chronomere has arrived maximal value, if when needing continuation to increase the numerical value of this chronomere according to the mouse roller event monitored, this chronomere's numerical value is become minimum value, meanwhile, will than higher leveled chronomere of this chronomere increase 1.Like this, the numerical value collaborative variation of multiple chronomere can be made, ensure that the time in time showing region presses the order change of natural time, prevent the circulation change of numerical value during regulation time being certain chronomere.
In some optional implementations of the present embodiment, the method also comprises: according to by the chronomere selected, after adjusting the time that described time showing region shows, obtain the time after adjustment.Electronic equipment, again according to this time, obtains the event joined with this time correlation, and these events is shown from backstage.
For the present embodiment, the scene of application can be, the chronomere that user can need according to oneself clicks corresponding chronomere assembly on time control, the time in time showing region can be made to adjust to corresponding with required chronomere, so that follow-up operation.In the method that above-described embodiment of the application provides, user only need click chronomere's assembly of response, fast according to chronomere's form switching time, can reduce the step of user operation, thus save the running time of user.
With further reference to Fig. 4, it illustrates the process flow diagram of another embodiment of the method for displaying time.The difference of the present embodiment and above-described embodiment is, time control comprises two time showing regions for representing the time period.
Time control in this embodiment comprises two time showing regions, is respectively very first time viewing area and the second time showing region.Very first time viewing area is positioned at left, and the second time showing region is positioned at right.Those skilled in the art should expect, very first time viewing area also can be positioned at the right in the second time showing region, and the relative position in very first time viewing area and the second time showing region also can be other position relationships such as up and down.Wherein, the start time point of the time representation time period of very first time viewing area, the termination time point of the time representation time period in the second time showing region.A time period can be determined by initial time section and termination time point.
In some optional implementations of the present embodiment, the method also comprises: when the trigger pip of the chronomere's assembly acted on a time showing region being detected, determine, by the chronomere selected, to adjust the time in another time showing region according to trigger pip.
Fig. 5 a shows an example of this optional implementation.As shown in Figure 5 a, when the trigger pip acted in very first time viewing area on " day " chronomere's assembly being detected, determine that by the chronomere selected be day, in the above-described embodiments, only the time of very first time viewing area is adjusted, make its time correspond to the date.In the present embodiment, also can, to the identical adjustment of time intercropping in the second time showing region, its time be made also to correspond to the date.Fig. 5 b shows another example of this implementation.Equally, as shown in Figure 5 b, when " year " the chronomere's assembly acting on the second time showing region being detected, the time in the second time showing region being adjusted to corresponding with the time, also the time of very first time viewing area being adjusted to corresponding with the time simultaneously.By this optional implementation, this embodiment can make the time in very first time viewing area and the second time showing region correspond to same chronomere.
In some optional implementations of the present embodiment, the method also comprises: compare the time of very first time viewing area and the time in the second time showing region, if detect, the time of very first time viewing area is later than the time in the second time showing region, exchanges the time of very first time viewing area and the time in the second time showing region.
Start time point due to the time period must be not later than termination time point, and therefore the time of very first time viewing area and the time in the second time showing region must meet this constraint condition.This optional implementation detects whether meet this constraint condition by the time of comparing two time showing regions.If do not met, then by the time in exchange two time showing regions, it is made to meet this constraint condition.Exchange the method for the time of very first time viewing area and the time in the second time showing region, can by the exchange of values of selection of time assembly corresponding in very first time viewing area and the second time showing region.Fig. 6 a, Fig. 6 b show an example of this optional implementation.As Fig. 6 a, the time of very first time viewing area is set to " on 06 01st, 2015 ", and the second time showing is set to " on 05 01st, 2015 " zone time.After the time of electronic equipment to two time showing regions compares, because comparative result is this constraint condition of the time time not meeting very first time viewing area being not later than the second time showing region, the time in the time of very first time viewing area and the second time showing region exchanges by electronic equipment.During exchange, by " 2015 ", " 06 ", " 01 " on each for very first time viewing area selection of time assembly can with " 2015 ", " 05 " on second time showing region each selection of time assembly, " 01 " is corresponding exchanges, after exchanging, the time of very first time viewing area becomes " on 05 01st, 2015 ", second time showing region becomes " on 06 01st, 2015 ", as shown in Figure 6 b.This optional implementation, makes when the time of carrying out adjusts, when the order of start time point and termination time point is arranged mistake by user, can automatic error-correcting, thus simplify user operation step, shorten the user operation time.
In some optional implementations of the present embodiment, described time control also comprises time period locked component; Method for displaying time also comprises: detect the trigger pip acting on time period locked component; When this trigger pip being detected, the difference of time in current state lower very first time viewing area and the second time showing region being locked, and this difference is recorded as segment length locking time; After above-mentioned lock operation, when detecting that the time in one of them time showing region changes, time in another time showing region of synchronous adjustment, the difference adjusting the time in rear very first time viewing area and the second time showing region is made to equal segment length locking time.
Time period locked component can be a button.Electronic equipment can detect click event by this button, after listening to the click event to this button, performs the lock operation to the difference of time in current state lower very first time viewing area and the second time showing region.Lock operation need calculate the difference of time in current state lower very first time viewing area and the second time showing region, and this difference is recorded as segment length locking time.Lock operation, when again detecting that user adjusts very first time viewing area or the second time showing region, numeral in another time showing region of synchronous adjustment on selection of time assembly, to ensure that the time period length after adjusting equals segment length locking time.
Fig. 7 a (1), 7a (2), Fig. 7 b show an example of this optional implementation.Fig. 7 a (1) is current state, and time control is outward appearance is the button assembly locked.After electronic equipment detects that user is to the click event of this button assembly, perform lock operation, as Fig. 7 a (2).Lock operation comprises the determination of segment length locking time and locks with the mistiming of segment length to the after this viewing area time very first time and second time showing zone time locking time.Locking time, the defining method of segment length was the mistiming calculating the time in current state lower very first time viewing area and the second time showing region, and segment length locking time will be recorded as the mistiming, in Fig. 7 a (2), segment length is 32 days this locking time.Entering line-locked method with segment length locking time to after this time in very first time viewing area and the second time showing region is, when again detecting that user adjusts very first time viewing area or the second time showing region, electronic equipment adjusts the numeral in another time showing region on selection of time assembly automatically, makes the mistiming of time in very first time viewing area and the second time showing region equal segment length locking time.As shown in Figure 7b, when detecting that the time of very first time viewing area adjusts on 03 28th, 2015, the time in the second time showing region is adjusted on 04 29th, 2015 by electronic equipment simultaneously, and the mistiming making to adjust the viewing area time rear very first time and second time showing zone time remains on 32 days.Like this, the time period length of very first time viewing area and the second time showing region representation can be made to be always a lock value.
With further reference to Fig. 8, as the realization to method shown in above-mentioned each figure, this application provides an a kind of embodiment of the device for displaying time, this device embodiment is corresponding with the embodiment of the method shown in Fig. 1, and this device specifically can be applied in electronic equipment.
As shown in Figure 8, the device 800 for displaying time described in the present embodiment comprises: time control generation unit 801, detecting signal unit 802, chronomere's determining unit 803, time adjustment unit 804.Wherein, time control generation unit 801 is configured for rise time control, this time control comprises the time showing region for displaying time, this time showing region comprises chronomere's assembly and the selection of time assembly corresponding with chronomere assembly, the time that this selection of time assembly is selected for obtaining user; Detecting signal unit 802, is configured for the trigger pip detecting and act on this chronomere's assembly; Chronomere's determining unit 803, is configured for when trigger pip being detected, then determine by the chronomere selected according to trigger pip; Time adjustment unit 804, is configured for according to by the chronomere selected, adjusts the time that this time showing region shows.
In the present embodiment, the time control generation unit 801 of device 800 from this locality or can remotely obtain the code being used for rise time control, and run time version is with rise time control.The time control generated includes time showing region, and time showing region comprises one or more chronomeres assembly and the selection of time assembly corresponding with each chronomere assembly.Chronomere is the time of day of special agreement.Chronomere's assembly can be a button assembly.Can displaying time unit on chronomere's assembly, for showing the chronomere that this chronomere's assembly is corresponding.Selection of time assembly is used for showing the numerical value of chronomere, and chronomere's assembly can be used for receiving user to the selection of chronomere's numerical value, and namely selection of time assembly can be used for the time obtaining user's selection.
In the present embodiment, detecting signal unit 802 can detect the trigger pip that the user of electronic equipment acts on this time control between chronomere's assembly, and carries out subsequent processes according to detected trigger pip.Here, the trigger pip of user to chronomere's assembly includes but not limited to following one or more: user points touch operation, the click/scroll actions of mouse at assembly place of chronomere of chronomere's assembly correspondence position on a display screen.
In the present embodiment, when detecting signal unit 802 detects trigger pip, chronomere's determining unit 803 can be determined by the chronomere selected according to this trigger pip.Time adjustment unit 804 adjusts the time according to by the chronomere selected, and is adjusted to the time of display corresponding with by the chronomere selected.
In an Alternate embodiments of the present embodiment, above-mentioned time control comprises two time showing regions for representing the time period, wherein, the start time point of the time representation time period of very first time viewing area, the termination time point of the time representation time period in the second time showing region.In some optional preferred implementations, the above-mentioned device 800 for displaying time also comprises chronomere's interlock switch unit (not shown), this chronomere interlock switch unit is configured for when the trigger pip of the chronomere's assembly acted on in a time showing region being detected, determine, by the chronomere selected, to adjust the time in another time showing region according to trigger pip.In some optional preferred implementations, the above-mentioned device 800 for displaying time also comprises time check unit (not shown), be configured for and the time of very first time viewing area and the time in the second time showing region are compared, if detect, the time of very first time viewing area is later than the time in the second time showing region, exchanges the time of very first time viewing area and the time in the second time showing region.In some optional preferred implementations, above-mentionedly also comprise time period locked component for time control in the device of displaying time, this device 800 also comprises time period lock cell (not shown), is configured for the trigger pip detecting and act on this time period locked component; When described trigger pip being detected, the difference of time in current state lower very first time viewing area and the second time showing region being locked, and the difference of described time is recorded as segment length locking time; After above-mentioned lock operation, when detecting that the time in one of them time showing region changes, time in another time showing region of synchronous adjustment, the difference adjusting the time in rear very first time viewing area and the second time showing region is made to equal segment length locking time.
It will be understood by those skilled in the art that the above-mentioned device 800 for displaying time also comprises some other known features, such as processor, storeies etc., in order to unnecessarily fuzzy embodiment of the present disclosure, these known structures are not shown in fig. 8.
Unit involved in the embodiment of the present application can be realized by the mode of software, also can be realized by the mode of hardware.Described unit also can be arranged within a processor, such as, can be described as: a kind of processor comprises time control generation unit, detecting signal unit, chronomere's determining unit and time adjustment unit.Wherein, the title of these unit does not form the restriction to this unit itself under certain conditions, and such as, time control generation unit can also be described to " being configured for the unit of rise time control ".
As another aspect, present invention also provides a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in device described in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.Described computer-readable recording medium stores more than one or one program, described program by one or more than one processor be used for performance description in the application in the method for displaying time.
More than describe and be only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, invention scope involved in the application, be not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, also should be encompassed in when not departing from described inventive concept, other technical scheme of being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed simultaneously.The technical characteristic that such as, disclosed in above-mentioned feature and the application (but being not limited to) has similar functions is replaced mutually and the technical scheme formed.

Claims (20)

1. for a method for displaying time, it is characterized in that, comprising:
Rise time control, described time control comprises the time showing region for displaying time, described time showing region comprises chronomere's assembly and the selection of time assembly corresponding with chronomere assembly, the time that described selection of time assembly is selected for obtaining user;
Detect the trigger pip acted on described chronomere assembly;
When trigger pip being detected, then determine by the chronomere selected according to trigger pip;
According to by the chronomere selected, adjust the time that described time showing region shows.
2. method according to claim 1, is characterized in that, described chronomere comprise year, the moon, week, day, time, one or more among minute, second.
3. method according to claim 1, it is characterized in that, described time control comprises two time showing regions for representing the time period, wherein, the start time point of the time representation time period of very first time viewing area, the termination time point of the time representation time period in the second time showing region.
4. method according to claim 3, it is characterized in that, also comprise: when the trigger pip of the chronomere's assembly acted on a time showing region being detected, determine by the chronomere selected according to trigger pip, according to the time being adjusted another time showing region by the chronomere selected.
5. method according to claim 3, it is characterized in that, also comprise: the time of very first time viewing area and the time in the second time showing region are compared, if detect, the time of very first time viewing area is later than the time in the second time showing region, exchanges the time of very first time viewing area and the time in the second time showing region.
6. method according to claim 3, is characterized in that, described time control also comprises time period locked component; And
Described method also comprises:
Detect the trigger pip acting on described time period locked component;
When described trigger pip being detected, the difference of time in current state lower very first time viewing area and the second time showing region being locked, and the difference of described time is recorded as segment length locking time;
After above-mentioned lock operation, when detecting that the time in one of them time showing region changes, time in another time showing region of synchronous adjustment, the difference adjusting the time in rear very first time viewing area and the second time showing region is made to equal segment length locking time.
7. according to the method one of claim 1-6 Suo Shu, it is characterized in that, the time that described acquisition user selects comprises: when the trigger pip acting on selection of time assembly being detected, ejects selection of time interface for users and clicks.
8. according to the method one of claim 1-6 Suo Shu, it is characterized in that, the time that described acquisition user selects comprises: when the trigger pip acting on selection of time assembly being detected, monitor mouse roller event, when mouse roller event being detected, speed and the direction of mouse roller rolling is obtained, according to the speed of described rolling and the time of regulation time viewing area, direction according to mouse roller event.
9. method according to claim 8, is characterized in that, carries out entirety control, the time in time showing region is changed by the order of natural time to the time of the described speed according to described rolling and regulation time viewing area, direction.
10., according to the method one of claim 1-6 Suo Shu, it is characterized in that, described according to by the chronomere selected, after adjusting the time that described time showing region shows, the event that the time correlation after display and adjustment joins.
11. 1 kinds for the device of displaying time, is characterized in that, comprising:
Time control generation unit, be configured for rise time control, described time control comprises the time showing region for displaying time, described time showing region comprises chronomere's assembly and the selection of time assembly corresponding with chronomere assembly, the time that described selection of time assembly is selected for obtaining user;
Detecting signal unit, is configured for the trigger pip detecting and act on described chronomere assembly;
Chronomere's determining unit, is configured for when trigger pip being detected, then determine by the chronomere selected according to trigger pip;
Time adjustment unit, is configured for according to by the chronomere selected, adjusts the time that described time showing region shows.
12. devices according to claim 11, is characterized in that, described chronomere comprise year, the moon, week, day, time, one or more among minute, second.
13. devices according to claim 11, it is characterized in that, described time control comprises two time showing regions for representing the time period, wherein, the start time point of the time representation time period of very first time viewing area, the termination time point of the time representation time period in the second time showing region.
14. devices according to claim 13, is characterized in that, also comprise:
Chronomere's interlock switch unit, be configured for when the trigger pip of the chronomere's assembly acted on a time showing region being detected, determine by the chronomere selected according to trigger pip, according to the time being adjusted another time showing region by the chronomere selected.
15. devices according to claim 13, is characterized in that, also comprise:
Time check unit, be configured for and the time of very first time viewing area and the time in the second time showing region are compared, if detect, the time of very first time viewing area is later than the time in the second time showing region, exchanges the time of very first time viewing area and the time in the second time showing region.
16. devices according to claim 13, is characterized in that, described time control also comprises time period locked component; And
Described device also comprises time period lock cell, is configured for:
Detect the trigger pip acting on described time period locked component;
When described trigger pip being detected, the difference of time in current state lower very first time viewing area and the second time showing region being locked, and the difference of described time is recorded as segment length locking time;
After above-mentioned lock operation, when detecting that the time in one of them time showing region changes, time in another time showing region of synchronous adjustment, the difference adjusting the time in rear very first time viewing area and the second time showing region is made to equal segment length locking time.
17., according to the device one of claim 11-16 Suo Shu, is characterized in that, described selection of time arrangement of components is used for: when the trigger pip acting on selection of time assembly being detected, eject selection of time interface for users and click.
18. according to the device one of claim 11-16 Suo Shu, it is characterized in that, described selection of time arrangement of components is used for: when the trigger pip acting on selection of time assembly being detected, monitor mouse roller event, when mouse roller event being detected, speed and the direction of mouse roller rolling is obtained, according to the speed of described rolling and the time of regulation time viewing area, direction according to mouse roller event.
19. devices according to claim 18, it is characterized in that, described time control also comprises time adjustment control module, described time adjustment control module is configured for and carries out entirety control to the time of the described speed according to described rolling and regulation time viewing area, direction, and the time in time showing region is changed by the order of natural time.
20., according to the device one of claim 11-16 Suo Shu, is characterized in that, also comprise:
Correlating event display unit, is configured for described according to by the chronomere selected, after adjusting the time that described time showing region shows, and the event that the time correlation after display and adjustment joins.
CN201510494661.9A 2015-08-12 2015-08-12 Method and device for displaying time Active CN105138238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510494661.9A CN105138238B (en) 2015-08-12 2015-08-12 Method and device for displaying time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510494661.9A CN105138238B (en) 2015-08-12 2015-08-12 Method and device for displaying time

Publications (2)

Publication Number Publication Date
CN105138238A true CN105138238A (en) 2015-12-09
CN105138238B CN105138238B (en) 2021-06-01

Family

ID=54723602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510494661.9A Active CN105138238B (en) 2015-08-12 2015-08-12 Method and device for displaying time

Country Status (1)

Country Link
CN (1) CN105138238B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824507A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Calendar setting method and device
CN106708540A (en) * 2017-02-09 2017-05-24 北京天元创新科技有限公司 General time selection method
CN108509118A (en) * 2017-10-19 2018-09-07 平安科技(深圳)有限公司 Selection method, device, computer equipment and the storage medium of period
CN111177305A (en) * 2019-12-30 2020-05-19 广州骏伯网络科技有限公司 Method, system, device and storage medium for time segment selection
CN111291090A (en) * 2020-01-21 2020-06-16 博锐尚格科技股份有限公司 Time period obtaining method and device based on time control, electronic equipment and medium
CN112364050A (en) * 2020-11-17 2021-02-12 博锐尚格科技股份有限公司 Time period obtaining method and device based on time control, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470581A (en) * 2007-12-28 2009-07-01 英业达股份有限公司 Electronic calendar interface, system and method for displaying travel route density according to time interval switch
CN103116445A (en) * 2013-03-15 2013-05-22 金川集团股份有限公司 Operation method for inputting time quickly
CN103412957A (en) * 2013-08-30 2013-11-27 天脉聚源(北京)传媒科技有限公司 Data display method and device based on time axis
CN103577100A (en) * 2012-07-30 2014-02-12 Sap股份公司 Scalable zoom calendars
CN104020990A (en) * 2014-05-12 2014-09-03 小米科技有限责任公司 Date selection control displaying method and device
CN104123633A (en) * 2014-07-24 2014-10-29 北京嘉和美康信息技术有限公司 Calendar control
CN104133625A (en) * 2014-07-21 2014-11-05 联想(北京)有限公司 Information processing method and electronic equipment
CN104598252A (en) * 2015-02-15 2015-05-06 北京恒华伟业科技股份有限公司 Time control as well as method for determining time based on time control

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470581A (en) * 2007-12-28 2009-07-01 英业达股份有限公司 Electronic calendar interface, system and method for displaying travel route density according to time interval switch
CN103577100A (en) * 2012-07-30 2014-02-12 Sap股份公司 Scalable zoom calendars
CN103116445A (en) * 2013-03-15 2013-05-22 金川集团股份有限公司 Operation method for inputting time quickly
CN103412957A (en) * 2013-08-30 2013-11-27 天脉聚源(北京)传媒科技有限公司 Data display method and device based on time axis
CN104020990A (en) * 2014-05-12 2014-09-03 小米科技有限责任公司 Date selection control displaying method and device
CN104133625A (en) * 2014-07-21 2014-11-05 联想(北京)有限公司 Information processing method and electronic equipment
CN104123633A (en) * 2014-07-24 2014-10-29 北京嘉和美康信息技术有限公司 Calendar control
CN104598252A (en) * 2015-02-15 2015-05-06 北京恒华伟业科技股份有限公司 Time control as well as method for determining time based on time control

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824507A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Calendar setting method and device
CN106708540A (en) * 2017-02-09 2017-05-24 北京天元创新科技有限公司 General time selection method
CN106708540B (en) * 2017-02-09 2020-01-07 北京天元创新科技有限公司 Universal time selection method
CN108509118A (en) * 2017-10-19 2018-09-07 平安科技(深圳)有限公司 Selection method, device, computer equipment and the storage medium of period
CN111177305A (en) * 2019-12-30 2020-05-19 广州骏伯网络科技有限公司 Method, system, device and storage medium for time segment selection
CN111177305B (en) * 2019-12-30 2021-01-05 广州骏伯网络科技有限公司 Method, system, device and storage medium for time segment selection
CN111291090A (en) * 2020-01-21 2020-06-16 博锐尚格科技股份有限公司 Time period obtaining method and device based on time control, electronic equipment and medium
CN111291090B (en) * 2020-01-21 2024-02-13 博锐尚格科技股份有限公司 Method, device, electronic equipment and medium for acquiring time period based on time control
CN112364050A (en) * 2020-11-17 2021-02-12 博锐尚格科技股份有限公司 Time period obtaining method and device based on time control, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105138238B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN105138238A (en) Time display method and apparatus
US11081086B2 (en) Display method and apparatus
JP2020038689A (en) Method and device for recommending application and method and device for displaying recommended application
US11062251B2 (en) Multi-dimensional command center
KR102180677B1 (en) Method for managing battery of electronic device, and electronic device performing thereof
US9264777B2 (en) Control video content play speed
CN113687897A (en) System and method for proactively providing recommendations to a user of a computing device
CN104202718A (en) Method and device for providing information for user
CN106462454A (en) Activity continuation between electronic devices
WO2021180104A1 (en) Message pushing method and system, and client, storage medium and processor
US10860182B2 (en) Information processing apparatus and information processing method to superimpose data on reference content
JP6455005B2 (en) Information processing apparatus, control method, and program
US20200125223A1 (en) Method, device, apparatus, and system for displaying dynamic list
US20140195968A1 (en) Inferring and acting on user intent
CN102981755A (en) Gesture control method and gesture control system based on remote application
JP2016177614A (en) Conference system, information processing device, information terminal, and program
US20160350332A1 (en) Individualized on-demand image information acquisition
US20150015730A1 (en) Apparatus and method for obtaining image
CN103229132B (en) Realize method and the device of remote browse
KR20180081231A (en) Method for sharing data and an electronic device thereof
EP3455712B1 (en) Electronic device and control method therefor
CN104008494A (en) Watching record obtaining method, effectiveness evaluation method and devices for display information
EP3627352A2 (en) Offline briefcase synchronization
US20160110372A1 (en) Method and apparatus for providing location-based social search service
CN112783406A (en) Operation execution method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100088 Room 221, Building 5, 11 Deshengmenwai Street, Xicheng District, Beijing

Applicant after: Borui Shangge Technology Co., Ltd

Address before: 100085, No. 1, Nongda South Road, Haidian District, Silicon Valley, No. 2, building 4, bright city, Beijing

Applicant before: Beijing Persagy Energy-Saving Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant