to make the purposes , technical solutions and advantages of the invention more clear , the invention will be further described in details below with reference to drawings and embodiments . it should be understood that specific embodiments described herein are only used for explaining the invention , instead of limiting the invention . fig1 illustrates a flow chart of a method for updating the setup information of a mobile terminal , according to an exemplary embodiment of the present invention . in step s 101 , when a mobile terminal is powered on , the gps is initiated . in step s 102 , a nmea message position is obtained through the gps . in step s 103 , the gps of the mobile terminal is turned off . in step s 104 , the nmea position message is interpreted to obtain information corresponding to a current time and a current position of the mobile terminal . the position information is a latitude and a longitude of the current position . of course , the position information may be in other forms , which will not be listed herein . in step s 105 , a nation associated with the current position is obtained according to the position information , and a language type of the nation is recognized . in step s 106 , the setup information of the mobile terminal is updated according to the recognized language type and the current time . in mobile phones , the setup information is generally stored in the file system , for example , in a non - volatile random access memory ( nvram ). each kind of data will be stored in a specifically allocated position in the file system , and allocated with a fixed id number that corresponds to the fixed physical storage position . when certain data needs updating , the specific position of the data in the file system is found according to the id number corresponding to the data , and then new data is written into the proper position in the file system . for example , when new time data is obtained , a corresponding position in the file system is found according to an id number that is allocated to the “ time ” setting item in advance , and then new “ time ” data is written into this position . after new data is written , a variable of “ time ” data in the memory is updated simultaneously . in this way , the display in the ui setting item will also be updated to new time . similarly , data information of “ location ” and “ language ” may be updated . the nmea message and the interpretation of the message are described as follows . most gps devices follow the nmea protocol . after the gps of mobile phones is started , it continuously obtains positioning messages , for example , recommended minimum specific gps / transit data ($ gprmc ), i . e ., nmea messages , and these positioning messages contain the current time and the current position information of mobile phones , for example , latitude and longitude . communication statements specified by the nmea communication protocol have already been based on ascii codes , and the data format of nmea messages is as follows : “$” is the mark at the beginning of statements ; “,” is the domain separator ; “*” is the check and identification mark , the two numbers after it represent the checksum that is the checksum of all character codes between “$” and “*”, but not including “$” and “*” two characters ; “/” is the terminator , with which all statements must end , i . e ., “ carriage return ” and “ line - feeds ” of ascii characters . $ gprmc ,& lt ; 1 & gt ;, & lt ; 2 & gt ;, & lt ; 3 & gt ;, & lt ; 4 & gt ;, & lt ; 5 & gt ;, & lt ; 6 & gt ;, & lt ; 7 & gt ;, & lt ; 8 & gt ;, & lt ; 9 & gt ;, & lt ; 10 & gt ;, & lt ; 11 & gt ;, & lt ; 12 & gt ;* hh & lt ; cr & gt ;& lt ; lf & gt ; $ gprmc : frame header ; & lt ; 1 & gt ; utc time : hhmmss . sss ; & lt ; 2 & gt ; state : an ; & lt ; 3 & gt ; latitude : ddmm . mmmm ; & lt ; 4 & gt ; north latitude / south latitude : n ./ s . ; & lt ; 5 & gt ; longitude : dddmm . mmmm ; & lt ; 6 & gt ; east longitude / west longitude : e ./ w . ; & lt ; 7 & gt ; speed : section ; & lt ; 8 & gt ; azimuth : degree ; & lt ; 9 & gt ; utc date : ddmmyy ; & lt ; 10 & gt ; magnetic declination : 000 - 180 ; & lt ; 11 & gt ; direction of magnetic declination : e ./ w . ; & lt ; 12 & gt ; mode : a / d / e / n ; * hh : check ; & lt ; cr & gt ;& lt ; lf & gt ;: carriage return and line - feeds . $ gprmc , 121252 . 000 , a , 3958 . 3032 , n , 11629 . 6046 , e , 15 . 15 , 359 . 95 , 070306 , a ,,,* 54 where , field 1 and field 9 represent the time : mar . 7 , 2006 12 : 12 : 52 ; field 3 and field 4 represent the latitude : 39 ° 58 . 3032 ′ n . ; field 5 and field 6 represent the longitude : 116 ° 29 . 6046 ′ e . interpretation of gprmc messages : data is sent by statements for nmea messages , the gps of mobile phones may receive statements in many types , but in an exemplary embodiment of the invention , only several fields in gprmc messages are needed ; therefore it is necessary to interpret the received data to obtain the wanted information . the wanted messages are separated by a function , as each kind of message begins with character $ and ends with cr + lf , the function obtains the type of messages first from the header of each message , if the message is found to be $ gprmc , the function reads the whole complete message , that is , from the message header $ to cr + lf , to start to interpret each field of the message . as message $ gprmc contains a lot of fields , and each field is separated by “,”, “,” is used as the separator , that is , a “,” indicates the end of one field , the wanted fields are respectively read according to this sequence . field 1 is read to obtain the current year , month and day information . field 9 is read to obtain the current hour , minute and second information . field 3 is read to obtain the north latitude and south latitude , and then field 4 is read to obtain the latitude information . field 5 is read to obtain east longitude and west longitude , and then field 6 is read to obtain the longitude . through the values of latitude and longitude in the current mobile phone , a corresponding nation is retrieved from one table , and the language of the nation is obtained . the table defines the range of latitude and longitude of each nation : for example , the range of latitude and longitude of britain is : 2 ° e . to 7 ° w . and 50 ° n . to 58 ° n . if the mobile phone is within this range , it is indicated that the current position is in england . fig2 illustrates a structure of a device for updating setup information of a mobile terminal , provided in an exemplary embodiment according to the present invention . gps control module 21 is configured to control on / off of the gps function of a mobile terminal . nmea message obtaining module 22 is configured to obtain a nmea position message through the gps function . nmea message interpretation module 23 , is configured to interpret the nmea position message to obtain the current time and the current position of a mobile terminal . the position information is the latitude and longitude of the current position . language type obtaining module 24 is configured to recognize a nation to which the current position belongs to according to the position information , and recognize the language of the nation . setup information updating module 25 is configured to update the setup information of the mobile terminal according to the recognized language and the current time . an embodiment of the invention further provides a mobile terminal , and the terminal comprises the device for updating the setup information as the device has been described in details above , and it will not described again herein . in some embodiments of the invention , the mobile terminal obtains the latitude and longitude information and time information of the current location according to the received gps signal , obtains the nation to which the position belongs to and the language of the nation according to the latitude and longitude information , updates the setup information of the mobile terminal according to the obtained language and time information , so as to be able to update the setup information of the mobile terminal according to the location of the mobile terminal , so that the operation of mobile terminals is improved , and the global use of mobile terminals is facilitated . it should be understood that , for those skilled in the art , the invention may have modifications or alternations according to the above description , and these modifications and alternations should be included within the protection scope defined by the claims of the invention .