A kind of portable terminal is set the method for World clockTechnical field
The present invention relates to moving communicating field, more particularly, relate to the method that a kind of portable terminal is set World clock.
Background technology
In recent years, fast development along with mobile communication technology, the function of mobile phone has exceeded the purposes of it basic conversation that possesses, have a lot of additional functions, for example, the function of World clock, this knows the cellphone subscriber of external time for frequent needs, is a requisite application plug-in.In the prior art, World clock provides the facility of inquiring about world time whenever and wherever possible for the user, main method for designing is that all over the world country and corresponding time zone resource identification, map reference etc. are kept in the middle of the database, makes things convenient for the inquiry of regions of the world time.As a World clock plug-in unit, if can not guarantee to inquire about the popularity in place and the accuracy of time, that has just lost the meaning of World clock.But, at present, the problem that exists in the operating process of World clock is: at first, because the time of World clock is to obtain from system, then take time zone that middle selection is set as the benchmark time zone, obtain World clock fiducial time by both, then transmit the area of inquiry or the local zone time that national time zone needing to obtain inquiry.But when the user adjusts the date, if the system time zone enters the daylight-saving time during by standard, will cause the reference data time of World clock to change this moment, cause thus the mistake of World clock time and system time.Secondly, the World clock place that the user inquires about country or simultaneously demonstration is restricted, and system of the prior art can not satisfy the user fully to the needs of clock inquiry all over the world, interpolation and modification, makes troubles for user's use.
Summary of the invention
Cause World clock and the problems such as system time entanglement and site limitation for the above-mentioned change that arranges because of the cell phone system date, the design has proposed a kind of portable terminal and has set in the method for World clock, the method can be guaranteed to change in time zone or the isoparametric situation of date system time and every country or the correctness of regional World clock time the user.
The technical problem to be solved in the present invention is, for the defects of prior art, provides a kind of portable terminal to set the method for World clock.
The technical solution adopted for the present invention to solve the technical problems is: provide a kind of portable terminal to set the method for World clock, described method may further comprise the steps:
S1, the country information that presets is deposited in the World clock database, database arranges inquiry, revises and adds function;
S2, position, country on the master slave interface when user clicks, when inquiring about the information of this country, the information of system country that highlighted demonstration is clicked;
S3, when the modify feature in the middle of the user selection World clock menu, can click the country parameter of current demonstration and be shown in the corresponding edit box, the user revises corresponding parameter according to the demand of oneself and is kept in the middle of the database;
S4, when the interpolation function in the middle of the user selection World clock menu, can carry out the parameter setting of country, and be kept in the database; Namely when the user retrieved less than country information in database, the submenu that can select to add the country carried out the parameter setting of country, and is kept in the database;
S5, as user during to the World clock set of time, system is monitored the variation in user's set-up date and time zone, adjust so that the World clock time correct.
As further improvement in the technical proposal, above-described a kind of portable terminal is set the method for World clock, among the described step S2, when clicking, the user selects the interface, system processes according to the highlighted and grey that world map is carried out in the residing zone of click location, near the country tabulation that the display high-brightness intra-zone comprises the highlight regions of map is simultaneously at the inner corresponding country location point that shows of highlight regions; After arriving other zone with the head of a household by selection Interface Moving map, country in the option program tabulation, after the click, data base querying will be carried out take country that the user chooses as index value in the interface that shows, Query Result is kept in the middle of the packet of this World clock, upgrades simultaneously corresponding World clock plug-in unit.
As further improvement in the technical proposal, above-described a kind of portable terminal is set the method for World clock, and described country information comprises country title, coordinate information, resource identification information.
As further improvement in the technical proposal, above-described a kind of portable terminal is set the method for World clock, among the described step S5, when the user makes system select the time zone to change the set-up date, system time arranges according to two seasonal transformation rules, thereby so that the time of World clock correct.
Implement a kind of portable terminal of the present invention and set the method for World clock, have following beneficial effect:
Guaranteeing that operation is simple and easy, the interface is graceful, in the situation of perfect in shape and function, implements the present invention and can avoid revising system and the World clock timing error that system data etc. causes; The user can select to carry out the interpolation of country or the operation of modification, and can show simultaneously the time of a plurality of countries, and is independent of each other; Convenient for users, improved user's experience.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the program flow diagram that a kind of portable terminal of the present invention is set the embodiment of the method for World clock;
Fig. 2 is the World clock display interface that a kind of portable terminal of the present invention is set the embodiment of the method for World clock;
Fig. 3 is the method Pekinese interface display effect schematic diagram that a kind of portable terminal of the present invention is set World clock;
Fig. 4 is zone, the Moscow World clock interface display effect schematic diagram of the embodiment of the method for a kind of portable terminal setting of the present invention World clock;
Fig. 5 is that change Beijing of the embodiment of a kind of portable terminal of the present invention method of setting World clock is the World clock display effect schematic diagram in Moscow;
Fig. 6 is that the World clock of the embodiment of a kind of portable terminal of the present invention method of setting World clock is revised interface display effect schematic diagram;
Fig. 7 is that the World clock of the embodiment of a kind of portable terminal of the present invention method of setting World clock adds interface display effect schematic diagram.
Fig. 8 is that the embodiment of the method for a kind of portable terminal setting of the present invention World clock does not have according to the system of two seasonal rule adjustments schematic diagram to be set;
Fig. 9 is that the embodiment of a kind of portable terminal of the present invention method of setting World clock arranges schematic diagram according to the system of two seasonal rule adjustments.
Embodiment
As shown in Figure 1, set among the embodiment of method of World clock at a kind of portable terminal of the present invention, begin to click the clock/position of interface of mobile terminal, preset geography or the temporal information of country in the World clock of this portable terminal.Described information comprises the country title, coordinate information, resource identification information etc., as shown in Figure 2, from the plug-in unit tabulation, select the World clock plug-in unit to desktop, and two areas that first World clock plug-in unit is set are respectively London and Amsterdam, and it is Beijing and Teheran that two areas of second World clock are set, and show simultaneously the corresponding date and week information.Click the top clock of second World clock, transmit Beijing relevant information to World clock and select the interface, and in Beijing related news tabulation corresponding to Beijing position display, the concrete demonstration as shown in Figure 3.When the user clicks the selection interface, carry out the highlighted and grey in the world processes according to the residing zone of click location, near the country tabulation that the display high-brightness intra-zone comprises the highlight regions of map is simultaneously at the inner corresponding country location point that shows of highlight regions.After arriving other zone with the head of a household by selection Interface Moving map, the interface that shows behind the click world map as shown in Figure 4; If in the middle of the user selection program listing during Moscow, will be take Moscow carry out data base querying as index value, Query Result is kept in the middle of the packet of this World clock, upgrades simultaneously corresponding World clock plug-in unit, and display effect is as shown in Figure 5.If user selection other country, after the inquiry, Query Result also is kept in the packet of database simultaneously.When the modification our times clock information in the middle of the user selection menu, can capture the country parameter of current demonstration and be shown in the corresponding edit box, the user revises corresponding parameter according to the demand of oneself and is kept in the middle of the database, as shown in Figure 6.When the user retrieves less than country information in database, can select to add the parameter setting that the country submenu carries out the country, and be kept in the database, as shown in Figure 7.The popularity of World clock use and the flexibility that the user arranges have been strengthened.
By system time with select the time zone to obtain fiducial time of World clock, then indicated by the time area resource in the every country of correspondence or area and obtain corresponding shift time, thereby determine the local zone time value of country.Therefore, must guarantee that the fiducial time of World clock is constant, just can guarantee the correctness of the local zone time value of country.If but the user finds the date mistake is set, manually the date is adjusted, this moment, if the selection time zone of system changes, namely occured to transform two seasons, will cause change the fiducial time of World clock, thereby cause that each World clock time makes a mistake, as shown in Figure 8.In order to have guaranteed that benchmark is constant, the present invention takes mode that the date of system and time zone are monitored, when causing that by the date setting system selects the time zone to change, again system time is arranged according to two seasonal transformation rules, thereby guarantee the correct of each World clock time, as shown in Figure 9.
In sum, as those of ordinary skill is scrutable in the art, described in this specification is a preferred embodiment of the present invention, and all changes of making under this invention's idea or modification all should be in claim protection ranges of the present invention.