WO2018166202A1 - 网络定位方法、计算机设备及非易失性可读存储介质 - Google Patents

网络定位方法、计算机设备及非易失性可读存储介质 Download PDF

Info

Publication number
WO2018166202A1
WO2018166202A1 PCT/CN2017/106764 CN2017106764W WO2018166202A1 WO 2018166202 A1 WO2018166202 A1 WO 2018166202A1 CN 2017106764 W CN2017106764 W CN 2017106764W WO 2018166202 A1 WO2018166202 A1 WO 2018166202A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless network
network information
information
location information
shared file
Prior art date
Application number
PCT/CN2017/106764
Other languages
English (en)
French (fr)
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 广东欧珀移动通信有限公司
Publication of WO2018166202A1 publication Critical patent/WO2018166202A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of network technologies, and in particular, to a network positioning method, a computer device, and a non-volatile readable storage medium.
  • LBS Location Based Service
  • GSM Global System for Mobile Communication
  • CDMA Code Division Multiple Access
  • GIS Global Positioning System
  • a value-added service for the corresponding service is a radio communication network through an operator such as telecommunications or mobile, such as GSM (Global System for Mobile Communication) network, CDMA (Code Division Multiple Access) The network, etc., or an external positioning method, such as a GPS (Global Positioning System), obtains the location information of the mobile terminal user, and provides the user with the support of the GIS (Geographic Information System) platform.
  • GIS Geographic Information System
  • SDK Software Development Kit
  • LBS applications integrate SDKs provided by third-party network positioning providers. Due to the independence of the SDK, each LBS application on the mobile terminal needs to scan and acquire wireless network information every time the network is located to achieve network positioning. When there are many LBS applications to be used, the integrated SDK of each LBS application will actively initiate wireless network information scanning, which leads to an increase in system power consumption on the mobile terminal and causes delays in wireless Internet access.
  • a network positioning method a computer device, and a non-volatile readable storage medium are provided.
  • a network positioning method includes:
  • Corresponding location information is determined according to the wireless network information.
  • a computer device comprising a memory and a processor, the memory storing computer executable instructions, the computer executable instructions being executed by the processor, such that the processor performs the following steps:
  • Corresponding location information is determined according to the wireless network information.
  • One or more non-volatile readable storage media storing computer-executable instructions, when executed by one or more processors, cause the one or more processors to perform the following steps:
  • Corresponding location information is determined according to the wireless network information.
  • Figure 1 is a block diagram of a terminal in an embodiment
  • FIG. 2 is a flow chart of a network positioning method in an embodiment
  • 3 is a flow chart of monitoring wireless network information in an embodiment
  • FIG. 5 is a flowchart of determining corresponding location information according to wireless network information in an embodiment
  • FIG. 6 is a flowchart of determining corresponding location information according to wireless network information in another embodiment
  • Figure 7 is a block diagram of a network positioning apparatus in an embodiment
  • Figure 8 is a block diagram of a network positioning apparatus in another embodiment
  • Figure 9 is a block diagram of a reading module in one embodiment
  • Figure 10 is a block diagram of a determination module in one embodiment
  • Figure 11 is a block diagram of a determination module in another embodiment
  • Figure 12 is a block diagram of a computer device in one embodiment.
  • first may be referred to as a second client
  • second client may be referred to as a first client, without departing from the scope of the present application.
  • Both the first client and the second client are clients, but they are not the same client.
  • Figure 1 is a block diagram of a terminal in one embodiment.
  • the terminal includes a processor connected through a system bus, a non-volatile storage medium, an internal memory and a network interface, a display screen, and an input device.
  • the non-volatile storage medium of the terminal stores an operating system and computer-executable instructions, and the computer-executable instructions are executed by the processor to implement a network positioning method provided in the embodiments of the present application.
  • the processor is used to provide computing and control capabilities to support the operation of the entire terminal.
  • the internal memory in the terminal provides an environment for the operation of computer executable instructions in a non-volatile storage medium.
  • the network interface is used for network communication with the server, such as sending wireless network information to the server, receiving location information returned by the server, and the like.
  • the display screen of the terminal may be a liquid crystal display or an electronic ink display screen.
  • the input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the terminal housing, or may be an external device. Keyboard, trackpad or mouse.
  • the terminal can be a mobile phone, a tablet or a personal digital assistant or a wearable device.
  • FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied.
  • the specific terminal may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
  • a network positioning method including the following steps:
  • Step S210 receiving a network positioning request.
  • the LBS application may send a network positioning request to the operating system of the mobile terminal, where the mobile terminal may include a mobile phone, a personal digital assistant, and a notebook.
  • the mobile terminal may include a mobile phone, a personal digital assistant, and a notebook.
  • LBS applications may include social LBS applications, life service LBS applications, and game LBS applications.
  • An SDK provided by a third-party network location provider can be integrated in each LBS application.
  • Step S220 reading the newly written wireless network information from the shared file according to the network positioning request.
  • the operating system of the mobile terminal receives the network positioning request sent by the LBS application, and can read the newly written wireless network information from the shared file according to the network positioning request, where the shared file is used to store the wireless network information connected by the mobile terminal, Wireless network letter that connects the mobile terminal every time The information is written to the shared file.
  • the wireless network information may include WiFi (Wireless Fidelity) hotspot information and/or base station information in mobile communication, etc., wherein the WiFi hotspot refers to a WiFi access point (AP), which may mainly include The routing switching access integrated device and the pure access point device, etc., the routing switching access integrated device can perform the access and routing functions, the pure access device is only responsible for wireless access, and the mobile terminal can use the WiFi network by accessing the WiFi hotspot.
  • the hotspot information of the WiFi may include a BSSID (Basic Service Set Identifier), a SSID (Service Set Identifier), and a signal strength of the WiFi hotspot.
  • the BSSID is used to identify a basic service set.
  • the MAC (Media Access Control) address of the WiFi hotspot is used to identify the WiFi hotspot, which is generally the name of the WiFi hotspot.
  • the base station information may include a CID (Cell Identity), a LAC (Location Area Code), and a signal strength of the base station.
  • the write time can be recorded in the shared file at the same time, and the operating system can select the write from the shared file according to the write time.
  • the last wireless network information of the incoming time is read for the newly written wireless network information.
  • the mobile terminal may pre-specify the writing location of the wireless network information in the shared file, for example, writing the wireless network information to the end of the shared file each time, wherein the end of the shared file is referred to
  • the new wireless network information is written at the end of the original content of the shared file, and the wireless network information written at different times can be separated by spaces or blank lines.
  • the wireless network information located at the end of the file content may be selected from the shared file, that is, the newly written wireless network information is read.
  • Step S230 determining corresponding location information according to the wireless network information.
  • the corresponding location information may be obtained according to the wireless network information, wherein the location information may include latitude and longitude information, and the latitude and longitude is a coordinate system composed of longitude and latitude, and is called a coordinate system.
  • the geographic coordinate system a spherical coordinate system that uses a three-dimensional spherical surface to define the space on the Earth, can indicate any position on the earth.
  • the location information may be a location corresponding to the wireless network information pre-stored on the mobile terminal. The information may also be calculated by the positioning server in real time based on the wireless network information.
  • the location information may be returned to the LBS application that sends the network location request, and the LBS application may display according to the location information, for example, on the map.
  • the point corresponding to the location information is displayed, or the life service such as food, bank, supermarket, etc. related to the location information is displayed, but is not limited thereto, and the specific display content may be determined according to the specific service function provided by the LBS application.
  • the network positioning method receives a network positioning request, reads the newly written wireless network information from the shared file according to the network positioning request, determines corresponding location information according to the wireless network information, and implements wireless network information between the LBS applications by sharing the file.
  • the sharing does not need to initiate wireless network information scanning every time the network positioning is performed, which can reduce the frequency of scanning wireless network information, thereby effectively reducing system power consumption during network positioning and reducing wireless network delay.
  • the method before receiving the network positioning request in step S210, the method further includes the following steps:
  • step S302 the wireless network information is monitored.
  • the mobile terminal may pre-establish a process for monitoring the state of the network, and monitor the wireless network information, when the wireless network information in the operating system of the mobile terminal changes, for example, the WiFi hotspot connected to the mobile terminal changes, or the mobile terminal
  • the operating system can broadcast a wireless network change message to the process of monitoring the wireless network information.
  • Step S304 when it is detected that the wireless network information changes, the changed wireless network information is written into the shared file.
  • the process for monitoring wireless network information in the mobile terminal receives the wireless network change message, that is, when detecting that the wireless network information changes, the process parses the received wireless network change message, and the changed WiFi hotspot is obtained.
  • Wireless network information such as information or base station information, and the changed wireless network information is written into a pre-created shared file, wherein the shared file may store other shared data in addition to the wireless network information connected to the mobile terminal, and the mobile terminal Different applications on top can share data through shared files.
  • the wireless network information can be monitored and the changed wireless network signal can be The information is written to the shared file, and the shared network file is used to share the wireless network information between the LBS applications. It is not necessary to initiate the wireless network information scanning every time the network is located, which can reduce the frequency of scanning the wireless network information, thereby effectively reducing the network positioning. System power consumption and reduced wireless internet latency.
  • step S220 reads the newly written wireless network information from the shared file according to the network positioning request, and includes the following steps:
  • step S402 it is determined whether the wireless network information is included in the shared file. If yes, step S404 is performed, and if no, step S406 is performed.
  • the LBS application sends a network location request to the operating system of the mobile terminal, and when the operating system receives the network location request, the latest written wireless network information can be read from the shared file.
  • the data written in the shared file may be emptied every preset time, for example, every 12 hours, 24 hours, etc., to reduce the time for the operating system to read data from the shared file, and improve the network. The speed of positioning.
  • the operating system wants to read the newly written wireless network information from the shared file, it may first determine whether the shared file contains wireless network information. If the shared file contains wireless network information, the operating system can read from the shared file. The newly written wireless network information is taken, and the corresponding location information is determined according to the read wireless network information.
  • Step S404 reading the newly written wireless network information from the shared file.
  • Step S406 Scan the wireless network device within the preset range of the mobile terminal, and acquire wireless network information of the wireless network device.
  • the operating system of the mobile terminal may scan the wireless network device within the preset range of the mobile terminal, wherein the preset range may be according to the mobile
  • the signal strength of each wireless network device in the actual location of the terminal depends on the strength of the signal sent by the wireless network device. If the signal strength of the wireless network device is strong, the preset range is large. If the signal strength of the wireless network device is weak, the preset range is Smaller, for example, the mobile terminal scans a wireless network device within 300 meters, or scans a wireless network device within 500 meters, etc., and is not limited thereto.
  • the wireless network device may be a device that is a WiFi hotspot, such as a router, a router, a pure access device, or a base station.
  • the mobile terminal scans the wireless network device within the preset range, Use active scanning or passive scanning.
  • Active scanning means that the mobile terminal sends a Probe Request frame on each channel in an active manner.
  • the wireless network device in the preset range receives the probe request frame, it can send a Probe Request frame. Respond. If the mobile terminal receives the probe response frame on a certain channel, the wireless network information of the wireless network device that sends the probe response frame may be further obtained.
  • Passive scanning means that the wireless network device in the preset range sends a Beacon frame in a timed broadcast manner, and the mobile terminal switches between each channel, receives the Beacon frame and records it, thereby further obtaining the wireless transmitting the Beacon frame.
  • Wireless network information of network devices The mobile terminal can scan the wireless network device in the preset range by passive scanning, and acquire the wireless network signal. Since no signal needs to be transmitted during the scanning process, the power consumption of the mobile terminal can be saved.
  • the newly written wireless network information can be directly read from the shared file, and the wireless network information scanning is not initiated automatically every time the network positioning is performed, and the scanning wireless network can be reduced.
  • Information frequency which effectively reduces system power consumption during network positioning and reduces wireless Internet latency.
  • step S230 determines corresponding location information according to the wireless network information, and further includes:
  • Step S502 acquiring a flag bit that matches the newly written wireless network information.
  • the mobile terminal can monitor the wireless network information through a pre-established monitoring process.
  • the monitoring process can write the changed wireless network information into the shared file, and write the wireless
  • the flag position of the network information is the second flag.
  • the flag of the wireless network information can be used to indicate whether the wireless network information has been used to calculate the location information, that is, the flag bit can be used to indicate whether location information corresponding to the wireless network information is stored in the shared file.
  • the flag of the wireless network information when the flag of the wireless network information is the first flag, it indicates that the wireless network information has been used to calculate location information, that is, the shared file stores location information corresponding to the wireless network information;
  • the flag of the wireless network information is the second flag, it indicates that the wireless network information has not been used to calculate the location information, that is, the location information corresponding to the wireless network information is not stored in the shared file.
  • the first flag and the second flag can be set according to actual needs. For example, the first flag bit is false, the second flag bit is true, or the first flag bit is 0, and the second flag bit is 1, etc., and is not limited thereto.
  • step S504 it is determined whether the flag bit is the first flag bit or the second flag bit. If it is the first flag bit, step S506 is performed, and if it is the second flag bit, step S508 is performed.
  • the operating system of the mobile terminal can read the newly written wireless network information from the shared file, and at the same time, obtain the flag bit of the wireless network information, and determine that the flag bit is the first flag bit. Still the second flag.
  • Step S506 the location information corresponding to the newly written wireless network information is read from the shared file, and displayed according to the location information.
  • the obtained flag bit is the first flag bit, it indicates that the shared file stores location information corresponding to the newly written wireless network information, and the operating system can directly read from the shared file to correspond to the newly written wireless network information.
  • the LBS application can display according to the location information, for example, displaying a point corresponding to the location information on the map, or displaying a life service such as a food, a bank, a supermarket, etc. related to the location information, but is not limited thereto, and the specific display content It can be determined according to the specific service functions provided by the LBS application.
  • Step S508 the newly written wireless network information is sent to the positioning server, so that the positioning server calculates the corresponding location information according to the wireless network information.
  • the mobile terminal may send the latest written wireless network information read from the shared file.
  • the location server may query, in the database, location information corresponding to the received wireless network information according to information such as a BSSID, an SSID, or a CID of the base station in the wireless network information.
  • Step S510 receiving location information returned by the location server.
  • Step S512 the location information is written into the shared file, and the flag position is the first flag bit.
  • the mobile terminal may write the location information into the shared file, and establish the location information and the wireless network letter in the shared file. Correspondence relationship, and the location of the wireless network information is the first flag.
  • Step S514 displaying according to the location information.
  • the operating system of the mobile terminal may return the location information to the LBS application that sends the network location request, and the LBS application may display according to the location information, for example, displaying a point corresponding to the location information on the map, or displaying the location information.
  • the specific display content can be determined according to the specific service functions provided by the LBS application.
  • the LBS application when the LBS application performs network positioning, in addition to directly reading the newly written wireless network information from the shared file, the corresponding location information may also be read from the shared file, without performing network every time.
  • the positioning is performed, the wireless network information scanning is actively initiated, and the positioning server is not required to be accessed every time the network positioning is performed, thereby reducing the frequency of scanning the wireless network information and accessing the positioning server, and effectively reducing the system power consumption of the network positioning. It also responds quickly to network location requests.
  • step S230 determines corresponding location information according to the wireless network information, including the following steps:
  • Step S602 When the shared network file does not include the wireless network information, the scanned wireless network information is sent to the positioning server, so that the positioning server calculates the corresponding location information according to the wireless network information.
  • the mobile terminal can scan the wireless network device within the preset range and obtain the wireless network information.
  • the wireless network information obtained by the mobile terminal scanning may be one or more copies, and the wireless network information of the wireless network device with the strongest signal strength may be sent from the mobile terminal to the positioning server, or may be obtained according to the obtained information.
  • the wireless network information generates a wireless network information list, and sends the wireless network information list to the positioning server, thereby improving the accuracy of the location information.
  • the location server can query and calculate the corresponding location information in the database according to the received wireless network information or the wireless network information list.
  • Step S604 receiving location information returned by the positioning server.
  • Step S606 the location information and the scanned wireless network information are written into the shared file, and the flag position of the scanned wireless network information is scanned as the first flag.
  • the mobile terminal may write the location information into the shared file together with the wireless network information or the wireless network information list sent to the location server, and establish the written location information and the wireless network information or the wireless network. Corresponding relationship of the information list, and the location of the written wireless network information or the wireless network information list is the first flag.
  • the operating system of the mobile terminal can directly read from the shared file. Take wireless network information and corresponding location information.
  • Step S608 displaying according to the location information.
  • the operating system of the mobile terminal may return the location information to the LBS application that sends the network location request, and the LBS application may display according to the location information, for example, displaying a point corresponding to the location information on the map, or displaying the location information.
  • the specific display content can be determined according to the specific service functions provided by the LBS application.
  • the wireless network information is written into the shared file, and in addition to realizing the sharing of the wireless network information between the LBS applications, other non-LBS applications can also directly read from the shared file when the wireless network information needs to be acquired, and Not limited to LBS applications and network location functions.
  • the wireless network information acquired by the scanning and the location information calculated by the positioning server can be written into the shared file, so that the wireless network information and the location information are shared between the LBS applications, and the scanning wireless network information can be reduced.
  • the frequency of accessing the location server can also quickly respond to network location requests while effectively reducing system power consumption during network location.
  • a network positioning apparatus 700 including a receiving module 710, a reading module 720, and a determining module 730.
  • the receiving module 710 is configured to receive a network positioning request.
  • the reading module 720 is configured to read the newly written wireless network information from the shared file according to the network positioning request, where the shared file is used to store wireless network information connected by the mobile terminal.
  • the determining module 730 is configured to determine corresponding location information according to the wireless network information.
  • the network positioning device receives the network positioning request, reads the newly written wireless network information from the shared file according to the network positioning request, and determines corresponding location information according to the wireless network information, It is not necessary to actively initiate wireless network information scanning every time the network positioning is performed, which can reduce the frequency of scanning wireless network information, thereby effectively reducing system power consumption during network positioning and reducing wireless network delay.
  • the network positioning apparatus 700 includes a receiving module 710, a reading module 720, and a determining module 730, and includes a listening module 740 and a writing module 750.
  • the monitoring module 740 is configured to monitor wireless network information.
  • the writing module 750 is configured to write the changed wireless network information into the shared file when detecting that the wireless network information changes.
  • the wireless network information can be monitored, and the changed wireless network information is written into the shared file, and the wireless network information sharing between the LBS applications is realized by sharing the file, without performing network positioning every time.
  • Proactively initiate wireless network information scanning which can reduce the frequency of scanning wireless network information, thereby effectively reducing system power consumption during network positioning and reducing wireless Internet access delay.
  • the reading module 720 includes a determining unit 722, a reading unit 724, and a scanning unit 726.
  • the determining unit 722 is configured to determine whether the wireless network information is included in the shared file.
  • the reading unit 724 is configured to read the newly written wireless network information from the shared file if the shared file includes wireless network information.
  • the scanning unit 726 is configured to scan the wireless network device within the preset range of the mobile terminal if the shared file does not include the wireless network information, and acquire the wireless network information of the wireless network device.
  • the newly written wireless network information can be directly read from the shared file, and the wireless network information scanning is not initiated automatically every time the network positioning is performed, and the scanning wireless network can be reduced.
  • Information frequency which effectively reduces system power consumption during network positioning and reduces wireless Internet latency.
  • the determining module 730 includes a flag bit acquiring unit 1002, a position information reading unit 1004, a first display unit 1006, a first transmitting unit 1008, a first receiving unit 1010, and a first write.
  • the unit 1012 is entered.
  • the flag bit obtaining unit 1002 is configured to acquire a flag that matches the newly written wireless network information. Bit.
  • the location information reading unit 1004 is configured to read the location information corresponding to the newly written wireless network information from the shared file if the flag bit is the first flag bit.
  • the first display unit 1006 is configured to display according to the read location information.
  • the first sending unit 1008 is configured to: if the flag bit is the second flag bit, send the newly written wireless network information to the positioning server, so that the positioning server calculates the corresponding location information according to the wireless network information.
  • the first receiving unit 1010 is configured to receive location information returned by the positioning server.
  • the first writing unit 1012 is configured to write the location information into the shared file and set the flag position as the first flag bit.
  • the first display unit 1006 is further configured to display according to the received location information.
  • the LBS application when the LBS application performs network positioning, in addition to directly reading the newly written wireless network information from the shared file, the corresponding location information may also be read from the shared file, without performing network every time.
  • the positioning is performed, the wireless network information scanning is actively initiated, and the positioning server is not required to be accessed every time the network positioning is performed, thereby reducing the frequency of scanning the wireless network information and accessing the positioning server, and effectively reducing the system power consumption of the network positioning. It also responds quickly to network location requests.
  • the determining module 730 includes a second transmitting unit 1102, a second receiving unit 1104, a second writing unit 1106, and a second display unit 1108.
  • the second sending unit 1102 is configured to: when the shared file does not include the wireless network information, send the scanned wireless network information to the positioning server, so that the positioning server calculates the corresponding location information according to the wireless network information.
  • the second receiving unit 1104 is configured to receive location information returned by the positioning server.
  • the second writing unit 1106 is configured to write the location information and the scanned wireless network information into the shared file, and scan the acquired location of the wireless network information as the first flag.
  • the second display unit 1108 is configured to display according to the location information.
  • the wireless network information acquired by scanning and the query by the positioning server may be calculated.
  • the location information is written into the shared file to share the wireless network information and the location information between the LBS applications, which can reduce the scanning wireless network information and the frequency of accessing the positioning server, and effectively reduce the system power consumption during network positioning. Quickly respond to network location requests.
  • Each of the above network positioning devices may be implemented in whole or in part by software, hardware or a combination thereof.
  • the reading module 720 can read the newly written wireless network information from the shared file through the processor of the terminal, where the processor can be a central processing unit (CPU), a microprocessor, or the like.
  • the first transmitting unit 1008 can transmit wireless network information or the like to the server through the network interface of the terminal.
  • the above modules may be embedded in the hardware of the terminal or may be stored in the memory of the terminal in the form of software, so that the processor can call the corresponding operations of the above modules.
  • the embodiment of the present application also provides a computer device. As shown in FIG. 12, for the convenience of description, only the parts related to the embodiments of the present application are shown. If the specific technical details are not disclosed, please refer to the method part of the embodiment of the present application.
  • the computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking a computer device as a mobile phone as an example. :
  • FIG. 12 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a sensor 1250, an audio circuit 1260, a WiFi module 1270, a processor 1280, and a power supply 1290.
  • RF radio frequency
  • the structure of the handset shown in FIG. 12 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the RF circuit 1210 can be used for receiving and transmitting information during the transmission and reception of information or during the call.
  • the downlink information of the base station can be received and processed by the processor 1280.
  • the uplink data can also be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), duplex And so on.
  • RF circuitry 1210 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 GSM, General Packet Radio Service (GPRS), CDMA, Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE)), e-mail, Short Messaging Service (SMS), etc.
  • GSM Global System for Mobile Communications
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the memory 1220 can be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1220.
  • the memory 1220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.);
  • the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
  • memory 1220 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 1230 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 1200.
  • the input unit 1230 may include a touch panel 1232 and other input devices 1234.
  • the touch panel 1232 which may also be 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 1232 or near the touch panel 1232. Operation) and drive the corresponding connection device according to a preset program.
  • the touch panel 1232 can include two portions of 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 1280 is provided and can receive commands from the processor 1280 and execute them.
  • the touch panel 1232 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1230 may also include other input devices 1234.
  • other input devices 1234 may include, but are not limited to, a physical keyboard, One or more of function keys (such as volume control buttons, switch buttons, etc.).
  • the display unit 1240 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.
  • Display unit 1240 can include display panel 1242.
  • the display panel 1242 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1232 can cover the display panel 1242. When the touch panel 1232 detects a touch operation thereon or nearby, the touch panel 1232 transmits to the processor 1280 to determine the type of the touch event, and then the processor 1280 is The type of touch event provides a corresponding visual output on display panel 1242.
  • the touch panel 1232 and the display panel 1242 are used as two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 1232 can be integrated with the display panel 1242. Realize the input and output functions of the phone.
  • the handset 1200 can also include at least one type of sensor 1250, 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 1242 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1242 and/or when the mobile phone moves to the ear. Or backlight.
  • the motion sensor may include an acceleration sensor, and the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
  • the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
  • Audio circuitry 1260, speaker 1262, and microphone 1264 can provide an audio interface between the user and the handset.
  • the audio circuit 1260 can transmit the converted electrical data of the received audio data to the speaker 1262, and convert it into a sound signal output by the speaker 1262; on the other hand, the microphone 1264 converts the collected sound signal into an electrical signal, by the audio circuit 1260. After receiving, it is converted into audio data, and then processed by the audio data output processor 1280, transmitted to another mobile phone via the RF circuit 1210, or outputted to the memory 1220 for subsequent processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help with the WiFi module 1270.
  • Users send and receive email, browse the web and access streaming media, etc., which provides users with wireless broadband Internet access.
  • the processor 1280 is a control center for the handset that 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 1220, and invoking data stored in the memory 1220, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • processor 1280 can include one or more processing units.
  • the processor 1280 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, etc.; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1280.
  • the mobile phone 1200 also includes a power supply 1290 (such as a battery) for powering various components.
  • a power supply 1290 (such as a battery) for powering various components.
  • the power supply 1290 can be logically coupled to the processor 1280 through a power management system to manage functions such as charging, discharging, and power management through a power management system. .
  • the handset 1200 can also include a camera, a Bluetooth module, and the like.
  • the processor 1280 included in the mobile terminal implements the network positioning method described above when executing a computer program stored in the memory.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the information processing method described above.
  • a computer program product comprising a computer program, when executed on a computer device, causes the computer device to perform the information processing method described above when executed.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
  • Non-volatile and/or volatile memory may include Non-volatile and/or volatile memory.
  • Suitable non-volatile memories can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM), which acts as an external cache.
  • RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization.

Landscapes

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

Abstract

本申请一种网络定位方法,包括:接收网络定位请求;根据网络定位请求从共享文件中读取最新写入的无线网络信息,共享文件用于存储移动终端连接的无线网络信息;根据无线网络信息确定对应的位置信息。

Description

网络定位方法、计算机设备及非易失性可读存储介质
相关申请的交叉引用
本申请要求于2017年3月14日提交中国专利局、申请号为2017101509224、发明名称为“网络定位方法、装置及计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及网络技术领域,特别是涉及一种网络定位方法、计算机设备及非易失性可读存储介质。
背景技术
LBS(Location Based Service,基于位置服务)指的是通过电信或移动等运营商的无线电通讯网络,例如GSM(Global System for Mobile Communication,全球移动通信系统)网络、CDMA(Code Division Multiple Access,码多分址)网络等,或外部定位方式,例如GPS(Global Positioning System,全球定位系统)等,获取移动终端用户的位置信息,在GIS(Geographic Information System,地理信息系统)平台的支持下,为用户提供相应服务的一种增值业务。
各大网络定位提供商为了推广自身的LBS服务,通常会公布定位的SDK(Software Development Kit,软件开发工具包),传统的LBS应用大多都集成了由第三方网络定位提供商提供的SDK。由于SDK的独立性,移动终端上的每一个LBS应用在每次进行网络定位时,都需要扫描获取无线网络信息,才能实现网络定位。当被使用的LBS应用较多时,各LBS应用集成的SDK会频繁地主动发起无线网络信息扫描,导致移动终端上的系统功耗增大,并引起无线上网延迟等问题。
发明内容
根据本申请的各种实施例,提供一种网络定位方法、计算机设备及非易失性可读存储介质。
一种网络定位方法,包括:
接收网络定位请求;
根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,所述共享文件用于存储移动终端连接的无线网络信息;及
根据所述无线网络信息确定对应的位置信息。
一种计算机设备,包括存储器和处理器,所述存储器中储存有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行以下步骤:
接收网络定位请求;
根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,所述共享文件用于存储移动终端连接的无线网络信息;及
根据所述无线网络信息确定对应的位置信息。
一个或多个存储有计算机可执行指令的非易失性可读存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
接收网络定位请求;
根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,所述共享文件用于存储移动终端连接的无线网络信息;及
根据所述无线网络信息确定对应的位置信息。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中终端的框图;
图2为一个实施例中网络定位方法的流程图;
图3为一个实施例中对无线网络信息进行监听的流程图;
图4为一个实施例中从共享文件中读取无线网络信息的流程图;
图5为一个实施例中根据无线网络信息确定对应的位置信息的流程图;
图6为另一个实施例中根据无线网络信息确定对应的位置信息的流程图;
图7为一个实施例中网络定位装置的框图;
图8为另一个实施例中网络定位装置的框图;
图9为一个实施例中读取模块的框图;
图10为一个实施例中确定模块的框图;
图11为另一个实施例中确定模块的框图;
图12为一个实施例中计算机设备的框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。
图1为一个实施例中终端的框图。如图1所示,该终端包括通过系统总线连接的处理器、非易失性存储介质、内存储器和网络接口、显示屏和输入装置。其中,终端的非易失性存储介质存储有操作系统及计算机可执行指令,该计算机可执行指令被处理器执行时以实现本申请实施例中提供的一种网络定位方法。该处理器用于提供计算和控制能力,支撑整个终端的运行。终端中的内存储器为非易失性存储介质中的计算机可执行指令的运行提供环境。网络接口用于与服务器进行网络通信,如向服务器发送无线网络信息、接收服务器返回的位置信息等。终端的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该终端可以是手机、平板电脑或者个人数字助理或穿戴式设备等。本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
如图2所示,在一个实施例中,提供一种网络定位方法,包括以下步骤:
步骤S210,接收网络定位请求。
在本申请实施例中,当用户在移动终端上使用LBS应用上的网络定位功能时,LBS应用可向移动终端的操作系统发送网络定位请求,其中,移动终端可包括手机、个人数字助理、笔记本电脑及台式计算机等,LBS应用可包括社交型LBS应用、生活服务型LBS应用及游戏型LBS应用等。每个LBS应用中可集成有由第三方网络定位提供商提供的SDK。
步骤S220,根据网络定位请求从共享文件中读取最新写入的无线网络信息。
移动终端的操作系统接收由LBS应用发送的网络定位请求,可根据网络定位请求从共享文件中读取最新写入的无线网络信息,其中,共享文件用于存储移动终端连接的无线网络信息,可将移动终端每一次连接的无线网络信 息写入共享文件中。无线网络信息可包括WiFi(Wireless Fidelity,无线保真)的热点信息和/或移动通讯中的基站信息等,其中,WiFi热点指的是WiFi的接入点(Access Point,AP),可主要包括路由交换接入一体设备和纯接入点设备等,路由交换接入一体设备可执行接入和路由功能,纯接入设备只负责无线接入,移动终端可通过接入WiFi热点使用WiFi网络。WiFi的热点信息可包括WiFi热点的BSSID(Basic Service Set Identifier,基本服务集标识)、SSID(Service Set Identifier,服务集标识)及信号强度等,其中,BSSID用于标识一个基本服务集,一般可为WiFi热点的MAC(Media Access Control,介质访问控制)地址,SSID用于标识WiFi热点,一般可为WiFi热点的名称。基站信息可包括基站的CID(Cell Identity,基站编号)、LAC(Location Area Code,位置区域码)及信号强度等。
在一个实施例中,当将移动终端每一次连接的无线网络信息写入共享文件时,可同时在共享文件中记录写入时间,操作系统可按照写入时间的先后,从共享文件中选取写入时间最后的无线网络信息,即为最新写入的无线网络信息进行读取。
在一个实施例中,移动终端可预先规定共享文件中无线网络信息的写入位置,例如,每次都将无线网络信息写入共享文件的最末端,其中,写入共享文件的最末端指的是在共享文件原内容的末尾写入新的无线网络信息,在不同时刻写入的无线网络信息中间可用空格或空行隔开。当移动终端的操作系统接收到网络定位请求,可从共享文件中选取位于文件内容最后面的无线网络信息,即为最新写入的无线网络信息进行读取。
步骤S230,根据无线网络信息确定对应的位置信息。
移动终端的操作系统从共享文件中读取无线网络信息后,可根据无线网络信息获取对应的位置信息,其中,位置信息可包含经纬度信息等,经纬度是经度与纬度组成的一个坐标系统,称为地理坐标系统,它是一种利用三度空间的球面来定义地球上的空间的球面坐标系统,能够标示地球上的任何一个位置。位置信息可以是移动终端上预先存储的与无线网络信息对应的位置 信息,也可以是由定位服务器根据无线网络信息实时进行计算得到。
在一个实施例中,移动终端的操作系统获取与无线网络信息对应的位置信息后,可将位置信息返回给发送网络定位请求的LBS应用,LBS应用可根据位置信息进行展示,例如,在地图上展示与位置信息对应的点,或是展示与该位置信息相关的美食、银行、超市等生活服务等,但不限于此,具体的展示内容可根据LBS应用提供的具体服务功能确定。
上述网络定位方法,接收网络定位请求,根据网络定位请求从共享文件中读取最新写入的无线网络信息,根据无线网络信息确定对应的位置信息,通过共享文件实现各LBS应用之间无线网络信息的共享,无需每次进行网络定位时都主动发起无线网络信息扫描,可降低扫描无线网络信息频率,从而有效降低网络定位时的系统功耗,并减少无线上网延迟。
如图3所示,在一个实施例中,在步骤S210接收网络定位请求之前,还包括以下步骤:
步骤S302,对无线网络信息进行监听。
移动终端中可预先建立用于监听网络状态的进程,对无线网络信息进行监听,当移动终端的操作系统中的无线网络信息发生了变化,例如,移动终端连接的WiFi热点发生变化,或移动终端连接的基站发生变化等,操作系统可向监听无线网络信息的进程广播无线网络变化消息。
步骤S304,当检测到无线网络信息发生变化时,将变化后的无线网络信息写入共享文件。
当移动终端中用于监听无线网络信息的进程接收到无线网络变化消息,也即,当检测到无线网络信息发生变化时,该进程解析接收到的无线网络变化消息,可得到变化后的WiFi热点信息或基站信息等无线网络信息,并将变化后的无线网络信息写入预先创建的共享文件中,其中,共享文件除了存储移动终端连接的无线网络信息外,也可存储其它共享数据,移动终端上的不同应用可通过共享文件实现数据共享。
在本实施例中,可对无线网络信息进行监听,并将变化后的无线网络信 息写入共享文件,通过共享文件实现各LBS应用之间无线网络信息的共享,无需每次进行网络定位时都主动发起无线网络信息扫描,可降低扫描无线网络信息频率,从而有效降低网络定位时的系统功耗,并减少无线上网延迟。
如图4所示,在一个实施例中,步骤S220根据网络定位请求从共享文件中读取最新写入的无线网络信息,包括以下步骤:
步骤S402,判断共享文件中是否包含无线网络信息,若是,则执行步骤S404,若否,则执行步骤S406。
在本申请实施例中,LBS应用向移动终端的操作系统发送网络定位请求,当操作系统接收到网络定位请求时,可从共享文件中读取最新写入的无线网络信息。在一个实施例中,可每隔预设时间对共享文件中写入的数据进行清空,例如,每隔12小时、24小时等,可减少操作系统从共享文件中读取数据的时间,提高网络定位的速度。当操作系统要从共享文件中读取最新写入的无线网络信息时,可先判断共享文件中是否包含无线网络信息,若共享文件中存储有无线网络信息,则操作系统可从共享文件中读取最新写入的无线网络信息,并根据读取的无线网络信息确定对应的位置信息。
步骤S404,从共享文件中读取最新写入的无线网络信息。
步骤S406,扫描在移动终端预设范围内的无线网络设备,并获取无线网络设备的无线网络信息。
若共享文件中不包含无线网络信息,也即共享文件中的无线网络信息为空,则移动终端的操作系统可扫描在移动终端预设范围内的无线网络设备,其中,预设范围可根据移动终端实际所处区域中各无线网络设备发出的信号强度而定,若无线网络设备发出的信号强度较强,则预设范围较大,若无线网络设备发出的信号强度较弱,则预设范围较小,例如移动终端扫描300米内的无线网络设备,或扫描500米内的无线网络设备等,并不限于此。无线网络设备可以是作为WiFi热点的设备,例如路由交换接入一体设备、路由器及纯接入设备等,也可以是基站等。
在一个实施例中,移动终端对预设范围内的无线网络设备进行扫描,可 以采用主动扫描或被动扫描等方式。主动扫描指的是移动终端以主动的方式在每个信道上发出探测请求(Probe Request)帧,当预设范围内的无线网络设备接收到探测请求帧时,可发送探测应答(Probe Request)帧进行回应。若移动终端在某信道上接收到探测应答帧,则可进一步获取发出该探测应答帧的无线网络设备的无线网络信息。被动扫描指的是预设范围内的无线网络设备以定时广播的方式发送Beacon(信标)帧,移动终端会在各个信道中切换,接收Beacon帧并进行记录,从而进一步获取发送Beacon帧的无线网络设备的无线网信息。移动终端可采用被动扫描的方式对预设范围内的无线网络设备进行扫描,并获取无线网络信号,因在扫描过程中不需要传送任何信号,可以节省移动终端的功耗。
在本实施例中,当LBS应用进行网络定位时,可直接从共享文件中读取最新写入的无线网络信息,无需每次进行网络定位时都主动发起无线网络信息扫描,可降低扫描无线网络信息频率,从而有效降低网络定位时的系统功耗,并减少无线上网延迟。
如图5所示,在一个实施例中,步骤S230根据无线网络信息确定对应的位置信息,还包括:
步骤S502,获取与最新写入的无线网络信息匹配的标志位。
在一个实施例中,移动终端可通过预先建立的监听进程监听无线网络信息,当无线网络信息发送变化时,监听进程可将变化后的无线网络信息写入共享文件中,并将写入的无线网络信息的标志位置为第二标志位。无线网络信息的标志位可用于标志无线网络信息是否曾被用于计算位置信息,也即,标志位可用于表示在共享文件中是否存储有与无线网络信息对应的位置信息。在本实施例中,当无线网络信息的标志位为第一标志位时,表示该无线网络信息曾被用于计算位置信息,也即共享文件中存储有与该无线网络信息对应的位置信息;当无线网络信息的标志位为第二标志位时,表示该无线网络信息不曾被用于计算位置信息,也即共享文件中没有存储与该无线网络信息对应的位置信息。第一标志位、第二标志位可根据实际需求设定不同的表 示方式,例如第一标志位为false,第二标志位为true,或是第一标志位为0,第二标志位为1等,并不限于此。
步骤S504,判断标志位为第一标志位还是第二标志位,若是第一标志位,则执行步骤S506,若是第二标志位,则执行步骤S508。
当共享文件中包含无线网络信息时,移动终端的操作系统可从共享文件中读取最新写入的无线网络信息,同时可获取该无线网络信息的标志位,并判断标志位为第一标志位还是第二标志位。
步骤S506,从共享文件中读取与最新写入的无线网络信息对应的位置信息,并根据位置信息进行展示。
若获取的标志位为第一标志位,则说明共享文件中存储有与最新写入的无线网络信息对应的位置信息,操作系统可直接从共享文件中读取与最新写入的无线网络信息对应的位置信息,并将该位置信息返回给发起网络定位请求的LBS应用。LBS应用可根据位置信息进行展示,例如,在地图上展示与位置信息对应的点,或是展示与该位置信息相关的美食、银行、超市等生活服务等,但不限于此,具体的展示内容可根据LBS应用提供的具体服务功能确定。
步骤S508,将最新写入的无线网络信息发送至定位服务器,以使定位服务器根据无线网络信息计算对应的位置信息。
若获取的标志位为第二标志位,则说明共享文件中没有存储与最新写入的无线网络信息对应的位置信息,移动终端可将从共享文件中读取的最新写入的无线网络信息发送至定位服务器。定位服务器可根据无线网络信息中WiFi热点的BSSID、SSID或基站的CID等信息,在数据库中查询计算与接收的无线网络信息对应的位置信息。
步骤S510,接收定位服务器返回的位置信息。
步骤S512,将位置信息写入共享文件,并将标志位置为第一标志位。
移动终端接收由定位服务器返回的与无线网络信息对应的位置信息后,可将位置信息写入共享文件中,在共享文件中建立该位置信息与无线网络信 息的对应关系,并将无线网络信息的标志位置为第一标志位。
步骤S514,根据位置信息进行展示。
移动终端的操作系统可将该位置信息返回给发送网络定位请求的LBS应用,LBS应用可根据位置信息进行展示,例如,在地图上展示与位置信息对应的点,或是展示与该位置信息相关的美食、银行、超市等生活服务等,但不限于此,具体的展示内容可根据LBS应用提供的具体服务功能确定。
在本实施例中,当LBS应用进行网络定位时,除了可直接从共享文件中读取最新写入的无线网络信息外,也可从共享文件中读取对应的位置信息,无需每次进行网络定位时都主动发起无线网络信息扫描,也无需每次进行网络定位时都对定位服务器进行访问,可降低扫描无线网络信息及访问定位服务器的频率,在有效降低网络定位的系统功耗的同时,也可快速响应网络定位请求。
如图6所示,在一个实施例中,步骤S230根据无线网络信息确定对应的位置信息,包括以下步骤:
步骤S602,当共享文件中不包含无线网络信息时,将扫描获取的无线网络信息发送至定位服务器,以使定位服务器根据无线网络信息计算对应的位置信息。
当共享文件中不包含无线网络信息时,移动终端可扫描预设范围内的无线网络设备,并获取无线网络信息。在一个实施例中,移动终端扫描获取的无线网络信息可以是一份或多份,移动终端可从中选取信号强度最强的无线网络设备的无线网络信息发送至定位服务器,也可以根据获取的多份无线网络信息生成无线网络信息列表,并将无线网络信息列表发送至定位服务器,从而提高位置信息的准确度。定位服务器可根据接收的无线网络信息或无线网络信息列表,在数据库中查询计算对应的位置信息。
步骤S604,接收定位服务器返回的位置信息。
步骤S606,将位置信息及扫描获取的无线网络信息写入共享文件,并将扫描获取的无线网络信息的标志位置为第一标志位。
移动终端接收由定位服务器返回的位置信息后,可将位置信息与发送给定位服务器的无线网络信息或无线网络信息列表一起写入共享文件中,建立写入的位置信息与无线网络信息或无线网络信息列表的对应关系,并将写入的无线网络信息或无线网络信息列表的标志位置为第一标志位,当下一LBS应用发起网络定位请求时,移动终端的操作系统可直接从共享文件中读取无线网络信息及对应的位置信息。
步骤S608,根据位置信息进行展示。
移动终端的操作系统可将该位置信息返回给发送网络定位请求的LBS应用,LBS应用可根据位置信息进行展示,例如,在地图上展示与位置信息对应的点,或是展示与该位置信息相关的美食、银行、超市等生活服务等,但不限于此,具体的展示内容可根据LBS应用提供的具体服务功能确定。
可以理解地,将无线网络信息写入共享文件中,除了实现各LBS应用间无线网络信息的共享外,其它非LBS应用当需要获取无线网络信息时,也可直接从共享文件中读取,并不仅限于LBS应用及网络定位功能。
在本实施例中,可将扫描获取的无线网络信息及由定位服务器查询计算的位置信息写入共享文件中,实现各LBS应用间无线网络信息与位置信息的共享,可降低扫描无线网络信息及访问定位服务器的频率,在有效降低网络定位时的系统功耗的同时,也可快速响应网络定位请求。
如图7所示,在一个实施例中,提供一种网络定位装置700,包括接收模块710、读取模块720及确定模块730。
接收模块710,用于接收网络定位请求。
读取模块720,用于根据网络定位请求从共享文件中读取最新写入的无线网络信息,所述共享文件用于存储移动终端连接的无线网络信息。
确定模块730,用于根据无线网络信息确定对应的位置信息。
上述网络定位装置,接收网络定位请求,根据网络定位请求从共享文件中读取最新写入的无线网络信息,根据无线网络信息确定对应的位置信息, 无需每次进行网络定位时都主动发起无线网络信息扫描,可降低扫描无线网络信息频率,从而有效降低网络定位时的系统功耗,并减少无线上网延迟。
如图8所示,在一个实施例中,上述网络定位装置700,除了包括接收模块710、读取模块720及确定模块730,还包括监听模块740及写入模块750。
监听模块740,用于对无线网络信息进行监听。
写入模块750,用于当检测到无线网络信息发生变化时,将变化后的无线网络信息写入共享文件。
在本实施例中,可对无线网络信息进行监听,并将变化后的无线网络信息写入共享文件,通过共享文件实现各LBS应用之间无线网络信息的共享,无需每次进行网络定位时都主动发起无线网络信息扫描,可降低扫描无线网络信息频率,从而有效降低网络定位时的系统功耗,并减少无线上网延迟。
如图9所示,在一个实施例中,读取模块720包括判断单元722、读取单元724及扫描单元726。
判断单元722,用于判断共享文件中是否包含无线网络信息。
读取单元724,用于若共享文件中包含无线网络信息,则从共享文件中读取最新写入的无线网络信息。
扫描单元726,用于若共享文件中不包含无线网络信息,则扫描在移动终端预设范围内的无线网络设备,并获取无线网络设备的无线网络信息。
在本实施例中,当LBS应用进行网络定位时,可直接从共享文件中读取最新写入的无线网络信息,无需每次进行网络定位时都主动发起无线网络信息扫描,可降低扫描无线网络信息频率,从而有效降低网络定位时的系统功耗,并减少无线上网延迟。
如图10所示,在一个实施例中,确定模块730包括标志位获取单元1002、位置信息读取单元1004、第一展示单元1006、第一发送单元1008、第一接收单元1010及第一写入单元1012。
标志位获取单元1002,用于获取与最新写入的无线网络信息匹配的标志 位。
位置信息读取单元1004,用于若标志位为第一标志位,则从共享文件中读取与最新写入的无线网络信息对应的位置信息。
第一展示单元1006,用于根据读取的位置信息进行展示。
第一发送单元1008,用于若标志位为第二标志位,则将最新写入的无线网络信息发送至定位服务器,以使定位服务器根据无线网络信息计算对应的位置信息。
第一接收单元1010,用于接收定位服务器返回的位置信息。
第一写入单元1012,用于将位置信息写入共享文件,并将标志位置为第一标志位。
第一展示单元1006,还用于根据接收的位置信息进行展示。
在本实施例中,当LBS应用进行网络定位时,除了可直接从共享文件中读取最新写入的无线网络信息外,也可从共享文件中读取对应的位置信息,无需每次进行网络定位时都主动发起无线网络信息扫描,也无需每次进行网络定位时都对定位服务器进行访问,可降低扫描无线网络信息及访问定位服务器的频率,在有效降低网络定位的系统功耗的同时,也可快速响应网络定位请求。
如图11所示,在一个实施例中,确定模块730包括第二发送单元1102、第二接收单元1104、第二写入单元1106及第二展示单元1108。
第二发送单元1102,用于当共享文件中不包含无线网络信息时,将扫描获取的无线网络信息发送至定位服务器,以使定位服务器根据无线网络信息计算对应的位置信息。
第二接收单元1104,用于接收定位服务器返回的位置信息。
第二写入单元1106,用于将位置信息及扫描获取的无线网络信息写入共享文件,并将扫描获取的无线网络信息的标志位置为第一标志位。
第二展示单元1108,用于根据位置信息进行展示。
在本实施例中,可将扫描获取的无线网络信息及由定位服务器查询计算 的位置信息写入共享文件中,实现各LBS应用间无线网络信息与位置信息的共享,可降低扫描无线网络信息及访问定位服务器的频率,在有效降低网络定位时的系统功耗的同时,也可快速响应网络定位请求。
上述网络定位装置中的各个模块可全部或部分通过软件、硬件或其组合来实现。例如,在硬件实现上,上述读取模块720可通过终端的处理器从共享文件中读取最新写入的无线网络信息,其中,该处理器可以为中央处理单元(CPU)、微处理器等;第一发送单元1008可通过终端的网络接口向服务器发送无线网络信息等。上述各模块可以硬件形式内嵌于或独立于终端的处理器中,也可以以软件形式存储于终端的存储器中,以便于处理器调用执行以上各个模块对应的操作。
本申请实施例还提供了一种计算机设备。如图12所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该计算机设备可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以计算机设备为手机为例:
图12为与本申请实施例提供的计算机设备相关的手机的部分结构的框图。参考图12,手机包括:射频(Radio Frequency,RF)电路1210、存储器1220、输入单元1230、显示单元1240、传感器1250、音频电路1260、WiFi模块1270、处理器1280、以及电源1290等部件。本领域技术人员可以理解,图12所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
其中,RF电路1210可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器1280处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工 器等。此外,RF电路1210还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM、通用分组无线服务(General Packet Radio Service,GPRS)、CDMA、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器1220可用于存储软件程序以及模块,处理器1280通过运行存储在存储器1220的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1220可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1230可用于接收输入的数字或字符信息,以及产生与手机1200的用户设置以及功能控制有关的键信号输入。具体地,输入单元1230可包括触控面板1232以及其他输入设备1234。触控面板1232,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1232上或在触控面板1232附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板1232可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1280,并能接收处理器1280发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1232。除了触控面板1232,输入单元1230还可以包括其他输入设备1234。具体地,其他输入设备1234可以包括但不限于物理键盘、 功能键(比如音量控制按键、开关按键等)等中的一种或多种。
显示单元1240可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1240可包括显示面板1242。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1242。在一个实施例中,触控面板1232可覆盖显示面板1242,当触控面板1232检测到在其上或附近的触摸操作后,传送给处理器1280以确定触摸事件的类型,随后处理器1280根据触摸事件的类型在显示面板1242上提供相应的视觉输出。虽然在图12中,触控面板1232与显示面板1242是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1232与显示面板1242集成而实现手机的输入和输出功能。
手机1200还可包括至少一种传感器1250,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1242的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1242和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。
音频电路1260、扬声器1262和传声器1264可提供用户与手机之间的音频接口。音频电路1260可将接收到的音频数据转换后的电信号,传输到扬声器1262,由扬声器1262转换为声音信号输出;另一方面,传声器1264将收集的声音信号转换为电信号,由音频电路1260接收后转换为音频数据,再将音频数据输出处理器1280处理后,经RF电路1210可以发送给另一手机,或者将音频数据输出至存储器1220以便后续处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块1270可以帮助 用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。
处理器1280是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1220内的软件程序和/或模块,以及调用存储在存储器1220内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器1280可包括一个或多个处理单元。在一个实施例中,处理器1280可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1280中。
手机1200还包括给各个部件供电的电源1290(比如电池),优选的,电源1290可以通过电源管理系统与处理器1280逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
在一个实施例中,手机1200还可以包括摄像头、蓝牙模块等。
在本申请实施例中,该移动终端所包括的处理器1280执行存储在存储器上的计算机程序时实现上述的网络定位方法。
在一个实施例中,提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述的信息处理方法。
在一个实施例中,提供一种包含计算机程序的计算机程序产品,当其在计算机设备上运行时,使得计算机设备执行时实现上述的信息处理方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。
如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括 非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (18)

  1. 一种网络定位方法,包括:
    接收网络定位请求;
    根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,所述共享文件用于存储移动终端连接的无线网络信息;及
    根据所述无线网络信息确定对应的位置信息。
  2. 根据权利要求1所述的方法,其特征在于,在所述接收网络定位请求之前,还包括:
    对无线网络信息进行监听;及
    当检测到所述无线网络信息发生变化时,将变化后的无线网络信息写入共享文件。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述无线网络信息确定对应的位置信息,包括:
    获取与所述最新写入的无线网络信息匹配的标志位;及
    若所述标志位为第一标志位,则从所述共享文件中读取与所述最新写入的无线网络信息对应的位置信息,并根据所述位置信息进行展示。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述无线网络信息确定对应的位置信息,还包括:
    若所述标志位为第二标志位,则将所述最新写入的无线网络信息发送至定位服务器,以使所述定位服务器根据所述无线网络信息计算对应的位置信息;
    接收所述定位服务器返回的位置信息;
    将所述位置信息写入所述共享文件,并将所述标志位置为第一标志位;及
    根据所述位置信息进行展示。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,包括:
    判断共享文件中是否包含无线网络信息;
    若包含,则从所述共享文件中读取最新写入的无线网络信息;及
    若不包含,则扫描在所述移动终端预设范围内的无线网络设备,并获取所述无线网络设备的无线网络信息。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述无线网络信息确定对应的位置信息,包括:
    当所述共享文件中不包含无线网络信息时,将扫描获取的无线网络信息发送至定位服务器,以使所述定位服务器根据所述无线网络信息计算对应的位置信息;
    接收所述定位服务器返回的位置信息;
    将所述位置信息及所述扫描获取的无线网络信息写入所述共享文件,并将所述扫描获取的无线网络信息的标志位置为第一标志位;及
    根据所述位置信息进行展示。
  7. 一种计算机设备,包括存储器和处理器,所述存储器中储存有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行以下步骤:
    接收网络定位请求;
    根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,所述共享文件用于存储移动终端连接的无线网络信息;及
    根据所述无线网络信息确定对应的位置信息。
  8. 根据权利要求7所述的计算机设备,其特征在于,所述计算机可执行指令被所述处理器执行时,使得所述处理器在执行所述接收网络定位请求的步骤之前,还执行:
    对无线网络信息进行监听;及
    当检测到所述无线网络信息发生变化时,将变化后的无线网络信息写入共享文件的步骤。
  9. 根据权利要求7所述的计算机设备,其特征在于,所述根据所述无线网络信息确定对应的位置信息,包括:
    获取与所述最新写入的无线网络信息匹配的标志位;及
    若所述标志位为第一标志位,则从所述共享文件中读取与所述最新写入的无线网络信息对应的位置信息,并根据所述位置信息进行展示。
  10. 根据权利要求9所述的计算机设备,其特征在于,所述根据所述无线网络信息确定对应的位置信息,还包括:
    若所述标志位为第二标志位,则将所述最新写入的无线网络信息发送至定位服务器,以使所述定位服务器根据所述无线网络信息计算对应的位置信息;
    接收所述定位服务器返回的位置信息;
    将所述位置信息写入所述共享文件,并将所述标志位置为第一标志位;及
    根据所述位置信息进行展示。
  11. 根据权利要求7至10任一所述的计算机设备,其特征在于,所述根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,包括:
    判断共享文件中是否包含无线网络信息;
    若包含,则从所述共享文件中读取最新写入的无线网络信息;及
    若不包含,则扫描在所述移动终端预设范围内的无线网络设备,并获取所述无线网络设备的无线网络信息。
  12. 根据权利要求11所述的计算机设备,其特征在于,所述根据所述无线网络信息确定对应的位置信息,包括:
    当所述共享文件中不包含无线网络信息时,将扫描获取的无线网络信息发送至定位服务器,以使所述定位服务器根据所述无线网络信息计算对应的位置信息;
    接收所述定位服务器返回的位置信息;
    将所述位置信息及所述扫描获取的无线网络信息写入所述共享文件,并 将所述扫描获取的无线网络信息的标志位置为第一标志位;及
    根据所述位置信息进行展示。
  13. 一个或多个存储有计算机可执行指令的非易失性可读存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    接收网络定位请求;
    根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,所述共享文件用于存储移动终端连接的无线网络信息;及
    根据所述无线网络信息确定对应的位置信息。
  14. 根据权利要求13所述的非易失性可读存储介质,其特征在于,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器在执行所述接收网络定位请求的步骤之前,还执行:
    对无线网络信息进行监听;及
    当检测到所述无线网络信息发生变化时,将变化后的无线网络信息写入共享文件的步骤。
  15. 根据权利要求13所述的非易失性可读存储介质,其特征在于,所述根据所述无线网络信息确定对应的位置信息,包括:
    获取与所述最新写入的无线网络信息匹配的标志位;及
    若所述标志位为第一标志位,则从所述共享文件中读取与所述最新写入的无线网络信息对应的位置信息,并根据所述位置信息进行展示。
  16. 根据权利要求15所述的非易失性可读存储介质,其特征在于,所述根据所述无线网络信息确定对应的位置信息,还包括:
    若所述标志位为第二标志位,则将所述最新写入的无线网络信息发送至定位服务器,以使所述定位服务器根据所述无线网络信息计算对应的位置信息;
    接收所述定位服务器返回的位置信息;
    将所述位置信息写入所述共享文件,并将所述标志位置为第一标志位;及
    根据所述位置信息进行展示。
  17. 根据权利要求13至16任一所述的非易失性可读存储介质,其特征在于,所述根据所述网络定位请求从共享文件中读取最新写入的无线网络信息,包括:
    判断共享文件中是否包含无线网络信息;
    若包含,则从所述共享文件中读取最新写入的无线网络信息;及
    若不包含,则扫描在所述移动终端预设范围内的无线网络设备,并获取所述无线网络设备的无线网络信息。
  18. 根据权利要求17所述的非易失性可读存储介质,其特征在于,所述根据所述无线网络信息确定对应的位置信息,包括:
    当所述共享文件中不包含无线网络信息时,将扫描获取的无线网络信息发送至定位服务器,以使所述定位服务器根据所述无线网络信息计算对应的位置信息;
    接收所述定位服务器返回的位置信息;
    将所述位置信息及所述扫描获取的无线网络信息写入所述共享文件,并将所述扫描获取的无线网络信息的标志位置为第一标志位;及
    根据所述位置信息进行展示。
PCT/CN2017/106764 2017-03-14 2017-10-18 网络定位方法、计算机设备及非易失性可读存储介质 WO2018166202A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710150922.4 2017-03-14
CN201710150922.4A CN106993327B (zh) 2017-03-14 2017-03-14 网络定位方法、装置及计算机设备

Publications (1)

Publication Number Publication Date
WO2018166202A1 true WO2018166202A1 (zh) 2018-09-20

Family

ID=59411586

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106764 WO2018166202A1 (zh) 2017-03-14 2017-10-18 网络定位方法、计算机设备及非易失性可读存储介质

Country Status (2)

Country Link
CN (1) CN106993327B (zh)
WO (1) WO2018166202A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993327B (zh) * 2017-03-14 2019-07-23 Oppo广东移动通信有限公司 网络定位方法、装置及计算机设备
KR101986634B1 (ko) * 2017-11-13 2019-09-30 (주)에프씨아이 사물인터넷 기기의 전력 절감 방법 및 장치
CN109104261A (zh) * 2018-09-28 2018-12-28 深圳高新兴物联科技有限公司 基于lbs的本地时间获取方法、终端及存储介质
CN110430559A (zh) * 2019-07-08 2019-11-08 深圳市优博讯科技股份有限公司 专网环境下智能终端的定位方法、系统和通信设备
CN112367613B (zh) * 2020-11-20 2023-07-18 惠州Tcl移动通信有限公司 一种定位方法、装置、存储介质及终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040002343A1 (en) * 2002-06-28 2004-01-01 Compaq Information Technologies Group, L.P. Location determination in a wireless communication network
CN103906235A (zh) * 2014-04-04 2014-07-02 小米科技有限责任公司 终端定位的方法及终端
CN105163275A (zh) * 2015-07-31 2015-12-16 腾讯科技(深圳)有限公司 一种数据发送方法、相关装置及系统
US20160100290A1 (en) * 2011-08-18 2016-04-07 Rivada Research, Llc Method and System for Providing Enhanced Location Based Information for Wireless Handsets
CN106993327A (zh) * 2017-03-14 2017-07-28 广东欧珀移动通信有限公司 网络定位方法、装置及计算机设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8744478B2 (en) * 2008-02-20 2014-06-03 Qualcomm Incorporated Method and apparatus for executing location dependent application in a mobile handset

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040002343A1 (en) * 2002-06-28 2004-01-01 Compaq Information Technologies Group, L.P. Location determination in a wireless communication network
US20160100290A1 (en) * 2011-08-18 2016-04-07 Rivada Research, Llc Method and System for Providing Enhanced Location Based Information for Wireless Handsets
CN103906235A (zh) * 2014-04-04 2014-07-02 小米科技有限责任公司 终端定位的方法及终端
CN105163275A (zh) * 2015-07-31 2015-12-16 腾讯科技(深圳)有限公司 一种数据发送方法、相关装置及系统
CN106993327A (zh) * 2017-03-14 2017-07-28 广东欧珀移动通信有限公司 网络定位方法、装置及计算机设备

Also Published As

Publication number Publication date
CN106993327B (zh) 2019-07-23
CN106993327A (zh) 2017-07-28

Similar Documents

Publication Publication Date Title
WO2018166202A1 (zh) 网络定位方法、计算机设备及非易失性可读存储介质
US8547342B2 (en) Gesture-based delivery from mobile device
US10863407B2 (en) Method for setting Wi-Fi roaming, and related products
US20220155919A1 (en) Method for Displaying Different Application Shortcuts on Different Screens
JP6714803B1 (ja) 画像共有方法および電子デバイス
AU2016424950A1 (en) Method for displaying current geographical location on emergency call screen and terminal
KR102092057B1 (ko) 전자 장치의 위치 정보 공유 방법 및 장치
TWI512525B (zh) 關聯終端的方法及系統、終端及電腦可讀取儲存介質
CN108762859B (zh) 壁纸显示方法、装置、移动终端及存储介质
WO2018161962A1 (zh) 分享图像的方法、电子设备及系统
US9497565B1 (en) Interface display method, device, terminal, server and system
WO2020077485A1 (zh) 电子围栏更新的方法和通信装置
WO2018103443A1 (zh) 一种网络定位方法及终端设备
WO2018103441A1 (zh) 一种网络定位方法及终端设备
CN108733337B (zh) 屏幕显示方法和装置、电子设备、计算机可读存储介质
WO2019140657A1 (zh) 一种网络连接的方法、装置及终端
US11394871B2 (en) Photo taking control method and system based on mobile terminal, and storage medium
US9824476B2 (en) Method for superposing location information on collage, terminal and server
WO2018145477A1 (zh) 一种网络接入方法及终端
US9467794B2 (en) Method and system for audio channel setup
WO2019061512A1 (zh) 一种任务切换方法及终端
CN108471630B (zh) 传输速率调整方法、装置、移动终端及计算机可读介质
CN108848566B (zh) 无线通信传输方法、装置、移动终端及计算机可读取存储介质
CN108513005B (zh) 联系人信息处理方法和装置、电子设备、存储介质
US10962653B2 (en) Positioning method and apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1