Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is that the structure of a kind of electronic equipment of the embodiment of the invention is formed synoptic diagram, and as shown in Figure 1, this electronic equipment comprises: module 20 is set for time-obtaining module 10, standby background and the unlock icon is provided with module 30, wherein:
Time-obtaining module 10 is used to the temporal information of the equipment that obtains, and described temporal information can comprise any one or more in solar calendar date, lunar date and the time information of electronic equipment.Concrete, the temporal information of described equipment can also can be the time that equipment obtains by Network Synchronization for the time of user's setting.Further, time-obtaining module can at first be obtained solar calendar date and time information, obtain corresponding lunar date according to solar calendar with the table of comparisons of lunar calendar then, can further include following situation: further obtain national holiday information from the solar calendar date respectively, be specially and judge country's legal festivals and holidays whether on the same day, if then can obtain information such as title festivals or holidays, time limit vacation; Further obtain lunar calendar four seasons information, solar term information etc. from lunar date, be specifically as follows and judge to belong in four seasons spring, summer, autumn and winter which season the same day, and judge to belong to which solar term in 24 solar term same day; Obtain time period information from time information, for example the morning (6:00-9:00), noon (9:00-15:00), afternoon (15:00-18:00), four time periods of night (18:00-6:00) will be divided in one day, obtain the current moment from the time information that obtains and belong to above-mentioned which time period, and whether the setting of standby graphical interfaces that detects current device is corresponding with current information of time institute, module 20 or the unlock icon are set module 30 is set is provided with according to current time information to judge whether to need to trigger the standby background; Or for several moment point to be set in time-obtaining module 20, the for example 0:00 of every day, 6:00,9:00,12:00, these six time points of 15:00,18:00, when the time acquisition module obtains 20 in these six time points during the time information in arbitrary moment, then notify the standby background that module 20 is set or the unlock icon is provided with module 30 is provided with electronic equipment according to the temporal information that gets access to this moment standby graphical interfaces.
The standby background is provided with the standby background that module 20 is used for being provided with according to described temporal information standby graphical interfaces, can comprise again that further background picture is provided with unit 201, unit 202 is set information and background effect is provided with unit 203, wherein:
Background picture is provided with unit 201 and is used for according to described temporal information the standby background picture being set, specifically can be according to the four seasons information or the solar term information of the lunar date correspondence in the temporal information, from picture library, select one and be set to the standby background picture, lunar date is February 10 in the temporal information of for example obtaining, corresponding four seasons information is spring, solar term are the Waking of Insects (3rd solar term), and then background picture is provided with the unit and selects the picture in a corresponding spring or the Waking of Insects (3rd solar term) to be set to the standby background picture from picture library.
Information is provided with unit 202 and is used for according to described temporal information the standby information being set, whether the solar calendar date in for example can judgement time information is country's legal festivals and holidays, if then according to " weekend ", " long holidays on National Day ", informations such as " New Year's Day " for example are set on standby graphical interfaces with corresponding holiday information of solar calendar date.
Background effect is provided with unit 203 and is used for according to described temporal information the standby background effect being set, the chiaroscuro effect of standby graphical interfaces can be set according to the time information in the temporal information particularly, the time information that for example gets access to is 14:00, be judged as daytime (6:00-18:00), then standby graphical interfaces is set to bright effect, if time information is 20:00, be judged as night (18:00-6:00), then standby graphical interfaces is set to dim effect.
The unlock icon is provided with the unlock icon that module 30 is used for being provided with according to described temporal information standby graphical interfaces, can comprise again that further the icon moulding is provided with unit 301 and picture mark position is provided with unit 302, wherein:
The icon moulding is provided with unit 301 and is used for according to described temporal information the unlock icon moulding being set, the moulding of the unlock icon specifically can be set according to the time information in the temporal information, what for example get access to is the time information on daytime, then the unlock icon is set to sun moulding, if what get access to is the time information at night, then the unlock icon is set to moon moulding, or the unlock icon that can be set night according to the lunar date in the temporal information is the different phases of the moons, for example lunar date is February 15, then the unlock icon at night this day is set to full moon etc., can set up an icon library further, the a plurality of icon moulding of internal memory, comprise the sun, crescent, crescent, the moon at the first quarter, full moon, icon such as the moon at the last quarter and waning moon selects an icon to be set to the moulding of current the unlock icon from icon library according to the temporal information that gets access to.
Picture mark position is provided with unit 302 and is used for according to described temporal information the unlock icon position being set.The moulding of the unlock icon specifically can be set according to the time information in the temporal information, be the situation of the time information of the morning, noon and three periods of afternoon for example, respectively the unlock icon position of sun moulding be arranged on the lower left corner, top and the lower right corner of standby graphical interfaces according to the time information that gets access to.
Further, the unlock icon is provided with module 30 can also comprise that the release mode is provided with unit 303, and the unlock icon position that is used for being provided with according to described picture mark position the unit setting is provided with standby release mode.Particularly, standby graphical interfaces can be divided into the zone of two identical sizes up and down, when the unlock icon is positioned at upper area, then standby release mode is set to the unlock icon is dragged to the interface lower zone, drag distance when satisfying preset requirement trigger equipment realize the standby release, otherwise when when the unlock icon is positioned at lower zone, then standby release mode is set to the unlock icon is dragged to the interface upper area, drag distance when satisfying preset requirement trigger equipment realize the standby release.
More than be to set forth the present invention from design factors electronic equipment is provided with the realization of standby graphical interfaces, be described in detail below by the method to set up of embodiment flow process to standby graphical interfaces of the present invention.
Fig. 2 is the schematic flow sheet of a kind of method to set up of standby graphical interfaces in the embodiment of the invention, and this method comprises:
Step S21 obtains the temporal information of equipment.Described temporal information can comprise any one or more in solar calendar date, lunar date and the time information of electronic equipment.In the specific implementation, the time that the temporal information of described equipment can be provided with on equipment for the user also can be the time that equipment obtains by Network Synchronization.Further, can at first obtain solar calendar date and time information, obtain corresponding lunar date according to solar calendar with the table of comparisons of lunar calendar then, can further include following situation: further obtain national holiday information from the solar calendar date respectively, be specially and judge country's legal festivals and holidays whether on the same day, if then can obtain information such as title festivals or holidays, time limit vacation; Further obtain lunar calendar four seasons information, solar term information etc. from lunar date, be specifically as follows and judge to belong in four seasons spring, summer, autumn and winter which season the same day, and judge to belong to which solar term in 24 solar term same day; Obtain time period information from time information, for example the morning (6:00-9:00), noon (9:00-15:00), afternoon (15:00-18:00), four time periods of night (18:00-6:00) will be divided in one day, obtain the current moment from the time information that obtains and belong to above-mentioned which time period, and whether the setting of standby graphical interfaces that detects current device is corresponding with current information of time institute, when testing result is then carried out step S22 for not corresponding the time; Or for several moment point to be set in time-obtaining module, the for example 0:00 of every day, 6:00,9:00,12:00, these six time points of 15:00,18:00, in getting access to these six time points, during the time information in arbitrary moment, then carry out step 22 according to the temporal information of this moment.
Step S22 is provided with the standby graphical interfaces of equipment according to the described temporal information that gets access to.Concrete tell can comprise according to the standby graphical interfaces that temporal information is provided with electronic equipment: the standby background is set and the unlock icon is set, wherein:
The standby background is set to be comprised standby background picture, standby information and standby background effect is set.
The standby background picture is set can be for being provided with the standby background picture according to the temporal information that gets access to, specifically can be according to the four seasons information or the solar term information of the lunar date correspondence in the temporal information, from picture library, select one and be set to the standby background picture, lunar date is February 10 in the temporal information of for example obtaining, corresponding four seasons information is spring, solar term are the Waking of Insects (3rd solar term), and then background picture is provided with the unit and selects the picture in a corresponding spring or the Waking of Insects (3rd solar term) to be set to the standby background picture from picture library.
The standby information is set can be for being provided with the standby information according to described temporal information, whether the solar calendar date in for example can judgement time information is country's legal festivals and holidays, if then according to " weekend ", " long holidays on National Day ", informations such as " New Year's Day " for example are set on standby graphical interfaces with corresponding holiday information of solar calendar date.
The standby background effect is set can be for being provided with the standby background effect according to described temporal information, be specifically as follows the chiaroscuro effect that standby graphical interfaces is set according to the time information in the temporal information, the time information that for example gets access to is 14:00, be judged as daytime (6:00-18:00), then standby graphical interfaces is set to bright effect, if time information is 20:00, be judged as night (18:00-6:00), then standby graphical interfaces is set to dim effect.
The unlock icon is set can be comprised and the unlock icon moulding is set and the unlock icon position is set.
The unlock icon moulding is set can be for being provided with the unlock icon moulding according to described temporal information, the moulding of the unlock icon specifically can be set according to the time information in the temporal information, what for example get access to is the time information on daytime, then the unlock icon is set to sun moulding, if what get access to is the time information at night, then the unlock icon is set to moon moulding, or the unlock icon that can be set night according to the lunar date in the temporal information is the different phases of the moons, for example lunar date is February 15, then the unlock icon at night this day is set to full moon etc., can set up an icon library further, the a plurality of icon moulding of internal memory, comprise the sun, crescent, crescent, the moon at the first quarter, full moon, icon such as the moon at the last quarter and waning moon selects an icon to be set to the moulding of current the unlock icon from icon library according to the temporal information that gets access to.
The unlock icon position is set can be for being provided with the unlock icon position according to described temporal information, the moulding of the unlock icon specifically can be set according to the time information in the temporal information, be the situation of the time information of the morning, noon and three periods of afternoon for example, respectively the unlock icon position of sun moulding be arranged on the lower left corner, top and the lower right corner of standby graphical interfaces according to the time information that gets access to.
Further, the standby graphical interfaces that electronic equipment is set according to temporal information can also comprise the standby release mode that is provided with.Particularly, standby graphical interfaces can be divided into the zone of two identical sizes up and down, when the unlock icon is positioned at upper area, then standby release mode is set to the unlock icon is dragged to the interface lower zone, drag distance when satisfying preset requirement trigger equipment realize the standby release, otherwise when when the unlock icon is positioned at lower zone, then standby release mode is set to the unlock icon is dragged to the interface upper area, drag distance when satisfying preset requirement trigger equipment realize the standby release.
The embodiment of the invention is by obtaining the temporal information of equipment, equipment carries out the setting of standby graphical interfaces automatically according to this temporal information, realized more changeableization of standby graphical interfaces, can also be on standby interface give user more related date, information such as solar term, festivals or holidays, strengthened interest and user's experience of equipment.
Description by the foregoing description, one of ordinary skill in the art will appreciate that all or part of flow process that realizes the foregoing description, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer-readable medium, this program when carrying out, can comprise as the embodiment of above-mentioned each side method flow process.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed is preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that invention is contained.