CN114640968A - Electric quantity sharing method, device, medium and vehicle - Google Patents

Electric quantity sharing method, device, medium and vehicle Download PDF

Info

Publication number
CN114640968A
CN114640968A CN202011480381.XA CN202011480381A CN114640968A CN 114640968 A CN114640968 A CN 114640968A CN 202011480381 A CN202011480381 A CN 202011480381A CN 114640968 A CN114640968 A CN 114640968A
Authority
CN
China
Prior art keywords
vehicle
power
vehicles
initial
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011480381.XA
Other languages
Chinese (zh)
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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202011480381.XA priority Critical patent/CN114640968A/en
Publication of CN114640968A publication Critical patent/CN114640968A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/46Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for vehicle-to-vehicle communication [V2V]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/14Plug-in electric vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

本公开涉及一种电量共享方法、装置、介质及车辆,该方法包括:获取初始车辆集合中每一车辆的当前电量,其中,所述每一车辆与所述初始车辆集合中至少一个其他车辆之间的距离小于预设距离阈值;在本车为所述初始车辆集合中当前电量最大的车辆的情况下,通过所述本车控制目标车辆集合中的车辆之间进行电量共享,其中,所述目标车辆集合为所述初始车辆集合的子集。采用上述方案,通过近距离通信实现多个车辆之间的电量共享,信息传输相对更为可靠。并且,电量共享之后可用车辆的数量增多,提高车辆利用率,降低管理人员对车辆换电池或充电的频率。

Figure 202011480381

The present disclosure relates to an electric power sharing method, device, medium and vehicle. The method includes: acquiring the current electric power of each vehicle in an initial vehicle set, wherein each vehicle has a relationship with at least one other vehicle in the initial vehicle set. The distance between the two is less than the preset distance threshold; in the case that the vehicle is the vehicle with the largest current power in the initial vehicle set, the vehicle in the target vehicle set is controlled to share the power between the vehicles, wherein the The target vehicle set is a subset of the initial vehicle set. With the above solution, the power sharing between multiple vehicles is realized through short-range communication, and the information transmission is relatively more reliable. In addition, the number of available vehicles increases after power sharing, which improves vehicle utilization and reduces the frequency of battery replacement or charging by managers.

Figure 202011480381

Description

电量共享方法、装置、介质及车辆Electricity sharing method, device, medium and vehicle

技术领域technical field

本公开涉及车辆技术领域,具体地,涉及一种电量共享方法、装置、介质及车辆。The present disclosure relates to the technical field of vehicles, and in particular, to a power sharing method, device, medium and vehicle.

背景技术Background technique

电动车辆是一种节能环保的交通工具,目前应用越来越广泛,例如电动单车、无人驾驶电动车辆、新能源车辆等。电动车辆通过电池提供电能,随着车辆行驶不断消耗电量,容易出现电池缺电的情况,相关技术中对电动车辆进行充电的方式主要有以下几种。Electric vehicles are an energy-saving and environmentally friendly means of transportation, and are currently used more and more widely, such as electric bicycles, unmanned electric vehicles, and new energy vehicles. Electric vehicles provide electrical energy through batteries, and as the vehicle runs continuously consuming electricity, the situation of battery power shortage is prone to occur. In the related art, there are mainly the following methods for charging electric vehicles.

一种方式是管理人员携带电池,找到缺电状态的电动车辆,为车辆更换新的电池,或者管理人员携带充电装置为车辆进行充电。另一种方式是管理人员在道路上搜集缺电状态的车辆,并将车辆运送到指定地点更换电池或充电。以上这两种方式都需要管理人员找到缺电的电动车辆,但是受到车辆定位精度的限制,不容易对缺电车辆进行准确定位,而且消耗大量人力。还有一种方式是电动车辆主动行驶到充电桩进行充电,但是这种方式需要电动车辆行驶到指定充电桩,对于本身处于缺电状态的车辆来说,如果充电桩与自身之间的距离较远,可能没有足够的电量支持车辆行驶到指定地点进行充电,从而无法保证车辆的正常使用。One way is that managers carry batteries, find electric vehicles in a state of power shortage, and replace the batteries with new ones, or managers bring charging devices to charge the vehicles. Another way is for managers to collect power-deficient vehicles on the road and transport them to designated locations for battery replacement or charging. The above two methods both require managers to find electric vehicles lacking electricity, but due to the limitation of vehicle positioning accuracy, it is not easy to accurately locate vehicles lacking electricity, and it consumes a lot of manpower. There is also a way for the electric vehicle to actively drive to the charging pile for charging, but this method requires the electric vehicle to drive to the designated charging pile. For a vehicle that is in a state of power shortage, if the distance between the charging pile and itself is long , there may not be enough power to support the vehicle to travel to the designated location for charging, so the normal use of the vehicle cannot be guaranteed.

发明内容SUMMARY OF THE INVENTION

本公开的目的是提供一种电量共享方法、装置、介质及车辆,以部分地解决相关技术中存在的上述问题。The purpose of the present disclosure is to provide a power sharing method, device, medium and vehicle, so as to partially solve the above problems existing in the related art.

为了实现上述目的,第一方面,本公开提供一种电量共享方法,所述方法包括:获取初始车辆集合中每一车辆的当前电量,其中,所述每一车辆与所述初始车辆集合中至少一个其他车辆之间的距离小于预设距离阈值;在本车为所述初始车辆集合中当前电量最大的车辆的情况下,通过所述本车控制目标车辆集合中的车辆之间进行电量共享,其中,所述目标车辆集合为所述初始车辆集合的子集。In order to achieve the above object, in a first aspect, the present disclosure provides an electric power sharing method, the method includes: acquiring the current electric power of each vehicle in an initial vehicle set, wherein each vehicle and at least one of the initial vehicle set The distance between one other vehicle is less than a preset distance threshold; in the case that the vehicle is the vehicle with the largest current power in the initial vehicle set, the vehicle in the target vehicle set is controlled to perform power sharing between vehicles, Wherein, the target vehicle set is a subset of the initial vehicle set.

可选地,所述控制目标车辆集合中的车辆之间进行电量共享,包括:确定所述目标车辆集合对应的目标电量共享信息,其中,电量共享信息包括用于指示作为充电方的车辆的第一指示信息、用于指示作为被充电方的车辆的第二指示信息、所述充电方需要向所述被充电方充电的充电电量信息;将所述目标电量共享信息同步至所述目标车辆集合中除所述本车外的其他车辆,以使所述目标车辆集合中的车辆按照所述目标电量共享信息进行电量共享。Optionally, the power sharing between the vehicles in the control target vehicle set includes: determining target power sharing information corresponding to the target vehicle set, wherein the power sharing information includes a No. One indication information, the second indication information used to indicate the vehicle as the charged party, the charging power information that the charging party needs to charge the charged party; and the target power sharing information is synchronized to the target vehicle set other vehicles except the own vehicle in the target vehicle set, so that the vehicles in the target vehicle set perform power sharing according to the target power sharing information.

可选地,所述确定所述目标车辆集合对应的目标电量共享信息,包括:根据一个或多个影响因子,确定多种预设电量共享信息分别对应的收益信息,所述收益信息用于表征进行电量共享后所述目标车辆集合的整体收益;从所述多种预设电量共享信息中确定最优电量共享信息,其中,所述最优电量共享信息对应最优的所述收益信息;将所述最优电量共享信息确定为所述目标电量共享信息。Optionally, the determining of the target electric power sharing information corresponding to the target vehicle set includes: according to one or more influence factors, determining income information corresponding to various preset electric power sharing information, where the income information is used to represent The overall revenue of the target vehicle set after the power sharing is performed; the optimal power sharing information is determined from the multiple preset power sharing information, wherein the optimal power sharing information corresponds to the optimal revenue information; the The optimal power sharing information is determined as the target power sharing information.

可选地,所述影响因子,包括:电量可用车辆的数量的增量、总充电距离、进行电量共享之后所述目标车辆集合中各车辆之间的电量差异信息之和。Optionally, the influence factor includes: the increment of the number of vehicles with available electric power, the total charging distance, and the sum of electric power difference information between the vehicles in the target vehicle set after electric power sharing is performed.

可选地,在所述通过所述本车控制目标车辆集合中的车辆之间进行电量共享之前,还包括:根据所述初始车辆集合中每一车辆的当前电量,确定所述初始车辆集合的当前总电量;确定所述当前总电量与所述初始车辆集合中的车辆数量的比值;在所述比值小于或等于预设电量阈值,且所述车辆数量大于2的情况下,从所述初始车辆集合中剔除所述当前电量最小的车辆,以得到更新后的初始车辆集合;基于每次更新后的初始车辆集合,对所述比值进行迭代计算,直到所述比值大于所述预设电量阈值;将最后一次更新得到的初始车辆集合作为所述目标车辆集合。Optionally, before the power sharing between the vehicles in the target vehicle set by controlling the own vehicle, the method further includes: determining the power level of the initial vehicle set according to the current power of each vehicle in the initial vehicle set. The current total power; determine the ratio of the current total power to the number of vehicles in the initial vehicle set; when the ratio is less than or equal to a preset power threshold, and the number of vehicles is greater than 2, from the initial The vehicle with the smallest current electric quantity is removed from the vehicle set to obtain the updated initial vehicle set; based on the initial vehicle set after each update, the ratio is iteratively calculated until the ratio is greater than the preset electric quantity threshold ; Take the initial vehicle set obtained by the last update as the target vehicle set.

可选地,所述方法还包括:在所述比值小于或等于所述预设电量阈值,且所述车辆数量小于或等于2的情况下,发送车辆缺电提示信息。Optionally, the method further includes: when the ratio is less than or equal to the preset power threshold and the number of vehicles is less than or equal to 2, sending vehicle power shortage prompt information.

可选地,所述预设电量阈值根据车辆正常行驶所需的最低电量确定。Optionally, the preset electric power threshold is determined according to the minimum electric power required for the normal running of the vehicle.

第二方面,本公开提供一种电量共享装置,所述装置包括:获取模块,被配置成用于获取初始车辆集合中每一车辆的当前电量,其中,所述每一车辆与所述初始车辆集合中至少一个其他车辆之间的距离小于预设距离阈值;控制模块,被配置成用于在本车为所述初始车辆集合中当前电量最大的车辆的情况下,通过所述本车控制目标车辆集合中的车辆之间进行电量共享,其中,所述目标车辆集合为所述初始车辆集合的子集。In a second aspect, the present disclosure provides an electric power sharing apparatus, the apparatus includes: an acquisition module configured to acquire the current electric power of each vehicle in an initial vehicle set, wherein each vehicle and the initial vehicle The distance between at least one other vehicle in the set is less than a preset distance threshold; the control module is configured to control the target through the own vehicle under the condition that the own vehicle is the vehicle with the current maximum power in the initial vehicle set Electric power is shared among vehicles in the vehicle set, wherein the target vehicle set is a subset of the initial vehicle set.

可选地,所述控制模块,包括:第一确定子模块,被配置成用于确定所述目标车辆集合对应的目标电量共享信息,其中,电量共享信息包括用于指示作为充电方的车辆的第一指示信息、用于指示作为被充电方的车辆的第二指示信息、所述充电方需要向所述被充电方充电的充电电量信息;信息同步子模块,被配置成用于将所述目标电量共享信息同步至所述目标车辆集合中除所述本车外的其他车辆,以使所述目标车辆集合中的车辆按照所述目标电量共享信息进行电量共享。Optionally, the control module includes: a first determination sub-module configured to determine target electric power sharing information corresponding to the target vehicle set, wherein the electric power sharing information includes an information used to indicate a vehicle serving as a charging party. the first indication information, the second indication information used to indicate the vehicle as the charged party, the charging quantity information that the charging party needs to charge the charged party; the information synchronization sub-module is configured to The target power sharing information is synchronized to other vehicles in the target vehicle set except the own vehicle, so that the vehicles in the target vehicle set perform power sharing according to the target power sharing information.

可选地,所述第一确定子模块,包括:第二确定子模块,被配置成用于根据一个或多个影响因子,确定多种预设电量共享信息分别对应的收益信息,所述收益信息用于表征进行电量共享后所述目标车辆集合的整体收益;第二确定子模块,被配置成用于从所述多种预设电量共享信息中确定最优电量共享信息,其中,所述最优电量共享信息对应最优的所述收益信息;第三确定子模块,被配置成用于将所述最优电量共享信息确定为所述目标电量共享信息。Optionally, the first determination sub-module includes: a second determination sub-module, configured to determine, according to one or more influence factors, income information corresponding to various preset power sharing information, the income The information is used to represent the overall revenue of the target vehicle set after the power sharing; the second determination sub-module is configured to determine the optimal power sharing information from the multiple preset power sharing information, wherein the The optimal power sharing information corresponds to the optimal revenue information; a third determining sub-module is configured to determine the optimal power sharing information as the target power sharing information.

可选地,所述装置还包括:第一确定模块,被配置成用于在所述控制模块通过所述本车控制目标车辆集合中的车辆之间进行电量共享之前,根据所述初始车辆集合中每一车辆的当前电量,确定所述初始车辆集合的当前总电量;第二确定模块,被配置成用于确定所述当前总电量与所述初始车辆集合中的车辆数量的比值;剔除模块,被配置成用于在所述比值小于或等于预设电量阈值,且所述车辆数量大于2的情况下,从所述初始车辆集合中剔除所述当前电量最小的车辆,以得到更新后的初始车辆集合;计算模块,被配置成用于基于每次更新后的初始车辆集合,对所述比值进行迭代计算,直到所述比值大于所述预设电量阈值;第三确定模块,被配置成用于将最后一次更新得到的初始车辆集合作为所述目标车辆集合。Optionally, the apparatus further includes: a first determination module configured to, before the control module performs power sharing among vehicles in the target vehicle set through the own vehicle control, according to the initial vehicle set the current electric quantity of each vehicle in the initial vehicle set, to determine the current total electric quantity of the initial vehicle set; the second determination module is configured to determine the ratio of the current total electric quantity to the number of vehicles in the initial vehicle set; the rejection module , which is configured to remove the vehicle with the minimum current power from the initial vehicle set when the ratio is less than or equal to a preset power threshold and the number of vehicles is greater than 2, so as to obtain an updated an initial set of vehicles; a calculation module configured to iteratively calculate the ratio based on the initial set of vehicles after each update until the ratio is greater than the preset power threshold; a third determination module, configured to It is used to use the initial vehicle set obtained by the last update as the target vehicle set.

可选地,所述装置还包括:发送模块,被配置成用于在所述比值小于或等于所述预设电量阈值,且所述车辆数量小于或等于2的情况下,发送车辆缺电提示信息。Optionally, the device further includes: a sending module configured to send a vehicle power shortage prompt when the ratio is less than or equal to the preset power threshold and the number of vehicles is less than or equal to 2 information.

第三方面,本公开提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开第一方面提供的所述方法的步骤。In a third aspect, the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the method provided in the first aspect of the present disclosure.

第四方面,本公开提供一种车辆,所述车辆包括车载电源,还包括:存储器,其上存储有计算机程序;处理器,用于执行所述存储器中的所述计算机程序,以实现本公开第一方面提供的所述方法的步骤。In a fourth aspect, the present disclosure provides a vehicle, which includes an on-board power supply, and further includes: a memory on which a computer program is stored; and a processor for executing the computer program in the memory to implement the present disclosure The steps of the method provided by the first aspect.

通过上述方案,在本车为初始车辆集合中当前电量最大的车辆的情况下,通过本车控制目标车辆集合中的车辆之间进行电量共享,其中,目标车辆集合为初始车辆集合的子集。采用本公开的电量共享方法,无需服务器对车辆进行控制,不需要车辆与服务器进行远程通信,有效避免服务器与车辆远程通信不稳定的问题,本车在确定出合适的电量共享方式后,电量共享信息可通过车辆之间近距离通信的方式同步至目标车辆集合中的车辆,从而实现车辆之间的电量共享,通过近距离通信的方式,信息传输相对更为可靠。并且,之前由于电量不足而不可用的车辆,车辆之间进行电量共享之后,可使得各个车辆的电量相对均衡,电量不可用车辆的数量减少,电量可用车辆的数量增多,提高车辆利用率,避免车辆无法使用的现象。另外,由于电量低的车辆可暂时由电量高的车辆为其充电,因此同时降低管理人员对车辆换电池或充电的频率,节省人力,可以在初始车辆集合中的车辆均处于缺电状态时再进行整体充电,以提高充电效率。Through the above solution, when the vehicle is the vehicle with the largest current electricity in the initial vehicle set, the vehicle controls the vehicle in the target vehicle set to share electricity, wherein the target vehicle set is a subset of the initial vehicle set. By adopting the power sharing method of the present disclosure, there is no need for the server to control the vehicle, and the remote communication between the vehicle and the server is not required, which effectively avoids the problem of unstable remote communication between the server and the vehicle. The information can be synchronized to the vehicles in the target vehicle set through short-range communication between vehicles, so as to realize the power sharing between vehicles. Through the short-range communication, the information transmission is relatively more reliable. In addition, for vehicles that were previously unavailable due to insufficient power, after the power sharing between vehicles, the power of each vehicle can be relatively balanced, the number of vehicles with unusable power can be reduced, and the number of vehicles with available power can be increased. The phenomenon that the vehicle cannot be used. In addition, because vehicles with low power can be temporarily charged by vehicles with high power, the frequency of battery replacement or charging by managers is reduced at the same time, saving manpower. Perform overall charging to improve charging efficiency.

本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.

附图说明Description of drawings

附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification, and together with the following detailed description, are used to explain the present disclosure, but not to limit the present disclosure. In the attached image:

图1是根据一示例性实施例示出的一种电量共享方法的流程图。Fig. 1 is a flow chart of a method for sharing electricity according to an exemplary embodiment.

图2是根据一示例性实施例示出的一种初始车辆集合的示意图。Fig. 2 is a schematic diagram showing an initial vehicle set according to an exemplary embodiment.

图3是根据一示例性实施例示出的一种目标车辆集合的示意图。Fig. 3 is a schematic diagram of a target vehicle set according to an exemplary embodiment.

图4是根据一示例性实施例示出的一种控制目标车辆集合中的车辆之间进行电量共享的方法的流程图。Fig. 4 is a flow chart of a method for controlling power sharing among vehicles in a target vehicle set according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种电量共享装置的框图。Fig. 5 is a block diagram of a power sharing apparatus according to an exemplary embodiment.

图6是根据一示例性实施例示出的一种车辆的框图。FIG. 6 is a block diagram of a vehicle according to an exemplary embodiment.

具体实施方式Detailed ways

以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。The specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure, but not to limit the present disclosure.

图1是根据一示例性实施例示出的一种电量共享方法的流程图,该方法可应用于车辆,例如电动单车、无人电动配送车、无人驾驶电动车辆、新能源车辆、混合动力车辆等。示例地,该电量共享方法可以应用于无人电动配送车进行物品配送的领域,例如使用无人电动配送车进行快递、外卖配送的场景,无人电动配送车在未执行配送任务处于停车状态的情况下,无人电动配送车之间可以进行电量共享。如图1所示,该方法可包括S101和S102。Fig. 1 is a flow chart of a method for sharing electricity according to an exemplary embodiment, the method can be applied to vehicles, such as electric bicycles, unmanned electric distribution vehicles, unmanned electric vehicles, new energy vehicles, and hybrid vehicles Wait. For example, the power sharing method can be applied to the field of delivery of goods by unmanned electric delivery vehicles, such as the scenario of using unmanned electric delivery vehicles for express delivery and takeaway delivery. Under certain circumstances, electric power sharing can be carried out between unmanned electric distribution vehicles. As shown in FIG. 1, the method may include S101 and S102.

在S101中,获取初始车辆集合中每一车辆的当前电量。In S101, the current electric quantity of each vehicle in the initial vehicle set is obtained.

该初始车辆集合可包括含本车在内的多个车辆,且每一车辆与初始车辆集合中至少一个其他车辆之间的距离小于预设距离阈值。其中,车辆上可安装有距离传感器,例如近场电磁测距(NFER,Near-Field Electromagnetic Ranging),车辆可通过距离传感器探测与自身之间的距离小于预设距离阈值的车辆,预设距离阈值可以预先标定出,本公开对其取值不做具体限制。车辆上还可安装有近距离通信模块,例如蓝牙模块、近场通信模块等,车辆之间可通过近距离通信模块进行信息传输。The initial vehicle set may include a plurality of vehicles including the own vehicle, and the distance between each vehicle and at least one other vehicle in the initial vehicle set is less than a preset distance threshold. Among them, a distance sensor may be installed on the vehicle, such as Near-Field Electromagnetic Ranging (NFER), and the vehicle can detect a vehicle whose distance to itself is less than a preset distance threshold through the distance sensor, and the preset distance threshold value It can be pre-calibrated, and the present disclosure does not specifically limit its value. A short-range communication module, such as a Bluetooth module, a near-field communication module, etc., can also be installed on the vehicle, and information can be transmitted between the vehicles through the short-range communication module.

图2是根据一示例性实施例示出的一种初始车辆集合的示意图,如图2所示,该初始车辆集合可包括车辆201、车辆202、车辆203、车辆204、车辆205。值得说明的是,图2以初始车辆集合包括五个车辆作为示意,仅为示例性的,本公开对初始车辆集合中车辆的数量不做具体限制。FIG. 2 is a schematic diagram illustrating an initial vehicle set according to an exemplary embodiment. As shown in FIG. 2 , the initial vehicle set may include a vehicle 201 , a vehicle 202 , a vehicle 203 , a vehicle 204 , and a vehicle 205 . It should be noted that FIG. 2 shows that the initial vehicle set includes five vehicles, which is only an example, and the present disclosure does not specifically limit the number of vehicles in the initial vehicle set.

以车辆201为本车为例,介绍车辆201构建该初始车辆集合的过程。例如,车辆201可探测到与自身之间的距离小于预设距离阈值的车辆包括车辆202和车辆203,则可确定初始车辆集合中至少包括本车车辆201以及车辆202和车辆203。车辆203可探测到与该车辆203之间的距离小于预设距离阈值的车辆包括车辆201和车辆204,车辆203可以将车辆204的信息以及探测到的车辆203和车辆204之间的距离发送至车辆201,这样,车辆201可确定该初始车辆集合中还可包括车辆204。车辆204可探测到与该车辆204之间的距离小于预设距离阈值的车辆包括车辆205和车辆203,车辆204可将车辆205的信息以及探测到的车辆204与车辆205之间的距离发送至车辆203,然后车辆203可将该信息转发至车辆201,这样,车辆201可确定初始车辆集合中还可包括车辆205。如此,各个车辆均可探测与自身之间的距离小于预设距离阈值的车辆,并将该车辆的信息以及自身与该车辆之间的距离发送至相邻车辆,通过车辆之间的信息传输,车辆201可确定初始车辆集合中包括车辆201~车辆205。Taking the vehicle 201 as the vehicle as an example, the process of constructing the initial vehicle set by the vehicle 201 is described. For example, if the vehicle 201 can detect that the vehicles whose distances to itself are less than the preset distance threshold include the vehicle 202 and the vehicle 203 , it can be determined that the initial vehicle set includes at least the own vehicle 201 , and the vehicles 202 and 203 . The vehicle 203 can detect that the distance between the vehicle 203 and the vehicle 203 is less than the preset distance threshold. Vehicle 201, so that vehicle 201 may determine that vehicle 204 may also be included in the initial set of vehicles. Vehicles that the vehicle 204 can detect and the distance between the vehicle 204 and the vehicle 204 is less than the preset distance threshold include the vehicle 205 and the vehicle 203. Vehicle 203, and vehicle 203 may then forward this information to vehicle 201, so that vehicle 201 may determine that vehicle 205 may also be included in the initial vehicle set. In this way, each vehicle can detect a vehicle whose distance to itself is less than the preset distance threshold, and send the vehicle's information and the distance between itself and the vehicle to adjacent vehicles, and through the information transmission between vehicles, Vehicle 201 may determine that vehicles 201 to 205 are included in the initial vehicle set.

上述以车辆201为本车为例介绍了初始车辆集合的构建过程,每一车辆均可通过该过程构建初始车辆集合。例如对于车辆203,车辆203可探测到与自身之间的距离小于预设距离阈值的车辆包括车辆201和车辆204,车辆201可将车辆202的信息发送至该车辆203,车辆204可将车辆205的信息发送至车辆203,这样,车辆203可确定初始车辆集合中包括车辆201~车辆205。其他车辆构建初始车辆集合的过程与之类似。The process of constructing the initial vehicle set is described above by taking the vehicle 201 as the vehicle as an example, and each vehicle can construct the initial vehicle set through this process. For example, for the vehicle 203, the vehicle 203 can detect vehicles whose distance to itself is less than the preset distance threshold, including the vehicle 201 and the vehicle 204, the vehicle 201 can send the information of the vehicle 202 to the vehicle 203, and the vehicle 204 can send the vehicle 205 The information of the vehicle 203 is sent to the vehicle 203, so that the vehicle 203 can determine that the vehicle 201 to the vehicle 205 are included in the initial vehicle set. The process of building the initial vehicle ensemble for other vehicles is similar.

值得说明的是,本公开提供的电量共享方法可以应用于车辆停车的过程中,车辆在探测到与自身之间的距离小于预设距离阈值的车辆后,即可将该车辆的信息同步至其他车辆,如果车辆在预设时长之内没有接受到新车辆的信息,可表征目前没有新的车辆停靠在附近,则可结束初始车辆集合的构建过程。由于车辆之间可以通过近距离通信进行信息传输,因此通过车辆之间的信息交换和同步,车辆201~车辆205所构建的初始车辆集合是相同的。It is worth noting that the power sharing method provided by the present disclosure can be applied to the process of vehicle parking. After the vehicle detects a vehicle whose distance to itself is less than a preset distance threshold, the information of the vehicle can be synchronized to other vehicles. For a vehicle, if the vehicle does not receive information about a new vehicle within a preset period of time, it can indicate that there is no new vehicle parked nearby, and the construction process of the initial vehicle set can be ended. Since information can be transmitted between vehicles through short-range communication, the initial vehicle sets constructed by vehicles 201 to 205 are the same through information exchange and synchronization between vehicles.

其中,本车可获取自身的当前电量,以及初始车辆集合中除本车外的其他车辆各自的当前电量,从而获取到初始车辆集合中每一车辆的当前电量。示例地,当前电量可通过百分比的形式进行表示,例如本车的当前电量为90%。Wherein, the own vehicle can obtain its own current power and the respective current powers of other vehicles in the initial vehicle set except the own vehicle, so as to obtain the current power of each vehicle in the initial vehicle set. For example, the current power level may be expressed in the form of a percentage, for example, the current power level of the vehicle is 90%.

如图2所示,以车辆201作为本车为例,介绍车辆201获取初始车辆集合中除车辆201外的其他车辆各自的当前电量的过程。其中,车辆202和车辆203均可将自身的当前电量通过近距离通信方式发送至车辆201,车辆204可将自身的当前电量发送至车辆203,然后车辆203可将车辆204的当前电量发送至车辆201,车辆205可将自身的当前电量发送至车辆204,车辆204可将车辆205的当前电量发送至车辆203,然后再由车辆203转发给车辆201。这样,车辆201可获取到车辆202~车辆205各自的当前电量。如此,车辆之间通过近距离通信的方式进行信息传输和同步,每一车辆均可获取初始车辆集合中除自身外的其他车辆各自的当前电量。As shown in FIG. 2 , taking the vehicle 201 as the own vehicle as an example, the process of obtaining the current electric quantity of each other vehicle except the vehicle 201 in the initial vehicle set by the vehicle 201 is described. Wherein, both the vehicle 202 and the vehicle 203 can send their own current power to the vehicle 201 through short-range communication, the vehicle 204 can send their own current power to the vehicle 203, and then the vehicle 203 can send the current power of the vehicle 204 to the vehicle. 201 , the vehicle 205 can send its own current power to the vehicle 204 , and the vehicle 204 can send the current power of the vehicle 205 to the vehicle 203 , which is then forwarded to the vehicle 201 by the vehicle 203 . In this way, the vehicle 201 can acquire the current power levels of each of the vehicles 202 to 205 . In this way, information is transmitted and synchronized between vehicles by means of short-range communication, and each vehicle can obtain the respective current power levels of other vehicles in the initial vehicle set except itself.

在S102中,在本车为初始车辆集合中当前电量最大的车辆的情况下,通过本车控制目标车辆集合中的车辆之间进行电量共享。其中,目标车辆集合为初始车辆集合的子集。In S102, when the own vehicle is the vehicle with the largest current electric power in the initial vehicle set, the electric power sharing is performed among the vehicles in the target vehicle set through the control of the own vehicle. The target vehicle set is a subset of the initial vehicle set.

目标车辆集合包括初始车辆集合中的全部车辆或部分车辆,且该目标车辆集合可包括初始车辆集合中的至少两个车辆,且该至少两个车辆包括本车。The target vehicle set includes all or part of the vehicles in the initial vehicle set, and the target vehicle set may include at least two vehicles in the initial vehicle set, and the at least two vehicles include the own vehicle.

本车可根据初始车辆集合中每一车辆的当前电量,确定本车是否为当前电量最大的车辆,如果本车为当前电量最大的车辆,则可控制目标车辆集合中的车辆之间进行电量共享。由于控制目标车辆集合中的车辆之间进行电量共享,需要进行一定的计算确定出合适的电量共享方式,例如哪些车辆作为充电方,哪些车辆作为被充电方,计算的过程需要消耗一定的电量,因此选取初始车辆集合中当前电量最大即电量相对最充足的车辆用于控制目标车辆集合中的车辆之间进行电量共享。According to the current power of each vehicle in the initial vehicle set, the vehicle can determine whether the vehicle is the vehicle with the most current power. If the vehicle is the vehicle with the current maximum power, it can control the power sharing among the vehicles in the target vehicle set. . Due to the power sharing between the vehicles in the control target vehicle set, it is necessary to perform certain calculations to determine the appropriate power sharing method, such as which vehicles are used as the charging party and which vehicles are the charged parties, and the calculation process needs to consume a certain amount of power. Therefore, the vehicle with the largest current electric quantity in the initial vehicle set, that is, the relatively sufficient electric quantity, is selected to control the electric power sharing among the vehicles in the target vehicle set.

车辆之间进行电量共享可以是当前电量多的车辆向当前电量低的车辆充电的过程,以实现车辆之间的电量均衡。对于充电方式本公开不做具体限制,可以采用无线充电方式或有线充电方式,当采用有线充电方式时,无需人工充电,车辆上可安装有自动充电机械臂,当需要充电时充电机械臂可自动伸出进行充电操作。The power sharing between vehicles may be a process in which a vehicle with a high current power charges a vehicle with a low current power, so as to achieve power balance among the vehicles. There is no specific limitation on the charging method in this disclosure, and a wireless charging method or a wired charging method can be used. When the wired charging method is adopted, manual charging is not required, and an automatic charging robot arm can be installed on the vehicle. When charging is required, the charging robot arm can automatically charge Extend for charging operation.

如图2所示,以车辆201为本车为例,车辆201确定自身为初始车辆集合中当前电量最大的车辆,可控制目标车辆集合中的车辆之间进行电量共享,其中,目标车辆集合为初始车辆集合的子集,例如,目标车辆集合包括车辆201~车辆204。如果本车确定自身不为当前电量最大的车辆,则可等待初始集合中当前电量最大的车辆同步的电量共享信息,并按照接收到的电量共享信息进行电量共享。例如,车辆202确定自身不为当前电量最大的车辆,则可等待车辆201发送的电量共享信息。As shown in FIG. 2 , taking the vehicle 201 as the vehicle as an example, the vehicle 201 determines that it is the vehicle with the largest current power in the initial vehicle set, and can control the power sharing among the vehicles in the target vehicle set, where the target vehicle set is A subset of the initial vehicle set, for example, the target vehicle set includes vehicles 201 to 204 . If the vehicle determines that it is not the vehicle with the current maximum power, it can wait for the power sharing information synchronized by the vehicle with the current maximum power in the initial set, and perform power sharing according to the received power sharing information. For example, if the vehicle 202 determines that it is not the vehicle with the most current power, it can wait for the power sharing information sent by the vehicle 201 .

通过上述方案,在本车为初始车辆集合中当前电量最大的车辆的情况下,通过本车控制目标车辆集合中的车辆之间进行电量共享,其中,目标车辆集合为初始车辆集合的子集。采用本公开的电量共享方法,无需服务器对车辆进行控制,不需要车辆与服务器进行远程通信,有效避免服务器与车辆远程通信不稳定的问题,本车在确定出合适的电量共享方式后,电量共享信息可通过车辆之间近距离通信的方式同步至目标车辆集合中的车辆,从而实现车辆之间的电量共享,通过近距离通信的方式,信息传输相对更为可靠。并且,之前由于电量不足而不可用的车辆,车辆之间进行电量共享之后,可使得各个车辆的电量相对均衡,电量不可用车辆的数量减少,电量可用车辆的数量增多,提高车辆利用率,避免车辆无法使用的现象。另外,由于电量低的车辆可暂时由电量高的车辆为其充电,因此同时降低管理人员对车辆换电池或充电的频率,节省人力,可以在初始车辆集合中的车辆均处于缺电状态时再进行整体充电,以提高充电效率。Through the above solution, when the vehicle is the vehicle with the largest current electricity in the initial vehicle set, the vehicle controls the vehicle in the target vehicle set to share electricity, wherein the target vehicle set is a subset of the initial vehicle set. By adopting the power sharing method of the present disclosure, there is no need for the server to control the vehicle, and the remote communication between the vehicle and the server is not required, which effectively avoids the problem of unstable remote communication between the server and the vehicle. The information can be synchronized to the vehicles in the target vehicle set through short-range communication between vehicles, so as to realize the power sharing between vehicles. Through the short-range communication, the information transmission is relatively more reliable. In addition, for vehicles that were previously unavailable due to insufficient power, after the power sharing between vehicles, the power of each vehicle can be relatively balanced, the number of vehicles with unusable power can be reduced, and the number of vehicles with available power can be increased. The phenomenon that the vehicle cannot be used. In addition, because vehicles with low power can be temporarily charged by vehicles with high power, the frequency of battery replacement or charging by managers is reduced at the same time, saving manpower. Perform overall charging to improve charging efficiency.

本公开中,在本车为初始车辆集合中当前电量最大的车辆的情况下,在通过本车控制目标车辆集合中的车辆之间进行电量共享之前,本车可通过以下方式确定目标车辆集合:In the present disclosure, in the case that the vehicle is the vehicle with the largest current power in the initial vehicle set, before the vehicle controls the power sharing among the vehicles in the target vehicle set, the vehicle can determine the target vehicle set in the following manner:

根据初始车辆集合中每一车辆的当前电量,确定初始车辆集合的当前总电量;确定当前总电量与初始车辆集合中的车辆数量的比值;在该比值小于或等于预设电量阈值,且车辆数量大于2的情况下,从初始车辆集合中剔除当前电量最小的车辆,以得到更新后的初始车辆集合;基于每次更新后的初始车辆集合,对所述比值进行迭代计算,直到所述比值大于预设电量阈值;将最后一次更新得到的初始车辆集合作为目标车辆集合。According to the current power of each vehicle in the initial vehicle set, determine the current total power of the initial vehicle set; determine the ratio of the current total power to the number of vehicles in the initial vehicle set; when the ratio is less than or equal to the preset power threshold, and the number of vehicles In the case of greater than 2, the vehicle with the smallest current power is removed from the initial vehicle set to obtain the updated initial vehicle set; based on the initial vehicle set after each update, the ratio is iteratively calculated until the ratio is greater than Preset power threshold; take the initial vehicle set obtained by the last update as the target vehicle set.

其中,预设电量阈值可根据车辆正常行驶所需的最低电量确定,例如该预设电量阈值可以设置为车辆正常行驶所需的最低电量的1.5倍。如果车辆的当前电量小于或等于车辆正常行驶所需的最低电量,则车辆处于缺电状态,目前不可用,如果车辆的当前电量小于或等于预设电量阈值,可表征车辆当前的电量较低,续驶里程较短。The preset electric power threshold may be determined according to the minimum electric power required for the normal running of the vehicle, for example, the preset electric power threshold may be set to be 1.5 times the minimum electric power required for the normal running of the vehicle. If the current power of the vehicle is less than or equal to the minimum power required for the normal driving of the vehicle, the vehicle is in a state of power shortage and is currently unavailable. If the current power of the vehicle is less than or equal to the preset power threshold, it can indicate that the current power of the vehicle is low. The mileage is shorter.

示例地,车辆的当前电量可以百分比的形式表示,可将初始车辆集合中每一车辆的当前电量之和,作为该初始车辆集合的当前总电量,该当前总电量例如为M%,初始车辆集合中的车辆数量为N,则可确定M与N的比值。For example, the current electric power of the vehicle can be expressed in the form of a percentage, and the sum of the current electric power of each vehicle in the initial vehicle set can be taken as the current total electric power of the initial vehicle set, and the current total electric power is, for example, M%. The number of vehicles in is N, then the ratio of M to N can be determined.

如果该比值小于或等于预设电量阈值,那么初始车辆集合中的全部车辆进行电量共享之后,每一车辆的电量均较低。本公开中,在该比值小于或等于预设电量阈值、且初始车辆集合中的车辆数量大于2的情况下,可从初始车辆集合中剔除当前电量最小的车辆,以得到更新后的初始车辆集合。其中,如果当前电量最小的车辆参与电量共享,由其他车辆为该电量最小的车辆充电,会拉低其他车辆的电量,因此为了避免影响其他车辆的正常使用,可不进行初始车辆集合中所有车辆之间的电量共享,将当前电量最小的车辆从车辆集合中剔除,得到更新后的初始车辆集合,并重新执行根据初始车辆集合中每一车辆的当前电量,确定初始车辆集合的当前总电量的步骤至确定当前总电量与初始车辆集合中的车辆数量的比值的步骤。If the ratio is less than or equal to the preset electric power threshold, then after all the vehicles in the initial vehicle set share electric power, the electric power of each vehicle is low. In the present disclosure, when the ratio is less than or equal to the preset electric power threshold and the number of vehicles in the initial vehicle set is greater than 2, the vehicle with the current minimum electric power can be removed from the initial vehicle set to obtain an updated initial vehicle set . Among them, if the vehicle with the smallest current power participates in the power sharing, other vehicles will charge the vehicle with the smallest power, which will reduce the power of other vehicles. Therefore, in order to avoid affecting the normal use of other vehicles, it is not necessary to carry out all the vehicles in the initial vehicle set. The vehicle with the smallest current power is removed from the vehicle set, the updated initial vehicle set is obtained, and the steps of determining the current total power of the initial vehicle set according to the current power of each vehicle in the initial vehicle set are re-executed. to the step of determining the ratio of the current total charge to the number of vehicles in the initial vehicle set.

基于每次更新后的初始车辆集合,对当前得到的初始车辆集合的当前总电量与车辆数量的比值进行迭代计算,直至该比值大于预设电量阈值,并将最后一次更新得到的初始车辆集合作为目标车辆集合。Based on the initial vehicle set after each update, iteratively calculate the ratio of the current total power to the number of vehicles in the currently obtained initial vehicle set until the ratio is greater than the preset power threshold, and use the last updated initial vehicle set as A collection of target vehicles.

如果当前得到的初始车辆集合的当前总电量与车辆数量的比值大于预设电量阈值,该初始车辆集合中的车辆进行电量共享之后,每一车辆的电量均大于该预设电量阈值,能够正常使用的车辆较多,车辆利用率较高,因此可将最后一次更新得到的初始车辆集合确定为目标车辆集合,并通过本车控制目标车辆集合中的车辆之间进行电量共享。If the ratio of the current total power to the number of vehicles obtained in the initial vehicle set is greater than the preset power threshold, after the vehicles in the initial vehicle set share power, the power of each vehicle is greater than the preset power threshold and can be used normally. Therefore, the initial vehicle set obtained by the last update can be determined as the target vehicle set, and the vehicle in the target vehicle set can be controlled by the vehicle to share electricity among the vehicles in the target vehicle set.

示例地,当前车辆集合为图2所示的初始车辆集合,本车车辆201为当前电量最大的车辆,当前电量最小的车辆为车辆205,如果车辆201确定车辆201~车辆205的当前总电量与车辆数量5的比值小于或等于预设电量阈值,则可将车辆205从该初始车辆集合中剔除,得到的更新后的初始车辆集合包括车辆201~车辆204,并重新执行根据初始车辆集合中每一车辆的当前电量,确定初始车辆集合的当前总电量的步骤至确定当前总电量与初始车辆集合中的车辆数量的比值的步骤。如果车辆201确定车辆201~车辆204的当前总电量与车辆数量4的比值大于预设电量阈值,则可将车辆201~车辆204构成的集合确定为目标车辆集合,该目标车辆集合如图3所示,包括车辆201~车辆204。值得说明的是,图3所示的目标车辆集合仅为示例性的,例如,目标车辆集合可包括图2所示的初始车辆集合中的全部车辆,也可包括车辆201~车辆203。For example, the current vehicle set is the initial vehicle set shown in FIG. 2 , the own vehicle 201 is the vehicle with the largest current power, and the vehicle with the smallest current power is the vehicle 205. If the vehicle 201 determines that the current total power of the vehicles 201 to 205 is the same as If the ratio of the number of vehicles to 5 is less than or equal to the preset electric power threshold, the vehicle 205 can be removed from the initial vehicle set, and the obtained updated initial vehicle set includes vehicles 201 to 204, and re-executes according to each of the initial vehicle sets. The current electric quantity of a vehicle, from the steps of determining the current total electric quantity of the initial vehicle set to the step of determining the ratio of the current total electric quantity to the number of vehicles in the initial vehicle set. If the vehicle 201 determines that the ratio of the current total power of the vehicles 201 to 204 to the number of vehicles 4 is greater than the preset power threshold, the set composed of the vehicles 201 to 204 can be determined as the target vehicle set, and the target vehicle set is shown in FIG. 3 . shown, including vehicles 201 to 204 . It should be noted that the target vehicle set shown in FIG. 3 is only exemplary, for example, the target vehicle set may include all vehicles in the initial vehicle set shown in FIG. 2 , and may also include vehicles 201 to 203 .

另外,在当前得到的初始车辆集合的当前总电量与车辆数量的比值小于或等于预设电量阈值、且车辆数量小于或等于2的情况下,本车可发送车辆缺电提示信息,示例地,本车可向服务器或管理人员使用的终端发送该缺电提示信息。In addition, when the ratio of the current total power of the initial vehicle set obtained at present to the number of vehicles is less than or equal to the preset power threshold, and the number of vehicles is less than or equal to 2, the vehicle can send the vehicle power shortage prompt information, for example, The vehicle can send the power shortage prompt information to the server or the terminal used by the administrator.

其中,如果该比值小于或等于预设电量阈值,且该车辆数量小于或等于2,即使进行当前车辆集合中两辆车辆之间的电量共享,车辆仍然不可用或续驶里程较低,并且,已从最先构建的初始车辆集合中剔除的车辆的当前电量也较低,也即是最先构建的初始车辆集合中的车辆的当前电量均较低,均处于缺电状态,需要大批量的为车辆充电或更换电源。作为初始车辆集合中当前电量最大的本车可向服务器或管理人员使用的终端发送车辆缺电提示信息,该车辆缺电提示信息可包括初始车辆集合中各个车辆的标识信息、位置信息、当前电量等。如果向服务器发送该车辆缺电提示信息,服务器在接收到该车辆缺电提示信息后,可将该信息转发至管理人员使用的终端,以使管理人员及时对缺电的车辆进行充电,从而保证车辆能够正常使用。Wherein, if the ratio is less than or equal to the preset power threshold, and the number of vehicles is less than or equal to 2, even if power sharing between two vehicles in the current vehicle set is performed, the vehicle is still unavailable or the driving range is low, and, The current power of the vehicles that have been eliminated from the initial vehicle set constructed first is also low, that is, the current power of the vehicles in the initial vehicle set constructed first is low, and they are all in a power-deficient state. Charge the vehicle or replace the power source. As the vehicle with the largest current power in the initial vehicle set, it can send the vehicle power shortage prompt information to the server or the terminal used by the administrator. The vehicle power shortage prompt information can include the identification information, location information, current power level of each vehicle in the initial vehicle set Wait. If the vehicle power shortage prompt information is sent to the server, after receiving the vehicle power shortage prompt information, the server can forward the information to the terminal used by the management personnel, so that the management personnel can charge the power shortage vehicle in time, so as to ensure The vehicle can be used normally.

通过上述方案,在初始车辆集合的当前总电量与车辆数量的比值小于或等于预设电量阈值的情况下,为避免进行电量共享之后每一车辆的电量均较低的情况,可不进行该初始车辆集合中所有车辆之间的电量共享。若该初始车辆集合中的车辆数量大于2,可将当前电量最小的车辆从该初始车辆集合中删除,避免该电量最小的车辆拉低其他车辆的电量,以得到更新后的初始车辆集合。基于每次更新后的初始车辆集合,对该比值进行迭代计算,直到所述比值大于预设电量阈值,可将最后一次更新得到的初始车辆集合作为目标车辆集合,目标车辆集合中的车辆进行电量共享之后,每一车辆的电量均大于该预设电量阈值,能够正常使用的车辆较多,车辆利用率较高,从而保证电量共享的有效性。Through the above solution, in the case where the ratio of the current total electric power of the initial vehicle set to the number of vehicles is less than or equal to the preset electric power threshold, in order to avoid the situation that the electric power of each vehicle is low after the electric power sharing is performed, the initial vehicle may not be executed. Power sharing among all vehicles in the collection. If the number of vehicles in the initial vehicle set is greater than 2, the vehicle with the smallest current power can be deleted from the initial vehicle set to prevent the vehicle with the smallest power from lowering the power of other vehicles, so as to obtain an updated initial vehicle set. Based on the initial vehicle set after each update, the ratio is iteratively calculated until the ratio is greater than the preset electric power threshold, and the initial vehicle set obtained by the last update can be used as the target vehicle set. After sharing, the power of each vehicle is greater than the preset power threshold, more vehicles can be used normally, and the vehicle utilization rate is high, thereby ensuring the effectiveness of power sharing.

本公开中,在本车为初始车辆集合中当前电量最大的车辆的情况下,可通过本车控制目标车辆集合中的车辆之间进行电量共享,图4是根据一示例性实施例示出的一种控制目标车辆集合中的车辆之间进行电量共享的方法的流程图,如图4所示,该方法可包括S401和S402。In the present disclosure, in the case that the vehicle is the vehicle with the largest current power in the initial vehicle set, the vehicle in the target vehicle set can be used to control the power sharing. FIG. 4 is a diagram according to an exemplary embodiment. A flow chart of a method for controlling power sharing among vehicles in a target vehicle set, as shown in FIG. 4 , the method may include S401 and S402.

在S401中,确定目标车辆集合对应的目标电量共享信息。In S401, target power sharing information corresponding to the target vehicle set is determined.

其中,电量共享信息可包括用于指示目标车辆集合中作为充电方的车辆的第一指示信息、用于指示目标车辆集合中作为被充电方的车辆的第二指示信息、以及充电方需要向被充电方充电的充电电量信息。以图3所示的目标车辆集合中车辆201和车辆202为例,例如电量共享信息用于指示车辆201作为充电方、车辆202作为被充电方,以及车辆201需要向车辆202充电的充电电量信息为x%。The power sharing information may include first indication information for indicating the vehicle in the target vehicle set as the charging party, second indication information for indicating the vehicle in the target vehicle set as the charging party, and the charging direction needs to be directed to the charging party. The charging capacity information of the charging party. Taking the vehicle 201 and the vehicle 202 in the target vehicle set shown in FIG. 3 as an example, for example, the power sharing information is used to indicate that the vehicle 201 is the charging party, the vehicle 202 is the charging party, and the charging power information that the vehicle 201 needs to charge the vehicle 202. is x%.

在一可选实施方式中,该步骤S401的示例性实施方式可以为:根据一个或多个影响因子,确定多种预设电量共享信息分别对应的收益信息,该收益信息用于表征进行电量共享后目标车辆集合的整体收益;从多种预设电量共享信息中确定最优电量共享信息,其中,最优电量共享信息对应最优的收益信息;将最优电量共享信息确定为目标电量共享信息。In an optional implementation manner, an exemplary implementation of this step S401 may be: according to one or more influence factors, determine the income information corresponding to a plurality of preset power sharing information respectively, and the income information is used to represent the power sharing. the overall revenue of the target vehicle set; determine the optimal power sharing information from a variety of preset power sharing information, wherein the optimal power sharing information corresponds to the optimal revenue information; determine the optimal power sharing information as the target power sharing information .

其中,目标车辆集合中的车辆进行电量共享可以有多种可能的电量共享方式,预设电量共享信息可以是规划出的电量共享方式信息。预设电量共享信息对应的收益信息可用于表征目标车辆集合中的车辆按照该预设电量共享信息进行电量共享后目标车辆集合的整体收益。其中,影响因子可包括:电量可用车辆的数量的增量、总充电距离、进行电量共享之后目标车辆集合中各车辆之间的电量差异信息之和。Wherein, the vehicles in the target vehicle set may have a variety of possible power sharing modes for power sharing, and the preset power sharing information may be the information on the planned power sharing mode. The income information corresponding to the preset electric power sharing information may be used to represent the overall income of the target vehicle set after the vehicles in the target vehicle set share electric power according to the preset electric power sharing information. The influence factor may include: the increment of the number of vehicles with available electric power, the total charging distance, and the sum of information on the electric power difference between the vehicles in the target vehicle set after electric power sharing is performed.

其中,电量可用车辆可以指的是电量高于车辆正常行驶所需的最低电量的车辆,车辆不可用车辆可以指的是电量低于该最低电量的车辆。例如初始车辆集合中包括3辆电量不可用车辆,目标车辆集合包括初始车辆集合中的全部车辆,车辆之间进行电量共享之后所有车辆均为电量可用车辆,则电量可用车辆的数量的增量为3。总充电距离可以包括充电方与被充电方之间的总距离,例如车辆201向车辆202充电,车辆203向车辆204充电,则总充电距离可包括车辆201与车辆202之间的距离和车辆203与车辆204之间的距离之和。电量差异信息之和可以指的是进行电量共享之后目标车辆集合中每两个车辆之间的电量差值信息的绝对值之和。Wherein, a vehicle with available power may refer to a vehicle whose power is higher than the minimum power required for normal running of the vehicle, and a vehicle with an unavailable vehicle may refer to a vehicle whose power is lower than the minimum power. For example, the initial vehicle set includes 3 vehicles with unavailable power, the target vehicle set includes all vehicles in the initial vehicle set, and after the power sharing between vehicles, all vehicles are available with power, then the increment of the number of vehicles with available power is 3. The total charging distance may include the total distance between the charging party and the charged party. For example, the vehicle 201 charges the vehicle 202 and the vehicle 203 charges the vehicle 204. The total charging distance may include the distance between the vehicle 201 and the vehicle 202 and the vehicle 203 The sum of the distances to the vehicle 204 . The sum of electric quantity difference information may refer to the sum of absolute values of electric quantity difference information between every two vehicles in the target vehicle set after electric quantity sharing is performed.

预设电量共享信息对应的收益信息可根据一个或多个影响因子确定,下面介绍几种确定收益信息的示例性实施方式。The income information corresponding to the preset power sharing information may be determined according to one or more influence factors, and several exemplary implementations for determining the income information are described below.

在一实施方式中,该收益信息可根据电量可用车辆的数量的增量确定,电量可用车辆的数量的增量最多,即收益信息最优。In one embodiment, the income information may be determined according to the increment of the number of vehicles with available electric power, and the increment of the number of vehicles with available electric power is the largest, that is, the income information is optimal.

在另一实施方式中,该收益信息可根据进行电量共享后目标车辆集合中各车辆之间的电量差异信息之和确定,该电量差异信息之和最小,即收益信息最优。In another embodiment, the income information may be determined according to the sum of the electric quantity difference information between the vehicles in the target vehicle set after electric quantity sharing, and the sum of the electric quantity difference information is the smallest, that is, the income information is optimal.

在又一实施方式中,该收益信息可同时根据电量可用车辆的数量的增量、总充电距离、进行电量共享之后目标车辆集合中各车辆之间的电量差异信息之和三者确定,可通过如下公式(1)确定该收益信息F,且F最大的情况下即为最优收益信息:In yet another embodiment, the revenue information can be determined according to the increment of the number of vehicles with available electric power, the total charging distance, and the sum of the electric power difference information between the vehicles in the target vehicle set after the electric power sharing is performed. The following formula (1) determines the income information F, and when F is the largest, it is the optimal income information:

F=a*delta_vehicle-b*dist_total-c*delta_power_diff (1)F=a*delta_vehicle-b*dist_total-c*delta_power_diff (1)

其中,a表示电量可用车辆的数量的增量所占的权重,b表示总充电距离所占的权重,c表示电量差异信息之和所占的权重,delta_vehicle表示电量可用车辆的数量的增量,dist_total表示总充电距离,delta_power_diff表示电量差异信息之和,a、b、c的取值可预先设置,均大于0。Among them, a represents the weight of the increment of the number of vehicles with available electricity, b represents the weight of the total charging distance, c represents the weight of the sum of the difference information of electricity, delta_vehicle represents the increment of the number of vehicles with available electricity, dist_total represents the total charging distance, delta_power_diff represents the sum of the power difference information, and the values of a, b, and c can be preset and are all greater than 0.

本公开中可从多种预设电量共享信息中,确定最优电量共享信息,该最优电量共享信息对应最优的收益信息,并将该最优电量共享信息作为目标电量共享信息,从而使得目标车辆集合中的车辆按照该目标电量共享信息进行电量共享,可以实现目标车辆集合的整体收益最优。In the present disclosure, the optimal power sharing information can be determined from a variety of preset power sharing information, the optimal power sharing information corresponds to the optimal revenue information, and the optimal power sharing information is used as the target power sharing information, so that the optimal power sharing information is used as the target power sharing information. Vehicles in the target vehicle set share power according to the target power sharing information, which can achieve the optimal overall revenue of the target vehicle set.

在S402中,将目标电量共享信息同步至目标车辆集合中除本车外的其他车辆,以使目标车辆集合中的车辆按照目标电量共享信息进行电量共享。In S402, the target power sharing information is synchronized to other vehicles in the target vehicle set except the vehicle, so that the vehicles in the target vehicle set perform power sharing according to the target power sharing information.

其中,将目标电量共享信息同步至目标车辆集合中除本车外的其他车辆,可以指的是通过车辆之间的信息传输,将目标电量共享信息分发至其他车辆。Wherein, synchronizing the target power sharing information to other vehicles in the target vehicle set except the vehicle may refer to distributing the target power sharing information to other vehicles through information transmission between vehicles.

如图3所示,以车辆201作为本车,且用于控制目标车辆集合中的车辆进行电量共享为例,车辆201可确定目标车辆集合对应的目标电量共享信息。示例地,该目标电量共享信息用于指示车辆201作为充电方、车辆202作为被充电方,以及车辆201需要向车辆202充电的充电电量信息为x%,车辆203作为充电方、车辆204作为被充电方,车辆203需要向车辆204充电的充电电量信息为y%。As shown in FIG. 3 , taking the vehicle 201 as the own vehicle and being used to control the vehicles in the target vehicle set to share electricity as an example, the vehicle 201 can determine the target electricity sharing information corresponding to the target vehicle set. For example, the target power sharing information is used to indicate that the vehicle 201 is the charging party, the vehicle 202 is the charging party, and the charging power information that the vehicle 201 needs to charge the vehicle 202 is x%, the vehicle 203 is the charging party, and the vehicle 204 is the charging party. On the charging side, the information of the charging amount of electricity that the vehicle 203 needs to charge the vehicle 204 is y%.

车辆201在确定出目标电量共享信息后,可将该信息发送至车辆202和车辆203,车辆203可将该信息发送至车辆204,这样,通过车辆之间的近距离信息传输,可将目标电量共享信息同步至车辆202~车辆204。其中,车辆203接收到该目标充电信息后,可获知车辆203需要向车辆204补充y%的电量,车辆204接收到该目标电量共享信息后,可获知从车辆203获取y%的电量,二者之间可建立充电链路,该充电链路可以是无线充电链路或有线充电链路,以实现电量共享。车辆201与车辆202与之类似。值得说明的是,作为被充电方的车辆,也可同时作为其他车辆的充电方,例如在车辆201也可向车辆202充电,即车辆202作为车辆201的被充电方。After the vehicle 201 determines the target power sharing information, it can send the information to the vehicle 202 and the vehicle 203, and the vehicle 203 can send the information to the vehicle 204. In this way, through the short-range information transmission between the vehicles, the target power can be transmitted. The shared information is synchronized to vehicles 202 to 204 . Wherein, after the vehicle 203 receives the target charging information, it can know that the vehicle 203 needs to add y% of the electricity to the vehicle 204, and after the vehicle 204 receives the target electricity sharing information, it can know that the vehicle 203 obtains y% of the electricity. A charging link can be established between them, and the charging link can be a wireless charging link or a wired charging link to realize power sharing. Vehicle 201 and vehicle 202 are similar. It should be noted that the vehicle that is the charged party can also be the charging party of other vehicles at the same time. For example, the vehicle 201 can also charge the vehicle 202 , that is, the vehicle 202 is the charging party of the vehicle 201 .

通过上述技术方案,可以从多种预设电量共享信息中,确定最优电量共享信息作为目标电量共享信息,并将该目标电量共享信息同步至目标车辆集合中除本车外的其他车辆。目标车辆集合中的车辆按照该目标电量共享信息进行电量共享,可以使得目标车辆集合的整体收益最优,从而有效提高电量共享之后车辆的整体利用率,同时降低管理人员对车辆换电池或充电的频率。Through the above technical solution, the optimal power sharing information can be determined from a variety of preset power sharing information as the target power sharing information, and the target power sharing information can be synchronized to other vehicles in the target vehicle set except the vehicle. The vehicles in the target vehicle set share power according to the target power sharing information, which can optimize the overall revenue of the target vehicle set, thereby effectively improving the overall utilization rate of the vehicles after power sharing, and reducing the management personnel's need to change the battery or charge the vehicle. frequency.

基于同一发明构思,本公开还提供一种电量共享装置,图5是根据一示例性实施例示出的一种电量共享装置500的框图,如图5所示,该装置500可包括:Based on the same inventive concept, the present disclosure also provides a power sharing apparatus. FIG. 5 is a block diagram of a power sharing apparatus 500 according to an exemplary embodiment. As shown in FIG. 5 , the apparatus 500 may include:

获取模块501,被配置成用于获取初始车辆集合中每一车辆的当前电量,其中,所述每一车辆与所述初始车辆集合中至少一个其他车辆之间的距离小于预设距离阈值;The obtaining module 501 is configured to obtain the current electric quantity of each vehicle in the initial vehicle set, wherein the distance between each vehicle and at least one other vehicle in the initial vehicle set is less than a preset distance threshold;

控制模块502,被配置成用于在本车为所述初始车辆集合中当前电量最大的车辆的情况下,通过所述本车控制目标车辆集合中的车辆之间进行电量共享,其中,所述目标车辆集合为所述初始车辆集合的子集。The control module 502 is configured to perform electric power sharing among the vehicles in the target vehicle set by controlling the own vehicle under the condition that the own vehicle is the vehicle with the current maximum power in the initial vehicle set, wherein the The target vehicle set is a subset of the initial vehicle set.

通过上述方案,在本车为初始车辆集合中当前电量最大的车辆的情况下,通过本车控制目标车辆集合中的车辆之间进行电量共享,其中,目标车辆集合为初始车辆集合的子集。采用本公开的电量共享方法,无需服务器对车辆进行控制,不需要车辆与服务器进行远程通信,有效避免服务器与车辆远程通信不稳定的问题,本车在确定出合适的电量共享方式后,电量共享信息可通过车辆之间近距离通信的方式同步至目标车辆集合中的车辆,从而实现车辆之间的电量共享,通过近距离通信的方式,信息传输相对更为可靠。并且,之前由于电量不足而不可用的车辆,车辆之间进行电量共享之后,可使得各个车辆的电量相对均衡,电量不可用车辆的数量减少,电量可用车辆的数量增多,提高车辆利用率,避免车辆无法使用的现象。另外,由于电量低的车辆可暂时由电量高的车辆为其充电,因此同时降低管理人员对车辆换电池或充电的频率,节省人力,可以在初始车辆集合中的车辆均处于缺电状态时再进行整体充电,以提高充电效率。Through the above solution, when the vehicle is the vehicle with the largest current electricity in the initial vehicle set, the vehicle controls the vehicle in the target vehicle set to share electricity, wherein the target vehicle set is a subset of the initial vehicle set. By adopting the power sharing method of the present disclosure, there is no need for the server to control the vehicle, and the remote communication between the vehicle and the server is not required, which effectively avoids the problem of unstable remote communication between the server and the vehicle. The information can be synchronized to the vehicles in the target vehicle set through short-range communication between vehicles, so as to realize the power sharing between vehicles. Through the short-range communication, the information transmission is relatively more reliable. In addition, for vehicles that were previously unavailable due to insufficient power, after the power sharing between vehicles, the power of each vehicle can be relatively balanced, the number of vehicles with unusable power can be reduced, and the number of vehicles with available power can be increased. The phenomenon that the vehicle cannot be used. In addition, because vehicles with low power can be temporarily charged by vehicles with high power, the frequency of battery replacement or charging by managers is reduced at the same time, saving manpower. Perform overall charging to improve charging efficiency.

可选地,所述控制模块502,可包括:第一确定子模块,被配置成用于确定所述目标车辆集合对应的目标电量共享信息,其中,电量共享信息包括用于指示作为充电方的车辆的第一指示信息、用于指示作为被充电方的车辆的第二指示信息、所述充电方需要向所述被充电方充电的充电电量信息;信息同步子模块,被配置成用于将所述目标电量共享信息同步至所述目标车辆集合中除所述本车外的其他车辆,以使所述目标车辆集合中的车辆按照所述目标电量共享信息进行电量共享。Optionally, the control module 502 may include: a first determination sub-module configured to determine target power sharing information corresponding to the target vehicle set, wherein the power sharing information The first indication information of the vehicle, the second indication information used to indicate the vehicle as the charged party, the charging quantity information that the charging party needs to charge the charged party; the information synchronization sub-module is configured to The target power sharing information is synchronized to other vehicles in the target vehicle set except the own vehicle, so that the vehicles in the target vehicle set perform power sharing according to the target power sharing information.

可选地,所述第一确定子模块,可包括:第二确定子模块,被配置成用于根据一个或多个影响因子,确定多种预设电量共享信息分别对应的收益信息,所述收益信息用于表征进行电量共享后所述目标车辆集合的整体收益;第二确定子模块,被配置成用于从所述多种预设电量共享信息中确定最优电量共享信息,其中,所述最优电量共享信息对应最优的所述收益信息;第三确定子模块,被配置成用于将所述最优电量共享信息确定为所述目标电量共享信息。Optionally, the first determination sub-module may include: a second determination sub-module, configured to determine, according to one or more influence factors, revenue information corresponding to various preset power sharing information, the The income information is used to represent the overall income of the target vehicle set after the power sharing; the second determination sub-module is configured to determine the optimal power sharing information from the multiple preset power sharing information, wherein the The optimal power sharing information corresponds to the optimal revenue information; and a third determining sub-module is configured to determine the optimal power sharing information as the target power sharing information.

可选地,所述装置500还可包括:第一确定模块,被配置成用于在所述控制模块502通过所述本车控制目标车辆集合中的车辆之间进行电量共享之前,根据所述初始车辆集合中每一车辆的当前电量,确定所述初始车辆集合的当前总电量;第二确定模块,被配置成用于确定所述当前总电量与所述初始车辆集合中的车辆数量的比值;剔除模块,被配置成用于在所述比值小于或等于预设电量阈值,且所述车辆数量大于2的情况下,从所述初始车辆集合中剔除所述当前电量最小的车辆,以得到更新后的初始车辆集合;计算模块,被配置成用于基于每次更新后的初始车辆集合,对所述比值进行迭代计算,直到所述比值大于所述预设电量阈值;第三确定模块,被配置成用于将最后一次更新得到的初始车辆集合作为所述目标车辆集合。Optionally, the apparatus 500 may further include: a first determining module configured to, before the control module 502 performs electric power sharing among the vehicles in the target vehicle set controlled by the own vehicle, according to the the current electric quantity of each vehicle in the initial vehicle set, to determine the current total electric quantity of the initial vehicle set; the second determination module is configured to determine the ratio of the current total electric quantity to the number of vehicles in the initial vehicle set ; a culling module, configured to exclude the vehicle with the smallest current electric quantity from the initial vehicle set when the ratio is less than or equal to a preset electric power threshold and the number of vehicles is greater than 2, to obtain an updated initial vehicle set; a calculation module configured to iteratively calculate the ratio based on each updated initial vehicle set, until the ratio is greater than the preset power threshold; a third determination module, is configured to use the initial vehicle set obtained by the last update as the target vehicle set.

可选地,所述装置500还可包括:发送模块,被配置成用于在所述比值小于或等于所述预设电量阈值、且所述车辆数量小于或等于2的情况下,发送车辆缺电提示信息。Optionally, the apparatus 500 may further include: a sending module, configured to send the vehicle shortage when the ratio is less than or equal to the preset power threshold and the number of vehicles is less than or equal to 2. Electric notification information.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

本公开还提供一种车辆,所述车辆包括车载电源,还包括:存储器,其上存储有计算机程序;处理器,用于执行所述存储器中的所述计算机程序,以实现本公开提供的电量共享方法。The present disclosure also provides a vehicle, the vehicle includes an on-board power supply, and further includes: a memory on which a computer program is stored; a processor for executing the computer program in the memory to realize the power provided by the present disclosure shared method.

图6是根据一示例性实施例示出的一种车辆的框图。参照图6,车辆600包括处理器622,其数量可以为一个或多个,以及存储器632,用于存储可由处理器622执行的计算机程序。存储器632中存储的计算机程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理器622可以被配置为执行该计算机程序,以执行上述的电量共享方法。FIG. 6 is a block diagram of a vehicle according to an exemplary embodiment. Referring to FIG. 6 , the vehicle 600 includes a processor 622 , which may be one or more in number, and a memory 632 for storing computer programs executable by the processor 622 . The computer program stored in memory 632 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processor 622 may be configured to execute the computer program to perform the above-described power sharing method.

另外,车辆600还可以包括车载电源626和通信组件650,该车载电源626可以被配置为执行车辆600的电源管理,该通信组件650可以被配置为实现车辆600的通信,例如,有线或无线通信。此外,该车辆600还可以包括输入/输出(I/O)接口658。车辆600可以操作基于存储在存储器632的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM等等。Additionally, the vehicle 600 may also include an on-board power supply 626, which may be configured to perform power management of the vehicle 600, and a communications component 650, which may be configured to enable communications for the vehicle 600, eg, wired or wireless communications . Additionally, the vehicle 600 may also include an input/output (I/O) interface 658 . Vehicle 600 may operate based on an operating system stored in memory 632, such as Windows Server , Mac OS X , Unix , Linux , and the like.

在另一示例性实施例中,还提供了一种包括程序指令的计算机可读存储介质,该程序指令被处理器执行时实现上述的电量共享方法的步骤。例如,该计算机可读存储介质可以为上述包括程序指令的存储器632,上述程序指令可由车辆600的处理器622执行以完成上述的电量共享方法。In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned power sharing method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 632 including program instructions, and the above-mentioned program instructions can be executed by the processor 622 of the vehicle 600 to implement the above-mentioned power sharing method.

在另一示例性实施例中,还提供一种计算机程序产品,该计算机程序产品包含能够由可编程的装置执行的计算机程序,该计算机程序具有当由该可编程的装置执行时用于执行上述的电量共享方法的代码部分。In another exemplary embodiment, there is also provided a computer program product comprising a computer program executable by a programmable apparatus, the computer program having, when executed by the programmable apparatus, for performing the above The code section of the power sharing method.

以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。The preferred embodiments of the present disclosure have been described above in detail with reference to the accompanying drawings. However, the present disclosure is not limited to the specific details of the above-mentioned embodiments. Various simple modifications can be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure. These simple modifications all fall within the protection scope of the present disclosure.

另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合,为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。In addition, it should be noted that the various specific technical features described in the above-mentioned specific embodiments can be combined in any suitable manner unless they are inconsistent. In order to avoid unnecessary repetition, the present disclosure provides The combination method will not be specified otherwise.

此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。In addition, the various embodiments of the present disclosure can also be arbitrarily combined, as long as they do not violate the spirit of the present disclosure, they should also be regarded as the contents disclosed in the present disclosure.

Claims (10)

1.一种电量共享方法,其特征在于,所述方法包括:1. A power sharing method, characterized in that the method comprises: 获取初始车辆集合中每一车辆的当前电量,其中,所述每一车辆与所述初始车辆集合中至少一个其他车辆之间的距离小于预设距离阈值;obtaining the current electric quantity of each vehicle in the initial vehicle set, wherein the distance between each vehicle and at least one other vehicle in the initial vehicle set is less than a preset distance threshold; 在本车为所述初始车辆集合中当前电量最大的车辆的情况下,通过所述本车控制目标车辆集合中的车辆之间进行电量共享,其中,所述目标车辆集合为所述初始车辆集合的子集。In the case that the own vehicle is the vehicle with the largest current power in the initial vehicle set, the power sharing between the vehicles in the target vehicle set is controlled by the own vehicle, wherein the target vehicle set is the initial vehicle set subset of . 2.根据权利要求1所述的方法,其特征在于,所述控制目标车辆集合中的车辆之间进行电量共享,包括:2 . The method according to claim 1 , wherein the power sharing between the vehicles in the control target vehicle set comprises: 2 . 确定所述目标车辆集合对应的目标电量共享信息,其中,电量共享信息包括用于指示作为充电方的车辆的第一指示信息、用于指示作为被充电方的车辆的第二指示信息、所述充电方需要向所述被充电方充电的充电电量信息;Determining target power sharing information corresponding to the target vehicle set, wherein the power sharing information includes first indication information for indicating a vehicle serving as a charging party, second indicating information for indicating a vehicle serving as a charging party, and the The charging power information that the charging party needs to charge the charged party; 将所述目标电量共享信息同步至所述目标车辆集合中除所述本车外的其他车辆,以使所述目标车辆集合中的车辆按照所述目标电量共享信息进行电量共享。Synchronizing the target power sharing information to other vehicles in the target vehicle set except the own vehicle, so that the vehicles in the target vehicle set perform power sharing according to the target power sharing information. 3.根据权利要求2所述的方法,其特征在于,所述确定所述目标车辆集合对应的目标电量共享信息,包括:3. The method according to claim 2, wherein the determining the target power sharing information corresponding to the target vehicle set comprises: 根据一个或多个影响因子,确定多种预设电量共享信息分别对应的收益信息,所述收益信息用于表征进行电量共享后所述目标车辆集合的整体收益;According to one or more influence factors, determine the income information corresponding to various preset electric power sharing information respectively, the income information is used to represent the overall income of the target vehicle set after the electric power sharing is performed; 从所述多种预设电量共享信息中确定最优电量共享信息,其中,所述最优电量共享信息对应最优的所述收益信息;Determine optimal power sharing information from the plurality of preset power sharing information, wherein the optimal power sharing information corresponds to the optimal revenue information; 将所述最优电量共享信息确定为所述目标电量共享信息。The optimal power sharing information is determined as the target power sharing information. 4.根据权利要求3所述的方法,其特征在于,所述影响因子,包括:电量可用车辆的数量的增量、总充电距离、进行电量共享之后所述目标车辆集合中各车辆之间的电量差异信息之和。4 . The method according to claim 3 , wherein the impact factor comprises: the increment of the number of vehicles with available electric power, the total charging distance, the difference between the vehicles in the target vehicle set after electric power sharing is performed. 5 . Sum of power difference information. 5.根据权利要求1所述的方法,其特征在于,在所述通过所述本车控制目标车辆集合中的车辆之间进行电量共享之前,还包括:5 . The method according to claim 1 , wherein before the power sharing between the vehicles in the target vehicle set controlled by the own vehicle, the method further comprises: 5 . 根据所述初始车辆集合中每一车辆的当前电量,确定所述初始车辆集合的当前总电量;determining the current total power of the initial vehicle set according to the current power of each vehicle in the initial vehicle set; 确定所述当前总电量与所述初始车辆集合中的车辆数量的比值;determining the ratio of the current total power to the number of vehicles in the initial vehicle set; 在所述比值小于或等于预设电量阈值,且所述车辆数量大于2的情况下,从所述初始车辆集合中剔除所述当前电量最小的车辆,以得到更新后的初始车辆集合;When the ratio is less than or equal to a preset electric power threshold, and the number of vehicles is greater than 2, remove the vehicle with the minimum current electric power from the initial vehicle set to obtain an updated initial vehicle set; 基于每次更新后的初始车辆集合,对所述比值进行迭代计算,直到所述比值大于所述预设电量阈值;Based on the initial vehicle set after each update, iteratively calculate the ratio until the ratio is greater than the preset power threshold; 将最后一次更新得到的初始车辆集合作为所述目标车辆集合。The initial vehicle set obtained by the last update is used as the target vehicle set. 6.根据权利要求5所述的方法,其特征在于,所述方法还包括:6. The method according to claim 5, wherein the method further comprises: 在所述比值小于或等于所述预设电量阈值,且所述车辆数量小于或等于2的情况下,发送车辆缺电提示信息。When the ratio is less than or equal to the preset power threshold, and the number of vehicles is less than or equal to 2, a vehicle power shortage prompt message is sent. 7.根据权利要求5或6所述的方法,其特征在于,所述预设电量阈值根据车辆正常行驶所需的最低电量确定。7. The method according to claim 5 or 6, wherein the preset electric power threshold is determined according to the minimum electric power required for the normal running of the vehicle. 8.一种电量共享装置,其特征在于,所述装置包括:8. A power sharing device, wherein the device comprises: 获取模块,被配置成用于获取初始车辆集合中每一车辆的当前电量,其中,所述每一车辆与所述初始车辆集合中至少一个其他车辆之间的距离小于预设距离阈值;an acquisition module, configured to acquire the current power of each vehicle in the initial vehicle set, wherein the distance between each vehicle and at least one other vehicle in the initial vehicle set is less than a preset distance threshold; 控制模块,被配置成用于在本车为所述初始车辆集合中当前电量最大的车辆的情况下,通过所述本车控制目标车辆集合中的车辆之间进行电量共享,其中,所述目标车辆集合为所述初始车辆集合的子集。a control module, configured to control the power sharing among the vehicles in the target vehicle set through the own vehicle under the condition that the own vehicle is the vehicle with the current maximum power in the initial vehicle set, wherein the target vehicle The set of vehicles is a subset of the initial set of vehicles. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1-7中任一项所述方法的步骤。9. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the steps of the method according to any one of claims 1-7 are implemented. 10.一种车辆,其特征在于,所述车辆包括车载电源,还包括:10. A vehicle, characterized in that the vehicle comprises an on-board power supply, further comprising: 存储器,其上存储有计算机程序;a memory on which a computer program is stored; 处理器,用于执行所述存储器中的所述计算机程序,以实现权利要求1-7中任一项所述方法的步骤。A processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-7.
CN202011480381.XA 2020-12-15 2020-12-15 Electric quantity sharing method, device, medium and vehicle Pending CN114640968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011480381.XA CN114640968A (en) 2020-12-15 2020-12-15 Electric quantity sharing method, device, medium and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011480381.XA CN114640968A (en) 2020-12-15 2020-12-15 Electric quantity sharing method, device, medium and vehicle

Publications (1)

Publication Number Publication Date
CN114640968A true CN114640968A (en) 2022-06-17

Family

ID=81944717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011480381.XA Pending CN114640968A (en) 2020-12-15 2020-12-15 Electric quantity sharing method, device, medium and vehicle

Country Status (1)

Country Link
CN (1) CN114640968A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114889453A (en) * 2022-06-24 2022-08-12 重庆长安汽车股份有限公司 Vehicle energy sharing method, system, equipment, medium and energy supply vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110038372A (en) * 2009-10-08 2011-04-14 한양대학교 산학협력단 Wireless sensor network system and its control method
US20160129793A1 (en) * 2014-11-11 2016-05-12 Empire Technology Development Llc Wireless vehicle energy sharing
CN105933948A (en) * 2016-06-24 2016-09-07 成都之达科技有限公司 Method for transmitting state data of motor vehicle in real time
CN108307471A (en) * 2018-01-12 2018-07-20 武汉大学 A kind of cluster-head node selection algorithm of energy balance
CN109895639A (en) * 2019-02-19 2019-06-18 深圳市行自迩科技有限公司 Networking system and method are shared based on Internet of Things electric vehicle electricity
WO2020016997A1 (en) * 2018-07-19 2020-01-23 本田技研工業株式会社 Battery sharing service management device, management method, and program
CN111845388A (en) * 2020-07-29 2020-10-30 广州小鹏车联网科技有限公司 Method and device for supplementing energy between vehicles

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110038372A (en) * 2009-10-08 2011-04-14 한양대학교 산학협력단 Wireless sensor network system and its control method
US20160129793A1 (en) * 2014-11-11 2016-05-12 Empire Technology Development Llc Wireless vehicle energy sharing
CN105933948A (en) * 2016-06-24 2016-09-07 成都之达科技有限公司 Method for transmitting state data of motor vehicle in real time
CN108307471A (en) * 2018-01-12 2018-07-20 武汉大学 A kind of cluster-head node selection algorithm of energy balance
WO2020016997A1 (en) * 2018-07-19 2020-01-23 本田技研工業株式会社 Battery sharing service management device, management method, and program
CN109895639A (en) * 2019-02-19 2019-06-18 深圳市行自迩科技有限公司 Networking system and method are shared based on Internet of Things electric vehicle electricity
CN111845388A (en) * 2020-07-29 2020-10-30 广州小鹏车联网科技有限公司 Method and device for supplementing energy between vehicles

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张蕾: "《无线传感器网络技术与应用 第2版》", 31 October 2020, 机械工业出版社, pages: 99 - 100 *
王敏: "《传感器网络数据管理技术研究》", 30 June 2020, 吉林大学出版社, pages: 82 - 83 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114889453A (en) * 2022-06-24 2022-08-12 重庆长安汽车股份有限公司 Vehicle energy sharing method, system, equipment, medium and energy supply vehicle

Similar Documents

Publication Publication Date Title
CN109501630B (en) Real-time recommendation method and system for electric vehicle charging scheme
EP3564061B1 (en) Method and device for determining utility of replacement of battery pack for electric vehicle
CN108237942B (en) Electric vehicle rescue system and electric vehicle rescue method
US8378627B2 (en) Electric supply controller, electric supply system and method for controlling electric supply to charger and vehicle
US20180241234A1 (en) Methods And Charge Controllers For Charging Of Battery In Electric Vehicle
JP2011142704A (en) Method for managing charging of secondary battery of work vehicle, and charging system
CN113002347B (en) An automatic charging system and automatic charging method for an electric vehicle
JP2013027163A (en) Battery charge plan support system
WO2018184422A1 (en) Battery management method, device and system
CN111497676B (en) Hybrid vehicle and method for controlling hybrid vehicle
WO2022052043A1 (en) Vehicle charging method and apparatus
CN111038335B (en) Battery charging management method, battery charging management device and computer equipment
CN114611900A (en) Power exchange scheduling method, device and equipment
CN111864861A (en) Robot intelligent charging method and intelligent charging interactive system
CN116353393B (en) Charging pile power regulation and control method and system
CN108583358A (en) The selection device and selection method of pure electric automobile charge path
CN114640968A (en) Electric quantity sharing method, device, medium and vehicle
CN107244250B (en) Intelligent charging system and method for electric vehicle
US20230253795A1 (en) Vehicle
US20250026232A1 (en) Charging system and vehicle
JP6913728B2 (en) Management equipment, management methods, and programs
CN116783609A (en) Charge and discharge loss reduction method and charge and discharge loss reduction device
CN116985668A (en) Charging method, charging controller, charging system and storage medium
CN114771334A (en) One-pile double-gun parallel charging machine and charging control method thereof
CN108233446B (en) Power supply method, device and system based on unmanned aerial vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220617