WO2020239108A1 - 一种定位方法、装置、电子设备及存储介质 - Google Patents

一种定位方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2020239108A1
WO2020239108A1 PCT/CN2020/093482 CN2020093482W WO2020239108A1 WO 2020239108 A1 WO2020239108 A1 WO 2020239108A1 CN 2020093482 W CN2020093482 W CN 2020093482W WO 2020239108 A1 WO2020239108 A1 WO 2020239108A1
Authority
WO
WIPO (PCT)
Prior art keywords
positioning
service device
information
rough
position information
Prior art date
Application number
PCT/CN2020/093482
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 北京骑胜科技有限公司
Priority to CN202080040002.7A priority Critical patent/CN113892275A/zh
Publication of WO2020239108A1 publication Critical patent/WO2020239108A1/zh
Priority to US17/454,066 priority patent/US11924805B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • 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/40Correcting position, velocity or attitude
    • 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
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0257Hybrid positioning
    • G01S5/0258Hybrid positioning by combining or switching between measurements derived from different systems
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0257Hybrid positioning
    • G01S5/0263Hybrid positioning by combining or switching between positions derived from two or more separate positioning systems
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0284Relative positioning
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/14Determining absolute distances from a plurality of spaced points of known location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • G08G1/0141Measuring and analyzing of parameters relative to traffic conditions for specific applications for traffic information dissemination
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/149Traffic control systems for road vehicles indicating individual free spaces in parking areas coupled to means for restricting the access to the parking space, e.g. authorization, access barriers, indicative lights
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • G08G1/205Indicating the location of the monitored vehicles as destination, e.g. accidents, stolen, rental
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q2240/00Transportation facility access, e.g. fares, tolls or parking

Definitions

  • This application relates to the field of positioning technology, and specifically to a positioning method, device, electronic equipment, and storage medium.
  • the purpose of this application is to provide a positioning method, device, electronic equipment and storage medium to provide an accurate positioning method.
  • an embodiment of the present application provides a positioning method applied to a back-end server.
  • the positioning method includes: obtaining an accurate positioning request issued by a service device; the precise positioning request carries a rough positioning position of the service device Information; determine the reference positioning point corresponding to the service device according to the rough positioning position information of the service device; correct the rough positioning position information of the service device according to the positioning deviation information of the reference positioning point to obtain the The precise positioning position information of the service device; the positioning deviation information of the reference positioning point is calculated according to the precise positioning position information of the reference positioning point and the rough positioning position information of the reference positioning point.
  • determining the reference positioning point corresponding to the service device according to the rough location information of the service device includes: calculating the service device and each service device according to the rough location information of the service device. The distance between the positioning points; the positioning point with the smallest distance from the service device is selected as the reference positioning point.
  • the determining the reference location corresponding to the service device according to the rough location information of the service device includes: according to the rough location information of the service device and preset location area information , Determine the location area where the service device is located; use the location point in the location area where the service device is located as the reference location point.
  • edges of two adjacent positioning areas are in close proximity; or, the edges of two adjacent positioning areas overlap.
  • the rough positioning position information of the service device is corrected according to the positioning deviation information of the reference positioning points to obtain the precise positioning position information of the service device, including : Determine the weighting coefficient according to the distance between the service device and each reference positioning point; according to the weighting coefficient, perform weighted calculation on the positioning deviation information of each reference positioning point to determine the comprehensive deviation information; The comprehensive deviation information corrects the rough positioning position information of the service device to obtain the precise positioning position information of the service device.
  • the precise positioning request also carries the identification code of the service device
  • the service device is a vehicle.
  • the positioning method further includes: receiving When the information used to instruct the vehicle to be locked is sent by the service device, it is determined whether the vehicle is located in the legal parking area according to the precise location information of the service device and the pre-stored legal parking area information; if not, Control the service device to unlock, and send a message indicating that the vehicle cannot be locked to the user terminal associated with the identification code.
  • the service device is a vehicle
  • the positioning method further includes: when a lock request sent by the user is received, according to the service device To determine whether the vehicle is located in the legal parking area according to the precise location information and the pre-stored legal parking area information; if not, send information indicating that the vehicle cannot be locked to the user terminal.
  • the embodiments of the present application provide a positioning method, which is applied to a service device, and the positioning method includes: sending an accurate positioning request to a background server; the accurate positioning request carries the rough positioning position of the service device Information; receiving the reference positioning point corresponding to the service device determined by the back-end server according to the rough positioning position information of the service device returned by the back-end server; checking the service device according to the positioning deviation information of the reference positioning point The rough positioning position information is corrected to obtain the precise positioning position information of the service device; the positioning deviation information of the reference positioning point is based on the precise positioning position information of the reference positioning point and the rough positioning of the reference positioning point The location information is calculated.
  • the rough positioning position information of the service device is corrected according to the positioning deviation information of the reference positioning points to obtain the precise positioning position information of the service device. It includes: determining a weighting coefficient according to the distance between the service device and each reference positioning point; performing a weighted calculation on the positioning deviation information of each reference positioning point according to the weighting coefficient to determine the comprehensive deviation information; The comprehensive deviation information corrects the rough positioning position information of the service device to obtain the precise positioning position information of the service device.
  • an embodiment of the present application provides a positioning device that resides on a background server.
  • the positioning device includes: an acquisition module for acquiring a precise positioning request issued by a service device; the precise positioning request carries Rough positioning position information of the service device; a determining module, configured to determine the reference positioning point corresponding to the service device according to the rough positioning position information of the service device; a processing module, configured to determine the positioning deviation information of the reference positioning point
  • the rough positioning position information of the service device is corrected to obtain the precise positioning position information of the service device; the positioning deviation information of the reference positioning point is based on the precise positioning position information of the reference positioning point and the reference The rough positioning position information of the positioning point is calculated.
  • the determining module is specifically configured to: calculate the distance between the service device and each positioning point according to the rough location information of the service device; The anchor point with the smallest distance is used as the reference anchor point.
  • the determining module is specifically configured to: determine the location area where the service device is located according to the rough location location information of the service device and preset location area information; The positioning point in the positioning area of is used as the reference positioning point.
  • edges of two adjacent positioning areas are in close proximity; or, the edges of two adjacent positioning areas overlap.
  • the processing module is specifically configured to: determine a weighting coefficient according to the distance between the service device and each reference positioning point; and according to the weighting coefficient Perform weighted calculation on the positioning deviation information of each reference positioning point to determine the comprehensive deviation information; correct the rough positioning position information of the service device according to the comprehensive deviation information to obtain the precise positioning position of the service device information.
  • the precise positioning request also carries the identification code of the service device
  • the service device is a vehicle
  • the positioning device further includes a control module that obtains the service from the processing module. After the precise location information of the device, it is used to: when receiving the information sent by the service device for instructing the vehicle to lock, determine the said location information according to the precise location information of the service device and the legal parking area stored in advance. Whether the vehicle is located in the legal parking area; if not, control the service device to unlock, and send a message indicating that the vehicle cannot be locked to the user terminal associated with the identification code.
  • the service equipment is a vehicle
  • the positioning device further includes a control module.
  • the control module is used to: When the lock request is sent, it is determined whether the vehicle is located in the legal parking area according to the precise location information of the service device and the pre-stored legal parking area; if not, it sends an instruction to the client Information that the vehicle cannot be locked.
  • an embodiment of the present application provides a positioning device that resides in a service device.
  • the positioning device a sending module is used to send a precise positioning request to a background server; the precise positioning request carries the service Rough positioning location information of the device; a receiving module, configured to receive the reference positioning point corresponding to the service device determined by the back-end server according to the rough positioning location information of the service device returned by the back-end server; a processing module, configured to Correct the rough positioning position information of the service device according to the positioning deviation information of the reference positioning point to obtain precise positioning position information of the service device; the positioning deviation information of the reference positioning point is based on the reference positioning The precise positioning position information of the point and the rough positioning position information of the reference positioning point are calculated.
  • the processing module is specifically configured to: determine a weighting coefficient according to the distance between the service device and each reference positioning point; according to the weighting coefficient, Perform weighted calculation on the positioning deviation information of each reference positioning point to determine the comprehensive deviation information; correct the rough positioning position information of the service device according to the comprehensive deviation information to obtain the precise positioning position information of the service device .
  • an embodiment of the present application provides an electronic device, including: a processor, a storage medium, and a bus.
  • the storage medium stores machine-readable instructions executable by the processor.
  • the processor and the storage medium communicate through a bus, and the processor executes the machine-readable instructions to execute the steps of the positioning method according to the first aspect or the second aspect.
  • the embodiments of the present application provide a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and the computer program is executed by a processor as described in the first or second aspect. The steps of the positioning method are described.
  • the positioning method provided in the embodiment of the application can determine the reference positioning point corresponding to the service device according to the rough positioning position information of the service device after obtaining the rough positioning position information of the service device, and then according to the accuracy of the reference positioning point
  • the positioning position information and the rough positioning position information determine the positioning deviation information of the reference positioning point.
  • the precise positioning position information of the service device is determined based on the positioning deviation information of the reference positioning point and the rough positioning position information of the service device.
  • the back-end server of the service device uniformly obtains the precise positioning position information of some positioning points from the positioning platform, and then according to the rough positioning position information of each service device, and the service The positioning deviation information of the positioning point corresponding to the device determines the precise positioning position information of the service device, that is, this application provides a method for obtaining the precise positioning position information of the service device.
  • the service device is a shared vehicle, it provides a A method for obtaining precise location information of shared vehicles.
  • FIG. 1 shows a schematic structural diagram of a positioning system provided by an embodiment of the present application
  • FIG. 2 shows a schematic structural diagram of another positioning system provided by an embodiment of the present application
  • FIG. 3 shows a flowchart of a positioning method on the back-end server provided by an embodiment of the present application
  • FIG. 4 shows a flowchart of a method for a background server to determine a reference anchor point provided by an embodiment of the present application
  • FIG. 5 shows a flowchart of another method for a background server to determine a reference anchor point provided by an embodiment of the present application
  • FIG. 6 shows a schematic diagram of the positional relationship between adjacent positioning areas provided by an embodiment of the present application
  • FIG. 7 shows a flow chart of a method for correcting rough positioning position information on a back-end server provided in an embodiment of the present application
  • FIG. 8 shows a flow chart of a method for locating a service device provided by an embodiment of the present application
  • FIG. 9 shows a schematic structural diagram of a positioning device provided by an embodiment of the present application.
  • FIG. 10 shows a schematic structural diagram of another positioning device provided by an embodiment of the present application.
  • FIG. 11 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 12 shows a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • the positioning platform here can be based on Global Positioning System (Global Positioning System, GPS), Global Navigation Satellite System (Global Navigation Satellite System) , GLONASS), Galileo positioning system, etc., or any combination of positioning platforms.
  • Global Positioning System Global Positioning System, GPS
  • Global Navigation Satellite System Global Navigation Satellite System
  • GLONASS Global Navigation Satellite System
  • Galileo positioning system etc., or any combination of positioning platforms.
  • the positioning platform receives a rough positioning request sent by the requesting end, it can send the rough positioning position information of the requesting end to the requesting end, and when the positioning platform receives
  • the precise positioning request is sent by the requesting end, the precise positioning position information of the requesting end can be sent to the requesting end, where the accuracy of the precise positioning position information is greater than the accuracy of the rough positioning position information.
  • the positioning platform may also perform positioning based on the Beidou navigation system, or may also use other satellite-based positioning methods, base station-based positioning methods, and wifi access point-based positioning methods. , Realize the positioning based on the positioning method of taking pictures. For example, when positioning via a base station, the location information of the device to be located may be obtained based on the time difference and/or signal strength of the communication between the base station and the device to be located. For another example, when positioning via a wifi access point, the location information of the device to be located may be determined by determining the location of the wifi access point and the distance between the device to be located and the wifi access point.
  • a road sign when positioning by taking pictures, a road sign can be identified based on the image and/or video taken by the device to be positioned, and the position information of the device to be positioned can be obtained based on the relative position of the road sign and the device to be positioned.
  • the positioning platform can also arbitrarily combine the above positioning systems or positioning methods to achieve its positioning function.
  • the background server may be used to process information and/or data related to positioning.
  • the background server can be an independent server or a server group.
  • the server group can be centralized or distributed (for example, the background server can be a distributed system).
  • the backend server may be regional or remote.
  • the background server can access information and/or data stored in the user terminal, service equipment and/or positioning platform through the network.
  • the back-end server can be directly connected to the user terminal, service device and/or positioning platform to access the information and/or data stored therein.
  • the background server can be executed on a cloud platform.
  • the cloud platform may include one or any combination of private cloud, public cloud, hybrid cloud, community cloud, decentralized cloud, internal cloud, etc.
  • the backend server may include processing equipment.
  • the processing device may process data and/or information related to the service request to perform one or more functions described in this application.
  • the processing device can provide the user terminal with precise location information of the shared car that needs to be used based on the user's request to use the shared car obtained from the user terminal.
  • the processing device may include one or more sub-processing devices (such as a single-core processing device or a multi-core and multi-core processing device).
  • the processing device may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction processor (ASIP), a graphics processing unit (GPU), a physical processor (PPU), a digital signal processor (DSP) ), Field Programmable Gate Array (FPGA), Editable Logic Circuit (PLD), Controller, Microcontroller Unit, Reduced Instruction Set Computer (RISC), Microprocessor, etc. or any combination of the above.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • ASIP application specific instruction processor
  • GPU graphics processing unit
  • PPU physical processor
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • PLD Editable Logic Circuit
  • Controller Microcontroller Unit
  • RISC Reduced Instruction Set Computer
  • the positioning system may also include a network and a database.
  • the network can facilitate the exchange of data and/or information.
  • one or more components in the positioning system (such as a background server, a positioning platform, a user terminal, and a database) can send data and/or information to other components in the positioning system via a network.
  • the background server can obtain rough location information of the service device from the location platform via the network.
  • the network can be any type of wired or wireless network.
  • the network may include a cable network, a wired network, an optical fiber network, a telecommunications network, an internal network, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), and a metropolitan area network (MAN) , Public Switched Telephone Network (PSTN), Bluetooth network, ZigBee network, Near Field Communication (NFC) network, etc. or any combination of the above.
  • the network may include one or more network entry and exit points.
  • the network may include wired or wireless network access points, such as base stations and/or Internet exchange points, through which one or more components of the positioning system can be connected to the network to exchange data and/or information.
  • the database can store information and/or instructions.
  • the database may store information obtained from the user terminal or the positioning platform.
  • the database may store information and/or instructions for execution or use by the back-end server to perform the exemplary methods described in this application.
  • the database may include mass memory, removable memory, volatile read-write memory (such as random access memory RAM), read-only memory (ROM), etc., or any combination thereof.
  • the database can be implemented on a cloud platform.
  • the cloud platform may include private cloud, public cloud, hybrid cloud, community cloud, community cloud, decentralized cloud, internal cloud, etc. or any combination of the above.
  • the database may be connected to a network to communicate with one or more components of the positioning system (eg, back-end server, user terminal, etc.).
  • One or more components of the positioning system can access data or instructions stored in the database via the network.
  • the database can be directly connected or communicated with one or more components in the positioning system (eg, back-end server, user terminal, etc.).
  • the database may be part of the backend server.
  • one or more components in the positioning system may have access to the database.
  • one or more components in the positioning system eg, backend server, user terminal, etc.
  • this application provides a positioning method, device, electronic equipment, and storage medium, which can be applied to any scenario of a shared vehicle positioning method.
  • the shared vehicle here can be a shared bicycle, a shared moped, or a shared electric vehicle. And car sharing.
  • the positioning method provided by the present application will be described in detail below through specific embodiments.
  • FIG. 2 Before introducing the positioning method of the embodiment of the present application, first introduce a precise positioning system provided by the embodiment of the present application. As shown in FIG. 2, it includes a positioning platform 1, a positioning platform 2, multiple shared vehicles and a back-end server for shared vehicles
  • the positioning platform 2 here is a positioning platform that can provide precise positioning position information.
  • the positioning platform 1 and the positioning platform 2 can be a positioning platform or a positioning platform that only provides rough positioning information.
  • Each shared vehicle can Platform 1 sends a rough positioning request, and then can receive the rough positioning position information returned by positioning platform 1, and then after unlocking the shared vehicle, it can send a precise positioning request to the back-end server of the shared vehicle, and the back-end server can uniformly send to the positioning platform in advance 2 Request the precise positioning position information and rough positioning position information of the preset positioning point.
  • the background server receives the precise positioning request sent by the shared vehicle, it can determine in the preset positioning point according to the rough positioning position information of the shared vehicle The reference positioning point corresponding to the shared vehicle is determined, and then the precise positioning position information of the shared vehicle is determined according to the positioning deviation information of the reference positioning point and the rough positioning position information of the shared vehicle.
  • the service device may be a shared vehicle, but also other vehicles (for example, tour buses, delivery cars), and user terminal devices (for example, mobile devices, wearable devices).
  • the service device may periodically send a rough positioning request to the positioning platform 1 and store it after receiving the rough positioning position information.
  • the background server may periodically send the positioning information request of the preset positioning point to the positioning platform 2 to obtain the precise positioning position information and the rough positioning position information of the preset positioning point, and store them.
  • the positioning method is described in detail below.
  • the positioning method is applied to a back-end server, where the back-end server may be a back-end server of a shared vehicle, as shown in FIG. 3, the positioning method includes the following specific steps S301 to S303 :
  • S301 Obtain a precise positioning request sent by a service device; the precise positioning request carries rough location information of the service device;
  • the service device here is a shared vehicle or an electronic device on a shared vehicle, such as a shared bicycle, shared electric vehicle, shared moped or shared car, or shared bicycle or shared electric vehicle , Shared mopeds or electronic equipment on shared cars.
  • the service device may be a device that provides services and is not located at a fixed location, and the service device is generally movable.
  • the service equipment can be a shared vehicle or an electronic device on a shared vehicle, it can also be a vehicle that needs to be accurately located, such as a tour bus, a delivery vehicle, etc., or an electronic device set on the goods (such as a positioning chip) .
  • the service device may also be a mobile device (such as a mobile phone, a notebook computer), a smart wearable device, etc. of a user (such as a delivery person, a driver of a shared car, etc.).
  • the service equipment can be various types of transportation, and can also be various types of electronic equipment or various items equipped with electronic equipment.
  • the precise location request may be data sent by the service device to the background server requesting the background server to transmit precise location information of the service device.
  • the data of the precise positioning request may carry rough positioning position information of the service device.
  • the rough positioning location information may not be carried in the data of the precise positioning request, for example, it may be directly sent by the positioning platform 1 to the background server.
  • the service device after the service device sends a precise location request to the background server, it may send the rough location information to the background server after receiving the request of the background server to send the rough location information.
  • the rough positioning position information may be low-precision positioning position information that can only reflect the approximate position of the service device (which may deviate from the actual position of the service device).
  • the rough positioning position information may be obtained in real time before sending the precise positioning request.
  • the positioning method of the present application can determine the precise positioning position information of the service device through the rough positioning position information obtained by the service device, and can achieve precise positioning without requiring the service device to have high positioning accuracy, thereby greatly reducing the cost of the service device.
  • the rough positioning position information of the service device may include one rough positioning position or multiple rough positioning positions. When the rough positioning position information contains multiple positions, a rough positioning estimated position can be obtained after processing the multiple positions, which avoids the influence of the accuracy of the precise positioning position information due to a large position deviation.
  • the method for acquiring the rough positioning position information of the service device includes acquisition based on positioning methods such as GPS positioning, Beidou positioning, global navigation satellite positioning, other satellite positioning, Galileo positioning, base station positioning, and camera positioning.
  • positioning methods such as GPS positioning, Beidou positioning, global navigation satellite positioning, other satellite positioning, Galileo positioning, base station positioning, and camera positioning.
  • the rough location information of the service device may be obtained based on the time difference and/or signal strength of the communication between the base station and the service device.
  • a road sign can be identified based on the image and/or video taken by the service device, and based on the relative position of the road sign and the service device, the rough location information of the service device can be obtained.
  • the rough location information of the service device may be acquired at preset time intervals and stored in the service device, and the rough location information of the service device may also be acquired in real time.
  • the rough location information of the service device can be uploaded to the database of the back-end server periodically or in real time.
  • the service device can be obtained from the database without interacting with the service device.
  • the rough positioning location information can shorten the acquisition time of precise positioning location information.
  • the service device is a shared vehicle
  • the user can send an accurate positioning request to the back-end server of the shared vehicle.
  • the precise positioning request here carries the rough location information of the service device.
  • the rough location location The information can be free low-precision positioning location information requested by the shared vehicle from the positioning platform.
  • the rough positioning location information here is less accurate than the precise positioning location information.
  • the rough positioning location information here represents the rough positioning location of the shared vehicle.
  • the processor on the shared vehicle needs to process these parameters to obtain the rough positioning position of the shared vehicle. Compared with the prior art, the processor needs to process the parameters that characterize the precise positioning position of the shared vehicle.
  • the resource consumption of the processor is smaller than the resource consumption of the processor when processing the precise location information. In addition, it not only realizes the precise positioning of the service equipment, facilitates users to understand the accurate location of the service equipment, but also reduces the cost of the service equipment.
  • the back-end server of the shared vehicle when the back-end server of the shared vehicle receives the precise positioning request sent by the shared vehicle, it can issue a positioning instruction to the shared vehicle, and the shared vehicle requests the positioning platform 1 to obtain its rough location information, and then sends the rough location information to Background server. Or, after the back-end server of the shared vehicle receives the precise positioning request sent by the shared vehicle, the back-end server can directly obtain the rough location information of the shared vehicle stored in the database.
  • the background server can obtain the rough location information of the service device from the database without interacting with the service device, which can shorten the time for obtaining precise location information.
  • S302 Determine a reference positioning point corresponding to the service device according to the rough location location information of the service device.
  • the backend server can determine the reference positioning point corresponding to the service device according to the rough positioning position information of the service device carried in the precise positioning request.
  • the reference positioning point here refers to the service device
  • the reference point when the device determines the precise positioning, that is, the reference positioning point here is the positioning point selected from a number of positioning points to accurately locate the service device.
  • the position information of the reference anchor point may be further determined, and the position information of the reference anchor point includes precise positioning position information and rough positioning position information.
  • the rough positioning position information of the reference positioning point can be low-precision positioning position information that can only reflect the approximate position of the reference positioning point (there may be deviations from the actual position of the reference positioning point); the precise position information of the reference positioning point may be The positioning position information that can truly reflect the actual position of the reference positioning point (there is little or no error with the actual position of the reference positioning point).
  • the precise location information can be pre-stored in the database of the background server, or it can be stored in an independent database, and then retrieved by the background server; the rough location information can be pre-stored in the background server, or it can It is obtained by the background server in real time after receiving the precise positioning request.
  • the reference anchor point may be selected from several anchor points. Specifically, a number of positioning points may be preliminarily screened according to the rough positioning position information of the service device, multiple positioning points may be screened out, and then reference positioning points may be further determined from the multiple positioning points selected.
  • the way to filter out multiple positioning points from a number of positioning points may be based on the rough positioning position as the center and dividing a preliminary screening area, for example, taking the rough positioning position as the center of the circle and the preset radius range ( For example, after 5m), a circular area is divided. Select the positioning point in the preliminary screening area, and then determine the reference positioning point from the positioning points in the preliminary screening area.
  • a rough positioning position and the coordinates of several positioning points can be determined, and then multiple positioning points that are close to the rough positioning position can be filtered out according to the coordinates of the rough positioning position and the position coordinates of each positioning point (for example, The positioning points whose distance between the screening and the rough positioning position is less than a preset distance (for example, 5m) are selected, and then the reference positioning points are determined from the plurality of positioning points that are relatively close to the coarse positioning position.
  • a preset distance for example, 5m
  • multiple positioning areas can be divided, and at the same time, the field corresponding to each positioning point is stored in the background server, and the field indicates the positioning area where each positioning point is located. .
  • the field corresponding to each positioning point is stored in the background server, and the field indicates the positioning area where each positioning point is located. .
  • After obtaining the rough location location information of the service device determine the location area where the service device is located, and query the field corresponding to the location area to initially screen out the location points located in the location area.
  • multiple positioning areas may be divided, and each positioning area may be numbered, and then each positioning point in each positioning area may be numbered, thereby The index table of the positioning area-the positioning point is established according to the number of the positioning area and the corresponding positioning point.
  • the reference positioning points can be determined without processing a large number of positioning points, which reduces the computing load of the background server.
  • step S302 determining the reference positioning point corresponding to the service device according to the rough location information of the service device, as shown in FIG. 4, includes the following specific steps S401 to S402:
  • S401 Calculate the distance between the service device and each positioning point according to the rough positioning location information of the service device
  • S402 Select an anchor point with the smallest distance from the service device as a reference anchor point.
  • the back-end server of a shared vehicle can set multiple positioning points in an area in advance, and then the back-end server can simultaneously request the positioning platform for the rough and precise location information of these positioning points, so that the back-end server can store these positioning points. Location information.
  • the reference anchor point may be fixed.
  • the positioning point here can be the location point of some preset parking piles, such as multiple parking piles set up in an area. These parking piles are used to indicate the parking position.
  • the positioning point can also be the location of some city traffic buildings.
  • a location point in the location area, such as a location point in the area where the bus stop sign is located, is not specifically limited here.
  • the reference anchor point may not be fixed, that is, the reference anchor point may be a time-sensitive location point.
  • the reference location point may be a location point where the precise location information has been determined by other shared vehicles on the positioning system in a previous period of time (for example, 10 minutes or 30 minutes). For example, when a passenger on shared vehicle A got off the bus 8 minutes ago, the background server determines the precise location information of the drop-off point. When the precise location information of shared vehicle B needs to be determined, the information of the passenger on shared vehicle A The drop-off point is used as the reference positioning point. It is understandable that because more than one shared vehicle is used for precise positioning on the positioning system, there may be multiple drop-off points as the reference positioning point of shared vehicle B.
  • the background server After the background server obtains the rough location information of the service device, it can calculate the distance between the service device and each location point according to the rough location information of the service device and the rough location information of each location point, or according to the The rough location information of the service device and the precise location information of each location point are used to calculate the distance between the service device and each location point. You can also first calculate the distance between the service device and each location point through the rough location information and precise location information of each location point. The average positioning position information of each positioning point, for example, the rough positioning position information and precise positioning position information of each positioning point are averaged to obtain the average positioning position information of each positioning point, and then based on the rough positioning position information of the service equipment and The average positioning position information of each positioning point calculates the distance between the service device and each positioning point.
  • the positioning point with the smallest distance from the service equipment such as a Beijing There are 100 positioning points in Haidian District.
  • the distance difference between the service equipment and these 100 positioning points can be calculated, and then it is determined that the distance difference between a positioning point A in Zhongguancun and the service equipment is the smallest, and then the positioning point A can be used as Reference anchor point.
  • step S302 determining the reference positioning point corresponding to the service device according to the rough positioning position information of the service device, as shown in FIG. 5 includes:
  • S501 Determine the location area where the service device is located according to the rough location location information of the service device and preset location area information.
  • S502 Use the positioning point in the positioning area where the service device is located as a reference positioning point.
  • the positioning area information here can be the edge coordinate information of multiple positioning areas obtained after dividing an area in advance. For example, dividing the Haidian District of Beijing to obtain multiple positioning areas according to longitude and latitude, or according to a set length and width. The regions are divided to obtain multiple positioning areas.
  • the rough positioning position information and the edge coordinate information of each positioning area can first determine the positioning area where the service device is located. , And then the positioning point in the positioning area is used as the reference positioning point. For example, the center position point in the positioning area is selected as the reference positioning point. Of course, multiple set positioning points can also be selected as the reference positioning point. For more information about the positioning point, refer to Figure 4, which will not be repeated here.
  • two adjacent positioning areas can have two positional relationships, that is, the edge in (a) is close to each other and the edge in (b) overlaps.
  • the positional relationship of the edge overlap can be considered if the service When the rough location information of the device just points to the edge area of two adjacent location areas, in order to prevent the rough location information of the service device from belonging to the location area A1, but the precise location information of the service device belongs to the location area A2. If the precise location information of the service device is determined only by the location point in the location area A1, it is prone to the problem of inaccurate location location. Therefore, the edges of the two adjacent location areas can be overlapped. If the service device is roughly located If the position information belongs to the overlapping area, the reference positioning point is determined by the positioning points in the positioning area A1 and the positioning area A2 at the same time, so that the precise positioning position information of the service device can be determined more accurately.
  • the 360° direction angle may be divided into several (such as 4, 6, or 8, etc.) direction intervals with the rough positioning position as the center.
  • One or more reference positioning points can be determined in each direction interval, so that the reference positioning points can be distributed in different directions around the rough positioning position, that is, making multiple reference positioning points more uniform around the rough positioning position of the service device Therefore, local environmental factors can prevent the positioning deviation information of the reference positioning point from being unable to characterize the positioning deviation information of the service device.
  • the back-end server can also obtain road information around the rough location of the service device.
  • the back-end server can choose to be located on one or both sides of the road where the service device is located and at a distance according to the road information.
  • the positioning point (such as a street lamp) that is roughly positioned closer to the position is used as the reference positioning point.
  • the back-end server may also obtain the travel direction information and speed information of the service device, and the back-end server may determine the reference positioning point according to the travel direction information and speed information, for example, select the location along the travel A positioning point (for example, the center point of an intersection) whose direction is in front of the rough positioning position of the service device and a preset distance from the rough positioning position is used as the reference positioning point.
  • S303 Correct the rough positioning position information of the service device according to the positioning deviation information of the reference positioning point to obtain precise positioning position information of the service device.
  • the precise location location information of the service device may be location location information that can truly reflect the actual location of the service device (almost no error or small error with the actual location of the service device).
  • the precise location information of the service device includes not only the horizontal geographic coordinates (such as GPS coordinates, latitude and longitude), but also the vertical height (such as altitude, height from the ground, etc.).
  • the vertical height can assist in characterizing the location of the service equipment (such as characterizing whether the service equipment is on or under the bridge of the viaduct, or on which floor of the high-rise building the service equipment is located).
  • the determined precise location information of the service device is more comprehensive and more accurate.
  • the positioning deviation information of the reference positioning point is calculated according to the precise positioning position information of the reference positioning point and the rough positioning position information of the reference positioning point. It includes the deviation of the distance on the one hand and the deviation of the direction on the other hand. The deviation can also be referred to as the angle of the relative set coordinate system.
  • the precise positioning position information of the reference positioning point is to the southeast direction (that is, between due east and due south 45° Direction) moved 3 meters.
  • the distance deviation in the positioning deviation information of the reference positioning point may further include the distance deviation in the horizontal direction and the distance deviation in the vertical direction.
  • the positioning deviation information here may be the positioning deviation information of the reference positioning point determined by the positioning platform when the back-end server of the shared vehicle obtains the position information of the reference positioning point from the positioning platform, or it may be sent by the back-end server based on the positioning platform
  • the precise positioning position information of the reference positioning point and the rough positioning position information of the reference positioning point determine the positioning deviation information.
  • the absolute distance difference of the reference positioning point can be calculated according to the precise positioning position information and the rough positioning position information of the reference positioning point.
  • the positioning offset vector of the precise positioning position relative to the coarse positioning position can be determined based on these two coordinate vectors (the positioning offset).
  • the vector can be expressed in the form of three-dimensional coordinates.
  • the three-dimensional coordinates can correspond to the offset of the due east, due south, and vertical directions respectively), and then determine the location of the service device according to the rough location information of the service device.
  • the position of the service device can be corrected according to the positioning offset vector of the reference positioning point and the coordinates of the service device in the coordinate system.
  • the precise positioning position information of the reference positioning point can be compared with the The rough positioning position information of the reference positioning point is 3 meters moving to the southeast direction, then the rough positioning position information of the service device is moved 3 meters southeast to obtain the precise positioning position information of the service device.
  • the positioning deviation information of the reference anchor point may be pre-stored in the back-end server, or the precise location information and rough location information of the reference anchor point may be stored in the back-end server.
  • the positioning deviation information of the reference positioning point is determined according to the precise positioning position information and the rough positioning position information of the reference positioning point.
  • step S303 the rough positioning position information of the service device is corrected according to the positioning deviation information of the reference positioning point to obtain the precise positioning position information of the service device, including the following specific steps S701 to S703:
  • S701 Determine a weighting coefficient according to the distance between the service device and each reference positioning point
  • the distance here can be calculated based on the rough location information of the reference location point and the rough location information of the service device.
  • S702 Perform a weighted calculation on the positioning deviation information of each reference positioning point according to the weighting coefficient to determine the comprehensive deviation information
  • S703 Correct the rough positioning position information of the service device according to the comprehensive deviation information to obtain precise positioning position information of the service device.
  • the weighting coefficient w of the k-th reference positioning point can be determined by the following formula:
  • k ⁇ (1,n) h i represents the i-th reference
  • the denominator of the formula is the sum of the distance between each reference positioning point and the service device. According to the formula, the weighting coefficient corresponding to each reference positioning point can be determined.
  • the comprehensive deviation information E can be calculated according to the following formula:
  • p i represents the positioning deviation information corresponding to the i-th reference positioning point, where the positioning deviation information includes deviation distance and deviation angle.
  • the rough positioning position information of the service device is corrected according to the comprehensive deviation information.
  • the specific correction process is similar to the above-mentioned process of correcting the position of the service device based on a reference positioning point, for example, including three reference positioning
  • the distance between the first reference location and the service device is 3m
  • the distance between the second reference location and the service device is 2m
  • the distance between the third reference location and the service device is 5m
  • the corresponding weighting coefficient is 0.3
  • the weighting coefficient corresponding to the second reference positioning point is 0.2
  • the weighting coefficient corresponding to the third reference positioning point is 0.5; if the positioning deviation information corresponding to the first reference positioning point is the ratio of precise positioning information
  • the rough positioning position information moves 2m in the direction 30 degrees east-southeast
  • the positioning deviation information corresponding to the second reference point is that the precise positioning position information moves 2.2 m in the direction 32 degrees east-southeast than the rough positioning position information.
  • the weighting coefficient of each reference positioning point can be determined according to the update time of the positioning deviation information of each reference positioning point.
  • the update time determines the confidence level of the position deviation information of each reference anchor point.
  • the reference anchor point with a shorter update time has a higher confidence level, and its weighting coefficient can be set to be higher.
  • the reference anchor point with a longer update time has a higher confidence level. Low, you can set its weighting coefficient to be lower.
  • the weighting coefficient may be determined according to the angle between the connection between the reference location point and the service device and the travel direction of the service device. For example, the smaller the angle, the closer the reference location point is. For the travel path of the service device, the higher the weighting coefficient of the reference positioning point can be set.
  • this method can select the location point as close as possible to the travel path of the service device as the reference location according to the travel direction of the service device, and the location point close to the travel path of the service device and the environment where the service device is located The factors (for example, external interference, signal strength) are similar, which avoids that the final reference location point is too far away from the service device and affects the accuracy of the determined precise location information.
  • a machine learning model when there are multiple reference positioning points, a machine learning model can be used to obtain the positioning deviation information of the service device, and then the precise positioning position information of the service device can be determined according to the positioning deviation information and rough positioning position information of the service device.
  • the machine learning model may be a neural network model.
  • the machine learning model can determine the positioning deviation information of the service device according to the positioning deviation information of the input multiple reference positioning points (for example, it may include the deviation direction angle of the rough positioning position information relative to the precise positioning position information, the deviation distance value, etc. ).
  • the input of the machine learning model may include positioning deviation information of multiple reference positioning points.
  • the input of the machine learning model may also include the positional relationship between the rough positioning position of the service device and each reference positioning point (such as separation distance and relative direction, etc.). In some embodiments, the input of the machine learning model may also include the moving speed of the service device, the type of the service device, and the way of obtaining a rough location.
  • the output of the machine learning model may be the positioning deviation information of the service equipment.
  • the machine learning model is used to determine the positioning deviation information of the rough positioning position of the service device, and the calculation efficiency can be improved when the data amount of the positioning deviation information of the reference positioning point is large.
  • it is possible to comprehensively consider the influence of factors such as the speed of the service equipment, the type of the service equipment, and the way of obtaining the rough positioning position information of the service equipment on the positioning deviation information of the service equipment, and the information corresponding to the above factors and the positioning deviation information of the reference positioning point As a feature, it is possible to obtain more accurate positioning deviation information of the service device, thereby obtaining accurate positioning position information of the service device.
  • a comprehensive position of the multiple rough positioning positions may be determined first (for example, it may be an average position or a weighted average position, etc.). This method can reduce the amount of calculation when determining the precise positioning location information, improve the efficiency of obtaining the precise positioning location information, and reduce the computing load of the background server.
  • the rough positioning position information includes multiple rough positioning positions
  • multiple positioning positions in the rough positioning position information of the service device may be corrected according to the positioning deviation information of the reference positioning point to obtain the service device
  • the multiple precise positioning positions are processed to obtain a comprehensive position of the multiple precise positioning positions (for example, an average position or a weighted average position).
  • a machine learning model may be used to obtain a comprehensive position of the rough positioning position of the service device.
  • the machine learning model may be a neural network model.
  • the machine learning model can calculate the comprehensive position of the rough positioning position of the service equipment.
  • the input of the machine learning model includes a plurality of coarse positioning positions of the coarse positioning position information of the service device.
  • the output of the machine learning model may be a comprehensive position of the rough positioning position of the service device of the service device.
  • the machine learning model may be used to obtain the positioning deviation information of the service device based on the rough positioning position information and the precise positioning position information of the multiple reference positioning points and the rough positioning position information of the service device.
  • the machine learning model can determine the positioning deviation information of the service device (for example, may include the rough positioning position information) according to the rough positioning position information and the precise positioning position information of the multiple reference positioning points input therein, and the rough positioning position information of the service device. Relatively accurate positioning of the angle of the deviation direction of the position information, the value of the deviation distance, etc.).
  • the input of the machine learning model includes the rough positioning position information of the service equipment and the rough positioning position information and the precise positioning position information of the reference positioning point, and its output may be the positioning deviation information of the service equipment.
  • the output of the machine learning model may also be the precise location information of the service device.
  • the initial machine learning model can be obtained, and the initial machine learning model can be trained based on the training sample data to generate the final machine learning model.
  • the training sample data may include rough positioning position information and precise positioning position information of multiple reference positioning points, as well as labels of each reference positioning point.
  • the tag is used to characterize the deviation of the rough positioning position information of the reference positioning point relative to the precise positioning position information.
  • the label may include direction and distance, for example, (Southeast direction, 3 meters).
  • the label may be predetermined, for example, the label may be determined based on historical data.
  • the initial machine learning model can learn based on the characteristics and labels of the training data, and adjust the parameters of the initial model. For example, through the gradient descent method, back propagation method to adjust the parameters.
  • the initial machine learning model can be continuously trained until the training result converges, and the training ends, and the final machine learning model is generated.
  • the location deviation information or precise location information of the service device can be directly determined by using the machine learning model, which simplifies the calculation steps and improves The calculation efficiency is improved, and the final location information of the service equipment is more accurate.
  • the precise positioning request also carries the identification code of the service device, and the service device is a vehicle.
  • the positioning in the embodiment of the present application Methods also include:
  • control the service device to unlock and send a message indicating that the vehicle cannot be locked to the user terminal associated with the identification code. If so, allow the service device to be locked.
  • the legal parking area information here refers to the coordinate information of the legal parking area set in advance.
  • the car lock of this type of vehicle is a horseshoe lock.
  • the vehicle sends a message indicating that the vehicle is locked to the vehicle
  • the back-end server where the information used to indicate that the vehicle is locked can be digital information, such as "0" means the lock is closed, and then the back-end server can judge according to the precise location information of the service device and the coordinate information of the legal parking area stored in advance Whether the vehicle is located in the legal parking area, that is, whether the user is parked legally, if it is judged that the vehicle is not located in the legal parking area according to the precise location information of the vehicle, the vehicle will be re-controlled to unlock, so that the vehicle cannot be locked.
  • the service device may also be a vehicle that is automatically locked, and the user can request to close the lock by clicking the lock button on the service device or the lock control on the user terminal.
  • the service device is a vehicle
  • the positioning method in the embodiment of the present application further includes:
  • the car lock of the vehicle here can be a car lock that automatically locks, such as a hub lock.
  • the back-end server can also send a lock request according to the service
  • the precise location information of the device and the pre-stored coordinate information of the legal parking area determine whether the vehicle is located in the legal parking area, that is, whether the user is parked legally, if it is determined that the vehicle is not located in the legal parking area according to the precise location information of the vehicle Inside, the vehicle will not be controlled to lock, but a message that the lock cannot be closed will be sent to the user terminal so that the user can park the vehicle in the legal parking area again.
  • the vehicle is allowed to be locked, the vehicle lock is controlled to close, and a message that the vehicle lock has been closed is sent to the user terminal so that the user knows that the vehicle is off Lock state.
  • the precise location information of the service device can be acquired at preset time intervals or in real time, and the movement trajectory of the service device can be determined according to the precise location information, so as to realize the collection and monitoring of the movement trajectory of the service device.
  • the embodiments of the present application provide an accurate positioning method, which can accurately locate the location information of the shared vehicle, and facilitate the regulation of users to park in compliance.
  • the positioning method provided by the embodiments of the present application does not require the service device to request precise location information from the positioning platform, which reduces the consumption of network resources by the service device; since the service device no longer needs to obtain precise location information from the positioning platform, it does not require Register an account specifically for requesting precise positioning, thereby saving the cost of service equipment; furthermore, the service equipment does not need to receive the precise positioning location information returned by the positioning platform, and does not need to consume more resources to process the precise positioning location information, thereby reducing The resource consumption of service equipment is reduced.
  • the precise location of the service equipment can also be further obtained, thereby reducing the cost of the service equipment and overcoming the disadvantages of the objective environment. accurate locating.
  • the embodiment of the present application also provides a positioning method, which is applied to a service device. As shown in FIG. 8, the positioning method includes:
  • S801 Send a precise positioning request to the background server; the precise positioning request carries rough positioning position information of the service device;
  • S802 Receive a reference location point corresponding to the service device determined by the background server according to the rough location information of the service device and returned by the background server;
  • S803 Correct the rough positioning position information of the service device according to the positioning deviation information of the reference positioning point to obtain precise positioning position information of the service device.
  • the positioning deviation information of the reference positioning point is calculated based on the precise positioning position information of the reference positioning point and the rough positioning position information of the reference positioning point.
  • the deviation information of the reference anchor point can also be determined by the back-end server of the shared vehicle and then sent to the service device, or it can be determined by the service device, that is, the back-end server will reference the reference anchor point and the precise location information and rough location
  • the position information is sent to the service device, and the service device determines the positioning deviation information according to the precise positioning position information and the rough positioning position information of the reference positioning point, which is not specifically limited here.
  • the process in which the service device corrects the rough location information of the service device based on the location deviation information is similar to the correction process described above, and will not be repeated here.
  • correcting the rough positioning position information of the service device according to the positioning deviation information of the reference positioning points to obtain the precise positioning position information of the service device includes:
  • weighting coefficient perform weighted calculation on the positioning deviation information of each reference positioning point to determine the comprehensive deviation information
  • determining the comprehensive deviation information is obtained by the service device after determining the weighting coefficient according to the distance between each reference positioning point and the service device, and then performing a weighting calculation.
  • the specific process is similar to the above description, and will not be repeated here.
  • the embodiment of the application also provides a positioning device corresponding to the positioning method. Since the principle of the device in the embodiment of the application to solve the problem is similar to the positioning method described in the embodiment of the application, the implementation of the device can refer to the method The implementation of the repetition will not be repeated.
  • the embodiment of the present application also provides a positioning device 900, as shown in Fig. 9, which resides on a background server, and the positioning device 900 includes:
  • the obtaining module 901 is used to obtain the precise positioning request issued by the service device; the precise positioning request carries rough positioning position information of the service device;
  • the determining module 902 is configured to determine the reference positioning point corresponding to the service device according to the rough location information of the service device;
  • the processing module 903 is used to correct the rough positioning position information of the service device according to the positioning deviation information of the reference positioning point to obtain the precise positioning position information of the service device; the positioning deviation information of the reference positioning point is based on the precise positioning of the reference positioning point The position information and the rough positioning position information of the reference positioning point are calculated.
  • the determining module 902 is specifically configured to:
  • the determining module 902 is specifically configured to:
  • edges of two adjacent positioning areas are in close proximity; or, the edges of two adjacent positioning areas overlap.
  • the processing module 903 is specifically configured to:
  • weighting coefficient perform weighted calculation on the positioning deviation information of each reference positioning point to determine the comprehensive deviation information
  • the rough positioning position information of the service device is corrected according to the comprehensive deviation information to obtain the precise positioning position information of the service device.
  • the precise positioning request also carries the identification code of the service device.
  • the service device is a vehicle.
  • the positioning device 900 further includes a control module 904. After the processing module 903 obtains the precise location information of the service device, the control module 904 Used for:
  • control the service device to unlock, and send a message indicating that the vehicle cannot be locked to the user terminal associated with the identification code.
  • the service device is a vehicle
  • the positioning device 900 further includes a control module 904. After the processing module obtains the precise location information of the service device, the control module is used to:
  • the embodiment of the present application also provides a positioning device 1000 that resides in a service device, and the positioning device 1000 includes:
  • the sending module 1001 is used to send a precise positioning request to the background server; the precise positioning request carries the rough positioning position information of the service device;
  • the receiving module 1002 is configured to receive the reference positioning point corresponding to the service device determined by the background server according to the rough location information of the service device and returned by the background server;
  • the processing module 1003 is used for correcting the rough positioning position information of the service device according to the positioning deviation information of the reference positioning point to obtain the precise positioning position information of the service device; the positioning deviation information of the reference positioning point is based on the precise positioning of the reference positioning point The position information and the rough positioning position information of the reference positioning point are calculated.
  • the processing module 1003 is specifically configured to:
  • weighting coefficient perform weighted calculation on the positioning deviation information of each reference positioning point to determine the comprehensive deviation information
  • the embodiment of the present application also provides an electronic device, which can be a back-end server or a service device.
  • the electronic device is a back-end server, as shown in FIG. 11, the electronic device 1100 provided in this embodiment of the application is A schematic structural diagram, including: a processor 1101, a storage medium 1102, and a bus 1103.
  • the storage medium 1102 stores machine-readable instructions executable by the processor 1101 (for example, execution instructions corresponding to the acquisition module 901, the determination module 902, and the processing module 903 in the apparatus in FIG. 9).
  • the processing The processor 1101 communicates with the storage medium 1102 through the bus 1103, and when the machine-readable instructions are executed by the processor 1101, the following processing is performed:
  • the precise location request sent by the service device;
  • the precise location request carries the rough location information of the service device;
  • the positioning deviation information of the reference positioning point is based on the precise positioning position information of the reference positioning point and the reference positioning point
  • the rough location information is calculated.
  • the instructions executed by the processor 1101 specifically include:
  • the instructions executed by the processor 1101 specifically include:
  • edges of two adjacent positioning areas are close to each other; or, the edges of two adjacent positioning areas overlap.
  • the instructions executed by the processor 1101 specifically include:
  • weighting coefficient weighted calculation is performed on the positioning deviation information of each reference positioning point to determine the comprehensive deviation information
  • the precise location request also carries the identification code of the service device, and the service device is a vehicle.
  • the instruction executed by the processor 1101 after obtaining the precise location information of the service device further includes:
  • control the service device to unlock, and send a message indicating that the vehicle cannot be locked to the client associated with the identification code.
  • the service device is a vehicle.
  • the instructions executed by the processor 1101, after obtaining the precise location information of the service device further include:
  • the schematic structural diagram of the electronic device 1200 provided in this embodiment of the application includes: a processor 1201, a storage medium 1202, and a bus 1203.
  • the storage medium 1202 stores machine-readable instructions executable by the processor 1201 (for example, the sending module 1001, the receiving module 1002, the execution instructions corresponding to the processing module 1003 in the apparatus in FIG. 10, etc.).
  • the processing The processor 1201 communicates with the storage medium 1202 through the bus 1103, and when the machine-readable instructions are executed by the processor 1201, the following processing is performed:
  • the precise location request carries the rough location information of the service device
  • the positioning deviation information of the reference positioning point is based on the precise positioning position information of the reference positioning point and the reference positioning point
  • the rough location information is calculated.
  • the instructions executed by the processor 1101 specifically include:
  • weighting coefficient perform weighted calculation on the positioning deviation information of each reference positioning point to determine the comprehensive deviation information
  • the embodiment of the present application also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and the computer program executes the steps of the above positioning method when the computer program is run by a processor.
  • the storage medium can be a general storage medium, such as a removable disk, a hard disk, etc., and when the computer program on the storage medium is run, the above positioning method can be executed, thereby realizing precise positioning of the service device.
  • the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a nonvolatile computer readable storage medium executable by a processor.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Analytical Chemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

一种定位方法、装置、电子设备及存储介质,其中,该方法包括:获取服务设备所发出的精确定位请求;精确定位请求中携带有服务设备的粗略定位位置信息(S301);根据服务设备的粗略定位位置信息确定服务设备所对应的参考定位点(S302);根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息(S303);参考定位点的定位偏差信息是根据参考定位点的精确定位位置信息和参考定位点的粗略定位位置信息计算得到的。

Description

一种定位方法、装置、电子设备及存储介质
交叉引用
本申请要求2019年05月29日提交的申请号为201910458371.7的中国申请的优先权。
技术领域
本申请涉及定位技术领域,具体而言,涉及一种定位方法、装置、电子设备及存储介质。
背景技术
随着社会经济的发展,通常需要对各种交通工具(如,共享车辆、送货车、游览车等)或移动设备(如,手机、可穿戴设备)进行定位,以方便人们对交通工具或移动设备进行查找或监控。例如,在一些应用场景中,需要知道共享车辆的位置信息,该应用场景下提供共享车辆的粗略定位位置信息即可,即精度较低即可。但是在另一些应用场景中,比如规范定位停车和运维人员精确寻找共享车辆的场景中,则需要知道共享车辆的精确位置信息,从而便于规范停车以及方便寻找到隐藏的共享车辆。因此,有必要提供一种能够获取服务设备的精确定位位置信息的方法。
发明内容
有鉴于此,本申请的目的在于提供一种定位方法、装置、电子设备及存储介质,以提供一种精确定位方法。
第一方面,本申请实施例提供了一种定位方法,应用于后台服务器,所述定位方法包括:获取服务设备所发出的精确定位请求;所述精确定位请求中携带有服务设备的粗略定位位置信息;根据所述服务设备的粗略定位位置信息确定 所述服务设备所对应的参考定位点;根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息;所述参考定位点的定位偏差信息是根据所述参考定位点的精确定位位置信息和所述参考定位点的粗略定位位置信息计算得到的。
在一些实施方式中,根据所述服务设备的粗略定位位置信息确定所述服务设备所对应的参考定位点,包括:根据所述服务设备的粗略定位位置信息,分别计算所述服务设备与每个定位点之间的距离;选择与所述服务设备之间的距离最小的定位点作为所述参考定位点。
在一些实施方式中,所述根据所述服务设备的粗略定位位置信息确定所述服务设备所对应的参考定位点,包括:根据所述服务设备的粗略定位位置信息和预先设定的定位区域信息,确定所述服务设备所在的定位区域;将所述服务设备所在的定位区域中的定位点作为所述参考定位点。
在一些实施方式中,相邻的两个定位区域的边缘紧邻;或,相邻的两个定位区域的边缘重叠。
在一种实施方式中,若所述参考定位点为多个,则根据参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息,包括:根据所述服务设备与每个参考定位点之间的距离,确定加权系数;根据所述加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;根据所述综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息。
在一种实施方式中,所述精确定位请求中还携带有服务设备的标识码,所述服务设备为车辆,在得到所述服务设备的精确定位位置信息之后,所述定位方法还包括:接收到所述服务设备发送的用于指示车辆关锁的信息时,根据所述服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断所述车辆是否位于合法停车区域内;若否,控制所述服务设备进行开锁,并向与所述标识码 关联的用户端发送指示车辆无法关锁的信息。
在一种实施方式中,所述服务设备为车辆,在得到所述服务设备的精确定位位置信息之后,所述定位方法还包括:接收到用户端发送的关锁请求时,根据所述服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断所述车辆是否位于合法停车区域内;若否,向与所述用户端发送用于指示车辆无法关锁的信息。
第二方面,本申请实施例提供了一种定位方法,应用于服务设备,所述定位方法包括:向后台服务器发出精确定位请求;所述精确定位请求中携带有所述服务设备的粗略定位位置信息;接收所述后台服务器返回的所述后台服务器根据所述服务设备的粗略定位位置信息确定的所述服务设备对应的参考定位点;根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息;所述参考定位点的定位偏差信息是根据所述参考定位点的精确定位位置信息和所述参考定位点的粗略定位位置信息计算得到的。
在一些实施方式中,若所述参考定位点为多个,则根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息,包括:根据所述服务设备与每个参考定位点之间的距离,确定加权系数;根据所述加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;根据所述综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息。
第三方面,本申请实施例提供了一种定位装置,驻留于后台服务器,所述定位装置包括:获取模块,用于获取服务设备所发出的精确定位请求;所述精确定位请求中携带有服务设备的粗略定位位置信息;确定模块,用于根据所述服务设备的粗略定位位置信息确定所述服务设备所对应的参考定位点;处理模块,用于根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进 行校正,以得到所述服务设备的精确定位位置信息;所述参考定位点的定位偏差信息是根据所述参考定位点的精确定位位置信息和所述参考定位点的粗略定位位置信息计算得到的。
在一些实施方式中,所述确定模块,具体用于:根据所述服务设备的粗略定位位置信息,分别计算所述服务设备与每个定位点之间的距离;选择与所述服务设备之间的距离最小的定位点作为所述参考定位点。
在一些实施方式中,所述确定模块,具体用于:根据所述服务设备的粗略定位位置信息和预先设定的定位区域信息,确定所述服务设备所在的定位区域;将所述服务设备所在的定位区域中的定位点作为所述参考定位点。
在一些实施方式中,相邻的两个定位区域的边缘紧邻;或,相邻的两个定位区域的边缘重叠。
在一些实施方式中,若所述参考定位点为多个,所述处理模块,具体用于:根据所述服务设备与每个参考定位点之间的距离,确定加权系数;根据所述加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;根据所述综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息。
在一些实施方式中,所述精确定位请求中还携带有服务设备的标识码,所述服务设备为车辆,所述定位装置还包括控制模块,所述控制模块在所述处理模块得到所述服务设备的精确定位位置信息之后,用于:接收到所述服务设备发送的用于指示车辆关锁的信息时,根据所述服务设备的精确定位位置信息和预先存储的合法停车区域,判断所述车辆是否位于所述合法停车区域;若否,控制所述服务设备进行开锁,并向与所述标识码关联的用户端发送指示车辆无法关锁的信息。
在一些实施方式中,所述服务设备为车辆,所述定位装置还包括控制模块,所述控制模块在所述处理模块得到所述服务设备的精确定位位置信息之后,用 于:接收到用户端发送的关锁请求时,根据所述服务设备的精确定位位置信息和预先存储的合法停车区域,判断所述车辆是否位于所述合法停车区域;若否,向与所述用户端发送用于指示车辆无法关锁的信息。
第四方面,本申请实施例提供了一种定位装置,驻留于服务设备,所述定位装置:发送模块,用于向后台服务器发出精确定位请求;所述精确定位请求中携带有所述服务设备的粗略定位位置信息;接收模块,用于接收所述后台服务器返回的所述后台服务器根据所述服务设备的粗略定位位置信息确定的所述服务设备对应的参考定位点;处理模块,用于根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息;所述参考定位点的定位偏差信息是根据所述参考定位点的精确定位位置信息和所述参考定位点的粗略定位位置信息计算得到的。
在一些实施方式中,若所述参考定位点为多个,所述处理模块具体用于:根据所述服务设备与每个参考定位点之间的距离,确定加权系数;根据所述加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;根据所述综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息。
第五方面,本申请实施例提供了一种电子设备,包括:处理器、存储介质和总线,所述存储介质存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储介质之间通过总线通信,所述处理器执行所述机器可读指令,以执行如第一方面或第二方面所述定位方法的步骤。
第六方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如第一方面或第二方面所述定位方法的步骤。
本申请实施例提供的定位方法,能够在获取到服务设备的粗略定位位置信息后,根据该服务设备的粗略定位位置信息确定与该服务设备对应的参考定 位点,然后根据该参考定位点的精确定位位置信息和粗略定位位置信息确定出该参考定位点的定位偏差信息,最后,基于该参考定位点的定位偏差信息和服务设备的粗略定位位置信息确定该服务设备的精确定位位置信息。
可见,当存在多个服务设备时,本申请实施例由服务设备的后台服务器统一向定位平台获取一些定位点的精确定位位置信息,然后再根据每个服务设备的粗略定位位置信息、与该服务设备对应的定位点的定位偏差信息确定出该服务设备的精确定位位置信息,即本申请提供了一种获取服务设备的精确定位位置信息的方法,当服务设备为共享车辆时,即提供了一种获取共享车辆的精确定位位置信息的方法。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1示出了本申请实施例提供的一种定位系统的架构示意图;
图2示出了本申请实施例提供的另一种定位系统的架构示意图;
图3示出了本申请实施例提供的后台服务器端的定位方法的流程图;
图4示出了本申请实施例提供的一种后台服务器确定参考定位点的方法流程图;
图5示出了本申请实施例提供的另一种后台服务器确定参考定位点的方法流程图;
图6示出了本申请实施例提供的相邻定位区域的位置关系示意图;
图7示出了本申请实施例提供的后台服务器端的一种校正粗略定位位置信息的方法流程图;
图8示出了本申请实施例提供的服务设备端的定位方法的流程图;
图9示出了本申请实施例提供的一种定位装置的结构示意图;
图10示出了本申请实施例提供的另一种定位装置的结构示意图;
图11示出了本申请实施例提供的一种电子设备的结构示意图;
图12示出了本申请实施例提供的另一种电子设备的结构示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,应当理解,本申请中附图仅起到说明和描述的目的,并不用于限定本申请的保护范围。另外,应当理解,示意性的附图并未按实物比例绘制。本申请中使用的流程图示出了根据本申请的一些实施例实现的操作。应该理解,流程图的操作可以不按顺序实现,没有逻辑的上下文关系的步骤可以反转顺序或者同时实施。此外,本领域技术人员在本申请内容的指引下,可以向流程图添加一个或多个其他操作,也可以从流程图中移除一个或多个操作。
另外,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。
为了使得本领域技术人员能够使用本申请内容,结合特定应用场景“共享车辆的定位方法”,给出以下实施方式。对于本领域技术人员来说,在不脱离本申请的精神和范围的情况下,可以将这里定义的一般原理应用于其他实施例和应用场景(例如,交通工具、移动设备)。虽然本申请主要围绕共享车辆的定位方法进行描述,但是应该理解,这仅是一个示例性实施例。
需要说明的是,本申请实施例中将会用到术语“包括”,用于指出其后所 声明的特征的存在,但并不排除增加其它的特征。
如图1所示,为一种定位系统,包括定位平台、多个共享车辆和共享车辆的后台服务器,这里的定位平台可以是使用基于全球定位系统(GlobalPositioningSystem,GPS)、全球导航卫星系统(GlobalNavigationSatelliteSystem,GLONASS)、伽利略定位系统等,或其任意组合的定位平台,当定位平台接收到请求端发送的粗略定位请求时,能够将该请求端的粗略定位位置信息发送至该请求端,当定位平台接收到请求端发送的精确定位请求时,能够将该请求端的精确定位位置信息发送至该请求端,这里精确定位位置信息的精度大于粗略定位位置信息的精度。
在一些实施例中,定位平台除了基于上述系统进行定位外,还可以基于北斗导航系统进行定位,或者还可以通过其他基于卫星的定位方法、基于基站的定位方法、基于wifi接入点的定位方法、基于拍照的定位方法等方法来实现定位。例如,通过基站定位时,可以基于基站与待定位设备之间通信的时差和/或信号强度等来获得待定位设备的位置信息。又例如,通过wifi接入点定位时,可以是通过确定wifi接入点的位置以及待定位设备与wifi接入点的距离等来确定待定位设备的位置信息。还例如,通过拍照定位时,可以基于待定位设备拍摄的图像和/或视频,识别出路标,并基于该路标及待定位设备的相对位置来获得待定位设备的位置信息。另外,定位平台还可以将上述定位系统或定位方式进行任意组合,以实现其定位功能。
在一些实施例中,后台服务器可以用于处理与定位相关的信息和/或数据。后台服务器可以是独立的服务器或者服务器组。该服务器组可以是集中式的或者分布式的(如:后台服务器可以是分布系统)。在一些实施例中该后台服务器可以是区域的或者远程的。例如,后台服务器可通过网络访问存储于用户终端、服务设备和/或定位平台的信息和/或资料。在一些实施例中,后台服务器可直接与用户终端、服务设备和/或定位平台连接以访问存储于其中的信息和/或资料。 在一些实施例中,后台服务器可在云平台上执行。例如,该云平台可包括私有云、公共云、混合云、社区云、分散式云、内部云等中的一种或其任意组合。
在一些实施例中,后台服务器可包含处理设备。该处理设备可处理与服务请求有关的数据和/或信息以执行一个或多个本申请中描述的功能。例如,处理设备可基于从用户终端获取的用户使用共享汽车的请求,并为用户终端提供需要使用的共享汽车的精确位置信息。在一些实施例中,处理设备可包含一个或多个子处理设备(如:单芯处理设备或多核多芯处理设备)。仅仅作为范例,处理设备可包含中央处理器(CPU)、专用集成电路(ASIC)、专用指令处理器(ASIP)、图形处理器(GPU)、物理处理器(PPU)、数字信号处理器(DSP)、现场可编程门阵列(FPGA)、可编辑逻辑电路(PLD)、控制器、微控制器单元、精简指令集电脑(RISC)、微处理器等或以上任意组合。
在一些实施例中,定位系统还可以包括网络和数据库。网络可促进数据和/或信息的交换。在一些实施例中,定位系统中的一个或多个组件(如后台服务器、定位平台、用户终端和数据库)可通过网络发送数据和/或信息给定位系统中的其他组件。例如,后台服务器可通过网络从定位平台获取服务设备的粗略定位位置信息。在一些实施例中,网络可是任意类型的有线或无线网络。例如,网络可包括一缆线网络、有线网络、光纤网络、电信网络、内部网络、网际网络、区域网络(LAN)、广域网络(WAN)、无线区域网络(WLAN)、都会区域网络(MAN)、公共电话交换网络(PSTN)、蓝牙网络、ZigBee网络、近场通讯(NFC)网络等或以上任意组合。在一些实施例中,网络可以包括一个或多个网络进出点。例如,网络可以包含有线或无线网络进出点,如基站和/或网际网络交换点,通过这些进出点,定位系统的一个或多个组件可连接到网络上以交换数据和/或信息。
数据库可存储资料和/或指令。在一些实施例中,数据库可存储从用户终端或定位平台中获取的资料。在一些实施例中,数据库可存储供后台服务器执行 或使用的信息和/或指令,以执行本申请中描述的示例性方法。在一些实施例中,数据库可包括大容量存储器、可移动存储器、挥发性读写存储器(例如随机存取存储器RAM)、只读存储器(ROM)等或以上任意组合。在一些实施例中,数据库可在云平台上实现。例如,该云平台可包括私有云、公共云、混合云、社区云、社区云、分散式云、内部云等或以上任意组合。
在一些实施例中,数据库可与网络连接以与定位系统的一个或多个部件(如,后台服务器、用户终端等)通讯。定位系统的一个或多个组件可通过网络访问存储于数据库中的资料或指令。在一些实施例中,数据库可直接与定位系统中的一个或多个组件(如,后台服务器、用户终端等)连接或通讯。在一些实施例中,数据库可以是后台服务器的一部分。
在一些实施例中,定位系统中的一个或多个组件(如,后台服务器、用户终端等)可具有访问数据库的权限。在一些实施例中,当满足一个或多个条件时,定位系统中的一个或多个组件(如,后台服务器、用户终端等)可读取和/或修改与用户、和/或公知常识相关的信息。
通常来说,共享车辆的后台服务器需要知道共享车辆的精确位置信息时,需要每辆共享车辆基于各自注册账号向定位平台发送精确定位请求,然后得到精确定位位置信息后,再将该精确定位位置信息发送至后台服务器,这种方式需要每辆共享车辆都注册账号并发起精准定位请求,因而向定位平台发送的精确定位次数较多,造成网络资源消耗大的问题。有鉴于此,本申请提供了一种定位方法、装置、电子设备及存储介质,其可以应用于任何对共享车辆的定位方法的场景,这里的共享车辆可以是共享单车、共享助力车、共享电动车和共享汽车。下面将通过具体实施例对本申请提供的定位方法进行具体描述。
在介绍本申请实施例的定位方法之前,先介绍本申请实施例提供的一种精确定位系统,如图2所示,包括定位平台1、定位平台2、多个共享车辆和共享车辆的后台服务器,这里的定位平台2为可以提供精确定位位置信息的定位 平台,定位平台1与定位平台2可以是一个定位平台,也可以是仅仅提供粗略定位位置信息的定位平台,每个共享车辆可以向定位平台1发送粗略定位请求,然后即可以接收到定位平台1返回的粗略定位位置信息,然后共享车辆在开锁后,即可以向共享车辆的后台服务器发送精确定位请求,后台服务器可以提前统一向定位平台2请求预设的定位点的精确定位位置信息和粗略定位位置信息,当后台服务器接收到共享车辆发送的精确定位请求时,即能够根据共享车辆的粗略定位位置信息在预设的定位点中确定出与共享车辆对应的参考定位点,然后根据参考定位点的定位偏差信息和共享车辆的粗略定位位置信息确定出共享车辆的精确定位位置信息。
在上述实施例中,服务设备除了可以是共享车辆,还可以是其他交通工具(例如,游览车、送货车)、用户终端设备(例如,移动设备、可穿戴设备)。服务设备可以定时向定位平台1发送粗略定位请求,并在接收到粗略定位位置信息后将其储存。后台服务器可以定时向定位平台2发送预设的定位点的定位信息请求,以获取预设的定位点的精确定位位置信息和粗略定位位置信息,并将其储存。
下面将以共享车辆进行阐述,应当理解,这仅是一个示例性实施例,并不限制本申请的应用范围。
下面以本申请实施例提供的定位方法进行详细阐述,该定位方法应用于后台服务器,这里的后台服务器可以为共享车辆的后台服务器,如图3所示,该定位方法包括以下具体步骤S301~S303:
S301,获取服务设备所发出的精确定位请求;该精确定位请求中携带有服务设备的粗略定位位置信息;
在本申请实施例中,这里的服务设备即为共享车辆或者共享车辆上的一种电子设备,比如可以是共享自行车、共享电动车、共享助力车或者共享汽车,也可以是共享自行车、共享电动车、共享助力车或共享汽车上的电子设备。
在一些实施例中,服务设备可以是提供服务的且位置不固定的设备,服务设备一般是可以移动的。服务设备除了可以是共享车辆或者共享车辆上的一种电子设备外,也可以是游览车、送货车等需要被精确定位的车辆,还可以是设置在货物上的电子设备(如定位芯片)。此外,服务设备还可以是用户(如送货人员、共享汽车的驾驶人员等)的移动设备(如,手机、笔记本电脑)、智能穿戴设备等。总体来说,服务设备可以是各类交通工具,也可以是各类电子设备或者设置有电子设备的各类物品。
在一些实施例中,精确定位请求可以是服务设备向后台服务器发送的请求后台服务器传输服务设备的精确定位位置信息的数据。在一些实施例中,在精确定位请求的数据中,可以携带有服务设备的粗略定位位置信息。在另一些实施例中,粗略定位位置信息可以不携带在精确定位请求的数据中,例如,可以由定位平台1直接发送给后台服务器。又例如,服务设备向后台服务器发送精确定位请求后,可以在接收到后台服务器要求发送粗略定位位置信息后,再将粗略定位位置信息发送给后台服务器。
粗略定位位置信息可以为精度较低的、只能反映服务设备的大概位置(可能与服务设备的实际位置存在偏差)的定位位置信息。该粗略定位位置信息可以是在发送精确定位请求之前实时获取的。本申请的定位方法能够通过服务设备获取的粗略定位位置信息来确定服务设备的精确定位位置信息,不需要服务设备具有较高的定位精度就能够实现精确定位,从而大幅降低了服务设备的成本。为了确保粗略定位位置信息的准确性,服务设备的粗略定位位置信息中可以包括一个粗略定位位置,也可以包括多个粗略定位位置。当粗略定位位置信息中包含多个位置时,可以对多个位置进行处理后得到一个粗略定位的预估位置,避免了因某个位置偏差较大而影响精确定位位置信息的准确性。
在一些实施例中,服务设备的粗略定位位置信息的获取方式包括基于GPS定位、北斗定位、全球导航卫星定位、其他卫星定位、伽利略定位、基站定 位、拍照定位等定位方式获取。例如,通过基站定位时,可以基于基站与服务设备之间通信的时差和/或信号强度来获得服务设备的粗略定位位置信息。又例如,通过拍照定位时,可以基于服务设备拍摄的图像和/或视频,识别出路标,并基于该路标及服务设备的相对位置,以获得服务设备的粗略定位位置信息。关于定位方式的更多内容可以参见图1的描述,在此不做赘述。
在一些实施例中,服务设备的粗略定位位置信息可以间隔预设时间进行获取,并存储在服务设备中,服务设备的粗略定位位置信息也可以实时进行获取。在另一些实施例中,服务设备的粗略定位位置信息可以定时或实时上传到后台服务器的数据库中,当后台服务器接收到精确定位请求后,无需再与服务设备交互即可从数据库中获取服务设备的粗略定位位置信息,可以缩短精确定位位置信息的获取时间。
比如当服务设备为共享车辆时,共享车辆在用户进行开锁后,即可以向共享车辆的后台服务器发送精确定位请求,这里的精确定位请求里携带有服务设备的粗略定位位置信息,该粗略定位位置信息可以是共享车辆向定位平台请求的免费的精度较低的定位位置信息,这里的粗略定位位置信息的精度小于精确定位位置信息,当这里的粗略定位位置信息为表征服务共享车辆的粗略定位位置的参数时,共享车辆上的处理器需要对这些参数进行处理得到该共享车辆的粗略定位位置,相比现有技术中处理器需要对表征共享车辆的精确定位位置的参数进行处理,本申请对处理器的资源消耗要小于对精确定位位置信息进行处理时对处理器的资源消耗。另外,既实现了服务设备的精确定位,便于用户了解服务设备的准确位置,又降低了服务设备的成本。
又例如,当共享车辆的后台服务器接收到共享车辆发出的精确定位请求后,可以向共享车辆发出定位指令,共享车辆向定位平台1请求获取其粗略定位位置信息,然后将粗略定位位置信息发送给后台服务器。或者,当共享车辆的后台服务器接收到共享车辆发出的精确定位请求后,后台服务器可以直接获取 存储在数据库中的共享车辆的粗略定位位置信息。后台服务器无需与服务设备交互即可从数据库中获取服务设备的粗略定位位置信息,可以缩短精确定位位置信息的获取时间。
S302,根据服务设备的粗略定位位置信息确定服务设备所对应的参考定位点。
后台服务器在接收到服务设备的精确定位请求后,能够根据该精确定位请求中携带的服务设备的粗略定位位置信息确定服务设备所对应的参考定位点,这里的参考定位点是指用于对服务设备进行确定精确定位时进行参考的点,即这里的参考定位点是在众多定位点中选择出来用于对该服务设备精确定位的定位点。
在一些实施例中,在确定参考定位点后,可以进一步确定参考定位点的位置信息,参考定位点的位置信息包括精确定位位置信息和粗略定位位置信息。参考定位点的粗略定位位置信息可以为精度较低的、只能反映参考定位点的大概位置(可能与参考定位点的实际位置存在偏差)的定位位置信息;参考定位点的精确位置信息可以为能够真实反映参考定位点的实际位置(与参考定位点的实际位置几乎没有误差或误差很小)的定位位置信息。精确定位位置信息可以是预先储存在后台服务器的数据库中的,也可以是存储在独立的数据库中,再由后台服务器调取的;粗略定位位置信息可以是预先存储在后台服务器中的,也可以是后台服务器在接收到精确定位请求后再实时获取的。
在一些实施例中,参考定位点可以是从若干个定位点中挑选出来的。具体地,可以根据服务设备的粗略定位位置信息对若干个定位点进行初筛,筛选出多个定位点,再从筛选出的多个定位点中进一步确定参考定位点。在一些实施例中,从若干个定位点中筛选出多个定位点的方式可以是以粗略定位位置为中心,划分出一个初筛区域,例如,以粗略定位位置为圆心,预设半径范围(如,5m)后划分出一个圆形区域。选择该初筛区域内的定位点,再从该初筛区域内的定位 点中确定参考定位点。
在另一些实施中,可以确定粗略定位位置和若干个定位点位置的坐标,再根据粗略定位位置的坐标与各个定位点位置坐标筛选出与粗略定位位置距离较近的多个定位点(例如,筛选与粗略定位位置之间的距离小于预设距离(如,5m)的定位点),再从这些与粗略定位位置距离较近的多个定位点中确定参考定位点。关于确定参考定位点的描述可以参见图4的内容,在此不作赘述。
在其他一些实施例中,在对定位点进行初筛的过程中,可以划分出多个的定位区域,同时在后台服务器中存储各个定位点对应的字段,该字段指示各个定位点所在的定位区域。当获取服务设备的粗略定位位置信息后,确定服务设备所处的定位区域,查询该定位区域对应的字段,即可初筛出位于该定位区域内的定位点。在一些替代性实施例中,在对定位点进行初筛的过程中,可以划分出多个的定位区域,并将各个定位区域编号,再对每个定位区域内的各个定位点进行编号,从而根据定位区域与对应的定位点的编号来建立定位区域-定位点的索引表格。当获取服务设备的粗略定位位置信息后,确定服务设备所处的定位区域,查询索引表格,可以初筛出属于该定位区域的定位点。关于确定定位区域中的参考定位点的描述可以参见图5的内容,在此不作赘述。
通过对定位点进行初筛,在定位点数量较多的时候,无需对大量定位点进行处理就能够确定出参考定位点,减小了后台服务器的运算负载。
具体地,在一种实施方式中,步骤S302,根据服务设备的粗略定位位置信息确定服务设备所对应的参考定位点,如图4所示,包括以下具体步骤S401~S402:
S401,根据服务设备的粗略定位位置信息,分别计算服务设备与每个定位点之间的距离;
S402,选择与服务设备之间的距离最小的定位点作为参考定位点。
比如共享车辆的后台服务器可以预先在一个区域设定多个定位点,然后 后台服务器可以同时向定位平台请求这些定位点的粗略定位位置信息和精确定位位置信息,这样后台服务器就可以存储这些定位点的位置信息。
在一些实施例中,参考定位点可以是固定的。这里定位点可以是预先设定的一些停车桩所在的位置点,比如在一个区域设置的多个停车桩,这些停车桩用于指示停车位置,定位点还可以是一些城市的交通建筑物所在的位置区域中的一个位置点,比如公交车站牌所在区域的一个位置点,在此不做具体限定。
在另一些实施例中,参考定位点可以是能够不固定的,即参考定位点可以是具有时效性的位置点。具体地,参考定位点可以是与定位系统上的其他共享车辆在之前一段时间(如,10分钟或30分钟)内确定过精确定位位置信息的位置点。例如,共享车辆A上的乘客在8分钟前下车时,后台服务器确定过下车点的精确定位位置信息,当需要确定共享车辆B的精确定位位置信息时,可以将共享车辆A上乘客的下车点作为参考定位点。可以理解,因为定位系统上不止一辆共享车辆进行精确定位,因此,可以有多个下车点作为共享车辆B的参考定位点。
当后台服务器得到服务设备的粗略定位位置信息后,可以根据该服务设备的粗略定位位置信息和各个定位点的粗略定位位置信息来计算服务设备与每个定位点之间的距离,也可以根据该服务设备的粗略定位位置信息和各个定位点的精确定位位置信息来计算服务设备与每个定位点之间的距离,还可以先通过各个定位点的粗略定位位置信息和精确定位位置信息计算出每个定位点的平均定位位置信息,比如对每个定位点的粗略定位位置信息和精确定位位置信息进行平均计算,得到各个定位点的平均定位位置信息,然后再根据服务设备的粗略定位位置信息和各个定位点的平均定位位置信息计算服务设备与每个定位点之间的距离。
计算服务设备与每个定位点之间的距离可以使用以上方式中的任意一种,在此不做具体限定,然后选择与服务设备之间的距离最小的定位点作为参考定 位点,比如一个北京海淀区设置有100个定位点,可以计算出服务设备与这100个定位点的距离差,然后确定位于中关村的一个定位点A与该服务设备的距离差最小,则可以将该定位点A作为参考定位点。
在另一种实施方式中,步骤S302,根据服务设备的粗略定位位置信息确定服务设备所对应的参考定位点,如图5所示包括:
S501,根据服务设备的粗略定位位置信息和预先设定的定位区域信息,确定服务设备所在的定位区域;
S502,将服务设备所在的定位区域中的定位点作为参考定位点。
这里的定位区域信息可以是预先对一个地区进行划分后得到的多个定位区域的边缘坐标信息,比如对北京市海淀区按照经纬度进行划分得到多个定位区域,或者按照设定长和宽度对该地区进行划分,得到多个定位区域。
将每个定位区域的边缘坐标信息预先进行存储,当接收到服务设备的粗略定位位置信息后,可以通过该粗略定位位置信息和每个定位区域的边缘坐标信息先确定该服务设备所在的定位区域,然后在该定位区域中的定位点作为参考定位点,比如选择该定位区域中的中心位置点作为参考定位点,当然也可以选择多个设定的定位点作为参考定位点。关于定位点的更多内容可以参见图4,在此不作赘述。
这里得到的定位区域中,相邻的两个定位区域的边缘紧邻,如图6中的(a)所示;或,相邻的两个定位区域的边缘重叠,如图6中的(b)所示。
在图6中可以看到,相邻的两个定位区域可以有两种位置关系,即(a)中的边缘紧邻和(b)中的边缘重叠,其中边缘重叠的位置关系可以考虑到若服务设备的粗略定位位置信息正好指向相邻两个定位区域的边缘区域时,为了防止服务设备的粗略定位位置信息属于定位区域A1,但是服务设备的精确定位位置信息属于定位区域A2这种情况出现时,若仅仅依靠定位区域A1中的定位点确定服务设备的精确定位位置信息容易出现精确定位位置不准确的问题,因此 可以让这两个相邻的定位区域的边缘重叠,若服务设备的粗略定位位置信息属于该重叠区域,则同时通过在定位区域A1和定位区域A2中的定位点来确定参考定位点,能够更加精确地确定该服务设备的精确定位位置信息。
在一些实施例中,在筛选出多个定位点后,可以以粗略定位位置为中心,将360°的方向角度均分为若干个(如4个、6个或8个等)方向区间,在每个方向区间内可以分别确定一个或多个参考定位点,这样使得参考定位点可以分布在粗略定位位置周围的不同方向上,即使得多个参考定位点在服务设备的粗略定位位置周围更均匀地分布,从而防止局部环境因素导致参考定位点的定位偏差信息无法表征服务设备的定位偏差信息。
在一些实施例中,当服务设备在移动时,后台服务器还可以获取服务设备的粗略定位位置周围的道路信息,后台服务器可以根据道路信息选择位于服务设备所处的道路一侧或两侧且距离粗略定位位置较近的定位点(如,路灯)作为参考定位点。在另一些实施例中,当服务设备在移动时,后台服务器还可以获取服务设备的行进方向信息和速度信息,后台服务器可以根据行进方向信息和速度信息确定参考定位点,例如,选择位于沿行进方向位于服务设备的粗略定位位置前方且与粗略定位位置间隔预设距离的定位点(如,十字路口中心点)作为参考定位点。
具体地,在确定了参考定位点后,如何确定服务设备的精确定位位置信息,如下:
S303,根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息。
其中,服务设备的精确定位位置信息可以是能够真实反映服务设备的实际位置(与服务设备的实际位置几乎没有误差或误差很小)的定位位置信息。服务设备的精确定位位置信息除了包括水平方向的地理坐标(如GPS坐标、经纬度),还可以包括在竖直方向的高度(如海拔高度、距离地面的高度等),当服 务设备在高架桥区域、高层建筑区域时,通过竖直方向的高度可以辅助表征服务设备的位置(如表征服务设备是在高架桥的桥上还是桥下,或者服务设备位于高层建筑的哪个楼层等)。通过这样的设置,确定出的服务设备的精确定位位置信息更加全面且准确性更高。
其中,参考定位点的定位偏差信息是根据参考定位点的精确定位位置信息和参考定位点的粗略定位位置信息计算得到的,其一方面包括距离的偏差,另一方面包括方向的偏差,这里方向的偏差也可以称为相对设定坐标系角度,比如参考定位点的精确定位位置信息相比该参考定位点的粗略定位位置信息为向东南方向(即,介于正东和正南之间45°方向)移动了3米。
在一些实施例中,当精确定位位置信息还包括竖直方向的高度时,参考定位点的定位偏差信息中距离的偏差可以进一步包括水平方向的距离偏差和竖直方向的距离偏差。
这里的定位偏差信息可以是共享车辆的后台服务器在向定位平台获取该参考定位点的位置信息时,由定位平台确定的该参考定位点的定位偏差信息,也可以是后台服务器基于定位平台发送的参考定位点的精确定位位置信息和参考定位点的粗略定位位置信息确定定位偏差信息。
具体在确定参考定位点的定位偏差信息时,则可以根据该参考定位点的精确定位位置信息和粗略定位位置信息计算出该参考定位点的绝对距离差,比如先设定坐标系,针对该坐标系,确定参考定位点的精确定位位置的坐标向量和粗略定位位置的坐标向量,则可以根据这两个坐标向量确定出精确定位位置相对于该粗略定位位置的定位偏移向量(该定位偏移向量可以以三维坐标的形式表示,例如,三维坐标可以分别对应正东方向、正南方向和竖直方向的偏移量),然后再根据服务设备的粗略定位位置信息确定出该服务设备在该坐标系中的坐标后,就可以根据参考定位点的定位偏移向量和服务设备在该坐标系中的坐标,对该服务设备的位置进行修正,比如参考定位点的精确定位位置信息相比该参 考定位点的粗略定位位置信息为向东南方向移动了3米,则将该服务设备的粗略定位位置信息向东南方向移动3米,即得到该服务设备的精确定位位置信息。
在一些实施例中,参考定位点的定位偏差信息可以是预先存储在后台服务器中,也可以是将参考定位点的精确定位位置信息和粗略定位位置信息存储在后台服务器中,当后台服务器接收到服务设备所发出的精确定位请求后,再根据参考定位点的精确定位位置信息和粗略定位位置信息来确定参考定位点的定位偏差信息。
以上是针对一个参考定位点,确定服务设备的精确定位位置信息的方法,若为了进一步提高服务设备的位置的精确度,可以设置多个参考定位点,当参考定位点为多个时,如图7所示,步骤S303中,根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息,包括以下具体步骤S701~S703:
S701,根据服务设备与每个参考定位点之间的距离,确定加权系数;
这里的距离可以根据参考定位点的粗略定位位置信息和服务设备的粗略定位位置信息计算的距离。
S702,根据加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
S703,根据综合偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息。
比如有n个参考定位点,将每个参考定位点与服务设备的距离分别记为h,则第k个参考定位点的加权系数w可以通过以下公式确定:
Figure PCTCN2020093482-appb-000001
其中,w i=k表示第k个参考定位点的加权系数,h i=k表示第k个参考定位点与服务设备的距离,其中k∈(1,n),h i表示第i个参考定位点与服务设备的距 离,公式的分母即为每个参考定位点与服务设备之间的距离和,按照该公式即可以确定出每个参考定位点对应的加权系数。
然后在确定出每个参考定位点的加权系数后,可以按照以下公式计算综合偏差信息E:
Figure PCTCN2020093482-appb-000002
其中,p i表示第i个参考定位点对应的定位偏差信息,这里的定位偏差信息包括偏差距离和偏差角度。
在得到综合偏差信息后,按照该综合偏差信息对服务设备的粗略定位位置信息进行校正,具体校正过程与上述基于一个参考定位点对服务设备的位置进行校正的过程相似,比如包括三个参考定位点,第一个参考定位点与服务设备的距离为3m,第二个参考定位点与服务设备的距离为2m,第三个参考定位点与服务设备的距离为5m,则第一参考定位点对应的加权系数为0.3,第二个参考定位点对应的加权系数为0.2,第三个参考定位点对应的加权系数为0.5;若第一参考定位点对应的定位偏差信息为精确定位位置信息比粗略定位位置信息向东南偏东30度的方向移动2m,第二参考点对应的定位偏差信息为精确定位位置信息比粗略定位位置信息向东南偏东32度的方向移动了2.2m,第三参考点对应的定位偏差信息为精确定位位置信息比粗略定位位置信息向东南偏东28度的方向移动了1.8m,则综合偏差信息中偏差角度为:30*0.3+32*0.2+28*0.5=29.4(度),综合偏差信息中的偏差距离为:2*0.3+2.2*0.2+1.8*0.5=1.94(m),即将该服务设备的粗略定位位置信息向东南偏东29.4度的方向移动1.94m,即得到服务设备的精确定位位置信息。
在一些实施例中,如果参考定位点为多个,在确定加权系数时,可以根据各个参考定位点的定位偏差信息的更新时间来确定各个参考定位点的加权系数,例如,由于定位偏差信息的更新时间确定了各个参考定位点的位置偏差信息的置信度,更新时间较近的参考定位点的置信度较高,可以设置其加权系数较高, 更新时间较久的参考定位点的置信度较低,可以设置其加权系数较低。
在另一些实施例中,可以根据参考定位点与服务设备的连线与服务设备的行进方向之间的夹角来确定加权系数,例如,所述夹角越小则该参考定位点越可能靠近服务设备的行进路径,可以设置参考定位点的加权系数越高。当服务设备在移动时,这样的方式可以根据服务设备的行进方向选择尽可能靠近服务设备的行进路径的定位点作为参考定位点,靠近服务设备的行进路径的定位点与服务设备所处的环境因素(如,外界干扰、信号强弱)相似,避免了最终确定的参考定位点距离服务设备太远而影响确定的精确定位位置信息的准确度。
在一些实施例中,当具有多个参考定位点时,可以利用机器学习模型获得服务设备的定位偏差信息,再根据服务设备的定位偏差信息和粗略定位位置信息确定服务设备的精确定位位置信息。在一些实施例中,所述机器学习模型可以是神经网络模型。所述机器学习模型可以根据输入多个参考定位点的定位偏差信息,确定服务设备的定位偏差信息(例如,可以包括粗略定位位置信息相对精确定位位置信息的偏差方向的角度、偏差距离的值等)。机器学习模型的输入可以包括多个参考定位点的定位偏差信息。机器学习模型的输入还可以包括服务设备的粗略定位位置与各个参考定位点的位置关系(如间隔距离和相对方向等)。在一些实施例中,机器学习模型的输入还可以包括服务设备的移动速度、服务设备的类型以及粗略定位的获取方式等。机器学习模型的输出可以是服务设备的定位偏差信息。
通过机器学习模型来确定服务设备的粗略定位位置的定位偏差信息,在参考定位点的定位偏差信息的数据量较大时能够提高计算效率。同时可以综合考虑服务设备的速度、服务设备的类型以及服务设备的粗略定位位置信息的获取方式等因素对服务设备的定位偏差信息的影响,将上述因素对应的信息以及参考定位点的定位偏差信息等作为特征,可以得到更加准确的服务设备的定位偏差信息,从而得到服务设备的精确定位位置信息。
在一些实施例中,当粗略定位位置信息中包含多个粗略定位位置时,可以先确定多个粗略定位位置的综合位置(例如可以是平均位置或加权平均位置等)。这样的方式可以在确定精确定位位置信息时减小计算量,提高精确定位位置信息的获取效率,减小后台服务器的运算负载。在另一些实施例中,当粗略定位位置信息中包含多个粗略定位位置时,可以根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息中的多个定位位置进行校正,得到服务设备的多个精确定位位置,在对该多个精确定位位置进行处理而得到多个精确定位位置的综合位置(例如可以是平均位置或加权平均位置)。
在一些实施例中,当粗略定位位置信息中包含多个粗略定位位置时,可以利用机器学习模型获得服务设备的粗略定位位置的综合位置。在一些实施例中,所述机器学习模型可以是神经网络模型。所述机器学习模型可以计算出服务设备的粗略定位位置的综合位置。在一些实施例中,机器学习模型的输入包括服务设备的粗略定位位置信息的多个粗略定位位置。机器学习模型的输出可以是服务设备的服务设备的粗略定位位置的综合位置。
在一些实施例中,可以基于多个参考定位点的粗略定位位置信息和精确定位位置信息以及服务设备的粗略定位位置信息,利用机器学习模型获得服务设备的定位偏差信息。所述机器学习模型可以根据输入其中的多个参考定位点的粗略定位位置信息和精确定位位置信息以及服务设备的粗略定位位置信息,确定服务设备的定位偏差信息(例如,可以包括粗略定位位置信息相对精确定位位置信息的偏差方向的角度、偏差距离的值等)。所述机器学习模型的输入包括服务设备的粗略定位位置信息以及参考定位点的粗略定位位置信息和精确定位位置信息,而其输出可以是服务设备的定位偏差信息。在一些实施例中,根据机器学习模型训练样本数据的不同,所述机器学习模型的输出也可以是服务设备的精确定位位置信息。
在一些实施例中,可以获取初始机器学习模型,并基于训练样本数据对初 始机器学习模型进行训练,以生成最终的机器学习模型。其中,训练样本数据可以包括多个参考定位点的粗略定位位置信息和精确定位位置信息,以及各个参考定位点的标签。所述标签用于表征参考定位点的粗略定位位置信息相对于的精确定位位置信息的偏差。标签可以包括方向和距离,例如,(东南方向,3米)。标签可以是预先确定的,例如可以基于历史数据确定标签。将训练数据输入初始的机器学习模型后,初始的机器学习模型可以基于训练数据的特征与标签进行学习,对初始模型的参数进行调整。例如,通过梯度下降法、反向传播法调整参数。在一些实施例中,可以对初始的机器学习模型进行持续训练,直到训练结果收敛,结束训练,生成最终的机器学习模型。
基于参考定位点的粗略定位位置信息和精确定位位置信息以及服务设备的粗略定位位置信息,可以通过使用机器学习模型直接确定出服务设备的定位偏差信息或精确定位位置信息,简化了计算步骤,提高了计算效率,并使得最终确定的服务设备精确定位位置信息更加准确。
在一种实施方式中,在规范停车应用场景中,精确定位请求中还携带有服务设备的标识码,服务设备为车辆,在得到服务设备的精确定位位置信息后,本申请实施例中的定位方法还包括:
接收到服务设备发送的用于指示车辆关锁的信息时,根据服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断车辆是否位于合法停车区域内;
若否,控制服务设备进行开锁,并向与标识码关联的用户端发送指示车辆无法关锁的信息。若是,则允许服务设备关锁。
这里的合法停车区域信息指的是预先设定好的合法停车区域的坐标信息。
这里,当用户结束用车时,针对需要手动关锁的车辆,比如该类型车辆的车锁为马蹄锁,当用户结束用车手动关闭车锁时,车辆将指示车辆关锁的信息发送至车辆的后台服务器,这里用于指示车辆关锁的信息可以为数字信息,比如 “0”表示关锁,然后后台服务器则可以根据服务设备的精确定位位置信息和预先存储的合法停车区域的坐标信息判断该车辆是否位于合法停车区域内,即用户是否合法停车,若根据该车辆的精确定位位置信息判断出该车辆没有位于合法停车区域内,则重新控制车辆进行开锁,达到无法完成锁车的目的,并向用户的用户端发送车锁无法关闭的信息,以便用户重新将车辆停靠在合法停车区域。若根据该车辆的精确定位位置信息判断出该车辆位于合法停车区域内,则允许车辆关锁,并向用户的用户端发送车锁已经关闭的信息,以便用户知晓车辆处于关锁状态。
服务设备还可以为自动关锁的车辆,用户可以通过点击服务设备上的关锁按钮或用户终端上的关锁控件请求关锁。下面将具体进行阐述:
在另一种实施方式中,服务设备为车辆,在得到服务设备的精确定位位置信息之后,本申请实施例中的定位方法还包括:
接收到用户端或车辆端发送的关锁请求时,根据服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断车辆是否位于合法停车区域内;
若否,向与用户端发送用于指示车辆无法关锁的信息。
这里的车辆的车锁可以为自动关锁的车锁,比如轮毂锁,当用户结束用车时,可以通过用户端上的用车软件向后台服务器发送关锁请求,同样后台服务器则可以根据服务设备的精确定位位置信息和预先存储的合法停车区域的坐标信息判断该车辆是否位于合法停车区域内,即用户是否合法停车,若根据该车辆的精确定位位置信息判断出该车辆没有位于合法停车区域内,则不会控制车辆进行关锁,而会向用户的用户端发送车锁无法关闭的信息,以便用户重新将车辆停靠在合法停车区域。若根据该车辆的精确定位位置信息判断出该车辆位于合法停车区域内,则允许车辆关锁,控制车锁关闭,并向用户的用户端发送车锁已经关闭的信息,以便用户知晓车辆处于关锁状态。
在另一些实施例中,可以间隔预设时间或者实时获取服务设备的精确定 位位置信息,并可以根据该精确定位位置信息确定服务设备的运动轨迹,以实现对服务设备运动轨迹的采集和监控。
综上,本申请实施例提供了一种精确定位方法,能够精确定位出共享车辆的位置信息,便于规范用户合规停车。
另外,本申请实施例提供的定位方法无需服务设备向定位平台请求精确定位位置信息,降低了服务设备对网络资源的消耗;由于服务设备无需再向定位平台获取精确定位位置信息,也就不需要注册专门用于请求精确定位的账号,从而节省服务设备的消耗成本;再者,服务设备不需要接收定位平台返回的精确定位位置信息,无需耗费较多资源对精确定位位置信息进行处理,从而降低了服务设备的资源消耗。
此外,在通过基站定位或wifi定位等不太精确的方式获取服务设备的粗略定位位置信息后,也可以进一步获取服务设备的精确位置,从而在降低服务设备的成本、克服客观环境缺陷的同时实现精确定位。
可以理解,通过采用本申请的定位方法,即使在信号较差的区域,也能够实现对服务设备的精确定位,降低了对信号传输强度(或计算速度)的要求。另外,在对服务设备的精确定位时,又降低了定位过程中后台服务器与服务设备之间的数据传输量,并减少了后台服务器的计算负载。
本申请实施例还提供了一种定位方法,应用于服务设备,如图8所示,该定位方法包括:
S801,向后台服务器发出精确定位请求;该精确定位请求中携带有服务设备的粗略定位位置信息;
S802,接收后台服务器返回的后台服务器根据服务设备的粗略定位位置信息确定的服务设备对应的参考定位点;
S803,根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息。
其中,参考定位点的定位偏差信息是根据参考定位点的精确定位位置信息和参考定位点的粗略定位位置信息计算得到的。
这里参考定位点的确定过程与上述过程相似,在此不再赘述。
这里参考定位点的偏差信息同样可以由共享车辆的后台服务器确定,然后发送给服务设备,也可以由服务设备确定,即后台服务器将参考定位点和该参考定位点的精确定位位置信息和粗略定位位置信息发送至该服务设备,服务设备根据该参考定位点的精确定位位置信息和粗略定位位置信息确定定位偏差信息,在此不做具体限定。
服务设备基于定位偏差信息对服务设备的粗略定位位置信息进行校正的过程,与上文描述的校正过程相似,在此不做赘述。
在一些实施方式中,若参考定位点为多个,则根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息,包括:
根据服务设备与每个参考定位点之间的距离,确定加权系数;
根据加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
根据综合偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息。
这里,确定综合偏差信息为服务设备在根据每个参考定位点与服务设备之间的距离确定加权系数后,进行加权计算得到的,具体过程与上文描述相似,在此不再赘述。
基于同一发明构思,本申请实施例中还提供了与定位方法对应的定位装置,由于本申请实施例中的装置解决问题的原理与本申请实施例上述定位方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。
本申请实施例还提供了一种定位装置900,如图9所示,驻留于后台服 务器,该定位装置900包括:
获取模块901,用于获取服务设备所发出的精确定位请求;精确定位请求中携带有服务设备的粗略定位位置信息;
确定模块902,用于根据服务设备的粗略定位位置信息确定服务设备所对应的参考定位点;
处理模块903,用于根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息;参考定位点的定位偏差信息是根据参考定位点的精确定位位置信息和参考定位点的粗略定位位置信息计算得到的。
在一些实施方式中,确定模块902,具体用于:
根据服务设备的粗略定位位置信息,分别计算服务设备与每个定位点之间的距离;
选择与服务设备之间的距离最小的定位点作为参考定位点。
在一些实施方式中,确定模块902,具体用于:
根据服务设备的粗略定位位置信息和预先设定的定位区域信息,确定服务设备所在的定位区域;
将服务设备所在的定位区域中的定位点作为参考定位点。
在一些实施方式中,相邻的两个定位区域的边缘紧邻;或,相邻的两个定位区域的边缘重叠。
在一些实施方式中,若所述参考定位点为多个,处理模块903,具体用于:
根据服务设备与每个参考定位点之间的距离,确定加权系数;
根据加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
根据综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息。
在一些实施方式中,精确定位请求中还携带有服务设备的标识码,服务设备为车辆,定位装置900还包括控制模块904,控制模块904在处理模块903得到服务设备的精确定位位置信息之后,用于:
接收到服务设备发送的用于指示车辆关锁的信息时,根据服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断车辆是否位于合法停车区域内;
若否,控制服务设备进行开锁,并向与标识码关联的用户端发送指示车辆无法关锁的信息。
在一种实施方式中,服务设备为车辆,定位装置900还包括控制模块904,控制模块在处理模块得到服务设备的精确定位位置信息之后,用于:
接收到用户端发送的关锁请求时,根据服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断车辆是否位于合法停车区域内;
若否,向与用户端发送用于指示车辆无法关锁的信息。
本申请实施例还提供了一种定位装置1000,驻留于服务设备,定位装置1000包括:
发送模块1001,用于向后台服务器发出精确定位请求;精确定位请求中携带有服务设备的粗略定位位置信息;
接收模块1002,用于接收后台服务器返回的后台服务器根据服务设备的粗略定位位置信息确定的服务设备对应的参考定位点;
处理模块1003,用于根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息;参考定位点的定位偏差信息是根据参考定位点的精确定位位置信息和参考定位点的粗略定位位置信息计算得到的。
在一种实施方式中,若所述参考定位点为多个,处理模块1003具体用于:
根据服务设备与每个参考定位点之间的距离,确定加权系数;
根据加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
根据综合偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息。
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。
本申请实施例还提供了一种电子设备,该电子设备可以为后台服务器也可以为服务设备,当该电子设备为后台服务器时,如图11所示,为本申请实施例提供的电子设备1100结构示意图,包括:处理器1101、存储介质1102、和总线1103。存储介质1102存储有处理器1101可执行的机器可读指令(比如,图9中的装置中获取模块901、确定模块902、处理模块903对应的执行指令等),当电子设备1100运行时,处理器1101与存储介质1102之间通过总线1103通信,机器可读指令被处理器1101执行时执行如下处理:
获取服务设备所发出的精确定位请求;精确定位请求中携带有服务设备的粗略定位位置信息;
根据服务设备的粗略定位位置信息确定服务设备所对应的参考定位点;
根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息;参考定位点的定位偏差信息是根据参考定位点的精确定位位置信息和参考定位点的粗略定位位置信息计算得到的。
一种可能的实施方式中,处理器1101执行的指令中,具体包括:
根据服务设备的粗略定位位置,分别计算服务设备与每个定位点之间的距离;
选择与服务设备之间的距离最小的定位点作为参考定位点。
一种可能的实施方式中,处理器1101执行的指令中,具体包括:
根据服务设备的粗略定位位置信息和预先设定的定位区域信息,确定服 务设备所在的定位区域;
将服务设备所在的定位区域中的定位点作为参考定位点。
其中,相邻的两个定位区域的边缘紧邻;或,相邻的两个定位区域的边缘重叠。
若参考定位点为多个,一种可能的实施方式中,处理器1101执行的指令中,具体包括:
根据服务设备与每个参考定位点之间的距离,确定加权系数;
根据加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
根据综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息。
精确定位请求中还携带有服务设备的标识码,服务设备为车辆,一种可能的实施方式中,处理器1101执行的指令中,在得到服务设备的精确定位位置信息之后,还包括:
接收到服务设备发送的用于指示车辆关锁的信息时,根据服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断车辆是否位于合法停车区域内;
若否,控制服务设备进行开锁,并向与标识码关联的用户端发送指示车辆无法关锁的信息。
服务设备为车辆,一种可能的实施方式中,处理器1101执行的指令中,在得到服务设备的精确定位位置信息之后,还包括:
接收到用户端发送的关锁请求时,根据服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断车辆是否位于所述合法停车区域内;
若否,向与用户端发送用于指示车辆无法关锁的信息。
当该电子设备为服务设备时,如图12所示,为本申请实施例提供的电子 设备1200结构示意图,包括:处理器1201、存储介质1202、和总线1203。存储介质1202存储有处理器1201可执行的机器可读指令(比如,图10中的装置中发送模块1001、接收模块1002、处理模块1003对应的执行指令等),当电子设备1200运行时,处理器1201与存储介质1202之间通过总线1103通信,机器可读指令被处理器1201执行时执行如下处理:
向后台服务器发出精确定位请求;精确定位请求中携带有服务设备的粗略定位位置信息;
接收后台服务器返回的后台服务器根据服务设备的粗略定位位置信息确定的服务设备对应的参考定位点;
根据参考定位点的定位偏差信息对服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息;参考定位点的定位偏差信息是根据参考定位点的精确定位位置信息和参考定位点的粗略定位位置信息计算得到的。
若参考定位点为多个,一种可能的实施方式中,处理器1101执行的指令中,具体包括:
根据服务设备与每个参考定位点之间的距离,确定加权系数;
根据加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
根据综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到服务设备的精确定位位置信息。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述定位方法的步骤。
具体地,该存储介质能够为通用的存储介质,如移动磁盘、硬盘等,该存储介质上的计算机程序被运行时,能够执行上述定位方法,从而实现对服务设备的精确定位。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考方法实施例中的对应过程,本申请中不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任 何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (20)

  1. 一种定位方法,其中,应用于后台服务器,所述定位方法包括:
    获取服务设备所发出的精确定位请求;所述精确定位请求中携带有服务设备的粗略定位位置信息;
    根据所述服务设备的粗略定位位置信息确定所述服务设备所对应的参考定位点;
    根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息;所述参考定位点的定位偏差信息是根据所述参考定位点的精确定位位置信息和所述参考定位点的粗略定位位置信息计算得到的。
  2. 根据权利要求1所述的定位方法,其中,所述根据所述服务设备的粗略定位位置信息确定所述服务设备所对应的参考定位点,包括:
    根据所述服务设备的粗略定位位置信息,分别计算所述服务设备与每个定位点之间的距离;
    选择与所述服务设备之间的距离最小的定位点作为所述参考定位点。
  3. 根据权利要求1所述的定位方法,其中,所述根据所述服务设备的粗略定位位置信息确定所述服务设备所对应的参考定位点,包括:
    根据所述服务设备的粗略定位位置信息和预先设定的定位区域信息,确定所述服务设备所在的定位区域;
    将所述服务设备所在的定位区域中的定位点作为所述参考定位点。
  4. 根据权利要求3所述的定位方法,其中,相邻的两个定位区域的边缘紧邻;或,相邻的两个定位区域的边缘重叠。
  5. 根据权利要求1所述的定位方法,其中,若所述参考定位点为多个,则 所述根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息,包括:
    根据所述服务设备与每个参考定位点之间的距离,确定加权系数;
    根据所述加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
    根据所述综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息。
  6. 根据权利要求1所述的定位方法,其中,所述精确定位请求中还携带有服务设备的标识码,所述服务设备为车辆,在得到所述服务设备的精确定位位置信息之后,所述定位方法还包括:
    接收到所述服务设备发送的用于指示车辆关锁的信息时,根据所述服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断所述车辆是否位于合法停车区域内;
    若否,控制所述服务设备进行开锁,并向与所述标识码关联的用户端发送指示车辆无法关锁的信息。
  7. 根据权利要求1所述的定位方法,其中,所述服务设备为车辆,在得到所述服务设备的精确定位位置信息之后,所述定位方法还包括:
    接收到用户端发送的关锁请求时,根据所述服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断所述车辆是否位于合法停车区域内;
    若否,向与所述用户端发送用于指示车辆无法关锁的信息。
  8. 一种定位方法,其中,应用于服务设备,所述定位方法包括:
    向后台服务器发出精确定位请求;所述精确定位请求中携带有所述服务设备的粗略定位位置信息;
    接收所述后台服务器返回的所述后台服务器根据所述服务设备的粗略定位位置信息确定的所述服务设备对应的参考定位点;
    根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息;所述参考定位点的定位偏差信息是根据所述参考定位点的精确定位位置信息和所述参考定位点的粗略定位位置信息计算得到的。
  9. 根据权利要求8所述的定位方法,其中,若所述参考定位点为多个,则所述根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息,包括:
    根据所述服务设备与每个参考定位点之间的距离,确定加权系数;
    根据所述加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
    根据所述综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息。
  10. 一种定位装置,其中,驻留于后台服务器,所述定位装置包括:
    获取模块,用于获取服务设备所发出的精确定位请求;所述精确定位请求中携带有服务设备的粗略定位位置信息;
    确定模块,用于根据所述服务设备的粗略定位位置信息确定所述服务设备所对应的参考定位点;
    处理模块,用于根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息;所述参考定位点的定位偏差信息是根据所述参考定位点的精确定位位置信息和所述参考定位点的粗略定位位置信息计算得到的。
  11. 根据权利要求10所述的定位装置,其中,所述确定模块,具体用于:
    根据所述服务设备的粗略定位位置信息,分别计算所述服务设备与每个定位点之间的距离;
    选择与所述服务设备之间的距离最小的定位点作为所述参考定位点。
  12. 根据权利要求10所述的定位装置,其中,所述确定模块,具体用于:
    根据所述服务设备的粗略定位位置信息和预先设定的定位区域信息,确定所述服务设备所在的定位区域;
    将所述服务设备所在的定位区域中的定位点作为所述参考定位点。
  13. 根据权利要求12所述的定位装置,其中,相邻的两个定位区域的边缘紧邻;或,相邻的两个定位区域的边缘重叠。
  14. 根据权利要求10所述的定位装置,其中,若所述参考定位点为多个,所述处理模块,具体用于:
    根据所述服务设备与每个参考定位点之间的距离,确定加权系数;
    根据所述加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
    根据所述综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息。
  15. 根据权利要求10所述的定位装置,其中,所述精确定位请求中还携带有服务设备的标识码,所述服务设备为车辆,所述定位装置还包括控制模块,所述控制模块在所述处理模块得到所述服务设备的精确定位位置信息之后,用于:
    接收到所述服务设备发送的用于指示车辆关锁的信息时,根据所述服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断所述车辆是否位 于合法停车区域内;
    若否,控制所述服务设备进行开锁,并向与所述标识码关联的用户端发送指示车辆无法关锁的信息。
  16. 根据权利要求10所述的定位装置,其中,所述服务设备为车辆,所述定位装置还包括控制模块,所述控制模块在所述处理模块得到所述服务设备的精确定位位置信息之后,用于:
    接收到用户端发送的关锁请求时,根据所述服务设备的精确定位位置信息和预先存储的合法停车区域信息,判断所述车辆是否位于合法停车区域内;
    若否,向与所述用户端发送用于指示车辆无法关锁的信息。
  17. 一种定位装置,其中,驻留于服务设备,所述定位装置:
    发送模块,用于向后台服务器发出精确定位请求;所述精确定位请求中携带有所述服务设备的粗略定位位置信息;
    接收模块,用于接收所述后台服务器返回的所述后台服务器根据所述服务设备的粗略定位位置信息确定的所述服务设备对应的参考定位点;
    处理模块,用于根据所述参考定位点的定位偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息;所述参考定位点的定位偏差信息是根据所述参考定位点的精确定位位置信息和所述参考定位点的粗略定位位置信息计算得到的。
  18. 根据权利要求17所述的定位装置,其中,若所述参考定位点为多个,所述处理模块具体用于:
    根据所述服务设备与每个参考定位点之间的距离,确定加权系数;
    根据所述加权系数,对每个参考定位点的定位偏差信息进行加权计算,以确定综合偏差信息;
    根据所述综合偏差信息对所述服务设备的粗略定位位置信息进行校正,以得到所述服务设备的精确定位位置信息。
  19. 一种电子设备,其中,包括:处理器、存储介质和总线,所述存储介质存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储介质之间通过总线通信,所述处理器执行所述机器可读指令,以执行如权利要求1至9任一所述定位方法的步骤。
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如权利要求1至9任一所述定位方法的步骤。
PCT/CN2020/093482 2019-05-29 2020-05-29 一种定位方法、装置、电子设备及存储介质 WO2020239108A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080040002.7A CN113892275A (zh) 2019-05-29 2020-05-29 一种定位方法、装置、电子设备及存储介质
US17/454,066 US11924805B2 (en) 2019-05-29 2021-11-09 Positioning method and device, electronic device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910458371.7A CN111829519A (zh) 2019-05-29 2019-05-29 一种定位方法、装置、电子设备及存储介质
CN201910458371.7 2019-05-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/454,066 Continuation US11924805B2 (en) 2019-05-29 2021-11-09 Positioning method and device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2020239108A1 true WO2020239108A1 (zh) 2020-12-03

Family

ID=72911560

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/093482 WO2020239108A1 (zh) 2019-05-29 2020-05-29 一种定位方法、装置、电子设备及存储介质

Country Status (3)

Country Link
US (1) US11924805B2 (zh)
CN (2) CN111829519A (zh)
WO (1) WO2020239108A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023064812A1 (en) * 2021-10-13 2023-04-20 Apple Inc. Machine learning based positioning

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11436532B2 (en) * 2019-12-04 2022-09-06 Microsoft Technology Licensing, Llc Identifying duplicate entities
CN113950144B (zh) * 2021-10-01 2024-03-22 南宁市安普康商贸有限公司 监测方法、系统、装置及计算机程序产品
CN114822066B (zh) * 2022-04-14 2023-06-13 北京百度网讯科技有限公司 车辆定位方法、装置、电子设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231561A (zh) * 2016-09-29 2016-12-14 京信通信技术(广州)有限公司 一种定位方法和装置
US9584973B2 (en) * 2014-04-03 2017-02-28 Electronics And Telecommunications Research Institute Integrated positioning method and apparatus
CN106998535A (zh) * 2017-05-31 2017-08-01 哈尔滨学院 移动终端定位校正方法和系统
CN108235255A (zh) * 2017-12-29 2018-06-29 北京奇宝科技有限公司 一种智能终端的定位方法、装置和服务器
US20180302740A1 (en) * 2017-04-14 2018-10-18 AthenTek Incorporated Positioning method and device
CN109618280A (zh) * 2019-01-03 2019-04-12 广州杰赛科技股份有限公司 基于动态参考节点的定位方法、装置、设备及存储介质

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009510468A (ja) * 2005-10-06 2009-03-12 サムスン エレクトロニクス カンパニー リミテッド 放送システムにおける初期gps信号を取得する方法及びそれによるシステム
DE102011080483B4 (de) 2011-08-05 2015-07-09 Bayerische Motoren Werke Aktiengesellschaft Verfahren zur Herstellung eines Bauteils oder eines aus mehreren Bauteilen bestehenden Bauteilverbunds
CN103327054B (zh) * 2012-03-23 2016-01-13 腾讯科技(深圳)有限公司 基于地理位置的交互方法、客户端、服务器及系统
CN104333903A (zh) * 2014-09-17 2015-02-04 北京邮电大学 基于rssi和惯性测量的室内多目标的定位系统和方法
CN105578420A (zh) * 2014-10-17 2016-05-11 深圳航天科技创新研究院 一种基于wlan的室内定位方法和装置
US10165542B2 (en) 2015-02-23 2018-12-25 Philips Lighting Holding B.V. Localization of a mobile device
CN104869637B (zh) * 2015-05-13 2019-07-12 百度在线网络技术(北京)有限公司 用户站定位方法及装置
CN108475466B (zh) 2016-01-27 2022-07-12 北京嘀嘀无限科技发展有限公司 用于匹配和显示服务请求和可用车辆的系统和方法
CN105898692B (zh) * 2016-03-25 2019-12-03 北京智慧图科技有限责任公司 一种室内定位方法及装置
CN106358155B (zh) * 2016-09-13 2019-07-02 京信通信系统(中国)有限公司 一种射频指纹数据库的建立方法及装置
CN107071743B (zh) * 2017-03-20 2020-06-19 华南理工大学 一种基于随机森林的快速KNN室内WiFi定位方法
CA2975721A1 (en) * 2017-08-08 2019-02-08 Daniel Mccann Image-based method and system for providing user authentication and notification
CN107949052B (zh) * 2017-10-09 2020-05-05 北京航空航天大学 基于空间特征分区和前点约束的wknn室内定位方法
CN107700970B (zh) * 2017-11-10 2019-04-30 北京摩拜科技有限公司 停车管理方法、车锁、以及车辆
CN108259674A (zh) * 2018-01-31 2018-07-06 广东欧珀移动通信有限公司 电子设备、信息推送方法及相关产品
CN108810802A (zh) * 2018-06-08 2018-11-13 杭州电子科技大学 一种基于iBeacon的室内停车场车辆定位方法
JP7147712B2 (ja) * 2018-08-31 2022-10-05 株式会社デンソー 車両側装置、方法および記憶媒体
CN208783112U (zh) * 2018-11-19 2019-04-23 中国矿业大学(北京) 一种基于压缩感知与多边测量相结合的定位系统
CN208782813U (zh) * 2018-11-23 2019-04-23 北京嘀嘀无限科技发展有限公司 锁具和相应的交通工具
CN109660947B (zh) * 2018-11-27 2021-02-05 汉海信息技术(上海)有限公司 一种基于电子围栏的车辆定位方法及系统
US10660062B1 (en) * 2019-03-14 2020-05-19 International Business Machines Corporation Indoor positioning

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9584973B2 (en) * 2014-04-03 2017-02-28 Electronics And Telecommunications Research Institute Integrated positioning method and apparatus
CN106231561A (zh) * 2016-09-29 2016-12-14 京信通信技术(广州)有限公司 一种定位方法和装置
US20180302740A1 (en) * 2017-04-14 2018-10-18 AthenTek Incorporated Positioning method and device
CN106998535A (zh) * 2017-05-31 2017-08-01 哈尔滨学院 移动终端定位校正方法和系统
CN108235255A (zh) * 2017-12-29 2018-06-29 北京奇宝科技有限公司 一种智能终端的定位方法、装置和服务器
CN109618280A (zh) * 2019-01-03 2019-04-12 广州杰赛科技股份有限公司 基于动态参考节点的定位方法、装置、设备及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023064812A1 (en) * 2021-10-13 2023-04-20 Apple Inc. Machine learning based positioning

Also Published As

Publication number Publication date
US20220070821A1 (en) 2022-03-03
CN111829519A (zh) 2020-10-27
US11924805B2 (en) 2024-03-05
CN113892275A (zh) 2022-01-04

Similar Documents

Publication Publication Date Title
WO2020239108A1 (zh) 一种定位方法、装置、电子设备及存储介质
EP3676566B1 (en) Method, apparatus, and computer program product for providing an indication of favorability of parking locations
US10296828B2 (en) Learning a similarity measure for vision-based localization on a high definition (HD) map
US20240135817A1 (en) Systems and methods for vehicle parking management
JP6904637B2 (ja) 輸送停車場ロケーションを決定するためのシステムと方法
CN112236648B (zh) 使用v2x补充信息增强导航体验
JP6619797B2 (ja) 所定の位置データ点の決定およびサービス提供者への供給
EP3333803A1 (en) Pose error estimation and localization using static features
US9747797B1 (en) Method and system for predicting availability of parking spot in parking area
WO2018057331A1 (en) Discovering points of entry to a location
TW201917352A (zh) 用於推薦目的地的系統和方法
US20170059328A1 (en) Generating Map Data
CN108537352A (zh) 一种数据处理方法、装置和服务器
TWI725360B (zh) 用於確定地圖上的新道路的系統和方法
JP2016200984A (ja) 共用車両管理装置
WO2021104325A1 (zh) 一种偏航识别的方法和系统
CN113923596A (zh) 室内定位方法、装置、设备及介质
CN111859180B (zh) 一种上车点推荐方法和系统
US20170350708A1 (en) Using of a novel map to improve performance of indoor positioning system
US20220197893A1 (en) Aerial vehicle and edge device collaboration for visual positioning image database management and updating
CN111385868A (zh) 一种车辆定位方法、系统、装置和存储介质
CN105283873B (zh) 用于发现经过车辆的一个或多个人员的方法和系统
CN116321004A (zh) 一种确定目标位置的方法、装置、系统及存储介质
US11743686B2 (en) Aligning in-vehicle mobile device and vehicle bodies for improved global positioning
CN113345251A (zh) 一种车辆逆行检测方法及相关装置

Legal Events

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

Ref document number: 20813441

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

Country of ref document: EP

Kind code of ref document: A1