CN103699768A - Data processing method, data processing device and electronic equipment - Google Patents

Data processing method, data processing device and electronic equipment Download PDF

Info

Publication number
CN103699768A
CN103699768A CN201210369388.3A CN201210369388A CN103699768A CN 103699768 A CN103699768 A CN 103699768A CN 201210369388 A CN201210369388 A CN 201210369388A CN 103699768 A CN103699768 A CN 103699768A
Authority
CN
China
Prior art keywords
time
electronic equipment
longitude
information
target location
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.)
Pending
Application number
CN201210369388.3A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210369388.3A priority Critical patent/CN103699768A/en
Publication of CN103699768A publication Critical patent/CN103699768A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a data processing method, which comprises the steps of obtaining position information of a target position; obtaining standard time of a target area, wherein the target position belongs to the target area; according to the position information and the standard time, obtaining actual time of the target position. Besides, the embodiment of the invention additionally provides a data processing device and electronic equipment with the data processing device. In the technical scheme provided by the embodiment of the invention, since the position information of the target position and the standard time of the area to which the target position belongs are obtained and the actual time of the target position is obtained according to the position information and the standard time, compared with the prior art, the electronic equipment can obtain the actual time of the target position in the aspect of obtaining the time and the demands of people for obtaining accurate time on the electronic equipment are met.

Description

Data processing method, device and electronic equipment
Technical field
The present invention relates to technical field of data processing, relate in particular a kind of data processing method, device and electronic equipment.
Background technology
At present, obtain and what show is Beijing time on electronic equipment, when Beijing time is the district in unified eight time zones, east that adopt place, Beijing, capital, the whole nation, as the standard time, it can be converted and be got by GMT (Greenwich mean time).Greenwich is the location of former Royal Observatory Greenwich, southern suburbs, London, it is again the starting point of geographic longitude in the world, for the major event occurring in the world, all with the local time of Greenwich, record, once know Greenwich Mean Time, people are just easy to extrapolate suitable local zone time.London is 0 time zone, and Shi Dongba time zone, Beijing, that is to say, if GMT (Greenwich mean time) is 1 day 0 point, Beijing time is early 8 points on the 1st so.
Electronic equipment obtains the time, and the time that same time zone obtains is the same, can cause so the on-site actual geographic Time Inconsistency with user.Take Beijing area as example, the longitude scope of Beijing area is: 115 ° 25 '-117 ° 35 ', if electronic equipment obtains the time, time of Beijing area all to the east of eight time zones calculate, can cause Beijing time the most eastern and the most western area on time, to differ 10 minutes in actual geographic, can not meet the demand that people obtain precise time on electronic equipment.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of data processing method, device and electronic equipment, so that electronic device terminal obtains the on-site actual geographic time, technical scheme is as follows:
First aspect, the embodiment of the present invention provides a kind of data processing method, comprising:
Obtain the positional information of target location;
Obtain the standard time of target area, wherein said target location belongs to described target area;
According to described positional information and described standard time, obtain the real time of described target location.
Preferably, in above-mentioned data processing method, described method is applied to electronic equipment, and described electronic equipment at least has display unit, after obtaining the real time of described target location, also comprises:
The described real time is presented on described electronic equipment by described display unit.
Preferably, in above-mentioned data processing method, described positional information comprises longitude information and time-zone information.
Preferably, in above-mentioned data processing method, the described positional information of described foundation and described standard time, obtain real time of described target location, comprising:
According to formula
Figure BDA00002212996300021
calculate the real time of described target location;
Wherein, X 1for the real time of described target location;
Y 1for the standard time in time zone, place, described target area;
N 1for the zone description of described target area, east longitude is positive zone description, and west longitude is negative zone description;
A 1for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
Preferably, in above-mentioned data processing method, described positional information comprises longitude information.
Preferably, in above-mentioned data processing method, the described positional information of described foundation and described standard time, obtain real time of described target location, comprising:
According to formula
Figure BDA00002212996300022
calculate the real time of described target location;
Wherein, X 2for the real time of described target location;
Y 2for the described target area standard time of London time;
A 2for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
Preferably, in above-mentioned data processing method, described method is applied in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, described in obtain the positional information of described destination locations, comprising:
Locator meams is obtained described longitude information via satellite;
According to the time-zone information table setting in advance, obtain described time-zone information, or calculate described time-zone information according to described longitude information.
Preferably, in above-mentioned data processing method, described method is applied in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, described in obtain the positional information of described destination locations, comprising:
By first method, obtain the indirect longitude information of described electronic equipment, according to described indirect longitude information, obtain the direct longitude information of described electronic equipment, and using described direct longitude information as described longitude information;
According to the time-zone information table setting in advance, obtain described time-zone information, or calculate described time-zone information according to described longitude information.
Preferably, in above-mentioned data processing method, described in obtain destination locations standard time, comprising:
Access book server, obtains the standard time that described destination locations is corresponding.
Preferably, in above-mentioned data processing method, described method is applied in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, the described positional information of described foundation and described standard time also comprise after obtaining the real time of described destination locations:
Judge the whether satisfied condition pre-seting of described real time, if met, obtain corresponding instruction, and carry out described instruction.
Second aspect, the embodiment of the present invention also provides a kind of data processing equipment, comprising:
The first acquiring unit, for obtaining the positional information of target location;
Second acquisition unit, for obtaining the standard time of target area;
Time determining unit, for according to described positional information and described standard time, obtains the real time of described target location;
Wherein said target location belongs to described target area.
Preferably, in above-mentioned data processing equipment, described application of installation is in electronic equipment, and described electronic equipment at least has display unit, and the described real time is presented on described electronic equipment by described display unit.
Preferably, in above-mentioned data processing equipment, described positional information comprises longitude information and time-zone information.
Preferably, in above-mentioned data processing equipment, described time determining unit comprises the first computing module; Described the first computing module, for according to formula
Figure BDA00002212996300031
calculate the real time of described target location;
Wherein, X 1for the real time of described target location;
Y 1for the standard time in time zone, place, described target area;
N 1for the zone description of described target area, east longitude is positive zone description, and west longitude is negative zone description;
A 1for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
Preferably, in above-mentioned data processing equipment, described positional information comprises longitude information.
Preferably, in above-mentioned data processing equipment, described time determining unit comprises the second computing module;
Described the second computing module, for according to formula calculate the real time of described target location;
Wherein, X 2for the real time of described target location;
Y 2for the described target area standard time of London time;
A 2for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
Preferably, in above-mentioned data processing equipment, described application of installation is in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, and described the first acquiring unit, comprising:
The first longitude information acquisition module, obtains described longitude information for locator meams via satellite;
The first time-zone information acquisition module, for obtaining described time-zone information according to the time-zone information table setting in advance, or calculates described time-zone information according to described longitude information.
Preferably, in above-mentioned data processing equipment, described application of installation is in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, and described the first acquiring unit, comprising:
The second longitude information acquisition module, for obtain the indirect longitude information of described electronic equipment by first method, obtains the direct longitude information of described electronic equipment according to described indirect longitude information, and using described direct longitude information as described longitude information;
The second time-zone information acquisition module, for obtaining described time-zone information according to the time-zone information table setting in advance, or calculates described time-zone information according to described longitude information.
Preferably, in above-mentioned data processing equipment, second acquisition unit comprises:
Server access module, for accessing book server, obtains the standard time that described destination locations is corresponding.
Preferably, in above-mentioned data processing equipment, described application of installation is in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, and described device also comprises judging unit, instruction fetch unit and performance element;
Described judging unit judges the whether satisfied condition pre-seting of described real time, if met, described instruction fetch unit obtains corresponding instruction, and performance element is carried out described instruction.
The third aspect, the embodiment of the present invention also provides a kind of electronic equipment, comprising: the data processing equipment that the embodiment of the present invention provides.
In technique scheme, there is following beneficial effect:
In the technical scheme that the embodiment of the present invention provides, obtain the positional information of target location and the standard time of target location affiliated area, and according to positional information and standard time, obtain real time of target location, compared with prior art, obtaining of time, electronic equipment can obtain the real time of target location, has met the demand that people obtain precise time on electronic equipment.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
A kind of schematic flow sheet of a kind of data processing method that Fig. 1 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of a kind of data processing method that Fig. 2 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of a kind of data processing method that Fig. 3 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of a kind of data processing method that Fig. 4 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of a kind of data processing method that Fig. 5 provides for the embodiment of the present invention;
A kind of schematic flow sheet of the positional information of obtaining electronic equipment geographic location that Fig. 6 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of the positional information of obtaining electronic equipment geographic location that Fig. 7 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of the positional information of obtaining electronic equipment geographic location that Fig. 8 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of the positional information of obtaining electronic equipment geographic location that Fig. 9 provides for the embodiment of the present invention;
A kind of structural representation of a kind of data processing equipment that Figure 10 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In order to make electronic device terminal obtain the on-site actual geographic time, the embodiment of the present invention provides a kind of data processing method, device and electronic equipment.
First a kind of data processing method embodiment of the present invention being provided is below introduced.
It should be noted that, the data processing method that the embodiment of the present invention provides, is applicable in electronic equipment, and this electronic equipment can need for mobile phone, notebook, PAD, intelligent television etc. the equipment of acquisition time.
As shown in Figure 1, a kind of data processing method, can comprise:
Step 101, obtains the positional information of target location.
Wherein, target location can be the geographic position at electronic equipment place.For example, user is positioned at Beijing, and the positional information of obtaining target location is the geographic position-Beijing at user's electronic equipment place.The target location of the wish inquiry of electronic equipment can also be inputted for user in target location.For example, be positioned at the geographical time that the user of Pekinese obtains Shanghai reality if necessary, can input to electronic equipment the target location-Shanghai of wish inquiry.
At present, the comparative maturity of the location technology of mobile terminal development, utilizes the position of the base station that mobile terminal connects or GPS(Global Positioning is System; GPS) can navigate to easily and accurately the geographical location information at mobile terminal place.Positional information can comprise longitude information, and longitude information is the longitude at destination locations place.Positional information can also comprise longitude information and time-zone information, and longitude information is longitude and the time zone at destination locations place.Wherein, can by electronic chart, calculate the time zone of destination locations, by GPS, obtain the longitude at destination locations place, can also obtain by electronic chart the longitude at destination locations place.
Step 102, obtains standard time of target area.
Wherein, target location belongs to target area, the time zone that target area is target location, for example target area, Pekinese Wei Dong 8th district.
Access predetermined server, obtain the standard time in the region that destination locations is corresponding, the standard time is GMT (Greenwich mean time).Concrete, can pass through 3G or WIFI(wireless-delity) network, interconnection network time service center, gets the GMT (Greenwich mean time) of destination locations.
Step 103, according to positional information and standard time, obtains the real time of target location.
In the technical scheme that the embodiment of the present invention provides, obtain the positional information of target location and the standard time of target location affiliated area, and according to positional information and standard time, obtain real time of target location, compared with prior art, obtaining of time, electronic equipment can obtain the real time of target location, has met the demand that people obtain precise time on electronic equipment.
As shown in Figure 2, a kind of data processing method, wherein, target location is the geographic position at electronic equipment place, the method can comprise:
Step 201, obtains the positional information of electronic equipment geographic location.
At present, the comparative maturity of the location technology development of electronic equipment, utilize the position of the base station that electronic equipment connects or the geographic position that GPS can navigate to electronic equipment place easily and accurately, obtain positional information, positional information can comprise longitude information, and positional information can also comprise longitude information and time-zone information.
The mode of obtaining the positional information of electronic equipment geographic location can have multiple, below introduces several method wherein.
A, the positional information of obtaining electronic equipment geographic location can be as shown in Figure 6,
Step 201a 1, locator meams is obtained longitude information via satellite.
Electronic equipment is by sending request information to GPS, and the corresponding message returned of receiving world locational system, obtains the longitude of electronic equipment geographic location, obtains longitude information.
Step 201b 1, according to the time-zone information table setting in advance, obtain time-zone information.
In the time-zone information table setting in advance, search current time zone corresponding to electronic equipment geographic location, obtain time-zone information, this time-zone information table can be as the form of following table one.
Table one
Title Zone description
Beijing Dong Ba district
...... .......
The positional information of obtaining electronic equipment geographic location can also be as shown in Figure 7,
B, step 201a 2, locator meams is obtained longitude information via satellite.
Electronic equipment is by sending request information to GPS, and the corresponding message returned of receiving world locational system, obtains the longitude of electronic equipment geographic location, obtains longitude information.
Step 201b 2, according to longitude information, calculate time-zone information.
C, the positional information of obtaining electronic equipment geographic location can also be as shown in Figure 8,
Step 201a 3, by the indirect longitude information of first method electron gain equipment.
First method can be, near intercepting by WIFI or the residing base station of electronic equipment, there is which focus, detect the signal power of each focus, then these information are sent to the server on network, server is the position to above-mentioned electronic equipment according to these information searchings, and electronic equipment is positioned, obtain the indirect longitude information of electronic equipment.
Step 201b 3, according to the direct longitude information of indirect longitude information electron gain equipment, and the longitude information using described direct longitude information as electronic equipment.
The indirect longitude information of the electronic equipment that server obtains according to location, inquiry electronic equipment, at the coordinate of lane database record, obtains the accurate directly longitude information of electronic equipment, and the longitude information using the direct longitude information obtaining as electronic equipment.
Step 201c 3, according to the time-zone information table setting in advance, obtain described time-zone information.
Step 201c 3with step 201b 1identical, at this, do not repeat.
D, the positional information of obtaining electronic equipment geographic location can also be as shown in Figure 9,
Step 201a 4, by the indirect longitude information of first method electron gain equipment.
Step 201a 4with step 201a 3identical, at this, do not repeat.
Step 201b 4, according to the direct longitude information of indirect longitude information electron gain equipment, and the longitude information using direct longitude information as electronic equipment.
Step 201b 4with step 201b 3identical, at this, do not repeat.
Step 201c 4, according to longitude information, calculate described time-zone information.
Step 202, obtains standard time in the region under electronic equipment geographic location.
Access predetermined server, obtain the standard time in affiliated region, electronic equipment geographic location, the GMT (Greenwich mean time) that the standard time is this region.Concrete, can pass through 3G or WIFI(wireless-fidelity) network, interconnection network time service center, gets the GMT (Greenwich mean time) of electronic equipment geographic location.
Step 203, according to positional information and standard time, the real time of electron gain equipment geographic location.
From the above, the positional information of obtaining can be longitude information and the time-zone information of electronic equipment geographic location, and the positional information of obtaining can also, only for the longitude information of electronic equipment geographic location, be described in detail with regard to above-mentioned two situations below.
A, when the positional information of obtaining is the longitude information of electronic equipment geographic location and time-zone information:
According to formula
Figure BDA00002212996300091
calculate the real time of electronic equipment geographic location;
Wherein, X 1for the real time of electronic equipment geographic location;
Y 1for the standard time in time zone, affiliated area place, electronic equipment geographic location;
N 1for the zone description of electronic equipment geographic location affiliated area, east longitude is positive zone description, and west longitude is negative zone description;
A 1for the longitude of electronic equipment geographic location, east longitude be on the occasion of, west longitude is negative value.
B, when the positional information of obtaining is the longitude information of electronic equipment geographic location:
According to formula calculate the real time of electronic equipment geographic location;
Wherein, X 2for the real time of electronic equipment geographic location;
Y 2for the electronic equipment geographic location standard time of affiliated area London time;
A 2for the longitude of electronic equipment geographic location, east longitude be on the occasion of, west longitude is negative value.
Step 204, will be presented on electronic equipment by display unit the real time.
The method that the present embodiment provides, the real time of the electronic equipment geographic location of acquisition is presented on electronic equipment, when holding the user of this electronic equipment, select real time corresponding to electronic equipment geographic location to be set to current time, the current time electronic equipment being shown replaces with the real time of this electronic equipment geographic location, or, user selects not need real time corresponding to electronic equipment geographic location to be set to current time, electronic equipment shows the real time of current time and this electronic equipment geographic location simultaneously.The method that the present embodiment provides, after can in time, exactly electronic equipment geographic position being changed, the real time of correspondence or real time and current time are presented on electronic equipment, the holder of electronic equipment can be facilitated, clearly understand the variation of self multipair time of answering of residing geographical change, and current temporal information.
As shown in Figure 3, a kind of data processing method, wherein, target location is the geographic position at electronic equipment place, the method can comprise:
Step 301, obtains the positional information of electronic equipment geographic location.
Step 302, the standard time of obtaining electronic equipment geographic location affiliated area.
Step 303, according to positional information and standard time, the real time of electron gain equipment geographic location.
Step 301 ~ step 303 is identical with step 201 ~ step 203, at this, does not repeat.
Step 304, judges the whether satisfied condition pre-seting of real time, if met, obtains corresponding instruction, and carries out instruction.
The condition pre-seting can be the prompt time of electronic equipment holder setting, such as sunrise (or sunset) time subtracts half an hour and is set to prompt time, if the real time conforms to the prompt time that electronic equipment holder sets, electronic equipment obtains corresponding instruction, and carries out instruction.This instruction can be the quarter-bell instruction setting in advance, if the real time that electronic equipment gets conforms to the prompt time that electronic equipment holder sets, electronic equipment obtains this quarter-bell instruction, and carry out quarter-bell instruction, the alarm of electronic equipment starts, export corresponding quarter-bell prompt tone, or, this instruction can be the vibration instruction setting in advance, if the real time that electronic equipment gets conforms to the prompt time that electronic equipment holder sets, electronic equipment obtains this vibration instruction, and carry out and vibrate instruction, the vibrating function of electronic equipment starts, export corresponding vibratory response.Be understandable that, instruction can also, for other instructions, not repeat at this.
The prompt time that the condition pre-seting can also calculate automatically for electronic equipment, such as electronic equipment automatically calculated and generates prompt time according to solar term and real time of obtaining, prompt time can be made timely and adjusting according to the real time, made user obtain accurate prompt time.
The prompt time that the condition pre-seting can also calculate according to the information of user input and real time of obtaining for electronic equipment, such as user inputs relevant personal information (sex, age etc.), electronic equipment calculated and generates prompt time according to personal information and real time of obtaining, to meet the demand of different crowd.
As shown in Figure 4, a kind of data processing method, wherein, target location is the objective of user's input, the method can comprise:
Step 401, obtains the positional information of the objective of user input.
The objective of the wish inquiry of electronic equipment can also be inputted for user in target location.For example, be positioned at the geographical time that the user of Pekinese obtains Shanghai reality if necessary, can to electronic equipment, input the target location-Shanghai of wish inquiry, it should be noted that, target location can narrow down to less scope, such as the Xuhui District in Shanghai.
Positional information can comprise longitude information, and positional information can also comprise longitude information and time-zone information.The positional information of can connection server obtaining objective, therefore not to repeat here.
Step 402, obtains standard time in the region under the objective of user input.
Access predetermined server, obtain the standard time corresponding to objective of user's input, the GMT (Greenwich mean time) that the standard time is this position.Concrete, can pass through 3G or WIFI(wireless-fidelity) network, interconnection network time service center, gets the GMT (Greenwich mean time) of the objective that user inputs.
Step 403, according to positional information and standard time, obtains the real time of the objective of user's input.
From the above, the positional information of obtaining can be longitude information and the time-zone information of the objective of user input, and the longitude information of the objective that the positional information of obtaining can also be only inputted for user, is described in detail with regard to above-mentioned two situations below.
A, when the positional information of obtaining is the longitude information of objective of user's input and time-zone information:
According to formula
Figure BDA00002212996300111
calculate the real time of the objective of user's input;
Wherein, X 1for the real time of the objective of user input;
Y 1for the standard time in the time zone, objective affiliated area place of user input;
N 1for the zone description of the objective affiliated area of user input, east longitude is positive zone description, and west longitude is negative zone description;
A 1for the longitude of the objective of user input, east longitude be on the occasion of, west longitude is negative value.
B, when the positional information of obtaining is the longitude information of objective of user's input:
According to formula calculate the real time of the objective of user's input;
Wherein, X 2for the real time of the objective of user input;
Y 2for the standard time of objective affiliated area London time of user input;
A 2for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
Step 404, will be presented on electronic equipment by display unit the real time.
The method that the present embodiment provides, the real time of the objective of user's input of acquisition is presented on electronic equipment, when holding the user of this electronic equipment, select the real time corresponding to objective of user's input to be set to current time, the current time electronic equipment being shown replaces with the real time of the objective of user's input, or electronic equipment shows the real time of the objective that user inputs and the real time of this electronic equipment geographic location simultaneously.The method that the present embodiment provides, not only can show the real time that electronic equipment is current exactly, can also show the real time in a plurality of places simultaneously, makes that user can facilitate, clear, the variation of understanding exactly a plurality of places time.
As shown in Figure 5, a kind of data processing method, wherein, target location is the objective of user's input, the method can comprise:
Step 501, obtains the positional information of the objective of user input.
Step 502, the standard time of obtaining the objective affiliated area of user's input.
Step 503, according to positional information and standard time, obtains the real time of the objective of user's input.
Step 501 ~ step 503 is identical with step 401 ~ step 403, at this, does not repeat.
Step 504, judges the whether satisfied condition pre-seting of described real time, if met, obtains corresponding instruction, and carries out described instruction.
The condition pre-seting can be the prompt time of electronic equipment holder setting, such as sunrise (or sunset) time subtracts half an hour and is set to prompt time, if the real time conforms to the prompt time that electronic equipment holder sets, electronic equipment obtains corresponding instruction, and carries out instruction.This instruction can be the quarter-bell instruction setting in advance, if the real time that electronic equipment gets conforms to the prompt time that electronic equipment holder sets, electronic equipment obtains this quarter-bell instruction, and carry out quarter-bell instruction, the alarm of electronic equipment starts, export corresponding quarter-bell prompt tone, or, this instruction can be the vibration instruction setting in advance, if the real time that electronic equipment gets conforms to the prompt time that electronic equipment holder sets, electronic equipment obtains this vibration instruction, and carry out and vibrate instruction, the vibrating function of electronic equipment starts, export corresponding vibratory response.Be understandable that, instruction can also, for other instructions, not repeat at this.
The prompt time that the condition pre-seting can also calculate automatically for electronic equipment, such as electronic equipment automatically calculated and generates prompt time according to solar term and real time of obtaining, prompt time can be made timely and adjusting according to the real time, made user obtain accurate prompt time.
The prompt time that the condition pre-seting can also calculate according to the information of user input and real time of obtaining for electronic equipment, such as user inputs relevant personal information (sex, age etc.), electronic equipment calculated and generates prompt time according to personal information and real time of obtaining, to meet the demand of different crowd.
By the description of above embodiment of the method, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as ROM (read-only memory) (ROM), random-access memory (ram), magnetic disc or CDs.
Corresponding to embodiment of the method above, the embodiment of the present invention also provides a kind of data processing equipment, and it is applied to an electronic equipment, and as shown in the figure, this data processing equipment can comprise:
The first acquiring unit 110, for obtaining the positional information of target location;
Second acquisition unit 120, for obtaining the standard time of target area;
Time determining unit 130, for according to described positional information and described standard time, obtains the real time of described target location;
Wherein said target location belongs to described target area.
In the technical scheme that the embodiment of the present invention provides, the first acquiring unit 110 obtains the positional information of target location, the standard time of second acquisition unit 120 target location affiliated areas, time determining unit 130 obtains the real time of target location according to positional information and standard time, compared with prior art, obtaining of time, electronic equipment can obtain the real time of target location, has met the demand that people obtain precise time on electronic equipment.
Further, described application of installation is in electronic equipment, and described electronic equipment at least has display unit, and the described real time is presented on described electronic equipment by described display unit.
Further, described positional information comprises longitude information and time-zone information.
Described time determining unit comprises the first computing module;
Described the first computing module, for according to formula calculate the real time of described target location;
Wherein, X 1for the real time of described target location;
Y 1for the standard time in time zone, place, described target area;
N 1for the zone description of described target area, east longitude is positive zone description, and west longitude is negative zone description;
A 1for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
In addition, described positional information can comprise longitude information.
Described time determining unit comprises the second computing module;
Described the second computing module, for according to formula
Figure BDA00002212996300142
calculate the real time of described target location;
Wherein, X 2for the real time of described target location;
Y 2for the described target area standard time of London time;
A 2for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
A nearlyer step, described application of installation is in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, and described the first acquiring unit, comprising:
The first longitude information acquisition module, obtains described longitude information for locator meams via satellite;
The first time-zone information acquisition module, for obtaining described time-zone information according to the time-zone information table setting in advance, or calculates described time-zone information according to described longitude information.
In addition, described destination locations is the geographic position at described electronic equipment place, and described the first acquiring unit, comprising:
The second longitude information acquisition module, for obtain the indirect longitude information of described electronic equipment by first method, obtains the direct longitude information of described electronic equipment according to described indirect longitude information, and using described direct longitude information as described longitude information;
The second time-zone information acquisition module, for obtaining described time-zone information according to the time-zone information table setting in advance, or calculates described time-zone information according to described longitude information.
Further, described second acquisition unit comprises:
Server access module, for accessing book server, obtains the standard time that described destination locations is corresponding.
A nearlyer step, described method is applied in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, and described device also comprises judging unit, instruction fetch unit and performance element;
Described judging unit judges the whether satisfied condition pre-seting of described real time, if met, described instruction fetch unit obtains corresponding instruction, and performance element is carried out described instruction.
Accordingly, the embodiment of the present invention also provides a kind of electronic equipment, and this electronic equipment can comprise: above-mentioned any data processing equipment that the embodiment of the present invention provides.
In the technical scheme that the embodiment of the present invention provides, electronic equipment comprises the data processing equipment that the embodiment of the present invention provides, and data processing equipment comprises the first acquiring unit 110, second acquisition unit 120 and time determining unit 130.The first acquiring unit 110 obtains the positional information of target location, the standard time of second acquisition unit 120 target location affiliated areas, time determining unit 130 obtains the real time of target location according to positional information and standard time, compared with prior art, obtaining of time, electronic equipment can obtain the real time of target location, has met the demand that people obtain precise time on electronic equipment.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Finally, also it should be noted that, in this article, relational terms such as first, second grade is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
While for convenience of description, describing above device, with function, being divided into various unit describes respectively.Certainly, when implementing the application, the function of each unit can be realized in same or a plurality of software and/or hardware.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (21)

1. a data processing method, is characterized in that, comprising:
Obtain the positional information of target location;
Obtain the standard time of target area, wherein said target location belongs to described target area;
According to described positional information and described standard time, obtain the real time of described target location.
2. method according to claim 1, is characterized in that, described method is applied to electronic equipment, and described electronic equipment at least has display unit, after obtaining the real time of described target location, also comprises:
The described real time is presented on described electronic equipment by described display unit.
3. method according to claim 1, is characterized in that, described positional information comprises longitude information and time-zone information.
4. method according to claim 3, is characterized in that, the described positional information of described foundation and described standard time, obtain real time of described target location, and comprising:
According to formula calculate the real time of described target location;
Wherein, X 1for the real time of described target location;
Y 1for the standard time in time zone, place, described target area;
N 1for the zone description of described target area, east longitude is positive zone description, and west longitude is negative zone description;
A 1for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
5. method according to claim 1, is characterized in that, described positional information comprises longitude information.
6. method according to claim 5, is characterized in that, the described positional information of described foundation and described standard time, obtain real time of described target location, and comprising:
According to formula
Figure FDA00002212996200012
calculate the real time of described target location;
Wherein, X 2for the real time of described target location;
Y 2for the described target area standard time of London time;
A 2for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
7. method according to claim 3, is characterized in that, described method is applied in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, described in obtain the positional information of described destination locations, comprising:
Locator meams is obtained described longitude information via satellite;
According to the time-zone information table setting in advance, obtain described time-zone information, or calculate described time-zone information according to described longitude information.
8. method according to claim 3, is characterized in that, described method is applied in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, described in obtain the positional information of described destination locations, comprising:
By first method, obtain the indirect longitude information of described electronic equipment, according to described indirect longitude information, obtain the direct longitude information of described electronic equipment, and using described direct longitude information as described longitude information;
According to the time-zone information table setting in advance, obtain described time-zone information, or calculate described time-zone information according to described longitude information.
9. method according to claim 1, is characterized in that, described in obtain destination locations standard time, comprising:
Access book server, obtains the standard time that described destination locations is corresponding.
10. method according to claim 1, it is characterized in that, described method is applied in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, the described positional information of described foundation and described standard time also comprise after obtaining the real time of described destination locations:
Judge the whether satisfied condition pre-seting of described real time, if met, obtain corresponding instruction, and carry out described instruction.
11. 1 kinds of data processing equipments, is characterized in that, comprising:
The first acquiring unit, for obtaining the positional information of target location;
Second acquisition unit, for obtaining the standard time of target area;
Time determining unit, for according to described positional information and described standard time, obtains the real time of described target location;
Wherein said target location belongs to described target area.
12. devices according to claim 11, is characterized in that, described application of installation is in electronic equipment, and described electronic equipment at least has display unit, and the described real time is presented on described electronic equipment by described display unit.
13. devices according to claim 11, is characterized in that, described positional information comprises longitude information and time-zone information.
14. devices according to claim 13, is characterized in that, described time determining unit comprises the first computing module;
Described the first computing module, for according to formula
Figure FDA00002212996200031
calculate the real time of described target location;
Wherein, X 1for the real time of described target location;
Y 1for the standard time in time zone, place, described target area;
N 1for the zone description of described target area, east longitude is positive zone description, and west longitude is negative zone description;
A 1for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
15. devices according to claim 11, is characterized in that, described positional information comprises longitude information.
16. devices according to claim 15, is characterized in that, described time determining unit comprises the second computing module;
Described the second computing module, for according to formula
Figure FDA00002212996200032
calculate the real time of described target location;
Wherein, X 2for the real time of described target location;
Y 2for the described target area standard time of London time;
A 2for the longitude of described target location, east longitude be on the occasion of, west longitude is negative value.
17. devices according to claim 13, is characterized in that, described application of installation is in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, and described the first acquiring unit, comprising:
The first longitude information acquisition module, obtains described longitude information for locator meams via satellite;
The first time-zone information acquisition module, for obtaining described time-zone information according to the time-zone information table setting in advance, or calculates described time-zone information according to described longitude information.
18. devices according to claim 13, is characterized in that, described application of installation is in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, and described the first acquiring unit, comprising:
The second longitude information acquisition module, for obtain the indirect longitude information of described electronic equipment by first method, obtains the direct longitude information of described electronic equipment according to described indirect longitude information, and using described direct longitude information as described longitude information;
The second time-zone information acquisition module, for obtaining described time-zone information according to the time-zone information table setting in advance, or calculates described time-zone information according to described longitude information.
19. devices according to claim 11, is characterized in that, second acquisition unit comprises:
Server access module, for accessing book server, obtains the standard time that described destination locations is corresponding.
20. devices according to claim 11, is characterized in that, described application of installation is in electronic equipment, and described destination locations is the geographic position at described electronic equipment place, and described device also comprises judging unit, instruction fetch unit and performance element;
Described judging unit judges the whether satisfied condition pre-seting of described real time, if met, described instruction fetch unit obtains corresponding instruction, and performance element is carried out described instruction.
21. 1 kinds of electronic equipments, is characterized in that, comprising: the data processing equipment as described in claim 11-20 any one.
CN201210369388.3A 2012-09-27 2012-09-27 Data processing method, data processing device and electronic equipment Pending CN103699768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210369388.3A CN103699768A (en) 2012-09-27 2012-09-27 Data processing method, data processing device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210369388.3A CN103699768A (en) 2012-09-27 2012-09-27 Data processing method, data processing device and electronic equipment

Publications (1)

Publication Number Publication Date
CN103699768A true CN103699768A (en) 2014-04-02

Family

ID=50361295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210369388.3A Pending CN103699768A (en) 2012-09-27 2012-09-27 Data processing method, data processing device and electronic equipment

Country Status (1)

Country Link
CN (1) CN103699768A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105467824A (en) * 2015-12-31 2016-04-06 联想(北京)有限公司 Clock display method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020012290A1 (en) * 2000-06-12 2002-01-31 Kabushiki Kaisha Toshiba Local time calculator, time-measuring device, communication terminal device and local time calculating method
CN1392747A (en) * 2001-05-22 2003-01-22 日本电气株式会社 Schedule informing system capable of correcting schedule, data and time
CN101127975A (en) * 2006-08-18 2008-02-20 三星电子株式会社 Apparatus and method for schedule management in mobile terminal
CN101741939A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Method for automatically adjusting time and handheld electronic device adopting same
CN102340567A (en) * 2010-07-20 2012-02-01 上海闻泰电子科技有限公司 Mobile phone and method for automatically setting time according to positioning of global positioning system (GPS)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020012290A1 (en) * 2000-06-12 2002-01-31 Kabushiki Kaisha Toshiba Local time calculator, time-measuring device, communication terminal device and local time calculating method
CN1392747A (en) * 2001-05-22 2003-01-22 日本电气株式会社 Schedule informing system capable of correcting schedule, data and time
CN101127975A (en) * 2006-08-18 2008-02-20 三星电子株式会社 Apparatus and method for schedule management in mobile terminal
CN101741939A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Method for automatically adjusting time and handheld electronic device adopting same
CN102340567A (en) * 2010-07-20 2012-02-01 上海闻泰电子科技有限公司 Mobile phone and method for automatically setting time according to positioning of global positioning system (GPS)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜燕山: "浅谈地方时区时的计算", 《中学地理数学参考》, 21 April 1987 (1987-04-21), pages 14 - 16 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105467824A (en) * 2015-12-31 2016-04-06 联想(北京)有限公司 Clock display method and electronic equipment
CN105467824B (en) * 2015-12-31 2018-11-09 联想(北京)有限公司 A kind of clock display method and electronic equipment

Similar Documents

Publication Publication Date Title
CN103039115B (en) The method and system that use the place of mobile country code to filter
CN101731017A (en) Information collection system, information registration server, information collection method, and mobile terminal device
CN105373559A (en) Geographic information acquisition method and geographic information acquisition system
CN103884345A (en) Interest point information collecting method, interest point information displaying method, interest point information collecting device, interest point information displaying device, and interest point retrieval system
JP2006109355A (en) Mobile communication terminal and location information utilizing method
CN103517209A (en) Method and apparatus for providing semantic location in electronic device
CN102162854A (en) Method for acquiring position information in real time based on GPS (Global Positioning System) data
JP2011158459A (en) Estimating whether wireless terminal is indoors using pattern classification
CN105577907A (en) Information processing method and device
CN103974197A (en) Indoor positioning system based on Bluetooth technology
CN1940590A (en) Positioning method and system
CN102469112B (en) Position tracking implementation method, Apparatus and system
CN105163279A (en) Information processing method and terminal
US8154441B2 (en) Electronic device and method for positioning the electronic device
CN101776459A (en) Mobile communication terminal and navigation method thereof
CN101815350B (en) Method for positioning user equipment and user equipment therefor
CN111381267A (en) Positioning system and method based on RTK and WiFi combination
CN103188763A (en) Sign-in method, device and electronic equipment based on space
CN101848413B (en) Place character description method and system
CN103699768A (en) Data processing method, data processing device and electronic equipment
EP4106353A1 (en) Method and apparatus for acquiring installation information of network access device
CN112235723B (en) Positioning method, positioning device, electronic equipment and computer readable storage medium
CN110677809B (en) User terminal positioning method and device
CN104683464A (en) Method, device and system for positioning computer
CN212624333U (en) Location bracelet and location bracelet system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140402

RJ01 Rejection of invention patent application after publication