CN117984791A - Method, device and computer equipment for determining the battery replacement threshold of electric motorcycle - Google Patents

Method, device and computer equipment for determining the battery replacement threshold of electric motorcycle Download PDF

Info

Publication number
CN117984791A
CN117984791A CN202410406802.6A CN202410406802A CN117984791A CN 117984791 A CN117984791 A CN 117984791A CN 202410406802 A CN202410406802 A CN 202410406802A CN 117984791 A CN117984791 A CN 117984791A
Authority
CN
China
Prior art keywords
power consumption
standby
electric bicycle
sample
determining
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.)
Granted
Application number
CN202410406802.6A
Other languages
Chinese (zh)
Other versions
CN117984791B (en
Inventor
张益存
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Apacolan Technology Group Co ltd
Original Assignee
Beijing Apoco Blue Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Apoco Blue Technology Co ltd filed Critical Beijing Apoco Blue Technology Co ltd
Priority to CN202410406802.6A priority Critical patent/CN117984791B/en
Publication of CN117984791A publication Critical patent/CN117984791A/en
Application granted granted Critical
Publication of CN117984791B publication Critical patent/CN117984791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L3/00Electric devices on electrically-propelled vehicles for safety purposes; Monitoring operating variables, e.g. speed, deceleration or energy consumption
    • B60L3/12Recording operating variables ; Monitoring of operating variables
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/80Exchanging energy storage elements, e.g. removable batteries
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L58/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/10Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
    • B60L58/12Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries responding to state of charge [SoC]
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L2200/00Type of vehicles
    • B60L2200/46Vehicles with auxiliary ad-on propulsions, e.g. add-on electric motor kits for bicycles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L2260/00Operating Modes
    • B60L2260/40Control modes
    • B60L2260/50Control modes by future state prediction
    • B60L2260/54Energy consumption estimation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The application relates to a method and a device for determining a power change threshold of an electric bicycle and computer equipment. The method comprises the following steps: acquiring each historical order of each first sample electric bicycle located in a target area in a historical time period; determining a power consumption weight of any first sample electric bicycle based on each historical order of the first sample electric bicycle; determining the daily standby power consumption of each first sample electric bicycle according to the historical standby power consumption of each first sample electric bicycle; determining a standby electric quantity threshold according to the power consumption weight of each first sample electric bicycle and the daily standby power consumption of each first sample electric bicycle; and determining a power change threshold for the target area according to the standby power threshold and the running parameters of each second sample electric bicycle in the target area. By adopting the method, the accuracy of the power conversion threshold value can be improved.

Description

电单车换电阈值的确定方法、装置及计算机设备Method, device and computer equipment for determining the battery replacement threshold of electric motorcycle

技术领域Technical Field

本申请涉及共享单车领域,特别是涉及一种电单车换电阈值的确定方法、装置及计算机设备。The present application relates to the field of shared bicycles, and in particular to a method, device and computer equipment for determining a battery replacement threshold of an electric motorcycle.

背景技术Background technique

为保证共享电单车能够满足用户骑行需求,共享电单车的运营方会定期检查并更换共享电单车的电池。一般来说,为了确保电量效益最大化,同时也避免共享电单车电量完全清空造成无法对共享电单车进行定位,运营方会预先设置一个更换电池的换电阈值,并在有共享电单车的电量下降到该换电阈值以下时,将该共享电单车标记为需要换电的电单车,进而给运维人员派单使其更换该电单车的电池。To ensure that shared electric motorcycles can meet the riding needs of users, operators of shared electric motorcycles will regularly check and replace the batteries of shared electric motorcycles. Generally speaking, in order to maximize the power efficiency and avoid the shared electric motorcycles being completely empty and unable to locate, the operator will pre-set a battery replacement threshold, and when the power of a shared electric motorcycle drops below the battery replacement threshold, the shared electric motorcycle will be marked as a motorcycle that needs to be replaced, and then the operation and maintenance personnel will be sent an order to replace the battery of the motorcycle.

现有技术中,一般通过经验来设置该换电阈值。通常为1/3。但是由于共享电单车同时在多个区域运营,每个区域的情况不同,若针对每个区域都设置一个统一的换电阈值难免会造成部分区域电单车电量浪费、同时又有部分区域的电单车电量常常不足。因此,当前通过经验设置的换电阈值存在精度低的问题。In the prior art, the battery replacement threshold is generally set based on experience. It is usually 1/3. However, since shared electric motorcycles are operating in multiple regions at the same time, the situation in each region is different. If a unified battery replacement threshold is set for each region, it will inevitably cause the power of electric motorcycles in some regions to be wasted, while the power of electric motorcycles in some regions is often insufficient. Therefore, the current battery replacement threshold set by experience has the problem of low accuracy.

发明内容Summary of the invention

基于此,有必要针对上述技术问题,提供一种电单车换电阈值的确定方法、装置及计算机设备。Based on this, it is necessary to provide a method, device and computer equipment for determining the battery replacement threshold of an electric motorcycle in response to the above technical problems.

第一方面,本申请提供了一种电单车换电阈值的确定方法。所述方法包括:In a first aspect, the present application provides a method for determining a battery replacement threshold for an electric motorcycle. The method comprises:

获取历史时间段内,位于目标区域中的各第一样本电单车的各历史订单;Obtaining historical orders of first sample motorcycles located in the target area within a historical time period;

针对任一所述第一样本电单车,基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的功耗权重;For any of the first sample motorcycles, based on each of the historical orders of the first sample motorcycle, determining a power consumption weight of the first sample motorcycle;

分别根据各所述第一样本电单车的历史待机功耗,确定各所述第一样本电单车的日待机功耗;Determining the daily standby power consumption of each of the first sample electric motorcycles according to the historical standby power consumption of each of the first sample electric motorcycles;

根据各所述第一样本电单车的所述功耗权重,及各所述第一样本电单车的日待机功耗,确定待机电量阈值;Determining a standby power threshold according to the power consumption weight of each of the first sample motorcycles and the daily standby power consumption of each of the first sample motorcycles;

根据所述待机电量阈值,及所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的换电阈值。The battery replacement threshold for the target area is determined based on the standby power threshold and the driving parameters of each second sample electric motorcycle in the target area.

在其中一个实施例中,所述基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的功耗权重,包括:In one embodiment, determining the power consumption weight of the first sample electric motorcycle based on each of the historical orders of the first sample electric motorcycle includes:

基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的历史订单量;Determine the historical order volume of the first sample motorcycle based on each of the historical orders of the first sample motorcycle;

确定所述历史订单量所属的订单量区间;Determining the order volume interval to which the historical order volume belongs;

根据所述订单量区间对应的第一预设功耗权重,确定所述第一样本电单车的所述功耗权重,所述第一预设功耗权重与所述订单量区间的边界大小负相关。The power consumption weight of the first sample electric motorcycle is determined according to the first preset power consumption weight corresponding to the order quantity interval, and the first preset power consumption weight is negatively correlated with the boundary size of the order quantity interval.

在其中一个实施例中,所述基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的功耗权重,包括:In one embodiment, determining the power consumption weight of the first sample electric motorcycle based on each of the historical orders of the first sample electric motorcycle includes:

基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的各待机区间;Determining each standby interval of the first sample motorcycle based on each of the historical orders of the first sample motorcycle;

针对任一所述待机区间,根据所述待机区间的长度,确定所述待机区间对应的第二预设功耗权重,所述第二预设功耗权重与所述待机区间的长度正相关;For any of the standby intervals, determining a second preset power consumption weight corresponding to the standby interval according to the length of the standby interval, wherein the second preset power consumption weight is positively correlated with the length of the standby interval;

分别根据各所述待机区间对应的所述第二预设功耗权重,确定所述第一样本电单车对应的功耗权重。The power consumption weight corresponding to the first sample electric motorcycle is determined according to the second preset power consumption weight corresponding to each of the standby intervals.

在其中一个实施例中,所述分别根据各所述第一样本电单车的历史待机功耗,确定各所述第一样本电单车的日待机功耗,包括:In one embodiment, determining the daily standby power consumption of each of the first sample electric motorcycles according to the historical standby power consumption of each of the first sample electric motorcycles includes:

针对任一所述第一样本电单车的任一所述历史待机功耗,确定所述历史待机功耗对应的待机时长;For any of the historical standby power consumptions of any of the first sample electric motorcycles, determining a standby time corresponding to the historical standby power consumption;

针对任一所述第一样本电单车,根据所述第一样本电单车的各所述历史待机功耗及各所述历史待机功耗对应的所述待机时长,确定所述第一样本电单车对应的日待机功耗。For any of the first sample electric motorcycles, the daily standby power consumption corresponding to the first sample electric motorcycle is determined according to each of the historical standby power consumptions of the first sample electric motorcycle and the standby time corresponding to each of the historical standby power consumptions.

在其中一个实施例中,所述根据所述待机电量阈值,及所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的换电阈值,包括:In one embodiment, determining the battery replacement threshold for the target area according to the standby power threshold and the driving parameters of each second sample motorcycle in the target area includes:

根据所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的预期订单量;Determining an expected order volume for the target area according to the driving parameters of each second sample motorcycle in the target area;

根据所述预期订单量及所述待机电量阈值,确定针对所述目标区域的换电阈值,所述换电阈值与所述预期订单量正相关。According to the expected order volume and the standby power threshold, a battery replacement threshold for the target area is determined, and the battery replacement threshold is positively correlated with the expected order volume.

在其中一个实施例中,所述根据所述预期订单量及所述待机电量阈值,确定针对所述目标区域的换电阈值,包括:In one embodiment, determining the battery replacement threshold for the target area according to the expected order volume and the standby power threshold includes:

根据所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的订单耗电量;Determining the power consumption of orders for the target area according to the driving parameters of each second sample motorcycle in the target area;

根据所述订单耗电量、所述预期订单量及所述待机电量阈值,确定针对所述目标区域的换电阈值。The battery replacement threshold for the target area is determined based on the order power consumption, the expected order volume and the standby power threshold.

在其中一个实施例中,所述方法还包括:In one embodiment, the method further comprises:

针对所述目标区域内的任一目标电单车,在所述目标电单车处于行驶状态、且所述目标电单车的当前电量大于所述待机电量阈值、并小于所述换电阈值的情况下,展示第一告警信息,所述第一告警信息用于指示所述目标电单车需要换电;或者,For any target electric motorcycle in the target area, when the target electric motorcycle is in a driving state and the current power of the target electric motorcycle is greater than the standby power threshold and less than the battery replacement threshold, a first alarm message is displayed, wherein the first alarm message is used to indicate that the target electric motorcycle needs to replace the battery; or

在所述目标电单车处于行驶状态、且所述目标电单车的当前电量小于或者等于所述待机电量阈值的情况下,展示第二告警信息,所述第二告警信息用于指示所述目标电单车无法继续行驶。When the target motorcycle is in a driving state and the current power level of the target motorcycle is less than or equal to the standby power threshold, a second warning message is displayed, and the second warning message is used to indicate that the target motorcycle cannot continue to drive.

在其中一个实施例中,所述方法还包括:In one embodiment, the method further comprises:

针对所述目标区域内的任一目标电单车,获取所述目标电单车的电池参数;For any target electric motorcycle in the target area, obtaining battery parameters of the target electric motorcycle;

根据所述目标电单车的所述电池参数、所述目标电单车的电池电量及所述待机电量阈值,确定针对所述目标电单车的电量展示信息,并对所述电量展示信息进行展示。According to the battery parameters of the target electric motorcycle, the battery power of the target electric motorcycle and the standby power threshold, the power display information for the target electric motorcycle is determined, and the power display information is displayed.

第二方面,本申请还提供了一种电单车换电阈值的确定装置。所述装置包括:In a second aspect, the present application also provides a device for determining a battery replacement threshold of an electric motorcycle. The device comprises:

第一获取模块,用于获取历史时间段内,位于目标区域中的各第一样本电单车的各历史订单;A first acquisition module is used to acquire each historical order of each first sample motorcycle located in the target area within a historical time period;

第一确定模块,用于针对任一所述第一样本电单车,基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的功耗权重;A first determination module is used to determine, for any of the first sample motorcycles, a power consumption weight of the first sample motorcycle based on each of the historical orders of the first sample motorcycle;

第二确定模块,用于分别根据各所述第一样本电单车的历史待机功耗,确定各所述第一样本电单车的日待机功耗;A second determination module is used to determine the daily standby power consumption of each of the first sample electric motorcycles according to the historical standby power consumption of each of the first sample electric motorcycles;

第三确定模块,用于根据各所述第一样本电单车的所述功耗权重,及各所述第一样本电单车的日待机功耗,确定待机电量阈值;a third determination module, configured to determine a standby power threshold value according to the power consumption weight of each of the first sample electric motorcycles and the daily standby power consumption of each of the first sample electric motorcycles;

第四确定模块,用于根据所述待机电量阈值,及所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的换电阈值。The fourth determination module is used to determine the battery replacement threshold for the target area based on the standby power threshold and the driving parameters of each second sample electric motorcycle in the target area.

在其中一个实施例中,所述第一确定模块,还用于:In one embodiment, the first determining module is further used to:

基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的历史订单量;Determine the historical order volume of the first sample motorcycle based on each of the historical orders of the first sample motorcycle;

确定所述历史订单量所属的订单量区间;Determining the order volume interval to which the historical order volume belongs;

根据所述订单量区间对应的第一预设功耗权重,确定所述第一样本电单车的所述功耗权重,所述第一预设功耗权重与所述订单量区间的边界大小负相关。The power consumption weight of the first sample electric motorcycle is determined according to the first preset power consumption weight corresponding to the order quantity interval, and the first preset power consumption weight is negatively correlated with the boundary size of the order quantity interval.

在其中一个实施例中,所述第一确定模块,还用于:In one embodiment, the first determining module is further used to:

基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的各待机区间;Determining each standby interval of the first sample motorcycle based on each of the historical orders of the first sample motorcycle;

针对任一所述待机区间,根据所述待机区间的长度,确定所述待机区间对应的第二预设功耗权重,所述第二预设功耗权重与所述待机区间的长度正相关;For any of the standby intervals, determining a second preset power consumption weight corresponding to the standby interval according to the length of the standby interval, wherein the second preset power consumption weight is positively correlated with the length of the standby interval;

分别根据各所述待机区间对应的所述第二预设功耗权重,确定所述第一样本电单车对应的功耗权重。The power consumption weight corresponding to the first sample electric motorcycle is determined according to the second preset power consumption weight corresponding to each of the standby intervals.

在其中一个实施例中,所述第二确定模块,还用于:In one embodiment, the second determining module is further used to:

针对任一所述第一样本电单车的任一所述历史待机功耗,确定所述历史待机功耗对应的待机时长;For any of the historical standby power consumptions of any of the first sample electric motorcycles, determining a standby time corresponding to the historical standby power consumption;

针对任一所述第一样本电单车,根据所述第一样本电单车的各所述历史待机功耗及各所述历史待机功耗对应的所述待机时长,确定所述第一样本电单车对应的日待机功耗。For any of the first sample electric motorcycles, the daily standby power consumption corresponding to the first sample electric motorcycle is determined according to each of the historical standby power consumptions of the first sample electric motorcycle and the standby time corresponding to each of the historical standby power consumptions.

在其中一个实施例中,所述第三确定模块,还用于:In one embodiment, the third determination module is further used to:

根据所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的预期订单量;Determining an expected order volume for the target area according to the driving parameters of each second sample motorcycle in the target area;

根据所述预期订单量及所述待机电量阈值,确定针对所述目标区域的换电阈值,所述换电阈值与所述预期订单量正相关。According to the expected order volume and the standby power threshold, a battery replacement threshold for the target area is determined, and the battery replacement threshold is positively correlated with the expected order volume.

在其中一个实施例中,所述第三确定模块,还用于:In one embodiment, the third determination module is further used to:

根据所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的订单耗电量;Determining the power consumption of orders for the target area according to the driving parameters of each second sample motorcycle in the target area;

根据所述订单耗电量、所述预期订单量及所述待机电量阈值,确定针对所述目标区域的换电阈值。The battery replacement threshold for the target area is determined based on the order power consumption, the expected order volume and the standby power threshold.

在其中一个实施例中,所述装置还包括:In one embodiment, the device further comprises:

第一展示模块,用于针对所述目标区域内的任一目标电单车,在所述目标电单车处于行驶状态、且所述目标电单车的当前电量大于所述待机电量阈值、并小于所述换电阈值的情况下,展示第一告警信息,所述第一告警信息用于指示所述目标电单车需要换电;或者,A first display module is used to display a first warning message for any target motorcycle in the target area when the target motorcycle is in a driving state and the current power of the target motorcycle is greater than the standby power threshold and less than the battery replacement threshold, wherein the first warning message is used to indicate that the target motorcycle needs to be replaced; or

在所述目标电单车处于行驶状态、且所述目标电单车的当前电量小于或者等于所述待机电量阈值的情况下,展示第二告警信息,所述第二告警信息用于指示所述目标电单车无法继续行驶。When the target motorcycle is in a driving state and the current power level of the target motorcycle is less than or equal to the standby power threshold, a second warning message is displayed, and the second warning message is used to indicate that the target motorcycle cannot continue to drive.

在其中一个实施例中,所述装置还包括:In one embodiment, the device further comprises:

第二获取模块,用于针对所述目标区域内的任一目标电单车,获取所述目标电单车的电池参数;A second acquisition module is used to acquire the battery parameters of any target electric motorcycle in the target area;

第二展示模块,用于根据所述目标电单车的所述电池参数、所述目标电单车的电池电量及所述待机电量阈值,确定针对所述目标电单车的电量展示信息,并对所述电量展示信息进行展示。The second display module is used to determine the power display information for the target electric motorcycle according to the battery parameters of the target electric motorcycle, the battery power of the target electric motorcycle and the standby power threshold, and display the power display information.

第三方面,本申请还提供了一种计算机设备。所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以上任一项方法。In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, any one of the above methods is implemented.

第四方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以上任一项方法。In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any of the above methods is implemented.

第五方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现以上任一项方法。In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, any of the above methods is implemented.

上述电单车换电阈值的确定方法、装置及计算机设备,根据第一样本电单车的历史订单确定第一样本电单车的历史待机功耗的可信度,也即功耗权重,进而将第一样本电单车的历史待机功耗换算为日待机功耗,根据功耗权重和日待机功耗计算使得目标区域内各电单车能够维持在待机状态的待机电量阈值,然后根据待机电量阈值和目标区域内各第二样本电单车的行驶参数,确定针对目标区域的换电阈值,以使得运维人员可以对电量处于换电阈值之下的电单车进行换电。本申请实施例根据目标区域中各电单车的情况计算针对目标区域的换电阈值,因此计算出的换电阈值能够反映本区域中各电单车的情况,提高换电阈值的精度。The above-mentioned method, device and computer equipment for determining the battery replacement threshold of electric motorcycles determine the credibility of the historical standby power consumption of the first sample electric motorcycles, that is, the power consumption weight, based on the historical orders of the first sample electric motorcycles, and then convert the historical standby power consumption of the first sample electric motorcycles into daily standby power consumption, and calculate the standby power threshold that enables each electric motorcycle in the target area to maintain a standby state based on the power consumption weight and the daily standby power consumption, and then determine the battery replacement threshold for the target area based on the standby power threshold and the driving parameters of each second sample electric motorcycle in the target area, so that operation and maintenance personnel can replace the battery of the electric motorcycles whose power is below the battery replacement threshold. The embodiment of the present application calculates the battery replacement threshold for the target area based on the situation of each electric motorcycle in the target area, so that the calculated battery replacement threshold can reflect the situation of each electric motorcycle in the area and improve the accuracy of the battery replacement threshold.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为一个实施例中电单车换电阈值的确定方法的流程示意图;FIG1 is a schematic flow chart of a method for determining a battery replacement threshold value for an electric motorcycle in one embodiment;

图2为一个实施例中步骤104的流程示意图;FIG2 is a schematic diagram of a flow chart of step 104 in one embodiment;

图3为一个实施例中步骤104的流程示意图;FIG3 is a schematic diagram of a flow chart of step 104 in one embodiment;

图4为一个实施例中步骤106的流程示意图;FIG4 is a schematic diagram of a flow chart of step 106 in one embodiment;

图5为一个实施例中步骤108的流程示意图;FIG5 is a schematic diagram of a flow chart of step 108 in one embodiment;

图6为一个实施例中步骤504的流程示意图;FIG6 is a schematic diagram of a flow chart of step 504 in one embodiment;

图7为一个实施例中电量低于换电阈值的电单车分布的示意图;FIG7 is a schematic diagram of the distribution of electric motorcycles whose power levels are lower than the battery replacement threshold in one embodiment;

图8为一个实施例中电单车换电阈值的确定方法的流程示意图;FIG8 is a schematic flow chart of a method for determining a battery replacement threshold for an electric motorcycle in one embodiment;

图9为一个实施例中电单车换电阈值的确定装置的结构框图;FIG9 is a structural block diagram of a device for determining a battery replacement threshold value for an electric motorcycle in one embodiment;

图10为一个实施例中计算机设备的内部结构图。FIG. 10 is a diagram showing the internal structure of a computer device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

在一个实施例中,如图1所示,提供了一种电单车换电阈值的确定方法,本实施例以该方法应用于服务器进行举例说明,可以理解的是,该方法也可以应用于终端,还可以应用于包括终端和服务器的系统,并通过终端和服务器的交互实现。本实施例中,该方法包括以下步骤:In one embodiment, as shown in FIG1 , a method for determining a battery replacement threshold of an electric motorcycle is provided. This embodiment is illustrated by applying the method to a server. It is understandable that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

步骤102,获取历史时间段内,位于目标区域中的各第一样本电单车的各历史订单。Step 102, obtaining historical orders of each first sample motorcycle located in the target area within a historical time period.

本申请实施例中,历史时间段是位于当前时间之前的一段时间,例如本日之前的7日,本月之前的一个月等,其具体长度可以由本领域技术人员根据实际需求设置。目标区域是预先设置好的需要计算换电阈值的区域,比如城市之中的一片运营区、一个城市等。第一样本电单车可以从历史时间段内曾经处于过目标区域内的电单车中选取,本领域技术人员可以根据实际需求设定选取第一样本电单车的标准:例如将在目标区域内的停放时间大于时长阈值的电单车作为第一样本电单车,将在目标区域内有过订单的电单车作为第一样本电单车等,本申请实施例对此不作具体限定。第一样本电单车的历史订单是在历史时间段内第一样本电单车产生过的各订单。In the embodiment of the present application, the historical time period is a period of time before the current time, such as the 7 days before today, the month before this month, etc., and its specific length can be set by technical personnel in this field according to actual needs. The target area is a pre-set area where the battery replacement threshold needs to be calculated, such as an operating area in a city, a city, etc. The first sample electric motorcycle can be selected from the electric motorcycles that have been in the target area within the historical time period. Technical personnel in this field can set the standard for selecting the first sample electric motorcycle according to actual needs: for example, the electric motorcycles whose parking time in the target area is greater than the time threshold are taken as the first sample electric motorcycles, and the electric motorcycles that have had orders in the target area are taken as the first sample electric motorcycles, etc. The embodiment of the present application does not make specific limitations on this. The historical orders of the first sample electric motorcycle are the orders generated by the first sample electric motorcycle within the historical time period.

步骤104,针对任一第一样本电单车,基于第一样本电单车的各历史订单,确定第一样本电单车的功耗权重。Step 104: for any first sample electric motorcycle, determine the power consumption weight of the first sample electric motorcycle based on each historical order of the first sample electric motorcycle.

本申请实施例中,由于不同的第一样本电单车情况不同,其数据的可靠性也不同,因此可以为每一个第一样本电单车分别设置一个功耗权重,用于表征该第一样本电单车提供的历史待机功耗的可靠性。In the embodiment of the present application, since different first sample electric motorcycles have different conditions and their data reliability is also different, a power consumption weight can be set for each first sample electric motorcycle to characterize the reliability of the historical standby power consumption provided by the first sample electric motorcycle.

功耗权重可以根据第一样本电单车的历史订单确定:例如,由于停放环境的温度对待机功耗具有影响,故而可以根据第一样本电单车的历史订单,获取到第一样本电单车产生每一个历史待机功耗的地点及时间,进而根据各地点在各时间的温度设置第一样本电单车对应的功耗权重:比如在气温较极端的时刻产生历史待机功耗较多的第一样本电单车对应的功耗权重可以较低,在气温较正常的第一样本电单车对应的功耗权重可以较高。或者由于电池健康状态对待机功耗也具有影响,而使用电单车的频率与电池健康状态相关,因而可以根据第一样本电单车的历史订单的数量推测第一样本电单车的电池健康状态(例如历史订单数量较大的第一样本电单车对应的电池健康状态较低,历史订单数量较小的第一样本电单车对应的电池健康状态较高),进而根据电池健康状态设置各第一样本电单车的功耗权重:比如电池健康状态较差的第一样本电单车功耗权重较低,电池健康状态较好的第一样本电单车功耗权重较高。也可以根据其他标准来设置各第一样本电单车的功耗权重,本申请实施例对此不作具体限定。The power consumption weight can be determined based on the historical orders of the first sample motorcycle: for example, since the temperature of the parking environment has an impact on the standby power consumption, the location and time at which each historical standby power consumption of the first sample motorcycle is generated can be obtained based on the historical orders of the first sample motorcycle, and then the power consumption weight corresponding to the first sample motorcycle can be set according to the temperature of each location at each time: for example, the power consumption weight corresponding to the first sample motorcycle that generates more historical standby power consumption at a time of extreme temperature can be lower, and the power consumption weight corresponding to the first sample motorcycle at a time of normal temperature can be higher. Or, since the battery health status also has an impact on the standby power consumption, and the frequency of using the motorcycle is related to the battery health status, the battery health status of the first sample motorcycle can be inferred based on the number of historical orders of the first sample motorcycle (for example, the battery health status corresponding to the first sample motorcycle with a large number of historical orders is lower, and the battery health status corresponding to the first sample motorcycle with a small number of historical orders is higher), and then the power consumption weight of each first sample motorcycle can be set according to the battery health status: for example, the power consumption weight of the first sample motorcycle with a poor battery health status is lower, and the power consumption weight of the first sample motorcycle with a good battery health status is higher. The power consumption weight of each first sample electric motorcycle may also be set according to other standards, and the embodiment of the present application does not specifically limit this.

步骤106,分别根据各第一样本电单车的历史待机功耗,确定各第一样本电单车的日待机功耗。Step 106 , determining the daily standby power consumption of each first sample electric motorcycle according to the historical standby power consumption of each first sample electric motorcycle.

本申请实施例中,由于换电一般每天进行一次,故而在计算换电阈值时需要考虑电单车的日待机功耗。日待机功耗指的是电单车进行24小时待机所需的功耗。示例性的,可以通过对第一样本电单车的历史待机功耗以及各历史待机功耗对应的待机时长分别求和,进而根据历史待机功耗之和和待机时长之和的比值,计算第一样本电单车的日待机功耗。In the embodiment of the present application, since the battery replacement is generally performed once a day, the daily standby power consumption of the motorcycle needs to be considered when calculating the battery replacement threshold. Daily standby power consumption refers to the power consumption required for the motorcycle to standby for 24 hours. Exemplarily, the daily standby power consumption of the first sample motorcycle can be calculated by summing the historical standby power consumption of the first sample motorcycle and the standby time corresponding to each historical standby power consumption, and then according to the ratio of the sum of the historical standby power consumption and the sum of the standby time.

步骤108,根据各第一样本电单车的功耗权重,及各第一样本电单车的日待机功耗,确定待机电量阈值。Step 108, determining a standby power threshold value according to the power consumption weight of each first sample electric motorcycle and the daily standby power consumption of each first sample electric motorcycle.

本申请实施例中,待机电量阈值用于表征目标区域中的电单车在一日中仅进行待机所需的平均电量。该电量应当大于或者等于目标区域中的电单车的平均日待机功耗。可以根据各第一样本电单车的功耗权重对各第一样本电单车的日待机功耗进行加权求和,进而用求和结果除以第一样本电单车的数量,以此得到平均日待机功耗。可以直接将平均日待机功耗作为待机电量阈值;或者,考虑到在某些面积较大或者电单车分布较为分散的目标区域中,电单车的电池可能无法做到每日更换一次,还可以为每一个目标区域分别设置一个对应的区域系数,使得区域系数与目标区域的面积或者电单车的分散程度正相关,进而将平均日待机功耗与区域系数的乘积作为待机电量阈值,本申请实施例对此不走具体限定。In the embodiment of the present application, the standby power threshold is used to characterize the average power required for the motorcycles in the target area to be in standby mode in a day. The power should be greater than or equal to the average daily standby power consumption of the motorcycles in the target area. The daily standby power consumption of each first sample motorcycle can be weighted and summed according to the power consumption weight of each first sample motorcycle, and then the sum is divided by the number of first sample motorcycles to obtain the average daily standby power consumption. The average daily standby power consumption can be directly used as the standby power threshold; or, considering that in some target areas with larger areas or more dispersed distribution of motorcycles, the battery of the motorcycle may not be replaced once a day, a corresponding regional coefficient can be set for each target area, so that the regional coefficient is positively correlated with the area of the target area or the degree of dispersion of the motorcycles, and then the product of the average daily standby power consumption and the regional coefficient is used as the standby power threshold, and the embodiment of the present application does not specifically limit this.

步骤110,根据待机电量阈值,及目标区域内各第二样本电单车的行驶参数,确定针对目标区域的换电阈值。Step 110, determining the battery replacement threshold for the target area based on the standby power threshold and the driving parameters of each second sample electric motorcycle in the target area.

本申请实施例中,第二样本电单车和第一样本电单车可以是同样的电单车,也可以是不同的电单车。由于待机电量阈值的更新频率可以较慢,而换电阈值最好根据目标区域当前各电单车的行驶情况实时更新,因此第二样本电单车可以是在某一距离当前时间较历史时间段更近的时间段内,处于过目标区域内的电单车。例如若第一样本电单车是在本日前7日中处于过目标区域中的电单车,则第二样本电单车可以是在本日前1日中处于过目标区域中的电单车。In the embodiment of the present application, the second sample motorcycle and the first sample motorcycle can be the same motorcycle or different motorcycles. Since the update frequency of the standby power threshold can be slow, and the battery replacement threshold is preferably updated in real time according to the current driving conditions of each motorcycle in the target area, the second sample motorcycle can be a motorcycle that has been in the target area during a time period that is closer to the current time than the historical time period. For example, if the first sample motorcycle is a motorcycle that has been in the target area within 7 days before today, the second sample motorcycle can be a motorcycle that has been in the target area within 1 day before today.

行驶参数指的是与电单车的每次行驶相关的参数,比如行驶次数、行驶时长、行驶里程、行驶耗电量等。由于运维人员出发抵达电单车所在位置、并对电单车进行换电需要一定时长,因此在电单车的电量已下降至待机电量阈值时才告知运维人员需要对电单车进行换电,会导致在运维人员前来换电之前该电单车完全无法被使用,造成车辆使用效率的下降;因此可以根据行驶参数和待机电量阈值确定一个不低于待机电量阈值的换电阈值,使得换电阈值能够考虑到在向运维人员通报该电单车需要换电至运维人员前来换电的时间段内,电单车仍然处于运营状态、仍然在接收订单所需的电量。Driving parameters refer to parameters related to each driving of the motorcycle, such as the number of driving times, driving duration, mileage, driving power consumption, etc. Since it takes a certain amount of time for the operation and maintenance personnel to set out and arrive at the location of the motorcycle and replace the battery of the motorcycle, the operation and maintenance personnel are notified of the need to replace the battery of the motorcycle until the battery of the motorcycle has dropped to the standby power threshold. This will cause the motorcycle to be completely unusable before the operation and maintenance personnel come to replace the battery, resulting in a decrease in the efficiency of vehicle use; therefore, a battery replacement threshold that is not lower than the standby power threshold can be determined based on the driving parameters and the standby power threshold, so that the battery replacement threshold can take into account the time period from notifying the operation and maintenance personnel that the motorcycle needs to be replaced to the time when the operation and maintenance personnel come to replace the battery, the motorcycle is still in operation and still receiving the power required for the order.

示例性的,可以根据各第二样本电单车的行驶次数,计算目标区域的车效(也即每日的订单量(行驶次数)与该区域所有可用电单车数量的比值),以及根据各第二样本电单车的行驶耗电量,计算目标区域每次订单的平均耗电量,进而根据车效、平均耗电量和待机电量阈值计算换电阈值。比如可以将车效与平均耗电量相乘,进而将相乘的结果与待机电量阈值相加,以此得到换电阈值。或者,考虑到不能使得电单车的电量在用户在进行订单的过程当中下降至待机电量阈值,也可以根据各第二样本电单车的行驶里程,判断处于正常范围内的最长里程(比如可以采用离群点检测算法去除离群点,再取剩余的行驶里程中的最长里程,或者采用统计学方法得到该最长里程,本申请实施例对此不作具体限定),然后将最长里程对应的耗电量与待机电量阈值相加得到换电阈值。此外,还可以通过为每一个车效赋予一个系数,将目标区域的车效对应的系数与待机电量阈值的乘积作为换电阈值等,本申请实施例对此不作具体限定。Exemplarily, the vehicle efficiency of the target area (that is, the ratio of the daily order volume (number of trips) to the number of all available motorcycles in the area) can be calculated based on the number of trips of each second sample motorcycle, and the average power consumption of each order in the target area can be calculated based on the power consumption of each second sample motorcycle, and then the battery replacement threshold can be calculated based on the vehicle efficiency, average power consumption and standby power threshold. For example, the vehicle efficiency can be multiplied by the average power consumption, and the result of the multiplication can be added to the standby power threshold to obtain the battery replacement threshold. Alternatively, considering that the power of the motorcycle cannot be reduced to the standby power threshold while the user is placing an order, the longest mileage within the normal range can also be determined based on the mileage of each second sample motorcycle (for example, an outlier detection algorithm can be used to remove outliers, and then the longest mileage in the remaining mileage can be taken, or the longest mileage can be obtained by a statistical method, and the embodiment of the present application does not specifically limit this), and then the power consumption corresponding to the longest mileage is added to the standby power threshold to obtain the battery replacement threshold. In addition, by assigning a coefficient to each vehicle efficiency, the product of the coefficient corresponding to the vehicle efficiency in the target area and the standby power threshold can be used as the battery replacement threshold, etc. The embodiment of the present application does not make specific limitations on this.

确定针对目标区域的换电阈值后,服务器可以持续监控目标区域内各电单车上传的当前电量,并在有电单车的当前电量小于换电阈值时将该电单车推送给运维人员,使得运维人员对电单车执行换电。换电阈值可以定期进行更新,比如一周或一月更新一次,以适应目标区域内电单车最新的使用情况。After determining the battery replacement threshold for the target area, the server can continuously monitor the current power uploaded by each motorcycle in the target area, and push the motorcycle to the operation and maintenance personnel when the current power of the motorcycle is less than the battery replacement threshold, so that the operation and maintenance personnel can perform battery replacement on the motorcycle. The battery replacement threshold can be updated regularly, such as once a week or a month, to adapt to the latest usage of motorcycles in the target area.

本申请实施例提供的电单车换电阈值的确定方法,根据第一样本电单车的历史订单确定第一样本电单车的历史待机功耗的可信度,也即功耗权重,进而将第一样本电单车的历史待机功耗换算为日待机功耗,根据功耗权重和日待机功耗计算使得目标区域内各电单车能够维持在待机状态的待机电量阈值,然后根据待机电量阈值和目标区域内各第二样本电单车的行驶参数,确定针对目标区域的换电阈值,以使得运维人员可以对电量处于换电阈值之下的电单车进行换电。本申请实施例根据目标区域中各电单车的情况计算针对目标区域的换电阈值,因此计算出的换电阈值能够反映本区域中各电单车的情况,提高换电阈值的精度。The method for determining the threshold value for battery replacement of electric motorcycles provided in the embodiment of the present application determines the credibility of the historical standby power consumption of the first sample electric motorcycle based on the historical orders of the first sample electric motorcycle, that is, the power consumption weight, and then converts the historical standby power consumption of the first sample electric motorcycle into daily standby power consumption, and calculates the standby power threshold that enables each electric motorcycle in the target area to maintain a standby state based on the power consumption weight and the daily standby power consumption, and then determines the battery replacement threshold for the target area based on the standby power threshold and the driving parameters of each second sample electric motorcycle in the target area, so that operation and maintenance personnel can replace the battery of the electric motorcycle whose power is below the battery replacement threshold. The embodiment of the present application calculates the battery replacement threshold for the target area based on the situation of each electric motorcycle in the target area, so that the calculated battery replacement threshold can reflect the situation of each electric motorcycle in the area and improve the accuracy of the battery replacement threshold.

在一个实施例中,如图2所示,步骤104中,基于第一样本电单车的各历史订单,确定第一样本电单车的功耗权重,包括:In one embodiment, as shown in FIG. 2 , in step 104 , based on each historical order of the first sample motorcycle, determining the power consumption weight of the first sample motorcycle includes:

步骤202,基于第一样本电单车的各历史订单,确定第一样本电单车的历史订单量。Step 202, based on the historical orders of the first sample motorcycle, determine the historical order volume of the first sample motorcycle.

步骤204,确定历史订单量所属的订单量区间。Step 204: determine the order quantity interval to which the historical order quantity belongs.

步骤206,根据订单量区间对应的第一预设功耗权重,确定第一样本电单车的功耗权重,第一预设功耗权重与订单量区间的边界大小负相关。Step 206, determining the power consumption weight of the first sample motorcycle according to the first preset power consumption weight corresponding to the order quantity interval, wherein the first preset power consumption weight is negatively correlated with the boundary size of the order quantity interval.

本申请实施例中,考虑到电单车在完成订单后需要向服务器上传本次订单的数据并进行一些后台运算活动,且由于此时电单车处于待机状态,这部分耗电会被计算在待机功耗中,造成待机功耗不能如实反映电单车实际待机所需的功耗,因此可以通过历史订单量(历史订单的数量)对第一样本电单车的功耗权重进行设置,以通过功耗权重消除订单量对第一样本电单车提供的历史待机功耗准确性的影响。In the embodiment of the present application, considering that the electric motorcycle needs to upload the data of the order to the server and perform some background computing activities after completing the order, and because the electric motorcycle is in standby state at this time, this part of the power consumption will be calculated in the standby power consumption, resulting in the standby power consumption not being able to truly reflect the power consumption required for the actual standby of the electric motorcycle. Therefore, the power consumption weight of the first sample electric motorcycle can be set according to the historical order volume (the number of historical orders) to eliminate the influence of the order volume on the accuracy of the historical standby power consumption provided by the first sample electric motorcycle through the power consumption weight.

订单量区间可以是预先划分好的,也可以根据各第一样本电单车的历史订单量进行划分。每个订单量区间的长度应当至少为1。在实时根据历史订单量划分订单量区间的情况下,由于第一样本电单车越多,上传数据导致的历史待机功耗不准的影响就越小,因此可以使得订单量区间的长度和第一样本电单车的数量成反比。The order volume intervals may be pre-divided or divided according to the historical order volume of each first sample motorcycle. The length of each order volume interval should be at least 1. In the case of dividing the order volume intervals according to the historical order volume in real time, the more first sample motorcycles there are, the smaller the impact of the inaccurate historical standby power consumption caused by uploading data, so the length of the order volume interval can be inversely proportional to the number of first sample motorcycles.

示例性的,由于历史订单量为0的第一样本电单车的历史待机功耗最准确,因此可以首先划分一个为[0,1)(订单量小于1且大于等于0)的订单量区间,将该订单量区间的第一预设功耗权重设置为1。在预先划分订单量区间的情况下,可以根据各订单量区间的边界大小(可以是左边界或右边界)设置各订单量区间的第一预设功耗权重,以使得第一预设功耗权重和边界大小负相关。比如若预先划分的各订单量区间是[0,1)、[1,2)、[2,3),则[1,2)的第一预设功耗权重可以是0.98,[2,3)的第一预设功耗权重可以是0.96。在实时根据历史订单量划分订单量区间的情况下,可以对各订单量区间按照边界大小由小至大排序,然后根据预先设置好的第一预设功耗权重与排列顺序的关系,确定各订单量区间对应的第一预设功耗权重:例如可以预先设置排列在队列第1位的订单量区间对应的第一预设功耗权重是1,第2位对应0.98、第3位对应0.96……若划分出的各订单量区间按照边界大小由小至大排序的结果为[0,1)、[1,4)、[4,7),则可以使得订单量区间[0,1)的第一预设功耗权重是1,订单量区间[1,4)的第一预设功耗权重是0.98,订单量区间[4,7)的第一预设功耗权重是0.96。也可以使用其他方式确定第一预设功耗权重,本申请实施例对此不作具体限定。Exemplarily, since the historical standby power consumption of the first sample motorcycle with a historical order volume of 0 is the most accurate, an order volume interval of [0,1) (the order volume is less than 1 and greater than or equal to 0) can be first divided, and the first preset power consumption weight of the order volume interval can be set to 1. In the case of pre-dividing the order volume interval, the first preset power consumption weight of each order volume interval can be set according to the boundary size of each order volume interval (which can be the left boundary or the right boundary), so that the first preset power consumption weight is negatively correlated with the boundary size. For example, if the pre-divided order volume intervals are [0,1), [1,2), [2,3), the first preset power consumption weight of [1,2) can be 0.98, and the first preset power consumption weight of [2,3) can be 0.96. In the case of dividing the order volume intervals according to the historical order volume in real time, each order volume interval can be sorted from small to large according to the boundary size, and then the first preset power consumption weight corresponding to each order volume interval can be determined according to the relationship between the preset first preset power consumption weight and the arrangement order: for example, the first preset power consumption weight corresponding to the order volume interval arranged in the first position of the queue can be preset to be 1, the second position corresponds to 0.98, the third position corresponds to 0.96... If the divided order volume intervals are sorted from small to large according to the boundary size, the result is [0,1), [1,4), [4,7), then the first preset power consumption weight of the order volume interval [0,1) can be 1, the first preset power consumption weight of the order volume interval [1,4) can be 0.98, and the first preset power consumption weight of the order volume interval [4,7) can be 0.96. The first preset power consumption weight can also be determined in other ways, and the embodiments of the present application do not specifically limit this.

确定订单量区间后,可以统计第一样本电单车的历史订单的数量,得到历史订单量,进而将第一样本电单车的历史订单量所属的订单量区间对应的第一预设功耗权重,作为第一样本电单车对应的功耗权重。After determining the order volume range, the number of historical orders of the first sample motorcycle can be counted to obtain the historical order volume, and then the first preset power consumption weight corresponding to the order volume range to which the historical order volume of the first sample motorcycle belongs can be used as the power consumption weight corresponding to the first sample motorcycle.

本申请实施例提供的电单车换电阈值的确定方法,根据第一样本电单车的历史订单量所属的订单量区间的第一预设功耗权重,确定第一样本电单车对应的功耗权重,且第一预设功耗权重和订单量区间的边界大小负相关。由于订单量越多,电单车在订单结束后上传数据使用的电量就越多,电单车的历史待机功耗就越不准确,因此使得第一预设功耗权重和订单量区间负相关,可以使得订单量越大的电单车在最终计算待机功耗阈值时所占的比重越小,提高待机功耗阈值的准确性,进而提高换电阈值的准确性。The method for determining the threshold value for battery replacement of electric motorcycles provided in the embodiment of the present application determines the power consumption weight corresponding to the first sample electric motorcycle according to the first preset power consumption weight of the order volume interval to which the historical order volume of the first sample electric motorcycle belongs, and the first preset power consumption weight is negatively correlated with the boundary size of the order volume interval. Since the more orders there are, the more power the electric motorcycle uses to upload data after the order is completed, and the less accurate the historical standby power consumption of the electric motorcycle is, so the first preset power consumption weight is negatively correlated with the order volume interval, which can make the proportion of electric motorcycles with larger order volumes smaller in the final calculation of the standby power consumption threshold, thereby improving the accuracy of the standby power consumption threshold and further improving the accuracy of the battery replacement threshold.

在一个实施例中,如图3所示,步骤104中,基于第一样本电单车的各历史订单,确定第一样本电单车的功耗权重,包括:In one embodiment, as shown in FIG3 , in step 104 , based on each historical order of the first sample motorcycle, determining the power consumption weight of the first sample motorcycle includes:

步骤302,基于第一样本电单车的各历史订单,确定第一样本电单车的各待机区间。Step 302, based on the historical orders of the first sample motorcycle, determine the standby intervals of the first sample motorcycle.

步骤304,针对任一待机区间,根据待机区间的长度,确定待机区间对应的第二预设功耗权重,第二预设功耗权重待机区间的长度正相关。Step 304: for any standby interval, determine a second preset power consumption weight corresponding to the standby interval according to the length of the standby interval, and the second preset power consumption weight is positively correlated with the length of the standby interval.

步骤306,分别根据各待机区间对应的第二预设功耗权重,确定第一样本电单车对应的功耗权重。Step 306, determining the power consumption weight corresponding to the first sample motorcycle according to the second preset power consumption weight corresponding to each standby interval.

本申请实施例中,由于电单车待机时间越长,向服务器上传数据对本次待机功耗准确性造成的影响就越小,因此可以针对第一样本电单车的每一次待机时长分别计算一个功耗权重,然后根据各待机时长的功耗权重得到针对第一样本电单车的功耗权重。In an embodiment of the present application, since the longer the standby time of the motorcycle, the smaller the impact of uploading data to the server on the accuracy of the standby power consumption, a power consumption weight can be calculated for each standby time of the first sample motorcycle, and then the power consumption weight for the first sample motorcycle can be obtained based on the power consumption weights of each standby time.

示例性的,可以根据第一样本电单车的各历史订单,计算出第一样本电单车不处于有订单的运行状态的时间,也即待机区间,并得到各待机区间的长度。可以预先设置一个待机区间的长度和第二预设功耗权重的关系公式,然后将待机区间的长度代入该公式中,计算得到待机区间的第二预设功耗权重;或者也可以预先设置数个长度区间,为每个长度区间设置一个第二预设功耗权重,再将待机区间的长度所属的长度区间对应的第二预设功耗权重,作为待机区间对应的第二预设功耗权重。Exemplarily, the time during which the first sample motorcycle is not in an order-carrying operation state, i.e., the standby interval, can be calculated based on each historical order of the first sample motorcycle, and the length of each standby interval can be obtained. A relationship formula between the length of the standby interval and the second preset power consumption weight can be pre-set, and then the length of the standby interval can be substituted into the formula to calculate the second preset power consumption weight of the standby interval; or several length intervals can be pre-set, and a second preset power consumption weight can be set for each length interval, and then the second preset power consumption weight corresponding to the length interval to which the length of the standby interval belongs can be used as the second preset power consumption weight corresponding to the standby interval.

可以根据各待机区间对应的第二预设功耗权重得到第一样本电单车对应的功耗权重,比如将各第二预设功耗权重的平均值作为功耗权重、将各第二预设功耗权重的中位数作为功耗权重,本申请实施例对此不作具体限定。The power consumption weight corresponding to the first sample electric motorcycle can be obtained according to the second preset power consumption weight corresponding to each standby interval. For example, the average value of each second preset power consumption weight is used as the power consumption weight, and the median of each second preset power consumption weight is used as the power consumption weight. The embodiment of the present application does not make any specific limitation on this.

以具体示例举例说明,由于待机区间的长度在12小时及以上时,发送数据的耗电量就可以忽略不计,因此可以将长度为12小时及以上的待机区间对应的第二预设功耗权重设置为1。可以设置其他待机区间的长度与第二预设功耗权重的关系公式为第二预设功耗权重=待机区间的长度×(1/60)+0.8,以使得待机区间的长度和第二预设功耗权重成正比。Taking a specific example, since the power consumption of sending data can be ignored when the length of the standby interval is 12 hours or more, the second preset power consumption weight corresponding to the standby interval with a length of 12 hours or more can be set to 1. The relationship formula between the length of other standby intervals and the second preset power consumption weight can be set as second preset power consumption weight = length of standby interval × (1/60) + 0.8, so that the length of the standby interval is proportional to the second preset power consumption weight.

以历史时间段为本日之前的2日,第一样本电单车在第1日的23时至第2日的5时产生历史待机功耗1,在第2日的7时至8时产生历史待机功耗2为例进行说明,历史待机功耗1对应的待机区间1的长度为6小时,历史待机功耗2对应的待机区间2的长度为1小时。根据上述公式可得待机区间1的第二预设功耗权重为0.9,待机区间2的第二预设功耗权重为0.82。可以将待机区间1和待机区间2的第二预设功耗权重进行平均,得到第一样本电单车的功耗权重0.86。Taking the historical time period of 2 days before today, the first sample motorcycle generated historical standby power consumption 1 from 23:00 on the first day to 5:00 on the second day, and generated historical standby power consumption 2 from 7:00 to 8:00 on the second day as an example for explanation, the length of standby interval 1 corresponding to historical standby power consumption 1 is 6 hours, and the length of standby interval 2 corresponding to historical standby power consumption 2 is 1 hour. According to the above formula, the second preset power consumption weight of standby interval 1 is 0.9, and the second preset power consumption weight of standby interval 2 is 0.82. The second preset power consumption weights of standby interval 1 and standby interval 2 can be averaged to obtain the power consumption weight of the first sample motorcycle of 0.86.

本申请实施例提供的电单车换电阈值的确定方法,根据第一样本电单车的各待机区间的长度确定各待机区间的第二预设功耗权重,并根据各第二预设功耗权重确定第一样本电单车对应的功耗权重,且第二预设功耗权重和待机区间的长度大小正相关。由于待机时间越长,电单车在订单结束后上传数据使用的电量对待机功耗的影响就越小,电单车的历史待机功耗就越准确,因此使得第二预设功耗权重和待机区间的长度正相关,可以使得待机区间的长度较大的电单车在最终计算待机功耗阈值时所占的比重越大,提高待机功耗阈值的准确性,进而提高换电阈值的准确性。The method for determining the battery replacement threshold of an electric motorcycle provided in the embodiment of the present application determines the second preset power consumption weight of each standby interval according to the length of each standby interval of the first sample electric motorcycle, and determines the power consumption weight corresponding to the first sample electric motorcycle according to each second preset power consumption weight, and the second preset power consumption weight is positively correlated with the length of the standby interval. Since the longer the standby time, the smaller the impact of the power used by the electric motorcycle to upload data after the order is completed on the standby power consumption, and the more accurate the historical standby power consumption of the electric motorcycle, the second preset power consumption weight is positively correlated with the length of the standby interval, which can make the proportion of electric motorcycles with longer standby intervals larger in the final calculation of the standby power consumption threshold, thereby improving the accuracy of the standby power consumption threshold, and then improving the accuracy of the battery replacement threshold.

在一个实施例中,如图4所示,步骤106中,分别根据各第一样本电单车的历史待机功耗,确定各第一样本电单车的日待机功耗,包括:In one embodiment, as shown in FIG. 4 , in step 106 , determining the daily standby power consumption of each first sample electric motorcycle according to the historical standby power consumption of each first sample electric motorcycle includes:

步骤402,针对任一第一样本电单车的任一历史待机功耗,确定历史待机功耗对应的待机时长。Step 402, for any historical standby power consumption of any first sample electric motorcycle, determine the standby time corresponding to the historical standby power consumption.

步骤404,针对任一第一样本电单车,根据第一样本电单车的各历史待机功耗及各历史待机功耗对应的待机时长,确定第一样本电单车对应的日待机功耗。Step 404, for any first sample electric motorcycle, determine the daily standby power consumption corresponding to the first sample electric motorcycle according to each historical standby power consumption of the first sample electric motorcycle and the standby time corresponding to each historical standby power consumption.

本申请实施例中,可以获取第一样本电单车每一个历史待机功耗分别对应的待机时长,进而据此计算第一样本电单车的日待机功耗。In the embodiment of the present application, the standby time corresponding to each historical standby power consumption of the first sample electric motorcycle can be obtained, and then the daily standby power consumption of the first sample electric motorcycle can be calculated based on this.

示例性的,针对每一个第一样本电单车,可以根据该第一样本电单车产生的每一个历史待机功耗对应的待机时间,计算第一样本电单车每日的实际待机功耗。例如,若历史时间段为本日之前的2日,第一样本电单车在第1日的23时至第2日的5时产生历史待机功耗1,在第2日的7时至8时产生历史待机功耗2,则第一样本电单车在第1日的实际待机功耗即为1/6×历史待机功耗1,在第2日的实际待机功耗即为5/6×历史待机功耗1+历史待机功耗2。Exemplarily, for each first sample motorcycle, the actual standby power consumption of the first sample motorcycle per day can be calculated based on the standby time corresponding to each historical standby power consumption generated by the first sample motorcycle. For example, if the historical time period is 2 days before today, the first sample motorcycle generates a historical standby power consumption of 1 from 23:00 on the first day to 5:00 on the second day, and generates a historical standby power consumption of 2 from 7:00 to 8:00 on the second day, then the actual standby power consumption of the first sample motorcycle on the first day is 1/6×historical standby power consumption 1, and the actual standby power consumption on the second day is 5/6×historical standby power consumption 1+historical standby power consumption 2.

得到第一样本电单车每日的实际待机功耗后,可以根据第一样本电单车在每日的实际待机时长来计算日待机功耗。可以将实际待机功耗和实际待机时长的比值作为第一样本电单车的每小时待机功耗,进而将每小时待机功耗乘以每日的小时数(24)得到日待机功耗。以上述示例而言,第一样本电单车第1日的日待机功耗为24×(1/6×历史待机功耗1)/1,第2日的日待机功耗为24×(5/6×历史待机功耗1+历史待机功耗2)/6。After obtaining the actual standby power consumption of the first sample motorcycle every day, the daily standby power consumption can be calculated according to the actual standby time of the first sample motorcycle every day. The ratio of the actual standby power consumption and the actual standby time can be used as the hourly standby power consumption of the first sample motorcycle, and then the hourly standby power consumption can be multiplied by the number of hours per day (24) to obtain the daily standby power consumption. Taking the above example, the daily standby power consumption of the first sample motorcycle on the first day is 24×(1/6×historical standby power consumption 1)/1, and the daily standby power consumption on the second day is 24×(5/6×historical standby power consumption 1+historical standby power consumption 2)/6.

本申请实施例提供的电单车换电阈值的确定方法,根据第一样本电单车的各历史待机功耗对应的待机时长,计算第一样本电单车24小时待机所需的耗电量(日待机功耗),以使得可以根据日待机功耗计算得到待机电量阈值。由于换电一般一日进行一次,因此根据日待机功耗计算待机电量阈值,可以确保在电单车的电量下降至每日待机所需的最低电量之前,服务器便通知运维人员对电单车进行换电,避免出现电单车电量耗尽而导致无法再定位电单车的情况,提高待机电量阈值和换电阈值的准确性。The method for determining the threshold value of battery replacement for an electric motorcycle provided in the embodiment of the present application calculates the power consumption (daily standby power consumption) required for 24-hour standby of the first sample electric motorcycle according to the standby time corresponding to each historical standby power consumption of the first sample electric motorcycle, so that the standby power threshold can be calculated based on the daily standby power consumption. Since battery replacement is generally performed once a day, the standby power threshold is calculated based on the daily standby power consumption to ensure that before the power of the electric motorcycle drops to the minimum power required for daily standby, the server will notify the operation and maintenance personnel to replace the battery of the electric motorcycle, avoiding the situation where the electric motorcycle is exhausted and cannot be located, thereby improving the accuracy of the standby power threshold and the battery replacement threshold.

在一个实施例中,如图5所示,步骤108中,根据待机电量阈值,及目标区域内各第二样本电单车的行驶参数,确定针对目标区域的换电阈值,包括:In one embodiment, as shown in FIG5 , in step 108 , according to the standby power threshold and the driving parameters of each second sample motorcycle in the target area, the battery replacement threshold for the target area is determined, including:

步骤502,根据目标区域内各第二样本电单车的行驶参数,确定针对目标区域的预期订单量。Step 502, determining the expected order volume for the target area based on the driving parameters of each second sample motorcycle in the target area.

步骤504,根据预期订单量及待机电量阈值,确定针对目标区域的换电阈值,换电阈值与预期订单量正相关。Step 504, determine the battery replacement threshold for the target area based on the expected order volume and the standby power threshold, and the battery replacement threshold is positively correlated with the expected order volume.

本申请实施例中,为使得在电单车的电量下降至换电阈值以下、运维人员出发对电单车进行换电的同时电单车还能继续进行运营,可以根据各第二样本电单车预测得到目标区域的预期订单量,并根据预期订单量设置换电阈值。预期订单量指的是目标区域每辆电单车每日平均能够接收的订单数量。In the embodiment of the present application, in order to ensure that the motorcycle can continue to operate when the power of the motorcycle drops below the battery replacement threshold and the operation and maintenance personnel set out to replace the battery of the motorcycle, the expected order volume of the target area can be predicted based on each second sample motorcycle, and the battery replacement threshold can be set according to the expected order volume. The expected order volume refers to the average number of orders that each motorcycle in the target area can receive per day.

示例性的,可以根据各第二样本电单车的行驶参数中的行驶次数,计算得到目标区域每日的车效(也即每日各第二样本电单车的行驶次数之和与第二样本电单车数量的比值),进而根据每日车效的变化趋势预测本日的预期订单量(比如使用训练好的神经网络进行预测、或是根据推导得到的车效与时间变化的关系进行预测等)。或者也可以将目标区域一段时间之内的车效进行平均,得到本日的预期订单量,本申请实施例对此不作具体限定。For example, the daily vehicle efficiency of the target area can be calculated based on the number of trips in the driving parameters of each second sample motorcycle (that is, the ratio of the sum of the number of trips of each second sample motorcycle per day to the number of second sample motorcycles), and then the expected order volume of the day can be predicted based on the change trend of the daily vehicle efficiency (for example, using a trained neural network for prediction, or predicting based on the relationship between the derived vehicle efficiency and time change, etc.). Alternatively, the vehicle efficiency of the target area within a period of time can be averaged to obtain the expected order volume of the day, which is not specifically limited in the embodiments of the present application.

可以针对每一个预期订单量均设置一个系数,进而将该系数与待机电量阈值相乘,得到目标区域的换电阈值。或者也可以通过其他方式确定目标区域的换电阈值,本申请实施例对此不作具体限定。A coefficient can be set for each expected order volume, and then the coefficient is multiplied by the standby power threshold to obtain the battery replacement threshold of the target area. Alternatively, the battery replacement threshold of the target area can be determined by other methods, which is not specifically limited in the embodiments of the present application.

需要说明的是,由于用户骑行电单车的意愿通常会和电单车的剩余电量相关,因此还可以基于各第二样本电单车的行驶参数,对确定好的换电阈值进行部分调整。例如可以获取各第二样本电单车在每次开始行驶时的电量,进而统计开始行驶时电量位于换电阈值附近的行驶次数的总数,与全部行驶次数的和的比值。若该比值过小(比如小于某个预设的阈值,例如0.2),则表明换电阈值过低,将换电阈值设置在此数值上反而会降低电单车的利用率,因此可以适当上调换电阈值并重新计算上述比值,直至上述比值满足要求为止。It should be noted that, since the user's willingness to ride an electric motorcycle is usually related to the remaining power of the electric motorcycle, the determined battery replacement threshold can also be partially adjusted based on the driving parameters of each second sample electric motorcycle. For example, the power of each second sample electric motorcycle at the beginning of each trip can be obtained, and then the total number of times the power is near the battery replacement threshold at the beginning of the trip is counted, and the ratio of the total number of times the trip is near the battery replacement threshold to the sum of all trips. If the ratio is too small (for example, less than a preset threshold, such as 0.2), it means that the battery replacement threshold is too low, and setting the battery replacement threshold at this value will reduce the utilization rate of the motorcycle. Therefore, the battery replacement threshold can be appropriately adjusted and the above ratio can be recalculated until the above ratio meets the requirements.

本申请实施例提供的电单车换电阈值的确定方法,根据行驶参数确定预期订单量,进而根据预期订单量和待机电量阈值设置换电阈值,以使得电单车的电量在下降至换电阈值以下、但还位于待机电量阈值以上时可以继续运营,提高电单车的利用率。The method for determining the battery replacement threshold of an electric motorcycle provided in the embodiment of the present application determines the expected order volume based on driving parameters, and then sets the battery replacement threshold based on the expected order volume and the standby power threshold, so that the electric motorcycle can continue to operate when the power level drops below the battery replacement threshold but is still above the standby power threshold, thereby improving the utilization rate of the electric motorcycle.

在一个实施例中,如图6所示,步骤504中,根据预期订单量及待机电量阈值,确定针对目标区域的换电阈值,包括:In one embodiment, as shown in FIG6 , in step 504, determining a battery replacement threshold for a target area according to the expected order volume and the standby power threshold includes:

步骤602,根据目标区域内各第二样本电单车的行驶参数,确定针对目标区域的订单耗电量。Step 602, determining the power consumption of orders for the target area according to the driving parameters of each second sample motorcycle in the target area.

步骤604,根据订单耗电量、预期订单量及待机电量阈值,确定针对目标区域的换电阈值。Step 604, determine the battery replacement threshold for the target area based on the order power consumption, expected order volume and standby power threshold.

本申请实施例中,可以计算目标区域中各电单车完成一次订单预期所需要的订单耗电量,进而根据订单耗电量、预期订单量及待机电量阈值确定换电阈值。In an embodiment of the present application, the order power consumption required for each electric motorcycle in the target area to complete an order can be calculated, and then the battery replacement threshold can be determined based on the order power consumption, the expected order volume and the standby power threshold.

示例性的,可以获取行驶参数中的行驶耗电量,并取行驶耗电量的平均值作为订单耗电量。或者,考虑到应当确保用户能够顺利进行中长途订单,在使用电单车时电量不应降低至待机电量阈值以下,还可以获取各行驶耗电量对应的行驶里程,并将行驶里程大于里程阈值的行驶耗电量的平均值作为订单耗电量,本申请实施例对此不作具体限定。For example, the driving power consumption in the driving parameters can be obtained, and the average value of the driving power consumption can be taken as the order power consumption. Alternatively, considering that it should be ensured that users can smoothly carry out medium and long-distance orders, the power should not drop below the standby power threshold when using the motorcycle, and the mileage corresponding to each driving power consumption can also be obtained, and the average value of the driving power consumption with a mileage greater than the mileage threshold can be taken as the order power consumption. This embodiment of the application does not specifically limit this.

可以根据预期订单量,估算在电单车的电量下降至换电阈值以下时的订单量(比如预期订单量的1/2、1/3),并将该订单量和订单耗电量相乘,再将相乘的结果和待机电量阈值求和得到换电阈值。或者也可以参照前述实施例中的方法,根据各第二样本电单车的行驶参数,确定在电单车的电量下降到换电阈值附近时的行驶次数的总数,与全部行驶次数的和的比值,并根据该比值和预期订单量的乘积得到在电单车的电量下降至换电阈值以下时的订单量,再将该订单量和订单耗电量相乘,并将相乘的结果和待机电量阈值求和得到换电阈值。也可以通过其他的方式计算得到换电阈值,本申请实施例对此不作具体限定。Based on the expected order volume, the order volume when the battery power of the motorcycle drops below the battery replacement threshold (for example, 1/2 or 1/3 of the expected order volume) can be estimated, and the order volume and the order power consumption can be multiplied, and the multiplication result and the standby power threshold can be summed to obtain the battery replacement threshold. Alternatively, the method in the aforementioned embodiment can be referred to, and the total number of driving times when the battery power of the motorcycle drops to near the battery replacement threshold can be determined according to the driving parameters of each second sample motorcycle, and the ratio of the total number of driving times to the sum of all driving times can be determined, and the order volume when the battery power of the motorcycle drops below the battery replacement threshold can be obtained according to the product of the ratio and the expected order volume, and the order volume and the order power consumption can be multiplied, and the multiplication result and the standby power threshold can be summed to obtain the battery replacement threshold. The battery replacement threshold can also be calculated by other methods, and the embodiments of the present application do not specifically limit this.

参照图7所示,为本申请实施例的效果图。图7中横轴指的是电单车的剩余电量,纵轴指的是拥有该剩余电量的电单车的数量占全部电单车的数量之比。在现有技术中,一般将换电阈值设置在44%,也即图中的横框①所覆盖的各电单车,造成较大浪费。而通过本申请实施例提供的方案,可以针对不同城市计算不同的换电阈值(从图中可见,针对A城市为21%,针对B城市为22%),将需要换电的电单车压缩至竖框②覆盖的范围,极大提高电单车的利用率。Refer to Figure 7, which is a rendering of an embodiment of the present application. The horizontal axis in Figure 7 refers to the remaining power of the motorcycle, and the vertical axis refers to the ratio of the number of motorcycles with this remaining power to the total number of motorcycles. In the prior art, the battery replacement threshold is generally set at 44%, that is, the motorcycles covered by the horizontal frame ① in the figure, resulting in a large waste. However, through the solution provided in the embodiment of the present application, different battery replacement thresholds can be calculated for different cities (as can be seen from the figure, 21% for City A and 22% for City B), and the motorcycles that need to be replaced are compressed to the range covered by the vertical frame ②, greatly improving the utilization rate of the motorcycles.

本申请实施例提供的电单车换电阈值的确定方法,根据行驶参数确定订单耗电量,进而根据预期订单量、订单耗电量和待机电量阈值设置换电阈值,以使得电单车的电量在下降至换电阈值以下、但还位于待机电量阈值以上时可以继续运营,提高电单车的利用率。The method for determining the battery replacement threshold of an electric motorcycle provided in the embodiment of the present application determines the order power consumption based on the driving parameters, and then sets the battery replacement threshold based on the expected order volume, order power consumption and the standby power threshold, so that the electric motorcycle can continue to operate when the power level drops below the battery replacement threshold but is still above the standby power threshold, thereby improving the utilization rate of the electric motorcycle.

在一个实施例中,上述方法还包括:In one embodiment, the method further includes:

针对目标区域内的任一目标电单车,在目标电单车处于行驶状态、且目标电单车的当前电量大于待机电量阈值、并小于换电阈值的情况下,展示第一告警信息,第一告警信息用于指示目标电单车需要换电。或者,For any target motorcycle in the target area, when the target motorcycle is in driving state and the current power of the target motorcycle is greater than the standby power threshold and less than the battery replacement threshold, the first warning information is displayed, and the first warning information is used to indicate that the target motorcycle needs to replace the battery. Or,

在目标电单车处于行驶状态、且目标电单车的当前电量小于或者等于待机电量阈值的情况下,展示第二告警信息,第二告警信息用于指示目标电单车无法继续行驶。When the target motorcycle is in a driving state and the current power of the target motorcycle is less than or equal to the standby power threshold, a second warning message is displayed, and the second warning message is used to indicate that the target motorcycle cannot continue to drive.

本申请实施例中,在确定换电阈值和待机电量阈值后,当用户使用目标区域中的任一目标电单车时,服务器可以根据目标电单车上传的实时电量(当前电量)对目标电单车进行监控。当目标电单车的当前电量小于换电阈值、但大于待机电量阈值的情况下,表明目标电单车的电量已经较低,但可以继续完成本订单。此时服务器可以生成第一告警信息,并将第一告警信息发送给目标电单车进行播放(通过目标电单车的屏幕或者扬声器),以提醒用户目标电单车可能需要换电,但目标电单车仍然可以继续行驶。In an embodiment of the present application, after determining the battery replacement threshold and the standby power threshold, when the user uses any target electric motorcycle in the target area, the server can monitor the target electric motorcycle according to the real-time power (current power) uploaded by the target electric motorcycle. When the current power of the target electric motorcycle is less than the battery replacement threshold but greater than the standby power threshold, it indicates that the power of the target electric motorcycle is already low, but the order can continue to be completed. At this time, the server can generate a first alarm message and send the first alarm message to the target electric motorcycle for playback (through the screen or speaker of the target electric motorcycle) to remind the user that the target electric motorcycle may need to replace the battery, but the target electric motorcycle can still continue to drive.

在目标电单车的当前电量已小于或者等于待机电量阈值的情况下,表明目标电单车必须进行换电,否则可能会导致电量耗尽无法再被定位。服务器可以生成第二告警信息,并将第二告警信息发送给目标电单车进行播放,以提醒用户目标电单车无法继续行驶,用户需要更换电单车。服务器还可以指示目标电单车在用户接收到该告警信息后第一次暂停行驶时进行主动锁停并进入待机状态,避免继续耗费电量。When the current power of the target motorcycle is less than or equal to the standby power threshold, it indicates that the target motorcycle must be replaced, otherwise it may run out of power and cannot be located. The server can generate a second alarm message and send the second alarm message to the target motorcycle for playback to remind the user that the target motorcycle cannot continue to drive and the user needs to replace the motorcycle. The server can also instruct the target motorcycle to actively lock and enter standby mode when the user stops driving for the first time after receiving the alarm message to avoid further consumption of power.

本申请实施例提供的电单车换电阈值的确定方法,在任意电单车的电量低于换电阈值,但高于待机电量阈值的情况下,展示第一告警信息,以指示目标电单车需要换电,且在电单车的电量低于待机电量阈值的情况下,展示第二告警信息,以指示目标电单车不能继续行驶,可以提醒用户电单车目前的电量状态。The method for determining the battery replacement threshold of an electric motorcycle provided in the embodiment of the present application displays a first alarm message when the battery level of any electric motorcycle is lower than the battery replacement threshold but higher than the standby power threshold to indicate that the target electric motorcycle needs to have its battery replaced, and displays a second alarm message when the battery level of the electric motorcycle is lower than the standby power threshold to indicate that the target electric motorcycle cannot continue to travel, thereby reminding the user of the current battery status of the motorcycle.

在一个实施例中,如图8所示,上述方法还包括:In one embodiment, as shown in FIG8 , the method further includes:

步骤802,针对目标区域内的任一目标电单车,获取目标电单车的电池参数。Step 802, for any target electric motorcycle in the target area, obtain the battery parameters of the target electric motorcycle.

步骤804,根据目标电单车的电池参数、目标电单车的电池电量及待机电量阈值,确定针对目标电单车的电量展示信息,并对电量展示信息进行展示。Step 804, determine the power display information for the target electric motorcycle based on the battery parameters of the target electric motorcycle, the battery power of the target electric motorcycle and the standby power threshold, and display the power display information.

本申请实施例中,针对目标区域内的任意电单车(目标电单车),可以根据目标电单车当前的电池电量、确定好的待机电量阈值以及目标电单车自身的电池参数,确定需要对用户进行展示的电量展示信息。其中电池参数可以包括电池健康状态、电池放电效率等,电量展示信息可以包括目标电单车的电池电量、待机电量阈值、电池电量和待机电量阈值之间的电量差值,以及该电量差值表征电单车可以继续行驶的里程等。In the embodiment of the present application, for any motorcycle in the target area (target motorcycle), the power display information to be displayed to the user can be determined based on the current battery power of the target motorcycle, the determined standby power threshold, and the battery parameters of the target motorcycle itself. The battery parameters may include battery health status, battery discharge efficiency, etc., and the power display information may include the battery power of the target motorcycle, the standby power threshold, the power difference between the battery power and the standby power threshold, and the power difference representing the mileage that the motorcycle can continue to travel.

示例性的,可以将目标电单车的电池电量和待机电量阈值的差作为电量差值,进而根据目标电单车的电池参数,计算目标电单车的电量差值对应多少行驶里程,进而将该里程作为目标电单车的电量展示信息展示给用户。Exemplarily, the difference between the battery power of the target electric motorcycle and the standby power threshold can be used as the power difference, and then the mileage corresponding to the power difference of the target electric motorcycle is calculated based on the battery parameters of the target electric motorcycle, and then the mileage is displayed to the user as the power display information of the target electric motorcycle.

此外,也可以根据前述实施例中的订单耗电量及电量差值,计算电量差值大对应的订单数,并将该订单数也作为电量展示信息展示给用户,以使得用户可以了解到电单车在无法骑行之前还能够行驶多少里程、执行多少订单,便于用户选择合适的电单车进行骑行。In addition, the number of orders corresponding to the large power difference can be calculated based on the power consumption and power difference of the orders in the aforementioned embodiments, and the number of orders can be displayed to the user as power display information, so that the user can understand how much mileage the motorcycle can travel and how many orders can be executed before it can no longer be ridden, which is convenient for the user to choose a suitable motorcycle to ride.

本申请实施例提供的电单车换电阈值的确定方法,根据待机电量阈值、电池参数和电池电量生成电量展示信息,并对电量展示信息进行展示,可以使得用户得知电单车当前的电量相关信息,便于用户选择合适的电单车进行骑行。The method for determining the battery replacement threshold of an electric motorcycle provided in the embodiment of the present application generates power display information according to the standby power threshold, battery parameters and battery power, and displays the power display information, so that users can know the current power-related information of the electric motorcycle, which is convenient for users to choose a suitable electric motorcycle for riding.

应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的电单车换电阈值的确定方法的电单车换电阈值的确定装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个电单车换电阈值的确定装置实施例中的具体限定可以参见上文中对于电单车换电阈值的确定方法的限定,在此不再赘述。Based on the same inventive concept, the embodiment of the present application also provides a device for determining the battery replacement threshold of an electric motorcycle for implementing the above-mentioned method for determining the battery replacement threshold of an electric motorcycle. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of one or more devices for determining the battery replacement threshold of an electric motorcycle provided below can refer to the limitations of the method for determining the battery replacement threshold of an electric motorcycle above, and will not be repeated here.

在一个实施例中,如图9所示,提供了一种电单车换电阈值的确定装置900,包括:第一获取模块902、第一确定模块904、第二确定模块906、第三确定模块908、第四确定模块910。其中:In one embodiment, as shown in FIG9 , a device 900 for determining a battery replacement threshold of an electric motorcycle is provided, comprising: a first acquisition module 902 , a first determination module 904 , a second determination module 906 , a third determination module 908 , and a fourth determination module 910 . Among them:

第一获取模块902,用于获取历史时间段内,位于目标区域中的各第一样本电单车的各历史订单;The first acquisition module 902 is used to acquire each historical order of each first sample motorcycle located in the target area within a historical time period;

第一确定模块904,用于针对任一所述第一样本电单车,基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的功耗权重;A first determination module 904 is configured to determine, for any of the first sample motorcycles, a power consumption weight of the first sample motorcycle based on each of the historical orders of the first sample motorcycle;

第二确定模块906,用于分别根据各所述第一样本电单车的历史待机功耗,确定各所述第一样本电单车的日待机功耗;A second determination module 906 is used to determine the daily standby power consumption of each of the first sample electric motorcycles according to the historical standby power consumption of each of the first sample electric motorcycles;

第三确定模块908,用于根据各所述第一样本电单车的所述功耗权重,及各所述第一样本电单车的日待机功耗,确定待机电量阈值;A third determination module 908 is used to determine a standby power threshold according to the power consumption weight of each of the first sample motorcycles and the daily standby power consumption of each of the first sample motorcycles;

第四确定模块910,用于根据所述待机电量阈值,及所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的换电阈值。The fourth determination module 910 is used to determine the battery replacement threshold for the target area based on the standby power threshold and the driving parameters of each second sample electric motorcycle in the target area.

在其中一个实施例中,所述第一确定模块904,还用于:In one embodiment, the first determining module 904 is further configured to:

基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的历史订单量;Determine the historical order volume of the first sample motorcycle based on each of the historical orders of the first sample motorcycle;

确定所述历史订单量所属的订单量区间;Determining the order volume interval to which the historical order volume belongs;

根据所述订单量区间对应的第一预设功耗权重,确定所述第一样本电单车的所述功耗权重,所述第一预设功耗权重与所述订单量区间的边界大小负相关。The power consumption weight of the first sample electric motorcycle is determined according to the first preset power consumption weight corresponding to the order quantity interval, and the first preset power consumption weight is negatively correlated with the boundary size of the order quantity interval.

在其中一个实施例中,所述第一确定模块904,还用于:In one embodiment, the first determining module 904 is further configured to:

基于所述第一样本电单车的各所述历史订单,确定所述第一样本电单车的各待机区间;Determining each standby interval of the first sample motorcycle based on each of the historical orders of the first sample motorcycle;

针对任一所述待机区间,根据所述待机区间的长度,确定所述待机区间对应的第二预设功耗权重,所述第二预设功耗权重与所述待机区间的长度正相关;For any of the standby intervals, determining a second preset power consumption weight corresponding to the standby interval according to the length of the standby interval, wherein the second preset power consumption weight is positively correlated with the length of the standby interval;

分别根据各所述待机区间对应的所述第二预设功耗权重,确定所述第一样本电单车对应的功耗权重。The power consumption weight corresponding to the first sample electric motorcycle is determined according to the second preset power consumption weight corresponding to each of the standby intervals.

在其中一个实施例中,所述第二确定模块906,还用于:In one embodiment, the second determining module 906 is further configured to:

针对任一所述第一样本电单车的任一所述历史待机功耗,确定所述历史待机功耗对应的待机时长;For any of the historical standby power consumptions of any of the first sample electric motorcycles, determining a standby time corresponding to the historical standby power consumption;

针对任一所述第一样本电单车,根据所述第一样本电单车的各所述历史待机功耗及各所述历史待机功耗对应的所述待机时长,确定所述第一样本电单车对应的日待机功耗。For any of the first sample electric motorcycles, the daily standby power consumption corresponding to the first sample electric motorcycle is determined according to each of the historical standby power consumptions of the first sample electric motorcycle and the standby time corresponding to each of the historical standby power consumptions.

在其中一个实施例中,所述第三确定模块908,还用于:In one embodiment, the third determination module 908 is further configured to:

根据所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的预期订单量;Determining an expected order volume for the target area according to the driving parameters of each second sample motorcycle in the target area;

根据所述预期订单量及所述待机电量阈值,确定针对所述目标区域的换电阈值,所述换电阈值与所述预期订单量正相关。According to the expected order volume and the standby power threshold, a battery replacement threshold for the target area is determined, and the battery replacement threshold is positively correlated with the expected order volume.

在其中一个实施例中,所述第三确定模块908,还用于:In one embodiment, the third determination module 908 is further configured to:

根据所述目标区域内各第二样本电单车的行驶参数,确定针对所述目标区域的订单耗电量;Determining the power consumption of orders for the target area according to the driving parameters of each second sample motorcycle in the target area;

根据所述订单耗电量、所述预期订单量及所述待机电量阈值,确定针对所述目标区域的换电阈值。The battery replacement threshold for the target area is determined based on the order power consumption, the expected order volume and the standby power threshold.

在其中一个实施例中,所述装置还包括:In one embodiment, the device further comprises:

第一展示模块,用于针对所述目标区域内的任一目标电单车,在所述目标电单车处于行驶状态、且所述目标电单车的当前电量大于所述待机电量阈值、并小于所述换电阈值的情况下,展示第一告警信息,所述第一告警信息用于指示所述目标电单车需要换电;或者,A first display module is used to display a first warning message for any target motorcycle in the target area when the target motorcycle is in a driving state and the current power of the target motorcycle is greater than the standby power threshold and less than the battery replacement threshold, wherein the first warning message is used to indicate that the target motorcycle needs to be replaced; or

在所述目标电单车处于行驶状态、且所述目标电单车的当前电量小于或者等于所述待机电量阈值的情况下,展示第二告警信息,所述第二告警信息用于指示所述目标电单车无法继续行驶。When the target motorcycle is in a driving state and the current power level of the target motorcycle is less than or equal to the standby power threshold, a second warning message is displayed, and the second warning message is used to indicate that the target motorcycle cannot continue to drive.

在其中一个实施例中,所述装置还包括:In one embodiment, the device further comprises:

第二获取模块,用于针对所述目标区域内的任一目标电单车,获取所述目标电单车的电池参数;A second acquisition module is used to acquire the battery parameters of any target electric motorcycle in the target area;

第二展示模块,用于根据所述目标电单车的所述电池参数、所述目标电单车的电池电量及所述待机电量阈值,确定针对所述目标电单车的电量展示信息,并对所述电量展示信息进行展示。The second display module is used to determine the power display information for the target electric motorcycle according to the battery parameters of the target electric motorcycle, the battery power of the target electric motorcycle and the standby power threshold, and display the power display information.

上述电单车换电阈值的确定装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Each module in the above-mentioned device for determining the battery replacement threshold of an electric motorcycle can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图10所示。该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质和内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种电单车换电阈值的确定方法。In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in FIG10. The computer device includes a processor, a memory, and a network interface connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for determining a battery replacement threshold of an electric motorcycle is implemented.

本领域技术人员可以理解,图10中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art will understand that the structure shown in FIG. 10 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

在一个实施例中,提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据。It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccess Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims (11)

1. A method for determining a battery change threshold of an electric bicycle, the method comprising:
acquiring each historical order of each first sample electric bicycle located in a target area in a historical time period;
Determining a power consumption weight of any first sample electric bicycle based on each historical order of the first sample electric bicycle;
Determining the daily standby power consumption of each first sample electric bicycle according to the historical standby power consumption of each first sample electric bicycle;
determining a standby electric quantity threshold according to the power consumption weight of each first sample electric bicycle and the daily standby power consumption of each first sample electric bicycle;
And determining a power conversion threshold for the target area according to the standby power threshold and the running parameters of each second sample electric bicycle in the target area.
2. The method of claim 1, wherein the determining the power consumption weight of the first sample electric bicycle based on each of the historical orders of the first sample electric bicycle comprises:
determining a historical order quantity of the first sample electric bicycle based on each of the historical orders of the first sample electric bicycle;
Determining an order quantity interval to which the historical order quantity belongs;
And determining the power consumption weight of the first sample electric bicycle according to a first preset power consumption weight corresponding to the order quantity interval, wherein the first preset power consumption weight is inversely related to the boundary size of the order quantity interval.
3. The method of claim 1, wherein the determining the power consumption weight of the first sample electric bicycle based on each of the historical orders of the first sample electric bicycle comprises:
Determining each standby interval of the first sample electric bicycle based on each historical order of the first sample electric bicycle;
For any standby interval, determining a second preset power consumption weight corresponding to the standby interval according to the length of the standby interval, wherein the second preset power consumption weight is positively correlated with the length of the standby interval corresponding to the standby time period group;
And determining the power consumption weight corresponding to the first sample electric bicycle according to the second preset power consumption weight corresponding to each standby interval.
4. A method according to any one of claims 1 to 3, wherein said determining the daily standby power consumption of each of the first sample electric bicycles based on the historical standby power consumption of each of the first sample electric bicycles, respectively, comprises:
Determining a standby time length corresponding to the historical standby power consumption aiming at any historical standby power consumption of any first sample electric bicycle;
and determining the daily standby power consumption corresponding to the first sample electric bicycle according to the historical standby power consumption of the first sample electric bicycle and the standby time length corresponding to the historical standby power consumption of the first sample electric bicycle.
5. The method of claim 1, wherein determining the power change threshold for the target area based on the standby power threshold and the driving parameters of each second sample electric bicycle in the target area comprises:
Determining an expected order quantity aiming at the target area according to the running parameters of each second sample electric bicycle in the target area;
And determining a power change threshold for the target area according to the expected order quantity and the standby electric quantity threshold, wherein the power change threshold is positively related to the expected order quantity.
6. The method of claim 5, wherein determining a power-change threshold for the target area based on the expected order quantity and the standby power threshold comprises:
determining order power consumption aiming at the target area according to the running parameters of each second sample electric bicycle in the target area;
and determining a power change threshold for the target area according to the order power consumption, the expected order quantity and the standby power threshold.
7. The method according to claim 5 or 6, characterized in that the method further comprises:
aiming at any target electric bicycle in the target area, when the target electric bicycle is in a running state, and the current electric quantity of the target electric bicycle is larger than the standby electric quantity threshold and smaller than the power change threshold, displaying first alarm information, wherein the first alarm information is used for indicating that the target electric bicycle needs to be changed; or alternatively
And displaying second warning information when the target electric bicycle is in a driving state and the current electric quantity of the target electric bicycle is smaller than or equal to the standby electric quantity threshold value, wherein the second warning information is used for indicating that the target electric bicycle cannot continue to drive.
8. The method according to claim 1, wherein the method further comprises:
aiming at any target electric bicycle in the target area, acquiring battery parameters of the target electric bicycle;
And determining electric quantity display information aiming at the target electric bicycle according to the battery parameter of the target electric bicycle, the battery electric quantity of the target electric bicycle and the standby electric quantity threshold value, and displaying the electric quantity display information.
9. A device for determining a battery change threshold of an electric bicycle, the device comprising:
The first acquisition module is used for acquiring each historical order of each first sample electric bicycle located in the target area in the historical time period;
a first determining module, configured to determine, for any one of the first sample electric bicycles, a power consumption weight of the first sample electric bicycle based on each of the historical orders of the first sample electric bicycle;
the second determining module is used for determining the daily standby power consumption of each first sample electric bicycle according to the historical standby power consumption of each first sample electric bicycle;
The third determining module is used for determining a standby electric quantity threshold according to the power consumption weight of each first sample electric bicycle and the daily standby power consumption of each first sample electric bicycle;
And the fourth determining module is used for determining a power conversion threshold value aiming at the target area according to the standby power threshold value and the running parameters of each second sample electric bicycle in the target area.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
CN202410406802.6A 2024-04-07 2024-04-07 Method, device and computer equipment for determining the battery replacement threshold of electric motorcycle Active CN117984791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410406802.6A CN117984791B (en) 2024-04-07 2024-04-07 Method, device and computer equipment for determining the battery replacement threshold of electric motorcycle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410406802.6A CN117984791B (en) 2024-04-07 2024-04-07 Method, device and computer equipment for determining the battery replacement threshold of electric motorcycle

Publications (2)

Publication Number Publication Date
CN117984791A true CN117984791A (en) 2024-05-07
CN117984791B CN117984791B (en) 2024-06-18

Family

ID=90892711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410406802.6A Active CN117984791B (en) 2024-04-07 2024-04-07 Method, device and computer equipment for determining the battery replacement threshold of electric motorcycle

Country Status (1)

Country Link
CN (1) CN117984791B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170108664A (en) * 2016-03-18 2017-09-27 주식회사 티앤에스모터스 Electric Bike Battery charging system and management methods
US20180254647A1 (en) * 2015-11-17 2018-09-06 Omron Corporation Charge/discharge control device, charge/discharge control system, and remaining battery capacity adjustment method
CN111191839A (en) * 2019-12-26 2020-05-22 上海钧正网络科技有限公司 Electricity swapping prediction method and system and storage medium
CN112215502A (en) * 2020-10-16 2021-01-12 宁波小遛共享信息科技有限公司 Scheduling and supplying method and device for battery, electronic equipment and storage medium
CN115310726A (en) * 2022-10-10 2022-11-08 宁波小遛共享信息科技有限公司 Calculation method of battery replacement threshold of shared electric bicycle, server and storage medium
CN115860395A (en) * 2022-12-08 2023-03-28 宁波小遛共享信息科技有限公司 Method and device for determining electricity changing threshold value of shared electric car parking point
CN116433053A (en) * 2023-06-14 2023-07-14 北京阿帕科蓝科技有限公司 Data processing method, device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180254647A1 (en) * 2015-11-17 2018-09-06 Omron Corporation Charge/discharge control device, charge/discharge control system, and remaining battery capacity adjustment method
KR20170108664A (en) * 2016-03-18 2017-09-27 주식회사 티앤에스모터스 Electric Bike Battery charging system and management methods
CN111191839A (en) * 2019-12-26 2020-05-22 上海钧正网络科技有限公司 Electricity swapping prediction method and system and storage medium
CN112215502A (en) * 2020-10-16 2021-01-12 宁波小遛共享信息科技有限公司 Scheduling and supplying method and device for battery, electronic equipment and storage medium
CN115310726A (en) * 2022-10-10 2022-11-08 宁波小遛共享信息科技有限公司 Calculation method of battery replacement threshold of shared electric bicycle, server and storage medium
CN115860395A (en) * 2022-12-08 2023-03-28 宁波小遛共享信息科技有限公司 Method and device for determining electricity changing threshold value of shared electric car parking point
CN116433053A (en) * 2023-06-14 2023-07-14 北京阿帕科蓝科技有限公司 Data processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN117984791B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
CN103247177B (en) Large-scale road network traffic flow real-time dynamic prediction system
Zhang et al. Taxi-passenger-demand modeling based on big data from a roving sensor network
Morabito et al. Air temperature-related human health outcomes: current impact and estimations of future risks in Central Italy
WO2023130659A1 (en) Method and apparatus for predicting energy consumption of commercial electric vehicle, and computer device
CN114154107A (en) Method and device for calculating average energy consumption
CA2778530A1 (en) Energy usage index
CN106354438A (en) Method and device for predicting available time of capacity of storage pool
CN116304393B (en) Data processing methods, devices, computer equipment and storage media
CN117984791A (en) Method, device and computer equipment for determining the battery replacement threshold of electric motorcycle
CN116126859A (en) Data management method and device, electronic equipment and storage medium
CN117154740B (en) Load regulation and control method and device for heat accumulating type electric heating participating power distribution network
CN116613894B (en) Method and device for processing electricity consumption data
CN116151600B (en) Maintenance method, device, computer equipment and storage medium for shared vehicle
CN117453480A (en) Early warning method, device, equipment and storage medium for monitoring data
JP7503485B2 (en) Battery management system, battery management method and program
CN116993085A (en) Method to improve battery utilization efficiency based on battery exchange charge consumption algorithm
CN114072835B (en) Cost prediction method and cost prediction data system
CN110059906B (en) Policy effectiveness analysis method, device, server and storage medium
Wu et al. A two-layer planning method for location and capacity determination of public electric vehicle charging stations
CN118739375B (en) Charging and storing integrated charging control method based on edge calculation
CN120280920A (en) Cooperative intelligent control method, device, equipment and medium for electricity supply and demand
CN118410984A (en) Clean energy scheduling method, device, computer equipment and readable storage medium
CN115982221B (en) Activity recommendation system, method, electronic equipment and medium based on historical data
JP2012101910A (en) Basic stock setting system
CN118753116B (en) A method, device, electronic equipment and storage medium for monitoring energy consumption of new energy buses

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 901, 9th Floor, Building 1, Zone 4, Wangjing Dongyuan, Chaoyang District, Beijing 100020

Patentee after: Beijing Apacolan Technology Group Co.,Ltd.

Country or region after: China

Address before: Room 901, 9th Floor, Building 1, Zone 4, Wangjing Dongyuan, Chaoyang District, Beijing 100020

Patentee before: Beijing apoco Blue Technology Co.,Ltd.

Country or region before: China