CN106658709B - Positioning method and device, electronic equipment and server - Google Patents

Positioning method and device, electronic equipment and server Download PDF

Info

Publication number
CN106658709B
CN106658709B CN201611180904.2A CN201611180904A CN106658709B CN 106658709 B CN106658709 B CN 106658709B CN 201611180904 A CN201611180904 A CN 201611180904A CN 106658709 B CN106658709 B CN 106658709B
Authority
CN
China
Prior art keywords
access device
access
equipment
signal
server
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.)
Active
Application number
CN201611180904.2A
Other languages
Chinese (zh)
Other versions
CN106658709A (en
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201611180904.2A priority Critical patent/CN106658709B/en
Publication of CN106658709A publication Critical patent/CN106658709A/en
Application granted granted Critical
Publication of CN106658709B publication Critical patent/CN106658709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement
    • G01S19/46Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement the supplementary measurement being of a radio-wave signal type
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/48Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

A positioning method applied to an electronic device, the electronic device being in communication with a server, the method comprising: acquiring a broadcast message sent by each access device in a current area; analyzing signal information corresponding to each access device from a broadcast message sent by each access device; sending signal information corresponding to each access device to the server; and after the server determines the position information of the electronic equipment based on the signal information corresponding to each access equipment, receiving the position information sent by the server and outputting the position information to a user. The invention also provides a positioning device. The invention can improve the positioning precision.

Description

Positioning method and device, electronic equipment and server
Technical Field
The present invention relates to the field of positioning technologies, and in particular, to a positioning method and apparatus, an electronic device, and a server.
Background
In the existing outdoor positioning technology, in an environment without shielding, electronic equipment utilizes GPS satellite signals and communication base station signals to perform positioning. However, in a complex environment such as indoors, due to reasons such as shading, the electronic device cannot receive GPS satellite signals, that is, cannot realize positioning and navigation of GPS signals, and an error of signal positioning of a communication base station is often between tens of meters and hundreds of meters, and cannot meet positioning accuracy of indoor positioning.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a positioning method, a positioning apparatus, an electronic device, and a server, so as to improve positioning accuracy.
A positioning method applied to an electronic device, the electronic device being in communication with a server, the method comprising:
acquiring a broadcast message sent by each access device in a current area;
analyzing signal information corresponding to each access device from a broadcast message sent by each access device;
sending signal information corresponding to each access device to the server; and
and after the server determines the position information of the electronic equipment based on the signal information corresponding to each access equipment, receiving the position information sent by the server and outputting the position information to a user.
According to a preferred embodiment of the present invention, the signal information includes: identification of access device, signal strength, and point in time.
According to a preferred embodiment of the invention, the method further comprises:
acquiring GPS signal parameters;
and when the GPS signal parameter is within a preset parameter range, determining the position information according to the GPS signal.
A positioning method applied in a server, the server communicating with an electronic device, the method comprising:
receiving signal information corresponding to each access device sent by the electronic device;
determining target access equipment according to the signal information corresponding to each access equipment;
acquiring the position data of the target access equipment;
calculating the position information of the electronic equipment according to the signal information and the position data of the target access equipment; and
and sending the position information to the electronic equipment.
According to a preferred embodiment of the present invention, the signal information includes: identification of access device, signal strength, and point in time.
According to a preferred embodiment of the present invention, the determining a target access device according to the signal information corresponding to each access device includes:
acquiring a preset power schedule of each access device from storage equipment of the server according to the identifier of each access device in the signal information corresponding to each access device;
according to the time point corresponding to each access device, searching the transmitting power corresponding to each access device in a preset power time table of each access device;
calculating a signal attenuation value corresponding to each access device according to the transmitting power corresponding to each access device and the signal strength corresponding to each access device; and
and determining the access equipment with the signal attenuation value within the preset interval range as the target access equipment.
According to a preferred embodiment of the invention, the method further comprises:
when the number of the target access devices is smaller than the preset number, the number of the target access devices is increased by adjusting a preset power schedule of at least one access device in the current area.
According to a preferred embodiment of the present invention, the calculating the location information of the electronic device according to the signal information and the location data of the target access device includes:
acquiring signal information and position data of the target access equipment according to a preset time interval;
calculating a plurality of position coordinates of the electronic device using an indoor positioning method;
and when the errors of the position coordinates are within a preset error range, determining the position information according to the position coordinates.
According to a preferred embodiment of the invention, the method further comprises:
when the errors of the position coordinates are not in a preset error range, the number of the target access devices is increased by adjusting a preset power schedule of at least one access device in the current area.
According to a preferred embodiment of the invention, the method further comprises:
determining a number of the electronic devices in the current area;
and adjusting a preset power schedule of the access equipment in the current area according to the number of the electronic equipment.
A positioning apparatus for operation in an electronic device, the electronic device in communication with a server, the apparatus comprising:
the acquisition module is used for acquiring the broadcast message sent by each access device in the current area;
the analysis module is used for analyzing the signal information corresponding to each access device from the broadcast message sent by each access device;
the sending module is used for sending the signal information corresponding to each access device to the server;
and the output module is used for receiving the position information sent by the server and outputting the position information to a user after the server determines the position information of the electronic equipment based on the signal information corresponding to each access device.
According to a preferred embodiment of the present invention, the signal information includes: identification of access device, signal strength, and point in time.
According to the preferred embodiment of the present invention, the acquiring module is further configured to acquire GPS signal parameters;
the acquisition module is further configured to determine the location information according to the GPS signal when the GPS signal parameter is within a preset parameter range.
A positioning apparatus operating in a server in communication with an electronic device, the apparatus comprising:
the receiving module is used for receiving signal information which is sent by the electronic equipment and corresponds to each access equipment;
the determining module is used for determining target access equipment according to the signal information corresponding to each access equipment;
the data acquisition module is used for acquiring the position data of the target access equipment;
the computing module is used for computing the position information of the electronic equipment according to the signal information and the position data of the target access equipment; and
and sending the position information to the electronic equipment.
According to a preferred embodiment of the present invention, the signal information includes: identification of access device, signal strength, and point in time.
According to a preferred embodiment of the present invention, the determining module is configured to determine the target access device according to the signal information corresponding to each access device, and includes:
acquiring a preset power schedule of each access device from storage equipment of the server according to the identifier of each access device in the signal information corresponding to each access device;
according to the time point corresponding to each access device, searching the transmitting power corresponding to each access device in a preset power time table of each access device;
calculating a signal attenuation value corresponding to each access device according to the transmitting power corresponding to each access device and the signal strength corresponding to each access device; and
and determining the access equipment with the signal attenuation value within the preset interval range as the target access equipment.
According to a preferred embodiment of the invention, the apparatus further comprises:
a first adjusting module, configured to, when the number of the target access devices is smaller than a preset number, increase the number of the target access devices by adjusting a preset power schedule of at least one access device in the current area.
According to a preferred embodiment of the present invention, the calculating module is configured to calculate the location information of the electronic device according to the signal information and the location data of the target access device, and includes:
acquiring signal information and position data of the target access equipment according to a preset time interval;
calculating a plurality of position coordinates of the electronic device using an indoor positioning method;
and when the errors of the position coordinates are within a preset error range, determining the position information according to the position coordinates.
According to a preferred embodiment of the invention, the apparatus further comprises:
a second adjusting module, configured to increase the number of the target access devices by adjusting a preset power schedule of at least one access device in the current area when the errors of the plurality of position coordinates are not within a preset error range.
According to a preferred embodiment of the invention, the apparatus further comprises:
a third adjusting module, configured to determine the number of the electronic devices in the current area;
the third adjusting module is further configured to adjust a preset power schedule of the access device in the current area according to the number of the electronic devices.
An electronic device comprising a memory and a processor,
the memory is to store at least one instruction;
the processor is configured to execute the at least one instruction, and is configured to acquire a broadcast packet sent by each access device in a current area; analyzing signal information corresponding to each access device from a broadcast message sent by each access device; the signal information corresponding to each access device is sent to a server; and after the server determines the position information of the electronic equipment based on the signal information corresponding to each access equipment, receiving the position information sent by the server and outputting the position information to a user.
A server, comprising a storage device and a processing device,
the storage device is used for storing at least one instruction;
the processing device is configured to execute the at least one instruction, and is configured to receive signal information, which is sent by the electronic device and corresponds to each access device; determining target access equipment according to the signal information corresponding to each access equipment; acquiring the position data of the target access equipment; calculating the position information of the electronic equipment according to the signal information and the position data of the target access equipment; and sending the position information to the electronic equipment.
According to the technical scheme, the electronic equipment acquires the broadcast message sent by each access device in the current area, analyzes the signal information corresponding to each access device from the broadcast message sent by each access device, and sends the signal information corresponding to each access device to the server. The server determines the position information of the electronic equipment based on the signal information corresponding to each access equipment. And the electronic equipment receives the position information sent by the server and outputs the position information to a user. The invention can effectively improve the positioning precision.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is an application environment diagram of a preferred embodiment of the present invention for implementing a positioning method.
Fig. 2 is a flow chart of a positioning method according to a first preferred embodiment of the present invention.
Fig. 3 is a flowchart of a positioning method according to a second preferred embodiment of the present invention.
FIG. 4 is a functional block diagram of a positioning device according to a first preferred embodiment of the present invention.
FIG. 5 is a functional block diagram of a positioning device according to a second preferred embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an electronic device implementing a positioning method according to a preferred embodiment of the invention.
Fig. 7 is a schematic structural diagram of a server according to a preferred embodiment of the present invention.
Description of the main elements
Electronic equipment 1
Server 2
Access controller 3
Access device 4
Memory 12
Processor 13
Storage device 22
Treatment apparatus 23
Positioning device 11, 21
Acquisition module 100
Judging module 101
Parsing module 102
Sending module 103
Output module 104
Receiving module 200
Determination module 201
First adjusting module 202
Data acquisition module 203
Calculation Module 204
Second adjustment module 205
Third adjustment module 206
Data transmission module 207
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a diagram of an application environment of a preferred embodiment of the present invention for implementing a positioning method. The application environment diagram includes an electronic device 1, a server 2, an Access Controller (AC) 3, and an Access device 4.
Preferably, the positioning method of the present invention can be applied to a plurality of electronic devices 1 or a plurality of servers 2 (only one is shown in fig. 1). The electronic device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The electronic device 1 may be any electronic product capable of performing human-computer interaction with a user, such as a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an interactive web Television (IPTV), and a smart wearable device.
The Network where the electronic device 1 is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
The server 2 also includes, but is not limited to, a single web server, a server group consisting of a plurality of web servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of hosts or web servers, wherein Cloud Computing is one of distributed Computing, a super virtual computer consisting of a collection of loosely coupled computers.
The access controller 3 is a network device, which is the core of the wireless network and is responsible for managing the access devices 4 in the wireless network. The management of the access device 4 comprises: configuring data of the access device 4, modifying configuration parameters of the access device 4, access security control, etc.
The access device 4 is a device capable of providing a wireless access point for the electronic device 1, e.g. a wireless router or the like. The access devices 4 are placed in different locations. The electronic device 1 accesses a wireless network through a wireless access point provided by the access device 4.
The electronic device 1 may establish a communication connection with the server 2 through a wireless network or a cellular data network.
Fig. 2 is a flow chart of a positioning method according to a first preferred embodiment of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
S10, the electronic device 1 obtains the broadcast message sent by each access device 4 in the current area.
In at least one embodiment of the present invention, the electronic device 1 detects whether a wireless function (e.g., a Wi-Fi function) is turned on, for example, when the electronic device 1 detects that the current parameter of the wireless function is a parameter for turning on the wireless function, such as 1, the electronic device 1 determines that the wireless function is in an on state. When the electronic device 1 detects that the current parameter of the wireless function is a parameter for closing the wireless function, if the current parameter is 0, the electronic device 1 determines that the wireless function is in a closed state, and the electronic device 1 outputs a prompt message to prompt a user to open the wireless function. There are many ways to prompt the user, such as a prompt box, voice prompt, etc., and the present invention is not limited thereto.
After the wireless function is turned on, the electronic device 1 performs channel scanning by using a wireless module (such as a Wi-Fi chip) to obtain a broadcast message sent by each access device 4 in the current area.
In at least one embodiment of the present invention, the range of the current region may be determined according to the performance of the wireless module to scan signals. The current area may also be a preset area with the current position of the electronic device 1 as the center, and the like, and of course, the current area may also have other defining manners. The current area may be an indoor area (e.g., a mall, a parking lot, etc.) or an outdoor area.
In at least one embodiment of the present invention, at least one access device 4 is distributed at different locations within an area, with each access device 4 providing a wireless access point. For example, in a shopping mall, the access device 4 located at each store may provide a wireless access point for the user to connect to the wireless network.
Each access device 4 transmits the broadcast message according to the first time interval according to the preset power time table corresponding to each access device 4. The predetermined power schedule is a set of matrices of time and transmit power that instruct the access device 4 to transmit signals at different time points with a predetermined power. The time interval of the preset power schedule is greater than or equal to the first time interval.
The server 2 stores a preset power schedule corresponding to each access device 4, location data corresponding to each access device 4, and an identifier of each access device 4. The identification may be a physical address (MAC) or the like.
Further, in at least one embodiment of the present invention, the electronic device 1 acquires GPS signal parameters and determines whether to use GPS signals to locate the position of the electronic device 1. The GPS signal parameters include, but are not limited to: GPS signal strength, signal-to-noise ratio of GPS signals, and the like. And when the GPS signal parameter is within the preset parameter range, the electronic equipment 1 acquires the position information by adopting the GPS signal. When the GPS signal parameter is not within the preset parameter range, S10 is performed.
S11, the electronic device 1 analyzes the signal information corresponding to each access device 4 from the broadcast packet sent by each access device 4.
In at least one embodiment of the present invention, the electronic device 1 parses the broadcast packet sent by each access device 4 according to the communication protocol of each access device 4 and the format of the broadcast packet sent by each access device 4. The signal information includes, but is not limited to: identification of access device 4, signal strength, and point in time. The signal strength corresponding to each access device 4 is the strength of the electronic device 1 receiving the signal transmitted by each access device 4 at the current position. The time corresponding to each access device 4 is the time when the electronic device 1 receives the signal transmitted by each access device 4.
S12, the electronic device 1 sends the signal information corresponding to each access device 4 to the server 2.
In at least one embodiment of the present invention, the electronic device 1 acquires the signal information corresponding to each access device 4 according to the second time interval, and sends the signal information corresponding to each access device 4 to the server 2.
S13, when the server 2 determines the location information of the electronic device 1 based on the signal information corresponding to each access device 4, the electronic device 1 receives the location information sent by the server 2, and outputs the location information to the user.
In at least one embodiment of the present invention, the server 2 receives signal information corresponding to each access device sent by the electronic device. And the server 2 determines the target access equipment according to the signal information corresponding to each access equipment. The server 2 acquires the position data of the target access equipment; and calculating the position information of the electronic equipment according to the signal information and the position data of the target access equipment. The server 2 sends the position information to the electronic device. A flowchart for the server 2 to determine the location information of the electronic device 1 will be detailed in fig. 3.
In at least one embodiment of the present invention, the electronic device 1 outputs the location information in many ways, for example, the location information of the electronic device 1 may be displayed in a map manner, and the location information is marked on the map for the user to view. The electronic device 1 may also output in text form or in voice form, such as at street a, street B, shop C, shop D, etc. The invention is not limited in this regard.
In the invention, the electronic device 1 acquires the broadcast message sent by each access device 4 in the current area, analyzes the signal information corresponding to each access device 4 from the broadcast message sent by each access device 4, and sends the signal information corresponding to each access device 4 to the server 2. The server 2 determines the position information of the electronic device 1 based on the signal information corresponding to each access device 4. And the electronic equipment 1 receives the position information sent by the server 2 and outputs the position information to a user. The invention can improve the positioning precision.
Fig. 3 is a flow chart of a positioning method according to a second preferred embodiment of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
S20, the server 2 receives the signal information corresponding to each access device 4 sent by the electronic device 1.
The signal information includes, but is not limited to, the identity of access device 4, signal strength, and point in time. The signal strength corresponding to each access device 4 is the strength of the electronic device 1 receiving the signal transmitted by each access device 4 at the current position. The time point corresponding to each access device 4 is the time when the electronic device 1 receives the signal transmitted by each access device 4.
S21, the server 2 determines the target access device 4 according to the signal information corresponding to each access device 4.
In at least one embodiment of the present invention, the target access device 4 is used to locate the location information of the electronic device 1. The server 2 determining the target access device 4 includes:
and acquiring a preset power schedule of each access device 4 from the storage device according to the identifier of each access device 4 in the signal information corresponding to each access device 4.
And searching the transmission power corresponding to each access device 4 in a preset power time table of each access device 4 according to the time point corresponding to each access device 4. For an access device 4, the access device 4 corresponds to a time point, and the transmission power corresponding to the time point is looked up in a preset power schedule of the access device 4.
And calculating a signal attenuation value corresponding to each access device 4 according to the transmission power corresponding to each access device 4 and the signal strength corresponding to each access device 4. For an access device 4, the signal attenuation value of the access device 4 is equal to the power obtained by subtracting the signal strength corresponding to the access device 4 from the transmission power corresponding to the access device 4.
And determining the access equipment 4 with the signal attenuation value within the preset interval range as the target access equipment. Therefore, the access equipment with larger or smaller attenuation value can be eliminated, and the positioning precision is improved.
In at least one embodiment of the present invention, when the number of target access devices is less than a preset number, the server 2 increases the number of target access devices by adjusting a preset power schedule of at least one access device 4 in the current area (e.g., increasing the transmission power in the preset power schedule of the at least one access device 4).
For example, the electronic device 1 sends signal information corresponding to the four access devices 4 to the server 2. The four access devices are AP1, AP2, AP3, and AP 4. The server determines AP1, AP2, AP3, and AP4 as the target access device. The server 2 selects one access device in the current area from the storage device as the target access device AP5, and increases the transmission power in the preset time power table of AP 5. With this increase in transmission power, the electronic device 1 can scan the access device AP 5. Therefore, the electronic device 1 can scan more signals of the access device in the current area, and the positioning accuracy is improved.
S22, the server 2 obtains the location data of the target access device 4.
In at least one embodiment of the present invention, the server 2 reads the location data of the target access device 4 from the storage device of the server 2 according to the identification of the target access device 4.
S23, the server 2 calculates the location information of the electronic device 1 according to the signal information and the location data of the target access device 4.
In at least one embodiment of the present invention, the server 2 obtains the signal information and the position data of the target access device 4 according to a preset time interval, and calculates a plurality of position coordinates of the electronic device 1 by using an indoor positioning method. Position coordinates are calculated once for each data acquisition. The server 2 calculates an error (e.g., an average error, a least squares error, etc.) of the plurality of location coordinates. And when the errors of the position coordinates are within a preset error range, determining the position information according to the position coordinates.
When the errors of the position coordinates are not within the preset error range, the number of the target access devices is increased by adjusting the preset power schedule of at least one access device 4 in the current area (for example, increasing the transmission power in the preset power schedule of the at least one access device 4), the signal information and the position data of the target access devices are acquired according to the preset time interval, and the position coordinates are recalculated until the errors of the position coordinates are within the preset error range. This reduces positioning errors.
It should be noted that the indoor positioning technology may be a positioning method based on a signal attenuation model, a triangulation method, etc., and the present invention does not limit the indoor positioning method.
In at least one embodiment of the present invention, the server 2 determines the number of the electronic devices 1 in the current area, and adjusts the time interval in the preset power schedule of the access device 4 in the current area according to the number of the electronic devices 1.
If the number of the electronic devices 1 in the current area is greater than a first preset value, the server 2 reduces the time interval in the preset power schedule of the access device 4 in the current area through the access controller 3. If the number of the electronic devices 1 in the current area is smaller than a second preset value, the server 2 increases the time interval in the preset power schedule of the access device 4 in the current area through the access controller 3. This enables all electronic devices 1 in the current area to scan the transmitted signal of access device 4, improving the positioning accuracy.
S24, the server 2 sends the location information to the electronic device 1.
In the invention, the electronic device 1 acquires the broadcast message sent by each access device 4 in the current area, analyzes the signal information corresponding to each access device 4 from the broadcast message sent by each access device 4, and sends the signal information corresponding to each access device 4 to the server 2. The server 2 determines the position information of the electronic device 1 based on the signal information corresponding to each access device 4. And the electronic equipment 1 receives the position information sent by the server 2 and outputs the position information to a user. The invention can improve the positioning precision.
Referring to fig. 4, a functional block diagram of an embodiment of the positioning device of the present invention is shown. The positioning device 11 includes an obtaining module 100, a determining module 101, an analyzing module 102, a sending module 103, and an outputting module 104. The module referred to in the present invention refers to a series of computer program segments capable of being executed by the processor 13 and performing a fixed function, which are stored in the memory 12. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.
The acquiring module 100 is configured to acquire a broadcast packet sent by each access device 4 in the current area.
In at least one embodiment of the present invention, the determining module 101 is configured to detect whether a wireless function (e.g., a Wi-Fi function) is turned on, for example, when the determining module 101 detects that a current parameter of the wireless function is a parameter for turning on the wireless function, such as 1, the determining module 101 determines that the wireless function is in an on state. When the judging module 101 detects that the current parameter of the wireless function is a parameter for closing the wireless function, if the current parameter is 0, the judging module 101 determines that the wireless function is in a closed state, and the judging module 101 outputs a prompt message to prompt a user to open the wireless function. There are many ways to prompt the user, such as a prompt box, voice prompt, etc., and the present invention is not limited thereto.
When the wireless function is turned on, the obtaining module 100 performs channel scanning by using a wireless module (such as a Wi-Fi chip) to obtain a broadcast packet sent by each access device 4 in the current area.
In at least one embodiment of the present invention, the range of the current region may be determined according to the performance of the wireless module to scan signals. The current area may also be a preset area with the current position of the electronic device 1 as the center, or the like, and the current area may also have other defining manners. The current area may be an indoor area (e.g., a mall, a parking lot, etc.) or an outdoor area.
In at least one embodiment of the present invention, at least one access device 4 is distributed at different locations within an area, with each access device 4 providing a wireless access point. For example, in a shopping mall, the access device 4 located at each store may provide a wireless access point for the user to connect to the wireless network.
Each access device 4 transmits the broadcast message according to the first time interval according to the preset power time table corresponding to each access device 4. The predetermined power schedule is a set of matrices of time and transmit power that instruct the access device 4 to transmit signals at different time points with a predetermined power. The time interval of the preset power schedule is greater than or equal to the first time interval.
The server 2 stores a preset power schedule corresponding to each access device 4, location data corresponding to each access device 4, and an identifier of each access device 4. The identification may be a physical address (MAC) or the like.
Further, in at least one embodiment of the present invention, the electronic device 1 acquires GPS signal parameters and determines whether to use GPS signals to locate the position of the electronic device 1. The GPS signal parameters include, but are not limited to: GPS signal strength, signal-to-noise ratio of GPS signals, and the like. And when the GPS signal parameter is within the preset parameter range, the electronic equipment 1 acquires the position information by adopting the GPS signal. When the GPS signal parameter is not within the preset parameter range, S10 is performed.
The parsing module 102 is configured to parse, from the broadcast packet sent by each access device 4, signal information corresponding to each access device 4.
In at least one embodiment of the present invention, the parsing module 102 parses the broadcast packet sent by each access device 4 according to the communication protocol of each access device 4 and the format of the broadcast packet sent by each access device 4. The signal information includes, but is not limited to: identification of access device 4, signal strength, and point in time. The signal strength corresponding to each access device 4 is the strength of the electronic device 1 receiving the signal transmitted by each access device 4 at the current position. The time corresponding to each access device 4 is the time when the electronic device 1 receives the signal transmitted by each access device 4.
The sending module 103 is configured to send signal information corresponding to each access device 4 to the server 2.
In at least one embodiment of the present invention, the sending module 103 obtains the signal information corresponding to each access device 4 according to the second time interval, and sends the signal information corresponding to each access device 4 to the server 2.
The output module 104 is configured to receive the location information sent by the server 2 and output the location information to a user after the server 2 determines the location information of the electronic device 1 based on the signal information corresponding to each access device 4.
In at least one embodiment of the present invention, the server 2 receives signal information corresponding to each access device sent by the electronic device. And the server 2 determines the target access equipment according to the signal information corresponding to each access equipment. The server 2 acquires the position data of the target access equipment; and calculating the position information of the electronic equipment according to the signal information and the position data of the target access equipment. The server 2 sends the position information to the electronic device.
In at least one embodiment of the present invention, the output module 104 outputs the location information in many ways, for example, the location information of the electronic device 1 may be displayed in a map manner, and the location information is marked on the map for the user to view. The output module 104 can also output the information in text or voice, such as the shop of the street C, the shop of the shop D, etc. located in the city a, the city B. The invention is not limited in this regard.
In the invention, the electronic device 1 acquires the broadcast message sent by each access device 4 in the current area, analyzes the signal information corresponding to each access device 4 from the broadcast message sent by each access device 4, and sends the signal information corresponding to each access device 4 to the server 2. The server 2 determines the position information of the electronic device 1 based on the signal information corresponding to each access device 4. And the electronic equipment 1 receives the position information sent by the server 2 and outputs the position information to a user. The invention can improve the positioning precision.
Referring to fig. 5, a functional block diagram of an embodiment of the positioning device of the present invention is shown. The positioning device 21 includes a receiving module 200, a determining module 201, a first adjusting module 202, a data obtaining module 203, a calculating module 204, a second adjusting module 205, a third adjusting module 206, and a data sending module 207. The module referred to in the present invention refers to a series of computer program segments capable of being executed by the processor 13 and performing a fixed function, which are stored in the memory 12. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.
The receiving module 200 is configured to receive signal information, which is sent by the electronic device 1 and corresponds to each access device 4.
The signal information includes, but is not limited to, the identity of access device 4, signal strength, and point in time. The signal strength corresponding to each access device 4 is the strength of the electronic device 1 receiving the signal transmitted by each access device 4 at the current position. The time point corresponding to each access device 4 is the time when the electronic device 1 receives the signal transmitted by each access device 4.
The determining module 201 is configured to determine the target access device 4 according to the signal information corresponding to each access device 4.
In at least one embodiment of the present invention, the target access device 4 is used to locate the location information of the electronic device 1. The determining module 201 determines the target access device 4 includes:
and acquiring a preset power schedule of each access device 4 from the storage device according to the identifier of each access device 4 in the signal information corresponding to each access device 4.
And searching the transmission power corresponding to each access device 4 in a preset power time table of each access device 4 according to the time point corresponding to each access device 4. For an access device 4, the access device 4 corresponds to a time point, and the transmission power corresponding to the time point is looked up in a preset power schedule of the access device 4.
And calculating a signal attenuation value corresponding to each access device 4 according to the transmission power corresponding to each access device 4 and the signal strength corresponding to each access device 4. For an access device 4, the signal attenuation value of the access device 4 is equal to the power obtained by subtracting the signal strength corresponding to the access device 4 from the transmission power corresponding to the access device 4.
And determining the access equipment 4 with the signal attenuation value within the preset interval range as the target access equipment. Therefore, the access equipment with larger or smaller attenuation value can be eliminated, and the positioning precision is improved.
In at least one embodiment of the present invention, when the number of target access devices is smaller than the preset number, the first adjusting module 202 is configured to increase the number of target access devices by adjusting the preset power schedule of at least one access device 4 in the current area (e.g. increasing the transmission power in the preset power schedule of at least one access device 4).
For example, the electronic device 1 sends signal information corresponding to the four access devices 4 to the server 2. The four access devices are AP1, AP2, AP3, and AP 4. The server 2 determines AP1, AP2, AP3, and AP4 as the target access device. The first adjusting module 202 selects one access device in the current area from the storage device as the target access device AP5, and increases the transmission power in the preset time power table of AP 5. With this increase in transmission power, the electronic device 1 can scan the access device AP 5. Therefore, the electronic device 1 can scan more signals of the access device in the current area, and the positioning accuracy is improved.
The data obtaining module 203 is configured to obtain location data of the target access device 4.
In at least one embodiment of the present invention, the data obtaining module 203 reads the location data of the target access device 4 from the storage device of the server 2 according to the identifier of the target access device 4.
The calculating module 204 is configured to calculate the location information of the electronic device 1 according to the signal information and the location data of the target access device 4.
In at least one embodiment of the present invention, the calculating module 204 obtains the signal information and the position data of the target access device 4 according to a preset time interval, and calculates a plurality of position coordinates of the electronic device 1 by using an indoor positioning method. Position coordinates are calculated once for each data acquisition. The calculation module 204 calculates an error (e.g., an average error, a least squares error, etc.) of the plurality of location coordinates. And when the errors of the position coordinates are within a preset error range, determining the position information according to the position coordinates.
The second adjusting module 205 is configured to increase the number of target access devices by adjusting the preset power schedule of at least one access device 4 in the current area (e.g. increasing the transmission power in the preset power schedule of at least one access device 4) when the error of the plurality of position coordinates is not within the preset error range. The calculating module 204 obtains the signal information and the position data of the target access device according to a preset time interval, and recalculates the plurality of position coordinates until the errors of the plurality of position coordinates are within a preset error range. This reduces positioning errors.
It should be noted that the indoor positioning technology may be a positioning method based on a signal attenuation model, a triangulation method, etc., and the present invention does not limit the indoor positioning method.
In at least one embodiment of the present invention, the third adjusting module 206 is configured to determine the number of the electronic devices 1 in the current area, and adjust the preset power schedule of the access device 4 in the current area according to the number of the electronic devices 1.
Further, if the number of the electronic devices 1 in the current area is greater than the first preset value, the third adjusting module 206 decreases the time interval in the preset power schedule of the access device 4 in the current area through the access controller 3. If the number of the electronic devices 1 in the current area is smaller than a second preset value, the third adjusting module 206 increases the time interval in the preset power schedule of the access device 4 in the current area through the access controller 3. This enables all electronic devices 1 in the current area to scan the transmitted signal of access device 4, improving the positioning accuracy.
The data sending module 207 is configured to send the location information to the electronic device 1.
In the invention, the electronic device 1 acquires the broadcast message sent by each access device 4 in the current area, analyzes the signal information corresponding to each access device 4 from the broadcast message sent by each access device 4, and sends the signal information corresponding to each access device 4 to the server 2. The server 2 determines the position information of the electronic device 1 based on the signal information corresponding to each access device 4. And the electronic equipment 1 receives the position information sent by the server 2 and outputs the position information to a user. The invention can improve the positioning precision.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention.
As shown in fig. 6, fig. 6 is a schematic structural diagram of an electronic device implementing a positioning method according to a preferred embodiment of the invention. The electronic device 1 comprises a memory 12 and a processor 13.
The electronic device 1 is in communication with the server 2 and the access device 4. The access device 4 communicates with the access controller 3, and the access controller 3 is a network device, which is a core of a wireless network and is responsible for managing the access device 4 in the wireless network. The management of the access device 4 comprises: configuring data of the access device 4, modifying configuration parameters of the access device 4, access security control, etc.
The access device 4 is a device capable of providing a wireless access point for the electronic device 1, e.g. a wireless router or the like. The access devices 4 are placed in different locations. The electronic device 1 accesses a wireless network through a wireless access point provided by the access device 4.
The electronic device 1 may also include, but is not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an Internet Protocol Television (IPTV), an intelligent wearable device, and the like. The Network where the electronic device 1 is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
The memory 12 is used for storing a program and various data of a positioning method and realizing high-speed and automatic access of the program or the data in the operation process of the electronic equipment 1. The memory 12 may be an external memory and/or an internal memory of the electronic device 1. Further, the Memory 12 may be a circuit having a Memory function without any physical form In the integrated circuit, such as a RAM (Random-Access Memory), a FIFO (First In First out), and the like. Alternatively, the memory 12 may be a memory in a physical form, such as a memory stick, a TF Card (Trans-flash Card), or the like.
The processor 13 is also called a Central Processing Unit (CPU), and is an ultra-large scale integrated circuit, which is an operation Core (Core) and a Control Core (Control Unit) of the electronic device 1. The processor 13 may execute an operating system of the electronic device 1 as well as installed various types of applications, program code, etc., such as the positioning means 11.
With reference to fig. 2, the memory 12 of the electronic device 1 stores a plurality of instructions to implement a positioning method, and the processor 13 can execute the plurality of instructions to implement: acquiring a broadcast message sent by each access device in a current area; analyzing signal information corresponding to each access device from a broadcast message sent by each access device; sending signal information corresponding to each access device to the server; and after the server determines the position information of the electronic equipment based on the signal information corresponding to each access equipment, receiving the position information sent by the server and outputting the position information to a user.
According to a preferred embodiment of the present invention, the signal information includes: identification of access device, signal strength, and point in time.
According to a preferred embodiment of the present invention, the plurality of instructions executed by the processor 13 further includes:
acquiring GPS signal parameters;
and when the GPS signal parameter is within a preset parameter range, determining the position information according to the GPS signal.
Specifically, the specific implementation method of the processor 13 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 2, and specifically, the specific implementation method of the processor 13 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 3, which is not described herein again.
Fig. 7 is a schematic structural diagram of a server according to a preferred embodiment of the present invention, which implements the positioning method. The server 2 comprises a storage device 22 and a processing device 23.
The server 2 is in communication with the electronic device 1 and the access controller 3, and the server 2 stores a preset power schedule corresponding to each access device 4, location data corresponding to each access device 4, and an identifier of each access device 4. The identification may be a physical address (MAC) or the like. The server 2 controls the access device 4 via the access controller 3.
The server 2 also includes, but is not limited to, a single web server, a server group consisting of a plurality of web servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of hosts or web servers, wherein Cloud Computing is one of distributed Computing, a super virtual computer consisting of a collection of loosely coupled computers.
The Network where the server 2 is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
The storage device 22 is used for storing a program and various data of a positioning method and realizing high-speed and automatic access of the program or the data in the operation process of the electronic device 1. The storage device 22 may be an external memory and/or an internal memory of the server 2. Further, the storage device 22 may be a circuit with a storage function without any physical form in the integrated circuit, such as a RAM (Random-Access Memory), a FIFO (First InFirst Out), and the like. Alternatively, the storage device 22 may be a memory in a physical form, such as a memory card, a TF card (Trans-flash card), or the like.
The Processing device 23 is also called a Central Processing Unit (CPU), and is an ultra-large scale integrated circuit, which is an operation Core (Core) and a Control Core (Control Unit) of the electronic device 1. The processing device 23 may execute the operating system of the server 2 as well as various installed applications, program code, etc., such as the positioning means 21.
With reference to fig. 3, the storage device 22 in the server 2 stores a plurality of instructions to implement a positioning method, and the processing device 23 can execute the plurality of instructions to implement: receiving signal information corresponding to each access device sent by the electronic device; determining target access equipment according to the signal information corresponding to each access equipment; acquiring the position data of the target access equipment; calculating the position information of the electronic equipment according to the signal information and the position data of the target access equipment; and sending the position information to the electronic equipment.
According to a preferred embodiment of the present invention, the signal information includes: identification of access device, signal strength, and point in time.
According to a preferred embodiment of the present invention, the plurality of instructions executed by the processing device 23 further includes:
acquiring a preset power schedule of each access device from storage equipment of the server according to the identifier of each access device in the signal information corresponding to each access device;
according to the time point corresponding to each access device, searching the transmitting power corresponding to each access device in a preset power time table of each access device;
calculating a signal attenuation value corresponding to each access device according to the transmitting power corresponding to each access device and the signal strength corresponding to each access device; and
and determining the access equipment with the signal attenuation value within the preset interval range as the target access equipment.
According to a preferred embodiment of the present invention, the plurality of instructions executed by the processing device 23 further includes:
when the number of the target access devices is smaller than the preset number, the number of the target access devices is increased by adjusting a preset power schedule of at least one access device in the current area.
According to a preferred embodiment of the present invention, the plurality of instructions executed by the processing device 23 further includes:
acquiring signal information and position data of the target access equipment according to a preset time interval;
calculating a plurality of position coordinates of the electronic device using an indoor positioning method;
and when the errors of the position coordinates are within a preset error range, determining the position information according to the position coordinates.
According to a preferred embodiment of the present invention, the plurality of instructions executed by the processing device 23 further includes:
when the errors of the position coordinates are not in a preset error range, the number of the target access devices is increased by adjusting a preset power schedule of at least one access device in the current area.
According to a preferred embodiment of the present invention, the plurality of instructions executed by the processing device 23 further includes:
determining a number of the electronic devices in the current area;
and adjusting a preset power schedule of the access equipment in the current area according to the number of the electronic equipment.
Specifically, the specific implementation method of the instruction by the processing device 23 may refer to the description of the relevant step in the embodiment corresponding to fig. 3, and specifically, the specific implementation method of the instruction by the processing device 23 may refer to the description of the relevant step in the embodiment corresponding to fig. 3, which is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (14)

1. A positioning method applied to an electronic device, the electronic device being in communication with a server, the method comprising:
acquiring a broadcast message sent by each access device in a current area;
analyzing signal information corresponding to each access device from a broadcast message sent by each access device;
sending signal information corresponding to each access device to the server; and
after the server determines the position information of the electronic equipment based on the signal information corresponding to each access device, the server receives the position information sent by the server and outputs the position information to a user;
the signal information includes: identification, signal strength and time point of the access device;
the determining the location information of the electronic device based on the signal information corresponding to each access device includes:
determining target access equipment according to the signal information corresponding to each access equipment;
acquiring the position data of the target access equipment;
calculating the position information of the electronic equipment according to the signal information and the position data of the target access equipment;
the determining the target access device according to the signal information corresponding to each access device includes:
acquiring a preset power schedule of each access device from storage equipment of the server according to the identifier of each access device in the signal information corresponding to each access device;
according to the time point corresponding to each access device, searching the transmitting power corresponding to each access device in a preset power time table of each access device;
calculating a signal attenuation value corresponding to each access device according to the transmitting power corresponding to each access device and the signal strength corresponding to each access device; and
and determining the access equipment with the signal attenuation value within the preset interval range as the target access equipment.
2. The method of claim 1, wherein the method further comprises:
acquiring GPS signal parameters;
and when the GPS signal parameter is within a preset parameter range, determining the position information according to the GPS signal.
3. A positioning method applied to a server, the server being in communication with an electronic device, the method comprising:
receiving signal information corresponding to each access device sent by the electronic device;
determining target access equipment according to the signal information corresponding to each access equipment;
acquiring the position data of the target access equipment;
calculating the position information of the electronic equipment according to the signal information and the position data of the target access equipment; and
sending the position information to the electronic equipment;
the signal information includes: identification, signal strength and time point of the access device;
the determining the target access device according to the signal information corresponding to each access device includes:
acquiring a preset power schedule of each access device from storage equipment of the server according to the identifier of each access device in the signal information corresponding to each access device;
according to the time point corresponding to each access device, searching the transmitting power corresponding to each access device in a preset power time table of each access device;
calculating a signal attenuation value corresponding to each access device according to the transmitting power corresponding to each access device and the signal strength corresponding to each access device; and
and determining the access equipment with the signal attenuation value within the preset interval range as the target access equipment.
4. The method of claim 3, wherein the method further comprises:
and when the number of the target access devices is smaller than the preset number, increasing the number of the target access devices by adjusting a preset power schedule of at least one access device in the current area.
5. The method of claim 3, wherein the calculating the location information of the electronic device according to the signal information and the location data of the target access device comprises:
acquiring signal information and position data of the target access equipment according to a preset time interval;
calculating a plurality of position coordinates of the electronic device using an indoor positioning method;
and when the errors of the position coordinates are within a preset error range, determining the position information according to the position coordinates.
6. The method of claim 5, wherein the method further comprises:
and when the errors of the position coordinates are not in a preset error range, increasing the number of the target access devices by adjusting a preset power schedule of at least one access device in the current area.
7. The positioning method according to any one of claims 3 to 5, characterized in that the method further comprises:
determining a number of the electronic devices in a current area;
and adjusting a preset power schedule of the access equipment in the current area according to the number of the electronic equipment.
8. A positioning apparatus operable in an electronic device, the electronic device in communication with a server, the apparatus comprising:
the acquisition module is used for acquiring the broadcast message sent by each access device in the current area;
the analysis module is used for analyzing the signal information corresponding to each access device from the broadcast message sent by each access device;
the sending module is used for sending the signal information corresponding to each access device to the server;
the output module is used for receiving the position information sent by the server and outputting the position information to a user after the server determines the position information of the electronic equipment based on the signal information corresponding to each access device;
the signal information includes: identification, signal strength and time point of the access device;
the determining the location information of the electronic device based on the signal information corresponding to each access device includes:
determining target access equipment according to the signal information corresponding to each access equipment;
acquiring the position data of the target access equipment;
calculating the position information of the electronic equipment according to the signal information and the position data of the target access equipment;
the determining the target access device according to the signal information corresponding to each access device includes:
acquiring a preset power schedule of each access device from storage equipment of the server according to the identifier of each access device in the signal information corresponding to each access device;
according to the time point corresponding to each access device, searching the transmitting power corresponding to each access device in a preset power time table of each access device;
calculating a signal attenuation value corresponding to each access device according to the transmitting power corresponding to each access device and the signal strength corresponding to each access device; and
and determining the access equipment with the signal attenuation value within the preset interval range as the target access equipment.
9. The positioning apparatus of claim 8, wherein the acquisition module is further configured to acquire GPS signal parameters;
the acquisition module is further configured to determine the location information according to the GPS signal when the GPS signal parameter is within a preset parameter range.
10. A positioning apparatus operating in a server in communication with an electronic device, the apparatus comprising:
the receiving module is used for receiving signal information which is sent by the electronic equipment and corresponds to each access equipment;
the determining module is used for determining target access equipment according to the signal information corresponding to each access equipment;
the data acquisition module is used for acquiring the position data of the target access equipment;
the computing module is used for computing the position information of the electronic equipment according to the signal information and the position data of the target access equipment; and
the data sending module is used for sending the position information to the electronic equipment;
the signal information includes: identification, signal strength and time point of the access device;
the calculation module is specifically configured to:
acquiring a preset power schedule of each access device from storage equipment of the server according to the identifier of each access device in the signal information corresponding to each access device;
according to the time point corresponding to each access device, searching the transmitting power corresponding to each access device in a preset power time table of each access device;
calculating a signal attenuation value corresponding to each access device according to the transmitting power corresponding to each access device and the signal strength corresponding to each access device; and
and determining the access equipment with the signal attenuation value within the preset interval range as the target access equipment.
11. The positioning device of claim 10, wherein the device further comprises:
and the first adjusting module is used for increasing the number of the target access equipment by adjusting a preset power schedule of at least one access equipment in the current area when the number of the target access equipment is smaller than the preset number.
12. The positioning apparatus of claim 10, wherein the calculating module is configured to calculate the position information of the electronic device according to the signal information and the position data of the target access device, and includes:
acquiring signal information and position data of the target access equipment according to a preset time interval;
calculating a plurality of position coordinates of the electronic device using an indoor positioning method;
and when the errors of the position coordinates are within a preset error range, determining the position information according to the position coordinates.
13. The positioning device of claim 12, wherein the device further comprises:
and the second adjusting module is used for increasing the number of the target access devices by adjusting a preset power schedule of at least one access device in the current area when the errors of the position coordinates are not within a preset error range.
14. The positioning device according to any one of claims 10 to 12, wherein the device further comprises:
a third adjusting module, configured to determine the number of the electronic devices in the current area;
the third adjusting module is further configured to adjust a preset power schedule of the access device in the current area according to the number of the electronic devices.
CN201611180904.2A 2016-12-20 2016-12-20 Positioning method and device, electronic equipment and server Active CN106658709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611180904.2A CN106658709B (en) 2016-12-20 2016-12-20 Positioning method and device, electronic equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611180904.2A CN106658709B (en) 2016-12-20 2016-12-20 Positioning method and device, electronic equipment and server

Publications (2)

Publication Number Publication Date
CN106658709A CN106658709A (en) 2017-05-10
CN106658709B true CN106658709B (en) 2020-04-07

Family

ID=58834776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611180904.2A Active CN106658709B (en) 2016-12-20 2016-12-20 Positioning method and device, electronic equipment and server

Country Status (1)

Country Link
CN (1) CN106658709B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037450A (en) * 2017-04-25 2017-08-11 努比亚技术有限公司 Show global positioning system signal strong and weak method, terminal and computer-readable medium
CN108966127B (en) * 2018-07-18 2021-03-30 广东小天才科技有限公司 Positioning deviation rectifying method and positioning server combining Wi-Fi fingerprint and satellite positioning
CN110351654A (en) * 2019-07-04 2019-10-18 宇龙计算机通信科技(深圳)有限公司 A kind of localization method, device, storage medium and electronic equipment
CN112433242A (en) * 2020-09-23 2021-03-02 广州启盟信息科技有限公司 High-precision property positioning method, device and system
CN112584477B (en) * 2020-12-21 2023-06-09 Oppo广东移动通信有限公司 Signal transmitting method and device, electronic equipment and computer storage medium
CN117255306A (en) * 2022-12-06 2023-12-19 深圳光启空间技术有限公司 Emergency positioning method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854491A (en) * 2012-08-24 2013-01-02 东莞中山大学研究院 Method and system for carrying out positioning on the basis of Bluetooth technology
CN103139902A (en) * 2011-11-23 2013-06-05 京信通信***(中国)有限公司 Wireless positioning method, device and system
CN105117947A (en) * 2015-09-07 2015-12-02 丹阳伦图电子技术有限公司 Wi-Fi technology-based ESL (electronic shelf label) system
CN106170150A (en) * 2016-06-28 2016-11-30 努比亚技术有限公司 Mobile terminal and localization method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139902A (en) * 2011-11-23 2013-06-05 京信通信***(中国)有限公司 Wireless positioning method, device and system
CN102854491A (en) * 2012-08-24 2013-01-02 东莞中山大学研究院 Method and system for carrying out positioning on the basis of Bluetooth technology
CN105117947A (en) * 2015-09-07 2015-12-02 丹阳伦图电子技术有限公司 Wi-Fi technology-based ESL (electronic shelf label) system
CN106170150A (en) * 2016-06-28 2016-11-30 努比亚技术有限公司 Mobile terminal and localization method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于TC-OFDM体制的室内定位***;邓中亮等;《电信网技术》;20151231;第32-35页 *

Also Published As

Publication number Publication date
CN106658709A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106658709B (en) Positioning method and device, electronic equipment and server
CN106804046B (en) Mobile location method and device based on measurement report
US9426044B2 (en) Radio access network geographic information system with multiple format
US10524223B2 (en) Location configuration information (LCI) query
US8983477B2 (en) Generation and use of coverage area models
US10009733B2 (en) Method and system for determining a position of a mobile device by an access point
KR20170017917A (en) Failure conditions for fine timing measurement (ftm) protocol
CN108351421A (en) Localization method, base station in mobile network and mobile terminal
CN108450060A (en) Localization method, equipment based on WI-FI access points
CN105517148B (en) A kind of localization method and device
CN106358155A (en) Building method and device of radio frequency fingerprint database
JP6480042B1 (en) Information processing apparatus and program
EP3000262B1 (en) A method and apparatus for recording information from a plurality of mobile devices in an area
CN104954978A (en) Method and device for wireless network ranging
US20220053335A1 (en) Method for detecting an abnormal device, device and storage medium
CN104080163A (en) Method and device for determining access position information of wireless access device
CN104125605B (en) A kind of implementation method and device for asking to set up WIFI connections
CN104427575A (en) Access system and method for providing location-based service information
CN107920386B (en) Sparse point positioning method, server, system and computer readable storage medium
CN107708136B (en) High-speed rail cell identification method and device
CN105277194A (en) Cloud-platform-based indoor interactive guiding realization scheme
US20180199305A1 (en) Indoor positioning method, wireless receiving device, wireless transmission device and storage medium
CN113469516A (en) BIM-based assembly rate calculation method, device, equipment and storage medium
CN109413385A (en) A kind of video location monitoring method, system and Cloud Server
CN104219696A (en) Method and device for quickening collection of positioning signals of wireless terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant