Invention content
The main purpose of the present invention is to provide a kind of interface display method and unlocking method of mobile terminal screen locking,
Current meteorology is obtained by network, and according to current weather status display locking screen interface or one group of object for unlock
Part.
According to one of present invention embodiment, the invention discloses a kind of interface display methods of mobile terminal screen locking, including with
Lower step:
It S10. will be in different brightness and the picture storage to the memory of mobile terminal of the different objects of display;
S11. current time data is obtained by clock;
S12. current meteorological data is obtained by network, the meteorological data includes weather data and temperature data;
S13. the time data obtained is matched with pre-stored plural section time range, is tied according to matching
Fruit obtains one first matching value and records that the plural number section time range includes first time range and the second time range;
S14. the meteorological data obtained handle and match it with pre-stored meteorological data, be remembered
The matching result of record is the second matching value, wherein is handled the meteorological data obtained specially in meteorological data
Taking the first state of weather in weather data, the first state of weather is one kind in meteorology, the meteorology is at least fine,
Rain, cloud, snow four kinds, brightness include it is bright with dark two kinds, temperature data includes high and low two kinds;
S15. the locking screen interface picture of corresponding effect is shown according to step S12 and the matched synthesis results of step S13, is had
Body is to be corresponded to according to the synthesis display of step S13 and step S14 the first matching value relatively obtained and the second matching value
The locking screen interface picture of effect;
Wherein, the first matching value of record is brightness, when matching result is that current time data is in first time model
When enclosing, the brightness of record is bright;Second matching value of record is the first state of weather and temperature data;First matching value and
The synthesis display of second matching value correspond to effect locking screen interface picture be store name include brightness, the first state of weather and
The picture of temperature data.
According to one of present invention embodiment, the corresponding title of the picture of the corresponding effect of the locking screen interface of corresponding effect is stored
In the memory of mobile terminal, store name includes the keyword of brightness and meteorology.
According to one of present invention embodiment, in step s 11, the time data obtained by clock is shown in locking screen interface
Any position.
According to one of present invention embodiment, in step s 12, the meteorological data obtained by network is shown in locking screen interface
Any position.
According to one of present invention embodiment, the time span phase of the time span of first time range and the second time range
It adds as 24 hours.
In conclusion in practice, the meteorological data obtained by network can be shown in the locking screen interface of mobile terminal, together
When mobile terminal screen locking locking screen interface picture and solution lock can correspondingly be adjusted according to the variation of current weather state
It is whole, the interest that mobile terminal uses is substantially increased, the experience of user's unlock is increased.
Specific implementation mode
This exposure book mainly provides a kind of interface display method and unlocking method of mobile terminal screen locking, by this hair
Bright, the meteorological data obtained by network can be shown in the locking screen interface of mobile terminal, while screen locking circle of mobile terminal screen locking
Face picture and solution lock can correspondingly be adjusted according to the variation of current weather state, substantially increase mobile terminal
The interest used increases the experience of user's unlock.
Hereinafter, preferred embodiment comes the characteristics of the present invention will be described in detail and effect one of with reference to shown by schema by cooperation;
Referring to FIG. 1, Fig. 1 is the flow chart of steps of the interface display method of the mobile terminal screen locking of the present invention.As shown in Figure 1, this hair
It is bright that a kind of interface display method of mobile terminal screen locking is provided, which is characterized in that include the following steps:
S11. current time data is obtained by clock;
S12. current meteorological data is obtained by network;
S13. the time data obtained is matched with pre-stored plural section time range;
S14. the meteorological data obtained is matched with pre-stored meteorological data;
S15. the locking screen interface picture of corresponding effect is shown according to step S12 and the matched synthesis results of step S13.
Specifically, in step S13, the clock carried by mobile terminal persistently obtains current time data, moves
When dynamic terminal is triggered into locking screen interface, the time data is shown in any position on locking screen interface.
Mobile terminal is generally all from the function of band connection network, and therefore, in step s 12, mobile terminal is in connection network
In the case of be both transparent for network and obtain current meteorological data, current meteorological data is mobile terminal holder location
The meteorological data in area, which includes weather data and temperature data, such as the meteorological data includes that content is " fine simultaneously
Turn cloudy, 1-7 DEG C ", when being triggered into locking screen interface, the meteorological data obtained by network is shown in mobile terminal
Any position of locking screen interface.The location of simultaneous time data and meteorological data be not no when setting, on locking screen interface
It can overlap.
Locking screen interface is shown using this method, need to prestore plural section time range with corresponding in the plural number section time
The corresponding picture for showing different brightness in range.According to human eye to the sense organ of brightness, one day time generally comprised two sections, i.e., bright
Higher daytime and brightness lower night are spent, the present embodiment is defined as at the first time only for setting two time ranges
Range section and the second time range section, the time span of the first time range section are added with the length of the second time range section
It is 24 hours.After mobile terminal gets current time data by network, in step S13, by the time data of acquisition
It is matched with the first time range section to have prestored and the second time range section, i.e., matching result is for current time data
Match with one of first time range section or the second time range section, and one first matching value is obtained simultaneously according to matching result
Record, such as first time range section are 6:00-17:59, the second time range section is 18:00-5:59, it is obtained by network
Current time data is 12:00, then record matching result is " light ".If matching result is current time data
One of time range section or the second time range section do not match that then mobile terminal does not continue start.
Specifically, in step S14, microprocessor can by the weather data among the meteorological data obtained by network into
The comparison by the meteorological data with pre-stored meteorological data and record matching result are second again after the simple processing of row
Matching value, which will take the first state of weather by the weather data in the meteorological data of network acquisition, for example, passing through net
The meteorological data that network obtains is " clear to cloudy, 1-7 DEG C ", microprocessor will only take it is " fine " be used as the first state of weather, and only send out
Sending treated, " fine, 1-7 DEG C " meteorological data is matched with pre-stored meteorological data to judge through network acquisition
Meteorological data which be contained in organize pre-stored meteorological data, and judging result is recorded, according to the meteorological number illustrated above
According to it is " sun, low " that can then calculate matching result.If judging result is which the meteorological data obtained by network is not included in
One group of pre-stored meteorological data, then mobile terminal not start.
May include a step S10 before step S11:By the picture of different brightness and the figure of the different objects of display
In piece storage to the memory of mobile terminal.It, can be by the locking screen interface picture of corresponding effect with respective name and in storage
It is stored in the memory of mobile terminal, store name includes the keyword of brightness and meteorology.For example, wherein one to it is corresponding when
Between data and meteorological data be " clear to cloudy, 1-7 DEG C " locking screen interface picture title can be stored as include
" the title of light, sun, low ".Since the meteorology after simple process is at least by fine, rain, cloud, four kinds of snow, brightness
Including it is bright with dark two kinds, temperature includes high and low two kinds, this user is answered at least to store 16 pictures.
In step S15, microprocessor is according to step S13 and step S14 the first matching value relatively obtained and
The synthesis display of two matching values corresponds to the locking screen interface picture of effect, such as the comprehensive knot of the first matching value and the second matching value
Fruit is that " light, sun, low " show that store name includes that " picture of light, sun, low " are locking screen interface.
Referring to FIG. 2, Fig. 2 is the flow chart of steps of the unlocking method of the mobile terminal screen locking of the present invention.The present invention more carries
For a kind of unlocking method of mobile terminal screen locking, which includes the following steps:
A10. triggering mobile terminal is to enter locking screen interface;
A11. current meteorological data is obtained by network;
A12. the meteorological data obtained by network is matched with the meteorological data stored in advance;
A13. corresponding one group of object being shown on locking screen interface according to matching result, one group of object includes at least two,
It is defined as the first object and the second object;
A14. the operation for receiving user, judge the coordinate position of the first object and the second object on locking screen interface whether phase
Together;
A15. if so, completing unlock.
Please refer to Fig.2 and Fig. 3, Fig. 3 be the present invention mobile terminal screen locking locking screen interface schematic diagram.Specifically,
In step A10, user by pressing keys or can press the triggering modes such as screen to enter the locking screen interface of mobile terminal, institute
State locking screen interface be mobile terminal be in the lock state be triggered after the interface that presents, enter screen locking circle when mobile terminal is triggered
Behind face, user can not start the application program in mobile terminal.When mobile terminal receives the triggering command into locking screen interface
Afterwards, current meteorological data is obtained by network, and the locking screen interface that the meteorological data of acquisition is shown in mobile terminal is appointed
Meaning position, the meteorological data of the acquisition includes weather data and temperature data.
Then, in step A12, microprocessor can carry out the weather data among the meteorological data obtained by network
The comparison by the meteorological data with pre-stored meteorological data and record matching result are second again after simple processing
With value, the weather data in the meteorological data which will be obtained by network takes the first state of weather, for example, passing through network
The meteorological data of acquisition is " clear to cloudy, 1-7 DEG C ", microprocessor will only take it is " fine " be used as the first state of weather, and only send
" fine " meteorological data that treated is matched with pre-stored meteorological data to judge the meteorological number obtained by network
Pre-stored meteorological data is organized according to which is contained in, and records judging result, according to the meteorological data illustrated above, then can be counted
It is " sun " to calculate matching result.
In step A13, show that corresponding one group of object is shown in locking screen interface according to the matching result in step A12
On, the first object and the second object which includes are respectively individually individual and to be shown in lock in a manner of ground to be separated by
Shield the different location at interface, and the position that one group of object is shown can be any position of locking screen interface and not cover a day destiny
According to and the first object is fixed in the position of locking screen interface, and first object can be and the matching that is obtained in step A12
As a result the picture of consistent display state of weather, for example, the matching result obtained in step A12 is " sun ", then in step
First object of one of the one group of object shown in A13 can be the static map or Dynamic Graph of the corresponding sun, and the second object is then
Can be with the relevant object of the first object, for example, when display one group of object the first object be the sun, then the second object can
To be " sunglasses ".One group of object has pre-set and has been stored in the reservoir of mobile terminal, and entitled first stored
The title of object, such as the first object are the sun, then the title of one group of object storage includes " Sun ".Due to by simple place
Meteorology after reason is at least by fine, rain, cloud, four kinds of snow, and pre-stored first object includes at least storage name in reservoir
Claim four groups of objects for including " Sun ", " Rain ", " Cloud " and " Snow " character, each group of monarch of four groups of objects includes first
Object and the second object.The pre-stored meteorological data of user includes at least " fine ", " rain ", " cloud " and " snow " four kinds of meteorologies
Data.
Specifically, in the comparison procedure of step A12 to A13, first by the current weather data of acquisition with stored
" fine " data matched, judge whether current meteorological data is " Sun ", if so, display store name include " Sun "
One group of object of character;If judging, current meteorological data is not " Sun ", by current meteorological data and stored " rain " number
According to being matched, judge whether current meteorological data is " Rain ", if so, display store name includes " Rain " character
One group of object, if judging, current meteorological data is not " Rain ", judges whether current meteorological data is " Cloud ", if
It is then to show that store name includes one group of object of " Rain " character, if judging, current meteorological data is not " Cloud ",
Display store name includes one group of object of " Snow " character.
Above step A10 to A13 is completed, mobile terminal is completely into locking screen interface, and according to the ratio of step A12 to A13
Show that one group of object in four groups of objects in locking screen interface, judges whether mobile terminal receives use in preset time compared with process
The operation at family, if so, the unlock operation that user carries out mobile terminal is effective.When mobile terminal receive user operation,
I.e. user can drag at the second object to the first object, and mobile terminal judges the second object in coordinate bit residing on locking screen interface
It sets with whether the coordinate position residing for the first object is identical, if so, mobile terminal completes unlock, if judging the second object and first
The coordinate position of object differs, then mobile terminal is still in screen lock state.After if mobile terminal enters locking screen interface, default
The operation mobile terminal for not receiving user in time returns to the state for not receiving triggering, i.e. the screen of mobile terminal is black
Screen.
Following advantages can be achieved in the present invention:
By the present invention, the meteorological data obtained by network can be shown in the locking screen interface of mobile terminal, mobile simultaneously
The locking screen interface picture and solution lock of terminal screen locking can correspondingly be adjusted according to the variation of current weather state, greatly
Ground increases the interest that mobile terminal uses, and increases the experience of user's unlock.
Only the foregoing is merely the preferred embodiments of the invention, are not intended to the scope of patent protection of the limitation present invention, therefore lift
It is all to use description of the invention and schema content institute equivalence changes for it, similarly all it is contained in the rights protection scope of the present invention
Interior, Chen Ming is given in conjunction.