Background technology
Mobile phone is as a kind of communication tool at present, not only be confined to converse function that this is basic, for most consumers, FM function, beyond doubt practical, also function the most easily, without additionally carrying huge simple function broadcast receiver, also can enjoy at any time the enjoyment of frequency modulation, therefore, FM function has become the key factor of considering when many consumers purchase machine.
At present frequency modulation reception module is the subelement module of mobile phone, is integrated digital broadcast receiver on mobile phone, and concrete function point comprises:
1, in whole effective channel, (for example 87.5-108MHz) can all usable frequencies of manual search, and display frequency is also play;
2, all usable frequencies of automatic search in whole effective channel, and record;
3, allow user that conventional channel is preserved, do and how can preserve a plurality of channels;
4, allow user to carry out frequency setting;
5, check the details of preserving channel, comprising frequency, channel, channel designation;
6, the channel of having preserved can carry out rename, and all characters that can input on UI interface all can wait;
Above FM function can meet the requirement of user to FM substantially, but because the scope of f-m broadcast station can not cover far distance, there is the FM radio station of the different frequency of oneself in each area, when another area has been arrived in the area that therefore if user has left current place, when listening to the broadcast receiver of terminal, originally be kept at frequency of radio station in end side station list due to inconsistent with current area, and caused preserved channel information to have listened to.Such as some radio station of listening in Kunming, having arrived Xi'an just cannot receive again, user must again search for manually or automatically all new usable frequencies and preserve again in whole effective frequency range, and after upgrading, user does not also know whether the radio station of listening to before renewal also exists yet.This uses FM to bring certain obstacle to user, has increased the time that user uses terminal.
Summary of the invention
The object of the invention is for addressing the above problem, and a kind of mobile terminal proposing and automatically adjust the method for radio channels.
For achieving the above object, the method of a kind of automatic adjustment radio channels disclosed in this invention comprises: the Area Coordinates information that inquires terminal place after terminal startup broadcast receiver, if and the Area Coordinates information that last time, inquiry obtained is in same frequency modulation region, does not process, and plays current selected channel; Otherwise according to the Area Coordinates information inquiring, in database, search and the frequency information of this coordinate position in same frequency modulation region, and this frequency information is imported to and in frequency modulation module, replaces original frequency information, then play current selected channel.
Further, described inquiry terminal location coordinate information is according to the residing cellular cell of terminal, to determine user's position for No. ID, terminal is after the registration of current area, in network, will produce corresponding community No. ID, location service platform is translated into community position coordinates No. ID and sends to terminal.
Further, described inquiry terminal location coordinate information is to determine according to terminal GPS, be specially terminal the location information data of GPS is passed to network side, location-server by network side carries out position calculation, the auxiliary data that network side produces according to the grid of reference of GPS is simultaneously found the apparent position of terminal and is passed to terminal from database.
Further, described whether specifically finger in same frequency modulation region, described terminal obtains current coordinate information, the coordinate information obtaining while starting broadcast receiver with the last time compares, if be greater than certain threshold value, the coordinate information that position enquiring unit is obtained passes to radio station query unit, and radio station query unit obtains by the radio station database of the local storage of terminal all frequency of radio station and the station name that this coordinate is corresponding.
Further, described whether specifically finger in same frequency modulation region, terminal regularly obtains current coordinate information by position enquiring unit, and the distance of calculating and the last coordinate information obtaining, if be greater than certain threshold value, the coordinate information position enquiring unit being obtained passes to radio station query unit, and the radio station database of radio station query unit by the local storage of terminal obtains near corresponding all frequency of radio station and station name this coordinate.
In addition, the present invention also discloses a kind of mobile terminal, and it comprises FM unit, position enquiring unit, radio station query unit and setting unit, wherein
Described FM unit, comprises and processes frequency search, channel preservation and playing function;
Described position enquiring unit, comprises the inquiry of terminal position information;
Described radio station query unit, searches in all coordinates and the immediate position coordinates of current coordinate distance, and obtains the frequency of radio station that this coordinate is corresponding;
Described setting unit, comprises the frequency of radio station information being obtained by radio station query unit and station name is passed to FM unit, by FM unit, saves as new channel list.
Further, described position enquiring unit comprises the inquiry of terminal position: the position of determining user according to the residing cellular cell of terminal for No. ID, terminal is after the registration of current area, in network, produce corresponding community No. ID, location service platform is translated into community position coordinates No. ID and sends to terminal.
Further, described position enquiring unit comprises the inquiry of terminal position: terminal passes to network side by the location information data of GPS, location-server by network side carries out position calculation, the auxiliary data that network side produces according to the grid of reference of GPS is simultaneously found the apparent position of terminal and is passed to terminal from database.
Further, described radio station query unit is set up the database of a position coordinates and frequency of radio station, and the correspondence database of coordinate information and frequency of radio station both can be stored in terminal and also can be stored on network.
Further, if described database is stored in terminal, terminal can directly be called, and the coordinate information that terminal obtains according to position enquiring unit selects immediate position coordinates in database to obtain list of frequency data; If this database is to be stored in network side, needs terminal to initiate network request and carry out content obtaining.
The invention has the beneficial effects as follows: terminal obtains after the change of location according to position location technology, the current on-site frequency of radio station of automatic acquisition, make FM user can automatically obtain current on-site frequency of radio station, user, without manually carrying out channel search and preserving operation and can directly open FM and listen to, improves user's impression.
Embodiment
Terminal of the present invention and method obtain after the change of site according to position location technology, the current on-site frequency of radio station of automatic acquisition, make FM user can automatically obtain current on-site frequency of radio station, user, without manually carrying out channel search and preserving operation and can directly open FM and listen to, improves user's impression.
The main thought of the method for automatic adjustment radio channels of the present invention is: the Area Coordinates information that inquires terminal place after terminal startup broadcast receiver, if and the Area Coordinates information that last time, inquiry obtained is in same frequency modulation region, does not process, and plays current selected channel; Otherwise according to the Area Coordinates information inquiring, in database, search and the frequency information of this coordinate position in same frequency modulation region, and this frequency information is imported to and in frequency modulation module, replaces original frequency information, then play current selected channel.
Below in conjunction with accompanying drawing and specific embodiment, technical scheme of the present invention is described in detail.With reference to accompanying drawing 1, described terminal comprises FM unit, position enquiring unit, radio station query unit, setting unit in this embodiment.
Described FM unit, completes frequency search, channel preservation and broadcasting etc.
Described position enquiring unit, completes the inquiry of position information, and the location technology that is applied at present mobile terminal mainly contains three kinds, Cell ID technology, TDOA technology and A-GPS technology.Table 1 has been listed the comparison of several technology.
Table 1
Location technology |
Cell ID technology |
TDOA technology |
A-GPS technology |
Positioning precision |
More than 200m |
50-200m |
5-50m |
Cell ID technology is according to the residing cellular cell of mobile terminal, to determine user's position for No. ID, and mobile phone, after the registration of current area, just has corresponding Cell ID in network.Location service platform is translated into cell id position coordinates (can be for example latitude and longitude coordinates) and sends to terminal.Process is as follows:
1) user terminal initiates request to location service platform, by location service platform, carries out authentication;
2), after authentication is passed through, location service platform is to the HLR request visited place information of terminal attaching;
3) HLR by the current visited place information of terminal to location service platform;
4) location service platform, according to visited place information, sends Location Request to MSC/SGSN, and request positions terminal;
5) MSC/SGSN is to terminal positioning.If necessary, MSC/SGSN can initiate paging to terminal and upgrades residing community.
6) after finish location, MSC/SGSN is to location service platform home position information;
7) location service platform is again to terminal home position information.
A-GPS technology combines network base station information and GPS information positions mobile terminal.Mobile phone passes to network side by the location information data of GPS, location-server by network side carries out position calculation, the auxiliary data that network side produces according to the grid of reference of GPS simultaneously, as difference correction data, satellite transit state etc. passes to mobile phone, and the apparent position of finding mobile phone from database is passed to mobile phone.If adopt A-GPS to obtain regional information, while initiating GPS location, first obtain near the base station cell information of mobile phone, then these are arrived to GPS server by Internet Transmission.GPS server arrives mobile phone according to the Position Approximate transmission of this mobile phone GPS supplementary (ephemeris that comprises GPS and azimuth pitch angle etc.) relevant to this position, finally by the regional information at information acquisition place, position.
User can use the built-in A-GPS module of terminal to obtain the location coordinate information of location in the present invention, also can obtain by Cell ID technology the location coordinate information of location.This position coordinates can be that latitude and longitude coordinates can be also the position coordinates of other types.
Described radio station query unit, sets up the database of a position coordinates and frequency of radio station.In this database, preserve the corresponding lists of position coordinates and frequency of radio station, by position enquiring unit, obtain after the location coordinate information of current terminal, in this database, search in all coordinates and the immediate position coordinates of current coordinate distance, and obtain the frequency of radio station that this coordinate is corresponding.Referring to table 2, for example, the coordinate that user obtains the residing geographical position of current terminal by position enquiring unit is 34 ° of north latitude, 108 ° of east longitudes, obtaining more afterwards the shortest coordinate figure of distance with all coordinates in database is No. 1, obtains all frequency of radio station and station name that this coordinate figure is corresponding.
Table 2
The correspondence database of coordinate information and frequency of radio station both can be stored in terminal and also can be stored on network.
If this database is stored in terminal, terminal can directly be called.Terminal is according to immediate position coordinates in the coordinate information selection database of position enquiring unit acquisition and obtain corresponding list of frequency data.In order to guarantee the validity of database medium frequency list, also can increase a threshold value, when in the position coordinates of terminal and database, immediate coordinate air line distance is greater than this threshold value, (this threshold value is set by the user or system default, for example value is 100 kilometers), think the frequency data in the frequency modulation region that this coordinate figure is not corresponding in database, now automatically start FM automatic search function, and all effective frequency of radio station data that obtain are preserved and are updated in this database together with coordinate data.
If this database is to be stored in network side, needs terminal to initiate network request and carry out content obtaining.The content update of network side has been responsible for by service provider.
Setting unit, the frequency of radio station information and the station name that by radio station query unit, are obtained pass to FM unit, by FM unit, save as new channel list.If comprise the identical channel information in the list before upgrading in new list, be prompted to these channel informations of user.Make user can select the station name of listening to before.
Please refer to Fig. 2, is that user changes the schematic flow sheet that starts FM unit behind present position shown in Fig. 2, and it comprises the following steps:
101: mobile subscriber starts FM application module;
102: terminal obtains current coordinate information by position enquiring unit, and the last coordinate information obtaining while starting FM compares, if be greater than certain threshold value, performs step 103, otherwise goes to step 105;
103: the coordinate information that position enquiring unit obtains passes to radio station query unit, the radio station database of radio station query unit by the local storage of terminal obtains near corresponding all frequency of radio station and station name this coordinate;
104: radio station query unit passes to setting unit by the frequency of radio station of acquisition and station name data, setting unit saves as frequency of radio station data the up-to-date channel list of FM unit and replaces original list;
105:FM unit points out user to upgrade after obtaining up-to-date channel list.User can use FM unit to play selected channel.
Please refer to Fig. 3, is that user constantly changes the schematic flow sheet of present position when using FM unit to listen to shown in Fig. 3, and it comprises the following steps:
201: user starts FM application module and carries out listening to of certain channel in moving process, and enable position query unit is obtained current positional information simultaneously;
202: terminal regularly obtains current coordinate information by position enquiring unit, and the distance of calculating and the last coordinate information obtaining, for example, if be greater than certain threshold value (100 kilometers), perform step 203, otherwise finish;
203: the coordinate information that position enquiring unit obtains passes to radio station query unit, the radio station database of radio station query unit by the local storage of terminal obtains near corresponding all frequency of radio station and station name this coordinate;
204: radio station query unit passes to setting unit by the frequency of radio station data of acquisition, setting unit saves as frequency of radio station and station name data the up-to-date channel list of FM unit and replaces original list;
205:FM unit points out user to upgrade after obtaining up-to-date channel list.If there is the channel of the last broadcasting of user before upgrading in new channel list, proceed to play.
In technical solution of the present invention, terminal obtains after the change of location according to position location technology, the current on-site frequency of radio station of automatic acquisition, make FM user can automatically obtain current on-site frequency of radio station, user is without manually carrying out channel search and preserving operation and can directly open FM and listen to.
Described above is only preferred embodiments of the present invention; certainly can not limit interest field of the present invention with this; therefore; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.