The content of the invention
In consideration of it, being necessary to provide a kind of electronic equipment and time display method, the electricity of the electronic equipment can be savedSource, but also the time in corresponding time zone can be shown when the display screen of electronic equipment is in different conditions, it is above-mentioned to solveProblem.
The present invention provides a kind of time display method, is applied in electronic equipment.Methods described includes:
Confirm the current dispaly state of the display screen of the electronic equipment, the dispaly state includes bright screen state or puts out screenState;
According to the dispaly state of the display screen, corresponding to electronic equipment current location described in the display screen displayThe time in time zone or the time in default time zone.
Further, in the time display method:
Before " confirming the current dispaly state of the display screen of the electronic equipment ", also include:
Obtain the time in the default time zone;
When the dispaly state of the display screen is to put out screen state, screen is put out on the display screen and shows the default time zoneTime.
Further, in the time display method, " confirming the current display shape of the display screen of the electronic equipmentBefore state ", also include:
Obtain the positional information that the electronic equipment is presently in;
The time in time zone according to corresponding to the positional information obtains the electronic equipment current location;
When the dispaly state of the display screen is to put out screen state, screen is put out on the display screen and shows the current locationThe time in corresponding time zone.
Further, the time display method also includes:
Receive the switching command of the time of switching show-timezone;
Judge that the time currently displaying on the display screen is the time in time zone corresponding to the electronic equipment current locationOr the time in the default time zone;
When the time currently displaying on the display screen being the time in time zone corresponding to the electronic equipment current location,Time-switching currently displaying on the display screen is shown as into the time in the default time zone;And work as current on the display screenWhen the time of display is the time in the default time zone, time-switching currently displaying on the display screen is shown as into the electricityThe time in time zone corresponding to sub- equipment current location.
Further, in the time display method, the default time zone is the time zone corresponding to one or more positions;Wherein described one or more positions be residing for the electronic equipment when up to the position of preset duration.
The present invention also provides a kind of electronic equipment, including:
Confirm module, the dispaly state current for confirming the display screen of the electronic equipment, the dispaly state includeBright screen state puts out screen state;
Display control module, for the dispaly state according to the display screen, controls described in the display screen displayThe time in the time in time zone or default time zone corresponding to electronic equipment current location.
Further, the electronic equipment also includes the first acquisition module, for confirming the electricity in the confirmation moduleBefore the current dispaly state of the display screen of sub- equipment, the time in the default time zone is obtained;The display control module is also usedIn when the dispaly state of the display screen is to put out screen state, control is put out screen on the display screen and shows the default time zoneTime.
Further, the electronic equipment also includes the second acquisition module, for confirming the electricity in the confirmation moduleBefore the current dispaly state of the display screen of sub- equipment, positional information that the electronic equipment is presently in is obtained and according to instituteState the time that positional information obtains time zone corresponding to the electronic equipment current location;The display control module is additionally operable to work as instituteWhen stating the dispaly state of display screen to put out screen state, when controlling to put out on the display screen corresponding to the screen display current locationThe time in area.
Further, the electronic equipment also includes:
Receiver module, for receiving the switching command of the time of switching show-timezone;
Judge module, for judging that the time currently displaying on the display screen is that the electronic equipment current location institute is rightAnswer the time in time zone or the time in the default time zone;
Handover module, for being corresponding to the electronic equipment current location when the time currently displaying on the display screenDuring the time in time zone, time-switching currently displaying on the display screen is shown as into the time in the default time zone;And work asWhen on the display screen, the currently displaying time is the time in the default time zone, by the time currently displaying on the display screenSwitching is shown as the time in time zone corresponding to the electronic equipment current location.
Further, in the electronic equipment, the default time zone is the time zone corresponding to one or more positions;WhereinDescribed one or more positions be residing for the electronic equipment when up to the position of preset duration.
Electronic equipment and time display method that the present invention is provided, are bright screen according to the dispaly state of the display screen for being confirmedState puts out screen state, shows the time in time zone corresponding to the electronic equipment current location or default time zone on a display screenTime.Therefore, reduce electronic equipment power consumption while, also allow user learn from the display screen of electronic equipment toThe time in few two time zones.
Further, the present invention is provided electronic equipment and time display method, also receive the time of switching show-timezoneSwitching command and according to switching command control switching on a display screen show the electronic equipment current location corresponding to whenThe time in area and the time in the default time zone, thus so that the user of electronic equipment can easily switch and check the electricityThe time in the time in time zone and the default time zone corresponding to sub- equipment current location, there is provided more preferable Consumer's Experience.
Specific embodiment
It is in order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and concrete realThe mode of applying describes the present invention.It should be noted that in the case where not conflicting, presently filed embodiment and realityApply the feature in mode to be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, described embodimentOnly a part of embodiment of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, this areaThe every other embodiment obtained under the premise of creative work is not made by those of ordinary skill, belongs to guarantor of the present inventionThe scope of shield.
Unless otherwise defined, all of technology used herein and scientific terminology and the technical field for belonging to the present inventionThe implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description toolThe purpose of the embodiment of body, it is not intended that of the invention in limiting.
Fig. 1 is the flow chart of the time display method of first embodiment of the invention, and the time display method is applied toIn electronic equipment.As shown in figure 1, the time display method comprises the steps:
101:Confirm the current dispaly state of the display screen of electronic equipment, the dispaly state includes bright screen state or puts out screenState.
102:According to the dispaly state of the display screen, in electronic equipment current location institute described in the display screen displayThe time in correspondence time zone or the time in default time zone.
In present embodiment, the default time zone can be the time zone corresponding to one or more positions;Wherein described oneOr multiple positions be residing for the electronic equipment when up to the position of preset duration.The default time zone and/or described one orMultiple positions can voluntarily be counted by the system of electronic equipment and be drawn or set in advance, or the user of electronic equipment sets in advancePut.Such as described one or more positions can be the position that electronic equipment has reached half a year in the duration residing for the position,Or the habitual residence of the user of electronic equipment, place of working etc..And default time zone then can be used to for one or more positions, userThe time zone that often residence or place of working are located.
The electronic equipment current location can be habitual residence, the work of described one or more positions and the userMake the position outside ground, for example, it may be user go out poorly, travelling etc..The electronic equipment current location can pass throughThe built-in global positioning system of electronic equipment (GPS device) is known.
The time display method that present embodiment is provided is applied in electronic equipment, according to the display screen for being confirmedDispaly state is bright screen state or to put out screen state, show on a display screen time zone corresponding to the electronic equipment current location whenBetween or default time zone time.Thus, on the one hand, realize and can also show under screen state a time zone in putting out for electronic equipmentTime;On the other hand, may also display the time in the time in time zone or default time zone corresponding to electronic equipment current location.Therefore,While the power consumption of electronic equipment is reduced, more rich time showing mode is additionally provided so that user can be set from electronicsThe time at least two time zones is learnt on standby display screen.
Flow charts of the Fig. 2 for the time display method of second embodiment of the invention.The time display method is applied toIn electronic equipment.It should be noted that in the range of the spirit or essential attributes of the present invention, it is adaptable in first embodimentEach concrete scheme can also accordingly suitable for second embodiment, for save space and avoid repeat for the sake of, here is notRepeat again.
As shown in Fig. 2 the time display method comprises the steps:
201:Obtain the time in default time zone.The default time zone can be that the system of electronic equipment or user pre-set, or the system statisticses of electronic equipment obtain.Specifically, may be referred to described in the first enforcement embodiment's.Step 201 can also be omitted.
202:Obtain the positional information that the electronic equipment is presently in.
203:The time in time zone according to corresponding to the positional information obtains the electronic equipment current location.Step 202-203 can also omit.
204:Confirm the current dispaly state of the display screen of electronic equipment, the dispaly state includes bright screen state or puts out screenState.Subsequently into step 205 or 206.
205:When the dispaly state of the display screen is to put out screen state, screen is put out on the display screen and shows described defaultThe time in time zone.
206:When the dispaly state of the display screen is bright screen state, in electronic equipment described in the display screen displayThe time in time zone corresponding to current location.It is understood that step 206 can also be omitted.
It is understood that above-mentioned steps 201-203 can also be performed after step 204, execution step 201-203Step 205 or 206 are entered back into afterwards.Above-mentioned steps 201 can also be performed after step 203.And, 205 He of above-mentioned stepsIn 206, can also be by the time tie in the time zone shown corresponding to display screen state, that is to say, that above-mentioned steps 205 and 206Can also be:
205:When the dispaly state of the display screen is bright screen state, described in the display screen display, time zone is being presetTime.It is understood that step 205 can also be omitted.
206:When the dispaly state of the display screen is to put out screen state, screen is put out on the display screen and shows the electronicsThe time in time zone corresponding to equipment current location.
207:Receive the switching command of the time of switching show-timezone.In present embodiment, the switching command can beWhat the input equipment of response electronic equipment was generated when being operated, input equipment can be touch screen, touch pad, mouse or keyboard etc.Can to the device of electronic equipment input signal, and, the display screen of the electronic equipment can also be touch display screen.
208:Judge that the time currently displaying on the display screen is time zone corresponding to the electronic equipment current locationTime or the time in the default time zone.And step 209 or 210 is entered accordingly according to judged result.
209:When the time currently displaying on the display screen being time zone corresponding to the electronic equipment current locationBetween when, time-switching currently displaying on the display screen is shown as into the time in the default time zone.
210:When the time currently displaying on the display screen being the time in the default time zone, by the display screenCurrently displaying time-switching is shown as the time in time zone corresponding to the electronic equipment current location.
It is understood that above-mentioned steps 207-210 can also be omitted.
The time display method that present embodiment is provided, except the technical scheme with first embodiment and technique effectOutward, can also include obtaining time in the default time zone, the time in time zone corresponding to the electronic equipment current location andReceive the switching command of the time of switching show-timezone and switching on a display screen is controlled according to switching command and show the electricityCorresponding to sub- equipment current location the step of the time in the time in time zone and the default time zone, thus so that electronic equipmentUser can easily switch and check the time in time zone corresponding to the electronic equipment current location and the default time zone whenBetween, there is provided more preferable Consumer's Experience.
It is more than the detailed description carried out by method provided by the present invention.According to different demands, in shown flow chartThe execution sequence of square can change, and some squares can be omitted.Below system provided by the present invention is described.
The structural representation of the electronic equipment of Ying Yong the respective embodiments described above that Fig. 3 is provided for the present invention.Such as Fig. 3 institutesShow, electronic equipment 1 includes storage device 10.Storage device 10 is stored with and is applied to the time display apparatus 100 of electronic equipment 1.Described electronic equipment 1 can be that the electronics with message informing prompting function such as mobile phone, panel computer, personal digital assistant setsIt is standby.Described time display apparatus 100 can be used in electronic equipment 1, be bright screen according to the dispaly state of the display screen for being confirmedState puts out screen state, show on a display screen the time in time zone corresponding to 1 current location of electronic equipment or default time zone whenBetween, to realize putting out the time that a time zone can also be shown under screen state in electronic equipment 1;On the other hand, may also display electronicsThe time in the time in time zone or default time zone corresponding to 1 current location of equipment.
In present embodiment, electronic equipment 1 is a mobile phone.Electronic equipment 1 can also include display screen 20, GPS device 30And processor 40.Storage device 10, display screen 20 and GPS device 30 can be electrically connected with processor 40 respectively.
Described storage device 10 can be different type storage device, for storing Various types of data.For example, it may be electricThe internal memory of sub- equipment 1, can also be the storage card that can be external in the electronic equipment 1, such as flash memory, SM cards (Smart MediaCard, smart media card), SD card (Secure Digital Card, safe digital card) etc..Storage device 10 is used to store eachClass data, for example, the types of applications program (Applications) installed in the electronic equipment 1, using the time showingData that the user of the information such as the data that device 100 arranges, obtain and electronic equipment 1 arranges and stores etc..
Display screen 20 is installed on electronic equipment 1, for showing the information such as time.
GPS device 30 is installed in electronic equipment 1, for providing the real-time position information of electronic equipment 1.
Processor 40 is used to perform all kinds of softwares installed in the time display apparatus 100 and the electronic equipment 1,Such as operating system and time showing notify software etc..Processor 40 is including but not limited to processor (CentralProcessing Unit, CPU), micro-control unit (Micro Controller Unit, MCU) etc. refers to for interpretive machineThe device of the data in order and process computer software.
Described time display apparatus 100 can be divided into one or more modules, one or more of module quiltsIn being stored in the storage device 10 of electronic equipment 1 and be configured to by one or more processors (present embodiment be one40) reason device performs, to complete the present invention.For example, refering to shown in Fig. 4, the time display apparatus 100 can be divided into confirmationModule 11, display control module 12, the first acquisition module 13, the second acquisition module 14, receiver module 15, judge module 16 andHandover module 17.Module alleged by the present invention is the program segment for completing a specific function, is existed more suitable for describing software than programImplementation procedure in processor.
It is understood that each embodiment in the above-mentioned time display method of correspondence, time display apparatus 100 can be byIt is divided into the function of part or all in each functional module shown in Fig. 4, each module introduce in detail below.NeedIllustrate, in each embodiment of above time display method, identical noun related terms and specific explanation also may be usedWith suitable for the following function introduction to each module.For the sake of saving space and avoiding to repeat, here is just repeated no more.
Confirm module 11, can be used to confirm the dispaly state that the display screen 20 of electronic equipment 1 is current, the dispaly state bagInclude bright screen state or put out screen state.
Display control module 12, can be used for the dispaly state according to display screen 20, and control shows electronics on display screen 20The time in the time in time zone or default time zone corresponding to 1 current location of equipment.
Display control module 12 is can be additionally used in when the dispaly state of display screen 20 is to put out screen state, is controlled in display screen 20On put out the time that screen shows the default time zone, and can be used for when the dispaly state of display screen 20 is bright screen state, aobviousThe time in time zone corresponding to 1 current location of electronic equipment is shown in display screen 20.
Display control module 12 is can be additionally used in when the dispaly state of display screen 20 is bright screen state, is controlled in display screen 20The upper time for showing the default time zone, and can be used for when the dispaly state of display screen 20 is to put out screen state, in display screenThe time that screen shows time zone corresponding to 1 current location of electronic equipment is put out on 20.
First acquisition module 13, can be used to confirm that module confirms the current display shape of the display screen of electronic equipment 1 describedBefore state, the time in default time zone is obtained.
Second acquisition module 14, can be used to confirm that module confirms the current display shape of the display screen of electronic equipment 1 describedBefore state, the positional information that electronic equipment 1 is presently in is obtained, and can be used to electronic equipment is obtained according to the positional informationThe time in 1 time zone corresponding to current location.Second acquisition module 14 can obtain 1 current institute of electronic equipment by GPS device 30The positional information at place.
First acquisition module 13 can be with identical with the second acquisition module 14, it is also possible to different.
Receiver module 15, can be used to receive the switching command of the time for switching show-timezone.
Judge module 16, can be used to judge that the time currently displaying on display screen 20 is that 1 current location of electronic equipment institute is rightAnswer the time in time zone or the time in the default time zone.
Handover module 17, can be used to judge that the time currently displaying on display screen 20 is electronic equipment 1 when judge module 16During the time in time zone corresponding to current location, time-switching currently displaying on display screen 20 is shown as into the default time zoneTime.
Handover module 17 can be additionally used in judging that the time currently displaying on display screen 20 is described default when judge module 16During the time in time zone, time-switching currently displaying on display screen 20 is shown as into time zone corresponding to 1 current location of electronic equipmentTime.
In several specific embodiments provided by the present invention, it should be understood that disclosed system and method, can be withRealize by another way.For example, system embodiment described above is only schematically, for example moduleDivision, only a kind of division of logic function can have other dividing mode when actually realizing.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er QieIn the case of spirit or essential attributes without departing substantially from the present invention, the present invention can be realized in other specific forms.Therefore, no matterFrom the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended powerProfit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by fallingChange is included in the present invention.Any reference in claim should not be considered as and limit involved claim.ThisOutward, it is clear that " including ", a word was not excluded for other units or step, and odd number is not excluded for plural number.That what is stated in system claims is multipleUnit, module or device can also be realized by software or hardware by same unit, module or device.The first, the secondIt is used for representing title Deng word, and is not offered as any specific order.
Embodiment of above is only unrestricted to illustrate technical scheme, although the preferably embodiment party with reference to more thanFormula has been described in detail to the present invention, it will be understood by those within the art that, can be to technical schemeModify or equivalent should not all depart from the spirit and scope of technical solution of the present invention.