WO2020024757A1 - 安全定位方法及相关产品 - Google Patents

安全定位方法及相关产品 Download PDF

Info

Publication number
WO2020024757A1
WO2020024757A1 PCT/CN2019/094420 CN2019094420W WO2020024757A1 WO 2020024757 A1 WO2020024757 A1 WO 2020024757A1 CN 2019094420 W CN2019094420 W CN 2019094420W WO 2020024757 A1 WO2020024757 A1 WO 2020024757A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
vehicle
distance
relative position
nan
Prior art date
Application number
PCT/CN2019/094420
Other languages
English (en)
French (fr)
Inventor
柯世兴
胡亚东
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP19845454.8A priority Critical patent/EP3813037B1/en
Publication of WO2020024757A1 publication Critical patent/WO2020024757A1/zh
Priority to US17/149,472 priority patent/US11244569B2/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • G08G1/166Anti-collision systems for active traffic, e.g. moving vehicles, pedestrians, bikes
    • 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
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/005Traffic control systems for road vehicles including pedestrian guidance indicator
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • G08G1/164Centralised systems, e.g. external to vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • 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
    • G01S2205/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S2205/01Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations specially adapted for specific applications
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/026Services making use of location information using location based information parameters using orientation information, e.g. compass

Definitions

  • the present application relates to the field of electronic technology, and in particular, to a secure positioning method and related products.
  • the embodiments of the present application provide a safety positioning method and related products, which can enable users to more accurately and conveniently locate the positions of pedestrians and vehicles, and determine the distance between pedestrians and vehicles.
  • the pedestrian issued a reminder to ensure the safety of the pedestrian.
  • an embodiment of the present application provides a secure positioning method, where the method includes:
  • the prompt information is used to prompt the holder of the electronic device to avoid the vehicle.
  • an embodiment of the present application provides a safety positioning device, where the safety positioning device includes:
  • An obtaining unit configured to obtain a relative position of the electronic device and the vehicle positioned by the three NAN devices in the same plane coordinate diagram, and determine that the vehicle is moving toward the electronic device according to a change in the relative position; near;
  • a prompting unit is configured to determine a distance between the electronic device and the vehicle according to the relative position, and issue a prompting message when the distance is less than a preset threshold, and the prompting information is used to prompt the holding of the electronic device. People avoid the vehicle.
  • an embodiment of the present application provides an electronic device including: a processor and a memory; and one or more programs, the one or more programs are stored in the memory and configured to be provided by the The processor executes, and the program includes instructions for some or all of the steps as described in the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program causes a computer to execute the first aspect of the embodiment of the present application. Instructions for some or all of the steps described in.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute Some or all of the steps described in the first aspect of the embodiment of the application.
  • the computer program product can be a software installation package.
  • the security positioning method and related products described in the embodiments of the present application obtain three proximity sensing network NAN devices at a pedestrian crossing, establish a NAN network between an electronic device and three NAN devices, and three NAN devices. Both are fixed-location devices in the NAN network, and then based on a preset time interval, the relative positions of the electronic devices and vehicles positioned by multiple three NAN devices in the same plane coordinate graph are determined, and the vehicle is determined based on the change of the relative positions.
  • the prompt information is used to prompt the holder of the electronic device to avoid the vehicle, so that it can be passed through the NAN network Position the electronic device and the vehicle, obtain the relative position of the electronic device and the vehicle at the same time, and issue a prompt to the electronic device holder when the distance between the two is less than a preset threshold, which improves the accuracy of the positioning and makes the electronic device Holders are able to spot nearby vehicles that could pose dangers, improving pedestrian crossings at pedestrian crossings Security.
  • FIG. 1A is a schematic structural diagram of an exemplary electronic device according to an embodiment of the present application.
  • FIG. 1B is a schematic flowchart of a secure positioning method according to an embodiment of the present application.
  • FIG. 1C is a schematic diagram of determining a first position of an electronic device according to three fixed positions and three relative distances according to an embodiment of the present application;
  • FIG. 1D is a schematic diagram of determining a target position of a vehicle according to a NAN device according to an embodiment of the present application.
  • 1E is a schematic diagram of determining whether an electronic device and a vehicle are approaching according to an embodiment of the present application
  • FIG. 1F is another schematic diagram for judging whether an electronic device and a vehicle are approaching according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for determining a vehicle approaching an electronic device according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of another method for determining a vehicle approaching an electronic device according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of another secure positioning method according to an embodiment of the present application.
  • FIG. 5 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a safety positioning device according to an embodiment of the present application.
  • an embodiment herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application.
  • the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
  • the electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of user equipment (user equipment equipment, UE), mobile station (MS), terminal device (terminal), and so on.
  • UE user equipment equipment
  • MS mobile station
  • terminal terminal
  • electronic devices the devices mentioned above are collectively referred to as electronic devices.
  • FIG. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application.
  • the electronic device 100 includes a housing 110, a circuit board 120 disposed in the housing 110, a positioning device 130, and A display screen 140 is disposed on the housing 110, a processor 121 is disposed on the circuit board 120, the positioning device 130 is connected to the processor 121, and the processor 121 is connected to the display screen 140.
  • FIG. 1B is a schematic flowchart of a secure positioning method according to an embodiment of the present application.
  • the secure positioning method described in this embodiment is applied to an electronic device as shown in FIG. 1A.
  • the secure positioning method includes:
  • the 101 Obtain three proximity sensing network NAN devices at a pedestrian intersection, and establish a NAN network between an electronic device and the three NAN devices.
  • the three NAN devices are all fixed-location devices in the NAN network.
  • NAN devices In a Wi-Fi-based proximity sensing network (English: neighborhood, network, NAN), multiple NAN-capable devices (referred to as NAN devices) and electronic devices can form a NAN network. Data can be transmitted between the NAN device and the electronic device. Among them, the NAN device is fixed at a pedestrian crossing, and the electronic device is carried by the user. In the embodiment of the present application, a plurality of NAN devices with fixed positions can be set at a pedestrian crossing. In this way, the position of each NAN device can be determined. When a user holds an electronic device and enters the sensing range of the NAN device, it can interact with multiple NAN devices. Any three NAN devices on the network establish a proximity-aware network.
  • the electronic device may create a NAN group and set the group identification information of the NAN group.
  • the electronic device may send a beacon to a nearby NAN device, and the nearby NAN device receives the electronic device's transmission.
  • Beacon the electronic device can send a request to join the NAN group to the electronic device.
  • the electronic device can establish a NAN group according to the received request. Therefore, in the NAN group, the electronic device can perform message interaction with three NAN devices. Data transfer and more.
  • the electronic device and the three NAN devices may be determined by sending a searching request to each of the three NAN devices, and then according to the feedback information received from each of the three NAN devices.
  • the relative distance between each of the NAN devices in the user may change the position during the walking process. Therefore, the relative distance between each of the three NAN devices and the electronic device may be obtained in a preset time period.
  • obtaining the relative positions of the electronic devices and vehicles positioned by the three NAN devices in the same plane coordinate diagram includes: obtaining the fixed positions of each of the three NAN devices; Time interval sends a first positioning request for the electronic device to each of the three NAN devices.
  • the first positioning request is used to indicate the relative distance between each NAN device and the electronic device; to each of the three NAN devices
  • the NAN device sends a second positioning request for the vehicle.
  • the second positioning request is used to indicate the relative distance between each NAN device and the vehicle; according to the relative distance between the fixed position of each NAN device and the electronic device, and each The relative distance between the fixed position of the NAN device and the vehicle determines the relative position of the electronic device and the vehicle corresponding to each preset time interval in the same plane coordinate diagram.
  • the three NAN devices are a first NAN device, a second NAN device, and a third NAN device, respectively.
  • the first electronic device may send a first positioning request to the first NAN device, the second NAN device, and the third NAN device, respectively.
  • three NAN devices receive the first positioning request, they can send their fixed positions to the electronic device to obtain the first fixed position, the second fixed position, and the third fixed position.
  • the electronic device can obtain three The relative distance between each NAN device in the NAN device, so as to obtain the first relative distance between the electronic device and the first NAN device, the second relative distance between the electronic device and the second NAN device, and the distance between the NAN device and the third NAN device.
  • FIG. 1C is a schematic diagram of determining a first position of an electronic device according to three fixed positions and three relative distances according to an embodiment of the present application.
  • the first fixed position may be a circle center.
  • Draw the circle with the first relative distance as the radius draw the circle with the second fixed position as the center, draw the circle with the second relative distance as the radius, draw the circle with the third fixed position as the center, and draw the circle with the third relative distance as the radius.
  • Then, according to The overlapping area of the three circles determines the first position where the electronic device is located.
  • multiple signal strengths at different multiple distances can be obtained in advance, and the corresponding relationship between the signal strength and the distance can be established, and then, The relative distance between the electronic device and each of the three NAN devices can be obtained by obtaining the target signal strength between the electronic device and each of the three NAN devices to obtain the three target signal strengths.
  • the preset correspondence between the signal strength and the distance determines the relative distance corresponding to each of the three target signal intensities to obtain three relative distances.
  • the vehicle may include a target device, so that the NAN device can locate the target device, and then locate the vehicle.
  • the target device can be an electronic device or other NAN device. Because the position of the electronic equipment and the vehicle held by the pedestrian is uncertain, there may be a long distance and the electronic equipment cannot be located to the vehicle location. Therefore, a NAN device fixed at the pedestrian crossing is required to locate the vehicle and then send the positioning result to the electronic device.
  • FIG. 1D is a schematic diagram of determining a target position of a vehicle according to a NAN device according to an embodiment of the present application.
  • the electronic device may provide a NAN device to each of the three NAN devices. Send a second positioning request separately. After each NAN device of the three NAN devices receives the second positioning request, each NAN device can obtain the distance between the NAN device and the target device in the vehicle, thereby obtaining the target separately. The first separation distance between the device and the first NAN device, the second separation distance between the target device and the second NAN device, and the third separation distance between the target device and the third NAN device.
  • the fixed position is the center of the circle, the circle is drawn with the first interval distance as the radius, the second fixed position is the circle center, the circle is drawn with the second interval distance as the radius, the second fixed position is used as the circle center, and the third interval is used as the radius.
  • the position of the electronic device and the vehicle can be determined, and then the electronic device and the vehicle can be determined. Relative position in the same plane coordinate diagram.
  • the preset time interval is a small value, such as 1s (seconds).
  • the first preset time interval such as 2s
  • the relative distance between the vehicle and the NAN device is not received from the target device on the vehicle to the electronic device, indicating that the vehicle distance is fixed
  • the NAN device is far away, and the time interval for obtaining the relative position of the electronic device and the vehicle may be set to a second preset time interval that is greater than the first preset time interval.
  • the vehicle is approaching the electronic device according to the change of the multiple relative positions, including: obtaining the first preset time interval corresponding The first relative position of the electronic device and the vehicle in the same plane coordinate chart, and the first relative distance between the electronic device and the vehicle is determined according to the first relative position; the electronic device and the vehicle corresponding to the second preset time interval are obtained A second relative position in the same plane coordinate diagram, and a second relative distance between the electronic device and the vehicle is determined according to the second relative position; and based on the second relative distance being less than the first relative distance, it is determined that the vehicle is approaching the electronic device.
  • FIG. 1E is a schematic diagram of determining that an electronic device and a vehicle are approaching according to an embodiment of the present application.
  • the relative position of the electronic device and the vehicle is obtained at a first preset time interval. R and C respectively, and based on these two positions, it can be determined that the first relative distance between the two is L1; the positions of the electronic device and the vehicle obtained at the second preset time interval are R 'and C', respectively; and It is determined that the second relative distance between the two is L2.
  • L1> L2 which indicates that the first pairing distance between the two is shortening, and the vehicle is approaching the electronic device.
  • the first preset time interval and the second preset time interval may be equal or unequal.
  • the first relative distance corresponding to the first preset time interval if the first relative distance is less than the preset distance threshold, such as 200 meters, shorten the value of the second preset time interval and obtain the second When the electronic device and the vehicle correspond to the second relative position in the same plane coordinate diagram for a preset time interval.
  • the relative distance between the vehicle and the electronic device can be a straight distance or a vertical distance, which can reflect the distance relationship between the vehicle and the electronic device.
  • the method for determining whether the vehicle is approaching the electronic device according to the change of the relative position further includes: obtaining a first relative position of the electronic device and the vehicle corresponding to the first preset time interval in the same plane coordinate diagram; Obtain the second relative position of the electronic device and the vehicle in the same plane coordinate diagram corresponding to the second preset time interval; determine the moving direction of the electronic device and the moving direction of the vehicle according to the first relative position and the second relative position; if If the moving direction of the electronic device and the moving direction of the vehicle are close to each other, it is determined that the vehicle is approaching the electronic device.
  • FIG. 1F is another schematic diagram for judging whether an electronic device and a vehicle are close to each other according to an embodiment of the present application.
  • the relative of the electronic device and the vehicle is obtained at a first preset time interval.
  • the positions are R and C
  • the positions of the electronic device and the vehicle obtained at the second preset time interval are R 'and C', respectively.
  • the moving direction Vr of the electronic device can be determined according to R and R ', and according to C and C'
  • the moving direction Vc of the vehicle can be determined, and Vr can be divided into two moving components of Vr1 and Vr2.
  • Vc can be divided into two moving components of Vc1 and Vc2.
  • Vr1 and Vc1 are moving components that are close to each other, so it can be determined Move closer to the electronic device.
  • a method of determining the proximity of the two by shortening the distance between the vehicle and the electronic device and a method of determining that the vehicle is approaching the electronic device by a moving component between the vehicle and the electronic device may be combined. If the vehicle and the electronic device have a shortened distance and there are moving components that are close to each other, it is determined that the vehicle is approaching the electronic device.
  • the positioning of electronic devices and vehicles through a NAN network composed of NAN devices and electronic devices enables users to more accurately and conveniently locate the positions of pedestrians and vehicles.
  • the relative distance is shortened, or there is a moving component between the electronic device and the vehicle, and it is determined that the vehicle is approaching the electronic device, which can increase the determination speed and quickly obtain a conclusion.
  • obtaining the distance between the electronic device and the vehicle includes the following methods: obtaining the first relative position and the second relative position of the electronic device and the vehicle in the same plane coordinate diagram; Position and second relative position, determine the vertical distance between the electronic device and the vehicle, and use the vertical distance as the relative distance between the electronic device and the vehicle; or, obtain the first relative position and the first relative position of the electronic device and the vehicle in the same plane coordinate diagram.
  • Two relative positions determining a linear distance between the electronic device and the vehicle according to the first relative position and the second relative position, and using the linear distance as the relative distance between the electronic device and the vehicle.
  • the straight line distance between the vehicle and the electronic equipment is obtained as the distance between the two.
  • the linear distance between the two can be obtained as the distance between the electronic device and the vehicle, and the vertical distance between the two can be obtained as the distance between the electronic device and the vehicle.
  • the distance between the vehicle and the electronic device is set to a vertical distance or a straight line distance, which improves the calculation efficiency and quickly determines the distance between the two. It guarantees the real-timeness of judging the distance and prompting the user, and indirectly improves the safety and effectiveness of the positioning method.
  • the speed at which the vehicle and the electronic device approach each other can also be determined according to the preset time interval and the relative position of the vehicle and the electronic device positioned by the NAN device. Intersection point, determining whether the intersection time between the vehicle and the electronic device is less than a preset time threshold, and if so, sending a prompt message to the electronic device.
  • the prompt information when the distance is less than the preset threshold, includes: when the distance is less than the preset threshold, voice and / or vibration prompt information is sent to the electronic device, the prompt information includes the current distance value; the electronic device is provided with an avoidance strategy, Avoidance strategies include lane changes, shifts or pauses.
  • a voice prompt or a vibration prompt is issued, or two prompts are issued at the same time, and the current distance value between the electronic device and the vehicle is given.
  • avoidance strategies are displayed on the display of the electronic device, for example, suggesting that the user wait for the vehicle to pass first, or that there are many vehicles in the direction of the user's walking, and suggesting that the user change lanes.
  • the electronic device first performs physical fitness testing on the holder of the electronic device, including normal walking speed, running speed, response speed, and hearing condition, and provides a customized reminder strategy for the user based on the inspection results. It includes setting the size of the prompt volume and the degree of vibration according to the hearing of the holder, and setting a preset threshold for the distance according to the holder's response speed. The faster the holder, the smaller the preset distance for the distance. Conversely, according to the walking speed or running speed of the holder, provide different avoidance strategies for the holder. Users with fast walking speed or running speed can report to the electronic device when the distance between the electronic device and the vehicle is greater than the dangerous distance. Prompt acceleration beyond the original intersection with the vehicle.
  • the avoidance strategy provided for the electronic device can also be set according to the current action status of the holder. For example, it is detected that the holder of the electronic device is walking slowly and the pause interval for walking is greater than a preset time threshold. Some people provide a reminder strategy to stop walking and avoid vehicles; if it is detected that the holder of the electronic device is walking fast and the pause interval is less than a preset time interval threshold, and the distance between the holder and the vehicle is greater than the dangerous distance, the electronic The device prompts a strategy to accelerate over the vehicle.
  • the electronic device when the electronic device detects that the vehicle is approaching the electronic device, and the distance between the two is less than a preset threshold, it can send an early warning message to the vehicle, and the target device on the vehicle can receive the early warning information and use the early warning information to control the driving strategy. Make improvements, including giving way, pausing, or speeding up.
  • different prompting strategies are set, which can prompt the user of the safety of the pedestrian crossing while giving the user sufficient response time to fully avoid the occurrence of security accidents. Further, while ensuring the safety of the user, the normal positioning process of the user is not affected, and the practicability of the safety positioning is improved.
  • the method before acquiring three proximity sensing network NAN devices at a pedestrian intersection, the method further includes: detecting a traffic light identifier at the pedestrian intersection; and determining that no traffic light identifier exists within a preset range.
  • three proximity sensing network NAN devices at a pedestrian crossing are obtained through an electronic device, and a NAN network is established between the electronic device and the three NAN devices. All three NAN devices are located in the NAN network. Fixed device, and then obtain the relative position of the electronic device and the vehicle located in the same plane coordinate map by a plurality of three NAN devices according to a preset time interval, and determine that the vehicle is approaching the electronic device according to the change of the relative position; finally The distance between the electronic device and the vehicle is determined according to the relative position, and a prompt message is issued when the distance is less than a preset threshold. The prompt information is used to prompt the holder of the electronic device to avoid the vehicle.
  • the electronic device and the vehicle can be detected through the NAN network. Perform positioning, and simultaneously obtain the relative position of the electronic device and the vehicle, and issue a prompt to the electronic device holder when the distance between the two is less than a preset threshold, which improves the accuracy of the positioning, and enables the electronic device holder to discover in time Dangerous vehicles nearby may increase the safety of pedestrians as they pass through pedestrian crossings.
  • FIG. 2 is a schematic flowchart of a method for determining a vehicle approaching an electronic device according to an embodiment of the present application.
  • the method for determining a vehicle approaching an electronic device described in this embodiment is applied to the method shown in FIG. 1A.
  • An electronic device, the method may include the following steps:
  • the method for determining that a vehicle is approaching an electronic device determines the vehicle is approaching the electronic device by locating the relative distance between the vehicle and the electronic device and then shortening the relative distance between the front and back.
  • the judgment method is easy to operate and helps to quickly obtain the judgment result, thereby improving the real-timeness and effectiveness of subsequent prompt information to the electronic device.
  • FIG. 3 is a schematic flowchart of another method for determining a vehicle approaching an electronic device according to an embodiment of the present application.
  • the method for determining a vehicle approaching an electronic device described in this embodiment is applied to As shown in the electronic device in FIG. 1A, the method may include the following steps:
  • the method for determining that a vehicle is approaching an electronic device described in the embodiment of the present application determines the moving direction of the vehicle and the electronic device by locating the relative position change of the vehicle and the electronic device, and then exists according to the moving directions of the two
  • the moving component approaching the other party determines whether the vehicle is approaching the electronic device.
  • FIG. 4 is a schematic flowchart of another secure positioning method according to an embodiment of the present application. As shown in FIG. 4, the secure positioning method described in this embodiment is applied to an electronic device as shown in FIG. 1A. The method may include the following steps:
  • avoidance strategy to the electronic device, where the avoidance strategy includes lane change, speed change, or suspension.
  • the safety positioning method described in the embodiment of the present application determines the safety of vehicles and electronic devices when it is determined that there are no traffic light signs at pedestrian crossings, locates electronic devices and vehicles through the NAN network, and simultaneously obtains electronic The relative position of the device and the vehicle, and alerting the electronic device holder when the distance between the two is less than a preset threshold, which improves the accuracy of the positioning, and at the same time enables the electronic device holder to detect the nearby dangerous Vehicles improve the safety of pedestrians as they pass through pedestrian crossings.
  • FIG. 5 is another schematic structural diagram of an electronic device according to an embodiment of the present application, including: a processor and a memory; and one or more programs.
  • the one or more programs Stored in the memory and configured to be executed by the processor, the program includes instructions for performing the following steps:
  • the program includes instructions for performing the following steps:
  • the first positioning The request is used to instruct obtaining the relative distance between each of the NAN devices and the electronic device; and sending a second positioning request for the vehicle to each of the three NAN devices, the second positioning The request is used to indicate the relative distance between each NAN device and the vehicle; according to the relative distance between the fixed position of each NAN device and the electronic device, and the fixed position of each NAN device and The relative distance between the vehicles determines the relative position of the electronic device and the vehicle corresponding to each preset time interval in the same plane coordinate diagram.
  • the program includes instructions for performing the following steps: obtaining in advance the electronic device in a different Multiple signal strengths at multiple distances, and establish the correspondence between signal strength and distance; obtain three target signal strengths corresponding to the electronic device and three NAN devices; according to the preset correspondence between signal strength and distance The relationship determines a relative distance corresponding to each of the three target signal strengths, and obtains a relative distance between each of the three NAN devices and the electronic device.
  • the program includes instructions for performing the following steps:
  • the program includes instructions for performing the following steps:
  • the program includes instructions for performing the following steps: obtaining the electronic device and the vehicle at A first relative position and a second relative position in the same plane coordinate diagram; determining a vertical distance between the electronic device and the vehicle according to the first relative position and the second relative position, and The distance is the distance between the electronic device and the vehicle; or, a first relative position and a second relative position of the electronic device and the vehicle in the same plane coordinate diagram are obtained; according to the first relative position and The second relative position determines a linear distance between the electronic device and the vehicle, and uses the linear distance as a distance between the electronic device and the vehicle.
  • the program when the prompt information is issued when the distance is less than a preset threshold, the program includes instructions for performing the following steps: when the distance is less than a preset threshold, issuing a voice to the electronic device And / or vibration prompt information, the prompt information includes a current distance value; and an avoidance strategy is provided to the electronic device, and the avoidance strategy includes lane changing, speed changing, or pausing.
  • the program further includes instructions for performing the following steps: detecting a traffic light identifier at a pedestrian crossing; and determining that the traffic light identifier does not exist within a preset range.
  • FIG. 6 is a schematic structural diagram of a safety positioning device provided by this embodiment.
  • the security positioning device is applied to an electronic device, the electronic device includes a display screen, and the security positioning device includes a connection unit 601, an obtaining unit 602, and a prompting unit 603.
  • the connection unit 601 is configured to obtain three proximity sensing network NAN devices at a pedestrian crossing, and establish a NAN network between the electronic device and the three NAN devices, and the three NAN devices are all locations in the NAN network.
  • Fixed equipment
  • the acquiring unit 602 is configured to acquire a relative position of the electronic device and the vehicle positioned by the three NAN devices in the same plane coordinate diagram, and determine that the vehicle is moving toward the desired position according to a change in the relative position. Mentioned electronic equipment approaching;
  • the prompting unit 603 is configured to determine a distance between the electronic device and the vehicle according to the relative position, and issue a prompting message when the distance is less than a preset threshold, and the prompting information is used to prompt the electronic device Holders avoided the vehicle.
  • the acquiring unit 602 is specifically configured to:
  • the first positioning The request is used to instruct obtaining the relative distance between each of the NAN devices and the electronic device; and sending a second positioning request for the vehicle to each of the three NAN devices, the second positioning The request is used to indicate the relative distance between each NAN device and the vehicle; according to the relative distance between the fixed position of each NAN device and the electronic device, and the fixed position of each NAN device and The relative distance between the vehicles determines the relative position of the electronic device and the vehicle corresponding to each preset time interval in the same plane coordinate diagram.
  • the obtaining unit 602 is specifically configured to: obtain in advance multiple values of the electronic device at different multiple distances. Signal strength, and establish a corresponding relationship between the signal strength and the distance; obtain three target signal strengths corresponding to the electronic device and the three NAN devices; determine the three according to a preset correspondence between the signal strength and the distance The relative distance corresponding to each target signal strength among the three target signal strengths is to obtain the relative distance between each of the three NAN devices and the electronic device.
  • the obtaining unit 602 is specifically configured to:
  • the obtaining unit 602 is specifically configured to:
  • the prompting unit 603 is specifically configured to:
  • the prompt unit 603 is specifically configured to:
  • voice and / or vibration prompt information is sent to the electronic device, the prompt information includes the current distance value; and the electronic device is provided with an avoidance strategy, which includes a lane change, Change speed or pause.
  • the security positioning device further includes a detection unit 604, which is specifically configured to:
  • Detecting a traffic light sign at a pedestrian crossing determining that the traffic light sign does not exist within a preset range.
  • the security positioning device described in the embodiment of the present application acquires three proximity sensing network NAN devices at a pedestrian crossing to establish a NAN network between the electronic device and the three NAN devices.
  • a device with a fixed position in the network and then obtain the relative position of the electronic device and the vehicle positioned in the same plane coordinate map by a plurality of three NAN devices according to a preset time interval, and determine that the vehicle is moving toward the electronic device according to the change of the relative position.
  • the prompt information is used to prompt the holder of the electronic device to avoid the vehicle, so that the electronic device can be accessed through the NAN network Position the vehicle and obtain the relative position of the electronic device and the vehicle at the same time, and issue a prompt to the electronic device holder when the distance between the two is less than a preset threshold, which improves the accuracy of the positioning and enables the electronic device holder Promptly spot nearby vehicles that could be dangerous, improving pedestrian safety when crossing pedestrian crossings
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute a part of any one of the secure positioning methods described in the foregoing method embodiments. Or all steps.
  • An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the operations described in the foregoing method embodiments Part or all of the steps of any security positioning method.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may be combined. Integration into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • the functional units in the embodiments of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software program modules.
  • the integrated unit When the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it may be stored in a computer-readable memory.
  • the technical solution of the present application essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory.
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the foregoing memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and other media that can store program codes.
  • the program may be stored in a computer-readable memory, and the memory may include a flash disk. , ROM, RAM, disk or disc, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Traffic Control Systems (AREA)

Abstract

一种安全定位方法及相关产品,通过获取人行路口的三个邻近感知网络NAN设备,建立电子设备与三个NAN设备之间的NAN网络,三个NAN设备均为NAN网络中位置固定的设备(步骤101);获取三个NAN设备定位的电子设备与车辆在同一个平面坐标图中的相对位置,并根据相对位置的变化情况确定车辆在向电子设备靠近(步骤102);根据相对位置确定电子设备与车辆的距离,并在距离小于预设阈值时发出提示信息,提示信息用于提示电子设备的持有人避开车辆(步骤103),从而,可通过NAN网络对车辆和电子设备进行定位,确定持有电子设备的行人与车辆的距离,在车辆向行人靠近,且距离很近时,向行人发出提示,保证行人安全。

Description

安全定位方法及相关产品 技术领域
本申请涉及电子技术领域,具体涉及一种安全定位方法及相关产品。
背景技术
随着电子设备(如:手机、平板电脑等)的大量普及应用,电子设备能够支持的应用越来越多,功能越来越强大,电子设备向着多样化、个性化的方向发展,成为用户生活中不可缺少的电子用品。
但与此同时,电子设备的普及也导致用户花费大量时间看手机,而忽略了现实中存在的突发状况。例如在行人过马路的时候,如果低头玩手机而不观察来往的车辆,将存在很大的安全隐患。人行路口虽然有红绿灯对交通进行指示,但是有的右转弯车辆和行人直行会发生冲突,如果行人不注意,将很大可能造成安全问题。而有的路口甚至根本没有红绿灯,转弯车辆经常会在不经意间出没。因此,如何为行人定位并提醒附近可能带来安全问题的车辆,是一个亟待解决的问题。
发明内容
本申请实施例提供了一种安全定位方法及相关产品,可使用户更加准确、便捷地定位行人和车辆位置,并确定行人与车辆的距离,在车辆向行人靠近,且距离很近时,向行人发出提示,保证行人安全。
第一方面,本申请实施例提供了一种安全定位方法,所述方法包括:
获取人行路口的三个邻近感知网络NAN设备,建立电子设备与所述三个NAN设备之间的NAN网络,所述三个NAN设备均为所述NAN网络中位置固定的设备;
获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置,并根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近;
根据所述相对位置确定所述电子设备与所述车辆的距离,并在所述距离小于预设阈值时发出提示信息,所述提示信息用于提示所述电子设备的持有人避开所述车辆。
第二方面,本申请实施例提供了一种安全定位装置,所述安全定位装置包括:
连接单元,用于获取人行路口的三个邻近感知网络NAN设备,建立电子设备与所述三个NAN设备之间的NAN网络,所述三个NAN设备均为所述NAN网络中位置固定的设备;
获取单元,用于获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置,并根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近;
提示单元,用于根据所述相对位置确定所述电子设备与所述车辆的距离,并在所述距离小于预设阈值时发出提示信息,所述提示信息用于提示所述电子设备的持有人避开所述车辆。
第三方面,本申请实施例提供了一种电子设备,包括:处理器和存储器;以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于如第一方面中所描述的部分或全部步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质用于存储计算机程序,其中,所述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤的指令。
第五方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
实施本申请实施例,具有如下有益效果:
可以看出,本申请实施例中所描述的安全定位方法及相关产品,通过获取人行路口的三个邻近感知网络NAN设备,建立电子设备与三个NAN设备之间的NAN网络,三个NAN设备均为NAN网络中位置固定的设备,然后根据预设时间间隔获取多个三个NAN设备定位的电子设备与车辆在同一个平面坐标图中的相对位置,并根据相对位置的变化情况确定车辆在向电子设备靠近;最后根据相对位置确定电子设备与车辆的距离,并在距离小于预设阈值时发出提示信息,提示信息用于提示电子设备的持有人避开车辆,从而,可通过NAN网络对电子设备和车辆的进行定位,同时获取电子设备和车辆的相对位置,并在两者的距离小于预设阈值时对电子设备持有人发出提示,提升了定位的准确性,同时使电子设备持有人能够及时发现附近可能带来危险的车辆,提升了行人通过人行路口时的安全性。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1A是本申请实施例提供的一种示例电子设备的结构示意图;
图1B是本申请实施例提供的一种安全定位方法的流程示意图;
图1C是本申请实施例提供的一种根据三个固定位置和三个相对距离确定电子设备的第一位置的演示示意图;
图1D是本申请实施例提供的一种根据NAN设备确定车辆的目标位置的演示示意图;
图1E是本申请实施例提供的一种判断电子设备和车辆在靠近的示意图;
图1F是本申请实施例提供的另一种判断电子设备和车辆在靠近的示意图;
图2是本申请实施例提供的一种确定车辆向电子设备靠近的方法流程示意图;
图3是本申请实施例提供的另一种确定车辆向电子设备靠近的方法流程示意图;
图4是本申请实施例提供的另一种安全定位方法流程示意图;
图5是本申请实施例提供的一种电子设备的另一结构示意图;
图6是本申请实施例提供的一种安全定位装置的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图, 对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。
下面对本申请实施例进行详细介绍。
请参阅图1A,图1A是本申请实施例提供的一种电子设备100的结构示意图,上述电子设备100包括:壳体110、设置于所述壳体110内的电路板120、定位装置130和设置于所述壳体110上的显示屏140,所述电路板120上设置有处理器121,所述定位装置130与所述处理器121连接,所述处理器121连接所述显示屏140。
下面对本申请实施例进行详细介绍。
请参阅图1B,图1B是本申请实施例提供的一种安全定位方法的流程示意图,本实施例中所描述的安全定位方法,应用于如图1A的电子设备,该安全定位方法包括:
101、获取人行路口的三个邻近感知网络NAN设备,建立电子设备与所述三个NAN设备之间的NAN网络,所述三个NAN设备均为所述NAN网络中位置固定的设备。
基于Wi-Fi技术的邻近感知网络(英文:neighbor awareness network,NAN)中,多个具有NAN功能的设备(简称NAN设备)和电子设备能够形成NAN网络,NAN网路中的多个NAN设备之间以及NAN设备与电子设备之间,都能够进行数据传输。其中,NAN设备被固定设置在人行路口,电子设备被用户随身携带。本申请实施例中,可在人行路口设置位置固定的多个NAN设备,如此,每一个NAN设备的位置都能确定,当用户持有电子设备进入NAN设备感知范围,可与多个NAN设备中的任意三个NAN设备建立邻近感知网络。可选地,电子设备可创建一个NAN群组,并设定该NAN群组的群标识信息,电子设备可向附近的NAN设备发送信标(Beacon),附近的NAN设备在接收到电子设备发送的Beacon后,可向电子设备发送加入NAN群组的请求,电子设备可根据接收到的请求建立NAN群组,从而,在该NAN群组中,电子设备可与三个NAN设备进行消息交互,数据传输等等。
102、获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相 对位置,并根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近。
本申请实施例中,可通过向三个NAN设备中每一NAN设备发送搜索(ranging)请求,然后根据接收到的三个NAN设备中每一NAN设备的反馈信息确定电子设备与三个NAN设备中每一NAN设备之间的相对距离,由于用户在行走过程中,位置会发生变化,因此,可以预设时间周期获取上述三个NAN设备中每一NAN设备与电子设备之间的相对距离。
可选的,上述步骤102中,获取三个NAN设备定位的电子设备与车辆在同一个平面坐标图中的相对位置,包括:获取三个NAN设备中每一个NAN设备的固定位置;以预设时间间隔向三个NAN设备中每一NAN设备发送针对电子设备的第一定位请求,第一定位请求用于指示每一个NAN设备与电子设备之间的相对距离;向三个NAN设备中每一个NAN设备发送针对车辆的第二定位请求,第二定位请求用于指示每一个NAN设备与车辆之间的相对距离;根据每一个NAN设备的固定位置与电子设备之间的相对距离,以及每一个NAN设备的固定位置与车辆之间的相对距离,确定每一个预设时间间隔对应的电子设备与车辆在同一个平面坐标图中的相对位置。
其中,假定三个NAN设备分别为第一NAN设备、第二NAN设备和第三NAN设备,第一电子设备可分别向第一NAN设备、第二NAN设备和第三NAN设备发送第一定位请求,当三个NAN设备接收到第一定位请求后,可向电子设备发送其固定位置,从而得到第一固定位置、第二固定位置和第三固定位置,然后,电子设备可分别获取与三个NAN设备中每一NAN设备之间的相对距离,从而得到电子设备与第一NAN设备之间的第一相对距离,与第二NAN设备之间的第二相对距离,以及与第三NAN设备之间的第三相对距离。
请参阅图1C,图1C为本申请实施例提供的一种根据三个固定位置和三个相对距离确定电子设备的第一位置的演示示意图,如图1C所示,可以第一固定位置为圆心,以第一相对距离为半径画圆,以第二固定位置为圆心,以第二相对距离为半径画圆,以第三固定位置为圆心,以第三相对距离为半径画圆,然后,根据上述三个圆的重叠区域确定电子设备所处的第一位置。
可选地,考虑到信号强度和距离之间存在正相关的联系,因此,可预先获取不同的多个距离下的多个信号强度,并建立信号强度与距离之间的对应关系,进而,获取电子设备与三个NAN设备中每一NAN设备之间的相对距离,可通过获取电子设备与三个NAN设备中每一NAN设备之间的目标信号强度,得到三个目标信号强度,然后,根据预设的信号强度与距离之间的对应关系,确定所述三个目标信号强度中每一目标信号强度对应的相对距离,得到三个相对距离。
确定电子设备的位置后,需要确定车辆的位置。车辆中可包含目标设备,以便NAN设备能够对针对该目标设备进行定位,进而对车辆进行定位。目标设备可以是电子设备,或者其他NAN设备。由于行人持有的电子设备与车辆的位置不确定,有可能存在较远距离而使得电子设备无法定位到车辆位置,因此需要人行路口固定的NAN设备对车辆进行定位,然后将定位结果发送到电子设备。
具体地,请参阅图1D,图1D为本申请实施例提供的一种根据NAN设备确定车辆的目标位置的演示示意图,如图1D所示,电子设备可向三个NAN设备中每一NAN设备分别发送第二定位请求,当三个NAN设备中每一NAN设备接收到第二定位请求后,每一 NAN设备可获取该NAN设备与车辆中的目标设备之间的间隔距离,从而分别得到目标设备与第一NAN设备之间的第一间隔距离,目标设备与第二NAN设备之间的第二间隔距离,以及目标设备与第三NAN设备之间的第三间隔距离,进而,可以第一固定位置为圆心,以第一间隔距离为半径画圆,以第二固定位置为圆心,以第二间隔距离为半径画圆,以第二固定位置为圆心,以第三间隔距离为半径画圆,从而根据上述三个圆的重叠区域确定目标设备所处的目标位置,即车辆的位置。
根据每一个NAN设备的固定位置与电子设备之间的相对距离,以及每一个NAN设备的固定位置与车辆之间的相对距离,可确定电子设备以及车辆的位置,进而可以确定电子设备与车辆在同一个平面坐标图中的相对位置。另外,因为需要实时获取电子设备与车辆之间的相对位置,因此需要以预设时间间隔不停地获取两者的位置信息,预设时间间隔是一个较小的值,例如1s(秒),2s,30ms(毫秒)等,但是如果在第一预设的时间间隔内,例如2s内,都没有收到车辆上的目标设备反馈给电子设备的车辆与NAN设备的相对距离,说明车辆距离固定的NAN设备距离较远,可以将获取电子设备与车辆相对位置的时间间隔设置为大于第一预设时间间隔的第二预设时间间隔。
可选的,在以预设时间间隔获取多个电子设备与车辆的相对位置后,需要根据多个相对位置的变化情况确定车辆在向电子设备靠近,包括:获取第一个预设时间间隔对应的电子设备与车辆在同一个平面坐标图中的第一相对位置,并根据第一相对位置确定电子设备与车辆的第一相对距离;获取第二个预设时间间隔对应的电子设备与车辆在同一个平面坐标图中的第二相对位置,并根据第二相对位置确定电子设备与车辆的第二相对距离;根据第二相对距离小于第一相对距离,确定车辆在向电子设备靠近。
请参阅图1E,图1E为本申请实施例提供的一种判断电子设备和车辆在靠近的示意图,如图1E所示,在第一个预设时间间隔获取到电子设备的和车辆的相对位置分别为R和C,而根据这两个位置,可确定两者的第一相对距离为L1;在第二个预设时间间隔获取到电子设备和车辆的位置分别为R’和C’,且确定两者之间的第二相对距离为L2,明显地,L1>L2,说明两者的先对距离在缩短,即可确定车辆在向电子设备靠近。其中,第一个预设时间间隔和第二个预设时间间隔可以相等,也可以不相等。例如,在获取到第一个预设时间间隔对应的第一相对距离后,如果第一相对距离小于预设距离阈值,如200米,缩短第二个预设时间间隔的值,并获取第二个预设时间间隔对应的电子设备与车辆在同一个平面坐标图中的第二相对位置时。车辆和电子设备的相对距离可以是直线距离,也可以是垂直距离,都可以反应车辆和电子设备的距离关系。
可选的,根据相对位置的变化情况确定车辆是否在向电子设备靠近的方法还包括:获取第一个预设时间间隔对应的电子设备与车辆在同一个平面坐标图中的第一相对位置;获取第二个预设时间间隔对应的电子设备与车辆在同一个平面坐标图中的第二相对位置;根据第一相对位置和第二相对位置确定电子设备的移动方向和车辆的移动方向;若电子设备的移动方向和车辆的移动方向存在向对方靠近的移动分量,则确定车辆在向电子设备靠近。
请参阅图1F,图1F为本申请实施例提供的另一种判断电子设备和车辆在靠近的示意图,如图1E所示,在第一个预设时间间隔获取到电子设备的和车辆的相对位置分别为R和C,在第二个预设时间间隔获取到电子设备和车辆的位置分别为R’和C’,根据R和R’ 可确定电子设备的移动方向Vr,根据C和C’可确定车辆的移动方向Vc,而Vr可拆分为Vr1和Vr2两个移动分量,Vc可拆分为Vc1和Vc2两个移动分量,Vr1和Vc1为互相靠近的移动分量,因此可以确定车辆在向电子设备靠近。
可选的,也可以将通过车辆和电子设备的之间距离缩短判定两者靠近的方法与通过车辆和电子设备之间的互相靠近的移动分量判定车辆在向电子设备靠近的方法进行结合,如果车辆和电子设备即存在距离缩短,又存在互相靠近的移动分量,则判断车辆在向电子设备靠近。
可见,在本申请实施例中,通过NAN设备与电子设备组成的NAN网络对电子设备和车辆进行定位,可使用户更加准确、便捷地定位行人和车辆位置,而通过电子设备与车辆之间的相对距离缩短,或者电子设备和车辆之间存在相互靠近的移动分量,判定车辆在向电子设备靠近,可以提升判定速度,快速获得结论。
103、根据所述相对位置确定所述电子设备与所述车辆的距离,并在所述距离小于预设阈值时发出提示信息,所述提示信息用于提示所述电子设备的持有人避开所述车辆。
在确定车辆向电子设备靠近的前提下,获取电子设备与车辆的距离,具体方法包括:获取电子设备与车辆在同一个平面坐标图中的第一相对位置和第二相对位置;根据第一相对位置和第二相对位置,确定电子设备和车辆的垂直距离,并将垂直距离作为电子设备与车辆的相对距离;或,获取电子设备与车辆在同一个平面坐标图中的第一相对位置和第二相对位置;根据第一相对位置和第二相对位置,确定电子设备和车辆的直线距离,并将直线距离作为电子设备与车辆的相对距离。
车辆与电子设备的持有人如果在同一直线上相向而行,或者在平行的两条道路上相向而行,那么获取车辆与电子设备的直线距离作为两者的距离。否者,可以获取两者的直线距离作为电子设备与车辆的距离,也可以获取两者的垂直距离作为电子设备与车辆的距离。
在本申请实施例中,将车辆与电子设备之间的距离设定为垂直距离或直线距离,提升了计算效率,快速确定两者的距离。保证了判断距离以及给与用户提示的实时性,间接提升了该定位方法的安全性和有效性。
在可选的情况下,也可以根据预设时间间隔和NAN设备定位到的车辆与电子设备的相对位置变化,确定车辆与电子设备相互靠近的速度,并根据相互靠近的速度和两者可能的交汇点,确定距离车辆和电子设备的交汇时间是否小于预设时间阈值,如果是,则向电子设备发出提示信息。
可选的,在距离小于预设阈值时发出提示信息包括:在距离小于预设阈值时,向电子设备发出语音和/或震动提示信息,提示信息包括当前距离值;向电子设备提供避让策略,避让策略包括换道、变速或暂停。
具体地,在电子设备定位到有车辆在向电子设备靠近,并且距离小于预设阈值时,则发出语音提示或震动提示,或同时发出两种提示,并给出当前电子设备与车辆的距离值。同时,在电子设备的显示屏上显示避让策略,例如建议用户等待车辆先通行,或者用户行走方向的车辆很多,建议用户变道等。
可选的,电子设备先对电子设备的持有者进行身体素质检测,包括正常行走速度、奔跑速度、反应速度和听力情况等,并根据检查结果为用户提供定制的提示策略。包括根据 持有者的听力情况设置提示音量的大小、震动程度的大小,根据持有者的反应速度设置距离的预设阈值,反应速度越快的持有者,距离的预设阈值越小,反之越大,根据持有者的行走速度或奔跑速度,为持有者提供不同的避让策略,行走速度或奔跑速度快的用户,可以在电子设备与车辆的距离大于危险距离时,向电子设备提示加速超过原本与车辆可能的交汇点。此外,为电子设备提供的避让策略还可以根据持有者当前的行动状态进行设置,例如检测到电子设备的持有者行走速度很慢,且行走的暂停间隔大于预设时间阈值,则为持有者提供停止行走,避让车辆的提示策略;如果检测到电子设备的持有者行走速度快,且暂停间隔小于预设时间间隔阈值,并且持有者与车辆的距离大于危险距离时,向电子设备提示加速超过车辆的策略。
可选的,当电子设备检测到车辆在向电子设备靠近,且两者距离小于预设阈值时,可以向车辆发出预警信息,车辆上有目标设备能够接收预警信息,并根据预警信息对行驶策略进行改进,包括让道、暂停或加速超越等。
在本申请实施例中,根据不同的电子设备持有人,设置不同的提示策略,能够在提示用户人行路口安全性的同时,给与用户充足的反应时间,充分避免安全事故的发生。进一步地,在保证用户安全性的同时,也能够不影响用户的正常行进过程,提升安全定位的实用性。
可选的,在获取人行路口的三个邻近感知网络NAN设备之前,该方法还包括:检测人行路口的红绿灯标识;确定在预设范围内不存在红绿灯标识。
在进行车辆和电子设备的定位前,先检测人行路口是否存在红绿灯标识,对于存在红绿灯标识的路口,行人可以根据红绿灯标识避让车辆。在不存在红绿灯标识的人行路口,安全隐患较高,因此需要采用NAN网络进行车辆和电子设备的定位。
可以看出,在本申请实施例中,通过电子设备获取人行路口的三个邻近感知网络NAN设备,建立电子设备与三个NAN设备之间的NAN网络,三个NAN设备均为NAN网络中位置固定的设备,然后根据预设时间间隔获取多个三个NAN设备定位的电子设备与车辆在同一个平面坐标图中的相对位置,并根据相对位置的变化情况确定车辆在向电子设备靠近;最后根据相对位置确定电子设备与车辆的距离,并在距离小于预设阈值时发出提示信息,提示信息用于提示电子设备的持有人避开车辆,从而,可通过NAN网络对电子设备和车辆的进行定位,同时获取电子设备和车辆的相对位置,并在两者的距离小于预设阈值时对电子设备持有人发出提示,提升了定位的准确性,同时使电子设备持有人能够及时发现附近可能带来危险的车辆,提升了行人通过人行路口时的安全性。
请参阅图2,图2是本申请实施例提供的一种确定车辆在向电子设备靠近的方法流程示意图,本实施例中所描述的确定车辆向电子设备靠近的方法,应用于如图1A的电子设备,该方法可包括以下步骤:
201、获取所述三个NAN设备中每一个NAN设备的固定位置;
202、以预设时间间隔向所述三个NAN设备中每一NAN设备发送针对所述电子设备的第一定位请求,所述第一定位请求用于指示获取所述每一个NAN设备与所述电子设备之间的相对距离;
203、向所述三个NAN设备中每一个NAN设备发送针对所述车辆的第二定位请求,所述第二定位请求用于指示所述每一个NAN设备与所述车辆之间的相对距离;
204、根据所述每一个NAN设备的固定位置与所述电子设备之间的相对距离,以及每一个NAN设备的固定位置与所述车辆之间的相对距离;
205、根据所述每一个NAN设备的固定位置与所述电子设备之间的相对距离,以及每一个NAN设备的固定位置与所述车辆之间的相对距离,确定每一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的相对位置;
206、获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置,并根据所述第一相对位置确定所述电子设备与所述车辆的第一相对距离;
207、获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置,并根据所述第二相对位置确定所述电子设备与所述车辆的第二相对距离;
208、根据所述第二相对距离小于所述第一相对距离,确定所述车辆在向所述电子设备靠近。
可以看出,本申请实施例中所描述的确定车辆在向电子设备靠近的方法,通过定位车辆与电子设备的相对距离,然后根据前后相对距离的缩短,判断车辆在向电子设备靠近,这种判断方法运算简便,有助于快速获取判断结果,进而提升后续向电子设备发出提示信息的实时性和有效性。
与上述一致地,请参阅图3,为本申请实施例提供的另一种确定车辆在向电子设备靠近的方法流程示意图,本实施例中所描述的确定车辆向电子设备靠近的方法,应用于如图1A的电子设备,本方法可包括以下步骤:
301、获取所述三个NAN设备中每一个NAN设备的固定位置;
302、以预设时间间隔向所述三个NAN设备中每一NAN设备发送针对所述电子设备的第一定位请求,所述第一定位请求用于指示获取所述每一个NAN设备与所述电子设备之间的相对距离;
303、向所述三个NAN设备中每一个NAN设备发送针对所述车辆的第二定位请求,所述第二定位请求用于指示所述每一个NAN设备与所述车辆之间的相对距离;
304、根据所述每一个NAN设备的固定位置与所述电子设备之间的相对距离,以及每一个NAN设备的固定位置与所述车辆之间的相对距离;
305、根据所述每一个NAN设备的固定位置与所述电子设备之间的相对距离,以及每一个NAN设备的固定位置与所述车辆之间的相对距离,确定每一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的相对位置;
306、获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置;
307、获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置;
308、根据所述第一相对位置和所述第二相对位置确定所述电子设备的移动方向和所述车辆的移动方向;
309、若所述电子设备的移动方向和所述车辆的移动方向存在向对方靠近的移动分量,则确定所述车辆在向所述电子设备靠近。
可以看出,本申请实施例中所描述的确定车辆在向电子设备靠近的方法,通过定位车辆与电子设备的相对位置变化,确定车辆和电子设备的移动方向,然后根据两者的移动方向存在向对方靠近的移动分量,判断车辆在向电子设备靠近,这种判断方法运算简便,有助于快速获取判断结果,进而提升后续向电子设备发出提示信息的实时性和有效性。
请参阅图4,图4是本申请实施例提供的另一种安全定位方法流程示意图,如图4所示,本实施例中所描述的安全定位方法,应用于如图1A的电子设备,本方法可包括以下步骤:
401、检测人行路口的红绿灯标识;
402、确定在预设范围内不存在所述红绿灯标识;
403、获取人行路口的三个邻近感知网络NAN设备,建立电子设备与所述三个NAN设备之间的NAN网络,所述三个NAN设备均为所述NAN网络中位置固定的设备;
404、获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置,并根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近;
405、根据所述相对位置确定所述电子设备与所述车辆的距离,在所述距离小于预设阈值时,向所述电子设备发出语音和/或震动提示信息,所述提示信息包括当前距离值;
406、向所述电子设备提供避让策略,所述避让策略包括换道、变速或暂停。
可以看出,本申请实施例所描述的安全定位方法,在确定人行路口没有红绿灯标识的情况下,对车辆和电子设备进行安全定位,通过NAN网络对电子设备和车辆的进行定位,同时获取电子设备和车辆的相对位置,并在两者的距离小于预设阈值时对电子设备持有人发出提示,提升了定位的准确性,同时使电子设备持有人能够及时发现附近可能带来危险的车辆,提升了行人通过人行路口时的安全性。
以下是实施上述安全定位方法的装置,具体如下:
与上述一致地,请参阅图5,图5是本申请实施例提供的一种电子设备的另一结构示意图,包括:处理器和存储器;以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于执行以下步骤的指令:
获取人行路口的三个邻近感知网络NAN设备,建立电子设备与所述三个NAN设备之间的NAN网络,所述三个NAN设备均为所述NAN网络中位置固定的设备;获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置,并根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近;根据所述相对位置确定所述电子设备与所述车辆的距离,并在所述距离小于预设阈值时发出提示信息,所述提示信息用于提示所述电子设备的持有人避开所述车辆。
在一个可能的示例中,在所述获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置方面,所述程序包括用于执行以下步骤的指令:
获取所述三个NAN设备中每一个NAN设备的固定位置;以预设时间间隔向所述三个 NAN设备中每一NAN设备发送针对所述电子设备的第一定位请求,所述第一定位请求用于指示获取所述每一个NAN设备与所述电子设备之间的相对距离;向所述三个NAN设备中每一个NAN设备发送针对所述车辆的第二定位请求,所述第二定位请求用于指示所述每一个NAN设备与所述车辆之间的相对距离;根据所述每一个NAN设备的固定位置与所述电子设备之间的相对距离,以及每一个NAN设备的固定位置与所述车辆之间的相对距离,确定每一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的相对位置。
在一个可能的示例中,在所述获取所述每一个NAN设备与所述电子设备之间的相对距离方面,所述程序包括用于执行以下步骤的指令:预先获取所述电子设备在不同的多个距离下的多个信号强度,并建立信号强度与距离之间的对应关系;获取电子设备与三个NAN设备对应的三个目标信号强度;根据预设的信号强度与距离之间的对应关系,确定所述三个目标信号强度中每一目标信号强度对应的相对距离,得到三个NAN设备中每一NAN设备与所述电子设备之间的相对距离。
在一个可能的示例中,在所述根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近方面,所述程序包括用于执行以下步骤的指令:
获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置,并根据所述第一相对位置确定所述电子设备与所述车辆的第一相对距离;获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置,并根据所述第二相对位置确定所述电子设备与所述车辆的第二相对距离;根据所述第二相对距离小于所述第一相对距离,确定所述车辆在向所述电子设备靠近。
在一个可能的示例中,在所述根据相对位置的变化情况确定所述车辆是否在向所述电子设备靠近方面,所述程序包括用于执行以下步骤的指令:
获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置;获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置;根据所述第一相对位置和所述第二相对位置确定所述电子设备的移动方向和所述车辆的移动方向;若所述电子设备的移动方向和所述车辆的移动方向存在向对方靠近的移动分量,则确定所述车辆在向所述电子设备靠近。
在一个可能的示例中,在所述根据所述相对位置确定所述电子设备与所述车辆的距离方面,所述程序包括用于执行以下步骤的指令:获取所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置和第二相对位置;根据所述第一相对位置和所述第二相对位置,确定所述电子设备和所述车辆的垂直距离,并将所述垂直距离作为所述电子设备与所述车辆的距离;或,获取所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置和第二相对位置;根据所述第一相对位置和所述第二相对位置,确定所述电子设备和所述车辆的直线距离,并将所述直线距离作为所述电子设备与所述车辆的距离。
在一个可能的示例中,在所述距离小于预设阈值时发出提示信息方面,所述程序包括用于执行以下步骤的指令:在所述距离小于预设阈值时,向所述电子设备发出语音和/或震动提示信息,所述提示信息包括当前距离值;向所述电子设备提供避让策略,所述避让策略包括换道、变速或暂停。
在一个可能的示例中,所述程序还包括用于执行以下步骤的指令:检测人行路口的红绿灯标识;确定在预设范围内不存在所述红绿灯标识。
请参阅图6,图6是本实施例提供的一种安全定位装置的结构示意图。该安全定位装置应用于电子设备,所述电子设备包括显示屏,所述安全定位装置包括连接单元601、获取单元602和提示单元603,其中,
所述连接单元601,用于获取人行路口的三个邻近感知网络NAN设备,建立电子设备与所述三个NAN设备之间的NAN网络,所述三个NAN设备均为所述NAN网络中位置固定的设备;
所述获取单元602,用于获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置,并根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近;
所述提示单元603,用于根据所述相对位置确定所述电子设备与所述车辆的距离,并在所述距离小于预设阈值时发出提示信息,所述提示信息用于提示所述电子设备的持有人避开所述车辆。
可选地,在所述获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置方面,所述获取单元602具体用于:
获取所述三个NAN设备中每一个NAN设备的固定位置;以预设时间间隔向所述三个NAN设备中每一NAN设备发送针对所述电子设备的第一定位请求,所述第一定位请求用于指示获取所述每一个NAN设备与所述电子设备之间的相对距离;向所述三个NAN设备中每一个NAN设备发送针对所述车辆的第二定位请求,所述第二定位请求用于指示所述每一个NAN设备与所述车辆之间的相对距离;根据所述每一个NAN设备的固定位置与所述电子设备之间的相对距离,以及每一个NAN设备的固定位置与所述车辆之间的相对距离,确定每一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的相对位置。
可选的,在所述获取所述每一个NAN设备与所述电子设备之间的相对距离方面,所述获取单元602具体用于:预先获取所述电子设备在不同的多个距离下的多个信号强度,并建立信号强度与距离之间的对应关系;获取电子设备与三个NAN设备对应的三个目标信号强度;根据预设的信号强度与距离之间的对应关系,确定所述三个目标信号强度中每一目标信号强度对应的相对距离,得到三个NAN设备中每一NAN设备与所述电子设备之间的相对距离。
可选地,在所述根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近方面,所述获取单元602具体用于:
获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置,并根据所述第一相对位置确定所述电子设备与所述车辆的第一相对距离;获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置,并根据所述第二相对位置确定所述电子设备与所述车辆的第二相对距离;根据所述第二相对距离小于所述第一相对距离,确定所述车辆在向所述电子设备靠近。
可选地,在所述根据相对位置的变化情况确定所述车辆是否在向所述电子设备靠近方 面,所述获取单元602具体用于:
获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置;获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置;根据所述第一相对位置和所述第二相对位置确定所述电子设备的移动方向和所述车辆的移动方向;若所述电子设备的移动方向和所述车辆的移动方向存在向对方靠近的移动分量,则确定所述车辆在向所述电子设备靠近。
可选的,在所述根据所述相对位置确定所述电子设备与所述车辆的距离方面,所述提示单元603具体用于:
获取所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置和第二相对位置;根据所述第一相对位置和所述第二相对位置,确定所述电子设备和所述车辆的垂直距离,并将所述垂直距离作为所述电子设备与所述车辆的距离;或,获取所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置和第二相对位置;根据所述第一相对位置和所述第二相对位置,确定所述电子设备和所述车辆的直线距离,并将所述直线距离作为所述电子设备与所述车辆的距离。
可选的,在所述距离小于预设阈值时发出提示信息方面,所述提示单元603具体用于:
在所述距离小于预设阈值时,向所述电子设备发出语音和/或震动提示信息,所述提示信息包括当前距离值;向所述电子设备提供避让策略,所述避让策略包括换道、变速或暂停。
可选的,所述安全定位装置还包括检测单元604,具体用于:
检测人行路口的红绿灯标识;确定在预设范围内不存在所述红绿灯标识。
可以看出,本申请实施例中所描述的安全定位装置,通过获取人行路口的三个邻近感知网络NAN设备,建立电子设备与三个NAN设备之间的NAN网络,三个NAN设备均为NAN网络中位置固定的设备,然后根据预设时间间隔获取多个三个NAN设备定位的电子设备与车辆在同一个平面坐标图中的相对位置,并根据相对位置的变化情况确定车辆在向电子设备靠近;最后根据相对位置确定电子设备与车辆的距离,并在距离小于预设阈值时发出提示信息,提示信息用于提示电子设备的持有人避开车辆,从而,可通过NAN网络对电子设备和车辆的进行定位,同时获取电子设备和车辆的相对位置,并在两者的距离小于预设阈值时对电子设备持有人发出提示,提升了定位的准确性,同时使电子设备持有人能够及时发现附近可能带来危险的车辆,提升了行人通过人行路口时的安全性。
可以理解的是,本实施例的安全定位装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种安全定位方法的部分或全部步骤。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种安全定位方法的部分或全部步骤。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的 动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。
所述集成的单元如果以软件程序模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、ROM、RAM、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种安全定位方法,其特征在于,所述方法包括:
    获取人行路口的三个邻近感知网络NAN设备,建立电子设备与所述三个NAN设备之间的NAN网络,所述三个NAN设备均为所述NAN网络中位置固定的设备;
    获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置,并根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近;
    根据所述相对位置确定所述电子设备与所述车辆的距离,并在所述距离小于预设阈值时发出提示信息,所述提示信息用于提示所述电子设备的持有人避开所述车辆。
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置,包括:
    获取所述三个NAN设备中每一个NAN设备的固定位置;
    以预设时间间隔向所述三个NAN设备中每一NAN设备发送针对所述电子设备的第一定位请求,所述第一定位请求用于指示获取所述每一个NAN设备与所述电子设备之间的相对距离;
    向所述三个NAN设备中每一个NAN设备发送针对所述车辆的第二定位请求,所述第二定位请求用于指示所述每一个NAN设备与所述车辆之间的相对距离;
    根据所述每一个NAN设备的固定位置与所述电子设备之间的相对距离,以及每一个NAN设备的固定位置与所述车辆之间的相对距离,确定每一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的相对位置。
  3. 根据权利要求2所述的方法,其特征在于,所述获取所述每一个NAN设备与所述电子设备之间的相对距离,包括:
    预先获取所述电子设备在不同的多个距离下的多个信号强度,并建立信号强度与距离之间的对应关系;
    获取电子设备与三个NAN设备对应的三个目标信号强度;
    根据预设的信号强度与距离之间的对应关系,确定所述三个目标信号强度中每一目标信号强度对应的相对距离,得到三个NAN设备中每一NAN设备与所述电子设备之间的相对距离。
  4. 根据权利要求2或3所述的方法,其特征在于,所述根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近,包括:
    获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置,并根据所述第一相对位置确定所述电子设备与所述车辆的第一相对距离;
    获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置,并根据所述第二相对位置确定所述电子设备与所述车辆的第二相对距离;
    根据所述第二相对距离小于所述第一相对距离,确定所述车辆在向所述电子设备靠近。
  5. 根据权利要求2或3所述的方法,其特征在于,所述根据相对位置的变化情况确定所述车辆是否在向所述电子设备靠近,包括:
    获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第 一相对位置;
    获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置;
    根据所述第一相对位置和所述第二相对位置确定所述电子设备的移动方向和所述车辆的移动方向;
    若所述电子设备的移动方向和所述车辆的移动方向存在向对方靠近的移动分量,则确定所述车辆在向所述电子设备靠近。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述根据所述相对位置确定所述电子设备与所述车辆的距离,包括:
    获取所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置和第二相对位置;
    根据所述第一相对位置和所述第二相对位置,确定所述电子设备和所述车辆的垂直距离,并将所述垂直距离作为所述电子设备与所述车辆的距离。
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述根据所述相对位置确定所述电子设备与所述车辆的距离,包括:
    获取所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置和第二相对位置;
    根据所述第一相对位置和所述第二相对位置,确定所述电子设备和所述车辆的直线距离,并将所述直线距离作为所述电子设备与所述车辆的距离。
  8. 根据权利要求6或7所述的方法,其特征在于,所述在所述距离小于预设阈值时发出提示信息包括:
    在所述距离小于预设阈值时,向所述电子设备发出语音和/或震动提示信息,所述提示信息包括当前距离值;
    向所述电子设备提供避让策略,所述避让策略包括换道、变速或暂停。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,在获取人行路口的三个邻近感知网络NAN设备之前,所述方法还包括:
    检测人行路口的红绿灯标识;
    确定在预设范围内不存在所述红绿灯标识。
  10. 一种安全定位装置,其特征在于,所述安全定位装置包括:
    连接单元,用于获取人行路口的三个邻近感知网络NAN设备,建立电子设备与所述三个NAN设备之间的NAN网络,所述三个NAN设备均为所述NAN网络中位置固定的设备;
    获取单元,用于获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置,并根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近;
    提示单元,用于根据所述相对位置确定所述电子设备与所述车辆的距离,并在所述距离小于预设阈值时发出提示信息,所述提示信息用于提示所述电子设备的持有人避开所述车辆。
  11. 根据权利要求10所述的装置,其特征在于,在所述获取所述三个NAN设备定位的所述电子设备与车辆在同一个平面坐标图中的相对位置方面,所述获取单元具体用于:
    获取所述三个NAN设备中每一个NAN设备的固定位置;
    以预设时间间隔向所述三个NAN设备中每一NAN设备发送针对所述电子设备的第一定位请求,所述第一定位请求用于指示获取所述每一个NAN设备与所述电子设备之间的相对距离;
    向所述三个NAN设备中每一个NAN设备发送针对所述车辆的第二定位请求,所述第二定位请求用于指示所述每一个NAN设备与所述车辆之间的相对距离;
    根据所述每一个NAN设备的固定位置与所述电子设备之间的相对距离,以及每一个NAN设备的固定位置与所述车辆之间的相对距离,确定每一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的相对位置。
  12. 根据权利要求11所述的装置,其特征在于,在所述获取所述每一个NAN设备与所述电子设备之间的相对距离方面,所述获取单元还用于:
    预先获取所述电子设备在不同的多个距离下的多个信号强度,并建立信号强度与距离之间的对应关系;
    获取电子设备与三个NAN设备对应的三个目标信号强度;
    根据预设的信号强度与距离之间的对应关系,确定所述三个目标信号强度中每一目标信号强度对应的相对距离,得到三个NAN设备中每一NAN设备与所述电子设备之间的相对距离。
  13. 根据权利要求11或12所述的装置,其特征在于,在所述根据所述相对位置的变化情况确定所述车辆在向所述电子设备靠近方面,所述获取单元具体用于:
    获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置,并根据所述第一相对位置确定所述电子设备与所述车辆的第一相对距离;
    获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置,并根据所述第二相对位置确定所述电子设备与所述车辆的第二相对距离;
    根据所述第二相对距离小于所述第一相对距离,确定所述车辆在向所述电子设备靠近。
  14. 根据权利要11或12所述的装置,其特征在于,在所述根据相对位置的变化情况确定所述车辆是否在向所述电子设备靠近方面,所述获取单元具体用于:
    获取第一个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置;
    获取第二个预设时间间隔对应的所述电子设备与所述车辆在同一个平面坐标图中的第二相对位置;
    根据所述第一相对位置和所述第二相对位置确定所述电子设备的移动方向和所述车辆的移动方向;
    若所述电子设备的移动方向和所述车辆的移动方向存在向对方靠近的移动分量,则确定所述车辆在向所述电子设备靠近。
  15. 根据权利要求10-14任一项所述的装置,其特征在于,在所述根据所述相对位置确定所述电子设备与所述车辆的距离方面,所述提示单元具体用于:
    获取所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置和第二相对位置;
    根据所述第一相对位置和所述第二相对位置,确定所述电子设备和所述车辆的垂直距离,并将所述垂直距离作为所述电子设备与所述车辆的距离。
  16. 根据权利要求10-14任一项所述的装置,其特征在于,在所述根据所述相对位置确定所述电子设备与所述车辆的距离方面,所述提示单元具体用于:
    获取所述电子设备与所述车辆在同一个平面坐标图中的第一相对位置和第二相对位置;
    根据所述第一相对位置和所述第二相对位置,确定所述电子设备和所述车辆的直线距离,并将所述直线距离作为所述电子设备与所述车辆的距离。
  17. 根据权利要求15或16所述的装置,其特征在于,在所述距离小于预设阈值时发出提示信息方面,所述提示单元具体用于:
    在所述距离小于预设阈值时,向所述电子设备发出语音和/或震动提示信息,所述提示信息包括当前距离值;
    向所述电子设备提供避让策略,所述避让策略包括换道、变速或暂停。
  18. 根据权利要求10-17任一项所述的装置,其特征在于,所述安全定位装置还包括检测单元,具体用于:
    检测人行路口的红绿灯标识;
    确定在预设范围内不存在所述红绿灯标识。
  19. 一种电子设备,其特征在于,包括:处理器和存储器;以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于如权利要求1-9任一项方法的指令。
  20. 一种计算机可读存储介质,其特征在于,其用于存储计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2019/094420 2018-08-01 2019-07-02 安全定位方法及相关产品 WO2020024757A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19845454.8A EP3813037B1 (en) 2018-08-01 2019-07-02 Safe positioning method and related product
US17/149,472 US11244569B2 (en) 2018-08-01 2021-01-14 Method for safe positioning and related products

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810864159.6A CN108877297A (zh) 2018-08-01 2018-08-01 安全定位方法及相关产品
CN201810864159.6 2018-08-01

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/149,472 Continuation US11244569B2 (en) 2018-08-01 2021-01-14 Method for safe positioning and related products

Publications (1)

Publication Number Publication Date
WO2020024757A1 true WO2020024757A1 (zh) 2020-02-06

Family

ID=64307317

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/094420 WO2020024757A1 (zh) 2018-08-01 2019-07-02 安全定位方法及相关产品

Country Status (4)

Country Link
US (1) US11244569B2 (zh)
EP (1) EP3813037B1 (zh)
CN (1) CN108877297A (zh)
WO (1) WO2020024757A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108877297A (zh) * 2018-08-01 2018-11-23 Oppo广东移动通信有限公司 安全定位方法及相关产品
CN109672978B (zh) * 2019-01-30 2020-09-25 腾讯大地通途(北京)科技有限公司 一种无线热点扫描频率控制方法及装置

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014186593A1 (en) * 2013-05-15 2014-11-20 Intel Corporation Techniques to support power-saving background device discovery in a wireless communications system
CN106068034A (zh) * 2015-04-20 2016-11-02 苹果公司 邻近感知联网测距
CN106297330A (zh) * 2016-08-29 2017-01-04 安徽科力信息产业有限责任公司 减少行人过街对平面感知信号控制效率影响的方法及系统
CN107005830A (zh) * 2014-11-25 2017-08-01 三星电子株式会社 在邻近网络中发送/接收信号的方法及其电子装置
CN107274722A (zh) * 2017-07-14 2017-10-20 武汉理工大学 一种面向使用手机行人的交通安全预警系统和方法
CN107370506A (zh) * 2017-07-14 2017-11-21 惠州Tcl移动通信有限公司 停车场找车方法及系统
CN107710791A (zh) * 2015-06-15 2018-02-16 高通股份有限公司 用于邻近区域感知网络内的无线发现定位以及测距的方法和装置
CN108053689A (zh) * 2017-12-01 2018-05-18 山东科技大学 一种避免车辆碰撞弱势交通参与者的安全预警方法
CN108877297A (zh) * 2018-08-01 2018-11-23 Oppo广东移动通信有限公司 安全定位方法及相关产品

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7451046B2 (en) * 2004-04-29 2008-11-11 Sanjeev Nath Imminent collision warning system and method
US8237555B2 (en) * 2009-10-09 2012-08-07 Mccarthy Tom Hazardous vehicle alert system and method based on reaction time, distance and speed
US20120126996A1 (en) * 2010-11-19 2012-05-24 Mccarthy Tom C Hazardous vehicle alert system and method based on reaction time, distance and speed
US9235212B2 (en) * 2012-05-01 2016-01-12 5D Robotics, Inc. Conflict resolution based on object behavioral determination and collaborative relative positioning
US9776587B2 (en) * 2012-11-29 2017-10-03 Here Global B.V. Method and apparatus for causing a change in an action of a vehicle for safety
JP2016115211A (ja) * 2014-12-16 2016-06-23 ダイムラー・アクチェンゲゼルシャフトDaimler AG 位置認識方法
CN104807458A (zh) * 2015-04-29 2015-07-29 无锡天脉聚源传媒科技有限公司 一种移动终端步行安全提醒方法及装置
WO2016183804A1 (zh) 2015-05-19 2016-11-24 华为技术有限公司 一种nan设备之间的寻呼方法及nan设备
JP6655342B2 (ja) * 2015-10-15 2020-02-26 株式会社Soken 衝突判定システム、衝突判定端末及びコンピュータプログラム
CN105578413B (zh) * 2015-12-22 2019-07-02 Tcl集团股份有限公司 智能行车提醒方法及装置
US10730512B2 (en) * 2016-05-06 2020-08-04 Pcms Holdings, Inc. Method and system for collaborative sensing for updating dynamic map layers
EP3469840B1 (en) * 2016-06-08 2019-12-25 Telefonaktiebolaget LM Ericsson (PUBL) Method sytem and device for obtaining location information using neighbor awareness networking, nan.
US10249204B2 (en) * 2016-07-12 2019-04-02 Siemens Industry, Inc. Connected vehicle traffic safety system and a method of predicting and avoiding crashes at railroad grade crossings
US20180090005A1 (en) * 2016-09-27 2018-03-29 GM Global Technology Operations LLC Method And Apparatus For Vulnerable Road User Incidence Avoidance
US10940858B2 (en) * 2016-11-29 2021-03-09 Esperanto Sensors LLC Multi-mode collision avoidance system
WO2018116827A1 (ja) * 2016-12-20 2018-06-28 株式会社オートネットワーク技術研究所 車車間通信システム、路側通信装置、車載通信装置及び車車間通信方法
CN106842122B (zh) * 2017-02-03 2021-08-10 惠州Tcl移动通信有限公司 一种基于WiFiAware的辅助定位方法和系统
US10618498B2 (en) * 2017-07-27 2020-04-14 Uatc Llc Systems and methods for providing user access to an autonomous vehicle
US10315563B1 (en) * 2018-05-22 2019-06-11 Zoox, Inc. Acoustic notifications
US10414336B1 (en) * 2018-05-22 2019-09-17 Zoox, Inc. Acoustic notifications

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014186593A1 (en) * 2013-05-15 2014-11-20 Intel Corporation Techniques to support power-saving background device discovery in a wireless communications system
CN107005830A (zh) * 2014-11-25 2017-08-01 三星电子株式会社 在邻近网络中发送/接收信号的方法及其电子装置
CN106068034A (zh) * 2015-04-20 2016-11-02 苹果公司 邻近感知联网测距
CN107710791A (zh) * 2015-06-15 2018-02-16 高通股份有限公司 用于邻近区域感知网络内的无线发现定位以及测距的方法和装置
CN106297330A (zh) * 2016-08-29 2017-01-04 安徽科力信息产业有限责任公司 减少行人过街对平面感知信号控制效率影响的方法及系统
CN107274722A (zh) * 2017-07-14 2017-10-20 武汉理工大学 一种面向使用手机行人的交通安全预警系统和方法
CN107370506A (zh) * 2017-07-14 2017-11-21 惠州Tcl移动通信有限公司 停车场找车方法及系统
CN108053689A (zh) * 2017-12-01 2018-05-18 山东科技大学 一种避免车辆碰撞弱势交通参与者的安全预警方法
CN108877297A (zh) * 2018-08-01 2018-11-23 Oppo广东移动通信有限公司 安全定位方法及相关产品

Also Published As

Publication number Publication date
US20210134157A1 (en) 2021-05-06
EP3813037A4 (en) 2021-08-25
US11244569B2 (en) 2022-02-08
EP3813037B1 (en) 2023-10-25
EP3813037A1 (en) 2021-04-28
CN108877297A (zh) 2018-11-23

Similar Documents

Publication Publication Date Title
KR101354049B1 (ko) 무단횡단 보행자 정보 알림 시스템 및 그 방법
US8842021B2 (en) Methods and systems for early warning detection of emergency vehicles
US11107349B2 (en) Sidewalk detection for electric scooters
WO2020024757A1 (zh) 安全定位方法及相关产品
KR101910121B1 (ko) 보행자신호등의 신호정보 안내시스템
KR20150097031A (ko) 사물 간 사물정보 교환을 통한 위험요소 탐지 및 경고 방법 및 장치
CN111899545B (zh) 一种行车提醒方法、装置、存储介质及移动终端
WO2012071965A1 (zh) 一种交通控制系统及方法
CN105160941A (zh) 信息提醒方法、信息提醒装置和移动终端
WO2018032632A1 (zh) 一种车辆预警方法及装置
KR102384518B1 (ko) 메시지 처리 방법 및 이를 지원하는 전자 장치
JP6262618B2 (ja) 運転支援システム、データ構造
CN111186435A (zh) 汽车的防碰撞方法、装置及存储介质
CN111071151A (zh) 汽车的防碰撞方法、装置及存储介质
CN107730830B (zh) 一种路障告警方法、移动终端以及计算机可读存储介质
KR102237225B1 (ko) 지오펜스 서비스 방법과 그를 수행하는 네비게이션 단말기, 서버 및 컴퓨터 판독 가능한 기록매체
WO2016138417A1 (en) Spatial tracking system
US10854071B2 (en) Electronic device, control method, and non-transitory computer-readable medium
CN104807458A (zh) 一种移动终端步行安全提醒方法及装置
KR20180034970A (ko) 사물인터넷 기술을 활용한 차량간 통신 서비스 제공 장치 및 방법
CN109151773B (zh) 信息提示方法及相关产品
JP2018060563A (ja) 運転支援システム、データ構造
JP6505199B2 (ja) 運転支援システム、プログラム
CN112954265A (zh) 预警的方法、装置、电子设备及介质
JP2008176459A (ja) 警戒対象検出装置および警戒対象検出装置を用いた交通安全支援システム

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019845454

Country of ref document: EP

Effective date: 20210122

NENP Non-entry into the national phase

Ref country code: DE