[go: up one dir, main page]

WO2018103440A1 - 一种网络定位方法及终端设备 - Google Patents

一种网络定位方法及终端设备 Download PDF

Info

Publication number
WO2018103440A1
WO2018103440A1 PCT/CN2017/105101 CN2017105101W WO2018103440A1 WO 2018103440 A1 WO2018103440 A1 WO 2018103440A1 CN 2017105101 W CN2017105101 W CN 2017105101W WO 2018103440 A1 WO2018103440 A1 WO 2018103440A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
wifi
geographic location
mac address
network positioning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/105101
Other languages
English (en)
French (fr)
Inventor
蒋世民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2018103440A1 publication Critical patent/WO2018103440A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a network positioning method and a terminal device.
  • Wifi positioning refers to a method of locating a wireless signal of one or more WiFis in the vicinity by using a mobile terminal, and then calculating a geographic location of the mobile terminal based on the wireless signals of the one or more WiFi.
  • WiFi positioning is usually performed by the mobile terminal to apply for network positioning to the server, and then the server performs positioning processing, and finally returns the positioning result to the mobile terminal. It can be seen that the entire positioning process requires a certain time, so how to speed up the positioning is urgently needed in the field. technical problem.
  • the embodiment of the invention provides a network positioning method and a terminal device, so as to shorten the time required for positioning.
  • an embodiment of the present invention provides a network positioning method, in which a terminal device records a MAC address of N Wifis and N geographic locations, and the MAC addresses of the N Wifis are in one-to-one correspondence with the N geographical locations.
  • the first geographic location is that the total length of time that the terminal device accesses the first Wifi in the first time period exceeds a first threshold, and the access time of the terminal device accesses the first Wifi in the second time period
  • the terminal device performs the network location of the terminal device, and the MAC address of the Wifi corresponding to the first geographic location is any one of the N Wifi MAC addresses.
  • Said N is a positive integer, including:
  • the terminal device accesses the second Wifi
  • the terminal device When the terminal device records the second geographic location corresponding to the MAC address of the second Wifi The terminal device uses the second geographic location as the current geographic location of the terminal device.
  • the embodiment of the present invention provides a terminal device, where a terminal device records a MAC address of N Wifis and N geographic locations, and the MAC addresses of the N Wifis and the N geographic locations are in one-to-one correspondence.
  • a geographic location is that the total length of time that the terminal device accesses the first Wifi in the first time period exceeds a first threshold, and the access time of the terminal device accessing the first Wifi each time exceeds the second duration a second threshold, the geographic location of the terminal device obtained by the terminal device, and the MAC address of the Wifi corresponding to the first geographic location is any one of the N Wifi MAC addresses,
  • N is a positive integer and includes:
  • a Wifi access module configured to access a second Wifi
  • the locating module is configured to use the second geographic location as the current geographic location of the terminal device when the second geographic location corresponding to the MAC address of the second Wifi is recorded in the terminal device.
  • an embodiment of the present invention provides a terminal device, including:
  • a processor coupled to the memory
  • the processor invokes the executable program code stored in the memory to perform some or all of the steps as described in the first aspect of the embodiments of the present invention.
  • the present invention provides a computer storage medium for storing computer software instructions for a terminal device provided by the third aspect of the embodiments of the present invention, comprising a program designed to execute the above aspects.
  • an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the implementation of the present invention.
  • the computer program product can be a software installation package, and the computer includes the terminal device.
  • the terminal device accesses a certain Wifi in the first time period exceeds the first threshold, and the terminal device accesses the certain Wifi every time in the second time period.
  • the terminal device performs a geographical location obtained by the network positioning in advance, and after the subsequent terminal device accesses the certain Wifi again, if the network positioning instruction is detected, the terminal device directly determines the previously determined one. Geographic location as the current geographic location of the terminal device, no terminal setting The device prepares network positioning for the server, and then the server performs positioning, and returns the positioning result to the terminal device, thereby shortening the time required for positioning.
  • FIG. 1 is a schematic flowchart diagram of a network positioning method according to a first embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a network positioning method according to a second embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal device according to a first embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a terminal device according to a second embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal device according to a third embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • a terminal device also called a User Equipment (UE) is a device that provides voice and/or data connectivity to a user, for example, a handheld device with a wireless connection function, an in-vehicle device, and the like.
  • UE User Equipment
  • Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, and the like.
  • Multiple means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" generally indicates that the contextual object is an "or" relationship.
  • FIG. 1 is a schematic flowchart of a network positioning method according to an embodiment of the present invention, in which a terminal device records a N Wifi MAC address and N geographic locations, and the N Wifi MAC addresses and The first geographic location is one-to-one corresponding to the first geographic location, where the total length of time that the terminal device accesses the first Wifi in the first time period exceeds a first threshold, and the terminal device connects each time in the second time period.
  • the terminal device When the duration of the first Wifi exceeds a second threshold, the terminal device performs a network location to obtain a geographic location of the terminal device, and the MAC address of the Wifi corresponding to the first geographic location is the N Wifi Any one of the MAC addresses, where N is a positive integer, including the following steps:
  • the terminal device accesses a second Wifi.
  • the terminal device uses the second geographic location as the current geographic location of the terminal device.
  • the first duration is a period of time before the current system time begins. Like the first The duration is 1 day, the current system time is 12:00 at 17/01/02, then the first time is 1 day from 12:00 on 17/01/02, which is 12 of 17/01/01: 12:00 from 00 to 17/201702.
  • the second duration is also the period of time before the current system time begins. The first duration and the second duration may be the same or different.
  • the duration of the first duration and the duration of the second duration are 1 day, 2 days, 3 days, 5 days, 6 days, 1 month or other values
  • the duration of the first duration may be, for example, 1 day, 2 days, 3 days, 5 days, 6 days, 1 month, or other values
  • the duration of the second duration may be 1 hour, 2 hours. , 3 hours, 5 hours, 6 hours, 1 day or other value.
  • the second duration/the first duration is less than or equal to a third threshold, and the third threshold is greater than 1.
  • the first threshold may be 20 hours, 30 hours, 50 hours, 80 hours or other values.
  • the second threshold may be, for example, 30 minutes, 35 minutes, 47 minutes, 50 minutes, 1 hour, or other values.
  • the terminal device accesses a Wifi. Access time, disconnection time, access duration, each time the terminal device accesses the Wifi, the three parameters must be recorded in association.
  • the terminal device accesses a certain Wifi for more than 30 hours in 2 days, and at 2 After the terminal device accesses the access time of the certain Wifi for more than 30 minutes, the terminal device initiates network positioning by itself, obtains a geographical location of the terminal device, and then associates the geographic location with the MAC address of the certain Wifi. Recorded in the terminal device, after the subsequent terminal device is connected to the certain Wifi, the network is located, and the geographical location obtained by the previous location can be directly used as the current geographic location of the terminal device.
  • the terminal device when the terminal device records the second geographic location corresponding to the MAC address of the second Wifi, the terminal device uses the second geographic location as the current geographic location of the terminal device.
  • the specific implementation manner is: when the terminal device detects a network positioning instruction, and the terminal When the second geographic location corresponding to the MAC address of the second Wifi is recorded in the device, the terminal device uses the second geographic location as the current geographic location of the terminal device.
  • the network positioning instruction is that the terminal device triggers when detecting that the current interface includes a function that requires a geographic location.
  • the current interface may be a payment interface, an information reading interface, an APP home page, a status interface (such as a circle of friends), and the like.
  • the terminal device When the current interface of the terminal device includes a function that requires a geographic location, the terminal device directly triggers a network positioning instruction to perform network positioning.
  • the terminal device further records N network positioning times, where the N network positioning times are in one-to-one correspondence with the N Wifi MAC addresses, and the network positioning times refer to that the terminal device is in The number of times the terminal device performs network positioning after accessing the Wifi-i, and the Wifi-i is one of the N Wifis;
  • the terminal device When the network positioning instruction is used, the terminal device triggers when detecting that the number of network positioning times corresponding to the MAC of the second Wifi is greater.
  • the set value may be, for example, equal to 10 times, 11 times, 13 times, 15 times, 17 times, 20 times, or other values.
  • the set value is 15 times
  • the number of network positioning times corresponding to the MAC of the second Wifi is 20
  • the number of network positioning corresponding to the MAC of the second Wifi is recorded in the terminal device 20 times, that is, the terminal device is connected.
  • the terminal device directly starts the network positioning instruction.
  • the method further includes:
  • the terminal device scans the Wifi through the Wifi module to obtain hotspot information of M Wifis, where the hotspot information includes Wifi.
  • the M is a positive integer
  • the terminal device uses one of the K geographic locations as the current geographic location of the terminal device, and the M
  • the MAC address includes the K MAC addresses, and the K is a positive integer.
  • the Wifi that the terminal device can scan indicates that the Wifi is not far from the terminal device, if the second geographic location corresponding to the MAC address of the second Wifi is not recorded in the terminal device. Location, but the two geographical locations corresponding to the MAC addresses of the two Wifis of the three Wifis scanned by the terminal device are recorded in the terminal device. At this time, the terminal device can set one of the two geographical locations. As the current geographic location of the terminal device.
  • the hotspot information further includes a signal strength of the Wifi received by the terminal device, where the terminal device uses one of the K geographic locations as the current geographic location of the terminal device, including:
  • the terminal device uses the geographic location corresponding to the target MAC address as the current geographic location of the terminal device, and the target MAC address is the MAC address with the highest signal strength of the Wifi received by the terminal device in the K MAC addresses.
  • the terminal device can obtain the signal strength of the Wifi received by the terminal device when scanning the Wifi, and the terminal device receives the signal strength of the Wifi corresponding to the first MAC address is 50 db, and the terminal device receives the second MAC.
  • the signal strength of the Wifi corresponding to the address is 100 db. The stronger the signal strength of the terminal device receiving the Wifi is, the closer the terminal device is to the Wifi.
  • the terminal device selects the second MAC.
  • the geographic location corresponding to the address is the current geographic location of the terminal device.
  • the terminal device further records N access time sets, where the N access time sets are in one-to-one correspondence with the N Wifi MAC addresses, and the second Wifi corresponding access time set includes The terminal device accesses the H access times corresponding to the second Wifi H times in the first time period, and the H is an integer greater than 1.
  • the method further includes:
  • the terminal device determines whether the current system time is in a preset time period, wherein J access times of the H access times are in the preset time period, and the J*2 is greater than or equal to the H;
  • the terminal device uses the second geographic location as the current geographic location of the terminal device.
  • the preset time period is, for example, 8:00 am to 9:00 am, 9:00 am to 9:30 am, 9:30 am to 9:40 am, 8:00 pm to 9:00 pm or other values.
  • the method further includes:
  • the terminal device When the current system time is not in the preset time period, the terminal device performs network positioning again to obtain the current geographic location of the terminal device.
  • the terminal device accesses a Wifi and has access time and disconnection. Time, access duration, each time the terminal device accesses the Wifi, it must record the three parameters of the association record.
  • the terminal device accesses the second Wifi 20 times within 2 days, if there are at least 10 connections in the 20 accesses
  • the terminal device uses the second geographic location corresponding to the second Wifi as the current geographic location of the terminal device. If at least 10 access times of the 20 accesses are from 8:00 pm to 9:00 pm, the terminal device performs network positioning again to obtain the current geographic location of the terminal device.
  • the specific implementation manner of the terminal device re-sending the network to obtain the current geographic location of the terminal device may be: the terminal device starts the Wifi module to scan multiple hotspots around the terminal device to obtain multiple hotspot information (hotspot information such as hotspots) The MAC address, the terminal device receives the signal strength of the hotspot, and the like, and then the terminal device feeds back the obtained hotspot information to the server, and the server determines the current geographic location of the terminal device based on the multiple hotspot information fed back by the terminal device, and then the server determines The current location of the terminal device is fed back to the terminal device.
  • hotspot information such as hotspots
  • the terminal device performs a geographical location obtained by network positioning in advance, and after the subsequent terminal device accesses the certain Wifi again, if the network positioning instruction is detected, the terminal device directly determines the geographical location previously determined.
  • the terminal device does not need to apply for network positioning to the server, and then the server performs positioning, and returns the positioning result to the terminal device, thereby shortening the time required for the positioning.
  • the embodiment of the present invention further provides another more detailed method flow, as shown in FIG. 2, wherein the terminal device records N Wifi MAC addresses and N geographic locations, and the N Wifi MACs.
  • the address is in one-to-one correspondence with the N geographic locations, where the total geographical length of the terminal device accessing the first Wifi in the first time period exceeds a first threshold, and the terminal device is in the second time period.
  • the terminal device performs the network location of the terminal device, and the MAC address of the Wifi corresponding to the first geographic location is the N Any one of the Wifi MAC addresses, where N is a positive integer, including:
  • the terminal device accesses a second Wifi.
  • the terminal device determines whether a second geographic location corresponding to the MAC address of the second Wifi is recorded in the terminal device.
  • step S203 is performed.
  • steps S206-S207 are performed.
  • the terminal device further records N access time sets, where the N access time sets are in one-to-one correspondence with the N Wifi MAC addresses, and the access time set corresponding to the second Wifi includes the terminal.
  • the device accesses the H access times corresponding to the second Wifi H times in the first time period, where the H is an integer greater than 1, and the terminal device determines whether the current system time is in a preset time period, where J access times of the H access times are in the preset time period, and the J*2 is greater than or equal to the H.
  • step S204 is performed.
  • step S205 is performed.
  • the terminal device uses the second geographic location as a current geographic location of the terminal device.
  • the terminal device performs network positioning again to obtain a current geographic location of the terminal device.
  • the terminal device scans the Wifi through the Wifi module to obtain hotspot information of the M Wifis, where the hotspot information includes a MAC address of the Wifi, where the M is a positive integer.
  • the terminal device determines whether K geographic locations corresponding to the K MAC addresses are recorded in the terminal device, where the M MAC addresses include the K MAC addresses, K is a positive integer.
  • step S208 is performed.
  • step S205 is performed.
  • the terminal device uses one of the K geographic locations as the current geographic location of the terminal device.
  • the embodiment of the present invention further provides a terminal device 300.
  • the terminal device records N Wifi MAC addresses and N geographic locations, and the N Wifi MAC addresses and the N geographic locations.
  • the first geographic location is that the total length of time that the terminal device accesses the first Wifi in the first time period exceeds a first threshold, and the terminal device accesses the first Wifi each time in the second time period.
  • the terminal device performs network positioning to obtain the geographic location of the terminal device, and the MAC address of the Wifi corresponding to the first geographic location is in the MAC address of the N Wifis.
  • N is a positive integer, including:
  • a Wifi access module 301 configured to access a second Wifi
  • the locating module 302 is configured to use the second geographic location as the current geographic location of the terminal device when the second geographic location corresponding to the MAC address of the second Wifi is recorded in the terminal device.
  • the second duration/the first duration is less than or equal to a third threshold, and the third threshold is greater than 1.
  • the positioning module is specifically configured to:
  • the terminal device When the terminal device detects the network positioning instruction, and the second geographic location corresponding to the MAC address of the second Wifi is recorded in the terminal device, the terminal device uses the second geographic location as the terminal The current geographic location of the device.
  • the network positioning instruction is that the terminal device detects that the current interface includes a required location The location of the function is triggered in the case of the function.
  • the terminal device further records N network positioning times, where the N network positioning times are in one-to-one correspondence with the N Wifi MAC addresses, and the network positioning times refer to that the terminal device is in The number of times the terminal device performs network positioning after accessing the Wifi-i, and the Wifi-i is one of the N Wifis;
  • the terminal device When the network positioning instruction is used, the terminal device triggers when detecting that the number of network positioning times corresponding to the MAC of the second Wifi is greater.
  • the terminal device further includes:
  • the scanning module 303 is configured to: when the second geographic location corresponding to the MAC address of the second Wifi is not recorded in the terminal device, scan the Wifi through the Wifi module to obtain hotspot information of the M Wifis, where the hotspot information Including the MAC address of the Wifi, the M is a positive integer;
  • the locating module 302 is further configured to: when the K geographic locations corresponding to the K MAC addresses are recorded in the terminal device, use one of the K geographic locations as the current geographic location of the terminal device.
  • the M MAC addresses include the K MAC addresses, and the K is a positive integer.
  • the hotspot information further includes a signal strength of the Wifi received by the terminal device, where the positioning module 302 is specifically configured to:
  • the geographic location corresponding to the target MAC address is used as the current geographic location of the terminal device, and the target MAC address is the MAC address with the highest signal strength of the Wifi received by the terminal device in the K MAC addresses.
  • the terminal device further records N access time sets, where the N access time sets are in one-to-one correspondence with the N Wifi MAC addresses, and the second Wifi corresponding access time set includes The terminal device accesses the H access times corresponding to the second Wifi H times in the first time period, where the H is an integer greater than 1, and the terminal device further includes:
  • the determining module 304 is configured to determine whether the current system time is in a preset time period, wherein J access times of the H access times are in the preset time period, and the J*2 is greater than or equal to the H ;
  • the positioning module 302 is further configured to use the second geographic location as the current geographic location of the terminal device when the current system time is in the preset time period.
  • the positioning module 302 is further configured to: when the current system time is not in the preset time period, perform network positioning again to obtain a current geographic location of the terminal device.
  • each of the above modules (the Wifi access module 301, the positioning module 302, the scanning module 303, and the determining module 304) is used to perform the related steps of the foregoing method.
  • the terminal device 300 is presented in the form of a module.
  • a “module” herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality.
  • ASIC application-specific integrated circuit
  • the above Wifi access module 301, the positioning module 302, the scanning module 303, and the determining module 304 can be implemented by the processor 401 of the terminal device shown in FIG.
  • the terminal device 400 can be implemented in the structure of FIG. 4, which includes at least one processor 401, at least one memory 402, and at least one communication interface 403.
  • the processor 401, the memory 402, and the communication interface 403 are connected by the communication bus and complete communication with each other.
  • the processor 401 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication interface 403 is configured to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Networks
  • the memory 402 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
  • the memory can exist independently and be connected to the processor via a bus. Storage The device can also be integrated with the processor.
  • the memory 402 is used to store application code that executes the above solution, and is controlled by the processor 401 for execution.
  • the processor 401 is configured to execute application code stored in the memory 402.
  • the code stored in the memory 402 may perform the above network positioning method performed by the terminal device provided above, such as recording a MAC address of N Wifis and N geographical locations in the terminal device, the MAC addresses of the N Wifis, and the N geographies One-to-one correspondence, the first geographic location is that the total length of time that the terminal device accesses the first Wifi in the first time period exceeds a first threshold, and the terminal device accesses the first time in the second time period When the access time of the Wifi exceeds the second threshold, the terminal device performs the network location of the location information of the terminal device, and the MAC address of the Wifi corresponding to the first geographic location is the MAC address of the N Wifis.
  • any one of the N is a positive integer, comprising: accessing the second Wifi; when the second geographic location corresponding to the MAC address of the second Wifi is recorded in the terminal device, the second geographic location is As the current geographic location of the terminal device.
  • the terminal device is a mobile phone, and the following describes the components of the mobile phone in conjunction with FIG. 5:
  • the RF circuit 510 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 580. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 510 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • the memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 520.
  • the memory 520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a Wifi access function, a positioning function), and the like; the storage data area may be stored according to the mobile phone. Use the created data (such as N Wifi's MAC address, N geographic locations) and so on.
  • memory 520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 530 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 530 can include a touch panel 531 and other input devices 532.
  • the touch panel 531 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 531 or near the touch panel 531. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 531 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 580 is provided and can receive commands from the processor 580 and execute them.
  • the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 530 may also include other input devices 532.
  • other input devices 532 may include, but are not limited to, a physical keyboard, at least one of a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
  • a function key such as a volume control button, a switch button, etc.
  • a trackball such as a mouse, a joystick, and the like.
  • the display unit 540 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 540 can include a display panel 541.
  • the display panel 541 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 531 can cover the display panel 541. When the touch panel 531 detects a touch operation on or near it, the touch panel 531 transmits to the processor 580 to determine the type of the touch event, and then the processor 580 according to the touch event. The type provides a corresponding visual output on display panel 541.
  • the touch panel 531 and the display panel 541 is to implement the input and input functions of the mobile phone as two separate components, but in some embodiments, the touch panel 531 can be integrated with the display panel 541 to implement the input and output functions of the mobile phone.
  • the handset may also include at least one type of sensor 550, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor may close the display panel 541 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • Audio circuit 560, speaker 561, and microphone 562 provide an audio interface between the user and the handset.
  • the audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561, and convert it into a sound signal output by the speaker 561.
  • the microphone 562 converts the collected sound signal into an electrical signal, and the audio circuit 560 is used by the audio circuit 560. After receiving, it is converted into audio data, and then processed by the audio data output processor 580, sent to the other mobile phone via the RF circuit 510, or outputted to the memory 520 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 570, which provides users with wireless broadband Internet access.
  • FIG. 5 shows the WiFi module 570, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 580 is the control center of the handset, and connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 520, and invoking data stored in the memory 520, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 580.
  • the handset also includes a power source 590 (such as a battery) that supplies power to the various components.
  • a power source 590 such as a battery
  • the power source can be logically coupled to the processor 580 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • each step method flow may be implemented based on the structure of the terminal device shown in FIG. 5.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the network positioning methods described in the foregoing method embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • 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, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种网络定位方法,终端设备中记录N个Wifi的MAC地址和N个地理位置,N个Wifi的MAC地址和N个地理位置一一对应,第一地理位置为终端设备在第一时长内接入第一Wifi的总时长超过第一阈值,且终端设备在第二时长内每次接入第一Wifi的接入时长超过第二阈值时,终端设备进行网络定位得到的终端设备的地理位置,第一地理位置对应的Wifi的MAC地址为N个Wifi的MAC地址中的任意一个,N为正整数,包括:终端设备接入第二Wifi;当终端设备中记录有第二Wifi的MAC地址对应的第二地理位置时,终端设备将第二地理位置作为终端设备当前地理位置。本发明实施例还提供了一种终端设备。采用本发明实施例可缩短定位所需要的时间。

Description

一种网络定位方法及终端设备 技术领域
本发明涉及电子技术领域,尤其涉及一种网络定位方法及终端设备。
背景技术
移动终端平台(比如ISO平台或者Android平台等),均有网络定位的需求,而使用Wifi(Wireless Fidelity,无线保真)进行网络定位是最常用的方法。Wifi定位是指利用移动终端测量到周边的1个或多个WiFi的无线信号,然后基于这些1个或多个WiFi的无线信号,计算出移动终端地理位置的定位方法。
WiFi定位通常是移动终端向服务器申请网络定位,然后服务器进行定位处理,最后向移动终端返回定位结果,可见,整个定位过程需要一定的时间,因此如何加快定位所需要的时间是本领域亟待解决的技术问题。
发明内容
本发明实施例提供一种网络定位方法及终端设备,以期缩短定位所需要的时间。
第一方面,本发明实施例提供一种网络定位方法,终端设备中记录N个Wifi的MAC地址和N个地理位置,所述N个Wifi的MAC地址和所述N个地理位置一一对应,第一地理位置为所述终端设备在第一时长内接入第一Wifi的总时长超过第一阈值,且所述终端设备在第二时长内每次接入所述第一Wifi的接入时长超过第二阈值时,所述终端设备进行网络定位得到的所述终端设备的地理位置,所述第一地理位置对应的Wifi的MAC地址为所述N个Wifi的MAC地址中的任意一个,所述N为正整数,包括:
所述终端设备接入第二Wifi;
当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置 时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
第二方面,本发明实施例提供一种终端设备,终端设备中记录N个Wifi的MAC地址和N个地理位置,所述N个Wifi的MAC地址和所述N个地理位置一一对应,第一地理位置为所述终端设备在第一时长内接入第一Wifi的总时长超过第一阈值,且所述终端设备在第二时长内每次接入所述第一Wifi的接入时长超过第二阈值时,所述终端设备进行网络定位得到的所述终端设备的地理位置,所述第一地理位置对应的Wifi的MAC地址为所述N个Wifi的MAC地址中的任意一个,所述N为正整数,包括:
Wifi接入模块,用于接入第二Wifi;
定位模块,用于当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,将所述第二地理位置作为所述终端设备当前地理位置。
第三方面,本发明实施例提供了一种终端设备,包括:
存储有可执行程序代码的存储器;
与所述存储器耦合的处理器;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如本发明实施例第一方面中所描述的部分或全部步骤。
第四方面,本发明提供一种计算机存储介质,用于储存为本发明实施例第三方面提供的终端设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
第五方面,本发明实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本发明实施例第一方面所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括终端设备。
相较于现有技术,本发明提供的方案中终端设备在第一时长内接入某个Wifi的总时长超过第一阈值,且终端设备在第二时长内每次接入该某个Wifi的接入时长超过第二阈值时,终端设备预先进行网络定位得到的一个地理位置,后续终端设备再接入该某个Wifi后,若检测到网络定位指令时,终端设备直接将之前确定到的这个地理位置作为终端设备当前地理位置,无需终端设 备向服务器申请网络定位,然后服务器进行定位后,向终端设备返回定位结果,进而缩短了定位所需要的时间。
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明第一实施例提供的一种网络定位方法的流程示意图;
图2为本发明第二实施例提供的一种网络定位方法的流程示意图;
图3为本发明第一实施例提供的一种终端设备的结构示意图;
图4为本发明第二实施例提供的一种终端设备的结构示意图;
图5为本发明第三实施例提供的一种终端设备的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
以下分别进行详细说明。
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。
1)、终端设备,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。
2)、“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
请参见图1,图1为本发明实施例提供的一种网络定位方法的流程示意图,其中,终端设备中记录N个Wifi的MAC地址和N个地理位置,所述N个Wifi的MAC地址和所述N个地理位置一一对应,第一地理位置为所述终端设备在第一时长内接入第一Wifi的总时长超过第一阈值,且所述终端设备在第二时长内每次接入所述第一Wifi的时长超过第二阈值时,所述终端设备进行网络定位得到的所述终端设备的地理位置,所述第一地理位置对应的Wifi的MAC地址为所述N个Wifi的MAC地址中的任意一个,所述N为正整数,包括以下步骤:
S101、所述终端设备接入第二Wifi。
S102、当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
需要说明的是,第一时长是当前系统时间开始往前的一段时间。比如第一 时长为1天,当前系统时间为17/05/02的12:00,那么第一时长是从17/05/02的12:00开始往前的1天,即17/05/01的12:00~17/05/02的12:00。第二时长也是当前系统时间开始往前的一段时间。第一时长和第二时长可以是相同的也可以是不同的。当第一时长和第二时长相同,第一时长的时长和第二时长的时长均是1天、2天、3天、5天、6天、1个月或是其他值,当第一时长和第二时长不同,第一时长的时长例如可以是1天、2天、3天、5天、6天、1个月或是其他值,第二时长的时长可以是1个小时、2小时、3小时、5小时、6小时、1天或是其他值。
进一步,可选地,当第一时长和第二时长不同时,所述第二时长/所述第一时长小于或等于第三阈值,所述第三阈值大于1。第三阈值可以是2、3、4、6、8、11或是其他值。比如,假设第一阈值=2,第一时长为2天,那么第二时长最大是1天。
其中,第一阈值可以是20个小时、30个小时、50个小时、80个小时或是其他值。
其中,第二阈值例如可以是30分钟、35分钟、47分钟、50分钟、1个小时或是其他值。
举例来说,假设第一时长和第二时长相同,第一时长和第二时长均为2天,第一阈值为30个小时,第二阈值为30分钟,通常终端设备接入一个Wifi会有接入时间、断开时间、接入时长,终端设备每次接入Wifi均要关联记录这三个参数,当在2天内终端设备接入某个Wifi的中总时长超过30小时,并且在2内终端设备每次接入该某个Wifi的接入时长超过30分钟后,终端设备自行发起网络定位,得到终端设备的一个地理位置,然后将这个一个地理位置与该某个Wifi的MAC地址关联记录在终端设备中,后续终端设备再连接到该某个Wifi后,进行网络定位,可直接使用之前定位得到的那个地理位置作为终端设备当前地理位置。
可选地,所述当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置的具体实施方式有:当所述终端设备检测到网络定位指令,且所述终端 设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
可选地,所述网络定位指令是所述终端设备在检测到当前界面包含需要地理位置的功能的情况下触发的。
其中,当前界面可以是支付界面,信息读取界面,APP首页,状态界面(比如朋友圈),等等。
举例来说,现在APP的大多数功能都需要获取用户当前地理位置,比如需要知道用户当前的地理位置给用户推荐距离较近的资源,例如给用户推荐距离用户较近的美食,或者用户上传或发朋友圈需要获取用户当前的地理位置,等等。当终端设备当前界面包含需要地理位置的功能的情况下,终端设备直接触发网络定位指令,进行网络定位。
可选的,所述终端设备还记录有N个网络定位次数,所述N个网络定位次数与所述N个Wifi的MAC地址一一对应,所述网络定位次数指的是所述终端设备处于接入Wifi-i后所述终端设备进行网络定位的次数,所述Wifi-i为所述N个Wifi中的其中一个;
所述网络定位指令时所述终端设备在检测到所述第二Wifi的MAC对应的网络定位次数大于时触发的。
其中,设定值例如可以等于10次、11次、13次、15次、17次、20次或是其他值。
具体地,假设设定值=15次,第二Wifi的MAC对应的网络定位次数=20,终端设备中记录有第二Wifi的MAC对应的网络定位次数20次,也就是说,终端设备在接入第二Wifi的情况下,进行网络定位的可能性较大,为了进一步地加快用户得到地理位置的速度,在该种情况下,终端设备直接出发网络定位指令。
选地,所述方法还包括:
当所述终端设备中未记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备通过Wifi模块扫描Wifi,以得到M个Wifi的热点信息,所述热点信息包括Wifi的MAC地址,所述M为正整数;
当所述终端设备中记录有K个MAC地址对应的K个地理位置时,所述终端设备将所述K个地理位置中的其中一个地理位置作为所述终端设备当前地理位置,所述M个MAC地址包括所述K个MAC地址,所述K为正整数。
举例来说,假设M=3,K=2,通常终端设备能扫描到的Wifi也就代表这些Wifi离终端设备不远,假如终端设备中未记录有第二Wifi的MAC地址对应的第二地理位置,但是终端设备扫描得到的3个Wifi中有2个Wifi的MAC地址对应的2个地理位置有记录在终端设备中,此时,终端设备可将这2个地理位置中的其中一个地理位置作为终端设备当前的地理位置。
可选地,所述热点信息还包括所述终端设备接收到Wifi的信号强度,所述终端设备将所述K个地理位置中的其中一个地理位置作为所述终端设备当前地理位置,包括:
所述终端设备将目标MAC地址对应的地理位置作为所述终端设备当前地理位置,所述目标MAC地址为所述K个MAC地址中所述终端设备接收到Wifi的信号强度最大的MAC地址。
举例来说,假设K=2,终端设备扫描Wifi时可获取到终端设备接收到Wifi的信号强度,终端设备接收到第一MAC地址对应的Wifi的信号强度为50db,终端设备接收到第二MAC地址对应的Wifi的信号强度为100db,终端设备接收到Wifi的信号强度越强代表终端设备离该Wifi越近,为了使确定到的终端设备的当前地理位置更准确,那么终端设备选取第二MAC地址对应的地理位置作为终端设备当前地理位置。
可选地,所述终端设备还记录有N个接入时间集,所述N个接入时间集与N个Wifi的MAC地址一一对应,所述第二Wifi对应的接入时间集包括所述终端设备在所述第一时长内接入所述第二Wifi H次对应的H个接入时间,所述H为大于1的整数,所述方法还包括:
所述终端设备确定当前系统时间是否处于预设时段,其中,所述H个接入时间中有J个接入时间处于所述预设时段,所述J*2大于或等于所述H;
当所述当前系统时间处于所述预设时段时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
其中,预设时段例如8:00am~9:00am,9:00am~9:30am,9:30am~9:40am,8:00pm~9:00pm或是其他值。
可选地,所述方法还包括:
当所述当前系统时间不处于所述预设时段时,所述终端设备重新进行网络定位,以得到所述终端设备当前地理位置。
举例来说,假设第一时长为2天,H=20次,J最小值为10,预设时段为8:00pm~9:00pm,通常终端设备接入一个Wifi会有接入时间、断开时间、接入时长,终端设备每次接入Wifi均要记录关联记录这三个参数,当终端设备在2天内接入第二Wifi 20次,若这20次接入中有至少10次的接入时间在8:00pm~9:00pm时,终端设备将第二Wifi对应的第二地理位置作为终端设备当前地理位置。若这20次接入中未有至少10次的接入时间在8:00pm~9:00pm时,终端设备重新进行网络定位,以得到终端设备当前地理位置。
其中,终端设备重新进行网络定位,以得到终端设备当前地理位置的具体实施方式可以是:终端设备启动Wifi模块扫描终端设备周围的多个热点,以得到多个热点信息(热点信息比如有热点的MAC地址,终端设备接收到热点的信号强度等),然后终端设备将获取到的多个热点信息反馈给服务器,服务器基于终端设备反馈的多个热点信息确定终端设备当前地理位置,然后服务器将确定的终端设备当前地理位置反馈给终端设备。
相较于现有技术,本发明提供的方案中终端设备在第一时长内接入某个Wifi的总时长超过第一阈值,且终端设备在第二时长内每次接入该某个Wifi的时长超过第二阈值时,终端设备预先进行网络定位得到的一个地理位置,后续终端设备再接入该某个Wifi后,若检测到网络定位指令时,终端设备直接将之前确定到的这个地理位置作为终端设备当前地理位置,无需终端设备向服务器申请网络定位,然后服务器进行定位后,向终端设备返回定位结果,进而缩短了定位所需要的时间。
本发明实施例还提供了另一更为详细的方法流程,如图2所示,其中,终端设备中记录N个Wifi的MAC地址和N个地理位置,所述N个Wifi的MAC 地址和所述N个地理位置一一对应,第一地理位置为所述终端设备在第一时长内接入第一Wifi的总时长超过第一阈值,且所述终端设备在第二时长内每次接入所述第一Wifi的时长超过第二阈值时,所述终端设备进行网络定位得到的所述终端设备的地理位置,所述第一地理位置对应的Wifi的MAC地址为所述N个Wifi的MAC地址中的任意一个,所述N为正整数,包括:
S201、所述终端设备接入第二Wifi。
S202、所述终端设备确实所述终端设备中是否记录有所述第二Wifi的MAC地址对应的第二地理位置。
若所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置,则执行步骤S203。
若所述终端设备中未记录有所述第二Wifi的MAC地址对应的第二地理位置,则执行步骤S206-S207。
S203、所述终端设备还记录有N个接入时间集,所述N个接入时间集与N个Wifi的MAC地址一一对应,所述第二Wifi对应的接入时间集包括所述终端设备在所述第一时长内接入所述第二Wifi H次对应的H个接入时间,所述H为大于1的整数,所述终端设备确定当前系统时间是否处于预设时段,其中,所述H个接入时间中有J个接入时间处于所述预设时段,所述J*2大于或等于所述H。
若所述当前系统时间处于所述预设时段,则执行步骤S204。
若所述当前系统时间不处于所述预设时段,则执行步骤S205。
S204、所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
S205、所述终端设备重新进行网络定位,以得到所述终端设备当前地理位置。
S206、所述终端设备通过Wifi模块扫描Wifi,以得到M个Wifi的热点信息,所述热点信息包括Wifi的MAC地址,所述M为正整数。
S207、所述终端设备确定所述终端设备中是否记录有所述K个MAC地址对应的K个地理位置,所述M个MAC地址包括所述K个MAC地址,所述 K为正整数。
若所述终端设备中记录有所述K个MAC地址对应的K个地理位置,则执行步骤S208。
若所述终端设备中未记录有所述K个MAC地址对应的K个地理位置,则执行步骤S205。
S208、所述终端设备将所述K个地理位置中的其中一个地理位置作为所述终端设备当前地理位置。
需要说明的是,图2所示的方法的各个步骤的具体实现过程可参见上述方法所述的具体实现过程,在此不再叙述。
本发明实施例还提供了一种终端设备300,如图3所示,终端设备中记录N个Wifi的MAC地址和N个地理位置,所述N个Wifi的MAC地址和所述N个地理位置一一对应,第一地理位置为所述终端设备在第一时长内接入第一Wifi的总时长超过第一阈值,且所述终端设备在第二时长内每次接入所述第一Wifi的接入时长超过第二阈值时,所述终端设备进行网络定位得到的所述终端设备的地理位置,所述第一地理位置对应的Wifi的MAC地址为所述N个Wifi的MAC地址中的任意一个,所述N为正整数,包括:
Wifi接入模块301,用于接入第二Wifi;
定位模块302,用于当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,将所述第二地理位置作为所述终端设备当前地理位置。
可选地,所述第二时长/所述第一时长小于或等于第三阈值,所述第三阈值大于1。
可选地,所述定位模块具体用于:
当所述终端设备检测到网络定位指令,且所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
可选地,所述网络定位指令是所述终端设备在检测到当前界面包含需要地 理位置的功能的情况下触发的。
可选地,所述终端设备还记录有N个网络定位次数,所述N个网络定位次数与所述N个Wifi的MAC地址一一对应,所述网络定位次数指的是所述终端设备处于接入Wifi-i后所述终端设备进行网络定位的次数,所述Wifi-i为所述N个Wifi中的其中一个;
所述网络定位指令时所述终端设备在检测到所述第二Wifi的MAC对应的网络定位次数大于时触发的。
可选地,所述终端设备还包括:
扫描模块303,用于当所述终端设备中未记录有所述第二Wifi的MAC地址对应的第二地理位置时,通过Wifi模块扫描Wifi,以得到M个Wifi的热点信息,所述热点信息包括Wifi的MAC地址,所述M为正整数;
所述定位模块302,还用于当所述终端设备中记录有K个MAC地址对应的K个地理位置时,将所述K个地理位置中的其中一个地理位置作为所述终端设备当前地理位置,所述M个MAC地址包括所述K个MAC地址,所述K为正整数。
可选地,所述热点信息还包括所述终端设备接收到Wifi的信号强度,所述定位模块302具体用于:
将目标MAC地址对应的地理位置作为所述终端设备当前地理位置,所述目标MAC地址为所述K个MAC地址中所述终端设备接收到Wifi的信号强度最大的MAC地址。
可选地,所述终端设备还记录有N个接入时间集,所述N个接入时间集与N个Wifi的MAC地址一一对应,所述第二Wifi对应的接入时间集包括所述终端设备在所述第一时长内接入所述第二Wifi H次对应的H个接入时间,所述H为大于1的整数,所述终端设备还包括:
确定模块304,用于确定当前系统时间是否处于预设时段,其中,所述H个接入时间中有J个接入时间处于所述预设时段,所述J*2大于或等于所述H;
所述定位模块302,还用于当所述当前系统时间处于所述预设时段时,将所述第二地理位置作为所述终端设备当前地理位置。
可选地,所述定位模块302,还用于当所述当前系统时间不处于所述预设时段时,重新进行网络定位,以得到所述终端设备当前地理位置。
需要说明的是,上述各模块(Wifi接入模块301、定位模块302、扫描模块303和确定模块304)用于执行上述方法的相关步骤。
在本实施例中,终端设备300是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,以上Wifi接入模块301、定位模块302、扫描模块303和确定模块304可通过图4所示的终端设备的处理器401来实现。
如图4所示,终端设备400可以以图4中的结构来实现,该终端设备400包括至少一个处理器401,至少一个存储器402以及至少一个通信接口403。所述处理器401、所述存储器402和所述通信接口403通过所述通信总线连接并完成相互间的通信。
处理器401可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。
通信接口403,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless LocalArea Networks,WLAN)等。
存储器402可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储 器也可以和处理器集成在一起。
其中,所述存储器402用于存储执行以上方案的应用程序代码,并由处理器401来控制执行。所述处理器401用于执行所述存储器402中存储的应用程序代码。
存储器402存储的代码可执行以上提供的终端设备执行的上述网络定位方法,比如终端设备中记录N个Wifi的MAC地址和N个地理位置,所述N个Wifi的MAC地址和所述N个地理位置一一对应,第一地理位置为所述终端设备在第一时长内接入第一Wifi的总时长超过第一阈值,且所述终端设备在第二时长内每次接入所述第一Wifi的接入时长超过第二阈值时,所述终端设备进行网络定位得到的所述终端设备的地理位置,所述第一地理位置对应的Wifi的MAC地址为所述N个Wifi的MAC地址中的任意一个,所述N为正整数,包括:接入第二Wifi;当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,将所述第二地理位置作为所述终端设备当前地理位置。
在一个实施例中,终端设备为手机,下面结合图5对手机的各个构成部件进行具体的介绍:
RF电路510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器580处理;另外,将设计上行的数据发送给基站。通常,RF电路510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division MultipleAccess,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如Wifi接入功能、定位功能)等;存储数据区可存储根据手机的使用所创建的数据(比如N个Wifi的MAC地址、N个地理位置)等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元530可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元530可包括触控面板531、其他输入设备532。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上或在触控面板531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除以了触控面板531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的至少一种。
显示单元540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元540可包括显示面板541,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板541。进一步的,触控面板531可覆盖显示面板541,当触控面板531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触控面板531与显示面板 541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板531与显示面板541集成而实现手机的输入和输出功能。
手机还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板541的亮度,接近传感器可在手机移动到耳边时,关闭显示面板541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路560、扬声器561,传声器562可提供用户与手机之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给比如另一手机,或者将音频数据输出至存储器520以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器580可包括一个或多个处理单元;优选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。
手机还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。
前述实施例中,各步骤方法流程可以基于图5所示的终端设备的结构实现。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种网络定位方法的部分或全部步骤。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种网络定位方法,其特征在于,终端设备中记录N个Wifi的MAC地址和N个地理位置,所述N个Wifi的MAC地址和所述N个地理位置一一对应,第一地理位置为所述终端设备在第一时长内接入第一Wifi的总时长超过第一阈值,且所述终端设备在第二时长内每次接入所述第一Wifi的接入时长超过第二阈值时,所述终端设备进行网络定位得到的所述终端设备的地理位置,所述第一地理位置对应的Wifi的MAC地址为所述N个Wifi的MAC地址中的任意一个,所述N为正整数,包括:
    所述终端设备接入第二Wifi;
    当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
  2. 根据权利要求1所述的方法,其特征在于,所述第二时长/所述第一时长小于或等于第三阈值,所述第三阈值大于1。
  3. 根据权利要求1或2所述的方法,其特征在于,所述当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置,包括:
    当所述终端设备检测到网络定位指令,且所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
  4. 根据权利要求3所述的方法,其特征在于,所述网络定位指令是所述终端设备在检测到当前界面包含需要地理位置的功能的情况下触发的。
  5. 根据权利要求3所述的方法,其特征在于,所述终端设备还记录有N个网络定位次数,所述N个网络定位次数与所述N个Wifi的MAC地址一一对应,所述网络定位次数指的是所述终端设备处于接入Wifi-i后所述终端设备进行网络定位的次数,所述Wifi-i为所述N个Wifi中的其中一个;
    所述网络定位指令时所述终端设备在检测到所述第二Wifi的MAC对应的网络定位次数大于时触发的。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    当所述终端设备中未记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备通过Wifi模块扫描Wifi,以得到M个Wifi的热点信息,所述热点信息包括Wifi的MAC地址,所述M为正整数;
    当所述终端设备中记录有K个MAC地址对应的K个地理位置时,所述终端设备将所述K个地理位置中的其中一个地理位置作为所述终端设备当前地理位置,所述M个MAC地址包括所述K个MAC地址,所述K为正整数。
  7. 根据权利要求6所述的方法,其特征在于,所述热点信息还包括所述终端设备接收到Wifi的信号强度,所述终端设备将所述K个地理位置中的其中一个地理位置作为所述终端设备当前地理位置,包括:
    所述终端设备将目标MAC地址对应的地理位置作为所述终端设备当前地理位置,所述目标MAC地址为所述K个MAC地址中所述终端设备接收到Wifi的信号强度最大的MAC地址。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述终端设备还记录有N个接入时间集,所述N个接入时间集与N个Wifi的MAC地址一一对应,所述第二Wifi对应的接入时间集包括所述终端设备在所述第一时长内接入所述第二Wifi H次对应的H个接入时间,所述H为大于1的整数,所述方法还包括:
    所述终端设备确定当前系统时间是否处于预设时段,其中,所述H个接入时间中有J个接入时间处于所述预设时段,所述J*2大于或等于所述H;
    当所述当前系统时间处于所述预设时段时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    当所述当前系统时间不处于所述预设时段时,所述终端设备重新进行网络定位,以得到所述终端设备当前地理位置。
  10. 一种终端设备,其特征在于,终端设备中记录N个Wifi的MAC地址和N个地理位置,所述N个Wifi的MAC地址和所述N个地理位置一一对应,第一地理位置为所述终端设备在第一时长内接入第一Wifi的总时长超过 第一阈值,且所述终端设备在第二时长内每次接入所述第一Wifi的接入时长超过第二阈值时,所述终端设备进行网络定位得到的所述终端设备的地理位置,所述第一地理位置对应的Wifi的MAC地址为所述N个Wifi的MAC地址中的任意一个,所述N为正整数,包括:
    Wifi接入模块,用于接入第二Wifi;
    定位模块,用于当所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,将所述第二地理位置作为所述终端设备当前地理位置。
  11. 根据权利要求10所述的终端设备,其特征在于,所述第二时长/所述第一时长小于或等于第三阈值,所述第三阈值大于1。
  12. 根据权利要求10或11所述的终端设备,其特征在于,所述定位模块具体用于:
    当所述终端设备检测到网络定位指令,且所述终端设备中记录有所述第二Wifi的MAC地址对应的第二地理位置时,所述终端设备将所述第二地理位置作为所述终端设备当前地理位置。
  13. 根据权利要求12所述的终端设备,其特征在于,所述网络定位指令是所述终端设备在检测到当前界面包含需要地理位置的功能的情况下触发的。
  14. 根据权利要求12所述的终端设备,其特征在于,所述终端设备还记录有N个网络定位次数,所述N个网络定位次数与所述N个Wifi的MAC地址一一对应,所述网络定位次数指的是所述终端设备处于接入Wifi-i后所述终端设备进行网络定位的次数,所述Wifi-i为所述N个Wifi中的其中一个;
    所述网络定位指令时所述终端设备在检测到所述第二Wifi的MAC对应的网络定位次数大于时触发的。
  15. 根据权利要求10-14任一项所述的终端设备,其特征在于,所述终端设备还包括:
    扫描模块,用于当所述终端设备中未记录有所述第二Wifi的MAC地址对应的第二地理位置时,通过Wifi模块扫描Wifi,以得到M个Wifi的热点信息,所述热点信息包括Wifi的MAC地址,所述M为正整数;
    所述定位模块,还用于当所述终端设备中记录有K个MAC地址对应的K 个地理位置时,将所述K个地理位置中的其中一个地理位置作为所述终端设备当前地理位置,所述M个MAC地址包括所述K个MAC地址,所述K为正整数。
  16. 根据权利要求15所述的终端设备,其特征在于,所述热点信息还包括所述终端设备接收到Wifi的信号强度,所述定位模块具体用于:
    将目标MAC地址对应的地理位置作为所述终端设备当前地理位置,所述目标MAC地址为所述K个MAC地址中所述终端设备接收到Wifi的信号强度最大的MAC地址。
  17. 根据权利要求10-16任一项所述的终端设备,其特征在于,所述终端设备还记录有N个接入时间集,所述N个接入时间集与N个Wifi的MAC地址一一对应,所述第二Wifi对应的接入时间集包括所述终端设备在所述第一时长内接入所述第二Wifi H次对应的H个接入时间,所述H为大于1的整数,所述终端设备还包括:
    确定模块,用于确定当前系统时间是否处于预设时段,其中,所述H个接入时间中有J个接入时间处于所述预设时段,所述J*2大于或等于所述H;
    所述定位模块,还用于当所述当前系统时间处于所述预设时段时,将所述第二地理位置作为所述终端设备当前地理位置。
  18. 根据权利要求17所述的终端设备,其特征在于,
    所述定位模块,还用于当所述当前系统时间不处于所述预设时段时,重新进行网络定位,以得到所述终端设备当前地理位置。
  19. 一种终端设备,其特征在于,包括:
    存储有可执行程序代码的存储器;
    与所述存储器耦合的处理器;
    所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求1~权利要求9任一项所述的网络定位方法。
  20. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2017/105101 2016-12-07 2017-09-30 一种网络定位方法及终端设备 Ceased WO2018103440A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611119560.4 2016-12-07
CN201611119560.4A CN106658705B (zh) 2016-12-07 2016-12-07 一种网络定位方法及终端设备

Publications (1)

Publication Number Publication Date
WO2018103440A1 true WO2018103440A1 (zh) 2018-06-14

Family

ID=58819663

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105101 Ceased WO2018103440A1 (zh) 2016-12-07 2017-09-30 一种网络定位方法及终端设备

Country Status (2)

Country Link
CN (1) CN106658705B (zh)
WO (1) WO2018103440A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115132A (zh) * 2019-06-20 2020-12-22 北京百度网讯科技有限公司 数据关联方法、装置、设备和存储介质
US20220141778A1 (en) * 2019-02-20 2022-05-05 Huawei Technologies Co., Ltd. Information Obtaining Method and Terminal Device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658705B (zh) * 2016-12-07 2019-10-18 Oppo广东移动通信有限公司 一种网络定位方法及终端设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024659A (zh) * 2011-09-22 2013-04-03 胡乐乐 一种移动定位方法和系统
CN104837215A (zh) * 2015-04-14 2015-08-12 广东欧珀移动通信有限公司 一种无线热点的连接方法及终端
CN105101062A (zh) * 2014-04-21 2015-11-25 北京奇虎科技有限公司 可穿戴设备、获取无线网络属性信息的方法及系统
CN105100292A (zh) * 2014-05-12 2015-11-25 阿里巴巴集团控股有限公司 确定终端的位置的方法及装置
CN106658705A (zh) * 2016-12-07 2017-05-10 广东欧珀移动通信有限公司 一种网络定位方法及终端设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533635A (zh) * 2012-07-03 2014-01-22 希姆通信息技术(上海)有限公司 移动终端的定位方法及移动终端
CN103974189B (zh) * 2013-01-24 2018-03-27 华为终端(东莞)有限公司 移动终端的gps定位方法及移动终端
CN103501482A (zh) * 2013-09-26 2014-01-08 小米科技有限责任公司 网络接入方法、装置及终端
CN105376705A (zh) * 2014-08-22 2016-03-02 中兴通讯股份有限公司 基于WiFi信号的定位方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024659A (zh) * 2011-09-22 2013-04-03 胡乐乐 一种移动定位方法和系统
CN105101062A (zh) * 2014-04-21 2015-11-25 北京奇虎科技有限公司 可穿戴设备、获取无线网络属性信息的方法及系统
CN105100292A (zh) * 2014-05-12 2015-11-25 阿里巴巴集团控股有限公司 确定终端的位置的方法及装置
CN104837215A (zh) * 2015-04-14 2015-08-12 广东欧珀移动通信有限公司 一种无线热点的连接方法及终端
CN106658705A (zh) * 2016-12-07 2017-05-10 广东欧珀移动通信有限公司 一种网络定位方法及终端设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220141778A1 (en) * 2019-02-20 2022-05-05 Huawei Technologies Co., Ltd. Information Obtaining Method and Terminal Device
CN112115132A (zh) * 2019-06-20 2020-12-22 北京百度网讯科技有限公司 数据关联方法、装置、设备和存储介质
CN112115132B (zh) * 2019-06-20 2024-02-13 北京百度网讯科技有限公司 数据关联方法、装置、设备和存储介质

Also Published As

Publication number Publication date
CN106658705B (zh) 2019-10-18
CN106658705A (zh) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2018103441A1 (zh) 一种网络定位方法及终端设备
US10813058B2 (en) Method for processing information and terminal device
WO2018103492A1 (zh) WiFi漫游的设置方法及终端设备
CN104967896A (zh) 一种显示弹幕评论信息的方法和装置
WO2018103443A1 (zh) 一种网络定位方法及终端设备
CN106658354B (zh) 一种数据传输方法及设备
CN108834132B (zh) 一种数据传输方法及设备和相关介质产品
WO2018049886A1 (zh) 建立热点的方法及终端设备
WO2018049901A1 (zh) 数据迁移方法及相关设备
WO2018049903A1 (zh) 数据迁移方法及相关设备
CN105959483A (zh) 一种音频流处理方法及移动终端
WO2018049905A1 (zh) 数据迁移方法及相关设备
US10687207B2 (en) Method for data migration and terminal
WO2018049904A1 (zh) 数据迁移方法及相关设备
CN111314900B (zh) 无线连接方法、无线连接装置及移动终端
WO2018103440A1 (zh) 一种网络定位方法及终端设备
CN110140366B (zh) 一种长短信发送方法及终端
CN108323236A (zh) 一种交互方法和终端
CN110602766B (zh) 一种个人热点识别方法和终端之间关联关系的确定方法
CN106535229B (zh) 一种WiFi信号接收灵敏度测试方法及移动终端
CN110891262A (zh) 一种蓝牙配对的方法、系统和终端设备
CN107204882B (zh) 一种过滤数据包的方法和设备以及移动终端
CN106686577B (zh) 一种信息处理方法、终端设备以及计算机可读存储介质
US20190200215A1 (en) Method for Migrating Data and Terminal
CN106686695B (zh) 一种数据处理方法及终端设备

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: 17878198

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: 17878198

Country of ref document: EP

Kind code of ref document: A1