CN111861621A - An order processing method, device, electronic device and storage medium - Google Patents
An order processing method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN111861621A CN111861621A CN201911398206.3A CN201911398206A CN111861621A CN 111861621 A CN111861621 A CN 111861621A CN 201911398206 A CN201911398206 A CN 201911398206A CN 111861621 A CN111861621 A CN 111861621A
- Authority
- CN
- China
- Prior art keywords
- target
- vehicle
- order
- target vehicle
- position range
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 60
- 238000012545 processing Methods 0.000 claims abstract description 57
- 238000000034 method Methods 0.000 claims abstract description 37
- 238000004590 computer program Methods 0.000 claims description 16
- 230000015654 memory Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0639—Item locations
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Traffic Control Systems (AREA)
Abstract
本申请提供了一种订单处理方法、装置、电子设备及存储介质,其中,该方法包括:在接收到目标订单中目标车辆对应的关锁消息后,从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置;根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系;根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息;将所述订单服务信息发送给所述目标订单对应的服务请求端。本申请,能够在目标车辆关锁后,实时定位目标车辆的车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。
The present application provides an order processing method, device, electronic device and storage medium, wherein the method includes: after receiving a lock message corresponding to a target vehicle in a target order, requesting a service from a service requester corresponding to the target vehicle to obtain the vehicle position of the target vehicle; determine the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range; according to the relationship between the target vehicle and the target position range location relationship, generate order service information corresponding to the target order; send the order service information to the service requester corresponding to the target order. In the present application, after the target vehicle is locked, the vehicle position of the target vehicle can be located in real time, which improves the positioning efficiency of the vehicle position, thereby improving the order processing efficiency.
Description
技术领域technical field
本申请涉及订单处理技术领域,具体而言,涉及一种订单处理方法、装置、电子设备及存储介质。The present application relates to the technical field of order processing, and in particular, to an order processing method, apparatus, electronic device and storage medium.
背景技术Background technique
目前,随着互联网的快速发展,越来越多的互联网产品被人们使用,比如网约车产品。网约车产品包括共享单车服务,用户通过服务请求端扫描共享单车的二维码并确认开锁后,可以使用共享单车,并在完成共享单车的使用后,关闭共享单车的车锁。At present, with the rapid development of the Internet, more and more Internet products are used by people, such as online car-hailing products. Online car-hailing products include shared bicycle services. After users scan the QR code of the shared bicycle through the service requester and confirm the unlocking, they can use the shared bicycle, and after completing the use of the shared bicycle, the lock of the shared bicycle is closed.
用户在扫码开锁用车后,网约车平台生成该共享单车对应的订单,当用户关闭共享单车的车锁后,网约车平台需要基于当前车辆的车辆位置结束该车辆的订单。After the user scans the code to unlock the car, the online car-hailing platform generates an order corresponding to the shared bicycle. When the user closes the lock of the shared bicycle, the online car-hailing platform needs to end the order for the vehicle based on the current vehicle location.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请的目的在于提供一种订单处理方法、装置、电子设备及存储介质,能够在确定目标车辆关锁后,实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。In view of this, the purpose of this application is to provide an order processing method, device, electronic device and storage medium, which can locate the vehicle position in real time after determining that the target vehicle is locked, improve the positioning efficiency of the vehicle position, and thus improve the order processing efficiency.
第一方面,本申请实施例提供了一种订单处理方法,所述方法包括:In a first aspect, an embodiment of the present application provides an order processing method, the method comprising:
在接收到目标订单中目标车辆对应的关锁消息后,从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置;After receiving the lock message corresponding to the target vehicle in the target order, obtain the vehicle position of the target vehicle from the service requester corresponding to the target vehicle;
根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系;determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range;
根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息;generating order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range;
将所述订单服务信息发送给所述目标订单对应的服务请求端。Send the order service information to the service requester corresponding to the target order.
该种方式下,在确定目标车辆关锁后,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。In this way, after it is determined that the target vehicle is locked, the vehicle position can be located in real time, the positioning efficiency of the vehicle position is improved, and the order processing efficiency is further improved.
在一种可能的实施方式中,所述从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置,包括:In a possible implementation manner, the obtaining the vehicle position of the target vehicle from the service requester corresponding to the target vehicle includes:
接收与所述目标车辆连接的服务请求端发送的所述目标车辆的车辆位置。Receive the vehicle position of the target vehicle sent by the service requester connected to the target vehicle.
在一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:
向所述目标订单对应的服务请求端发送所述目标车辆对应的关锁消息,以使所述服务请求端基于所述关锁消息上报所述目标车辆的车辆位置;Send the lock message corresponding to the target vehicle to the service requester corresponding to the target order, so that the service requester reports the vehicle position of the target vehicle based on the lock message;
接收所述服务请求端发送的所述目标车辆的车辆位置。The vehicle position of the target vehicle sent by the service requester is received.
在一种可能的实施方式中,在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,所述方法还包括:In a possible implementation manner, before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range, the method further includes:
接收所述目标车辆发送的位于道路上的智能设备的设备标识;其中,所述设备标识是所述目标车辆在搜索到所述智能设备发送的广播消息时,从所述广播消息中获取得到的;Receive the device identifier of the smart device located on the road sent by the target vehicle; wherein, the device identifier is obtained from the broadcast message when the target vehicle searches for the broadcast message sent by the smart device ;
基于所述智能设备的设备标识,确定所述智能设备对应的目标位置作为所述目标车辆的车辆位置。Based on the device identification of the smart device, a target position corresponding to the smart device is determined as the vehicle position of the target vehicle.
该种方式下,在确定目标车辆关锁后,也实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率;同时,基于两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, the vehicle position is also located in real time, which improves the positioning efficiency of the vehicle position, thereby improving the order processing efficiency; at the same time, the order service is generated based on the vehicle positions of the two target vehicles. information, improve the positioning accuracy of the target vehicle, and improve the accuracy of the order processing results.
在一种可能的实施方式中,在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,所述方法还包括:In a possible implementation manner, before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range, the method further includes:
接收所述目标车辆发送的当前的车辆位置。Receive the current vehicle position sent by the target vehicle.
该种方式下,在确定目标车辆关锁后,基于至少两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, order service information is generated based on the vehicle positions of at least two target vehicles, which improves the positioning accuracy of the target vehicles and improves the accuracy of the order processing result.
在一种可能的实施方式中,所述目标车辆至少对应一个车辆位置;所述根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系,包括:In a possible implementation manner, the target vehicle corresponds to at least one vehicle position; the determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range, including :
若所述目标位置范围内包括任一车辆位置,则确定所述目标车辆位于所述目标位置范围内;If the target position range includes any vehicle position, determining that the target vehicle is located within the target position range;
若不存在包括在所述目标位置范围内的任一车辆位置,则确定所述目标车辆位于所述目标位置范围外。If there is no vehicle position included in the target position range, it is determined that the target vehicle is located outside the target position range.
在一种可能的实施方式中,检测任一车辆位置是否位于所述目标位置范围内,包括:In a possible implementation manner, detecting whether any vehicle position is within the target position range includes:
获取任一车辆位置对应的定位区域;Obtain the positioning area corresponding to any vehicle position;
若所述目标位置范围内包括至少部分所述定位区域,则确定该车辆位置位于所述目标位置范围内;If the target position range includes at least part of the positioning area, determining that the vehicle position is within the target position range;
若所述目标位置范围内不包括所述定位区域,则确定该车辆位置位于所述目标位置范围外。If the target position range does not include the positioning area, it is determined that the vehicle position is outside the target position range.
在一种可能的实施方式中,所述根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息,包括:In a possible implementation manner, the generating the order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range includes:
若检测到所述目标车辆位于所述目标位置范围内,则根据所述目标订单对应的起始位置和所述车辆位置,生成所述目标订单对应的订单服务信息;If it is detected that the target vehicle is located within the target position range, generating order service information corresponding to the target order according to the starting position corresponding to the target order and the vehicle position;
若检测到所述目标车辆位于所述目标位置范围外,则根据所述目标订单对应的起始位置、所述车辆位置以及目标服务信息,生成所述目标订单对应的订单服务信息。If it is detected that the target vehicle is located outside the target position range, order service information corresponding to the target order is generated according to the starting position corresponding to the target order, the vehicle position and target service information.
在一种可能的实施方式中,确定所述目标服务信息,包括:In a possible implementation manner, determining the target service information includes:
确定所述车辆位置与目标位置范围的距离信息;determining the distance information between the vehicle position and the target position range;
根据所述车辆位置与目标位置范围的距离信息,确定所述目标服务信息。The target service information is determined according to the distance information between the vehicle position and the target position range.
在一种可能的实施方式中,接收目标订单中目标车辆对应的关锁消息,包括:In a possible implementation, receiving the lock message corresponding to the target vehicle in the target order includes:
接收所述目标车辆发送的该目标车辆对应的关锁消息;receiving a lock message corresponding to the target vehicle sent by the target vehicle;
和/或,and / or,
接收所述服务请求端发送的所述目标车辆对应的关锁消息。Receive a lock message corresponding to the target vehicle sent by the service requester.
第二方面,本申请实施例还提供了一种订单处理方法,所述方法包括:In a second aspect, the embodiments of the present application further provide an order processing method, the method comprising:
在接收到目标订单中目标车辆对应的关锁消息后,接收所述目标车辆发送的位于道路上的智能设备的设备标识;After receiving the lock message corresponding to the target vehicle in the target order, receive the device identifier of the smart device located on the road sent by the target vehicle;
基于所述智能设备的设备标识,确定所述智能设备对应的目标位置作为所述目标车辆的车辆位置;Based on the device identification of the smart device, determine the target position corresponding to the smart device as the vehicle position of the target vehicle;
根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系;determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range;
根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息;generating order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range;
将所述订单服务信息发送给所述目标订单对应的服务请求端。Send the order service information to the service requester corresponding to the target order.
该种方式下,在确定目标车辆关锁后,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。In this way, after it is determined that the target vehicle is locked, the vehicle position can be located in real time, the positioning efficiency of the vehicle position is improved, and the order processing efficiency is further improved.
在一种可能的实施方式中,在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,所述方法还包括:In a possible implementation manner, before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range, the method further includes:
从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置。The vehicle position of the target vehicle is obtained from the service requester corresponding to the target vehicle.
该种方式下,在确定目标车辆关锁后,也实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率;同时,基于两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, the vehicle position is also located in real time, which improves the positioning efficiency of the vehicle position, thereby improving the order processing efficiency; at the same time, the order service is generated based on the vehicle positions of the two target vehicles. information, improve the positioning accuracy of the target vehicle, and improve the accuracy of the order processing results.
在一种可能的实施方式中,在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,所述方法还包括:In a possible implementation manner, before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range, the method further includes:
接收所述目标车辆发送的当前的车辆位置。Receive the current vehicle position sent by the target vehicle.
该种方式下,在确定目标车辆关锁后,基于至少两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, order service information is generated based on the vehicle positions of at least two target vehicles, which improves the positioning accuracy of the target vehicles and improves the accuracy of the order processing result.
第三方面,本申请实施例还提供了一种订单处理装置,所述装置包括:In a third aspect, an embodiment of the present application further provides an order processing device, the device comprising:
第一获取模块,用于在接收到目标订单中目标车辆对应的关锁消息后,从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置;a first obtaining module, configured to obtain the vehicle position of the target vehicle from the service requester corresponding to the target vehicle after receiving the lock message corresponding to the target vehicle in the target order;
第一确定模块,用于根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系;a first determining module, configured to determine the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range;
生成模块,用于根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息;a generating module, configured to generate order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range;
第一发送模块,用于将所述订单服务信息发送给所述目标订单对应的服务请求端。The first sending module is configured to send the order service information to the service requester corresponding to the target order.
该种方式下,在确定目标车辆关锁后,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。In this way, after it is determined that the target vehicle is locked, the vehicle position can be located in real time, the positioning efficiency of the vehicle position is improved, and the order processing efficiency is further improved.
在一种可能的实施方式中,所述获取模块从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置,包括:In a possible implementation manner, the obtaining module obtains the vehicle position of the target vehicle from a service requester corresponding to the target vehicle, including:
接收与所述目标车辆连接的服务请求端发送的所述目标车辆的车辆位置。Receive the vehicle position of the target vehicle sent by the service requester connected to the target vehicle.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第二发送模块,用于在接收与所述目标车辆连接的服务请求端发送的所述目标车辆的车辆位置之前,向所述目标订单对应的服务请求端发送所述目标车辆对应的关锁消息,以使所述服务请求端基于所述关锁消息上报所述目标车辆的车辆位置。The second sending module is configured to send a lock message corresponding to the target vehicle to the service requester corresponding to the target order before receiving the vehicle position of the target vehicle sent by the service requester connected to the target vehicle , so that the service requester reports the vehicle position of the target vehicle based on the lock message.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第一接收模块,用于在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,接收所述目标车辆发送的位于道路上的智能设备的设备标识;其中,所述设备标识是所述目标车辆在搜索到所述智能设备发送的广播消息时,从所述广播消息中获取得到的;a first receiving module, configured to receive a smart device on the road sent by the target vehicle before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range The device identification; wherein, the device identification is obtained from the broadcast message when the target vehicle searches for the broadcast message sent by the smart device;
第二确定模块,用于基于所述智能设备的设备标识,确定所述智能设备对应的目标位置作为所述目标车辆的车辆位置。The second determination module is configured to determine the target position corresponding to the smart device as the vehicle position of the target vehicle based on the device identification of the smart device.
该种方式下,在确定目标车辆关锁后,也实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率;同时,基于两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, the vehicle position is also located in real time, which improves the positioning efficiency of the vehicle position, thereby improving the order processing efficiency; at the same time, the order service is generated based on the vehicle positions of the two target vehicles. information, improve the positioning accuracy of the target vehicle, and improve the accuracy of the order processing results.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第二接收模块,用于在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,接收所述目标车辆发送的当前的车辆位置。The second receiving module is configured to receive the current vehicle position sent by the target vehicle before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range.
该种方式下,在确定目标车辆关锁后,基于至少两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, order service information is generated based on the vehicle positions of at least two target vehicles, which improves the positioning accuracy of the target vehicles and improves the accuracy of the order processing result.
在一种可能的实施方式中,所述目标车辆至少对应一个车辆位置;所述第一确定模块根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系,包括:In a possible implementation, the target vehicle corresponds to at least one vehicle position; the first determination module determines the difference between the target vehicle and the target position range according to the vehicle position and a preset target position range Location relationships, including:
若所述目标位置范围内包括任一车辆位置,则确定所述目标车辆位于所述目标位置范围内;If the target position range includes any vehicle position, determining that the target vehicle is located within the target position range;
若不存在包括在所述目标位置范围内的任一车辆位置,则确定所述目标车辆位于所述目标位置范围外。If there is no vehicle position included in the target position range, it is determined that the target vehicle is located outside the target position range.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第二获取模块,用于获取任一车辆位置对应的定位区域;The second obtaining module is used to obtain the positioning area corresponding to any vehicle position;
第三确定模块,用于若所述目标位置范围内包括至少部分所述定位区域,则确定该车辆位置位于所述目标位置范围内;a third determining module, configured to determine that the vehicle position is within the target position range if the target position range includes at least part of the positioning area;
第四确定模块,用于若所述目标位置范围内不包括所述定位区域,则确定该车辆位置位于所述目标位置范围外。The fourth determining module is configured to determine that the vehicle position is outside the target position range if the target position range does not include the positioning area.
在一种可能的实施方式中,所述生成模块根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息,包括:In a possible implementation, the generating module generates order service information corresponding to the target order according to the positional relationship between the target vehicle and the target location range, including:
若检测到所述目标车辆位于所述目标位置范围内,则根据所述目标订单对应的起始位置和所述车辆位置,生成所述目标订单对应的订单服务信息;If it is detected that the target vehicle is located within the target position range, generating order service information corresponding to the target order according to the starting position corresponding to the target order and the vehicle position;
若检测到所述目标车辆位于所述目标位置范围外,则根据所述目标订单对应的起始位置、所述车辆位置以及目标服务信息,生成所述目标订单对应的订单服务信息。If it is detected that the target vehicle is located outside the target position range, order service information corresponding to the target order is generated according to the starting position corresponding to the target order, the vehicle position and target service information.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第五确定模块,用于确定所述车辆位置与目标位置范围的距离信息;a fifth determination module, configured to determine the distance information between the vehicle position and the target position range;
第六确定模块,用于根据所述车辆位置与目标位置范围的距离信息,确定所述目标服务信息。The sixth determining module is configured to determine the target service information according to the distance information between the vehicle position and the target position range.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第三接收模块,用于接收所述目标车辆发送的该目标车辆对应的关锁消息;a third receiving module, configured to receive a lock message corresponding to the target vehicle sent by the target vehicle;
或者,or,
第四接收模块,用于接收所述服务请求端发送的所述目标车辆对应的关锁消息。The fourth receiving module is configured to receive the lock message corresponding to the target vehicle sent by the service requester.
第四方面,本申请实施例还提供了一种订单处理装置,所述装置包括:In a fourth aspect, an embodiment of the present application further provides an order processing device, the device comprising:
第一接收模块,用于在接收到目标订单中目标车辆对应的关锁消息后,接收所述目标车辆发送的位于道路上的智能设备的设备标识;a first receiving module, configured to receive the device identifier of the smart device located on the road sent by the target vehicle after receiving the lock message corresponding to the target vehicle in the target order;
第一确定模块,用于基于所述智能设备的设备标识,确定所述智能设备对应的目标位置作为所述目标车辆的车辆位置;a first determining module, configured to determine a target position corresponding to the smart device as the vehicle position of the target vehicle based on the device identifier of the smart device;
第二确定模块,用于根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系;a second determining module, configured to determine the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range;
生成模块,用于根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息;a generating module, configured to generate order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range;
发送模块,用于将所述订单服务信息发送给所述目标订单对应的服务请求端。A sending module, configured to send the order service information to a service requester corresponding to the target order.
该种方式下,在确定目标车辆关锁后,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。In this way, after it is determined that the target vehicle is locked, the vehicle position can be located in real time, the positioning efficiency of the vehicle position is improved, and the order processing efficiency is further improved.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
获取模块,用于在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置。an obtaining module, configured to obtain the said target vehicle from a service requester corresponding to the target vehicle before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range The vehicle position of the target vehicle.
该种方式下,在确定目标车辆关锁后,也实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率;同时,基于两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, the vehicle position is also located in real time, which improves the positioning efficiency of the vehicle position, thereby improving the order processing efficiency; at the same time, the order service is generated based on the vehicle positions of the two target vehicles. information, improve the positioning accuracy of the target vehicle, and improve the accuracy of the order processing results.
在一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:
第二接收模块,用于在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,接收所述目标车辆发送的当前的车辆位置。The second receiving module is configured to receive the current vehicle position sent by the target vehicle before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range.
该种方式下,在确定目标车辆关锁后,基于至少两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, order service information is generated based on the vehicle positions of at least two target vehicles, which improves the positioning accuracy of the target vehicles and improves the accuracy of the order processing result.
第五方面,本申请实施例还提供了一种电子设备,包括:处理器、存储介质和总线,所述存储介质存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储介质之间通过总线通信,所述处理器执行所述机器可读指令,以执行如第一方面任一项所述的订单处理方法的步骤。In a fifth aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium, and a bus, where the storage medium stores machine-readable instructions executable by the processor, and when the electronic device runs, The processor communicates with the storage medium through a bus, and the processor executes the machine-readable instructions to execute the steps of the order processing method according to any one of the first aspects.
第六方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如第一方面任一项所述的订单处理方法的步骤。In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor when it is executed as described in any one of the first aspect. The steps of the order processing method described above.
第七方面,本申请实施例还提供了一种电子设备,包括:处理器、存储介质和总线,所述存储介质存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储介质之间通过总线通信,所述处理器执行所述机器可读指令,以执行如第二方面任一项所述的订单处理方法的步骤。In a seventh aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium, and a bus, where the storage medium stores machine-readable instructions executable by the processor, and when the electronic device runs, The processor communicates with the storage medium through a bus, and the processor executes the machine-readable instructions to execute the steps of the order processing method according to any one of the second aspects.
第八方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如第二方面任一项所述的订单处理方法的步骤。In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor when it is executed as described in any one of the second aspect. The steps of the order processing method described above.
本申请实施例提供的一种订单处理方法、装置、电子设备及存储介质,在接收到目标订单中目标车辆对应的关锁消息后,从与目标车辆连接的服务请求端中获取目标车辆的车辆位置;根据车辆位置与预设的目标位置范围,确定目标车辆与目标位置范围的位置关系;根据目标车辆与目标位置范围的位置关系,生成目标订单对应的订单服务信息;将订单服务信息发送给目标订单对应的服务请求端。本申请,在确定目标车辆关锁后,从与目标车辆连接的服务请求端中获取目标车辆的车辆位置,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。在确定目标车辆关锁后,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。An order processing method, device, electronic device, and storage medium provided by the embodiments of the present application, after receiving the lock message corresponding to the target vehicle in the target order, obtain the vehicle of the target vehicle from the service requester connected to the target vehicle position; determine the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range; generate order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range; send the order service information to The service requester corresponding to the target order. In the present application, after it is determined that the target vehicle is locked, the vehicle position of the target vehicle is obtained from the service requesting terminal connected to the target vehicle, which realizes the real-time positioning of the vehicle position, improves the positioning efficiency of the vehicle position, and further improves the processing efficiency of the order. . After it is determined that the target vehicle is locked, the vehicle position can be located in real time, the positioning efficiency of the vehicle position is improved, and the order processing efficiency is further improved.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1示出了本申请实施例提供的一种订单处理系统的架构示意图;FIG. 1 shows a schematic diagram of the architecture of an order processing system provided by an embodiment of the present application;
图2示出了本申请实施例提供的一种订单处理方法的流程图;FIG. 2 shows a flowchart of an order processing method provided by an embodiment of the present application;
图3示出了本申请实施例提供的另一种订单处理方法的流程图;FIG. 3 shows a flowchart of another order processing method provided by an embodiment of the present application;
图4示出了本申请实施例提供的另一种订单处理方法的流程图;FIG. 4 shows a flowchart of another order processing method provided by an embodiment of the present application;
图5示出了本申请实施例提供的另一种订单处理方法的流程图;FIG. 5 shows a flowchart of another order processing method provided by an embodiment of the present application;
图6示出了本申请实施例提供的另一种订单处理方法的流程图;FIG. 6 shows a flowchart of another order processing method provided by an embodiment of the present application;
图7示出了本申请实施例提供的一种订单处理装置的结构示意图;FIG. 7 shows a schematic structural diagram of an order processing apparatus provided by an embodiment of the present application;
图8示出了本申请实施例提供的另一种订单处理装置的结构示意图;FIG. 8 shows a schematic structural diagram of another order processing apparatus provided by an embodiment of the present application;
图9示出了本申请实施例提供的一种电子设备的结构示意图;FIG. 9 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图10示出了本申请实施例提供的另一种电子设备的结构示意图。FIG. 10 shows a schematic structural diagram of another electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,应当理解,本申请中附图仅起到说明和描述的目的,并不用于限定本申请的保护范围。另外,应当理解,示意性的附图并未按实物比例绘制。本申请中使用的流程图示出了根据本申请的一些实施例实现的操作。应该理解,流程图的操作可以不按顺序实现,没有逻辑的上下文关系的步骤可以反转顺序或者同时实施。此外,本领域技术人员在本申请内容的指引下,可以向流程图添加一个或多个其他操作,也可以从流程图中移除一个或多个操作。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. The drawings are only for the purpose of illustration and description, and are not used to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented in accordance with some embodiments of the application. It should be understood that the operations of the flowcharts may be performed out of order and that steps without logical context may be performed in reverse order or concurrently. In addition, those skilled in the art can add one or more other operations to the flowchart, and can also remove one or more operations from the flowchart under the guidance of the content of the present application.
另外,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In addition, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
为了使得本领域技术人员能够使用本申请内容,结合特定应用场景“网约车领域”,给出以下实施方式。对于本领域技术人员来说,在不脱离本申请的精神和范围的情况下,可以将这里定义的一般原理应用于其他实施例和应用场景。虽然本申请主要围绕“网约车领域”进行描述,但是应该理解,这仅是一个示例性实施例。In order to enable those skilled in the art to use the content of the present application, the following embodiments are given in combination with a specific application scenario "the field of online car-hailing". For those skilled in the art, the general principles defined herein may be applied to other embodiments and application scenarios without departing from the spirit and scope of the present application. Although this application is mainly described in the "field of online car-hailing", it should be understood that this is only an exemplary embodiment.
需要说明的是,本申请实施例中将会用到术语“包括”,用于指出其后所声明的特征的存在,但并不排除增加其它的特征。It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared later, but does not exclude the addition of other features.
本申请中的术语“用户终端”和“服务请求端”,以指代可以请求或订购服务的个人、实体或工具。在本申请中,“网约车平台”和“服务器”可以互换使用。The terms "user terminal" and "service requester" are used in this application to refer to a person, entity or tool that can request or order services. In this application, "online car-hailing platform" and "server" can be used interchangeably.
本申请中使用的定位技术可以基于全球定位系统(Global Positioning System,GPS)、全球导航卫星系统(Global Navigation Satellite System,GLONASS),罗盘导航系统(COMPASS)、伽利略定位系统、准天顶卫星系统(Quasi-Zenith Satellite System,QZSS)、无线保真(Wireless Fidelity,WiFi)定位技术等,或其任意组合。一个或多个上述定位系统可以在本申请中互换使用。The positioning technology used in this application can be based on Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), Compass Navigation System (COMPASS), Galileo Positioning System, Quasi-Zenith Satellite System ( Quasi-Zenith Satellite System, QZSS), Wireless Fidelity (Wireless Fidelity, WiFi) positioning technology, etc., or any combination thereof. One or more of the above-described positioning systems may be used interchangeably in this application.
图1是本申请实施例提供的一种订单处理系统100的架构示意图。例如,订单处理系统100包括服务器110、网络120、服务请求端130、服务提供端140、智能设备150和数据库中的一种或多种。FIG. 1 is a schematic structural diagram of an
在一些实施例中,服务器110可以包括处理器。处理器可以处理与服务请求有关的信息和/或文本,以执行本申请中描述的一个或多个功能。例如,处理器可以基于从服务请求端130获得的服务请求来确定目标车辆。在一些实施例中,处理器可以包括一个或多个处理核(例如,单核处理器(S)或多核处理器(M))。仅作为举例,处理器可以包括中央处理单元(Central Processing Unit,CPU)、专用集成电路(Application Specific IntegratedCircuit,ASIC)、专用指令集处理器(Application Specific Instruction-setProcessor,ASIP)、图形处理单元(Graphics Processing Unit,GPU)、物理处理单元(Physics Processing Unit,PPU)、数字信号处理器(Digital Signal Processor,DSP)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、可编程逻辑器件(Programmable Logic Device,PLD)、控制器、微控制器单元、简化指令集计算机(ReducedInstruction Set Computing,RISC)、或微处理器等,或其任意组合。In some embodiments,
在一些实施例中,服务请求端130和服务提供端140对应的设备类型可以是移动设备,比如可以包括智能家居设备、可穿戴设备、智能移动设备、虚拟现实设备、或增强现实设备等,也可以是平板计算机、膝上型计算机、或机动车辆中的内置设备等;其中,服务提供端140预先安装在目标车辆(比如共享单车)上。In some embodiments, the device types corresponding to the
在一些实施例中,上述智能设备150安装在道路上,其实时广播携带有自身设备标识的广播消息,服务提供端140在搜索到智能设备150发送的广播消息时,提取广播消息中的设备标识,并将该设备标识发送给服务器110,以便服务器110基于该设备标识,确定目标车辆的车辆位置。In some embodiments, the above-mentioned
在一些实施例中,数据库可以连接到网络120以与订单处理系统100中的一个或多个组件(例如,服务器110,服务请求端130,服务提供端140等)通信。订单处理系统100中的一个或多个组件可以经由网络120访问存储在数据库中的文本或指令。在一些实施例中,数据库可以直接连接到订单处理系统100中的一个或多个组件,或者,数据库也可以是服务器110的一部分。In some embodiments, the database may be connected to network 120 to communicate with one or more components in order processing system 100 (eg,
下面结合上述图1示出的订单处理系统100中描述的内容,对本申请第一实施例提供的订单处理方法进行详细说明。The order processing method provided by the first embodiment of the present application will be described in detail below with reference to the content described in the
参照图2所示,为本申请实施例提供的一种订单处理方法的流程示意图,该方法可以由订单处理系统100中的服务器110来执行,具体执行过程包括如下步骤:Referring to FIG. 2, which is a schematic flowchart of an order processing method provided in an embodiment of the present application, the method can be executed by the
S201、在接收到目标订单中目标车辆对应的关锁消息后,从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置。S201. After receiving the lock message corresponding to the target vehicle in the target order, obtain the vehicle position of the target vehicle from a service requester corresponding to the target vehicle.
S202、根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系。S202. Determine the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range.
S203、根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息。S203. Generate order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range.
S204、将所述订单服务信息发送给所述目标订单对应的服务请求端。S204. Send the order service information to the service requester corresponding to the target order.
本申请实施例提供的一种订单处理方法,在确定目标车辆关锁后,从与目标车辆对应的服务请求端中获取目标车辆的车辆位置,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。In an order processing method provided by an embodiment of the present application, after it is determined that the target vehicle is locked, the vehicle position of the target vehicle is obtained from the service request terminal corresponding to the target vehicle, thereby realizing the real-time positioning of the vehicle position and improving the positioning of the vehicle position. efficiency, thereby improving the efficiency of order processing.
下面分别对S201~S204进行说明:S201 to S204 are described below respectively:
其中,S201、在接收到目标订单中目标车辆对应的关锁消息后,从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置。Wherein, in S201, after receiving the lock message corresponding to the target vehicle in the target order, obtain the vehicle position of the target vehicle from a service requester corresponding to the target vehicle.
本申请实施例中,当用户通过服务请求端(也即用户终端)扫描目标车辆上的二维码,并在服务请求端的相关页面确认打开目标车辆的车锁后,服务器打开目标车辆的车锁,并生成该目标车辆对应的目标订单。当用户完成目标车辆的使用后,关闭目标车辆的车锁,此时,目标车辆生成相应的关锁消息。In the embodiment of the present application, when the user scans the QR code on the target vehicle through the service requester (ie, the user terminal), and confirms that the lock of the target vehicle is unlocked on the relevant page of the service requester, the server unlocks the lock of the target vehicle. , and generate the target order corresponding to the target vehicle. After the user completes the use of the target vehicle, the lock of the target vehicle is turned off, and at this time, the target vehicle generates a corresponding lock message.
在第一种可选的实施方式中,目标车辆向服务器发送关锁消息,服务器在接收到目标车辆发送的关锁消息后,获取该目标车辆的车辆位置。In a first optional implementation manner, the target vehicle sends a lock message to the server, and the server obtains the vehicle position of the target vehicle after receiving the lock message sent by the target vehicle.
在第二种可选的实施方式中,服务请求端预先与目标车辆建立连接,比如通过蓝牙连接。目标车辆在生成关锁消息后,将该关锁消息发送给服务请求端,服务请求端在接收到该关锁消息后,向服务器发送目标车辆对应的关锁消息;服务器在接收到服务请求端发送的目标车辆对应的关锁消息后,获取该目标车辆的车辆位置。In a second optional implementation manner, the service requester establishes a connection with the target vehicle in advance, for example, through a Bluetooth connection. After the target vehicle generates the lock message, it sends the lock message to the service requester. After receiving the lock message, the service requester sends the lock message corresponding to the target vehicle to the server; the server receives the service requester. After the lock message corresponding to the target vehicle is sent, the vehicle position of the target vehicle is obtained.
在第三种可选的实施方式中,服务器在接收到目标车辆和服务请求端分别发送的目标车辆对应的关锁消息后,获取该目标车辆的车辆位置。In a third optional implementation manner, the server acquires the vehicle position of the target vehicle after receiving the lock messages corresponding to the target vehicle respectively sent by the target vehicle and the service requesting terminal.
在本申请实施例中,服务器在接收到目标车辆对应的关锁消息后,可以通过如下两种方式:从该目标车辆对应的服务请求端中获取目标车辆的车辆位置。In the embodiment of the present application, after receiving the lock message corresponding to the target vehicle, the server may obtain the vehicle position of the target vehicle from the service requester corresponding to the target vehicle in the following two ways.
第一、接收与所述目标车辆连接的服务请求端发送的所述目标车辆的车辆位置:First, receive the vehicle position of the target vehicle sent by the service requester connected to the target vehicle:
当服务请求端预先与目标车辆建立连接(比如近距离无线连接,如蓝牙连接)时,服务请求端在接收到的来自目标车辆的关锁消息后,将当前定位的目标车辆的车辆位置发送给服务器。When the service requester establishes a connection with the target vehicle in advance (such as a short-range wireless connection, such as a Bluetooth connection), after receiving the lock message from the target vehicle, the service requester sends the currently positioned vehicle position of the target vehicle to server.
第二、向所述目标订单对应的服务请求端发送所述目标车辆对应的关锁消息,以使所述服务请求端基于所述关锁消息上报所述目标车辆的车辆位置,接收所述服务请求端发送的所述目标车辆的车辆位置。Second, send the lock message corresponding to the target vehicle to the service requester corresponding to the target order, so that the service requester reports the vehicle position of the target vehicle based on the lock message, and receives the service The vehicle position of the target vehicle sent by the requester.
当服务请求端未与目标车辆建立连接时,服务请求端则无法接收到来自目标车辆的关锁消息,此时,服务器在接收到目标车辆发送的关锁消息后,将所述关锁消息发送给目标订单对应的服务请求端,服务请求端在接收到服务器发送的关锁消息后,将当前定位的目标车辆的车辆位置发送给服务器,服务器接收目标车辆的车辆位置。When the service requester does not establish a connection with the target vehicle, the service requester cannot receive the lock message from the target vehicle. At this time, the server sends the lock message after receiving the lock message sent by the target vehicle. To the service requester corresponding to the target order, after receiving the lock message sent by the server, the service requester sends the currently positioned vehicle position of the target vehicle to the server, and the server receives the vehicle position of the target vehicle.
其中,服务请求端与目标车辆和服务器的通信速度快,且服务请求端对车辆位置的定位速度快,因此,服务请求端在接收到关锁消息后,通过其定位的当前位置表征目标车辆的车辆位置准确度较高。Among them, the communication speed between the service requester and the target vehicle and the server is fast, and the positioning speed of the vehicle position by the service requester is fast. Therefore, after receiving the lock message, the service requester uses the current position of its positioning to characterize the target vehicle's location. Vehicle position accuracy is high.
S202、根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系。S202. Determine the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range.
本申请实施例中,当预设的目标位置范围中包括目标车辆的车辆位置时,确定目标车辆在目标位置范围内;当预设的目标位置范围中不包括目标车辆的车辆位置时,确定目标车辆在目标位置范围外。其中,上述目标位置范围可以为运营区域范围,或者运营区域中除禁止停车区域外的运营区域可停车范围。In the embodiment of the present application, when the vehicle position of the target vehicle is included in the preset target position range, it is determined that the target vehicle is within the target position range; when the vehicle position of the target vehicle is not included in the preset target position range, the target vehicle is determined The vehicle is out of range of the target location. Wherein, the above-mentioned target location range may be the range of the operation area, or the parking area of the operation area other than the prohibited parking area in the operation area.
其中,通过如下方式确定目标位置范围:基于目标车辆的车辆位置,确定目标车辆对应的目标区域,获取该目标区域对应的运营区域范围或者运营区域可停车范围作为目标位置范围。其中,上述目标区域可以是城市粒度的,也可以城区中分区粒度的。The target location range is determined in the following manner: based on the vehicle position of the target vehicle, the target area corresponding to the target vehicle is determined, and the operation area range or the parking area of the operation area corresponding to the target area is obtained as the target location range. Wherein, the above-mentioned target area may be of city granularity, or may be of district granularity in an urban area.
比如,目标车辆的车辆位置为(1111,2222),确定目标车辆对应的目标区域为北京(或者,北京市海淀区),相应的,获取北京(或者,北京市海淀区)对应的运营区域范围作为目标位置范围,或者,获取北京对应的运营区域可停车范围作为目标位置范围。For example, the vehicle position of the target vehicle is (1111, 2222), and the target area corresponding to the target vehicle is determined to be Beijing (or, Haidian District, Beijing), and correspondingly, obtain the operating area range corresponding to Beijing (or, Haidian District, Beijing). As the target location range, or, obtain the parking area of the operation area corresponding to Beijing as the target location range.
S203、根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息。S203. Generate order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range.
在本申请实施例中,目标车辆与目标位置范围的不同位置关系,生成的目标订单对应的订单服务信息不同。其中,上述订单服务信息至少包括费用信息,还可以包括起点位置、终点位置。In the embodiment of the present application, the order service information corresponding to the generated target order is different depending on the positional relationship between the target vehicle and the target position range. Wherein, the above-mentioned order service information includes at least cost information, and may also include a starting point position and an ending point position.
比如,当目标车辆位于目标位置范围内时,对应第一订单服务信息;当目标车辆位于目标位置范围外时,对应第二订单服务信息。其中,第一订单服务信息中的费用信息和第二订单服务信息中的费用信息不同;这里,第二费用信息大于第一费用信息。For example, when the target vehicle is located within the target position range, it corresponds to the first order service information; when the target vehicle is located outside the target position range, it corresponds to the second order service information. The fee information in the first order service information is different from the fee information in the second order service information; here, the second fee information is greater than the first fee information.
S204、将所述订单服务信息发送给所述目标订单对应的服务请求端。S204. Send the order service information to the service requester corresponding to the target order.
本申请实施例中,服务器在生成目标车辆对应的订单服务信息后,将该订单服务信息发送给该目标订单对应的服务请求端,用户可以在服务请求端中查看该目标订单。In the embodiment of the present application, after generating the order service information corresponding to the target vehicle, the server sends the order service information to the service requester corresponding to the target order, and the user can view the target order in the service requester.
用户在关闭目标车辆的车锁后,服务请求端中该目标车辆对应的订单还未结束(此时,为费用计算中的状态),相应的,在目标车辆的车锁关闭后,当服务器快速获取目标车辆的车辆位置,并基于该车辆位置生成目标订单对应的订单服务信息(即计算该目标订单的费用),并发送给服务请求端,在服务请求端即显示已完成的目标订单的订单服务信息(包括费用信息),提高了订单处理效率,用户体验较好。After the user closes the lock of the target vehicle, the order corresponding to the target vehicle in the service request terminal has not been completed (at this time, it is in the state of cost calculation). Correspondingly, after the lock of the target vehicle is closed, when the server quickly Obtain the vehicle position of the target vehicle, and generate the order service information corresponding to the target order based on the vehicle position (that is, calculate the cost of the target order), and send it to the service requester, where the completed target order order is displayed on the service requester Service information (including cost information) improves order processing efficiency and provides better user experience.
进一步的,如图3所示,本申请实施例提供的订单处理方法中,在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,所述方法还包括:Further, as shown in FIG. 3 , in the order processing method provided by the embodiment of the present application, before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range, The method also includes:
S301、接收所述目标车辆发送的位于道路上的智能设备的设备标识;其中,所述设备标识是所述目标车辆在搜索到所述智能设备发送的广播消息时,从所述广播消息中获取得到的。S301. Receive a device identifier of a smart device located on the road sent by the target vehicle; wherein, the device identifier is obtained from the broadcast message when the target vehicle searches for the broadcast message sent by the smart device owned.
在本申请实施例中,道路上安装有智能设备(比如,蓝牙道钉),该智能设备实时广播携带有自身设备标识的广播信息,当智能设备位于目标车辆对应的搜索范围时,目标车辆能够搜索到该智能设备,并接收到该智能设备的广播消息,并从广播消息中提取智能设备的设备标识。In the embodiment of the present application, a smart device (for example, a Bluetooth road stud) is installed on the road, and the smart device broadcasts broadcast information carrying its own device identification in real time. When the smart device is located in the search range corresponding to the target vehicle, the target vehicle can The smart device is searched, the broadcast message of the smart device is received, and the device identifier of the smart device is extracted from the broadcast message.
比如,当目标车辆停放在智能设备的位置处时,目标车辆接收到智能设备的广播消息,并从广播消息中提取智能设备的设备标识(比如设备001)。For example, when the target vehicle is parked at the location of the smart device, the target vehicle receives the broadcast message of the smart device, and extracts the device identifier (eg, device 001) of the smart device from the broadcast message.
S302、基于所述智能设备的设备标识,确定所述智能设备对应的目标位置作为所述目标车辆的车辆位置。S302. Based on the device identification of the smart device, determine a target position corresponding to the smart device as the vehicle position of the target vehicle.
其中,服务器中预先存储有各个智能设备的设备标识,以及与每个设备标识对应的智能设备的设备位置,当服务器接收到来自目标车辆发送的智能设备的设备标识后,基于每个设备标识对应的智能设备的设备位置,确定该设备标识对应的设备位置,并将该设备位置确定为目标车辆的车辆位置。The server pre-stores the device identifiers of each smart device and the device location of the smart devices corresponding to each device identifier. After the server receives the device identifiers of the smart devices sent from the target vehicle, the corresponding The device location of the smart device is determined, the device location corresponding to the device identifier is determined, and the device location is determined as the vehicle location of the target vehicle.
比如,设备001对应的设备位置为(1111,2222),相应的,将(1111,2222)确定为目标车辆的车辆位置。For example, the device location corresponding to device 001 is (1111, 2222), and correspondingly, (1111, 2222) is determined as the vehicle location of the target vehicle.
进一步的,本申请实施例提供的订单处理方法中,在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,所述方法还包括:Further, in the order processing method provided by the embodiment of the present application, before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range, the method further includes:
接收所述目标车辆发送的当前的车辆位置。Receive the current vehicle position sent by the target vehicle.
实际中,为了保证定位模块耗电少,增加定位模块的使用时长,减少维护成本,目标车辆在检测到车锁关闭后,给其包括的定位模块通电(该过程即定位模块的冷启动),此时,定位模块启动工作并定位目标车辆的车辆位置,然后将该目标车辆的车辆位置上报给服务器。In practice, in order to ensure that the positioning module consumes less power, increase the use time of the positioning module, and reduce maintenance costs, after the target vehicle detects that the lock is turned off, power on the positioning module included in it (this process is the cold start of the positioning module), At this time, the positioning module starts work and locates the vehicle position of the target vehicle, and then reports the vehicle position of the target vehicle to the server.
这样,服务器获取到的目标车辆的车辆位置至少为一个,也可以包括多个,具体组合情况如下:In this way, the vehicle position of the target vehicle obtained by the server is at least one, and may also include multiple ones. The specific combination is as follows:
1、从服务请求端中获取的目标车辆的车辆位置。1. The vehicle position of the target vehicle obtained from the service requester.
该种方式下,在确定目标车辆关锁后,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。In this way, after it is determined that the target vehicle is locked, the vehicle position can be located in real time, the positioning efficiency of the vehicle position is improved, and the order processing efficiency is further improved.
2、从服务请求端中获取的目标车辆的车辆位置、基于智能设备的设备标识确定的目标车辆的车辆位置。2. The vehicle position of the target vehicle obtained from the service requester, and the vehicle position of the target vehicle determined based on the device identification of the smart device.
该种方式下,在确定目标车辆关锁后,也实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率;同时,基于两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, the vehicle position is also located in real time, which improves the positioning efficiency of the vehicle position, thereby improving the order processing efficiency; at the same time, the order service is generated based on the vehicle positions of the two target vehicles. information, improve the positioning accuracy of the target vehicle, and improve the accuracy of the order processing results.
3、从服务请求端中获取的目标车辆的车辆位置、接收到的目标车辆发送的其车辆位置。3. The vehicle position of the target vehicle obtained from the service requester, and its vehicle position sent by the received target vehicle.
该种方式下,在确定目标车辆关锁后,基于至少两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, order service information is generated based on the vehicle positions of at least two target vehicles, which improves the positioning accuracy of the target vehicles and improves the accuracy of the order processing result.
4、从服务请求端中获取的目标车辆的车辆位置、基于智能设备的设备标识确定的目标车辆的车辆位置、接收到的目标车辆发送的其车辆位置。4. The vehicle position of the target vehicle obtained from the service requester, the vehicle position of the target vehicle determined based on the device identification of the smart device, and the received vehicle position sent by the target vehicle.
该种方式下,在确定目标车辆关锁后,基于至少两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, order service information is generated based on the vehicle positions of at least two target vehicles, which improves the positioning accuracy of the target vehicles and improves the accuracy of the order processing result.
进一步的,本申请实施例提供的订单处理方法中,所述目标车辆至少对应一个车辆位置;所述根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系,包括:Further, in the order processing method provided in the embodiment of the present application, the target vehicle corresponds to at least one vehicle position; the target vehicle and the target position range are determined according to the vehicle position and a preset target position range positional relationship, including:
第一、若所述目标位置范围内包括任一车辆位置,则确定所述目标车辆位于所述目标位置范围内。First, if the target position range includes any vehicle position, it is determined that the target vehicle is located within the target position range.
当服务器获取到一个目标车辆的车辆位置时,若该车辆位置包含在上述目标位置范围内,则确定目标车辆在目标位置范围内(即目标车辆位于运营区域,或者,位于运营可停车区域内)。When the server obtains the vehicle position of a target vehicle, if the vehicle position is included in the above target position range, it is determined that the target vehicle is within the target position range (that is, the target vehicle is located in the operation area, or is located in the operation parking area) .
当服务器获取到多个目标车辆的车辆位置时,只要其中一个车辆位置包含在上述目标位置范围内,则确定目标车辆在目标位置范围内(即目标车辆位于运营区域,或者,位于运营可停车区域内)。When the server obtains the vehicle positions of multiple target vehicles, as long as one of the vehicle positions is included in the above target position range, it is determined that the target vehicle is within the target position range (that is, the target vehicle is located in the operation area, or in the operation parking area) Inside).
第二、若不存在包括在所述目标位置范围内的任一车辆位置,则确定所述目标车辆位于所述目标位置范围外。Second, if there is no vehicle position included in the target position range, it is determined that the target vehicle is located outside the target position range.
当服务器获取到一个目标车辆的车辆位置时,如果该车辆位置未包含在上述目标位置范围内,则确定目标车辆在目标位置范围外(即目标车辆位于运营区域外,或者,位于运营区域内但位于运营禁止停车区域内)。When the server obtains the vehicle position of a target vehicle, if the vehicle position is not included in the above target position range, it is determined that the target vehicle is outside the target position range (that is, the target vehicle is outside the operating area, or is located within the operating area but located in an operational no-parking area).
当服务器获取到多个目标车辆的车辆位置时,如果这多个车辆位置同时未包含在上述目标位置范围内,则确定目标车辆在目标位置范围外(即目标车辆位于运营区域外,或者,位于运营区域内但位于运营禁止停车区域内)。When the server obtains the vehicle positions of multiple target vehicles, if the multiple vehicle positions are not included in the above target position range at the same time, it is determined that the target vehicle is outside the target position range (that is, the target vehicle is located outside the operating area, or is located in within the operational area but within the operational no-parking area).
进一步的,如图4所示,本申请实施例提供的订单处理方法中,检测任一车辆位置是否位于所述目标位置范围内,包括:Further, as shown in FIG. 4 , in the order processing method provided by the embodiment of the present application, detecting whether any vehicle position is within the target position range includes:
S401、获取任一车辆位置对应的定位区域。S401. Obtain a positioning area corresponding to any vehicle position.
其中,地图上具有表征目标车辆的车辆位置的一定位区域,该定位区域对应一定位范围。比如,该定位区域一个圆形区域。The map has a positioning area representing the vehicle position of the target vehicle, and the positioning area corresponds to a positioning range. For example, the positioning area is a circular area.
S402、若所述目标位置范围内包括至少部分所述定位区域,则确定该车辆位置位于所述目标位置范围内。S402. If the target position range includes at least part of the positioning area, determine that the vehicle position is within the target position range.
本申请实施例中,如果目标位置范围包括至少部分上述定位区域对应的定位范围,也即如果目标位置范围与上述定位范围具有交集,则确定目标车辆的车辆位置位于目标位置范围内。In this embodiment of the present application, if the target position range includes at least part of the positioning range corresponding to the above positioning area, that is, if the target position range and the above positioning range have an intersection, it is determined that the vehicle position of the target vehicle is within the target position range.
S403、若所述目标位置范围内不包括所述定位区域,则确定该车辆位置位于所述目标位置范围外。S403. If the target position range does not include the positioning area, determine that the vehicle position is outside the target position range.
本申请实施例中,如果目标位置范围不包括上述定位区域对应的定位范围,也即如果目标位置范围与上述定位范围不具有交集,则确定目标车辆的车辆位置位于目标位置范围外。In the embodiment of the present application, if the target position range does not include the positioning range corresponding to the above-mentioned positioning area, that is, if the target position range and the above-mentioned positioning range have no intersection, it is determined that the vehicle position of the target vehicle is outside the target position range.
通过上述方式,解决在定位存在一定误差的情况下,定位不准确的问题,提高了目标车辆的车辆位置的定位精度。Through the above method, the problem of inaccurate positioning in the case of a certain error in positioning is solved, and the positioning accuracy of the vehicle position of the target vehicle is improved.
进一步的,本申请实施例提供的订单处理方法中,所述根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息,包括如下步骤:Further, in the order processing method provided by the embodiment of the present application, generating the order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range includes the following steps:
第一、若检测到所述目标车辆位于所述目标位置范围内,则根据所述目标订单对应的起始位置和所述车辆位置,生成所述目标订单对应的订单服务信息。First, if it is detected that the target vehicle is located within the target position range, the order service information corresponding to the target order is generated according to the starting position corresponding to the target order and the vehicle position.
本申请实施例中,当目标车辆位于目标位置范围内,则根据目标订单对应的起始位置和车辆位置(即终点位置),计算目标车辆对应的目标行驶距离,然后,根据预设的行驶距离与费用信息的对应关系,确定该目标行驶距离对应的目标费用信息,并基于该目标费用信息,生成目标订单对应的订单服务信息。In the embodiment of the present application, when the target vehicle is located within the target position range, the target travel distance corresponding to the target vehicle is calculated according to the starting position and the vehicle position (ie the end position) corresponding to the target order, and then, according to the preset travel distance The corresponding relationship with the cost information is to determine the target cost information corresponding to the target driving distance, and based on the target cost information, the order service information corresponding to the target order is generated.
第二、若检测到所述目标车辆位于所述目标位置范围外,则根据所述目标订单对应的起始位置、所述车辆位置以及目标服务信息,生成所述目标订单对应的订单服务信息。Second, if it is detected that the target vehicle is located outside the range of the target position, the order service information corresponding to the target order is generated according to the starting position corresponding to the target order, the vehicle position and the target service information.
本申请实施例中,当目标车辆位于目标位置范围外时,则根据目标订单对应的起始位置和车辆位置(即终点位置),计算目标车辆对应的目标行驶距离,然后,根据预设的行驶距离与费用信息的对应关系,确定该目标行驶距离对应的目标费用信息,并基于该目标费用信息以及预设的调度费,生成目标订单对应的订单服务信息。In the embodiment of the present application, when the target vehicle is located outside the range of the target position, the target travel distance corresponding to the target vehicle is calculated according to the starting position and the vehicle position (ie the end position) corresponding to the target order, and then, according to the preset travel The corresponding relationship between the distance and the cost information is determined, and the target cost information corresponding to the target driving distance is determined, and based on the target cost information and the preset dispatch fee, the order service information corresponding to the target order is generated.
本申请实施例中,预设的调度费是根据车辆位置与目标位置范围的距离确定的,不同的距离对应的调度费不同。如图5所示,本申请实施例提供的订单处理方法中,确定所述目标服务信息,包括:In the embodiment of the present application, the preset dispatching fee is determined according to the distance between the vehicle position and the target position range, and the dispatching fee corresponding to different distances is different. As shown in FIG. 5 , in the order processing method provided by the embodiment of the present application, determining the target service information includes:
S501、确定所述车辆位置与目标位置范围的距离信息。S501. Determine distance information between the vehicle position and a target position range.
作为一种可选的实施方式,确定目标位置范围对应的几何图形,并确定该几何图形的中心点,计算目标车辆的车辆位置与该中心点的距离,作为车辆位置与目标位置范围的距离信息。As an optional implementation, determine the geometric figure corresponding to the target position range, determine the center point of the geometric figure, calculate the distance between the vehicle position of the target vehicle and the center point, and use it as the distance information between the vehicle position and the target position range .
作为另一种可选的实施方式,基于经过车辆位置的直线目标位置范围的交点,确定车辆位置与交点组成的多条线段,基于每一条线段的长度,从多条线段中选取长度最小的目标线段,将该目标线段的长度确定为车辆位置与目标位置范围的距离信息。As another optional implementation, based on the intersection of the target position range of the straight line passing through the position of the vehicle, multiple line segments composed of the vehicle position and the intersection are determined, and based on the length of each line segment, the target with the smallest length is selected from the multiple line segments line segment, and the length of the target line segment is determined as the distance information between the vehicle position and the target position range.
S502、根据所述车辆位置与目标位置范围的距离信息,确定所述目标服务信息。S502. Determine the target service information according to the distance information between the vehicle position and the target position range.
本申请实施例中,基于车辆位置与目标位置范围的距离信息所处的距离范围,确定该距离范围对应的服务信息作为目标服务信息。In the embodiment of the present application, based on the distance range in which the distance information between the vehicle position and the target position range is located, the service information corresponding to the distance range is determined as the target service information.
比如,若车辆位置与目标位置范围的距离信息位于第一距离范围内,将第一距离范围对应的服务信息确定为目标服务信息;若车辆位置与目标位置范围的距离信息位于第二距离范围内,将第二距离范围对应的服务信息确定为目标服务信息;其中,第二距离范围大于第一距离范围。For example, if the distance information between the vehicle position and the target position range is within the first distance range, the service information corresponding to the first distance range is determined as the target service information; if the distance information between the vehicle position and the target position range is within the second distance range , and the service information corresponding to the second distance range is determined as the target service information; wherein, the second distance range is greater than the first distance range.
参照图6所示,为本申请第二实施例提供的一种订单处理方法的流程示意图,该方法可以由订单处理系统100中的服务器110来执行,具体执行过程包括如下步骤:Referring to FIG. 6, which is a schematic flowchart of an order processing method provided in the second embodiment of the present application, the method can be executed by the
S601、在接收到目标订单中目标车辆对应的关锁消息后,接收所述目标车辆发送的位于道路上的智能设备的设备标识。S601. After receiving the lock message corresponding to the target vehicle in the target order, receive the device identifier of the smart device located on the road sent by the target vehicle.
在本申请实施例中,道路上安装有智能设备(比如,蓝牙道钉),该智能设备实时广播携带有自身设备标识的广播信息,当智能设备位于目标车辆对应的搜索范围时,目标车辆能够搜索到该智能设备,并接收到该智能设备的广播消息,并从广播消息中提取智能设备的设备标识。In the embodiment of the present application, a smart device (for example, a Bluetooth road stud) is installed on the road, and the smart device broadcasts broadcast information carrying its own device identification in real time. When the smart device is located in the search range corresponding to the target vehicle, the target vehicle can The smart device is searched, the broadcast message of the smart device is received, and the device identifier of the smart device is extracted from the broadcast message.
比如,当目标车辆停放在智能设备的位置处时,目标车辆接收到智能设备的广播消息,并从广播消息中提取智能设备的设备标识(比如设备001)。For example, when the target vehicle is parked at the location of the smart device, the target vehicle receives the broadcast message of the smart device, and extracts the device identifier (eg, device 001) of the smart device from the broadcast message.
S602、基于所述智能设备的设备标识,确定所述智能设备对应的目标位置作为所述目标车辆的车辆位置。S602. Based on the device identifier of the smart device, determine a target location corresponding to the smart device as the vehicle location of the target vehicle.
其中,服务器中预先存储有各个智能设备的设备标识,以及与每个设备标识对应的智能设备的设备位置,当服务器接收到来自目标车辆发送的智能设备的设备标识后,基于每个设备标识对应的智能设备的设备位置,确定该设备标识对应的设备位置,并将该设备位置确定为目标车辆的车辆位置。The server pre-stores the device identifiers of each smart device and the device location of the smart devices corresponding to each device identifier. After the server receives the device identifiers of the smart devices sent from the target vehicle, the corresponding The device location of the smart device is determined, the device location corresponding to the device identifier is determined, and the device location is determined as the vehicle location of the target vehicle.
比如,设备001对应的设备位置为(1111,2222),相应的,将(1111,2222)确定为目标车辆的车辆位置。For example, the device location corresponding to device 001 is (1111, 2222), and correspondingly, (1111, 2222) is determined as the vehicle location of the target vehicle.
S603、根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系。S603. Determine the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range.
S604、根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息。S604. Generate order service information corresponding to the target order according to the positional relationship between the target vehicle and the target position range.
S605、将所述订单服务信息发送给所述目标订单对应的服务请求端。S605. Send the order service information to the service requester corresponding to the target order.
相应的,步骤601至步骤605的相关解释与第一实施例提供订单处理方法中,相同,本申请实施例不再进行重复描述。Correspondingly, the related explanations of steps 601 to 605 are the same as those in the order processing method provided in the first embodiment, and are not described repeatedly in this embodiment of the present application.
该种方式下,在确定目标车辆关锁后,实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率。In this way, after it is determined that the target vehicle is locked, the vehicle position can be located in real time, the positioning efficiency of the vehicle position is improved, and the order processing efficiency is further improved.
进一步的,本申请实施例提供的订单处理方法,在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,所述方法还包括:Further, in the order processing method provided by the embodiment of the present application, before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range, the method further includes:
从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置。The vehicle position of the target vehicle is obtained from the service requester corresponding to the target vehicle.
本申请实施例中,该步骤的相关解释与第一实施例提供订单处理方法相同,本申请实施例不再进行重复描述。In the embodiment of the present application, the related explanation of this step is the same as that of the order processing method provided in the first embodiment, and the description is not repeated in the embodiment of the present application.
该种方式下,在确定目标车辆关锁后,也实现了实时定位车辆位置,提高了车辆位置的定位效率,进而提高了订单的处理效率;同时,基于两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, the vehicle position is also located in real time, which improves the positioning efficiency of the vehicle position, thereby improving the order processing efficiency; at the same time, the order service is generated based on the vehicle positions of the two target vehicles. information, improve the positioning accuracy of the target vehicle, and improve the accuracy of the order processing results.
进一步的,本申请实施例提供的订单处理方法,在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,所述方法还包括:Further, in the order processing method provided by the embodiment of the present application, before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and a preset target position range, the method further includes:
接收所述目标车辆发送的当前的车辆位置。Receive the current vehicle position sent by the target vehicle.
本申请实施例中,该步骤的相关解释与第一实施例提供订单处理方法相同,本申请实施例不再进行重复描述。In the embodiment of the present application, the related explanation of this step is the same as that of the order processing method provided in the first embodiment, and the description is not repeated in the embodiment of the present application.
该种方式下,在确定目标车辆关锁后,基于至少两个目标车辆的车辆位置生成订单服务信息,提高了目标车辆的定位精度,提高了订单处理结果的准确度。In this way, after it is determined that the target vehicle is locked, order service information is generated based on the vehicle positions of at least two target vehicles, which improves the positioning accuracy of the target vehicles and improves the accuracy of the order processing result.
基于同一发明构思,本申请第三实施例中还提供了与第一实施例提供的订单处理方法对应的订单处理装置,由于本申请第三实施例中的装置解决问题的原理与本申请第一实施例提供的订单处理方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the third embodiment of the present application also provides an order processing device corresponding to the order processing method provided by the first embodiment. The order processing methods provided in the embodiments are similar, so the implementation of the apparatus may refer to the implementation of the method, and repeated descriptions will not be repeated.
参照图7所示,为本申请第三实施例提供的一种订单处理装置的示意图,所述装置包括:Referring to FIG. 7 , a schematic diagram of an order processing apparatus provided by a third embodiment of the present application, the apparatus includes:
第一获取模块701,用于在接收到目标订单中目标车辆对应的关锁消息后,从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置;The first obtaining
第一确定模块702,用于根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系;a first determining
生成模块703,用于根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息;A
第一发送模块704,用于将所述订单服务信息发送给所述目标订单对应的服务请求端。The
在一种可能的实施方式中,所述获取模块从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置,包括:In a possible implementation manner, the obtaining module obtains the vehicle position of the target vehicle from a service requester corresponding to the target vehicle, including:
接收与所述目标车辆连接的服务请求端发送的所述目标车辆的车辆位置。Receive the vehicle position of the target vehicle sent by the service requester connected to the target vehicle.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第二发送模块,用于在接收与所述目标车辆连接的服务请求端发送的所述目标车辆的车辆位置之前,向所述目标订单对应的服务请求端发送所述目标车辆对应的关锁消息,以使所述服务请求端基于所述关锁消息上报所述目标车辆的车辆位置。The second sending module is configured to send a lock message corresponding to the target vehicle to the service requester corresponding to the target order before receiving the vehicle position of the target vehicle sent by the service requester connected to the target vehicle , so that the service requester reports the vehicle position of the target vehicle based on the lock message.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第一接收模块,用于在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,接收所述目标车辆发送的位于道路上的智能设备的设备标识;其中,所述设备标识是所述目标车辆在搜索到所述智能设备发送的广播消息时,从所述广播消息中获取得到的;a first receiving module, configured to receive a smart device on the road sent by the target vehicle before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range The device identification; wherein, the device identification is obtained from the broadcast message when the target vehicle searches for the broadcast message sent by the smart device;
第二确定模块,用于基于所述智能设备的设备标识,确定所述智能设备对应的目标位置作为所述目标车辆的车辆位置。The second determination module is configured to determine the target position corresponding to the smart device as the vehicle position of the target vehicle based on the device identification of the smart device.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第二接收模块,用于在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,接收所述目标车辆发送的当前的车辆位置。The second receiving module is configured to receive the current vehicle position sent by the target vehicle before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range.
在一种可能的实施方式中,所述目标车辆至少对应一个车辆位置;所述第一确定模块根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系,包括:In a possible implementation, the target vehicle corresponds to at least one vehicle position; the first determination module determines the difference between the target vehicle and the target position range according to the vehicle position and a preset target position range Location relationships, including:
若所述目标位置范围内包括任一车辆位置,则确定所述目标车辆位于所述目标位置范围内;If the target position range includes any vehicle position, determining that the target vehicle is located within the target position range;
若不存在包括在所述目标位置范围内的任一车辆位置,则确定所述目标车辆位于所述目标位置范围外。If there is no vehicle position included in the target position range, it is determined that the target vehicle is located outside the target position range.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第二获取模块,用于获取任一车辆位置对应的定位区域;The second obtaining module is used to obtain the positioning area corresponding to any vehicle position;
第三确定模块,用于若所述目标位置范围内包括至少部分所述定位区域,则确定该车辆位置位于所述目标位置范围内;a third determining module, configured to determine that the vehicle position is within the target position range if the target position range includes at least part of the positioning area;
第四确定模块,用于若所述目标位置范围内不包括所述定位区域,则确定该车辆位置位于所述目标位置范围外。The fourth determining module is configured to determine that the vehicle position is outside the target position range if the target position range does not include the positioning area.
在一种可能的实施方式中,所述生成模块根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息,包括:In a possible implementation, the generating module generates order service information corresponding to the target order according to the positional relationship between the target vehicle and the target location range, including:
若检测到所述目标车辆位于所述目标位置范围内,则根据所述目标订单对应的起始位置和所述车辆位置,生成所述目标订单对应的订单服务信息;If it is detected that the target vehicle is located within the target position range, generating order service information corresponding to the target order according to the starting position corresponding to the target order and the vehicle position;
若检测到所述目标车辆位于所述目标位置范围外,则根据所述目标订单对应的起始位置、所述车辆位置以及目标服务信息,生成所述目标订单对应的订单服务信息。If it is detected that the target vehicle is located outside the target position range, order service information corresponding to the target order is generated according to the starting position corresponding to the target order, the vehicle position and target service information.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第五确定模块,用于确定所述车辆位置与目标位置范围的距离信息;a fifth determination module, configured to determine the distance information between the vehicle position and the target position range;
第六确定模块,用于根据所述车辆位置与目标位置范围的距离信息,确定所述目标服务信息。The sixth determining module is configured to determine the target service information according to the distance information between the vehicle position and the target position range.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
第三接收模块,用于接收所述目标车辆发送的该目标车辆对应的关锁消息;a third receiving module, configured to receive a lock message corresponding to the target vehicle sent by the target vehicle;
或者,or,
第四接收模块,用于接收所述服务请求端发送的所述目标车辆对应的关锁消息。The fourth receiving module is configured to receive the lock message corresponding to the target vehicle sent by the service requester.
基于同一发明构思,本申请第四实施例中还提供了与本申请第二实施例提供的订单处理方法对应的订单处理装置,由于本申请第四实施例中的装置解决问题的原理与本申请第二实施例提供的订单处理方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the fourth embodiment of the present application also provides an order processing device corresponding to the order processing method provided by the second embodiment of the present application. The order processing method provided by the second embodiment is similar, so the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
参照图8所示,为本申请第四实施例提供的一种订单处理装置的示意图,所述装置包括:Referring to FIG. 8, a schematic diagram of an order processing apparatus provided in a fourth embodiment of the present application, the apparatus includes:
第一接收模块801,用于在接收到目标订单中目标车辆对应的关锁消息后,接收所述目标车辆发送的位于道路上的智能设备的设备标识;The
第一确定模块802,用于基于所述智能设备的设备标识,确定所述智能设备对应的目标位置作为所述目标车辆的车辆位置;a
第二确定模块803,用于根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系;A
生成模块804,用于根据所述目标车辆与所述目标位置范围的位置关系,生成所述目标订单对应的订单服务信息;A
发送模块805,用于将所述订单服务信息发送给所述目标订单对应的服务请求端。The sending
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
获取模块,用于在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,从与所述目标车辆对应的服务请求端中获取所述目标车辆的车辆位置。an obtaining module, configured to obtain the said target vehicle from a service requester corresponding to the target vehicle before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range The vehicle position of the target vehicle.
在一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:
第二接收模块,用于在根据所述车辆位置与预设的目标位置范围,确定所述目标车辆与所述目标位置范围的位置关系之前,接收所述目标车辆发送的当前的车辆位置。The second receiving module is configured to receive the current vehicle position sent by the target vehicle before determining the positional relationship between the target vehicle and the target position range according to the vehicle position and the preset target position range.
如图9所示,本申请第五实施例提供的一种电子设备900,包括:处理器901、存储器902和总线,所述存储器902存储有所述处理器901可执行的机器可读指令,当电子设备运行时,所述处理器901与所述存储器902之间通过总线通信,所述处理器901执行所述机器可读指令,以执行如上述第一实施例提供的订单处理方法的步骤。As shown in FIG. 9 , an
具体地,上述存储器902和处理器901能够为通用的存储器和处理器,这里不做具体限定,当处理器901运行存储器902存储的计算机程序时,能够执行上述第一实施例对应的订单处理方法。Specifically, the above-mentioned
对应于上述订单处理方法,本申请第六实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述第一实施例提供的订单处理方法的步骤。Corresponding to the above-mentioned order processing method, the sixth embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program executes the above-mentioned first operation when the computer program is run by a processor. The steps of the order processing method provided by the embodiment.
如图10所示,本申请第七实施例提供的一种电子设备1000,包括:处理器1001、存储器1002和总线,所述存储器1002存储有所述处理器1001可执行的机器可读指令,当电子设备运行时,所述处理器1001与所述存储器1002之间通过总线通信,所述处理器1001执行所述机器可读指令,以执行如上述第二实施例提供的订单处理方法的步骤。As shown in FIG. 10, an
具体地,上述存储器1002和处理器1001能够为通用的存储器和处理器,这里不做具体限定,当处理器1001运行存储器1002存储的计算机程序时,能够执行上述第二实施例提供的订单处理方法。Specifically, the above-mentioned
对应于上述订单处理方法,本申请第八实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述第二实施例提供的订单处理方法的步骤。Corresponding to the above order processing method, the eighth embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program executes the above-mentioned second operation when the computer program is run by a processor. The steps of the order processing method provided by the embodiment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考方法实施例中的对应过程,本申请中不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the system and device described above, reference may be made to the corresponding process in the method embodiment, which is not repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or modules, which may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.
以上仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only the specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the technical scope disclosed in the present application can easily think of changes or replacements, which should be covered within the scope of the present application. within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911398206.3A CN111861621A (en) | 2019-12-30 | 2019-12-30 | An order processing method, device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911398206.3A CN111861621A (en) | 2019-12-30 | 2019-12-30 | An order processing method, device, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111861621A true CN111861621A (en) | 2020-10-30 |
Family
ID=72970852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911398206.3A Pending CN111861621A (en) | 2019-12-30 | 2019-12-30 | An order processing method, device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111861621A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600792A (en) * | 2016-12-28 | 2017-04-26 | 北京拜克洛克科技有限公司 | Unlocking method, system and device of bicycle |
CN107295071A (en) * | 2017-06-12 | 2017-10-24 | 广东欧珀移动通信有限公司 | Shared vehicle information processing method, device, server, terminal and storage medium |
CN107580317A (en) * | 2017-08-30 | 2018-01-12 | 顾泰来 | A shared vehicle dispatching billing method, device and server |
CN108665724A (en) * | 2017-03-31 | 2018-10-16 | 北京智汇空间科技有限公司 | Limit the system and method for stand to be parked cars |
CN108986447A (en) * | 2018-07-12 | 2018-12-11 | 北京摩拜科技有限公司 | Vehicles management method, server and system |
CN109218337A (en) * | 2017-05-24 | 2019-01-15 | 上海朗尚科贸有限公司 | Control method for vehicle, server, vehicle termination and user terminal |
CN109509342A (en) * | 2018-12-13 | 2019-03-22 | 成都三柚科技有限公司 | A kind of vehicle parking method, apparatus, electronic equipment and storage medium |
CN110225457A (en) * | 2019-04-17 | 2019-09-10 | 阿里巴巴集团控股有限公司 | Monitoring and managing method, device, server and the readable storage medium storing program for executing of shared bicycle |
-
2019
- 2019-12-30 CN CN201911398206.3A patent/CN111861621A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600792A (en) * | 2016-12-28 | 2017-04-26 | 北京拜克洛克科技有限公司 | Unlocking method, system and device of bicycle |
CN108665724A (en) * | 2017-03-31 | 2018-10-16 | 北京智汇空间科技有限公司 | Limit the system and method for stand to be parked cars |
CN109218337A (en) * | 2017-05-24 | 2019-01-15 | 上海朗尚科贸有限公司 | Control method for vehicle, server, vehicle termination and user terminal |
CN107295071A (en) * | 2017-06-12 | 2017-10-24 | 广东欧珀移动通信有限公司 | Shared vehicle information processing method, device, server, terminal and storage medium |
CN107580317A (en) * | 2017-08-30 | 2018-01-12 | 顾泰来 | A shared vehicle dispatching billing method, device and server |
CN108986447A (en) * | 2018-07-12 | 2018-12-11 | 北京摩拜科技有限公司 | Vehicles management method, server and system |
CN109509342A (en) * | 2018-12-13 | 2019-03-22 | 成都三柚科技有限公司 | A kind of vehicle parking method, apparatus, electronic equipment and storage medium |
CN110225457A (en) * | 2019-04-17 | 2019-09-10 | 阿里巴巴集团控股有限公司 | Monitoring and managing method, device, server and the readable storage medium storing program for executing of shared bicycle |
Non-Patent Citations (1)
Title |
---|
财会月刊杂志社编: "《新智慧•财富道》", 30 September 2018, 武汉出版社, pages: 37 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3440856B1 (en) | System and method for locating a wireless device | |
US9448298B2 (en) | Techniques for faster time-to-first-fix | |
WO2019114436A1 (en) | Systems and methods for vehicle sharing services | |
US20160138926A1 (en) | Automatic handover of positioning parameters from a navigation device to a mobile device | |
US20150126229A1 (en) | Methods and apparatuses for mobile station centric determination of positioning assistance data | |
US20150081218A1 (en) | Navigation system and method for different mobility modes | |
CN103631888B (en) | Multi-data source data searching method and device based on positions | |
TW201818342A (en) | Systems and methods for determining a reference direction related to a vehicle | |
US20200271467A1 (en) | Operation support device, vehicle, operation management device, terminal device, and operation support method | |
JPWO2014199712A1 (en) | Vehicle management system and vehicle management method | |
CN111836200B (en) | Positioning processing method and device, electronic equipment and storage medium | |
CN111829519A (en) | A positioning method, device, electronic device and storage medium | |
CN111651687A (en) | Method and device for pushing information on boarding point, method and device for pushing information on getting off point | |
CN111859176A (en) | Information recommendation method and device, electronic equipment and storage medium | |
CN115481824A (en) | Charging management method, device, equipment and storage medium | |
CN106842272A (en) | The method, system and device of parking trajectory are generated in parking lot | |
CN111612949B (en) | An unlocking method, device, electronic device and medium | |
CN111861621A (en) | An order processing method, device, electronic device and storage medium | |
CN113011944A (en) | Interaction method, device, system, storage medium and electronic equipment | |
WO2021082546A1 (en) | Location positioning method and device, medium, and apparatus | |
CN111865890B (en) | Method and device for unlocking shared device and electronic device | |
CN111861532B (en) | Scheduling service charge determining method and device, electronic equipment and storage medium | |
CN111835831B (en) | Service pushing method and device and electronic equipment | |
CN107944753A (en) | Stroke management method and device, storage medium and terminal equipment | |
CN108093374A (en) | Run-length managment method, device, storage medium and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201030 |