Charging method, device and equipment, readable storage medium and vehicle

By obtaining the current location information of the vehicle and determining whether it is in the target area, the problem of the vehicle waiting for charging caused by the user's failure to close the charging appointment in time is solved, and the vehicle's power is guaranteed and the user's itinerary is smooth.

CN120024230APending Publication Date: 2025-05-23BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311557947.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

When the user does not turn off the charging reservation in time, the vehicle may be in a state of waiting for charging, resulting in insufficient power and delaying the user's trip.

Method used

By detecting that the vehicle is inserted into the charging device and there is a charging reservation, the current position information of the vehicle is obtained, and whether it is in the target area is determined. If it is there, the charging strategy is executed, and if it is not there, the charging starts.

Benefits of technology

Ensure that the vehicle has sufficient power, avoid delaying user trips, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120024230A_ABST
    Figure CN120024230A_ABST
Patent Text Reader

Abstract

The invention discloses a charging method, device and equipment, a readable storage medium and a vehicle, and relates to the technical field of vehicles. The method comprises the steps of obtaining current position information of a vehicle under the condition that it is detected that the vehicle is inserted into a charging device and the vehicle has a charging reservation; determining whether the vehicle is in the target area through the current position information; and when the vehicle is in the target area, executing a charging strategy corresponding to the charging reservation, and when the vehicle is not in the target area, controlling the vehicle to start charging. According to the embodiment of the invention, the vehicle can be directly charged under the condition that the user does not timely close the charging reservation, so that the electric quantity of the vehicle is ensured, the problem of delaying the travel of the user is improved or solved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of vehicle technology, and in particular, relates to a charging method, device, equipment, readable storage medium and vehicle. Background Art

[0002] With the development of science and technology, vehicles such as electric vehicles have gradually become a common means of transportation in people's lives.

[0003] In the related art, when a vehicle is plugged into a charging gun at a public charging station or other charging station and a charging reservation is made, it is determined whether the current time has reached the scheduled time of the charging reservation. If the current time has not reached the scheduled time of the charging reservation, if the user does not close the charging reservation in time, the vehicle will remain in a state of waiting for charging, resulting in insufficient power in the vehicle, which may delay the user's journey. Summary of the invention

[0004] The embodiments of the present application provide a charging method, device, equipment, readable storage medium and vehicle, which can directly charge the vehicle when the user does not close the charging reservation in time, so as to ensure the vehicle's power, improve or solve the problem of delaying the user's travel, and improve the user experience.

[0005] In a first aspect, an embodiment of the present application provides a charging method, the method comprising:

[0006] When it is detected that the vehicle is plugged into a charging device and the vehicle has a charging reservation, the current location information of the vehicle is obtained;

[0007] Determine whether the vehicle is in the target area through the current location information;

[0008] When the vehicle is in the target area, the charging strategy corresponding to the charging reservation is executed;

[0009] When the vehicle is not in the target area, the vehicle is controlled to start charging.

[0010] In some optional implementations of the first aspect, determining whether the vehicle is in the target area according to the current position information includes:

[0011] When the distance between the current position information and the target position information is within a preset distance range, determining that the vehicle is in the target area;

[0012] Alternatively, when the distance between the current position information and the target position information is not within a preset distance range, it is determined that the vehicle is not in the target area.

[0013] In some optional implementations of the first aspect, the process of determining whether a vehicle has a charging reservation includes:

[0014] When the first switch is turned on, determining that the vehicle has a charging reservation;

[0015] Alternatively, when the first switch is off, it is determined that there is no charging reservation for the vehicle.

[0016] In some optional implementations of the first aspect, the charging strategy corresponding to the charging appointment includes an on-time stop strategy, and executing the charging strategy corresponding to the charging appointment includes:

[0017] Obtain the target charging end time and target charging duration of the vehicle, where the target charging end time is the time when the user uses the vehicle, and the target charging duration is the time it takes to charge the vehicle's battery to the target power;

[0018] Determine a time earlier than the target charging end time by the target charging duration as the target charging start time of the vehicle;

[0019] The vehicle is controlled to start charging at a target charging start time and to stop charging at a target charging end time.

[0020] In some optional implementations of the first aspect, the charging strategy corresponding to the charging reservation includes an on-time start strategy or a low-price charging strategy, and executing the charging strategy corresponding to the charging reservation includes:

[0021] When the current time is within a preset time range, the vehicle is controlled to start charging, and the preset time range includes the vehicle start time specified by the user, or includes the off-peak electricity consumption period;

[0022] Alternatively, when the current time is not within the preset time range, a first prompt message is output, and the first prompt message is used to indicate to the user that the vehicle is waiting for charging.

[0023] In some optional implementations of the first aspect, determining whether the vehicle is behind the target area through current location information, the method further includes:

[0024] When the vehicle is not in the target area, the vehicle is controlled to start charging.

[0025] In some optional implementations of the first aspect, obtaining current position information of the vehicle includes:

[0026] When the vehicle is in fixed-location charging mode, the current location information of the vehicle is obtained.

[0027] In some optional implementations of the first aspect, the process of determining whether the vehicle is in a fixed location charging mode includes:

[0028] When the current state of the second switch of the vehicle is the on state, determining that the vehicle is in a fixed location charging mode;

[0029] Alternatively, when the current state is the off state, it is determined that the vehicle is not in the fixed-location charging mode.

[0030] In some optional implementations of the first aspect, determining whether the vehicle is before the target area by current position information includes:

[0031] In response to a first input operation of a user, controlling the current state of the second switch to be an on state, wherein the first input operation includes an operation of the user making a reservation for charging;

[0032] When the target position information of the vehicle is obtained, the current state is controlled to be switched from the loading state to the conducting state;

[0033] In response to a determination operation by the user, storing target location information;

[0034] Alternatively, when the target position information is not obtained, the current state is controlled to switch from the loading state to the off state.

[0035] Based on the same inventive concept, in a second aspect, an embodiment of the present application provides a charging device, the device comprising:

[0036] An acquisition module, used to acquire the current location information of the vehicle when it is detected that the vehicle is plugged into the charging device and the vehicle has a charging reservation;

[0037] A first determination module, used to determine whether the vehicle is in a target area according to current location information;

[0038] An execution module, used for executing a charging strategy corresponding to the charging reservation when the vehicle is in the target area;

[0039] The first control module is used to control the vehicle to start charging when the vehicle is not in the target area.

[0040] Based on the same inventive concept, in a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising a processor and a memory storing computer program instructions;

[0041] The processor reads and executes computer program instructions to implement the charging method according to the first aspect.

[0042] Based on the same inventive concept, in a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the charging method of the first aspect is implemented.

[0043] Based on the same inventive concept, in a fifth aspect, an embodiment of the present application provides a vehicle, including at least one of the following:

[0044] The charging device of the second aspect;

[0045] Such as the electronic device of the third aspect;

[0046] As the computer storage medium of the fourth aspect.

[0047] According to the charging method, device, equipment, readable storage medium and vehicle provided in the embodiment of the present application, when it is detected that the vehicle is plugged into the charging device and the vehicle has a charging reservation, the current location information of the vehicle is first obtained; then the current location information is used to determine whether the vehicle is in the target area; and then, when the vehicle is in the target area, the charging strategy corresponding to the charging reservation can be executed, and when the vehicle is not in the target area, the vehicle can be controlled to start charging. In the embodiment of the present application, when the vehicle is in the target area, the charging strategy corresponding to the charging reservation is executed, and when the vehicle is not in the target area, if the user does not close the charging reservation in time, the vehicle can be directly charged to ensure the vehicle's power, improve or solve the problem of delaying the user's journey, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0049] Figure 1 This is a flow chart of a charging method provided in an embodiment of the present application;

[0050] Figure 2 is a structural schematic diagram of a charging device provided in an embodiment of the present application;

[0051] Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0053] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.

[0054] The embodiments of the present application provide a charging method, a device, a equipment, a readable storage medium and a vehicle. The charging method provided by the embodiments of the present application is first introduced below.

[0055] Figure 1 It is a flow chart of the charging method provided in an embodiment of the present application.

[0056] The charging method provided in the embodiment of the present application can be performed by a vehicle and a charging device. Figure 1 As shown, the method may include the following S110 to S140.

[0057] S110: When it is detected that the vehicle is plugged into the charging device and a charging reservation is made for the vehicle, the current location information of the vehicle is obtained.

[0058] S120: Determine whether the vehicle is in the target area based on the current position information.

[0059] S130: When the vehicle is in the target area, execute a charging strategy corresponding to the charging reservation.

[0060] S140: When the vehicle is not in the target area, control the vehicle to start charging.

[0061] According to the charging method provided in the embodiment of the present application, when it is detected that the vehicle is plugged into the charging device and the vehicle has a charging reservation, the current location information of the vehicle is first obtained; then, it is determined whether the vehicle is in the target area through the current location information; and then, when the vehicle is in the target area, the charging strategy corresponding to the charging reservation can be executed, and when the vehicle is not in the target area, the vehicle can be controlled to start charging. In the embodiment of the present application, when the vehicle is in the target area, the charging strategy corresponding to the charging reservation is executed, and when the vehicle is not in the target area, if the user does not close the charging reservation in time, the vehicle can be directly charged to ensure the vehicle's power, improve or solve the problem of delaying the user's journey, and improve the user experience.

[0063] The specific implementation of S110 to S140 is introduced below.

[0064] In S110 , the charging device may be a device capable of charging a battery of the vehicle.

[0065] Exemplarily, the charging device may be a charging gun of a charging pile.

[0066] The charging reservation may include the charging mode, charging start time and charging end time reserved by the user. The charging modes may include on-time end mode, low-price mode, on-time start mode, fixed-location charging mode and non-fixed-location charging mode.

[0067] It is understandable that in the embodiment of the present application, only when the vehicle is in a fixed-location charging mode can charging be scheduled in any of the on-time end mode, low-price mode and on-time start mode. When the vehicle is in a non-fixed-location charging mode, charging cannot be scheduled in any of the on-time end mode, low-price mode and on-time start mode.

[0068] The on-time end mode may include a mode for dynamically adjusting the target charging start time according to the target charging end time. In other words, the first charging mode can ensure that the battery power of the vehicle is charged to the target power at the target charging end time.

[0069] The low-price mode may include a mode for charging during off-peak hours.

[0070] The scheduled start mode may include a mode in which charging is performed at a start time of the vehicle specified by a user.

[0071] The fixed location charging mode may include a mode in which scheduled charging is performed only at a fixed location.

[0072] The non-fixed location charging mode may include a mode in which scheduled charging can be performed at any location.

[0073] Optionally, when it is detected that the charging device port is connected to the vehicle's on-board diagnostic module (ODU), it is determined that the vehicle is plugged into the charging device; when it is detected that the charging device port is not connected to the vehicle's on-board diagnostic module, it is determined that the vehicle is not plugged into the charging device.

[0074] The current location information of the vehicle may be at least one of the latitude and longitude information and the coordinate information of the vehicle when the vehicle is plugged into the charging device. The current location information may be obtained from the vehicle's automatic driving system (Full Self-Driving, FSD).

[0075] In some optional implementations, the process of determining whether a vehicle has a charging reservation may include:

[0076] When the first switch is turned on, determining that the vehicle has a charging reservation;

[0077] Alternatively, when the first switch is off, it is determined that there is no charging reservation for the vehicle.

[0078] In this embodiment, whether the vehicle has a charging reservation can be accurately determined by the state of the first switch, that is, whether the first switch is turned on or off.

[0079] Exemplarily, the first switch may include a scheduled charging switch.

[0080] In some optional implementations, obtaining the current location information of the vehicle includes:

[0081] When the vehicle is in fixed-location charging mode, the current location information of the vehicle is obtained.

[0082] In this embodiment, the current location information of the vehicle is only obtained when the vehicle is in a fixed-location charging mode. Compared with obtaining the current location information of the vehicle in both a fixed-location charging mode and a non-fixed-location charging mode, the number of times the current location information of the vehicle is obtained can be reduced.

[0083] Optionally, the process of determining whether the vehicle is in a fixed location charging mode includes:

[0084] When the current state of the second switch of the vehicle is the on state, determining that the vehicle is in a fixed location charging mode;

[0085] Alternatively, when the current state is the off state, it is determined that the vehicle is not in the fixed-location charging mode.

[0086] In this embodiment, whether the vehicle is in the fixed-location charging mode can be accurately determined by the current state of the second switch.

[0087] The second switch may be a switch for determining whether to turn on fixed-location charging. If the current state of the second switch is an on state, it can be considered that the vehicle has turned on fixed-location charging, and if the current state of the first switch is an off state, it can be considered that the vehicle has turned off fixed-location charging. The user can control whether the vehicle turns on fixed-location charging by controlling the current state of the second switch.

[0088] In S120 , after acquiring the current location information of the vehicle, the electronic device may determine whether the vehicle is in the target area based on the current location information.

[0089] The target area may include an area where the vehicle can be scheduled for charging.

[0090] The target area can be set according to the actual situation and is not limited here. For example, the target area can be the parking lot of the user's home.

[0091] In some optional implementations, determining whether the vehicle is in the target area according to the current location information includes:

[0092] When the distance between the current position information and the target position information is within a preset distance range, determining that the vehicle is in the target area;

[0093] Alternatively, when the distance between the current position information and the target position information is not within a preset distance range, it is determined that the vehicle is not in the target area.

[0094] In this embodiment, whether the vehicle is in the target area can be accurately and quickly determined based on the relationship between the distance between the current position information and the target position information and the preset distance range.

[0095] The target location information may include at least one of the latitude and longitude information and coordinate information of the target area acquired by the Android system (Android) of the vehicle computer and stored in the vehicle.

[0096] It can be understood that when the distance between the current location information and the target location information is within a preset distance range, the vehicle can be considered to be within the geographic fence, that is, the vehicle is within a fixed location; when the distance between the current location information and the target location information is not within the preset distance range, the vehicle can be considered to be not within the geographic fence, that is, the vehicle is not within a fixed location.

[0097] The preset distance range can be set according to actual conditions and is not limited here. For example, the preset distance range can be [0,1] kilometers, etc.

[0098] In some optional implementations, determining whether the vehicle is before the target area by using the current position information includes:

[0099] S1. In response to a first input operation of a user, controlling the current state of the second switch to be an on state, wherein the first input operation includes an operation of the user making a reservation for charging;

[0100] S2. When the target position information of the vehicle is obtained, the current state is controlled to switch from the loading state to the conducting state;

[0101] S3. In response to the user's confirmation operation, storing the target location information;

[0102] S4. Alternatively, when the target position information is not obtained, the current state is controlled to switch from the loading state to the off state.

[0103] In this embodiment, when the target location information of the vehicle is obtained, the current state of the second switch is controlled to switch from the loading state to the on state, and in response to the user's determination operation, the target location information is stored to provide a basis for the subsequent determination of the distance between the current location information and the target location information. When the target location information is not obtained, the current state of the second switch is controlled to switch from the loading state to the off state to control the vehicle to switch from the fixed location charging mode to the non-fixed location charging mode.

[0104] It is understandable that after controlling the current state of the second switch to be the on state and in the process of obtaining the current second position of the vehicle, the current state of the second switch is the loading state. The loading state can be the state of the second switch when the vehicle obtains the current target position information of the vehicle.

[0105] The first prompt information may be output in the form of text, voice, etc.

[0106] The first input operation may be an operation capable of determining a charging reservation. For example, the first input operation may include an operation in which a user inputs a charging mode, a charging start time, and a charging end time based on an input box on a vehicle head unit (HU) display screen or a terminal. For another example, the first input operation may be an operation in which a user inputs a number corresponding to a charging mode, a charging start time, and a charging end time by voice.

[0107] Optionally, the first input operation may also include the validity period of the charging appointment input by the user based on the vehicle's onboard display screen or the input box on the terminal. For example, the validity period of the charging appointment is 1 day, that is, the vehicle can make a reservation for charging within this 1 day. For another example, the validity period of the charging appointment is every day, that is, the vehicle can make a reservation for charging every day. For another example, the validity period of the charging appointment is a weekday, that is, the charging appointment can only be made from Monday to Friday.

[0108] The confirmation operation may be an operation for the user to confirm the storage of the target location information. For example, the confirmation operation may be the user clicking a confirmation option or a confirmation button on the HU display screen.

[0109] Exemplarily, the second position may be stored in an extended domain control unit (XCU) of the vehicle.

[0110] Optionally, before controlling the current state of the second switch to be an on state in response to the first input operation of the user, the method may further include:

[0111] Output a second prompt message, the second prompt message is used to instruct the user to make a reservation for charging.

[0112] It should be noted that S1 to S4 may be executed before S110 or together with S110, which is not limited here.

[0113] In S130 , the electronic device determines whether the vehicle is in the target area according to the current location information. If the vehicle is in the target area, the electronic device executes the charging strategy corresponding to the charging reservation.

[0114] The inventors have found that in the related art, the scheduled charging method for electric vehicles and other vehicles is to start charging at the set charging start time, or, taking into account the peak and trough electricity prices, to charge during the trough electricity price period, such as charging from 11 pm to 7 am.

[0115] However, in the above-mentioned scheduled charging method, after the charging gun of the charging pile is inserted into an electric vehicle or other vehicle, if the current time is earlier than the charging start time, or the current time period is in the peak electricity price time period, the vehicle will not be charged. When the user forgets that the vehicle has a scheduled charging, the vehicle cannot be charged in time, which may delay the user's journey. In addition, after the battery of the vehicle is fully charged, the battery is kept warm, which increases the battery power consumption; or, the battery is not kept warm, and the user needs to preheat the battery before using the vehicle, resulting in the user being unable to use the vehicle in time. For example, an electric car starts charging at 11 pm and is fully charged at 3 am the next day. The user's travel time is 7 am the next day. The battery of the electric car needs to be kept warm for 4 hours, or, the battery is not kept warm, and the user needs to preheat the battery before traveling at 7 am, resulting in the user being unable to use the vehicle in time.

[0116] Based on this, in some optional implementations, the charging strategy corresponding to the charging reservation includes an on-time stop strategy, and executing the charging strategy corresponding to the charging reservation includes:

[0117] Obtain the target charging end time and target charging duration of the vehicle, where the target charging end time is the time when the user uses the vehicle, and the target charging duration is the time it takes to charge the vehicle's battery to the target power;

[0118] Determine a time earlier than the target charging end time by the target charging duration as the target charging start time of the vehicle;

[0119] The vehicle is controlled to start charging at a target charging start time and to stop charging at a target charging end time.

[0120] In this embodiment, the vehicle is controlled to charge the battery of the vehicle to the target power when the user uses the vehicle, so that the battery of the vehicle can meet the user's requirements. Since the battery has a good temperature during the charging process, the battery does not need to be kept warm to have a good battery temperature, which reduces the battery power consumption, and the user can travel without preheating the battery. In summary, in the embodiment of the present application, when the user uses the vehicle, the battery power of the vehicle can meet the user's requirements, and the vehicle has a good battery temperature while reducing the battery power consumption, thereby ensuring the user's normal travel.

[0121] Exemplarily, obtaining the target charging end time and target charging duration of the vehicle may include:

[0122] In response to a second input operation by the user, obtaining a target charging end time and a target power of the vehicle;

[0123] The target charging time is obtained by dividing the power difference by the charging power of the charging device. The power difference is the difference between the target power and the current power of the vehicle. The charging power is the product of the current and voltage of the charging device.

[0124] The second input operation may be an operation in which the user inputs the target charging end time and the target power. For example, the second input operation may be an operation in which the user inputs the target charging end time and the target power based on an input box on the display screen of the HU.

[0125] For example, the target charging end time is 7 a.m., the target charging duration is 5 hours, and the target charging start time of the vehicle is 2 a.m.

[0126] In some other optional implementations, the charging strategy corresponding to the charging reservation includes an on-time start strategy or a low-price charging strategy, and executing the charging strategy corresponding to the charging reservation includes:

[0127] When the current time is within a preset time range, the vehicle is controlled to start charging, and the preset time range includes the vehicle start time specified by the user, or includes the off-peak electricity consumption period;

[0128] Alternatively, when the current time is not within the preset time range, a first prompt message is output, and the first prompt message is used to indicate to the user that the vehicle is waiting for charging.

[0129] In this embodiment, when the current time is within the preset time range, the vehicle can be controlled to start charging; when the preset time range includes the vehicle start time specified by the user, the vehicle can be controlled to charge on time; when the preset time range includes the off-peak electricity consumption period, the vehicle charging cost can be saved; when the current time is not within the preset time range, by outputting the first prompt information, timely feedback can be given to the user that the vehicle is waiting for scheduled charging, so that the user can promptly understand the charging status of the vehicle.

[0130] The trough electricity consumption period is the period of low electricity consumption. During this trough electricity consumption period, the electricity price is lower than that in other periods.

[0131] The preset time range can be set according to actual conditions and is not limited here. For example, the preset time range can be from 11:00 p.m. to 7:00 a.m. the next day, or from 1:00 p.m. to 2:00 p.m., but not including 2:00 p.m.

[0132] Exemplarily, whether the current time is within a preset time range can be determined by a timer in the electronic device.

[0133] In S140 , the electronic device controls the vehicle to start charging when the vehicle is not in the target area.

[0134] In this embodiment, when the vehicle is not in the target area, the vehicle is controlled to start charging, and charging can be performed without the user canceling the vehicle's scheduled charging, which simplifies the user's operation and improves the user's vehicle experience.

[0135] In the embodiment of the present application, after the vehicle is controlled to start charging, the vehicle can be controlled to stop charging when the battery power of the vehicle is full or equal to the preset power or reaches the preset time. The preset power and the preset time can be set according to the actual situation and are not limited here.

[0136] When the second switch of the vehicle is in the on state, it is determined that the vehicle has scheduled charging; when the second switch of the vehicle is in the off state, it is determined that the vehicle has no scheduled charging. The second switch may be a scheduled charging switch.

[0137] For example, in response to a third input operation of the user, the second switch may be controlled to be in an on state, or the second switch may be controlled to be in an off state. The third input operation may be an operation by the user to control the switching state of the second switch. For example, the third input operation may be an operation by the user to input the second switch to be turned on based on a display screen of a vehicle head unit (HU) of the vehicle.

[0138] It should be noted that, if it is detected that the vehicle is not plugged into the charging device, the step of obtaining the target charging mode of the vehicle is not performed. If it is detected that the vehicle is plugged into the charging device and there is no scheduled charging for the vehicle, the vehicle is controlled to start charging.

[0139] Based on the same inventive concept as the above charging method, the present application embodiment further provides a charging device, which is described in detail below.

[0140] Figure 2 It is a structural schematic diagram of a charging device provided in an embodiment of the present application.

[0141] like Figure 2 As shown, the charging device provided in the embodiment of the present application may include:

[0142] The acquisition module 210 is used to acquire the current location information of the vehicle when it is detected that the vehicle is plugged into the charging device and the vehicle has a charging reservation;

[0143] A first determination module 220, used to determine whether the vehicle is in a target area according to current location information;

[0144] An execution module 230 is used to execute a charging strategy corresponding to the charging reservation when the vehicle is in the target area;

[0145] The first control module 240 is used to control the vehicle to start charging when the vehicle is not in the target area.

[0146] According to the charging device provided in the embodiment of the present application, when the vehicle is not in the target area, the vehicle can be controlled to start charging. In the embodiment of the present application, when the vehicle is in the target area, the charging strategy corresponding to the charging reservation is executed. When the vehicle is not in the target area, if the user does not close the charging reservation in time, the vehicle can be directly charged to ensure the vehicle power, improve or solve the problem of delaying the user's journey, and improve the user experience.

[0147] In some optional implementations, the first determining module 220 may be specifically configured to:

[0148] When the distance between the current position information and the target position information is within a preset distance range, determining that the vehicle is in the target area;

[0149] Alternatively, when the distance between the current position information and the target position information is not within a preset distance range, it is determined that the vehicle is not in the target area.

[0150] In some optional embodiments, the charging device may further include:

[0151] A second determination module, configured to determine that a charging reservation exists for the vehicle when the first switch is turned on;

[0152] Alternatively, the method is also used to determine that no charging reservation exists for the vehicle when the first switch is turned off.

[0153] In some optional implementations, the charging strategy corresponding to the charging reservation includes a timed stop strategy, and the execution module 230 may include:

[0154] The acquisition submodule is used to acquire the target charging end time and target charging duration of the vehicle. The target charging end time is the time when the user uses the vehicle, and the target charging duration is the time it takes to charge the battery of the vehicle to the target power.

[0155] A first determination submodule is used to determine a time earlier than a target charging end time by a target charging time length as a target charging start time for the vehicle;

[0156] The first control submodule is used to control the vehicle to start charging at a target charging start time and to stop charging at a target charging end time.

[0157] In some optional implementations, the charging strategy corresponding to the charging reservation includes an on-time start strategy or a low-price charging strategy, and executing the charging strategy corresponding to the charging reservation, the execution module 230 may include:

[0158] A second control submodule is used to control the vehicle to start charging when the current time is within a preset time range, and the preset time range includes a vehicle start time specified by a user, or includes a trough power consumption period;

[0159] Alternatively, the output submodule is used to output a first prompt message when the current time is not within a preset time range, and the first prompt message is used to indicate to the user that the vehicle is waiting for charging.

[0160] In some optional implementations, the acquisition module 210 may be specifically used to:

[0161] When the vehicle is in fixed-location charging mode, the current location information of the vehicle is obtained.

[0162] In some optional embodiments, the charging device may further include:

[0163] A third determination module, configured to determine that the vehicle is in a fixed location charging mode when the current state of the second switch of the vehicle is an on state;

[0164] Alternatively, the fourth determination module is used to determine that the vehicle is not in a fixed location charging mode when the current state is an off state.

[0165] In some optional embodiments, the charging device may further include:

[0166] A second control module, configured to control the current state of the second switch to be an on state in response to a first input operation of the user, wherein the first input operation includes an operation of the user making a reservation for charging;

[0167] A third control module is used to control the current state to switch from the loading state to the conducting state when the target position information of the vehicle is obtained;

[0168] A storage module, used for storing target location information in response to a determination operation of a user;

[0169] Alternatively, the fourth control module is used to control the current state to switch from the loading state to the off state when the target position information is not obtained.

[0170] Regarding the charging device in the above embodiment, the specific manner in which each module performs operations and the beneficial effects thereof have been described in detail in the embodiment of the method, and will not be elaborated on in detail here.

[0171] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0172] The electronic device may include a processor 301 and a memory 302 storing computer program instructions.

[0173] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0174] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory.

[0175] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.

[0176] The processor 301 implements any one of the charging methods in the above embodiments by reading and executing computer program instructions stored in the memory 302 .

[0177] In one example, the electronic device may further include a communication interface 303 and a bus 310. Figure 3 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0178] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0179] Bus 310 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0180] In addition, in combination with the charging method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the charging method provided in the embodiment of the present application is implemented.

[0181] The embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the charging method provided in the embodiment of the present application.

[0182] The present application also provides a vehicle, the vehicle comprising at least one of the following:

[0183] The charging device provided in the above embodiment;

[0184] The electronic device provided by the above embodiment;

[0185] The computer storage medium provided in the above embodiment.

[0186] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0187] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to execute the required commands. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0188] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0189] Aspects of the present application are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable charging device to produce a machine so that these instructions executed by the processor of the computer or other programmable charging device enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0190] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

[0191] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims

1. A charging method, It is characterized in that include: When it is detected that a vehicle is plugged into a charging device and a charging reservation is made for the vehicle, obtaining current location information of the vehicle; Determining whether the vehicle is in a target area according to the current position information; When the vehicle is in the target area, executing a charging strategy corresponding to the charging reservation; When the vehicle is not in the target area, the vehicle is controlled to start charging.

2. The method according to claim 1, It is characterized in that The determining whether the vehicle is in a target area by using the current position information includes: When the distance between the current position information and the target position information is within a preset distance range, determining that the vehicle is in the target area; Alternatively, when the distance between the current position information and the target position information is not within the preset distance range, it is determined that the vehicle is not in the target area.

3. The method according to claim 1, It is characterized in that The process of determining whether the vehicle has a charging reservation includes: When the first switch is turned on, determining that a charging reservation exists for the vehicle; Alternatively, when the first switch is off, it is determined that there is no charging reservation for the vehicle.

4. The method according to claim 1, It is characterized in that The charging strategy corresponding to the charging reservation includes a timed stop strategy, and the executing the charging strategy corresponding to the charging reservation includes: Obtaining a target charging end time and a target charging duration of the vehicle, wherein the target charging end time is the time when the user uses the vehicle, and the target charging duration is the time required to charge the battery power of the vehicle to the target power; determining a time earlier than the target charging end time by the target charging duration as a target charging start time for the vehicle; The vehicle is controlled to start charging at the target charging start time and to stop charging at the target charging end time.

5. The method according to claim 1, It is characterized in that The charging strategy corresponding to the charging reservation includes an on-time start strategy or a low-price charging strategy, and the executing the charging strategy corresponding to the charging reservation includes: When the current time is within a preset time range, controlling the vehicle to start charging, the preset time range includes a start time of the vehicle specified by a user, or includes a valley power consumption period; Alternatively, when the current time is not within the preset time range, a first prompt message is output, wherein the first prompt message is used to indicate to the user that the vehicle is waiting for charging.

6. The method according to claim 1, It is characterized in that The obtaining of the current position information of the vehicle comprises: When the vehicle is in a fixed location charging mode, current location information of the vehicle is acquired.

7. The method according to claim 6, It is characterized in that The process of determining whether the vehicle is in a fixed location charging mode includes: When the current state of the second switch of the vehicle is the on state, determining that the vehicle is in a fixed location charging mode; Alternatively, when the current state is the off state, it is determined that the vehicle is not in the fixed location charging mode.

8. The method according to claim 1 or 2 or 6 or 7, It is characterized in that The method of determining whether the vehicle is before a target area by using the current position information comprises: In response to a first input operation of a user, controlling the current state of the second switch to be an on state, wherein the first input operation includes an operation of the user making a reservation for charging; When the target position information of the vehicle is obtained, controlling the current state to switch from a loading state to a conducting state; In response to a determination operation by the user, storing the target location information; Alternatively, when the target position information is not obtained, the current state is controlled to switch from the loading state to the off state.

9. A charging device, It is characterized in that include: an acquisition module, for acquiring current location information of the vehicle when it is detected that the vehicle is plugged into a charging device and a charging reservation is made for the vehicle; A first determination module, used to determine whether the vehicle is in a target area according to the current position information; An execution module, configured to execute a charging strategy corresponding to the scheduled charging when the vehicle is in the target area; The first control module is used to control the vehicle to start charging when the vehicle is not in the target area.

10. An electronic device, It is characterized in that The electronic device comprises a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the charging method according to any one of claims 1 to 8.

11. A computer storage medium, It is characterized in that The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the charging method according to any one of claims 1 to 8 is implemented.

12. A vehicle, It is characterized in that Include at least one of the following: The charging device as claimed in claim 9; The electronic device as claimed in claim 10; The computer storage medium of claim 11.