WO2016086339A1 - Positioning method for mobile terminal, and mobile terminal - Google Patents

Positioning method for mobile terminal, and mobile terminal Download PDF

Info

Publication number
WO2016086339A1
WO2016086339A1 PCT/CN2014/092689 CN2014092689W WO2016086339A1 WO 2016086339 A1 WO2016086339 A1 WO 2016086339A1 CN 2014092689 W CN2014092689 W CN 2014092689W WO 2016086339 A1 WO2016086339 A1 WO 2016086339A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
positioning
access network
network
radio access
Prior art date
Application number
PCT/CN2014/092689
Other languages
French (fr)
Chinese (zh)
Inventor
龙水平
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/092689 priority Critical patent/WO2016086339A1/en
Priority to CN201480079436.2A priority patent/CN106465325B/en
Publication of WO2016086339A1 publication Critical patent/WO2016086339A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method for locating a mobile terminal and a mobile terminal.
  • the Global Navigation Satellite System refers to all satellite navigation systems, including global, regional, and enhanced satellite systems, such as the Global Positioning System (GPS) in the United States, and Russia. Glonass, Galileo in Europe, China's Beidou satellite navigation system (Beidou or Compass in English); and related augmentation systems, such as the US Wide Area Augmentation System (WAAS), Europe's European static navigation overlap The system (European Geostationary Navigation Overlay system, EGNOS) and Japan's Multi-Functional Satellite Augmentation System (MSAS) also cover other satellite navigation systems under construction and later. Satellite receivers may support the reception of navigation signals from a variety of satellite navigation systems to meet the positioning requirements under different conditions, or to achieve optimal positioning performance. Such receivers are referred to as multimode satellite receivers. Different degrees of coordination between various satellite navigation systems can also be implemented to improve the fusion positioning performance of multi-mode satellite receivers.
  • the traditional independent GNSS receiver needs to decode the navigation message and ephemeris of multiple satellites before the first positioning can be performed, so the first positioning time is long. Therefore, the industry has proposed Assisted GNSS technology to improve the first positioning speed. The most typical is the auxiliary. Assisted Global Positioning System (AGPS) technology.
  • AGPS Assisted Global Positioning System
  • AGPS has become a mainstream commercial positioning technology due to its advantages of fast first positioning and high positioning accuracy.
  • the technology provides auxiliary data such as almanac, ephemeris, clock and reference position for the GPS receiver of the mobile terminal through the AGPS server, which effectively improves the positioning speed and sensitivity of the GPS receiver of the mobile terminal, and the key point of the realization is: estimating the mobile terminal The rough position, according to the rough position, almanac, clock and other information to provide GPS satellite Doppler frequency offset, code delay, square key, elevation, ephemeris and other auxiliary information, thereby narrowing the frequency, code delay search space, avoiding stars Calendar decoding requirements for fast positioning.
  • the location of the WiFi hotspot cell is determined by looking up the geographic location corresponding to the base station in the base station database.
  • the base station database specifically refers to a base station identifier (IDentity, ID) such as a Cell-ID, a Service Set Identifier (SSID) or a Media Access Control (MAC) address of a WiFi AP, and a base station or an access point ( Access Point, AP)
  • IDentity ID
  • SSID Service Set Identifier
  • MAC Media Access Control
  • the positioning mode of the mobile terminal is usually directly set to AGPS positioning.
  • the AGPS positioning requires the terminal to connect to the AGPS server almost every hour to download the latest auxiliary data for positioning, and the AGPS positioning performance is excellent.
  • the mobile terminal cannot use AGPS positioning for various reasons, such as: AGPS server failure, unable to provide service; or AGPS server does not have accurate base station location database; or mobile network congestion or gateway routing configuration is not accurate, As a result, the mobile terminal cannot connect to the AGPS server.
  • the timeout period for the mobile terminal to access the AGPS server is usually set to be long, for example, 30 seconds. If the server is faulty, it cannot be known in time, which results in long positioning time and poor user experience. Therefore, it is necessary to propose a method to solve the above problem.
  • the embodiments of the present invention provide a method for locating a mobile terminal and a mobile terminal, which can shorten the positioning time and improve the user experience.
  • an embodiment of the present invention provides a method for locating a mobile terminal, where the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, and the mobile terminal passes the first radio connection.
  • the inbound network obtains the circuit-switched voice service, and the mobile terminal acquires the packet-switched data service by using the second radio access network, where the method includes:
  • the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal connects to a location server by using the second wireless access network a state, at least one of a state of a system identification code of a first radio access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server including an auxiliary global navigation satellite System AGNSS location server or auxiliary global positioning system AGPS location server;
  • the determining that the mobile terminal is located Network scenarios include:
  • the selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
  • the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network, accessing the positioning server by using the second radio access network to perform positioning, and moving the mobile terminal
  • the timeout period of the terminal accessing the positioning server by using the second radio access network is set to a second time. Otherwise, the timeout time of the mobile terminal accessing the positioning server by using the second radio access network is first. Time, the second time is less than the first time.
  • the determining a network scenario in which the mobile terminal is located includes:
  • connection state of the positioning server If the mobile terminal cannot connect to the positioning server through the second wireless access network, set the connection state of the positioning server to be abnormal, otherwise, set the connection state of the positioning server to be normal;
  • the selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
  • the ephemeris extended positioning mode is selected for positioning, or the temporary data service is established through the first wireless access network to access the positioning server for positioning;
  • the positioning server is accessed by the second wireless access network to perform positioning.
  • the method further includes:
  • the determining, by the network scenario where the mobile terminal is located includes:
  • the selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
  • the determining, by the network scenario where the mobile terminal is located includes:
  • the selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
  • the positioning server is accessed by the second wireless access network to perform positioning.
  • an embodiment of the present invention provides a mobile terminal, where the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, where the mobile terminal obtains by using the first radio access network.
  • Circuit switched voice service the mobile terminal acquiring points through the second wireless access network
  • the group exchanges data services, and the mobile terminal includes:
  • a determining unit configured to determine a network scenario where the mobile terminal is located, where the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal passes the second wireless access network Connecting the connection state of the positioning server, at least one of a state of a system identification code of the first wireless access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server Including the assisted global navigation satellite system AGNSS positioning server or the auxiliary global positioning system AGPS positioning server;
  • a processing unit configured to select a positioning manner of the mobile terminal according to a network scenario in which the mobile terminal is located.
  • the determining unit includes:
  • a first determining subunit configured to determine whether a type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network
  • the processing unit includes:
  • a first processing subunit configured to access the positioning server by using the second radio access network when the type of the second radio access network connected by the mobile terminal is a preset type of a wireless packet switching network Performing positioning, and setting a timeout period of the mobile terminal accessing the positioning server through the second wireless access network to a second time, otherwise, the mobile terminal accessing the second wireless access network to access the
  • the timeout period of the positioning server is the first time, and the second time is less than the first time.
  • the determining unit includes:
  • a second determining subunit configured to determine, when the type of the second radio access network connected by the mobile terminal is a preset wireless packet switching network type, by using the second radio access network Whether it is possible to connect to the positioning server;
  • a setting unit configured to: when the mobile terminal is unable to connect to the positioning server by using the second wireless access network, setting a connection state of the positioning server to be abnormal; otherwise, setting a connection state of the positioning server to be normal;
  • the processing unit includes:
  • a second processing subunit configured to: when the connection state of the positioning server is abnormal, select an ephemeris extended positioning manner for positioning, or select to establish a temporary data service by using the first wireless access network to access the positioning server. Positioning; when the positioning server connection status is normal, pass The second wireless access network accesses the positioning server for positioning.
  • the determining unit further includes:
  • a first acquiring unit configured to acquire a new IP address allocated by the second radio access network to the mobile terminal
  • the second determining subunit is further configured to: determine again, whether the mobile terminal can connect to the positioning server by using the second wireless access network;
  • the setting unit is further configured to: when the mobile terminal is unable to connect to the positioning server by using the second wireless access network, set the connection state of the positioning server to be abnormal, otherwise, set the connection state of the positioning server. It is normal.
  • the determining unit includes:
  • a second acquiring unit configured to acquire a system of the first wireless access network connected to the mobile terminal when the type of the second wireless access network connected to the mobile terminal is a preset wireless packet switching network type Identifier;
  • a first determining unit configured to determine whether the system identifier of the first radio access network is in the first blacklist
  • the processing unit includes:
  • a third processing subunit configured to: when the system identifier of the first radio access network is in the first blacklist, select an ephemeris extended positioning manner for positioning, or select to use the first radio access
  • the network establishes a temporary data service to access the positioning server for positioning; when the system identifier of the first wireless access network is not in the first blacklist, accessing the positioning by using the second wireless access network
  • the server is positioned.
  • the determining unit includes:
  • a third acquiring unit configured to acquire a phone number of the mobile terminal when the type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
  • a second determining unit configured to determine whether the home network of the phone number is in the second blacklist
  • the processing unit includes:
  • a fourth processing subunit configured to: when the home network of the phone number is in the second blacklist, select an ephemeris extended positioning mode for positioning, or select to establish temporary data by using the first wireless access network; The service is located by accessing the positioning server; when the home network of the phone number When not in the second blacklist, the positioning server is accessed by the second radio access network for positioning.
  • an embodiment of the present invention provides a mobile terminal, where the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, where the mobile terminal obtains by using the first radio access network. Circuit-switched voice service, the mobile terminal acquiring packet-switched data service through the second radio access network, where the mobile terminal includes a processor and a memory, where:
  • the memory is configured to store a set of program instructions
  • the processor is configured to invoke a program instruction stored in the memory, and perform the following operations:
  • the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal connects to a location server by using the second wireless access network a state, at least one of a state of a system identification code of a first radio access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server including an auxiliary global navigation satellite System AGNSS location server or auxiliary global positioning system AGPS location server;
  • the determining, by the processor, the network scenario in which the mobile terminal is located includes:
  • a type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switched network
  • the selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
  • the processor accesses the positioning server by using the second radio access network to perform positioning, and Setting a timeout period for accessing the positioning server by using the second radio access network to a second time. Otherwise, the timeout period of the processor accessing the positioning server by using the second radio access network is first. Time, the second time is less than the first time.
  • the determining, by the processor, the network scenario in which the mobile terminal is located includes:
  • the processor determines that the mobile terminal is through the second radio access network. Whether it can connect to the positioning server;
  • the processor sets the connection status of the positioning server to be abnormal, otherwise, the processor sets the connection status of the positioning server. Be normal;
  • the selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
  • the processor selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access the positioning server for positioning;
  • the processor accesses the positioning server through the second wireless access network for positioning.
  • the determining, by the processor, the network scenario in which the mobile terminal is located includes:
  • the processor acquires a system identifier of the first radio access network that is connected to the mobile terminal;
  • the processor determines whether the system identifier of the first radio access network is in the first blacklist
  • the selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
  • the processor selects an ephemeris extended positioning manner for positioning, or selects to establish a Pro by the first radio access network.
  • the data service is accessed by accessing the positioning server;
  • the processor accesses the location server to perform positioning by using the second radio access network.
  • the determining, by the processor, the network scenario in which the mobile terminal is located includes:
  • the processor acquires a phone number of the mobile terminal;
  • the processor determines whether the home network of the phone number is in the second blacklist
  • the selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
  • the processor selects an ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access the Positioning the server for positioning;
  • the processor accesses the positioning server to perform positioning by using the second wireless access network.
  • the network scenario in which the mobile terminal is located is determined first, and the location mode of the mobile terminal is selected according to the network scenario in which the mobile terminal is located. That is, in the embodiment of the present invention, when the positioning is required, the positioning is not directly used in the default positioning manner according to the prior art, but the mobile terminal is selected according to the network scenario in which the mobile terminal is located, so that the mobile terminal is selected. No matter what kind of scene, you can use the appropriate positioning method to achieve fast positioning.
  • FIG. 1 is a schematic diagram of an embodiment of a positioning method of a mobile terminal according to the present invention
  • FIG. 2 is a schematic diagram of another embodiment of a positioning method of a mobile terminal according to the present invention.
  • FIG. 3 is a schematic diagram of another embodiment of a positioning method of a mobile terminal according to the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of a positioning method of a mobile terminal according to the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a positioning method of a mobile terminal according to the present invention.
  • FIG. 6 is a schematic diagram of an embodiment of a mobile terminal according to the present invention.
  • FIG. 7 is a schematic diagram of another embodiment of a mobile terminal according to the present invention.
  • FIG. 8 is a schematic diagram of another embodiment of a mobile terminal according to the present invention.
  • the invention provides a positioning method and a mobile terminal of a mobile terminal, which can shorten the positioning time and improve the user experience.
  • the mobile terminal provided by the present invention may be a terminal device such as a mobile phone or a tablet computer.
  • the mobile terminal in the present invention is simultaneously connected to the first radio access network and the second radio access network, the mobile terminal acquires circuit-switched voice service through the first radio access network, and the mobile terminal acquires packet switching through the second radio access network.
  • the data service, the positioning service mentioned in the embodiment of the present invention belongs to a packet switched data service.
  • an embodiment of a positioning method of a mobile terminal of the present invention includes:
  • the network scenario includes a type of the second radio access network to which the mobile terminal is connected, and the mobile terminal connects to the connection state of the location server through the second radio access network, and the first radio access network to which the mobile terminal is connected At least one of a status of a system identification code and a status of a home network of a mobile terminal's telephone number, the positioning server including an Assisted Global Navigation Satellite System (AGNSS) positioning server or an assisted global positioning system (Assisted Global) Positioning System, AGPS) locates the server.
  • AGNSS Assisted Global Navigation Satellite System
  • AGPS assisted global positioning system
  • the default positioning mode is not used for positioning, but the mobile terminal is selected according to the network scenario in which the mobile terminal is located, so that the mobile terminal is not in use.
  • a more suitable positioning method can be used to achieve fast positioning.
  • a specific embodiment of the positioning method of the mobile terminal of the present invention includes:
  • step 201 determining whether the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network; if yes, executing step 202, performing step 203;
  • the preset type of the wireless packet switching network may include: a 4th generation mobile communication technology (4G) network, a Long Term Evolution (LTE) network, and an evolved high-speed packet data ( Evolved High Rate Packet Data, eHRPD) network.
  • 4G 4th generation mobile communication technology
  • LTE Long Term Evolution
  • eHRPD evolved High-speed packet data
  • the preset type of wireless packet switched network usually has the characteristics of fast transmission data rate or the possibility of being unable to connect to the positioning server with a certain probability.
  • the second wireless access network accesses the positioning server for positioning, and sets a timeout period of the mobile terminal accessing the positioning server by using the second wireless access network to a second time.
  • the timeout period for the mobile terminal to access the positioning server by using the second wireless access network is the first time.
  • the second time is less than the first time
  • the first time may be a default timeout period for accessing the positioning server through the first wireless access network, which is usually longer.
  • the second time can be set to 10 seconds, and of course the second time can also be set to other times less than the first time.
  • the second access network is selected to access the positioning server. Positioning. In this case, if the mobile terminal can be correctly connected to the positioning server, the mobile terminal can quickly achieve positioning, and since the second wireless access network at this time has a certain probability of being unable to connect to the positioning server, the positioning server will also be accessed. The timeout period is set smaller. If the mobile terminal cannot access the positioning server through the second wireless access network to complete the positioning (for example, unable to connect to the positioning server, or the positioning server does not have an accurate base station location database), then the comparison is made due to the timeout setting. Small, after the timeout, the mobile terminal can quickly fall back to other positioning modes (such as ephemeris extended positioning mode) for positioning, thereby achieving fast positioning.
  • other positioning modes such as ephemeris extended positioning mode
  • the second radio access network when the type of the second radio access network to which the mobile terminal is connected is a preset type of the wireless packet switching network, the second radio access network is selected to access the positioning server to complete the positioning, and the positioning time is set. Smaller, otherwise the timeout period for the mobile terminal to access the location server is the default longer timeout, so that regardless of the type of the second wireless access network to which the mobile terminal is connected, You can choose the appropriate positioning method to achieve fast positioning.
  • FIG. 3 another specific embodiment of the positioning manner of the mobile terminal of the present invention includes:
  • step 304 determines whether the mobile terminal can connect to the positioning server by using the second radio access network; if yes, perform step 302. Otherwise, step 304 is performed;
  • the connection server may be attempted to connect to the positioning server in the background for a preset number of times. If the server is set, the connection status of the positioning server is abnormal. Otherwise, the connection status of the positioning server is set to be normal.
  • the preset wireless packet switching network type may include: a 4G network, an LTE network, or an eHRPD network.
  • a preset type of wireless packet switched network typically has the characteristics of fast transmission data rate or a probability of being unable to connect to a location server.
  • the abnormal connection status of the positioning server may be a server exception, or the second wireless access network is abnormal (such as network congestion, or the routing policy configuration of the gateway is inaccurate), and cannot be connected to the positioning server.
  • the ephemeris extended positioning mode may be selected for positioning, or the temporary data service may be established through the first wireless access network to access the positioning server for positioning.
  • the mobile terminal can maintain a connection state with the second wireless access network. After the positioning is completed, the temporary data service of the first radio access network will be closed.
  • the ephemeris extension positioning method refers to the Ephemeris Extension (EE) server providing the mobile terminal with information such as ephemeris and clock valid for a long time (for example, seven days) through the communication network, and assisting the mobile terminal to quickly locate. Since the ephemeris extended positioning does not require the mobile terminal to connect to the EE server in real time to obtain the positioning assistance data, the positioning can be achieved. Therefore, when the positioning server cannot be accessed through the second wireless access network for positioning, the ephemeris extended positioning can be used for fast positioning. .
  • EE Ephemeris Extension
  • the specific manner of selecting the ephemeris extended positioning may be: setting the timeout time for accessing the positioning server through the second wireless access network to 0, or directly skipping the AGNSS positioning or the AFPS positioning, and directly using the ephemeris extended positioning, where No specific restrictions.
  • the first radio access network such as a 1x network
  • the first radio access network is generally used to acquire circuit-switched voice services, such as a call, etc., when the location server cannot be accessed through the second radio access network, the temporary data service can be established through the first radio access network. Access the location server for fast positioning.
  • the location of the location server is normal, accessing the location server through the second wireless access network enables fast and accurate positioning.
  • the second radio access network allocates an Internet Protocol (IP) address to the mobile terminal.
  • IP Internet Protocol
  • the second wireless access network may assign a new IP address to the mobile terminal, and the mobile terminal acquires a new IP address allocated by the second wireless access network, and then determines that the mobile terminal passes the second wireless connection again. Whether the incoming network can connect to the positioning server. If the mobile terminal cannot connect to the positioning server through the second wireless access network, set the connection status of the positioning server to be abnormal. Otherwise, set the connection status of the positioning server to be normal. For subsequent processing, refer to The corresponding description above.
  • the second wireless access network accesses the positioning server for positioning, otherwise, the ephemeris extended positioning mode is selected for positioning, or Selecting to establish a temporary data service by using the first radio access network to access the positioning server for positioning, so that the positioning mode of the positioning server is normal or abnormal, and the positioning method can be used to implement fast positioning.
  • FIG. 4 another specific embodiment of the positioning manner of the mobile terminal of the present invention includes:
  • the type of the second radio access network that is connected to the mobile terminal is a preset type of the wireless packet switching network, acquire a system identifier of the first radio access network that is connected to the mobile terminal.
  • step 402 determining whether the system identifier of the first radio access network is in the first blacklist, and if so, executing step 403, otherwise, performing step 404;
  • the first blacklist may be created according to user complaints, network side feedback or pre-tested experiments.
  • the first blacklist includes the system identification code of the wireless access network with poor network status.
  • the system identifier of the first radio access network may be obtained by using a system broadcast message of the first radio access network, or The location allocation message of the high speed packet data, the 3G1X parameter or the sector identification information acquires the system identification code of the first radio access network.
  • the system identification code of the first radio access network is In the blacklist, the network status of the second radio access network is not good, and the second radio access network cannot quickly and correctly connect to the positioning server.
  • the state of the second radio access network is identified by determining whether the system identification code of the first radio access network is in the first blacklist.
  • the positioning method can be used to achieve fast positioning.
  • FIG. 5 another specific embodiment of the positioning manner of the mobile terminal of the present invention includes:
  • step 502 determining whether the home network of the mobile terminal's phone number is in the second blacklist; if yes, executing step 503, otherwise, performing step 504;
  • the home network in the second blacklist is usually a network with poor connection status.
  • the attribution network identification of the mobile terminal's telephone number is achieved through pre-made city/area number segment table queries.
  • the China Domestic Destination Code (NDC) includes the access number N1N2N3 and the identification number H1H2H3H4 of the Home Location Register (HLR).
  • the access number is used to identify different operators' networks or different operators' different service networks, such as 139, 138, and 133.
  • the HLR identification number indicates the HLR of the user's home city/region. In this way, a mobile phone number segment table of each city/region network can be pre-made based on the NDC, and when needed, the home network of the mobile terminal's telephone number can be identified by looking up the table.
  • the home network in the case of roaming, will be a network different from the first radio access network and the second radio access network, but the second radio access network accesses the positioning server for positioning.
  • the home network needs to be relied on, so when the home network is not good, the positioning time for accessing the positioning server through the second wireless access network is directly affected.
  • the home network and the second wireless access network refer to the same network.
  • the ephemeris extended positioning mode is selected for positioning, or the temporary data service is established through the first wireless access network to access the positioning.
  • the server performs positioning. Otherwise, the positioning server is accessed through the second radio access network to perform positioning, so that the positioning method can be used to achieve fast positioning regardless of the home network.
  • an embodiment of the mobile terminal 600 includes:
  • the determining unit 601 is configured to determine a network scenario where the mobile terminal 600 is located, where the network scenario includes a type of the second wireless access network to which the mobile terminal 600 is connected, and the mobile terminal 600 connects to the connection state of the positioning server by using the second wireless access network.
  • the positioning server includes an auxiliary global navigation satellite system AGNSS positioning server or Auxiliary Global Positioning System AGPS positioning server;
  • the processing unit 602 is configured to select a positioning manner of the mobile terminal 600 according to the network scenario in which the mobile terminal 600 is located.
  • the determining unit first determines the network scenario in which the mobile terminal is located, and the processing unit selects the positioning mode of the mobile terminal according to the network scenario in which the mobile terminal is located. That is, in the embodiment, when positioning is required, the positioning is not directly used in the default positioning manner according to the prior art, but the processing unit selects different positioning modes for the mobile terminal according to the network scenario in which the mobile terminal is located, thereby No matter what kind of scene the mobile terminal is in, it can adopt a more suitable positioning method to achieve fast positioning.
  • a specific embodiment of the mobile terminal of the present invention includes a determining unit 701 and Processing unit 702, wherein:
  • the determining unit 701 includes a first determining subunit 7011 for determining whether the type of the second radio access network to which the mobile terminal 700 is connected is a preset wireless packet switching network type; correspondingly, the processing unit 702 includes the first processing subunit 7021.
  • the type of the second radio access network connected to the mobile terminal 700 is a preset type of the wireless packet switching network
  • the timeout period of the wireless access network accessing the location server is set to the second time. Otherwise, the timeout time for the mobile terminal 700 to access the location server through the second wireless access network is the first time, and the second time is less than the first time.
  • the first radio sub-network 7021 selects to pass the second connection because the second radio access network has a fast transmission data rate. Go to the network access location server for positioning. In this case, if the mobile terminal can be correctly connected to the positioning server, the mobile terminal can quickly achieve positioning, and since the second wireless access network at this time has a certain probability of being unable to connect to the positioning server, the first processing subunit 7021 also sets the timeout time of the access positioning server to be small. If the mobile terminal cannot access the positioning server through the second wireless access network to complete the positioning, the mobile terminal can quickly fall back after the timeout due to the relatively small timeout setting. Other positioning methods (such as ephemeris extended positioning) are positioned to achieve fast positioning.
  • the determining unit 701 includes a second determining subunit 7012 and a setting unit 7013, where the second determining subunit 7012 is configured to: when the type of the second radio access network connected by the mobile terminal 700 is a preset type of the wireless packet switching network, Determining whether the mobile terminal 700 can connect to the positioning server through the second wireless access network, and the setting unit 7013 is configured to set the positioning status of the positioning server to be abnormal when the mobile terminal 700 cannot connect to the positioning server through the second wireless access network, otherwise
  • the processing unit 702 includes a second processing sub-unit 7022, configured to select an ephemeris extended positioning mode for positioning when the positioning server connection status is abnormal, or select the first The wireless access network establishes a temporary data service to access the positioning server for positioning.
  • the second wireless access network accesses the positioning server for positioning.
  • the determining unit 701 may further include a first obtaining unit 7014, configured to acquire a new IP address allocated by the second radio access network for the mobile terminal, and the second determining subunit 7012 determines that the mobile terminal 700 passes the second radio access again. Whether the network can connect to the location server, set the unit The 7013 is configured to: when the mobile terminal 700 cannot connect to the positioning server by using the second wireless access network, set the connection status of the positioning server to be abnormal, otherwise, set the connection status of the positioning server to be normal.
  • the second determining subunit 7012 may first try to connect to the positioning server in the background for a preset number of times, if the preset is in the preset If the number of times is not connected to the server, the setting unit 7013 sets the connection status of the positioning server to be abnormal. Otherwise, the setting unit 7013 sets the connection status of the positioning server to be normal.
  • the second radio access network allocates an Internet Protocol (IP) address to the mobile terminal.
  • IP Internet Protocol
  • the second radio access network may assign a new IP address to the mobile terminal
  • the first obtaining unit 7014 acquires a new IP address allocated by the second radio access network
  • the second determining subunit 7012 again. Determining whether the mobile terminal can connect to the positioning server through the second wireless access network. If the mobile terminal cannot connect to the positioning server through the second wireless access network, the setting unit 7013 sets the connection status of the positioning server to be abnormal. Otherwise, the setting unit 7013
  • the positioning server connection state is set to normal, and the processing of the subsequent second processing sub-unit 7022 can refer to the corresponding description in the foregoing.
  • the determining unit 701 includes a second obtaining unit 7015 and a first determining unit 7016, where the second obtaining unit 7015 is configured to: when the type of the second radio access network connected by the mobile terminal 700 is a preset type of the wireless packet switching network, Obtaining a system identifier of the first radio access network connected to the mobile terminal 700; the first determining unit 7016 is configured to determine whether the system identifier of the first radio access network is in the first blacklist; correspondingly, the processing unit 702 includes The third processing sub-unit 7023 is configured to: when the system identifier of the first radio access network is in the first blacklist, select an ephemeris extended positioning manner for positioning, or select to establish a temporary data service by using the first radio access network. When the system identifier of the first radio access network is not in the first blacklist, the second radio access network accesses the location server for positioning.
  • the first blacklist may be created according to user complaints, network side feedback or pre-tested experiments.
  • the first blacklist includes the system identification code of the wireless access network with poor network status.
  • the second acquiring unit 7015 may acquire the system of the first radio access network by using the system broadcast message of the first radio access network.
  • the identification code, or the system identification code of the first radio access network is obtained by the location allocation message of the high speed packet data, the 3G1X parameter or the sector identification information.
  • the system identifier of the first radio access network is in the blacklist, indicating that the network status of the second radio access network is not good. The second wireless access network cannot connect to the location server quickly and correctly.
  • the state of the second radio access network is identified by determining whether the system identification code of the first radio access network is in the first blacklist.
  • the determining unit 701 includes a third obtaining unit 7017 and a second determining unit 7018, where the third obtaining unit 7017 is configured to: when the type of the second radio access network connected by the mobile terminal 700 is a preset type of the wireless packet switching network, Acquiring the phone number of the mobile terminal 700, the second determining unit 7018 is configured to determine whether the home network of the phone number is in the second blacklist; correspondingly, the processing unit 702 includes a fourth processing subunit 7024, When the home network of the phone number is in the second blacklist, the ephemeris extended positioning mode is selected for positioning, or the temporary data service is established through the first wireless access network to access the positioning server for positioning; when the phone number is When the home network is not in the second blacklist, the second wireless access network accesses the positioning server for positioning.
  • the third obtaining unit 7017 is configured to: when the type of the second radio access network connected by the mobile terminal 700 is a preset type of the wireless packet switching network, Acquiring the phone number of the mobile
  • the home network in the second blacklist is usually a network with poor connection status.
  • the attribution network identification of the mobile terminal's telephone number is achieved through pre-made city/area number segment table queries.
  • the China Domestic Destination Code (NDC) includes the access number N1N2N3 and the identification number H1H2H3H4 of the Home Location Register (HLR).
  • the access number is used to identify different operators' networks or different operators' different service networks, such as 139, 138, and 133.
  • the HLR identification number indicates the HLR of the user's home city/region. In this way, a mobile phone number segment table of each city/region network can be pre-made based on the NDC, and when needed, the third obtaining unit 7017 can identify the home network of the mobile terminal's telephone number by looking up the table.
  • the home network in the case of roaming, will be a network different from the first radio access network and the second radio access network, but the second radio access network accesses the positioning server for positioning.
  • the home network needs to be relied on, so when the home network is not good, the positioning time for accessing the positioning server through the second wireless access network is directly affected.
  • the home network and the second wireless access network refer to the same network.
  • the mobile terminal 700 of this embodiment may also be used to implement other The steps are not described here, and the corresponding method embodiments may be referred to.
  • the mobile terminal 800 of this embodiment includes a processor 801 for storing a set of program instructions, and a memory 802 for calling a program instruction stored in the memory 802 to perform the following operations:
  • the network scenario in which the mobile terminal 800 is located is determined.
  • the network scenario includes a type of the second wireless access network to which the mobile terminal 800 is connected, and the mobile terminal 800 connects to the connection state of the location server through the second wireless access network, and the mobile terminal 800 is connected.
  • the positioning manner of the mobile terminal is selected according to a network scenario in which the mobile terminal 800 is located.
  • the determining, by the processor 801, the network scenario where the mobile terminal is located includes:
  • the processor 801 determines whether the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network
  • the method for the processor 801 to select the location of the mobile terminal according to the network scenario in which the mobile terminal 800 is located includes:
  • the processor 801 accesses the positioning server through the second radio access network for positioning, and will pass the second radio access network.
  • the timeout period of the access location server is set to the second time. Otherwise, the timeout period of the processor 801 accessing the location server through the second radio access network is the first time, and the second time is less than the first time.
  • the determining, by the processor 801, the network scenario where the mobile terminal 800 is located includes:
  • the processor 801 determines whether the mobile terminal 800 can connect to the positioning server through the second radio access network;
  • the processor 801 sets the connection server connection status to be abnormal, otherwise, the processor 801 sets the positioning server connection status to be normal;
  • the manner in which the processor 801 selects the location of the mobile terminal 800 according to the network scenario in which the mobile terminal 800 is located includes:
  • the processor 801 selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access the positioning server for positioning;
  • the processor 801 accesses the location server through the second wireless access network for positioning.
  • the processor 801 is further configured to:
  • connection status of the positioning server is set to be abnormal, otherwise, the connection status of the positioning server is set to be normal.
  • the determining, by the processor 801, the network scenario where the mobile terminal 800 is located includes:
  • the processor 801 acquires a system identifier of the first radio access network connected to the mobile terminal 800;
  • the processor 801 determines whether the system identifier of the first radio access network is in the first blacklist.
  • the manner in which the processor 801 selects the location of the mobile terminal 800 according to the network scenario in which the mobile terminal 800 is located includes:
  • the processor 801 selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first radio access network to access Position the server for positioning;
  • the processor 801 accesses the location server through the second radio access network for positioning.
  • the determining, by the processor 801, the network scenario where the mobile terminal 800 is located includes:
  • the processor 801 acquires the phone number of the mobile terminal 800;
  • the processor 801 determines whether the home network of the phone number is in the second blacklist
  • the manner in which the processor 801 selects the location of the mobile terminal 800 according to the network scenario in which the mobile terminal 800 is located includes:
  • the processor 801 selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access Position the server for positioning;
  • the processor 801 accesses the location server through the second wireless access network for positioning.
  • the processor when the mobile terminal is located, the processor first determines the network scenario in which the mobile terminal is located, and selects the location mode of the mobile terminal according to the network scenario in which the mobile terminal is located.
  • the positioning when positioning is required, the positioning is not directly performed by using the default positioning manner as in the prior art, but the processor selects different positioning modes for the mobile terminal according to the network scenario in which the mobile terminal is located, thereby The mobile terminal can use the more suitable positioning mode to achieve fast positioning regardless of the scene.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical. Units can be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the connection relationship between the modules indicates that there is a communication connection between them, and specifically, one or more communication buses or signal lines can be realized.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, dedicated hardware, dedicated CPU, dedicated memory, dedicated memory, Special components and so on.
  • functions performed by computer programs can be easily implemented with the corresponding hardware, and the specific hardware structure used to implement the same function can be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc.
  • software program implementation is a better implementation in more cases.
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • U disk mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., including a number of instructions to make a computer device (may be A personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
  • a computer device may be A personal computer, server, or network device, etc.
  • the method for locating a mobile terminal and the mobile terminal provided by the embodiment of the present invention are The details of the present invention are not limited by the scope of the present invention, and the scope of the present invention is not limited by the scope of the present invention.

Abstract

A positioning method for a mobile terminal, and the mobile terminal. The mobile terminal is connected to a first radio access network and a second radio access network at the same time, acquires a circuit switching speech service via the first radio access network and acquires a packet switching data service via the second radio access network. The method comprises: determining a network scenario in which the mobile terminal is located, wherein the network scenario refers to the type of the second radio access network to which the mobile terminal is connected, or refers to the connection state of the mobile terminal connected to a positioning server via the second radio access network, or refers to the state of a system recognition code of the first radio access network to which the mobile terminal is connected, or refers to the state of a home network of a telephone number of the mobile terminal, and the positioning server comprises an AGNSS positioning server and an AGPS positioning server; and selecting a positioning method for the mobile terminal according to the network scenario in which the mobile terminal is located. The embodiments of the present invention can reduce the positioning time.

Description

一种移动终端的定位方法及移动终端Positioning method of mobile terminal and mobile terminal 技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种移动终端的定位方法及移动终端。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a method for locating a mobile terminal and a mobile terminal.
背景技术Background technique
全球导航卫星系统(Global Navigation Satellite System,GNSS),是泛指所有的卫星导航系统,包括全球的、区域的和增强的卫星系统,如美国的全球定位系统(Global Positioning System,GPS)、俄罗斯的Glonass、欧洲的Galileo、中国的北斗卫星导航系统(英文名为Beidou或Compass);以及相关的增强系统,如美国的广域增强系统(Wide Area Augmentation System,WAAS)、欧洲的欧洲静地导航重叠系统(European Geostationary Navigation Overlay system,EGNOS)和日本的多功能运输卫星增强系统(Multi-Functional Satellite Augmentation System,MSAS)等,还涵盖在建和以后要建设的其他卫星导航系统。卫星接收机可能支持接收多种卫星导航系统的导航信号,从而满足不同条件下的定位需求,或者用以获得最佳的定位性能,这种接收机称为多模卫星接收机。各种卫星导航系统之间也可以进行不同程度的协调,以改善多模卫星接收机的融合定位性能。The Global Navigation Satellite System (GNSS) refers to all satellite navigation systems, including global, regional, and enhanced satellite systems, such as the Global Positioning System (GPS) in the United States, and Russia. Glonass, Galileo in Europe, China's Beidou satellite navigation system (Beidou or Compass in English); and related augmentation systems, such as the US Wide Area Augmentation System (WAAS), Europe's European static navigation overlap The system (European Geostationary Navigation Overlay system, EGNOS) and Japan's Multi-Functional Satellite Augmentation System (MSAS) also cover other satellite navigation systems under construction and later. Satellite receivers may support the reception of navigation signals from a variety of satellite navigation systems to meet the positioning requirements under different conditions, or to achieve optimal positioning performance. Such receivers are referred to as multimode satellite receivers. Different degrees of coordination between various satellite navigation systems can also be implemented to improve the fusion positioning performance of multi-mode satellite receivers.
传统的独立GNSS接收机需要解码多颗卫星的导航电文和星历后,才能进行首次定位,所以首次定位时间比较长,因而业界提出了Assisted GNSS技术用以改善首次定位速度,最典型的就是辅助全球定位系统(Assisted Global Positioning System,AGPS)技术。The traditional independent GNSS receiver needs to decode the navigation message and ephemeris of multiple satellites before the first positioning can be performed, so the first positioning time is long. Therefore, the industry has proposed Assisted GNSS technology to improve the first positioning speed. The most typical is the auxiliary. Assisted Global Positioning System (AGPS) technology.
AGPS因具有快速首次定位和定位精度高等优势,现已成为主流商用定位技术。该技术通过AGPS服务器为移动终端的GPS接收机提供历书、星历、时钟、参考位置等辅助数据,有效提高了移动终端GPS接收机的定位速度与灵敏度,其实现的关键点在于:估计移动终端的粗略位置,根据该粗略位置、历书、时钟等信息提供GPS卫星的多普勒频偏、码延迟、方关键位、仰角、星历等辅助信息,从而缩小频率、码延迟搜索空间,避免星历解码需求,实现快速定位。其中,粗略位置的估计通常由移动终端所处的蜂窝小区基站位置或 者WiFi热点小区位置确定,可通过查找基站数据库中与该基站对应的地理位置得到。基站数据库特指存储了基站标识(IDentity,ID)如Cell-ID,WiFi AP的服务集标识(Service Set Identifier,SSID)或介质访问控制(Media Access Control,MAC)地址及基站或接入点(Access Point,AP)热点对应物理位置的数据库。AGPS has become a mainstream commercial positioning technology due to its advantages of fast first positioning and high positioning accuracy. The technology provides auxiliary data such as almanac, ephemeris, clock and reference position for the GPS receiver of the mobile terminal through the AGPS server, which effectively improves the positioning speed and sensitivity of the GPS receiver of the mobile terminal, and the key point of the realization is: estimating the mobile terminal The rough position, according to the rough position, almanac, clock and other information to provide GPS satellite Doppler frequency offset, code delay, square key, elevation, ephemeris and other auxiliary information, thereby narrowing the frequency, code delay search space, avoiding stars Calendar decoding requirements for fast positioning. Where the estimate of the coarse location is typically the location of the cell site where the mobile terminal is located or The location of the WiFi hotspot cell is determined by looking up the geographic location corresponding to the base station in the base station database. The base station database specifically refers to a base station identifier (IDentity, ID) such as a Cell-ID, a Service Set Identifier (SSID) or a Media Access Control (MAC) address of a WiFi AP, and a base station or an access point ( Access Point, AP) A database of hotspots corresponding to physical locations.
现有技术中,通常会直接将移动终端的定位方式设置为AGPS定位,AGPS定位需要终端几乎每小时都要连接到AGPS服务器下载最新的辅助数据以进行定位,AGPS定位性能优良。在实际AGPS定位中,由于多种原因会出现移动终端无法使用AGPS定位,比如:AGPS服务器故障,无法提供服务;或者AGPS服务器没有准确的基站位置数据库;或者移动网络拥塞或网关路由配置不准确,导致移动终端无法连接AGPS服务器。且现有技术中,通常将移动终端访问AGPS服务器的超时时间设置的很长,例如30秒,如果服务器故障,无法及时获知,这样导致定位时间长,用户体验差。因此,有必要提出一种方法解决上述问题。In the prior art, the positioning mode of the mobile terminal is usually directly set to AGPS positioning. The AGPS positioning requires the terminal to connect to the AGPS server almost every hour to download the latest auxiliary data for positioning, and the AGPS positioning performance is excellent. In actual AGPS positioning, the mobile terminal cannot use AGPS positioning for various reasons, such as: AGPS server failure, unable to provide service; or AGPS server does not have accurate base station location database; or mobile network congestion or gateway routing configuration is not accurate, As a result, the mobile terminal cannot connect to the AGPS server. In the prior art, the timeout period for the mobile terminal to access the AGPS server is usually set to be long, for example, 30 seconds. If the server is faulty, it cannot be known in time, which results in long positioning time and poor user experience. Therefore, it is necessary to propose a method to solve the above problem.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种移动终端的定位方法及移动终端,能够缩短定位时间,提升用户体验。In view of this, the embodiments of the present invention provide a method for locating a mobile terminal and a mobile terminal, which can shorten the positioning time and improve the user experience.
第一方面,本发明实施例提供了一种移动终端的定位方法,所述移动终端同时连接到第一无线接入网络和第二无线接入网络,所述移动终端通过所述第一无线接入网络获取电路交换语音业务,所述移动终端通过所述第二无线接入网络获取分组交换数据业务,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for locating a mobile terminal, where the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, and the mobile terminal passes the first radio connection. The inbound network obtains the circuit-switched voice service, and the mobile terminal acquires the packet-switched data service by using the second radio access network, where the method includes:
确定所述移动终端所处的网络场景,所述网络场景包括所述移动终端所连接的第二无线接入网络的类型,所述移动终端通过所述第二无线接入网络连接定位服务器的连接状态,所述移动终端所连接的第一无线接入网络的系统识别码的状态和所述移动终端的电话号码的归属地网络的状态中的至少之一,所述定位服务器包括辅助全球导航卫星系统AGNSS定位服务器或辅助全球定位系统AGPS定位服务器;Determining a network scenario in which the mobile terminal is located, the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal connects to a location server by using the second wireless access network a state, at least one of a state of a system identification code of a first radio access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server including an auxiliary global navigation satellite System AGNSS location server or auxiliary global positioning system AGPS location server;
根据所述移动终端所处的网络场景选择所述移动终端的定位方式。Selecting a positioning manner of the mobile terminal according to a network scenario in which the mobile terminal is located.
结合第一方面,在第一方面的第一种实施方式中,所述确定移动终端所处 的网络场景包括:With reference to the first aspect, in a first implementation manner of the first aspect, the determining that the mobile terminal is located Network scenarios include:
确定所述移动终端连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;Determining whether a type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
所述根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
若所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型,则通过所述第二无线接入网络访问所述定位服务器进行定位,且将所述移动终端通过所述第二无线接入网络访问所述定位服务器的超时时间设置为第二时间,否则,所述移动终端通过所述第二无线接入网络访问所述定位服务器的超时时间为第一时间,所述第二时间小于所述第一时间。If the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network, accessing the positioning server by using the second radio access network to perform positioning, and moving the mobile terminal The timeout period of the terminal accessing the positioning server by using the second radio access network is set to a second time. Otherwise, the timeout time of the mobile terminal accessing the positioning server by using the second radio access network is first. Time, the second time is less than the first time.
结合第一方面,在第一方面的第二种实施方式中,所述确定移动终端所处的网络场景包括:With reference to the first aspect, in a second implementation manner of the first aspect, the determining a network scenario in which the mobile terminal is located includes:
当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;Determining, by the mobile terminal, whether the type of the second radio access network connected to the mobile terminal is a preset wireless packet switching network type, whether the mobile terminal is able to connect to the positioning server by using the second radio access network ;
若所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器,则设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常;If the mobile terminal cannot connect to the positioning server through the second wireless access network, set the connection state of the positioning server to be abnormal, otherwise, set the connection state of the positioning server to be normal;
所述根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
当所述定位服务器连接状态为异常时,选择星历扩展定位方式进行定位,或者选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the connection status of the positioning server is abnormal, the ephemeris extended positioning mode is selected for positioning, or the temporary data service is established through the first wireless access network to access the positioning server for positioning;
当所述定位服务器连接状态为正常时,通过所述第二无线接入网络访问所述定位服务器进行定位。When the connection server is in a normal state, the positioning server is accessed by the second wireless access network to perform positioning.
结合第一方面的第二种实施方式,在第一方面的第三种实施方式中,所述确定移动终端所处的网络场景之后,还包括:With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, after determining the network scenario where the mobile terminal is located, the method further includes:
获取所述第二无线接入网络为所述移动终端分配的新的IP地址;Obtaining a new IP address allocated by the second radio access network to the mobile terminal;
再次确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器; Determining again whether the mobile terminal is able to connect to the positioning server through the second wireless access network;
若所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器,则设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常。If the mobile terminal cannot connect to the positioning server through the second wireless access network, set the connection status of the positioning server to be abnormal, otherwise, set the connection status of the positioning server to be normal.
结合第一方面,在第一方面的第四种实施方式中,所述确定移动终端所处的网络场景包括:With reference to the first aspect, in a fourth implementation manner of the first aspect, the determining, by the network scenario where the mobile terminal is located, includes:
当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取所述移动终端连接的第一无线接入网络的系统识别码;And acquiring, when the type of the second radio access network that is connected to the mobile terminal is a preset type of the wireless packet switching network, acquiring a system identifier of the first radio access network that is connected by the mobile terminal;
判断所述第一无线接入网络的系统识别码是否在第一黑名单中;Determining whether the system identifier of the first radio access network is in the first blacklist;
所述根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
当所述第一无线接入网络的系统识别码在所述第一黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;And when the system identifier of the first radio access network is in the first blacklist, selecting an ephemeris extended positioning manner for positioning, or selecting to establish a temporary data service by using the first radio access network to access the Positioning the server for positioning;
当所述第一无线接入网络的系统识别码不在所述第一黑名单中时,通过所述第二无线接入网络访问所述定位服务器进行定位。And when the system identifier of the first radio access network is not in the first blacklist, accessing the positioning server by using the second radio access network to perform positioning.
结合第一方面,在第一方面的第五种实施方式中,所述所述确定移动终端所处的网络场景包括:With reference to the first aspect, in a fifth implementation manner of the first aspect, the determining, by the network scenario where the mobile terminal is located, includes:
当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取所述移动终端的电话号码;Obtaining a phone number of the mobile terminal when the type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
判断所述电话号码的归属地网络是否在第二黑名单中;Determining whether the home network of the phone number is in the second blacklist;
所述根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
当所述电话号码的归属地网络在所述第二黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the home network of the phone number is in the second blacklist, select an ephemeris extended positioning mode for positioning, or select to establish a temporary data service by using the first wireless access network to access the positioning server. Positioning
当所述电话号码的归属地网络不在所述第二黑名单中时,通过所述第二无线接入网络访问所述定位服务器进行定位。When the home network of the phone number is not in the second blacklist, the positioning server is accessed by the second wireless access network to perform positioning.
第二方面,本发明实施例提供了一种移动终端,所述移动终端同时连接到第一无线接入网络和第二无线接入网络,所述移动终端通过所述第一无线接入网络获取电路交换语音业务,所述移动终端通过所述第二无线接入网络获取分 组交换数据业务,所述移动终端包括:In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, where the mobile terminal obtains by using the first radio access network. Circuit switched voice service, the mobile terminal acquiring points through the second wireless access network The group exchanges data services, and the mobile terminal includes:
确定单元,用于确定所述移动终端所处的网络场景,所述网络场景包括所述移动终端所连接的第二无线接入网络的类型,所述移动终端通过所述第二无线接入网络连接定位服务器的连接状态,所述移动终端所连接的第一无线接入网络的系统识别码的状态和所述移动终端的电话号码的归属地网络的状态中的至少之一,所述定位服务器包括辅助全球导航卫星系统AGNSS定位服务器或辅助全球定位系统AGPS定位服务器;a determining unit, configured to determine a network scenario where the mobile terminal is located, where the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal passes the second wireless access network Connecting the connection state of the positioning server, at least one of a state of a system identification code of the first wireless access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server Including the assisted global navigation satellite system AGNSS positioning server or the auxiliary global positioning system AGPS positioning server;
处理单元,用于根据所述移动终端所处的网络场景选择所述移动终端的定位方式。And a processing unit, configured to select a positioning manner of the mobile terminal according to a network scenario in which the mobile terminal is located.
结合第二方面,在第二方面的第一种实施方式中,所述确定单元包括:With reference to the second aspect, in a first implementation manner of the second aspect, the determining unit includes:
第一确定子单元,用于确定所述移动终端连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;a first determining subunit, configured to determine whether a type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
所述处理单元包括:The processing unit includes:
第一处理子单元,用于当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,通过所述第二无线接入网络访问所述定位服务器进行定位,且将所述移动终端通过所述第二无线接入网络访问所述定位服务器的超时时间设置为第二时间,否则,所述移动终端通过所述第二无线接入网络访问所述定位服务器的超时时间为第一时间,所述第二时间小于所述第一时间。a first processing subunit, configured to access the positioning server by using the second radio access network when the type of the second radio access network connected by the mobile terminal is a preset type of a wireless packet switching network Performing positioning, and setting a timeout period of the mobile terminal accessing the positioning server through the second wireless access network to a second time, otherwise, the mobile terminal accessing the second wireless access network to access the The timeout period of the positioning server is the first time, and the second time is less than the first time.
结合第二方面,在第二方面的第二种实施方式中,所述确定单元包括:With reference to the second aspect, in a second implementation manner of the second aspect, the determining unit includes:
第二确定子单元,用于当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;a second determining subunit, configured to determine, when the type of the second radio access network connected by the mobile terminal is a preset wireless packet switching network type, by using the second radio access network Whether it is possible to connect to the positioning server;
设置单元,用于当所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器时,设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常;a setting unit, configured to: when the mobile terminal is unable to connect to the positioning server by using the second wireless access network, setting a connection state of the positioning server to be abnormal; otherwise, setting a connection state of the positioning server to be normal;
所述处理单元包括:The processing unit includes:
第二处理子单元,用于当所述定位服务器连接状态为异常时,选择星历扩展定位方式进行定位,或者选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;当所述定位服务器连接状态为正常时,通过 所述第二无线接入网络访问所述定位服务器进行定位。a second processing subunit, configured to: when the connection state of the positioning server is abnormal, select an ephemeris extended positioning manner for positioning, or select to establish a temporary data service by using the first wireless access network to access the positioning server. Positioning; when the positioning server connection status is normal, pass The second wireless access network accesses the positioning server for positioning.
结合第二方面的第二种实施方式,在第二方面的第三种实施方式中,所述确定单元还包括:With reference to the second embodiment of the second aspect, in a third implementation manner of the second aspect, the determining unit further includes:
第一获取单元,用于获取所述第二无线接入网络为所述移动终端分配的新的IP地址;a first acquiring unit, configured to acquire a new IP address allocated by the second radio access network to the mobile terminal;
所述第二确定子单元还用于,再次确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;The second determining subunit is further configured to: determine again, whether the mobile terminal can connect to the positioning server by using the second wireless access network;
所述设置单元还用于,当所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器时,设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常。The setting unit is further configured to: when the mobile terminal is unable to connect to the positioning server by using the second wireless access network, set the connection state of the positioning server to be abnormal, otherwise, set the connection state of the positioning server. It is normal.
结合第二方面,在第二方面的第四种实施方式中,所述确定单元包括:With reference to the second aspect, in a fourth implementation manner of the second aspect, the determining unit includes:
第二获取单元,用于当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取所述移动终端连接的第一无线接入网络的系统识别码;a second acquiring unit, configured to acquire a system of the first wireless access network connected to the mobile terminal when the type of the second wireless access network connected to the mobile terminal is a preset wireless packet switching network type Identifier;
第一判断单元,用于判断所述第一无线接入网络的系统识别码是否在第一黑名单中;a first determining unit, configured to determine whether the system identifier of the first radio access network is in the first blacklist;
所述处理单元包括:The processing unit includes:
第三处理子单元,用于当所述第一无线接入网络的系统识别码在所述第一黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;当所述第一无线接入网络的系统识别码不在所述第一黑名单中时,通过所述第二无线接入网络访问所述定位服务器进行定位。a third processing subunit, configured to: when the system identifier of the first radio access network is in the first blacklist, select an ephemeris extended positioning manner for positioning, or select to use the first radio access The network establishes a temporary data service to access the positioning server for positioning; when the system identifier of the first wireless access network is not in the first blacklist, accessing the positioning by using the second wireless access network The server is positioned.
结合第二方面,在第二方面的第五种实施方式中,所述确定单元包括:With reference to the second aspect, in a fifth implementation manner of the second aspect, the determining unit includes:
第三获取单元,用于当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取所述移动终端的电话号码;a third acquiring unit, configured to acquire a phone number of the mobile terminal when the type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
第二判断单元,用于判断所述电话号码的归属地网络是否在第二黑名单中;a second determining unit, configured to determine whether the home network of the phone number is in the second blacklist;
所述处理单元包括:The processing unit includes:
第四处理子单元,用于当所述电话号码的归属地网络在所述第二黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;当所述电话号码的归属地网络 不在所述第二黑名单中时,通过所述第二无线接入网络访问所述定位服务器进行定位。a fourth processing subunit, configured to: when the home network of the phone number is in the second blacklist, select an ephemeris extended positioning mode for positioning, or select to establish temporary data by using the first wireless access network; The service is located by accessing the positioning server; when the home network of the phone number When not in the second blacklist, the positioning server is accessed by the second radio access network for positioning.
第三方面,本发明实施例提供了一种移动终端,所述移动终端同时连接到第一无线接入网络和第二无线接入网络,所述移动终端通过所述第一无线接入网络获取电路交换语音业务,所述移动终端通过所述第二无线接入网络获取分组交换数据业务,所述移动终端包括处理器和存储器,其中:In a third aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, where the mobile terminal obtains by using the first radio access network. Circuit-switched voice service, the mobile terminal acquiring packet-switched data service through the second radio access network, where the mobile terminal includes a processor and a memory, where:
所述存储器用于存储一组程序指令;The memory is configured to store a set of program instructions;
所述处理器用于调用所述存储器中存储的程序指令,执行如下操作:The processor is configured to invoke a program instruction stored in the memory, and perform the following operations:
确定所述移动终端所处的网络场景,所述网络场景包括所述移动终端所连接的第二无线接入网络的类型,所述移动终端通过所述第二无线接入网络连接定位服务器的连接状态,所述移动终端所连接的第一无线接入网络的系统识别码的状态和所述移动终端的电话号码的归属地网络的状态中的至少之一,所述定位服务器包括辅助全球导航卫星系统AGNSS定位服务器或辅助全球定位系统AGPS定位服务器;Determining a network scenario in which the mobile terminal is located, the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal connects to a location server by using the second wireless access network a state, at least one of a state of a system identification code of a first radio access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server including an auxiliary global navigation satellite System AGNSS location server or auxiliary global positioning system AGPS location server;
根据所述移动终端所处的网络场景选择所述移动终端的定位方式。Selecting a positioning manner of the mobile terminal according to a network scenario in which the mobile terminal is located.
结合第三方面,在第三方面的第一种实施方式中,所述处理器确定移动终端所处的网络场景包括:With reference to the third aspect, in a first implementation manner of the third aspect, the determining, by the processor, the network scenario in which the mobile terminal is located includes:
所述处理器确定所述移动终端连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;Determining, by the processor, whether a type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switched network;
所述处理器根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
若所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型,则所述处理器通过所述第二无线接入网络访问所述定位服务器进行定位,且将通过所述第二无线接入网络访问所述定位服务器的超时时间设置为第二时间,否则,所述处理器通过所述第二无线接入网络访问所述定位服务器的超时时间为第一时间,所述第二时间小于所述第一时间。If the type of the second radio access network that is connected to the mobile terminal is a preset type of the wireless packet switching network, the processor accesses the positioning server by using the second radio access network to perform positioning, and Setting a timeout period for accessing the positioning server by using the second radio access network to a second time. Otherwise, the timeout period of the processor accessing the positioning server by using the second radio access network is first. Time, the second time is less than the first time.
结合第三方面,在第三方面的第二种实施方式中,所述处理器确定移动终端所处的网络场景包括:With reference to the third aspect, in a second implementation manner of the third aspect, the determining, by the processor, the network scenario in which the mobile terminal is located includes:
当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,所述处理器确定所述移动终端通过所述第二无线接入网络是 否能够连接到所述定位服务器;When the type of the second radio access network connected by the mobile terminal is a preset type of wireless packet switching network, the processor determines that the mobile terminal is through the second radio access network. Whether it can connect to the positioning server;
若所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器,则所述处理器设置所述定位服务器连接状态为异常,否则,所述处理器设置所述定位服务器连接状态为正常;If the mobile terminal cannot connect to the positioning server by using the second wireless access network, the processor sets the connection status of the positioning server to be abnormal, otherwise, the processor sets the connection status of the positioning server. Be normal;
所述处理器根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
当所述定位服务器连接状态为异常时,所述处理器选择星历扩展定位方式进行定位,或者选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the connection status of the positioning server is abnormal, the processor selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access the positioning server for positioning;
当所述定位服务器连接状态为正常时,所述处理器通过所述第二无线接入网络访问所述定位服务器进行定位。When the connection status of the positioning server is normal, the processor accesses the positioning server through the second wireless access network for positioning.
结合第三方面的第二种实施方式,在第三方面的第三种实施方式中,所述处理器确定移动终端所处的网络场景之后,还用于,With reference to the second implementation manner of the third aspect, in a third implementation manner of the third aspect, after the determining, by the processor, the network scenario where the mobile terminal is located,
获取所述第二无线接入网络为所述移动终端分配的新的IP地址;Obtaining a new IP address allocated by the second radio access network to the mobile terminal;
再次确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;Determining again whether the mobile terminal is able to connect to the positioning server through the second wireless access network;
若所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器,则设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常。If the mobile terminal cannot connect to the positioning server through the second wireless access network, set the connection status of the positioning server to be abnormal, otherwise, set the connection status of the positioning server to be normal.
结合第三方面,在第三方面的第四种实施方式中,所述处理器确定移动终端所处的网络场景包括:With reference to the third aspect, in a fourth implementation manner of the third aspect, the determining, by the processor, the network scenario in which the mobile terminal is located includes:
当移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,所述处理器获取所述移动终端连接的第一无线接入网络的系统识别码;When the type of the second radio access network that is connected to the mobile terminal is a preset type of the wireless packet switching network, the processor acquires a system identifier of the first radio access network that is connected to the mobile terminal;
所述处理器判断所述第一无线接入网络的系统识别码是否在第一黑名单中;The processor determines whether the system identifier of the first radio access network is in the first blacklist;
所述处理器根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
当所述第一无线接入网络的系统识别码在所述第一黑名单中时,所述处理器选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临 时数据业务以访问所述定位服务器进行定位;When the system identifier of the first radio access network is in the first blacklist, the processor selects an ephemeris extended positioning manner for positioning, or selects to establish a Pro by the first radio access network. The data service is accessed by accessing the positioning server;
当所述第一无线接入网络的系统识别码不在所述第一黑名单中时,所述处理器通过所述第二无线接入网络访问所述定位服务器进行定位。When the system identifier of the first radio access network is not in the first blacklist, the processor accesses the location server to perform positioning by using the second radio access network.
结合第三方面,在第三方面的第五种实施方式中,所述处理器确定移动终端所处的网络场景包括:With reference to the third aspect, in a fifth implementation manner of the third aspect, the determining, by the processor, the network scenario in which the mobile terminal is located includes:
当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,所述处理器获取所述移动终端的电话号码;When the type of the second radio access network connected by the mobile terminal is a preset type of a wireless packet switching network, the processor acquires a phone number of the mobile terminal;
所述处理器判断所述电话号码的归属地网络是否在第二黑名单中;The processor determines whether the home network of the phone number is in the second blacklist;
所述处理器根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
当所述电话号码的归属地网络在所述第二黑名单中时,所述处理器选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the home network of the phone number is in the second blacklist, the processor selects an ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access the Positioning the server for positioning;
当所述电话号码的归属地网络不在所述第二黑名单中时,所述处理器通过所述第二无线接入网络访问所述定位服务器进行定位。When the home network of the phone number is not in the second blacklist, the processor accesses the positioning server to perform positioning by using the second wireless access network.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本发明实施例中,移动终端定位时会先确定移动终端所处的网络场景,根据移动终端所处的网络场景选择移动终端的定位方式。即本发明实施例中,当需要定位时,并非按照现有技术那样直接使用默认的定位方式进行定位,而是根据移动终端所处的网络场景为移动终端选择不同的定位方式,从而使得移动终端无论处在何种场景下,都能采用比较合适的定位方式实现快速定位。In the embodiment of the present invention, when the mobile terminal is located, the network scenario in which the mobile terminal is located is determined first, and the location mode of the mobile terminal is selected according to the network scenario in which the mobile terminal is located. That is, in the embodiment of the present invention, when the positioning is required, the positioning is not directly used in the default positioning manner according to the prior art, but the mobile terminal is selected according to the network scenario in which the mobile terminal is located, so that the mobile terminal is selected. No matter what kind of scene, you can use the appropriate positioning method to achieve fast positioning.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明移动终端的定位方法一个实施例示意图;1 is a schematic diagram of an embodiment of a positioning method of a mobile terminal according to the present invention;
图2为本发明移动终端的定位方法另一实施例示意图;2 is a schematic diagram of another embodiment of a positioning method of a mobile terminal according to the present invention;
图3为本发明移动终端的定位方法另一实施例示意图; 3 is a schematic diagram of another embodiment of a positioning method of a mobile terminal according to the present invention;
图4为本发明移动终端的定位方法另一实施例示意图;4 is a schematic diagram of another embodiment of a positioning method of a mobile terminal according to the present invention;
图5为本发明移动终端的定位方法另一实施例示意图;FIG. 5 is a schematic diagram of another embodiment of a positioning method of a mobile terminal according to the present invention; FIG.
图6为本发明移动终端的一个实施例示意图;6 is a schematic diagram of an embodiment of a mobile terminal according to the present invention;
图7为本发明移动终端的另一实施例示意图;FIG. 7 is a schematic diagram of another embodiment of a mobile terminal according to the present invention; FIG.
图8为本发明移动终端的另一实施例示意图。FIG. 8 is a schematic diagram of another embodiment of a mobile terminal according to the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be described with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明提供了一种移动终端的定位方法及移动终端,能够缩短定位时间,提升用户体验。本发明提供的移动终端可以是手机,平板电脑等终端设备。本发明中的移动终端同时连接到第一无线接入网络和第二无线接入网络,移动终端通过第一无线接入网络获取电路交换语音业务,移动终端通过第二无线接入网络获取分组交换数据业务,本发明实施例所提到的定位业务属于分组交换数据业务。The invention provides a positioning method and a mobile terminal of a mobile terminal, which can shorten the positioning time and improve the user experience. The mobile terminal provided by the present invention may be a terminal device such as a mobile phone or a tablet computer. The mobile terminal in the present invention is simultaneously connected to the first radio access network and the second radio access network, the mobile terminal acquires circuit-switched voice service through the first radio access network, and the mobile terminal acquires packet switching through the second radio access network. The data service, the positioning service mentioned in the embodiment of the present invention belongs to a packet switched data service.
请参阅图1,本发明移动终端的定位方法一个实施例包括:Referring to FIG. 1, an embodiment of a positioning method of a mobile terminal of the present invention includes:
101、确定移动终端所处的网络场景;101. Determine a network scenario where the mobile terminal is located;
本实施例中,网络场景包括移动终端所连接的第二无线接入网络的类型,移动终端通过第二无线接入网络连接定位服务器的连接状态,移动终端所连接的第一无线接入网络的系统识别码的状态和移动终端的电话号码的归属地网络的状态中的至少之一,定位服务器包括辅助全球导航卫星系统(Assisted Global Navigation Satellite System,AGNSS)定位服务器或辅助全球定位系统(Assisted Global Positioning System,AGPS)定位服务器。In this embodiment, the network scenario includes a type of the second radio access network to which the mobile terminal is connected, and the mobile terminal connects to the connection state of the location server through the second radio access network, and the first radio access network to which the mobile terminal is connected At least one of a status of a system identification code and a status of a home network of a mobile terminal's telephone number, the positioning server including an Assisted Global Navigation Satellite System (AGNSS) positioning server or an assisted global positioning system (Assisted Global) Positioning System, AGPS) locates the server.
102、根据移动终端所处的网络场景选择移动终端的定位方式。102. Select a positioning manner of the mobile terminal according to a network scenario in which the mobile terminal is located.
本实施例中,当需要定位时,并非按照现有技术那样直接使用默认的定位方式进行定位,而是根据移动终端所处的网络场景为移动终端选择不同的定位方式,从而使得移动终端无论处在何种场景下,都能采用比较合适的定位方式实现快速定位。 In this embodiment, when positioning is required, the default positioning mode is not used for positioning, but the mobile terminal is selected according to the network scenario in which the mobile terminal is located, so that the mobile terminal is not in use. In any scenario, a more suitable positioning method can be used to achieve fast positioning.
下面请参阅图2,本发明移动终端的定位方法一个具体实施例包括:Referring to FIG. 2, a specific embodiment of the positioning method of the mobile terminal of the present invention includes:
201、确定移动终端连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;若是,则执行步骤202,执行步骤203;201, determining whether the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network; if yes, executing step 202, performing step 203;
具体实现中,预设的无线分组交换网络类型可以包括:第四代移动通信技术(the 4 Generation mobile communication technology,4G)网络,长期演进(Long Term Evolution,LTE)网络,演进的高速分组数据(evolved High Rate Packet Data,eHRPD)网络等。预设类型的无线分组交换网络通常具有传输数据速率快的特点或者具有有一定概率无法连接到定位服务器的特点。In a specific implementation, the preset type of the wireless packet switching network may include: a 4th generation mobile communication technology (4G) network, a Long Term Evolution (LTE) network, and an evolved high-speed packet data ( Evolved High Rate Packet Data, eHRPD) network. The preset type of wireless packet switched network usually has the characteristics of fast transmission data rate or the possibility of being unable to connect to the positioning server with a certain probability.
202、通过第二无线接入网络访问定位服务器进行定位,且将移动终端通过第二无线接入网络访问定位服务器的超时时间设置为第二时间;202. The second wireless access network accesses the positioning server for positioning, and sets a timeout period of the mobile terminal accessing the positioning server by using the second wireless access network to a second time.
203、移动终端通过第二无线接入网络访问定位服务器的超时时间为第一时间。203. The timeout period for the mobile terminal to access the positioning server by using the second wireless access network is the first time.
具体实现中,第二时间小于第一时间,第一时间可以是默认的通过第一无线接入网络访问定位服务器的超时时间,这个时间通常会比较长。例如,当第一时间为30秒时,可以将第二时间设置为10秒,当然第二时间还可以设置为其他小于第一时间的时间。In a specific implementation, the second time is less than the first time, and the first time may be a default timeout period for accessing the positioning server through the first wireless access network, which is usually longer. For example, when the first time is 30 seconds, the second time can be set to 10 seconds, and of course the second time can also be set to other times less than the first time.
当第二无线接入网络的类型为预设的无线分组交换网络类型时,由于此时的第二无线接入网络具有传输数据速率快的特点,因此选择通过第二接入网络访问定位服务器进行定位。这种情况下,如果移动终端可以正确连接到定位服务器,那么移动终端将可以快速实现定位,另外由于此时的第二无线接入网络有一定概率无法连接到定位服务器,所以还将访问定位服务器的超时时间设置的较小,如果移动终端不能通过第二无线接入网络访问定位服务器完成定位(例如无法连接到定位服务器,或者定位服务器没有准确的基站位置数据库),那么由于超时时间设置的比较小,移动终端在超时之后可以快速回退到其他定位方式(例如星历扩展定位方式)进行定位,从而实现快速定位。When the type of the second radio access network is a preset type of the wireless packet switching network, since the second radio access network has a fast transmission data rate, the second access network is selected to access the positioning server. Positioning. In this case, if the mobile terminal can be correctly connected to the positioning server, the mobile terminal can quickly achieve positioning, and since the second wireless access network at this time has a certain probability of being unable to connect to the positioning server, the positioning server will also be accessed. The timeout period is set smaller. If the mobile terminal cannot access the positioning server through the second wireless access network to complete the positioning (for example, unable to connect to the positioning server, or the positioning server does not have an accurate base station location database), then the comparison is made due to the timeout setting. Small, after the timeout, the mobile terminal can quickly fall back to other positioning modes (such as ephemeris extended positioning mode) for positioning, thereby achieving fast positioning.
本实施例中,当移动终端所连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,选择通过第二无线接入网络访问定位服务器完成定位,且将定位时间设置的较小,否则移动终端访问定位服务器的超时时间为默认的较长的超时时间,这样无论移动终端所连接的第二无线接入网络是那种类型, 都可以选择比较合适的定位方式实现快速定位。In this embodiment, when the type of the second radio access network to which the mobile terminal is connected is a preset type of the wireless packet switching network, the second radio access network is selected to access the positioning server to complete the positioning, and the positioning time is set. Smaller, otherwise the timeout period for the mobile terminal to access the location server is the default longer timeout, so that regardless of the type of the second wireless access network to which the mobile terminal is connected, You can choose the appropriate positioning method to achieve fast positioning.
请参阅图3,本发明移动终端的定位方式另一具体实施例包括:Referring to FIG. 3, another specific embodiment of the positioning manner of the mobile terminal of the present invention includes:
301、当移动终端连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,确定移动终端通过第二无线接入网络是否能够连接到定位服务器;若能,则执行步骤302,否则,执行步骤304;301. When the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network, determine whether the mobile terminal can connect to the positioning server by using the second radio access network; if yes, perform step 302. Otherwise, step 304 is performed;
具体实现中,当移动终端连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,可以先在后台尝试连接定位服务器预设次数,如果在预设次数内都连接不上服务器,则设置定位服务器连接状态为异常,否则,设置定位服务器连接状态正常。In a specific implementation, when the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network, the connection server may be attempted to connect to the positioning server in the background for a preset number of times. If the server is set, the connection status of the positioning server is abnormal. Otherwise, the connection status of the positioning server is set to be normal.
预设的无线分组交换网络类型可以包括:4G网络,LTE网络或eHRPD网络等。预设类型的无线分组交换网络通常具有传输数据速率快或者具有有一定概率无法连接到定位服务器的特点。The preset wireless packet switching network type may include: a 4G network, an LTE network, or an eHRPD network. A preset type of wireless packet switched network typically has the characteristics of fast transmission data rate or a probability of being unable to connect to a location server.
302、设置定位服务器连接状态为异常;302. Set the connection status of the positioning server to be abnormal.
定位服务器连接状态异常可能是服务器异常,也可能是第二无线接入网络异常(比如网络拥塞,或者网关的路由策略配置不准确),无法连接到定位服务器。The abnormal connection status of the positioning server may be a server exception, or the second wireless access network is abnormal (such as network congestion, or the routing policy configuration of the gateway is inaccurate), and cannot be connected to the positioning server.
303、选择星历扩展定位方式进行定位,或者选择通过第一无线接入网络建立临时数据业务以访问定位服务器进行定位;303. Select an ephemeris extended positioning manner to perform positioning, or select to establish a temporary data service through the first wireless access network to access the positioning server for positioning;
具体实现中,当定位服务器连接状态异常时,可以选择星历扩展定位方式进行定位,或者选择通过第一无线接入网络建立临时数据业务以访问定位服务器进行定位。此时,移动终端可以与第二无线接入网络保持连接状态。完成定位后,第一无线接入网络临时数据业务将关闭。In a specific implementation, when the connection status of the positioning server is abnormal, the ephemeris extended positioning mode may be selected for positioning, or the temporary data service may be established through the first wireless access network to access the positioning server for positioning. At this time, the mobile terminal can maintain a connection state with the second wireless access network. After the positioning is completed, the temporary data service of the first radio access network will be closed.
星历扩展定位方式指的是星历扩展(Ephemeris Extension,EE)服务器通过通信网络向移动终端提供较长时间内(比如七天)有效的星历、时钟等信息,辅助移动终端快速定位。由于星历扩展定位不需要移动终端实时地连接到EE服务器获取定位辅助数据就能实现定位,因而当无法通过第二无线接入网络访问定位服务器进行定位时,采用星历扩展定位可以实现快速定位。选择星历扩展定位的具体方式可以是:将通过第二无线接入网络访问定位服务器的超时时间设置为0,也可以是直接跳过AGNSS定位或AFPS定位,直接使用星历扩展定位,此处不做具体限定。 The ephemeris extension positioning method refers to the Ephemeris Extension (EE) server providing the mobile terminal with information such as ephemeris and clock valid for a long time (for example, seven days) through the communication network, and assisting the mobile terminal to quickly locate. Since the ephemeris extended positioning does not require the mobile terminal to connect to the EE server in real time to obtain the positioning assistance data, the positioning can be achieved. Therefore, when the positioning server cannot be accessed through the second wireless access network for positioning, the ephemeris extended positioning can be used for fast positioning. . The specific manner of selecting the ephemeris extended positioning may be: setting the timeout time for accessing the positioning server through the second wireless access network to 0, or directly skipping the AGNSS positioning or the AFPS positioning, and directly using the ephemeris extended positioning, where No specific restrictions.
第一无线接入网络例如1x网络,通常用于获取电路交换语音业务,例如通话等,当通过第二无线接入网络无法访问定位服务器时,可以通过第一无线接入网络建立临时数据业务以访问定位服务器实现快速定位。The first radio access network, such as a 1x network, is generally used to acquire circuit-switched voice services, such as a call, etc., when the location server cannot be accessed through the second radio access network, the temporary data service can be established through the first radio access network. Access the location server for fast positioning.
304、设置定位服务器连接状态为正常;304. Set the connection status of the positioning server to be normal;
305、通过第二无线接入网络访问定位服务器进行定位。305. Access the positioning server through the second wireless access network for positioning.
如果定位服务器连接状态正常,则通过第二无线接入网络访问定位服务器可实现快速、准确的定位。If the location of the location server is normal, accessing the location server through the second wireless access network enables fast and accurate positioning.
另外,在移动终端初始连接上第二无线接入网络时,第二无线接入网络会分配给移动终端一个网际协议(Internet Protocol,IP)地址。当移动终端发生移动,第二无线接入网络可能会分配给移动终端一个新的IP地址,移动终端获取第二无线接入网络分配的新的IP地址,则再次确定移动终端通过第二无线接入网络是否能够连接到定位服务器,若移动终端通过第二无线接入网络无法连接到定位服务器,则设置定位服务器连接状态为异常,否则,设置定位服务器连接状态为正常,后续的处理过程可参阅前面对应的描述。In addition, when the mobile terminal initially connects to the second radio access network, the second radio access network allocates an Internet Protocol (IP) address to the mobile terminal. When the mobile terminal moves, the second wireless access network may assign a new IP address to the mobile terminal, and the mobile terminal acquires a new IP address allocated by the second wireless access network, and then determines that the mobile terminal passes the second wireless connection again. Whether the incoming network can connect to the positioning server. If the mobile terminal cannot connect to the positioning server through the second wireless access network, set the connection status of the positioning server to be abnormal. Otherwise, set the connection status of the positioning server to be normal. For subsequent processing, refer to The corresponding description above.
本实施例中,当移动终端通过第二无线接入网络连接定位服务器的连接状态为正常时,通过第二无线接入网络访问定位服务器进行定位,否则,选择星历扩展定位方式进行定位,或者选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位,这样无论定位服务器的连接状态为正常还是异常,都可以采用合适的定位方式实现快速定位。In this embodiment, when the connection state of the mobile terminal is connected to the positioning server through the second wireless access network is normal, the second wireless access network accesses the positioning server for positioning, otherwise, the ephemeris extended positioning mode is selected for positioning, or Selecting to establish a temporary data service by using the first radio access network to access the positioning server for positioning, so that the positioning mode of the positioning server is normal or abnormal, and the positioning method can be used to implement fast positioning.
请参阅图4,本发明移动终端的定位方式另一具体实施例包括:Referring to FIG. 4, another specific embodiment of the positioning manner of the mobile terminal of the present invention includes:
401、当移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取移动终端连接的第一无线接入网络的系统识别码;401. When the type of the second radio access network that is connected to the mobile terminal is a preset type of the wireless packet switching network, acquire a system identifier of the first radio access network that is connected to the mobile terminal.
402、判断第一无线接入网络的系统识别码是否在第一黑名单中,若是,则执行步骤403,否则,执行步骤404;402, determining whether the system identifier of the first radio access network is in the first blacklist, and if so, executing step 403, otherwise, performing step 404;
具体实现中,可根据用户投诉,网络侧的反馈或预先进行的测试实验制作第一黑名单,第一黑名单中包括网络状态不好的无线接入网络的系统识别码。In the specific implementation, the first blacklist may be created according to user complaints, network side feedback or pre-tested experiments. The first blacklist includes the system identification code of the wireless access network with poor network status.
当移动终端连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,可以通过第一无线接入网络的系统广播消息获取第一无线接入网络的系统识别码,或者通过高速分组数据的位置分配消息、3G1X参数或扇区标识信息获取第一无线接入网络的系统识别码。第一无线接入网络的系统识别码在 黑名单中,说明第二无线接入网络的网络状态不好,通过第二无线接入网络无法快速、正确地连接到定位服务器。When the type of the second radio access network connected by the mobile terminal is a preset type of the wireless packet switching network, the system identifier of the first radio access network may be obtained by using a system broadcast message of the first radio access network, or The location allocation message of the high speed packet data, the 3G1X parameter or the sector identification information acquires the system identification code of the first radio access network. The system identification code of the first radio access network is In the blacklist, the network status of the second radio access network is not good, and the second radio access network cannot quickly and correctly connect to the positioning server.
由于第二无线接入网络本身可能没有系统识别码,而当第二无线接入网络有系统识别码时,第二无线接入网络的系统识别码与第一无线接入网络的系统识别码相同,因此,本实施例通过判断第一无线接入网络的系统识别码是否在第一黑名单中来识别第二无线接入网络的状态。Since the second radio access network itself may not have a system identification code, and when the second radio access network has a system identification code, the system identification code of the second radio access network is the same as the system identification code of the first radio access network. Therefore, in this embodiment, the state of the second radio access network is identified by determining whether the system identification code of the first radio access network is in the first blacklist.
403、选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问定位服务器进行定位;403. Select an ephemeris extended positioning manner to perform positioning, or select to establish a temporary data service by using the first wireless access network to access a positioning server for positioning;
404、通过第二无线接入网络访问定位服务器进行定位。404. Access the positioning server through the second wireless access network for positioning.
本实施例中,当第一无线接入网络的系统识别码在黑名单中时,选择星历扩展定位方式进行定位,或选择通过第一无线接入网络建立临时数据业务以访问定位服务器进行定位,否则通过第二无线接入网络访问定位服务器进行定位。无论移动终端所连接的第一无线接入网络的系统识别码是否在黑名单中,都能采用合适的定位方式实现快速定位。In this embodiment, when the system identification code of the first radio access network is in the blacklist, the ephemeris extended positioning mode is selected for positioning, or the temporary data service is established through the first radio access network to access the positioning server for positioning. Otherwise, the positioning server is accessed through the second wireless access network for positioning. Regardless of whether the system identification code of the first radio access network to which the mobile terminal is connected is in the blacklist, the positioning method can be used to achieve fast positioning.
请参阅图5,本发明移动终端的定位方式另一具体实施例包括:Referring to FIG. 5, another specific embodiment of the positioning manner of the mobile terminal of the present invention includes:
501、当移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取移动终端的电话号码;501. Obtain a phone number of the mobile terminal when the type of the second radio access network connected by the mobile terminal is a preset type of the wireless packet switching network.
502、判断移动终端的电话号码的归属地网络是否在第二黑名单中;若在,则执行步骤503,否则,执行步骤504;502, determining whether the home network of the mobile terminal's phone number is in the second blacklist; if yes, executing step 503, otherwise, performing step 504;
在第二黑名单中的归属地网络通常为连接状态不好的网络。The home network in the second blacklist is usually a network with poor connection status.
移动终端的电话号码的归属地网络识别是通过预制的各城市/地区号段表查询实现的。移动终端的电话号码号码即移动用户号码(Mobile Subscriber International ISDN/PSTN number,MSISDN),其格式为:CC+NDC+SN。其中,CC=国家码(中国为86),NDC=国内目的码,SN=用户号码。中国国内目的码(NDC)包括接入号N1N2N3和归属位置寄存器(Home Location Register,HLR)的识别号H1H2H3H4。接入号用于识别不同运营商的网络或者一个运营商的不同业务网络,比如139、138、133等。HLR识别号表示用户归属城市/地区的HLR。这样就可以基于NDC预先制作一个各城市/地区网络的手机号段表,当需要时,通过查表即可识别移动终端的电话号码的归属地网络。The attribution network identification of the mobile terminal's telephone number is achieved through pre-made city/area number segment table queries. The mobile subscriber's telephone number (Mobile Subscriber International ISDN/PSTN number, MSISDN) has the format: CC+NDC+SN. Among them, CC = country code (China is 86), NDC = domestic destination code, SN = user number. The China Domestic Destination Code (NDC) includes the access number N1N2N3 and the identification number H1H2H3H4 of the Home Location Register (HLR). The access number is used to identify different operators' networks or different operators' different service networks, such as 139, 138, and 133. The HLR identification number indicates the HLR of the user's home city/region. In this way, a mobile phone number segment table of each city/region network can be pre-made based on the NDC, and when needed, the home network of the mobile terminal's telephone number can be identified by looking up the table.
503、选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网 络建立临时数据业务以访问定位服务器进行定位;503. Select an ephemeris extended positioning manner to perform positioning, or select to pass the first radio access network. Establish a temporary data service to access the positioning server for positioning;
504、通过第二无线接入网络访问定位服务器进行定位。504. Access the positioning server through the second wireless access network for positioning.
需要说明的是,如果在漫游的情况下,归属地网络将是与第一无线接入网络和第二无线接入网络均不同的一个网络,但是通过第二无线接入网络访问定位服务器进行定位需要依赖该归属地网络,因此在归属地网络不好的时候,直接影响通过第二无线接入网络访问定位服务器进行定位的定位时间。而在非漫游的情况下,归属地网络与第二无线接入网络指的是同一个网络。It should be noted that, in the case of roaming, the home network will be a network different from the first radio access network and the second radio access network, but the second radio access network accesses the positioning server for positioning. The home network needs to be relied on, so when the home network is not good, the positioning time for accessing the positioning server through the second wireless access network is directly affected. In the case of non-roaming, the home network and the second wireless access network refer to the same network.
本实施例中,当移动终端的电话号码的归属地网络在第二黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问定位服务器进行定位,否则通过第二无线接入网络访问定位服务器进行定位,使得无论归属地网络如何,都可以采用合适的定位方式实现快速定位。In this embodiment, when the home network of the phone number of the mobile terminal is in the second blacklist, the ephemeris extended positioning mode is selected for positioning, or the temporary data service is established through the first wireless access network to access the positioning. The server performs positioning. Otherwise, the positioning server is accessed through the second radio access network to perform positioning, so that the positioning method can be used to achieve fast positioning regardless of the home network.
下面介绍本发明实施例提供的移动终端,本发明实施例提供的移动终端同时连接到第一无线接入网络和第二无线接入网络,移动终端通过第一无线接入网络获取电路交换语音业务,移动终端通过第二无线接入网络获取分组交换数据业务。请参阅图6,移动终端600一个实施例包括:The mobile terminal provided by the embodiment of the present invention is described below. The mobile terminal provided by the embodiment of the present invention is simultaneously connected to the first radio access network and the second radio access network, and the mobile terminal acquires the circuit-switched voice service through the first radio access network. The mobile terminal acquires a packet switched data service through the second radio access network. Referring to FIG. 6, an embodiment of the mobile terminal 600 includes:
确定单元601,用于确定移动终端600所处的网络场景,网络场景包括移动终端600所连接的第二无线接入网络的类型,移动终端600通过第二无线接入网络连接定位服务器的连接状态,移动终端600所连接的第一无线接入网络的系统识别码的状态和移动终端600的电话号码的归属地网络的状态中的至少之一,定位服务器包括辅助全球导航卫星系统AGNSS定位服务器或辅助全球定位系统AGPS定位服务器;The determining unit 601 is configured to determine a network scenario where the mobile terminal 600 is located, where the network scenario includes a type of the second wireless access network to which the mobile terminal 600 is connected, and the mobile terminal 600 connects to the connection state of the positioning server by using the second wireless access network. At least one of a state of a system identification code of a first wireless access network to which the mobile terminal 600 is connected and a state of a home network of a telephone number of the mobile terminal 600, the positioning server includes an auxiliary global navigation satellite system AGNSS positioning server or Auxiliary Global Positioning System AGPS positioning server;
处理单元602,用于根据移动终端600所处的网络场景选择移动终端600的定位方式。The processing unit 602 is configured to select a positioning manner of the mobile terminal 600 according to the network scenario in which the mobile terminal 600 is located.
本实施例中,确定单元会先确定移动终端所处的网络场景,处理单元根据移动终端所处的网络场景选择移动终端的定位方式。即本实施例中,当需要定位时,并非按照现有技术那样直接使用默认的定位方式进行定位,而是由处理单元根据移动终端所处的网络场景为移动终端选择不同的定位方式,从而使得移动终端无论处在何种场景下,都能采用比较合适的定位方式实现快速定位。In this embodiment, the determining unit first determines the network scenario in which the mobile terminal is located, and the processing unit selects the positioning mode of the mobile terminal according to the network scenario in which the mobile terminal is located. That is, in the embodiment, when positioning is required, the positioning is not directly used in the default positioning manner according to the prior art, but the processing unit selects different positioning modes for the mobile terminal according to the network scenario in which the mobile terminal is located, thereby No matter what kind of scene the mobile terminal is in, it can adopt a more suitable positioning method to achieve fast positioning.
下面请参阅图7,本发明移动终端的一个具体实施例包括确定单元701及 处理单元702,其中:Referring to FIG. 7, a specific embodiment of the mobile terminal of the present invention includes a determining unit 701 and Processing unit 702, wherein:
确定单元701包括第一确定子单元7011,用于确定移动终端700连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;对应地,处理单元702包括第一处理子单元7021,用于当移动终端700连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,通过第二无线接入网络访问定位服务器进行定位,且将移动终端700通过第二无线接入网络访问定位服务器的超时时间设置为第二时间,否则,移动终端700通过第二无线接入网络访问定位服务器的超时时间为第一时间,第二时间小于第一时间。The determining unit 701 includes a first determining subunit 7011 for determining whether the type of the second radio access network to which the mobile terminal 700 is connected is a preset wireless packet switching network type; correspondingly, the processing unit 702 includes the first processing subunit 7021. When the type of the second radio access network connected to the mobile terminal 700 is a preset type of the wireless packet switching network, accessing the positioning server by using the second radio access network to perform positioning, and using the mobile terminal 700 to pass the second The timeout period of the wireless access network accessing the location server is set to the second time. Otherwise, the timeout time for the mobile terminal 700 to access the location server through the second wireless access network is the first time, and the second time is less than the first time.
当第二无线接入网络的类型为预设的无线分组交换网络类型时,由于此时的第二无线接入网络具有传输数据速率快的特点,因此第一处理子单元7021选择通过第二接入网络访问定位服务器进行定位。这种情况下,如果移动终端可以正确连接到定位服务器,那么移动终端将可以快速实现定位,另外由于此时的第二无线接入网络有一定概率无法连接到定位服务器,所以第一处理子单元7021还将访问定位服务器的超时时间设置的较小,如果移动终端不能通过第二无线接入网络访问定位服务器完成定位,那么由于超时时间设置的比较小,移动终端在超时之后可以快速回退到其他定位方式(例如星历扩展定位方式)进行定位,从而实现快速定位。When the type of the second radio access network is a preset type of the wireless packet switching network, the first radio sub-network 7021 selects to pass the second connection because the second radio access network has a fast transmission data rate. Go to the network access location server for positioning. In this case, if the mobile terminal can be correctly connected to the positioning server, the mobile terminal can quickly achieve positioning, and since the second wireless access network at this time has a certain probability of being unable to connect to the positioning server, the first processing subunit 7021 also sets the timeout time of the access positioning server to be small. If the mobile terminal cannot access the positioning server through the second wireless access network to complete the positioning, the mobile terminal can quickly fall back after the timeout due to the relatively small timeout setting. Other positioning methods (such as ephemeris extended positioning) are positioned to achieve fast positioning.
或者,确定单元701包括第二确定子单元7012及设置单元7013,第二确定子单元7012用于当移动终端700连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,确定移动终端700通过第二无线接入网络是否能够连接到定位服务器,设置单元7013用于当移动终端700通过第二无线接入网络无法连接到定位服务器时,设置定位服务器连接状态为异常,否则,设置定位服务器连接状态为正常;对应地,处理单元702包括第二处理子单元7022,用于当定位服务器连接状态为异常时,选择星历扩展定位方式进行定位,或者选择通过所述第一无线接入网络建立临时数据业务以访问定位服务器进行定位;当定位服务器连接状态为正常时,通过第二无线接入网络访问定位服务器进行定位。另外,确定单元701还可以包括第一获取单元7014,用于获取第二无线接入网络为移动终端分配的新的IP地址,第二确定子单元7012再次确定移动终端700通过第二无线接入网络是否能够连接到定位服务器,设置单元 7013用于当移动终端700通过第二无线接入网络无法连接到定位服务器时,设置定位服务器连接状态为异常,否则,设置定位服务器连接状态为正常。Alternatively, the determining unit 701 includes a second determining subunit 7012 and a setting unit 7013, where the second determining subunit 7012 is configured to: when the type of the second radio access network connected by the mobile terminal 700 is a preset type of the wireless packet switching network, Determining whether the mobile terminal 700 can connect to the positioning server through the second wireless access network, and the setting unit 7013 is configured to set the positioning status of the positioning server to be abnormal when the mobile terminal 700 cannot connect to the positioning server through the second wireless access network, otherwise Correspondingly, the processing unit 702 includes a second processing sub-unit 7022, configured to select an ephemeris extended positioning mode for positioning when the positioning server connection status is abnormal, or select the first The wireless access network establishes a temporary data service to access the positioning server for positioning. When the connection server is in a normal state, the second wireless access network accesses the positioning server for positioning. In addition, the determining unit 701 may further include a first obtaining unit 7014, configured to acquire a new IP address allocated by the second radio access network for the mobile terminal, and the second determining subunit 7012 determines that the mobile terminal 700 passes the second radio access again. Whether the network can connect to the location server, set the unit The 7013 is configured to: when the mobile terminal 700 cannot connect to the positioning server by using the second wireless access network, set the connection status of the positioning server to be abnormal, otherwise, set the connection status of the positioning server to be normal.
具体实现中,当移动终端连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,第二确定子单元7012可以先在后台尝试连接定位服务器预设次数,如果在预设次数内都连接不上服务器,则设置单元7013设置定位服务器连接状态为异常,否则,设置单元7013设置定位服务器连接状态正常。In a specific implementation, when the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network, the second determining subunit 7012 may first try to connect to the positioning server in the background for a preset number of times, if the preset is in the preset If the number of times is not connected to the server, the setting unit 7013 sets the connection status of the positioning server to be abnormal. Otherwise, the setting unit 7013 sets the connection status of the positioning server to be normal.
通常,在移动终端初始连接上第二无线接入网络时,第二无线接入网络会分配给移动终端一个网际协议(Internet Protocol,IP)地址。当移动终端发生移动,第二无线接入网络可能会分配给移动终端一个新的IP地址,第一获取单元7014获取第二无线接入网络分配的新的IP地址,第二确定子单元7012再次确定移动终端通过第二无线接入网络是否能够连接到定位服务器,若移动终端通过第二无线接入网络无法连接到定位服务器,则设置单元7013设置定位服务器连接状态为异常,否则,设置单元7013设置定位服务器连接状态为正常,后续的第二处理子单元7022的处理过程可参阅前面对应的描述。Generally, when the mobile terminal initially connects to the second radio access network, the second radio access network allocates an Internet Protocol (IP) address to the mobile terminal. When the mobile terminal moves, the second radio access network may assign a new IP address to the mobile terminal, the first obtaining unit 7014 acquires a new IP address allocated by the second radio access network, and the second determining subunit 7012 again. Determining whether the mobile terminal can connect to the positioning server through the second wireless access network. If the mobile terminal cannot connect to the positioning server through the second wireless access network, the setting unit 7013 sets the connection status of the positioning server to be abnormal. Otherwise, the setting unit 7013 The positioning server connection state is set to normal, and the processing of the subsequent second processing sub-unit 7022 can refer to the corresponding description in the foregoing.
或者,确定单元701包括第二获取单元7015及第一判断单元7016,第二获取单元7015用于当移动终端700连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,获取移动终端700连接的第一无线接入网络的系统识别码;第一判断单元7016用于判断第一无线接入网络的系统识别码是否在第一黑名单中;对应地,处理单元702包括第三处理子单元7023,用于当第一无线接入网络的系统识别码在第一黑名单中时,选择星历扩展定位方式进行定位,或选择通过第一无线接入网络建立临时数据业务以访问定位服务器进行定位;当第一无线接入网络的系统识别码不在第一黑名单中时,通过第二无线接入网络访问定位服务器进行定位。Alternatively, the determining unit 701 includes a second obtaining unit 7015 and a first determining unit 7016, where the second obtaining unit 7015 is configured to: when the type of the second radio access network connected by the mobile terminal 700 is a preset type of the wireless packet switching network, Obtaining a system identifier of the first radio access network connected to the mobile terminal 700; the first determining unit 7016 is configured to determine whether the system identifier of the first radio access network is in the first blacklist; correspondingly, the processing unit 702 includes The third processing sub-unit 7023 is configured to: when the system identifier of the first radio access network is in the first blacklist, select an ephemeris extended positioning manner for positioning, or select to establish a temporary data service by using the first radio access network. When the system identifier of the first radio access network is not in the first blacklist, the second radio access network accesses the location server for positioning.
具体实现中,可根据用户投诉,网络侧的反馈或预先进行的测试实验制作第一黑名单,第一黑名单中包括网络状态不好的无线接入网络的系统识别码。In the specific implementation, the first blacklist may be created according to user complaints, network side feedback or pre-tested experiments. The first blacklist includes the system identification code of the wireless access network with poor network status.
当移动终端连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,第二获取单元7015可以通过第一无线接入网络的系统广播消息获取第一无线接入网络的系统识别码,或者通过高速分组数据的位置分配消息、3G1X参数或扇区标识信息获取第一无线接入网络的系统识别码。第一无线接入网络的系统识别码在黑名单中,说明第二无线接入网络的网络状态不好,通 过第二无线接入网络无法快速、正确地连接到定位服务器。When the type of the second radio access network connected by the mobile terminal is a preset type of the wireless packet switching network, the second acquiring unit 7015 may acquire the system of the first radio access network by using the system broadcast message of the first radio access network. The identification code, or the system identification code of the first radio access network is obtained by the location allocation message of the high speed packet data, the 3G1X parameter or the sector identification information. The system identifier of the first radio access network is in the blacklist, indicating that the network status of the second radio access network is not good. The second wireless access network cannot connect to the location server quickly and correctly.
由于第二无线接入网络本身可能没有系统识别码,而当第二无线接入网络有系统识别码时,第二无线接入网络的系统识别码与第一无线接入网络的系统识别码相同,因此,本实施例通过判断第一无线接入网络的系统识别码是否在第一黑名单中来识别第二无线接入网络的状态。Since the second radio access network itself may not have a system identification code, and when the second radio access network has a system identification code, the system identification code of the second radio access network is the same as the system identification code of the first radio access network. Therefore, in this embodiment, the state of the second radio access network is identified by determining whether the system identification code of the first radio access network is in the first blacklist.
或者,确定单元701包括第三获取单元7017及第二判断单元7018,第三获取单元7017用于当移动终端700连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,获取移动终端700的电话号码,第二判断单元7018用于判断所述电话号码的归属地网络是否在第二黑名单中;对应地,处理单元702包括第四处理子单元7024,用于当所述电话号码的归属地网络在第二黑名单中时,选择星历扩展定位方式进行定位,或选择通过第一无线接入网络建立临时数据业务以访问定位服务器进行定位;当所述电话号码的归属地网络不在第二黑名单中时,通过第二无线接入网络访问定位服务器进行定位。Alternatively, the determining unit 701 includes a third obtaining unit 7017 and a second determining unit 7018, where the third obtaining unit 7017 is configured to: when the type of the second radio access network connected by the mobile terminal 700 is a preset type of the wireless packet switching network, Acquiring the phone number of the mobile terminal 700, the second determining unit 7018 is configured to determine whether the home network of the phone number is in the second blacklist; correspondingly, the processing unit 702 includes a fourth processing subunit 7024, When the home network of the phone number is in the second blacklist, the ephemeris extended positioning mode is selected for positioning, or the temporary data service is established through the first wireless access network to access the positioning server for positioning; when the phone number is When the home network is not in the second blacklist, the second wireless access network accesses the positioning server for positioning.
在第二黑名单中的归属地网络通常为连接状态不好的网络。The home network in the second blacklist is usually a network with poor connection status.
移动终端的电话号码的归属地网络识别是通过预制的各城市/地区号段表查询实现的。移动终端的电话号码号码即移动用户号码(Mobile Subscriber International ISDN/PSTN number,MSISDN),其格式为:CC+NDC+SN。其中,CC=国家码(中国为86),NDC=国内目的码,SN=用户号码。中国国内目的码(NDC)包括接入号N1N2N3和归属位置寄存器(Home Location Register,HLR)的识别号H1H2H3H4。接入号用于识别不同运营商的网络或者一个运营商的不同业务网络,比如139、138、133等。HLR识别号表示用户归属城市/地区的HLR。这样就可以基于NDC预先制作一个各城市/地区网络的手机号段表,当需要时,第三获取单元7017可以通过查表即可识别移动终端的电话号码的归属地网络。The attribution network identification of the mobile terminal's telephone number is achieved through pre-made city/area number segment table queries. The mobile subscriber's telephone number (Mobile Subscriber International ISDN/PSTN number, MSISDN) has the format: CC+NDC+SN. Among them, CC = country code (China is 86), NDC = domestic destination code, SN = user number. The China Domestic Destination Code (NDC) includes the access number N1N2N3 and the identification number H1H2H3H4 of the Home Location Register (HLR). The access number is used to identify different operators' networks or different operators' different service networks, such as 139, 138, and 133. The HLR identification number indicates the HLR of the user's home city/region. In this way, a mobile phone number segment table of each city/region network can be pre-made based on the NDC, and when needed, the third obtaining unit 7017 can identify the home network of the mobile terminal's telephone number by looking up the table.
需要说明的是,如果在漫游的情况下,归属地网络将是与第一无线接入网络和第二无线接入网络均不同的一个网络,但是通过第二无线接入网络访问定位服务器进行定位需要依赖该归属地网络,因此在归属地网络不好的时候,直接影响通过第二无线接入网络访问定位服务器进行定位的定位时间。而在非漫游的情况下,归属地网络与第二无线接入网络指的是同一个网络。It should be noted that, in the case of roaming, the home network will be a network different from the first radio access network and the second radio access network, but the second radio access network accesses the positioning server for positioning. The home network needs to be relied on, so when the home network is not good, the positioning time for accessing the positioning server through the second wireless access network is directly affected. In the case of non-roaming, the home network and the second wireless access network refer to the same network.
另外,本实施例的移动终端700还可以用于实施前述方法实施例中的其他 步骤,具体此处不再赘述,可参阅对应的方法实施例。In addition, the mobile terminal 700 of this embodiment may also be used to implement other The steps are not described here, and the corresponding method embodiments may be referred to.
请参阅图8,本实施例的移动终端800包括处理器801和存储器802,其中存储器802用于存储一组程序指令,处理器801用于调用存储器802中存储的程序指令,执行如下操作:Referring to FIG. 8, the mobile terminal 800 of this embodiment includes a processor 801 for storing a set of program instructions, and a memory 802 for calling a program instruction stored in the memory 802 to perform the following operations:
确定移动终端800所处的网络场景,网络场景包括移动终端800所连接的第二无线接入网络的类型,移动终端800通过第二无线接入网络连接定位服务器的连接状态,移动终端800所连接的第一无线接入网络的系统识别码的状态和移动终端800的电话号码的归属地网络的状态中的至少之一,定位服务器包括辅助全球导航卫星系统AGNSS定位服务器或辅助全球定位系统AGPS定位服务器;The network scenario in which the mobile terminal 800 is located is determined. The network scenario includes a type of the second wireless access network to which the mobile terminal 800 is connected, and the mobile terminal 800 connects to the connection state of the location server through the second wireless access network, and the mobile terminal 800 is connected. At least one of the state of the system identification code of the first wireless access network and the state of the home network of the telephone number of the mobile terminal 800, the positioning server includes an auxiliary global navigation satellite system AGNSS positioning server or auxiliary global positioning system AGPS positioning server;
根据移动终端800所处的网络场景选择所述移动终端的定位方式。The positioning manner of the mobile terminal is selected according to a network scenario in which the mobile terminal 800 is located.
可选地,处理器801确定移动终端所处的网络场景包括:Optionally, the determining, by the processor 801, the network scenario where the mobile terminal is located includes:
处理器801确定移动终端连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;The processor 801 determines whether the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network;
处理器801根据移动终端800所处的网络场景选择所述移动终端的定位方式包括:The method for the processor 801 to select the location of the mobile terminal according to the network scenario in which the mobile terminal 800 is located includes:
若移动终端800连接的第二无线接入网络的类型为预设的无线分组交换网络类型,则处理器801通过第二无线接入网络访问定位服务器进行定位,且将通过第二无线接入网络访问定位服务器的超时时间设置为第二时间,否则,处理器801通过第二无线接入网络访问定位服务器的超时时间为第一时间,第二时间小于第一时间。If the type of the second radio access network connected to the mobile terminal 800 is a preset type of the wireless packet switching network, the processor 801 accesses the positioning server through the second radio access network for positioning, and will pass the second radio access network. The timeout period of the access location server is set to the second time. Otherwise, the timeout period of the processor 801 accessing the location server through the second radio access network is the first time, and the second time is less than the first time.
可选地,处理器801确定移动终端800所处的网络场景包括:Optionally, the determining, by the processor 801, the network scenario where the mobile terminal 800 is located includes:
当移动终端800连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,处理器801确定移动终端800通过第二无线接入网络是否能够连接到定位服务器;When the type of the second radio access network connected by the mobile terminal 800 is a preset type of the wireless packet switching network, the processor 801 determines whether the mobile terminal 800 can connect to the positioning server through the second radio access network;
若移动终端800通过第二无线接入网络无法连接到定位服务器,则处理器801设置定位服务器连接状态为异常,否则,处理器801设置定位服务器连接状态为正常;If the mobile terminal 800 cannot connect to the positioning server through the second wireless access network, the processor 801 sets the connection server connection status to be abnormal, otherwise, the processor 801 sets the positioning server connection status to be normal;
处理器801根据移动终端800所处的网络场景选择移动终端800的定位方式包括: The manner in which the processor 801 selects the location of the mobile terminal 800 according to the network scenario in which the mobile terminal 800 is located includes:
当定位服务器连接状态为异常时,处理器801选择星历扩展定位方式进行定位,或者选择通过第一无线接入网络建立临时数据业务以访问定位服务器进行定位;When the connection status of the positioning server is abnormal, the processor 801 selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access the positioning server for positioning;
当定位服务器连接状态为正常时,处理器801通过第二无线接入网络访问定位服务器进行定位。When the location of the connection server is normal, the processor 801 accesses the location server through the second wireless access network for positioning.
可选地,处理器801确定移动终端800所处的网络场景之后,还用于,Optionally, after determining, by the processor 801, the network scenario where the mobile terminal 800 is located, the processor 801 is further configured to:
获取第二无线接入网络为移动终端800分配的新的IP地址;Obtaining a new IP address allocated by the second radio access network to the mobile terminal 800;
再次确定移动终端800通过第二无线接入网络是否能够连接到定位服务器;Re-determining whether the mobile terminal 800 can connect to the positioning server through the second wireless access network;
若移动终端800通过第二无线接入网络无法连接到定位服务器,则设置定位服务器连接状态为异常,否则,设置定位服务器连接状态为正常。If the mobile terminal 800 cannot connect to the positioning server through the second wireless access network, the connection status of the positioning server is set to be abnormal, otherwise, the connection status of the positioning server is set to be normal.
可选地,处理器801确定移动终端800所处的网络场景包括:Optionally, the determining, by the processor 801, the network scenario where the mobile terminal 800 is located includes:
当移动终端连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,处理器801获取移动终端800连接的第一无线接入网络的系统识别码;When the type of the second radio access network connected by the mobile terminal is a preset type of the wireless packet switching network, the processor 801 acquires a system identifier of the first radio access network connected to the mobile terminal 800;
处理器801判断第一无线接入网络的系统识别码是否在第一黑名单中;The processor 801 determines whether the system identifier of the first radio access network is in the first blacklist.
处理器801根据移动终端800所处的网络场景选择移动终端800的定位方式包括:The manner in which the processor 801 selects the location of the mobile terminal 800 according to the network scenario in which the mobile terminal 800 is located includes:
当第一无线接入网络的系统识别码在所述第一黑名单中时,处理器801选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问定位服务器进行定位;When the system identifier of the first radio access network is in the first blacklist, the processor 801 selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first radio access network to access Position the server for positioning;
当第一无线接入网络的系统识别码不在第一黑名单中时,处理器801通过第二无线接入网络访问定位服务器进行定位。When the system identifier of the first radio access network is not in the first blacklist, the processor 801 accesses the location server through the second radio access network for positioning.
可选地,处理器801确定移动终端800所处的网络场景包括:Optionally, the determining, by the processor 801, the network scenario where the mobile terminal 800 is located includes:
当移动终端800连接的第二无线接入网络的类型为预设的无线分组交换网络类型时,处理器801获取移动终端800的电话号码;When the type of the second radio access network connected to the mobile terminal 800 is a preset type of the wireless packet switching network, the processor 801 acquires the phone number of the mobile terminal 800;
处理器801判断所述电话号码的归属地网络是否在第二黑名单中;The processor 801 determines whether the home network of the phone number is in the second blacklist;
处理器801根据移动终端800所处的网络场景选择移动终端800的定位方式包括:The manner in which the processor 801 selects the location of the mobile terminal 800 according to the network scenario in which the mobile terminal 800 is located includes:
当所述电话号码的归属地网络在第二黑名单中时,处理器801选择星历扩展定位方式进行定位,或选择通过第一无线接入网络建立临时数据业务以访问 定位服务器进行定位;When the home network of the phone number is in the second blacklist, the processor 801 selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access Position the server for positioning;
当所述电话号码的归属地网络不在第二黑名单中时,处理器801通过第二无线接入网络访问定位服务器进行定位。When the home network of the phone number is not in the second blacklist, the processor 801 accesses the location server through the second wireless access network for positioning.
本实施例中,移动终端定位时处理器会先确定移动终端所处的网络场景,根据移动终端所处的网络场景选择移动终端的定位方式。即本发明实施例中,当需要定位时,并非按照现有技术那样直接使用默认的定位方式进行定位,而是由处理器根据移动终端所处的网络场景为移动终端选择不同的定位方式,从而使得移动终端无论处在何种场景下,都能采用比较合适的定位方式实现快速定位。In this embodiment, when the mobile terminal is located, the processor first determines the network scenario in which the mobile terminal is located, and selects the location mode of the mobile terminal according to the network scenario in which the mobile terminal is located. In the embodiment of the present invention, when positioning is required, the positioning is not directly performed by using the default positioning manner as in the prior art, but the processor selects different positioning modes for the mobile terminal according to the network scenario in which the mobile terminal is located, thereby The mobile terminal can use the more suitable positioning mode to achieve fast positioning regardless of the scene.
需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本发明提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical. Units can be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and specifically, one or more communication buses or signal lines can be realized. Those of ordinary skill in the art can understand and implement without any creative effort.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本发明而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, dedicated hardware, dedicated CPU, dedicated memory, dedicated memory, Special components and so on. In general, functions performed by computer programs can be easily implemented with the corresponding hardware, and the specific hardware structure used to implement the same function can be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc. However, for the purposes of the present invention, software program implementation is a better implementation in more cases. Based on the understanding, the technical solution of the present invention, which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. , U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., including a number of instructions to make a computer device (may be A personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
以上对本发明实施例所提供的一种移动终端的定位方法及移动终端进行 了详细介绍,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,因此,本说明书内容不应理解为对本发明的限制。 The method for locating a mobile terminal and the mobile terminal provided by the embodiment of the present invention are The details of the present invention are not limited by the scope of the present invention, and the scope of the present invention is not limited by the scope of the present invention.

Claims (18)

  1. 一种移动终端的定位方法,其特征在于,所述移动终端同时连接到第一无线接入网络和第二无线接入网络,所述移动终端通过所述第一无线接入网络获取电路交换语音业务,所述移动终端通过所述第二无线接入网络获取分组交换数据业务,所述方法包括:A method for locating a mobile terminal, wherein the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, and the mobile terminal acquires circuit-switched voice through the first radio access network The mobile terminal acquires a packet-switched data service by using the second radio access network, where the method includes:
    确定所述移动终端所处的网络场景,所述网络场景包括所述移动终端所连接的第二无线接入网络的类型,所述移动终端通过所述第二无线接入网络连接定位服务器的连接状态,所述移动终端所连接的第一无线接入网络的系统识别码的状态和所述移动终端的电话号码的归属地网络的状态中的至少之一,所述定位服务器包括辅助全球导航卫星系统AGNSS定位服务器或辅助全球定位系统AGPS定位服务器;Determining a network scenario in which the mobile terminal is located, the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal connects to a location server by using the second wireless access network a state, at least one of a state of a system identification code of a first radio access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server including an auxiliary global navigation satellite System AGNSS location server or auxiliary global positioning system AGPS location server;
    根据所述移动终端所处的网络场景选择所述移动终端的定位方式。Selecting a positioning manner of the mobile terminal according to a network scenario in which the mobile terminal is located.
  2. 如权利要求1所述的方法,其特征在于,所述确定移动终端所处的网络场景包括:The method of claim 1, wherein the determining a network scenario in which the mobile terminal is located comprises:
    确定所述移动终端连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;Determining whether a type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
    所述根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
    若所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型,则通过所述第二无线接入网络访问所述定位服务器进行定位,且将所述移动终端通过所述第二无线接入网络访问所述定位服务器的超时时间设置为第二时间,否则,所述移动终端通过所述第二无线接入网络访问所述定位服务器的超时时间为第一时间,所述第二时间小于所述第一时间。If the type of the second radio access network connected to the mobile terminal is a preset type of the wireless packet switching network, accessing the positioning server by using the second radio access network to perform positioning, and moving the mobile terminal The timeout period of the terminal accessing the positioning server by using the second radio access network is set to a second time. Otherwise, the timeout time of the mobile terminal accessing the positioning server by using the second radio access network is first. Time, the second time is less than the first time.
  3. 如权利要求1所述的方法,其特征在于,所述确定移动终端所处的网络场景包括:The method of claim 1, wherein the determining a network scenario in which the mobile terminal is located comprises:
    当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;Determining, by the mobile terminal, whether the type of the second radio access network connected to the mobile terminal is a preset wireless packet switching network type, whether the mobile terminal is able to connect to the positioning server by using the second radio access network ;
    若所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器, 则设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常;If the mobile terminal cannot connect to the positioning server through the second wireless access network, Setting the connection status of the positioning server to be abnormal, otherwise, setting the connection status of the positioning server to be normal;
    所述根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
    当所述定位服务器连接状态为异常时,选择星历扩展定位方式进行定位,或者选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the connection status of the positioning server is abnormal, the ephemeris extended positioning mode is selected for positioning, or the temporary data service is established through the first wireless access network to access the positioning server for positioning;
    当所述定位服务器连接状态为正常时,通过所述第二无线接入网络访问所述定位服务器进行定位。When the connection server is in a normal state, the positioning server is accessed by the second wireless access network to perform positioning.
  4. 如权利要求3所述的方法,其特征在于,所述确定移动终端所处的网络场景之后,还包括:The method of claim 3, after the determining the network scenario in which the mobile terminal is located, the method further comprising:
    获取所述第二无线接入网络为所述移动终端分配的新的IP地址;Obtaining a new IP address allocated by the second radio access network to the mobile terminal;
    再次确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;Determining again whether the mobile terminal is able to connect to the positioning server through the second wireless access network;
    若所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器,则设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常。If the mobile terminal cannot connect to the positioning server through the second wireless access network, set the connection status of the positioning server to be abnormal, otherwise, set the connection status of the positioning server to be normal.
  5. 如权利要求1所述的方法,其特征在于,所述确定移动终端所处的网络场景包括:The method of claim 1, wherein the determining a network scenario in which the mobile terminal is located comprises:
    当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取所述移动终端连接的第一无线接入网络的系统识别码;And acquiring, when the type of the second radio access network that is connected to the mobile terminal is a preset type of the wireless packet switching network, acquiring a system identifier of the first radio access network that is connected by the mobile terminal;
    判断所述第一无线接入网络的系统识别码是否在第一黑名单中;Determining whether the system identifier of the first radio access network is in the first blacklist;
    所述根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
    当所述第一无线接入网络的系统识别码在所述第一黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;And when the system identifier of the first radio access network is in the first blacklist, selecting an ephemeris extended positioning manner for positioning, or selecting to establish a temporary data service by using the first radio access network to access the Positioning the server for positioning;
    当所述第一无线接入网络的系统识别码不在所述第一黑名单中时,通过所述第二无线接入网络访问所述定位服务器进行定位。And when the system identifier of the first radio access network is not in the first blacklist, accessing the positioning server by using the second radio access network to perform positioning.
  6. 如权利要求1所述的方法,其特征在于,所述所述确定移动终端所处 的网络场景包括:The method of claim 1 wherein said determining said mobile terminal is located Network scenarios include:
    当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取所述移动终端的电话号码;Obtaining a phone number of the mobile terminal when the type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
    判断所述电话号码的归属地网络是否在第二黑名单中;Determining whether the home network of the phone number is in the second blacklist;
    所述根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting the location manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
    当所述电话号码的归属地网络在所述第二黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the home network of the phone number is in the second blacklist, select an ephemeris extended positioning mode for positioning, or select to establish a temporary data service by using the first wireless access network to access the positioning server. Positioning
    当所述电话号码的归属地网络不在所述第二黑名单中时,通过所述第二无线接入网络访问所述定位服务器进行定位。When the home network of the phone number is not in the second blacklist, the positioning server is accessed by the second wireless access network to perform positioning.
  7. 一种移动终端,其特征在于,所述移动终端同时连接到第一无线接入网络和第二无线接入网络,所述移动终端通过所述第一无线接入网络获取电路交换语音业务,所述移动终端通过所述第二无线接入网络获取分组交换数据业务,所述移动终端包括:A mobile terminal, wherein the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, where the mobile terminal acquires a circuit-switched voice service through the first radio access network. The mobile terminal acquires a packet-switched data service by using the second radio access network, where the mobile terminal includes:
    确定单元,用于确定所述移动终端所处的网络场景,所述网络场景包括所述移动终端所连接的第二无线接入网络的类型,所述移动终端通过所述第二无线接入网络连接定位服务器的连接状态,所述移动终端所连接的第一无线接入网络的系统识别码的状态和所述移动终端的电话号码的归属地网络的状态中的至少之一,所述定位服务器包括辅助全球导航卫星系统AGNSS定位服务器或辅助全球定位系统AGPS定位服务器;a determining unit, configured to determine a network scenario where the mobile terminal is located, where the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal passes the second wireless access network Connecting the connection state of the positioning server, at least one of a state of a system identification code of the first wireless access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server Including the assisted global navigation satellite system AGNSS positioning server or the auxiliary global positioning system AGPS positioning server;
    处理单元,用于根据所述移动终端所处的网络场景选择所述移动终端的定位方式。And a processing unit, configured to select a positioning manner of the mobile terminal according to a network scenario in which the mobile terminal is located.
  8. 如权利要求7所述的移动终端,其特征在于,所述确定单元包括:The mobile terminal of claim 7, wherein the determining unit comprises:
    第一确定子单元,用于确定所述移动终端连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;a first determining subunit, configured to determine whether a type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
    所述处理单元包括:The processing unit includes:
    第一处理子单元,用于当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,通过所述第二无线接入网络访问所述定位服务器进行定位,且将所述移动终端通过所述第二无线接入网络访问所述定 位服务器的超时时间设置为第二时间,否则,所述移动终端通过所述第二无线接入网络访问所述定位服务器的超时时间为第一时间,所述第二时间小于所述第一时间。a first processing subunit, configured to access the positioning server by using the second radio access network when the type of the second radio access network connected by the mobile terminal is a preset type of a wireless packet switching network Performing positioning, and accessing the mobile terminal by using the second wireless access network The timeout period of the bit server is set to the second time. Otherwise, the timeout period of the mobile terminal accessing the positioning server by using the second radio access network is the first time, and the second time is less than the first time. .
  9. 如权利要求7所述的移动终端,其特征在于,所述确定单元包括:The mobile terminal of claim 7, wherein the determining unit comprises:
    第二确定子单元,用于当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;a second determining subunit, configured to determine, when the type of the second radio access network connected by the mobile terminal is a preset wireless packet switching network type, by using the second radio access network Whether it is possible to connect to the positioning server;
    设置单元,用于当所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器时,设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常;a setting unit, configured to: when the mobile terminal is unable to connect to the positioning server by using the second wireless access network, setting a connection state of the positioning server to be abnormal; otherwise, setting a connection state of the positioning server to be normal;
    所述处理单元包括:The processing unit includes:
    第二处理子单元,用于当所述定位服务器连接状态为异常时,选择星历扩展定位方式进行定位,或者选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;当所述定位服务器连接状态为正常时,通过所述第二无线接入网络访问所述定位服务器进行定位。a second processing subunit, configured to: when the connection state of the positioning server is abnormal, select an ephemeris extended positioning manner for positioning, or select to establish a temporary data service by using the first wireless access network to access the positioning server. Positioning; when the connection server connection status is normal, accessing the positioning server through the second wireless access network for positioning.
  10. 如权利要求9所述的移动终端,其特征在于,所述确定单元还包括:The mobile terminal of claim 9, wherein the determining unit further comprises:
    第一获取单元,用于获取所述第二无线接入网络为所述移动终端分配的新的IP地址;a first acquiring unit, configured to acquire a new IP address allocated by the second radio access network to the mobile terminal;
    所述第二确定子单元还用于,再次确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;The second determining subunit is further configured to: determine again, whether the mobile terminal can connect to the positioning server by using the second wireless access network;
    所述设置单元还用于,当所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器时,设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常。The setting unit is further configured to: when the mobile terminal is unable to connect to the positioning server by using the second wireless access network, set the connection state of the positioning server to be abnormal, otherwise, set the connection state of the positioning server. It is normal.
  11. 如权利要求7所述的移动终端,其特征在于,所述确定单元包括:The mobile terminal of claim 7, wherein the determining unit comprises:
    第二获取单元,用于当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取所述移动终端连接的第一无线接入网络的系统识别码;a second acquiring unit, configured to acquire a system of the first wireless access network connected to the mobile terminal when the type of the second wireless access network connected to the mobile terminal is a preset wireless packet switching network type Identifier;
    第一判断单元,用于判断所述第一无线接入网络的系统识别码是否在第一黑名单中;a first determining unit, configured to determine whether the system identifier of the first radio access network is in the first blacklist;
    所述处理单元包括: The processing unit includes:
    第三处理子单元,用于当所述第一无线接入网络的系统识别码在所述第一黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;当所述第一无线接入网络的系统识别码不在所述第一黑名单中时,通过所述第二无线接入网络访问所述定位服务器进行定位。a third processing subunit, configured to: when the system identifier of the first radio access network is in the first blacklist, select an ephemeris extended positioning manner for positioning, or select to use the first radio access The network establishes a temporary data service to access the positioning server for positioning; when the system identifier of the first wireless access network is not in the first blacklist, accessing the positioning by using the second wireless access network The server is positioned.
  12. 如权利要求7所述的移动终端,其特征在于,所述确定单元包括:The mobile terminal of claim 7, wherein the determining unit comprises:
    第三获取单元,用于当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,获取所述移动终端的电话号码;a third acquiring unit, configured to acquire a phone number of the mobile terminal when the type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switching network;
    第二判断单元,用于判断所述电话号码的归属地网络是否在第二黑名单中;a second determining unit, configured to determine whether the home network of the phone number is in the second blacklist;
    所述处理单元包括:The processing unit includes:
    第四处理子单元,用于当所述电话号码的归属地网络在所述第二黑名单中时,选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;当所述电话号码的归属地网络不在所述第二黑名单中时,通过所述第二无线接入网络访问所述定位服务器进行定位。a fourth processing subunit, configured to: when the home network of the phone number is in the second blacklist, select an ephemeris extended positioning mode for positioning, or select to establish temporary data by using the first wireless access network; The service is accessed by accessing the positioning server. When the home network of the phone number is not in the second blacklist, the positioning server is accessed by the second wireless access network to perform positioning.
  13. 一种移动终端,其特征在于,所述移动终端同时连接到第一无线接入网络和第二无线接入网络,所述移动终端通过所述第一无线接入网络获取电路交换语音业务,所述移动终端通过所述第二无线接入网络获取分组交换数据业务,所述移动终端包括处理器和存储器,其中:A mobile terminal, wherein the mobile terminal is simultaneously connected to a first radio access network and a second radio access network, where the mobile terminal acquires a circuit-switched voice service through the first radio access network. The mobile terminal acquires a packet switched data service through the second radio access network, where the mobile terminal includes a processor and a memory, where:
    所述存储器用于存储一组程序指令;The memory is configured to store a set of program instructions;
    所述处理器用于调用所述存储器中存储的程序指令,执行如下操作:The processor is configured to invoke a program instruction stored in the memory, and perform the following operations:
    确定所述移动终端所处的网络场景,所述网络场景包括所述移动终端所连接的第二无线接入网络的类型,所述移动终端通过所述第二无线接入网络连接定位服务器的连接状态,所述移动终端所连接的第一无线接入网络的系统识别码的状态和所述移动终端的电话号码的归属地网络的状态中的至少之一,所述定位服务器包括辅助全球导航卫星系统AGNSS定位服务器或辅助全球定位系统AGPS定位服务器;Determining a network scenario in which the mobile terminal is located, the network scenario includes a type of a second wireless access network to which the mobile terminal is connected, and the mobile terminal connects to a location server by using the second wireless access network a state, at least one of a state of a system identification code of a first radio access network to which the mobile terminal is connected, and a state of a home network of a phone number of the mobile terminal, the positioning server including an auxiliary global navigation satellite System AGNSS location server or auxiliary global positioning system AGPS location server;
    根据所述移动终端所处的网络场景选择所述移动终端的定位方式。Selecting a positioning manner of the mobile terminal according to a network scenario in which the mobile terminal is located.
  14. 如权利要求13所述的移动终端,其特征在于,所述处理器确定移动终端所处的网络场景包括: The mobile terminal according to claim 13, wherein the determining, by the processor, the network scenario in which the mobile terminal is located includes:
    所述处理器确定所述移动终端连接的第二无线接入网络的类型是否为预设的无线分组交换网络类型;Determining, by the processor, whether a type of the second radio access network connected to the mobile terminal is a preset type of a wireless packet switched network;
    所述处理器根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
    若所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型,则所述处理器通过所述第二无线接入网络访问所述定位服务器进行定位,且将通过所述第二无线接入网络访问所述定位服务器的超时时间设置为第二时间,否则,所述处理器通过所述第二无线接入网络访问所述定位服务器的超时时间为第一时间,所述第二时间小于所述第一时间。If the type of the second radio access network that is connected to the mobile terminal is a preset type of the wireless packet switching network, the processor accesses the positioning server by using the second radio access network to perform positioning, and Setting a timeout period for accessing the positioning server by using the second radio access network to a second time. Otherwise, the timeout period of the processor accessing the positioning server by using the second radio access network is first. Time, the second time is less than the first time.
  15. 如权利要求13所述的移动终端,其特征在于,所述处理器确定移动终端所处的网络场景包括:The mobile terminal according to claim 13, wherein the determining, by the processor, the network scenario in which the mobile terminal is located includes:
    当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,所述处理器确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;When the type of the second radio access network connected by the mobile terminal is a preset type of wireless packet switching network, the processor determines whether the mobile terminal can connect to the second radio access network through the second radio access network The positioning server;
    若所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器,则所述处理器设置所述定位服务器连接状态为异常,否则,所述处理器设置所述定位服务器连接状态为正常;If the mobile terminal cannot connect to the positioning server by using the second wireless access network, the processor sets the connection status of the positioning server to be abnormal, otherwise, the processor sets the connection status of the positioning server. Be normal;
    所述处理器根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
    当所述定位服务器连接状态为异常时,所述处理器选择星历扩展定位方式进行定位,或者选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the connection status of the positioning server is abnormal, the processor selects the ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access the positioning server for positioning;
    当所述定位服务器连接状态为正常时,所述处理器通过所述第二无线接入网络访问所述定位服务器进行定位。When the connection status of the positioning server is normal, the processor accesses the positioning server through the second wireless access network for positioning.
  16. 如权利要求15所述的移动终端,其特征在于,所述处理器确定移动终端所处的网络场景之后,还用于,The mobile terminal according to claim 15, wherein after the determining, by the processor, the network scenario in which the mobile terminal is located,
    获取所述第二无线接入网络为所述移动终端分配的新的IP地址;Obtaining a new IP address allocated by the second radio access network to the mobile terminal;
    再次确定所述移动终端通过所述第二无线接入网络是否能够连接到所述定位服务器;Determining again whether the mobile terminal is able to connect to the positioning server through the second wireless access network;
    若所述移动终端通过所述第二无线接入网络无法连接到所述定位服务器, 则设置所述定位服务器连接状态为异常,否则,设置所述定位服务器连接状态为正常。If the mobile terminal cannot connect to the positioning server through the second wireless access network, Then, the connection status of the positioning server is set to be abnormal, otherwise, the connection status of the positioning server is set to be normal.
  17. 如权利要求13所述的移动终端,其特征在于,所述处理器确定移动终端所处的网络场景包括:The mobile terminal according to claim 13, wherein the determining, by the processor, the network scenario in which the mobile terminal is located includes:
    当移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,所述处理器获取所述移动终端连接的第一无线接入网络的系统识别码;When the type of the second radio access network that is connected to the mobile terminal is a preset type of the wireless packet switching network, the processor acquires a system identifier of the first radio access network that is connected to the mobile terminal;
    所述处理器判断所述第一无线接入网络的系统识别码是否在第一黑名单中;The processor determines whether the system identifier of the first radio access network is in the first blacklist;
    所述处理器根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
    当所述第一无线接入网络的系统识别码在所述第一黑名单中时,所述处理器选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the system identifier of the first radio access network is in the first blacklist, the processor selects an ephemeris extended positioning manner for positioning, or selects to establish temporary data by using the first radio access network. The service is accessed by accessing the positioning server;
    当所述第一无线接入网络的系统识别码都不在所述第一黑名单中时,所述处理器通过所述第二无线接入网络访问所述定位服务器进行定位。And when the system identifier of the first radio access network is not in the first blacklist, the processor accesses the positioning server by using the second radio access network to perform positioning.
  18. 如权利要求13所述的移动终端,其特征在于,所述处理器确定移动终端所处的网络场景包括:The mobile terminal according to claim 13, wherein the determining, by the processor, the network scenario in which the mobile terminal is located includes:
    当所述移动终端连接的所述第二无线接入网络的类型为预设的无线分组交换网络类型时,所述处理器获取所述移动终端的电话号码;When the type of the second radio access network connected by the mobile terminal is a preset type of a wireless packet switching network, the processor acquires a phone number of the mobile terminal;
    所述处理器判断所述电话号码的归属地网络是否在第二黑名单中;The processor determines whether the home network of the phone number is in the second blacklist;
    所述处理器根据所述移动终端所处的网络场景选择所述移动终端的定位方式包括:The selecting, by the processor, the positioning manner of the mobile terminal according to the network scenario in which the mobile terminal is located includes:
    当所述电话号码的归属地网络在所述第二黑名单中时,所述处理器选择星历扩展定位方式进行定位,或选择通过所述第一无线接入网络建立临时数据业务以访问所述定位服务器进行定位;When the home network of the phone number is in the second blacklist, the processor selects an ephemeris extended positioning mode for positioning, or selects to establish a temporary data service through the first wireless access network to access the Positioning the server for positioning;
    当所述电话号码的归属地网络不在所述第二黑名单中时,所述处理器通过所述第二无线接入网络访问所述定位服务器进行定位。 When the home network of the phone number is not in the second blacklist, the processor accesses the positioning server to perform positioning by using the second wireless access network.
PCT/CN2014/092689 2014-12-01 2014-12-01 Positioning method for mobile terminal, and mobile terminal WO2016086339A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/092689 WO2016086339A1 (en) 2014-12-01 2014-12-01 Positioning method for mobile terminal, and mobile terminal
CN201480079436.2A CN106465325B (en) 2014-12-01 2014-12-01 Mobile terminal positioning method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/092689 WO2016086339A1 (en) 2014-12-01 2014-12-01 Positioning method for mobile terminal, and mobile terminal

Publications (1)

Publication Number Publication Date
WO2016086339A1 true WO2016086339A1 (en) 2016-06-09

Family

ID=56090793

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092689 WO2016086339A1 (en) 2014-12-01 2014-12-01 Positioning method for mobile terminal, and mobile terminal

Country Status (2)

Country Link
CN (1) CN106465325B (en)
WO (1) WO2016086339A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738726A (en) * 2020-12-21 2021-04-30 深圳酷派技术有限公司 Positioning method, positioning device, terminal and storage medium
CN112835084A (en) * 2021-01-05 2021-05-25 中国电力科学研究院有限公司 Power equipment positioning method and system based on power network scene and power equipment
CN116261108A (en) * 2022-12-30 2023-06-13 北斗应用发展研究院 User fusion code number design method for Beidou short message and ground mobile network

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110366112B (en) 2018-04-09 2021-08-20 华为技术有限公司 Positioning method and related equipment
CN115567898A (en) * 2021-07-02 2023-01-03 大唐移动通信设备有限公司 Positioning method, data transmission method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070213931A1 (en) * 2006-03-07 2007-09-13 Samsung Electronics Co., Ltd. Agps module time synchronization method and device using system time information in mobile terminal
CN102355726A (en) * 2011-10-09 2012-02-15 江苏省莱科信息技术有限公司 Hybrid positioning method and positioning system thereof
CN102742335A (en) * 2010-02-11 2012-10-17 瑞典爱立信有限公司 Methods and apparatuses for positioning in a wireless communications system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090082011A1 (en) * 2007-09-24 2009-03-26 Chi Zhang Device and Method for Connection Management
CN101715163B (en) * 2009-11-24 2012-09-26 中兴通讯股份有限公司 Method and device for acquiring auxiliary positioning data
CN101915933A (en) * 2010-08-17 2010-12-15 中兴通讯股份有限公司 Method and device for assisting global positioning system to position
CN102036371A (en) * 2010-10-26 2011-04-27 中兴通讯股份有限公司 Global positioning system (GPS) positioning method and system
CN102348160B (en) * 2011-07-15 2014-01-22 中国电信股份有限公司 Multimode signal-based positioning method, system and positioning platform
CN103033821B (en) * 2011-09-30 2016-02-17 中国电信股份有限公司 Localization method and locating device, mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070213931A1 (en) * 2006-03-07 2007-09-13 Samsung Electronics Co., Ltd. Agps module time synchronization method and device using system time information in mobile terminal
CN102742335A (en) * 2010-02-11 2012-10-17 瑞典爱立信有限公司 Methods and apparatuses for positioning in a wireless communications system
CN102355726A (en) * 2011-10-09 2012-02-15 江苏省莱科信息技术有限公司 Hybrid positioning method and positioning system thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738726A (en) * 2020-12-21 2021-04-30 深圳酷派技术有限公司 Positioning method, positioning device, terminal and storage medium
CN112738726B (en) * 2020-12-21 2023-09-15 深圳酷派技术有限公司 Positioning method, positioning device, terminal and storage medium
CN112835084A (en) * 2021-01-05 2021-05-25 中国电力科学研究院有限公司 Power equipment positioning method and system based on power network scene and power equipment
CN112835084B (en) * 2021-01-05 2022-02-11 中国电力科学研究院有限公司 Power equipment positioning method and system based on power network scene and power equipment
CN116261108A (en) * 2022-12-30 2023-06-13 北斗应用发展研究院 User fusion code number design method for Beidou short message and ground mobile network
CN116261108B (en) * 2022-12-30 2023-10-20 北斗应用发展研究院 User fusion code number design method for Beidou short message and ground mobile network

Also Published As

Publication number Publication date
CN106465325A (en) 2017-02-22
CN106465325B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
US10863319B2 (en) Systems and methods for locating a user equipment using generic position methods for a 5G network
US9930491B2 (en) Positioning of a wireless device
US10440515B2 (en) Method and apparatus for using historic position and network information for determining an approximate position of a mobile device
US9066308B2 (en) Method and apparatus for using supported network information for positioning
US8737311B2 (en) Two stage mobile device geographic location determination
CN102884850B (en) To the support of multiple location protocol
CN102037750B (en) Via femto access point locating emergency calls
JP2020522167A (en) System and method for positioning mobile devices in fifth generation wireless networks
EP2564645B1 (en) Location continuity service for locating mobile devices using multiple access networks including wireless telecommunication networks
WO2016086339A1 (en) Positioning method for mobile terminal, and mobile terminal
US9794747B2 (en) Location continuity service for locating mobile devices using multiple access networks including wireless telecommunication networks
EP3949571A1 (en) Methods and systems for using bandwidth parts information during positioning of a mobile device
KR20110002805A (en) Dual mode device supporting location-based service and controlling method therefor
WO2019070640A1 (en) Methods and systems for segmentation of positioning protocol messages
US10425800B1 (en) Generating location information for an E911 call
US8472917B1 (en) Position determination for emergency call from multi-mode mobile station
US9900860B2 (en) Positioning protocol, positioning capability and position method identification in SUPL
WO2016022175A1 (en) Hybrid location information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14907204

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14907204

Country of ref document: EP

Kind code of ref document: A1