CN107528963A - The switching method and mobile terminal of a kind of positioning service - Google Patents
The switching method and mobile terminal of a kind of positioning service Download PDFInfo
- Publication number
- CN107528963A CN107528963A CN201610463698.XA CN201610463698A CN107528963A CN 107528963 A CN107528963 A CN 107528963A CN 201610463698 A CN201610463698 A CN 201610463698A CN 107528963 A CN107528963 A CN 107528963A
- Authority
- CN
- China
- Prior art keywords
- positioning service
- mobile terminal
- bag
- service bag
- positioning
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides the switching method and mobile terminal of positioning service, and the switching method includes:Obtain the target area that mobile terminal is currently located;From multiple positioning service bags of the mobile terminal, a first positioning service bag for being applied to the target area is determined;Using the first positioning service bag positioning service is provided for the mobile terminal.The target area that the embodiment of the present invention is currently located by obtaining mobile terminal, so as to which selection is applied to the first positioning service bag of target area from multiple positioning service bags built in mobile terminal, and then positioned using the first positioning service bag;The embodiment of the present invention can automatically switch to the positioning service bag that mobile terminal can currently use, and the problem of server causes positioning application not position normally can not be accessed to specific region by avoiding built-in positioning service bag, lift Consumer's Experience.
Description
Technical field
The present invention relates to communication technical field, the switching method and mobile terminal of a kind of positioning service are particularly related to.
Background technology
In use, location service function is as basic system service functions, in numerous applications for intelligent terminal
The positioning service of cell phone system is called extensively in program APP.I.e. current numerous terminal applies are required for determining by system
Position service obtains the current position of mobile phone, especially take-away app, the app that calls a taxi etc..Because global position system GPS is by environment
Limitation and the reason for can only obtain simple latitude and longitude information, GPS location, which has interior and can not locate, boot up the time, too long of to be lacked
Fall into, network positions are fast with its locating speed, it is not affected by environment the advantages of as terminal APP first choice, the use of network positions
More popularize.
But network location service is exactly to need by network to the positioning service manufacturer bound in the presence of a defect
Apply for location information, i.e. network positions need to ask to specific location-server by the location services application that terminal inner is bound
Data are sought, if the network linking disabling of the zone locations supplier manufacturer now where the network of mobile phone, present terminal application
The information of network positions can not be obtained.I.e. if the network of current locale can not have access to corresponding positioning service vendor server
The data when prelocalization can not be obtained, such as the interior of mobile phone binding google used in India positioning service bag, mobile phone arrive
The network of connection China can not then access google servers after Chinese, so as to causing normally to position, this problem
The people will necessarily be gone on business, to travel brings worry.
The content of the invention
It is an object of the invention to provide a kind of switching method of positioning service and mobile terminal, solve in the prior art
The positioning service of mobile terminal Internet access network is because LAN disabling positioning service vendor server causes to obtain the reason for link
The problem of taking location information.
In order to achieve the above object, on the one hand, the embodiment of the present invention provides a kind of switching method of positioning service, including:
Obtain the target area that mobile terminal is currently located;
From multiple positioning service bags of the mobile terminal, the first positioning clothes for being applied to the target area are determined
Business bag;
Using the first positioning service bag positioning service is provided for the mobile terminal.
On the other hand, the embodiment of the present invention also provides a kind of mobile terminal, including:
Region acquisition module, the target area being currently located for obtaining mobile terminal;
First determining module, for from multiple positioning service bags of the mobile terminal, determining that one is applied to the mesh
Mark the first positioning service bag in region;
First locating module, for providing positioning service using the first positioning service bag for the mobile terminal.
The above-mentioned technical proposal of the present invention at least has the advantages that:
The switching method and mobile terminal of the positioning service of the embodiment of the present invention, it is currently located by obtaining mobile terminal
Target area, so as to which selection is applied to the first positioning service of target area from multiple positioning service bags built in mobile terminal
Bag, and then positioned using the first positioning service bag;The embodiment of the present invention can automatically switch to mobile terminal currently can be with
The positioning service bag used, avoiding built-in positioning service bag and can not accessing server to specific region causes positioning should
The problem of with can not normally position, lift Consumer's Experience.
Brief description of the drawings
Fig. 1 represents the basic step flow chart of the switching method for the positioning service that the first embodiment of the present invention provides;
Fig. 2 represents the particular flow sheet of the switching method for the positioning service that the first embodiment of the present invention provides;
Fig. 3 represents the basic step flow chart of the switching method for the positioning service that the second embodiment of the present invention provides;
Fig. 4 represents the particular flow sheet of the switching method for the positioning service that the second embodiment of the present invention provides;
The prompting of mobile terminal and hand in the switching method for the positioning service that Fig. 5 expression second embodiment of the present invention provides
Dynamic switching interface schematic diagram;
Fig. 6 represents one of structural representation of mobile terminal that the third embodiment of the present invention provides;
Fig. 7 represents the two of the structural representation for the mobile terminal that the third embodiment of the present invention provides;
Fig. 8 represents the structural representation for the mobile terminal that the fourth embodiment of the present invention provides;
Fig. 9 represents the structural representation for the mobile terminal that the fifth embodiment of the present invention provides.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
First embodiment
As shown in figure 1, the first embodiment of the present invention provides a kind of switching method of positioning service, including:
Step 101, the target area that mobile terminal is currently located is obtained.
In this step, target area that mobile terminal is currently located is a scope, such as the target area of mobile terminal is
China, then the target area of such as mobile terminal is the U.S.;In another example the target area of mobile terminal is western part of China etc.,
This is limited without specific.
Step 102, from multiple positioning service bags of the mobile terminal, determine that one is applied to the of the target area
One positioning services package.
In this step, target area of the mobile terminal according to where it, it can be movement in the target area to select one
Terminal provides the first positioning service bag of positioning service.It should be noted that the mobile end that the first embodiment of the present invention provides
At least two different positioning service bags built in needing are held, and one of positioning service bag need to be bound during Default Value, when it is tied up
, just need to be from the more of the mobile terminal when fixed positioning service bag can not provide positioning service in the target area for mobile terminal
In individual positioning service bag, a first positioning service bag for being applied to the target area is selected;Otherwise, if current bindings
Positioning service bag can provide positioning service in the target area for mobile terminal, then need not reselect the first positioning service
Bag.
Step 103, positioning service is provided using the first positioning service bag for the mobile terminal.
In this step, because step 102 determines the first positioning service bag suitable for the target area, then mobile terminal
The first positioning service bag is automatically switched to, is mobile terminal location service subsequently through the first positioning service bag.
Specifically, because in the first embodiment of the present invention, the positioning service bag of mobile terminal current bindings can not be at this
Target area provides positioning service for mobile terminal, so when mobile terminal can not obtain its specific position, its target area
It is not in specific position, its target area is scope.Specifically, intelligent terminal either whether there is networking or insertion sim cards,
As long as no being arranged to offline mode, it can get the national code being currently located by neighbouring base station, therefore its target
Region refers specifically to the country that mobile terminal is currently located.
Accordingly, step 101 includes:
Step 1011, the system message that base station broadcast is sent is received, the national code in the system message determines to move
Country where dynamic terminal, obtains the target area.
Mobile terminal is opened in start-up course, and neighbouring base station is connected by antenna, and mobile terminal receives base station broadcast
System message, and the national code corresponding to acquisition from system message, may thereby determine that the country that mobile terminal is currently located, i.e.,
The target area being currently located for mobile terminal.
Further, each positioning service bag has corresponding suitable application region scope;For example, the first positioning service bag is applicable
In China, the second positioning service bag is applied to U.S., etc., and differ a citing herein.
Step 102, including:
Step 1021, according to the suitable application region scope of predetermined each positioning service bag, determine that one can be applied to
The positioning service bag of the target area, as the first positioning service bag.
Specifically, the suitable application region scope of the first positioning service bag need to include the target area, such as mobile terminal institute
Country be the U.S., then the suitable application region scope of the first positioning service bag need to include the U.S., and it can be only the U.S., can also
Comprising the U.S. and other countries, it is not especially limited herein.
It is described in detail with reference to the switching method of Fig. 2 positioning services provided the first embodiment of the present invention:
Firstly the need of built-in more than two third party's positioning service bags in the terminal, such as positioning service bag A and calmly
Position services package B, and ensure that positioning service bag A is not fully consistent with positioning service bag B institute's suitable application region, for example taken in positioning
Business bag A can connect the network in a areas but can not connect the network in b areas;Positioning service bag B can connect the net in b areas
Luoque is disabled by a areas.Acquiescence binds most popular positioning service bag in mobile terminal, such as positioning service bag A, and disables
All components in remaining all positioning service bag.
Step 201, in mobile terminal-opening start-up course, neighbouring base station is connected by antenna to obtain corresponding country
Code.
Step 202, judge current national code whether in the region that default service bag is included.
Step 203, if current national code is in the region that default service bag is included, directly determine in binding acquiescence
Position services package, disables component all in remaining all positioning service bag.
Step 204, if current national code judges that current national code is not in the region that default service bag is included
It is no in the region that other built-in positioning service bags are included.
Step 205, if current national code can be included in the presence of effective positioning service bag, the positioning clothes of acquiescence are disabled
Business bag, enables effective positioning service bag, and bind;If current country can be included in the absence of effective positioning service bag
Code, then still bind the positioning service bag of acquiescence.
It should be noted that during the normal use of mobile terminal, the change of national code is monitored in real time, works as country
Code is when changing, for example, into it is other national when, can country corresponding to the national code that now judges to change access now eventually
The location-server corresponding to positioning service bag bound in end, if can if do not do any operation;If cannot if judge work as
Can country corresponding to preceding national code access other built-in positioning service bags, if any operation cannot not done equally, if can be with
Then unbind current positioning service bag and stop its all component, and be tied to effective positioning service bag.
The first embodiment of the present invention can automatically switch to the positioning service that can be used according to the country being presently in
Bag, avoiding built-in positioning service and can not accessing server to specific region causes using can not normally position.
Second embodiment
As shown in figure 3, the second embodiment of the present invention provides a kind of switching method of positioning service, each positioning service bag
Also there is corresponding best orientation precision zone scope, the mobile terminal is determined in the range of the best orientation precision zone
Position precision is more than default positioning precision, and the switching method includes:
Step 301, the target area that mobile terminal is currently located is obtained.
In this step, target area that mobile terminal is currently located is a scope, such as the target area of mobile terminal is
China, then the target area of such as mobile terminal is the U.S.;In another example the target area of mobile terminal is western part of China etc.,
This is limited without specific.
Step 302, from multiple positioning service bags of the mobile terminal, determine that one is applied to the of the target area
One positioning services package.
In this step, target area of the mobile terminal according to where it, it can be movement in the target area to select one
Terminal provides the first positioning service bag of positioning service.It should be noted that the mobile end that the first embodiment of the present invention provides
At least two different positioning service bags built in needing are held, and one of positioning service bag need to be bound during Default Value, when it is tied up
, just need to be from the more of the mobile terminal when fixed positioning service bag can not provide positioning service in the target area for mobile terminal
In individual positioning service bag, a first positioning service bag for being applied to the target area is selected;Otherwise, if current bindings
Positioning service bag can provide positioning service in the target area for mobile terminal, then need not reselect the first positioning service
Bag.
Step 303, positioning service is provided using the first positioning service bag for the mobile terminal.
In this step, because step 102 determines the first positioning service bag suitable for the target area, then mobile terminal
The first positioning service bag is automatically switched to, is mobile terminal location service subsequently through the first positioning service bag.
Step 304, the mobile terminal is positioned using the first positioning service bag, it is current obtains the terminal
The target location at place.
In this step, mobile terminal can be positioned using the first positioning service bag to terminal, may thereby determine that end
Hold the target location being currently located.Its target location can be in specific longitude and latitude etc., or the ground of positioning where it
Entitling claims, and is not especially limited herein.
It should be noted that the first positioning service bag of the mobile terminal applies to the target that mobile terminal is currently located
The positioning service bag in region, what it can be consistent or subsequently selected with the acquiescence positioning service bag of mobile terminal is effective
Positioning service bag.
Step 305, according to the best orientation precision zone scope of predetermined each positioning service bag, determine that one is optimal
Positioning precision regional extent includes the second positioning service bag of the target location of the mobile terminal.
In this step, most of third party's positioning service manufacturer can connect the network of most area, but exist
One problem is:Its positioning precision to given area of each positioning service manufacturer is not consistent, such as positioning service bag C positioning
Manufacturer is very high to c zone locations precision, and positioning service bag D positioning manufacturer is very high to d zone locations precision.Inside terminal system
When binding positioning service bag C, Gao Zehui does not cause position error very big to terminal device to its positioning precision during d regions.Therefore the step
Rapid 302 select optimal positioning service bag, i.e. the second positioning service bag according to the target location of mobile terminal;The mobile terminal
Target location in the range of the best orientation precision zone of the second positioning service bag.
Step 306, the positioning service bag that positioning service is provided for the mobile terminal is switched into the second positioning service bag.
In this step, because step 305 determines the second positioning service bag of best orientation precision, then mobile terminal can be with
The second positioning service bag is automatically switched to from the first positioning service bag, subsequently through the second positioning service bag to mobile terminal
Positioned.
It should be noted that according to the best orientation precision zone scope of predetermined each positioning service bag, selection
Go out after the second positioning service bag of the target location that best orientation precision zone scope includes the mobile terminal, can also not
The second positioning service bag is automatically switched to, but reminds user's manual switching positioning service bag, therefore the switching method also includes:
Step 307, the prompt message that the second positioning service bag whether is switched to for prompting is sent;
Step 308, receive user and be switched to the second positioning service bag according to what the prompt message manually selected
Instruction.
Specifically, its prompt message can be shown on the interface of mobile terminal by the form of dialog box, user can be with
According to the notice of ejection, optimal positioning service bag is manually switched in setting.
It is described in detail with reference to the switching method of Fig. 4 positioning services provided the second embodiment of the present invention:
Firstly the need of built-in more than two third party's positioning service bags in the terminal, and two positioning service bags
The positioning precision of corresponding different regions is not fully identical.Acquiescence binds most popular positioning service bag in the terminal, such as
Positioning service bag C, and disable component all in remaining all positioning service bag.
Step 401, location service function location request is used in end application;
Step 402, mobile terminal obtains current geographical position by giving tacit consent to the positioning service bag C of binding;
Step 403, mobile terminal judge from the background current geographical position whether be positioning service bag C best orientation essence
Spend region;
Step 404, it is if then without any processing;
Step 405, if it is not, then reminding user's manual switching positioning service bag or backstage automatic switchover positioning service
Bag.
It should be noted that user can be manually switched to optimal positioning service according to the notice of ejection in setting
Bag, as shown in Figure 5.
The switching method for the positioning service that the second embodiment of the present invention provides can be according to the current location of mobile terminal
And the best orientation precision zone of multiple positioning service bags built in mobile terminal is that mobile terminal selects best orientation precision
Positioning service bag, can be supplied to user it is optimal location information experience.
To sum up, it is mobile whole in the switching method for the positioning service that the first embodiment of the present invention and second embodiment provide
End gets the national code being currently located and then may determine that can be currently located national network access current phone binding company A
Location-server, the positioning service bag for the B companies that can be accessed will be directly switched to if it can not access, so as to meet to work as remote holder
The network positions function of machine;The location information that can also currently return simultaneously, background intelligent judge the positioning service of current bindings
Whether device accuracy is optimal selection, if it is determined that not optimal selection then switches the oplimal Location service being built in intelligent terminal
Bag, the positioning function of mobile terminal is optimized, improve Consumer's Experience.
3rd embodiment
As shown in fig. 6, the third embodiment of the present invention provides a kind of mobile terminal 600, including:
Region acquisition module 601, the target area being currently located for obtaining mobile terminal;
First determining module 602, for from multiple positioning service bags of the mobile terminal, determining one suitable for described
First positioning service bag of target area;
First locating module 603, for providing positioning service using the first positioning service bag for the mobile terminal.
Specifically, in the third embodiment of the present invention, as shown in fig. 7, the region acquisition module 601 includes:
Region acquisition submodule 6011, for receiving the system message of base station broadcast transmission, according in the system message
National code determine country where mobile terminal, obtain the target area.
Specifically, in the third embodiment of the present invention, as shown in fig. 7, each positioning service bag has corresponding applicable area
Domain scope;
First determining module 602 includes:
First determination sub-module 6021, for the suitable application region scope according to predetermined each positioning service bag, really
Fixed one can be applied to the positioning service bag of the target area, as the first positioning service bag.
Specifically, in the third embodiment of the present invention, the mobile terminal as shown in Figure 7 also includes:
Position acquisition module 604, for being positioned using the first positioning service bag to the mobile terminal, obtain
The target location that the terminal is currently located.
Specifically, each positioning service bag also has corresponding best orientation precision zone scope, the best orientation essence
Spend in regional extent and default positioning precision is more than to the positioning precision of the mobile terminal;
Mobile terminal also includes described in the third embodiment of the present invention:
Second determining module 605, for the best orientation precision zone model according to predetermined each positioning service bag
Enclose, determine that a best orientation precision zone scope includes the second positioning service bag of the target location of the mobile terminal;
Second locating module 606, for the positioning service bag that positioning service is provided for the mobile terminal to be switched into
Two positioning service bags.
Preferential, mobile terminal also includes described in the third embodiment of the present invention:
Reminding module, it is used to prompt the prompt message for whether being switched to the second positioning service bag for sending;
Command reception module, second positioning is switched to according to what the prompt message manually selected for receiving user
The instruction of services package.
To sum up, the national code that is currently located by getting of mobile terminal that the third embodiment of the present invention provides then can be with
Judge that can be currently located national network access the location-server of current phone binding company A, directly will if it can not access
The positioning service bag for the B companies that can be accessed is switched to, so as to meet the network positions function of current phone;It can also work as simultaneously
The location information of preceding return, background intelligent judge whether the location-server accuracy of current bindings is optimal selection, if it is determined that
Not optimal selection then switches the oplimal Location services package being built in intelligent terminal, optimizes the positioning function of mobile terminal,
Improve Consumer's Experience.
It should be noted that the mobile terminal that the third embodiment of the present invention provides can apply above-mentioned positioning service
The mobile terminal of switching method, therefore above-mentioned first embodiment and all embodiments of the switching method of second embodiment offer are suitable
For the mobile terminal, and it can reach same or analogous beneficial effect.
Fourth embodiment
It is the block diagram of the mobile terminal of fourth embodiment of the invention as shown in Figure 8.Mobile terminal 800 shown in Fig. 8 includes:
At least one processor 801, memory 802, at least one network interface 804 and other users interface 803.Mobile terminal 800
In each component be coupled by bus system 805.It is understood that bus system 805 is used to realize between these components
Connection communication.Bus system 805 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal are total
Line.But for the sake of clear explanation, various buses are all designated as bus system 805 in fig. 8.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen.
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or it may include both volatibility and nonvolatile memory.And memory 802 be used for preserve biological information, sliding trace with
And operation information of combination operation etc. preservation in need value and constant.Wherein, nonvolatile memory can be read-only
Memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), it is erasable can
Program read-only memory (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically
EPROM, EEPROM) or flash memory.Volatile memory can be random access memory (Random Access Memory,
RAM), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static
Random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic
Random access memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM
(Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced
SDRAM, ESDRAM), synchronized links dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus
Random access memory (Direct Rambus RAM, DRRAM).The memory of the system and method for description of the embodiment of the present invention
702 are intended to the memory of including but not limited to these and any other suitable type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 8022, include various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 802, specifically, can be application
The program stored in program 8022 or instruction;Processor 801 is used to obtain the target area that mobile terminal is currently located;From described
In multiple positioning service bags of mobile terminal, it is determined that the first positioning service bag suitable for the target area;And described in use
First positioning service bag provides positioning service for the mobile terminal.
The method that the embodiments of the present invention disclose can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 802, processor 801 read the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
Manage in device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can
To realize within a processor or outside processor.
Alternatively, it is additionally operable to as another embodiment, processor 801:The system message that base station broadcast is sent is received, according to
National code in the system message determines the country where mobile terminal, obtains the target area.
Alternatively, as another embodiment, each positioning service bag has corresponding suitable application region scope;Processor
801 are additionally operable to:According to the suitable application region scope of predetermined each positioning service bag, determine that one can be applied to the target
The positioning service bag in region, as the first positioning service bag.
Alternatively, it is additionally operable to as another embodiment, processor 801:Using the first positioning service bag to described
Mobile terminal is positioned, and obtains the target location that the terminal is currently located.
Alternatively, also there is corresponding best orientation precision zone model as another embodiment, each positioning service bag
Enclose, default positioning precision is more than to the positioning precision of the mobile terminal in the range of the best orientation precision zone;Processor
801 are additionally operable to:According to the best orientation precision zone scope of predetermined each positioning service bag, best orientation essence is determined
Spend the second positioning service bag that regional extent includes the target location of the mobile terminal;Positioning will be provided for the mobile terminal
The positioning service bag of service switches to the second positioning service bag.
Alternatively, it is additionally operable to as another embodiment, processor 801:Send and determine for whether prompting to be switched to second
The prompt message of position services package;Receive user and be switched to the second positioning service bag according to what the prompt message manually selected
Instruction.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 800 of the embodiment of the present invention is by above-mentioned module, the target being currently located by obtaining mobile terminal
Region, so as to which selection is applied to the first positioning service bag of target area from multiple positioning service bags built in mobile terminal,
And then positioned using the first positioning service bag;The embodiment of the present invention can automatically switch to mobile terminal and can currently use
Positioning service bag, avoiding built-in positioning service bag and can not accessing server to specific region causes positioning to apply nothing
The problem of method normally positions, lift Consumer's Experience.
5th embodiment
As shown in figure 9, mobile terminal 900 can be mobile phone, tablet personal computer, personal digital assistant (Personal
Digital Assistant, PDA) or vehicle-mounted computer etc. there is the communication equipment of RF circuits 910.
Mobile terminal 900 in Fig. 9 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input
Unit 930, display unit 940, processor 960, voicefrequency circuit 970, Wi Fi (Wireless Fidelity) modules 980 and electricity
Source 990.
Wherein, input block 930 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal
The signal input that 900 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 930 can
With including contact panel 931.Contact panel 931, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses the operations of any suitable object or annex on contact panel 931 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment means.Optionally, contact panel 931 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give the processor 960 again, and the order sent of reception processing device 960 and can be performed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input block
930 can also include other input equipments 932, and other input equipments 932 can include but is not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 940 can be used for display by the information of user's input or be supplied to information and the movement of user
The various menu interfaces of terminal 900.Display unit 940 may include display panel 941, optionally, can use LCD or organic hairs
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/
Or the data in the second memory 922.Processor 960 is used to obtain the target area that mobile terminal is currently located;From described
In multiple positioning service bags of mobile terminal, a first positioning service bag for being applied to the target area is determined;Using described
First positioning service bag provides positioning service for the mobile terminal.
Alternatively, it is additionally operable to as another embodiment, processor 960:The system message that base station broadcast is sent is received, according to
National code in the system message determines the country where mobile terminal, obtains the target area.
Alternatively, as another embodiment, each positioning service bag has corresponding suitable application region scope;Processor
960 are additionally operable to:According to the suitable application region scope of predetermined each positioning service bag, determine that one can be applied to the target
The positioning service bag in region, as the first positioning service bag.
Alternatively, it is additionally operable to as another embodiment, processor 960:Using the first positioning service bag to described
Mobile terminal is positioned, and obtains the target location that the terminal is currently located.
Alternatively, also there is corresponding best orientation precision zone model as another embodiment, each positioning service bag
Enclose, default positioning precision is more than to the positioning precision of the mobile terminal in the range of the best orientation precision zone;Processor
960 are additionally operable to:According to the best orientation precision zone scope of predetermined each positioning service bag, best orientation essence is determined
Spend the second positioning service bag that regional extent includes the target location of the mobile terminal;Positioning will be provided for the mobile terminal
The positioning service bag of service switches to the second positioning service bag.
Alternatively, it is additionally operable to as another embodiment, processor 960:Send and determine for whether prompting to be switched to second
The prompt message of position services package;Receive user and be switched to the second positioning service bag according to what the prompt message manually selected
Instruction.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined
After measuring the touch operation on or near it, processor 960 is sent to determine the type of touch event, is followed by subsequent processing device
960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 960 is the control centre of mobile terminal 900, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or performing the software program and/or module that are stored in first memory 921, and call storage
Data in second memory 922, the various functions and processing data of mobile terminal 900 are performed, so as to mobile terminal 900
Carry out integral monitoring.Optionally, processor 960 may include one or more processing units.
Mobile terminal 900 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 900 of the embodiment of the present invention is by above-mentioned module, the target being currently located by obtaining mobile terminal
Region, so as to which selection is applied to the first positioning service bag of target area from multiple positioning service bags built in mobile terminal,
And then positioned using the first positioning service bag;The embodiment of the present invention can automatically switch to mobile terminal and can currently use
Positioning service bag, avoiding built-in positioning service bag and can not accessing server to specific region causes positioning to apply nothing
The problem of method normally positions, lift Consumer's Experience.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (12)
- A kind of 1. switching method of positioning service, it is characterised in that including:Obtain the target area that mobile terminal is currently located;From multiple positioning service bags of the mobile terminal, first positioning service for being applied to the target area is determined Bag;Using the first positioning service bag positioning service is provided for the mobile terminal.
- 2. switching method as claimed in claim 1, it is characterised in that the target area for obtaining mobile terminal and being currently located The step of, including:Receive base station broadcast send system message, the national code in the system message determine mobile terminal where state Family, obtains the target area.
- 3. switching method as claimed in claim 2, it is characterised in that each positioning service bag has corresponding suitable application region model Enclose;In multiple positioning service bags from the mobile terminal, a first positioning service bag for being applied to target area is determined The step of, including:According to the suitable application region scope of predetermined each positioning service bag, determine that one can be applied to the target area Positioning service bag, as the first positioning service bag.
- 4. the switching method as described in claim 1 or 3, it is characterised in that it is the shifting to use the first positioning service bag After dynamic terminal provides positioning service, the switching method also includes:The mobile terminal is positioned using the first positioning service bag, obtains the target position that the terminal is currently located Put.
- 5. switching method as claimed in claim 4, it is characterised in that each positioning service bag also has corresponding best orientation Precision zone scope, default positioning accurate is more than to the positioning precision of the mobile terminal in the range of the best orientation precision zone Degree;After the target location for obtaining the terminal and being currently located, the switching method also includes:According to the best orientation precision zone scope of predetermined each positioning service bag, a best orientation precision zone is determined Scope includes the second positioning service bag of the target location of the mobile terminal;The positioning service bag that positioning service is provided for the mobile terminal is switched into the second positioning service bag.
- 6. switching method as claimed in claim 5, it is characterised in that according to the optimal of predetermined each positioning service bag Positioning precision regional extent, determine that a best orientation precision zone scope includes the second of the target location of the mobile terminal and determined After the services package of position, the switching method also includes:Send the prompt message that the second positioning service bag whether is switched to for prompting;Receive the instruction for being switched to the second positioning service bag that user manually selects according to the prompt message.
- A kind of 7. mobile terminal, it is characterised in that including:Region acquisition module, the target area being currently located for obtaining mobile terminal;First determining module, for from multiple positioning service bags of the mobile terminal, determining that one is applied to the target area The first positioning service bag in domain;First locating module, for providing positioning service using the first positioning service bag for the mobile terminal.
- 8. mobile terminal as claimed in claim 7, it is characterised in that the region acquisition module includes:Region acquisition submodule, for receiving the system message of base station broadcast transmission, according to the national code in the system message The country where mobile terminal is determined, obtains the target area.
- 9. mobile terminal as claimed in claim 8, it is characterised in that each positioning service bag has corresponding suitable application region model Enclose;First determining module includes:First determination sub-module, for the suitable application region scope according to predetermined each positioning service bag, determine that one can Suitable for the positioning service bag of the target area, as the first positioning service bag.
- 10. the mobile terminal as described in claim 7 or 9, it is characterised in that the mobile terminal also includes:Position acquisition module, for being positioned using the first positioning service bag to the mobile terminal, obtain the end Hold the target location being currently located.
- 11. mobile terminal as claimed in claim 10, it is characterised in that each positioning service bag also has corresponding optimal fixed Position precision zone scope, default positioning is more than to the positioning precision of the mobile terminal in the range of the best orientation precision zone Precision;The mobile terminal also includes:Second determining module, for the best orientation precision zone scope according to predetermined each positioning service bag, it is determined that One best orientation precision zone scope includes the second positioning service bag of the target location of the mobile terminal;Second locating module, for switching to the second positioning to take the positioning service bag for providing positioning service for the mobile terminal Business bag.
- 12. mobile terminal as claimed in claim 11, it is characterised in that the mobile terminal also includes:Reminding module, it is used to prompt the prompt message for whether being switched to the second positioning service bag for sending;Command reception module, second positioning service is switched to according to what the prompt message manually selected for receiving user The instruction of bag.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610463698.XA CN107528963A (en) | 2016-06-22 | 2016-06-22 | The switching method and mobile terminal of a kind of positioning service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610463698.XA CN107528963A (en) | 2016-06-22 | 2016-06-22 | The switching method and mobile terminal of a kind of positioning service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107528963A true CN107528963A (en) | 2017-12-29 |
Family
ID=60734404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610463698.XA Pending CN107528963A (en) | 2016-06-22 | 2016-06-22 | The switching method and mobile terminal of a kind of positioning service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107528963A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716223A (en) * | 2019-09-30 | 2020-01-21 | 北京摩拜科技有限公司 | Vehicle positioning method and server |
CN114339603A (en) * | 2021-12-24 | 2022-04-12 | 珠海优特电力科技股份有限公司 | Switching method, device and equipment of positioning area and storage medium |
CN114629951A (en) * | 2022-03-22 | 2022-06-14 | 康键信息技术(深圳)有限公司 | Address service switching method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025770A (en) * | 2009-09-13 | 2011-04-20 | 三星电子株式会社 | Method for accessing to external site for each country and mobile communication terminal using the same |
EP2410482A1 (en) * | 2010-07-21 | 2012-01-25 | LG Electronics | Mobile terminal and method of controlling operation of a mobile |
CN103957502A (en) * | 2014-04-04 | 2014-07-30 | 小米科技有限责任公司 | Location-based service program selecting method, device and terminal |
CN104917895A (en) * | 2015-06-09 | 2015-09-16 | 小米科技有限责任公司 | Positioning system selection method and device and terminal |
CN105578389A (en) * | 2015-12-18 | 2016-05-11 | 深圳优克云联科技有限公司 | Terminal bandwidth configuration method and mobile terminal |
-
2016
- 2016-06-22 CN CN201610463698.XA patent/CN107528963A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025770A (en) * | 2009-09-13 | 2011-04-20 | 三星电子株式会社 | Method for accessing to external site for each country and mobile communication terminal using the same |
EP2410482A1 (en) * | 2010-07-21 | 2012-01-25 | LG Electronics | Mobile terminal and method of controlling operation of a mobile |
CN103957502A (en) * | 2014-04-04 | 2014-07-30 | 小米科技有限责任公司 | Location-based service program selecting method, device and terminal |
CN104917895A (en) * | 2015-06-09 | 2015-09-16 | 小米科技有限责任公司 | Positioning system selection method and device and terminal |
CN105578389A (en) * | 2015-12-18 | 2016-05-11 | 深圳优克云联科技有限公司 | Terminal bandwidth configuration method and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716223A (en) * | 2019-09-30 | 2020-01-21 | 北京摩拜科技有限公司 | Vehicle positioning method and server |
CN114339603A (en) * | 2021-12-24 | 2022-04-12 | 珠海优特电力科技股份有限公司 | Switching method, device and equipment of positioning area and storage medium |
CN114339603B (en) * | 2021-12-24 | 2023-08-25 | 珠海优特电力科技股份有限公司 | Method, device, equipment and storage medium for switching positioning area |
CN114629951A (en) * | 2022-03-22 | 2022-06-14 | 康键信息技术(深圳)有限公司 | Address service switching method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107466077A (en) | A kind of method for switching network and mobile terminal | |
CN107197487B (en) | A kind of network reselection method and mobile terminal | |
CN107277838A (en) | The WIFI method of controlling antenna and mobile terminal of a kind of mobile terminal | |
CN103616983B (en) | A kind of picture display method, device and terminal device | |
CN108632867A (en) | A kind of method and terminal of cell selection and gravity treatment | |
CN107491278B (en) | A kind of split screen processing method and terminal | |
CN106504777A (en) | A kind of processing method of recording data and mobile terminal | |
CN107423018B (en) | A kind of multi-screen display method and terminal | |
CN107172287A (en) | A kind of many cartoon letters methods and mobile terminal | |
CN106998367A (en) | A kind of document down loading method and mobile terminal | |
CN106453953A (en) | Wireless access point connection method and mobile terminal | |
CN107317608A (en) | Antenna operating mode system of selection, mobile terminal and computer-readable recording medium | |
CN107391246A (en) | One kind applies startup method, mobile terminal and computer-readable recording medium | |
CN107528619A (en) | The switching method and mobile terminal of a kind of antenna mode | |
CN105975190A (en) | Graph interface processing method, device and system | |
CN107357484A (en) | One kind prompting mark adding method, terminal and computer-readable recording medium | |
CN107682851A (en) | Information processing method, device, mobile terminal and computer-readable recording medium | |
CN107528963A (en) | The switching method and mobile terminal of a kind of positioning service | |
CN107509238A (en) | The method for searching network and mobile terminal of a kind of mobile terminal | |
CN107819922A (en) | Relaying method of adjustment, wireless headset and the mobile terminal of a kind of wireless headset | |
CN106874046A (en) | The operating method and mobile terminal of a kind of application program | |
CN104202301B (en) | Numeric value transfer and device | |
CN107003758A (en) | ghost point processing method and user equipment | |
CN106998368A (en) | One kind flowing retail shop's localization method and mobile terminal | |
CN107241694A (en) | A kind of parameter regulation means and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171229 |
|
RJ01 | Rejection of invention patent application after publication |