Method and device for driving electric vehicle, storage medium, and electronic device

文档序号:574000 发布日期:2021-05-21 浏览:23次 中文

阅读说明:本技术 电动车的行驶方法及装置、存储介质、电子装置 (Method and device for driving electric vehicle, storage medium, and electronic device ) 是由 不公告发明人 于 2019-11-20 设计创作,主要内容包括:本发明提供了一种电动车的行驶方法及装置、存储介质、电子装置,上述方法包括:检测所述电动车是否收到第三目标事件的触发,其中,所述第三目标事件包括以下至少之一:目标对象收起所述电动车的边撑,所述目标对象未在所述电动车的鞍座上;在检测到所述电动车收到第三目标事件的触发的情况下,接收目标对象对所述电动车的调速转把的调速操作,以使所述电动车按照所述调速操作对应的速度行驶,采用上述技术方案,解决了相关技术中在驾驶员不在鞍座上时,如果电动车需要推行,由于调速转把已失效,只能依靠人工推动电动车,无法实现助力推行,用户体验度差等问题。(The invention provides a driving method and device of an electric vehicle, a storage medium and an electronic device, wherein the method comprises the following steps: detecting whether the electric vehicle receives a trigger of a third target event, wherein the third target event comprises at least one of the following: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle; the method comprises the steps of receiving the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle under the condition that the electric vehicle is triggered by a third target event, so that the electric vehicle runs at a speed corresponding to the speed regulation operation.)

1. A method of traveling an electric vehicle, comprising:

detecting whether the electric vehicle receives a trigger of a third target event, wherein the third target event comprises at least one of the following: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle;

and under the condition that the electric vehicle is detected to receive the trigger of a third target event, receiving the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs at the speed corresponding to the speed regulation operation.

2. The method of claim 1, wherein upon detecting that the electric vehicle receives a trigger of a third target event, the method comprises:

and activating an indicator lamp on the electric vehicle to display a preset color.

3. The method of claim 1, wherein before receiving the throttle operation of the target object on the throttle knob of the electric vehicle to cause the electric vehicle to travel at a speed corresponding to the throttle operation, the method further comprises:

and setting the maximum running speed of the electric vehicle under the condition that the electric vehicle receives the trigger of the third target event, wherein the speed corresponding to the speed regulation operation is less than or equal to the maximum running speed.

4. The method of claim 3, wherein after receiving the throttle operation of the target object on the throttle handle of the electric vehicle to cause the electric vehicle to travel at a speed corresponding to the throttle operation, the method further comprises:

detecting whether the electric vehicle receives a trigger of a second target event, wherein the second target event comprises: a driver of the electric vehicle sits on the saddle;

and indicating that the electric vehicle is allowed to run at a speed greater than the maximum running speed under the condition that the electric vehicle is detected to receive the trigger of a second target event.

5. A running device of an electric vehicle, comprising:

the second detection module is configured to detect whether the electric vehicle receives a trigger of a third target event, where the third target event includes at least one of: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle;

the first receiving module is used for receiving the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle under the condition that the electric vehicle is detected to receive the trigger of a third target event, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation.

6. The apparatus of claim 5, further comprising:

the setting module is used for activating an indicator lamp on the electric vehicle to display a preset color under the condition that the electric vehicle is detected to receive the trigger of a third target event.

7. The apparatus of claim 5, further comprising:

and the setting module is used for setting the maximum running speed of the electric vehicle under the condition that the electric vehicle receives the trigger of the third target event, wherein the speed corresponding to the speed regulation operation is less than or equal to the maximum running speed.

8. The apparatus of claim 7, wherein the second detecting module is further configured to detect whether the electric vehicle receives a trigger of a second target event, wherein the second target event comprises: a driver of the electric vehicle sits on the saddle;

the setting module is further configured to instruct the electric vehicle to allow traveling at a speed greater than the maximum traveling speed when it is detected that the electric vehicle receives a trigger of a second target event.

9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 4 when executed.

10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.

Technical Field

The invention relates to the field of electric vehicles, in particular to a driving method and device of an electric vehicle, a storage medium and an electronic device.

Background

In the related art, an electric vehicle (for example, an electric bicycle or an electric motorcycle) is provided with a vehicle leaping prevention function, that is, when a driver leaves a saddle during starting of the vehicle, a speed regulating rotating handle fails to work, so that the safety of the driver is protected, and the situation that the vehicle is out of control due to the fact that the speed regulating rotating handle is operated by mistake by the driver carelessly is prevented; for example, when needing to be pushed on an uphill slope, the speed-regulating rotating handle is invalid because a driver is not on the saddle, and the electric bicycle cannot advance when the speed-regulating rotating handle is screwed, so that the electric bicycle can be pushed only by manpower, and the user experience is poor.

Aiming at the problems that in the related art, when a driver is not on a saddle, if the electric vehicle needs to be pushed, the speed-regulating rotating handle is invalid, the electric vehicle can only be pushed manually, assistance pushing cannot be realized, the user experience degree is poor, and the like, an effective technical scheme is not provided yet.

Disclosure of Invention

The embodiment of the invention provides a running method and device of an electric vehicle, a storage medium and an electronic device, which at least solve the problems that in the related art, when a driver is not on a saddle, if the electric vehicle needs to be pushed, the electric vehicle can only be pushed manually because a speed-regulating rotating handle fails, power-assisted pushing cannot be realized, the user experience is poor and the like.

According to an embodiment of the present invention, there is provided a driving method of an electric vehicle, including: detecting whether the electric vehicle receives a trigger of a third target event, wherein the third target event comprises at least one of the following: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle; and under the condition that the electric vehicle is detected to receive the trigger of a third target event, receiving the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs at the speed corresponding to the speed regulation operation.

In an embodiment of the present invention, in case it is detected that the electric vehicle receives a trigger of a third target event, the method comprises: and activating an indicator lamp on the electric vehicle to display a preset color.

In an embodiment of the present invention, before the receiving of the speed regulation operation of the target object on the speed regulation twist grip of the electric vehicle so that the electric vehicle runs at a speed corresponding to the speed regulation operation, the method further includes: and setting the maximum running speed of the electric vehicle under the condition that the electric vehicle receives the trigger of the third target event, wherein the speed corresponding to the speed regulation operation is less than or equal to the maximum running speed.

In an embodiment of the present invention, after the receiving of the speed regulation operation of the target object on the speed regulation twist grip of the electric vehicle so that the electric vehicle runs at a speed corresponding to the speed regulation operation, the method further includes: detecting whether the electric vehicle receives a trigger of a second target event, wherein the second target event comprises: a driver of the electric vehicle sits on the saddle; and indicating that the electric vehicle is allowed to run at a speed greater than the maximum running speed under the condition that the electric vehicle is detected to receive the trigger of a second target event.

According to another embodiment of the present invention, there is also provided a traveling apparatus of an electric vehicle, including: the second detection module is configured to detect whether the electric vehicle receives a trigger of a third target event, where the third target event includes at least one of: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle; the first receiving module is used for receiving the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle under the condition that the electric vehicle is detected to receive the trigger of a third target event, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation.

In an embodiment of the present invention, the apparatus further includes: the setting module is used for activating an indicator lamp on the electric vehicle to display a preset color under the condition that the electric vehicle is detected to receive the trigger of a third target event.

In an embodiment of the present invention, the apparatus further includes: and the setting module is used for setting the maximum running speed of the electric vehicle under the condition that the electric vehicle receives the trigger of the third target event, wherein the speed corresponding to the speed regulation operation is less than or equal to the maximum running speed.

In an embodiment of the present invention, the second detecting module is further configured to detect whether the electric vehicle receives a trigger of a second target event, where the second target event includes: a driver of the electric vehicle sits on the saddle; the setting module is further configured to instruct the electric vehicle to allow traveling at a speed greater than the maximum traveling speed when it is detected that the electric vehicle receives a trigger of a second target event.

According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.

According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.

According to the invention, under the trigger of detecting a third target event, the electric vehicle is allowed to receive the speed regulation operation of a target object to the speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation, wherein the third target event comprises at least one of the following: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle; by adopting the technical scheme, the problems that in the related art, if the electric vehicle needs to be pushed when a driver is not on the saddle, the electric vehicle can only be pushed manually due to failure of the speed-regulating rotating handle, assistance pushing cannot be realized, the user experience is poor and the like are solved.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

fig. 1 is a hardware configuration block diagram of an electric vehicle of a driving method of the electric vehicle according to an embodiment of the present invention;

fig. 2 is a flowchart of a driving method of an electric vehicle according to an embodiment of the present invention;

fig. 3 is another flowchart of a driving method of an electric vehicle according to an embodiment of the present invention;

fig. 4 is still another flowchart of a driving method of an electric vehicle according to an embodiment of the present invention;

fig. 5 is a block diagram of a structure of a traveling device of an electric vehicle according to an embodiment of the present invention;

fig. 6 is another structural block diagram of a traveling apparatus of an electric vehicle according to an embodiment of the present invention;

fig. 7 is still another configuration block diagram of a traveling apparatus of an electric vehicle according to an embodiment of the present invention;

FIG. 8 is a schematic flow chart according to alternative embodiment 1 of the present invention;

fig. 9 is a schematic flow chart according to an alternative embodiment 2 of the present invention.

Detailed Description

The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.

It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.

The method provided by the first embodiment of the present application can be executed in an electric vehicle or a similar computing device. Taking an electric vehicle as an example, fig. 1 is a hardware block diagram of an electric vehicle according to a driving method of an electric vehicle according to an embodiment of the present invention. As shown in fig. 1, the electric vehicle 10 may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the electric vehicle. For example, the electric vehicle 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.

The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the driving method of the electric vehicle in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located from the processor 102, which may be connected to the electric vehicle 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the electric vehicle 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.

In the present embodiment, a running method for an electric vehicle is provided, and fig. 2 is a flowchart of a running method for an electric vehicle according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the steps of:

step S202, detecting whether the electric vehicle receives a trigger of a first target event, wherein the first target event comprises one of the following: the time that a target object presses a brake of the electric vehicle exceeds a preset threshold value, the target object screws a speed-regulating rotating handle to a preset position, the pressing operation of the target object on a target button of the electric vehicle is received, and the target object sends notification information to the electric vehicle through the operation on a client side;

and step S204, receiving the speed regulation operation of a target object to the speed regulation rotating handle of the electric vehicle under the condition that the electric vehicle is detected to receive the trigger of the first target event, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation.

Through the technical scheme, under the trigger of detecting a first target event, the electric vehicle is allowed to receive the speed regulation operation of a target object on the speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs at the speed corresponding to the speed regulation operation, wherein the first target event comprises one of the following events: the time that a target object presses a brake of the electric vehicle exceeds a preset threshold value, the target object screws a speed-regulating rotating handle to a preset position, the pressing operation of the target object on a target button of the electric vehicle is received, and the target object sends notification information to the electric vehicle through the operation on a client side; by adopting the technical scheme, the problems that in the related art, if the electric vehicle needs to be pushed when a target object is not on the saddle, the electric vehicle can only be pushed manually due to failure of the speed-regulating rotating handle, assistance pushing cannot be realized, the user experience degree is poor and the like are solved.

It should be noted that the embodiment of the present invention provides an alternative implementation manner besides the manner of triggering the first target event, and in another case, the target object is not required to be actively triggered by other operations (which may be understood as a passive triggering manner, hereinafter referred to as a third target event), as long as the target object turns on the electric vehicle, retracts the temple, and gets off the saddle.

As for the implementation of the "active triggering" disclosed in the step S202, the triggering for detecting that the electric vehicle receives the first target event may specifically include the following active triggering manners:

it should be noted that, in the following active triggering manners, for turning on the electric vehicle, retracting the temple is an operation that needs to be performed, and this is not specifically limited in the embodiment of the present invention.

1) Detecting whether the electric vehicle receives a trigger of a first target event: the target object presses the brake of the electric vehicle for a time exceeding a preset threshold value, the target object screws the speed-regulating rotating handle to a preset position, optionally, the preset position can be that the speed-regulating rotating handle rotates to the top of the speed-regulating rotating handle, or the speed-regulating rotating handle rotates to other preset positions, a user can know that the preset position is reached by hearing the sound triggered by the speed-regulating rotating handle, and then after the target object presses the speed-regulating brake for a period of time, the trigger of a first target event is actively triggered by rotating the speed-regulating rotating handle to the preset position;

2) or detecting whether the electric vehicle receives the triggering of the following first target events: the method comprises the steps that a pressing operation of a target object on a button of the electric vehicle is received, wherein the electric vehicle is allowed to receive a speed regulation operation of the target object on a speed regulation handle of the electric vehicle under the condition that the target object leaves a saddle of the electric vehicle after the button is pressed, in the embodiment of the invention, the button can be arranged on the electric vehicle, can be a button existing in the existing electric vehicle, and can also be a button specially arranged for triggering a first target event, and the embodiment of the invention is not limited in the aspect that the button is pressed twice continuously, or the time for pressing the button all the time exceeds a threshold value and the like to trigger the first target event;

3) detecting whether the electric vehicle receives a trigger of a first target event: the target object sends notification information to the electric vehicle through the operation of the client, wherein the notification information is used for indicating that the electric vehicle allows to receive the speed regulation operation of the target object on the speed regulation rotating handle of the electric vehicle under the condition that the target object leaves the saddle.

In the present embodiment, a driving method for an electric vehicle is provided, which can be understood as an implementation manner of the above-mentioned passive triggering mode, and fig. 3 is another flowchart of the driving method for an electric vehicle according to the embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:

step S302, detecting whether the electric vehicle receives a trigger of a third target event, wherein the third target event comprises at least one of the following: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle;

step S304, under the condition that the electric vehicle is detected to receive the trigger of the third target event, receiving the speed regulation operation of a target object to the speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation.

Through the technical scheme, under the trigger of detecting a third target event, the electric vehicle is allowed to receive the speed regulation operation of a target object on the speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs at the speed corresponding to the speed regulation operation, wherein the third target event comprises one of the following events: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle; by adopting the technical scheme, the problems that in the related art, if the electric vehicle needs to be pushed when a target object is not on the saddle, the electric vehicle can only be pushed manually due to failure of the speed-regulating rotating handle, assistance pushing cannot be realized, the user experience degree is poor and the like are solved.

It should be noted that, when it is detected that the electric vehicle has received the trigger of the first target event or the third target event, no matter in the active trigger mode or the passive trigger mode, the electric vehicle may display according to a preset color, and after the target object observes that the preset color lights up, the target object can know that the first target event or the third target event has been successfully triggered, and at this time, even if the target object leaves the saddle, the speed-adjusting handlebar can be operated, so that the problem of repeated operation of the target object is avoided.

Under the condition that the electric vehicle allows the speed-regulating rotating handle to be still operated when a target object leaves the saddle, because the target object is not positioned on the saddle at the moment, the main purpose of the operation of the speed-regulating rotating handle is also for boosting pushing, and in order to ensure the safety of the target object in boosting pushing, at the moment, the adjustable rotating speed of the speed-regulating rotating handle is not too high, then before the speed-regulating operation of the target object on the speed-regulating rotating handle of the electric vehicle is received, so that the electric vehicle runs according to the speed corresponding to the speed-regulating operation, the following technical scheme can be realized: in an embodiment of the present invention, even if the speed-adjusting handle is adjusted to the maximum position, the speed corresponding to the speed-adjusting operation is still not greater than the maximum running speed, optionally, the maximum running speed may be set to 5km/h, and in some optional embodiments, the target object may further set the maximum running speed to another value according to a physical condition of the target object, a possible moving speed, and the like, which is not limited in the embodiment of the present invention.

In the actual operation process, after the target object is boosted to push for a period of time, the boosting push mode needs to be ended, because the triggering modes are all different: there are active and passive triggers, so the mode of exiting the boost propulsion mode is slightly different:

detecting whether the electric vehicle receives the trigger of a second target event, wherein the second target event of the active trigger mode at least comprises one of the following events: the temple of the electric vehicle has been lowered, the target object is seated on the saddle, and for a passively triggered second target event: the target object is seated on the saddle; in case it is detected that the electric vehicle is triggered by a second target event, indicating that the electric vehicle is allowed to travel at a speed greater than the maximum travel speed, it should be noted that the second target event in the active triggering mode and the passive triggering mode may be the same second target event, for example, both may be the detection of the target object sitting back on the saddle.

In another alternative embodiment, the second target event may also be implemented by a button or a client, and the like, which is similar to the first target event in a specific implementation manner, and this is not limited in this embodiment of the present invention.

For the active triggering mode and the passive triggering mode introduced in the above embodiment, the electric vehicle may both support the above two triggering modes at the same time, but the electric vehicle may only adopt one triggering mode in the using process, and the embodiment of the present invention further provides the following technical solutions for the conversion process of the above two modes:

in the present embodiment, a running method for an electric vehicle is provided, and fig. 4 is another flowchart of the running method for an electric vehicle according to the embodiment of the present invention, as shown in fig. 4, the flowchart includes the steps of:

step S402, receiving indication information of a target object through the electric vehicle;

step S404, determining a driving mode adopted by the electric vehicle according to the received indication information, wherein the driving mode comprises: the method comprises a first running mode and a second running mode, wherein under the condition that the electric vehicle is in the first running mode, the electric vehicle is instructed to run at a speed corresponding to a speed regulation operation after the electric vehicle receives the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle under the condition that the target object leaves a saddle of the electric vehicle and the electric vehicle detects a first target event actively triggered by the target object, and under the condition that the electric vehicle is in the second running mode, the electric vehicle is instructed to run at a speed corresponding to the speed regulation operation after the electric vehicle receives the speed regulation operation of the target object on the speed regulation rotating handle of the electric vehicle under the condition that the target object leaves the saddle of the electric vehicle.

By adopting the technical scheme, after the electric vehicle receives the indication information of the target object, the driving mode adopted by the electric vehicle can be determined according to the received indication information, wherein the first driving mode is triggered by the active triggering mode in the embodiment, and the second driving mode is triggered by the passive triggering mode in the embodiment.

Optionally, the step S402 may have various implementation manners, and in an optional embodiment, may be to receive indication information that the target object sends to the electric vehicle through an operation of a client; or receiving indication information sent by the target object through pressing operation of a first button of the electric vehicle, wherein the button and the button in the active mode and the passive mode in the embodiment can be the same, or different buttons, and when the button is the same, different corresponding operations are determined through different processing modes of the same button.

Specifically, receiving the indication information that the target object sends to the electric vehicle through the operation of the client may be specifically implemented by the following scheme: receiving a pressing operation of the target object through a switch in the client, wherein in a case where the switch is in a first state, indication information sent to the electric vehicle is used for indicating that the electric vehicle is in a first running mode, and in a case where the switch is in a second state, indication information sent to the electric vehicle is used for indicating that the electric vehicle is in a second running mode.

In another optional embodiment, the receiving of the indication information sent by the pressing operation of the target object on the first button of the electric vehicle may be implemented by the following technical solution: receiving a pressing operation of the target object through a first button on the electric vehicle, wherein when the first button is in a third state, indication information sent to the electric vehicle is used for indicating that the electric vehicle is in a first running mode, and when the first button is in a fourth state, indication information sent to the electric vehicle is used for indicating that the electric vehicle is in a second running mode.

It is understood that the first target event in the embodiment of the present invention, that is, the event in the active triggering manner in the above embodiment, includes at least one of the following events: and receiving a pressing operation of the target object on a second button of the electric vehicle, wherein the time for pressing the brake of the electric vehicle by the target object exceeds a preset threshold value, the target object screws the speed regulating handle to a preset position, and the target object sends notification information to the electric vehicle through the operation of a client.

Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.

In this embodiment, a driving device of an electric vehicle is further provided, and the device is used for implementing the above embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.

Fig. 5 is a block diagram showing a structure of a traveling apparatus of an electric vehicle according to an embodiment of the present invention, as shown in fig. 5, the apparatus including:

a first detecting module 50, configured to detect whether the electric vehicle receives a trigger of a first target event, where the first target event includes one of: the time that a target object presses a brake of the electric vehicle exceeds a preset threshold value, the target object screws a speed-regulating rotating handle to a preset position, the pressing operation of the target object on a target button of the electric vehicle is received, and the target object sends notification information to the electric vehicle through the operation on a client side;

the first receiving module 42 is configured to receive, when it is detected that the electric vehicle receives a trigger of a first target event, a speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs at a speed corresponding to the speed regulation operation.

Through the technical scheme, under the trigger of detecting a first target event, the electric vehicle is allowed to receive the speed regulation operation of a target object on the speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs at the speed corresponding to the speed regulation operation, wherein the first target event comprises one of the following events: the time that a target object presses a brake of the electric vehicle exceeds a preset threshold value, the target object screws a speed-regulating rotating handle to a preset position, the pressing operation of the target object on a target button of the electric vehicle is received, and the target object sends notification information to the electric vehicle through the operation on a client side; by adopting the technical scheme, the problems that in the related art, if the electric vehicle needs to be pushed when a target object is not on the saddle, the electric vehicle can only be pushed manually due to failure of the speed-regulating rotating handle, assistance pushing cannot be realized, the user experience degree is poor and the like are solved.

It should be noted that, in addition to providing the above-mentioned triggering manner of the first target event, the embodiment of the present invention also provides another alternative implementation manner, and in another case, the target object does not need to perform other active triggering (which may be understood as a passive triggering manner) for other operations, and as long as the target object turns on the electric vehicle, retracts the temple, and gets off the saddle, the triggering of the first target event is automatically achieved.

For the implementation manner of the "active triggering", in the embodiment of the present invention, the first detecting module 40 is further configured to:

1) detecting whether the electric vehicle receives a trigger of a first target event: the target object presses the brake of the electric vehicle for a time exceeding a preset threshold value, the target object screws the speed-regulating rotating handle to a preset position, optionally, the preset position can be that the speed-regulating rotating handle rotates to the top of the speed-regulating rotating handle, or the speed-regulating rotating handle rotates to other preset positions, a user can know that the preset position is reached by hearing the sound triggered by the speed-regulating rotating handle, and then after the target object presses the speed-regulating brake for a period of time, the trigger of a first target event is actively triggered by rotating the speed-regulating rotating handle to the preset position;

2) or detecting whether the electric vehicle receives the triggering of the following first target events: the method comprises the steps that a pressing operation of a target object on a button of the electric vehicle is received, wherein the electric vehicle is allowed to receive a speed regulation operation of the target object on a speed regulation handle of the electric vehicle under the condition that the target object leaves a saddle of the electric vehicle after the button is pressed, in the embodiment of the invention, the button can be arranged on the electric vehicle, can be a button existing in the existing electric vehicle, and can also be a button specially arranged for triggering a first target event, and the embodiment of the invention is not limited in the aspect that the button is pressed twice continuously, or the time for pressing the button all the time exceeds a threshold value and the like to trigger the first target event;

3) detecting whether the electric vehicle receives a trigger of a first target event: the target object sends notification information to the electric vehicle through the operation of the client, wherein the notification information is used for indicating that the electric vehicle allows to receive the speed regulation operation of the target object on the speed regulation rotating handle of the electric vehicle under the condition that the target object leaves the saddle.

It should be noted that, in the case that it is detected that the electric vehicle has received the trigger of the first target event, the apparatus further includes: the setting module is used for displaying according to preset colors no matter in an active triggering mode or a passive triggering mode, the target object can know that a first target event is triggered successfully after the preset colors are observed, and at the moment, even if the target object leaves the saddle, the speed regulating rotating handle can be operated, so that the problem of repeated operation of the target object is solved.

In the case that the electric vehicle allows the speed-adjusting handlebar to be operated when the target object leaves the saddle, since the target object is not located in the saddle, the main purpose of the operation of the speed-adjusting handlebar is to assist the propulsion, and to ensure the safety of the target object during the power-assisted propulsion, at this time, the adjustable rotating speed of the speed-adjusting handlebar should not be too high, the setting module is further configured to set the maximum driving speed of the electric vehicle when the electric vehicle receives the trigger of the first target event, wherein the speed corresponding to the speed-adjusting operation is less than or equal to the maximum driving speed, in the embodiment of the present invention, even if the speed-adjusting handlebar is adjusted to the maximum position, the speed corresponding to the speed-adjusting operation is still not greater than the maximum driving speed, optionally, the maximum driving speed may be set to 5km/h, in some optional embodiments, the target object may set the maximum driving speed to be another value according to the physical condition of the target object, the possible moving speed, and the like, which is not limited in the embodiment of the present invention.

In the actual operation process, after the target object is boosted to push for a period of time, the boosting push mode needs to be ended, because the triggering modes are all different: there are active and passive triggers, so the mode of exiting the boost propulsion mode is slightly different:

the first detecting module 40 is further configured to detect whether the electric vehicle receives a trigger of a second target event, where the second target event for the active triggering mode at least includes one of: the temple of the electric vehicle has been lowered, the target object is seated on the saddle, and for a passively triggered second target event: the target object is seated on the saddle; the setting module 44 is further configured to instruct the electric vehicle to allow traveling at a speed greater than the maximum traveling speed, in a case where it is detected that the electric vehicle receives a trigger of a second target event.

It should be noted that the second target event for both the active triggering mode and the passive triggering mode may be the same second target event, for example, both may be the detection of the target object sitting back on the saddle.

In another alternative embodiment, the second target event may also be implemented by a button or a client, and the like, which is similar to the first target event in a specific implementation manner, and this is not limited in this embodiment of the present invention.

Fig. 6 is still another configuration block diagram of a traveling apparatus of an electric vehicle according to an embodiment of the present invention, as shown in fig. 6, the apparatus including:

a second detecting module 60, configured to detect whether the electric vehicle receives a trigger of a third target event, where the third target event includes at least one of: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle;

and a second receiving module 62, configured to receive, when it is detected that the electric vehicle receives a trigger of a third target event, a speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs at a speed corresponding to the speed regulation operation.

Through the technical scheme, under the trigger of detecting a third target event, the electric vehicle is allowed to receive the speed regulation operation of a target object on the speed regulation rotating handle of the electric vehicle, so that the electric vehicle runs at the speed corresponding to the speed regulation operation, wherein the third target event comprises one of the following events: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle; by adopting the technical scheme, the problems that in the related art, if the electric vehicle needs to be pushed when a target object is not on the saddle, the electric vehicle can only be pushed manually due to failure of the speed-regulating rotating handle, assistance pushing cannot be realized, the user experience degree is poor and the like are solved.

It should be noted that, in the case that it is detected that the electric vehicle has received the trigger of the first target event, the apparatus further includes: the setting module is used for displaying according to preset colors no matter in an active triggering mode or a passive triggering mode, the target object can know that a first target event is triggered successfully after the preset colors are observed, and at the moment, even if the target object leaves the saddle, the speed regulating rotating handle can be operated, so that the problem of repeated operation of the target object is solved.

In the case that the electric vehicle allows the speed-adjusting handlebar to be operated when the target object leaves the saddle, since the target object is not located in the saddle, the main purpose of the operation of the speed-adjusting handlebar is to assist the propulsion, and to ensure the safety of the target object during the power-assisted propulsion, at this time, the adjustable rotating speed of the speed-adjusting handlebar should not be too high, the setting module is further configured to set the maximum driving speed of the electric vehicle when the electric vehicle receives the trigger of the first target event, wherein the speed corresponding to the speed-adjusting operation is less than or equal to the maximum driving speed, in the embodiment of the present invention, even if the speed-adjusting handlebar is adjusted to the maximum position, the speed corresponding to the speed-adjusting operation is still not greater than the maximum driving speed, optionally, the maximum driving speed may be set to 5km/h, in some optional embodiments, the target object may set the maximum driving speed to be another value according to the physical condition of the target object, the possible moving speed, and the like, which is not limited in the embodiment of the present invention.

In the actual operation process, after the target object is boosted to push for a period of time, the boosting push mode needs to be ended, because the triggering modes are all different: there are active and passive triggers, so the mode of exiting the boost propulsion mode is slightly different:

the first detecting module 50 is further configured to detect whether the electric vehicle receives a trigger of a second target event, where the second target event for the active triggering mode at least includes one of the following: the temple of the electric vehicle has been lowered, the target object is seated on the saddle, and for a passively triggered second target event: the target object is seated on the saddle; the setting module 44 is further configured to instruct the electric vehicle to allow traveling at a speed greater than the maximum traveling speed, in a case where it is detected that the electric vehicle receives a trigger of a second target event.

It should be noted that the second target event for both the active triggering mode and the passive triggering mode may be the same second target event, for example, both may be the detection of the target object sitting back on the saddle.

In another alternative embodiment, the second target event may also be implemented by a button or a client, and the like, which is similar to the first target event in a specific implementation manner, and this is not limited in this embodiment of the present invention.

For the active triggering mode and the passive triggering mode introduced in the above embodiment, the electric vehicle may both support the above two triggering modes at the same time, but the electric vehicle may only adopt one triggering mode in the using process, and the embodiment of the present invention further provides the following technical solutions for the conversion process of the above two modes:

fig. 7 is still another configuration block diagram of a traveling apparatus of an electric vehicle according to an embodiment of the present invention, as shown in fig. 7, the apparatus including:

a third receiving module 70 for receiving indication information of the target object through the electric vehicle;

a determining module 72, configured to determine a driving mode adopted by the electric vehicle according to the received indication information, where the driving mode includes: the method comprises a first running mode and a second running mode, wherein under the condition that the electric vehicle is in the first running mode, the electric vehicle is instructed to run at a speed corresponding to a speed regulation operation after the electric vehicle receives the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle under the condition that the target object leaves a saddle of the electric vehicle and the electric vehicle detects a first target event actively triggered by the target object, and under the condition that the electric vehicle is in the second running mode, the electric vehicle is instructed to run at a speed corresponding to the speed regulation operation after the electric vehicle receives the speed regulation operation of the target object on the speed regulation rotating handle of the electric vehicle under the condition that the target object leaves the saddle of the electric vehicle.

By adopting the technical scheme, after the electric vehicle receives the indication information of the target object, the driving mode adopted by the electric vehicle can be determined according to the received indication information, wherein the first driving mode is triggered by the active triggering mode in the embodiment, and the second driving mode is triggered by the passive triggering mode in the embodiment.

Optionally, the third receiving module 70 is further configured to receive indication information that the target object is sent to the electric vehicle through operation of a client; or receiving indication information sent by a pressing operation of the target object on a first button of the electric vehicle, specifically, the second receiving module 60 is further configured to receive the pressing operation of the target object through a switch in the client, where the indication information sent to the electric vehicle is used to indicate that the electric vehicle is in a first running state when the switch is in a first state, and the indication information sent to the electric vehicle is used to indicate that the electric vehicle is in a second running state when the switch is in a second state; and receiving a pressing operation of the target object through a first button on the electric vehicle, wherein when the first button is in a third state, the indication information sent to the electric vehicle is used for indicating that the electric vehicle is in a first running state, and when the first button is in a fourth state, the indication information sent to the electric vehicle is used for indicating that the electric vehicle is in a second running state.

It is understood that the first target event in the embodiment of the present invention, that is, the event in the active triggering manner in the above embodiment, includes at least one of the following events: and receiving a pressing operation of the target object on a second button of the electric vehicle, wherein the time for pressing the brake of the electric vehicle by the target object exceeds a preset threshold value, the target object screws the speed regulating handle to a preset position, and the target object sends notification information to the electric vehicle through the operation of a client.

It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.

The following explains the driving method of the electric vehicle with reference to an alternative embodiment, but is not intended to limit the technical solution of the embodiment of the present invention.

Alternative embodiment 1

In an optional embodiment 1, mainly described is an implementation manner of active triggering, after the target object enters an auxiliary propulsion mode (i.e., the power-assisted propulsion mode of the above embodiment) by the active triggering, even if the target object is not seated on the saddle, the electric vehicle can be controlled by the speed-adjusting handle to achieve power-assisted propulsion, and it should be noted that, at this time, even if the speed-adjusting handle is screwed to the maximum limit, the vehicle can only travel at a speed of 5km/h (a specific value may not be restricted); when the target object is re-seated back to the saddle, the assisted propel mode is automatically exited, as shown in fig. 8, an example of the invention may include the steps of:

step S702, the electric vehicle is unlocked and started through a target object;

step S704, the side support is retracted and separated from the saddle;

step S706, the target object pinches the brake, and the speed-regulating rotating handle is screwed to the bottom at the same time;

step 708, displaying an indicator light of the electric vehicle as blue, namely indicating that the auxiliary pushing mode is successfully set;

and step S710, after the temple is put down or the seat is returned to the saddle, the auxiliary pushing mode is exited.

By adopting the technical scheme, the problem that when a target object leaves the saddle, the vehicle cannot be pushed with assistance on the electric vehicle with the seat occupant detection function, the seat occupant detection function is perfectly combined with the seat occupant detection function is solved; the embodiment of the invention triggers the auxiliary pushing mode in an active triggering mode, automatically exits when the target object sits on the carriage again, and does not cause additional disturbance to the target object; and the vehicle using experience is optimized, the operation of a user is simplified, and the scientific and technological sense of the vehicle and the satisfaction degree of the user are improved.

Alternative embodiment 2

In order to solve the problem of how to implement the boosting propulsion when the target object is not on the saddle, the alternative embodiment 2 of the present invention provides a passive triggering mode, which does not require the target object to actively perform operation, and does not cause additional disturbance to the target object, when the vehicle is unlocked and started and the side supports are retracted, at this time, if the target object leaves the saddle, after screwing the speed-adjusting handle, the vehicle will advance at a speed with a speed limit of at most 5km/h (specific value may be not clearly constrained), and after the target object sits back on the saddle, screwing the speed-adjusting handle to return to the normal driving speed, as shown in fig. 9, the alternative embodiment 2 of the present invention comprises the following steps:

s802, unlocking and starting the electric vehicle;

step S804, the electric vehicle folds up the side support and leaves the saddle;

step S806, screwing the speed-regulating rotating handle, and enabling the vehicle to slowly move at a limited speed;

step S808, the target object sits back on the saddle, the rotating handle is screwed, and the vehicle returns to the normal running speed to run;

and step S810, the target object sits back to the saddle and automatically exits from the power-assisted pushing mode.

By adopting the technical scheme of the optional embodiment 2 of the invention, the problem that the vehicle cannot be pushed with assistance when the target object leaves the saddle on the electric vehicle with the seated person detection function is solved, the vehicle using experience is optimized, the operation of a user is simplified, and the scientific and technological sense of the vehicle and the satisfaction degree of the user are improved.

Alternative embodiment 3

In order to adapt to different user habits, the technical solution provided by optional embodiment 3 of the present invention may switch between the active triggering manner in optional embodiment 1 and the passive triggering manner in optional embodiment 2, and the specific switching manner may be implemented by the following technical solutions:

step 1, binding an appointed client APP and setting an electric vehicle;

step 2, finding a setting switch of a passive trigger mode or a setting switch of an active trigger mode in the client;

step 3, after a setting switch of a passive trigger mode or a setting switch of an active trigger mode is started, the vehicle is correspondingly switched to the driving method of the electric vehicle of the passive trigger mode or the active trigger mode;

and 4, after the passive triggering mode or the active triggering mode is closed, the vehicle is correspondingly switched into the active triggering mode or the passive triggering mode.

Therefore, according to the technical scheme, the problem that the vehicle cannot be pushed with assistance when a target object leaves a saddle on the electric vehicle with the seated person detection function is solved, the two auxiliary modes are respectively the active trigger mode and the passive trigger mode, the switching process between the two auxiliary modes is solved, vehicle using experience is optimized, user operation is simplified, and the scientific and technological sense of the vehicle and the satisfaction degree of the user are improved.

An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.

Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:

s1, detecting whether the electric vehicle receives a trigger of a first target event, wherein the first target event comprises one of the following: the time that a target object presses a brake of the electric vehicle exceeds a preset threshold value, the target object screws a speed-regulating rotating handle to a preset position, the pressing operation of the target object on a target button of the electric vehicle is received, and the target object sends notification information to the electric vehicle through the operation on a client side;

and S2, receiving the speed regulation operation of a target object to the speed regulation rotating handle of the electric vehicle under the condition that the electric vehicle is detected to receive the trigger of the first target event, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation.

An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.

Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:

s1, detecting whether the electric vehicle receives a trigger of a third target event, wherein the third target event comprises at least one of the following: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle;

and S2, receiving the speed regulation operation of a target object to the speed regulation rotating handle of the electric vehicle under the condition that the electric vehicle is detected to receive the trigger of the third target event, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation.

An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.

Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:

s1, receiving indication information of the target object through the electric vehicle;

s2, determining a driving mode adopted by the electric vehicle according to the received indication information, wherein the driving mode comprises: the method comprises a first running mode and a second running mode, wherein under the condition that the electric vehicle is in the first running mode, the electric vehicle is instructed to run at a speed corresponding to a speed regulation operation after the electric vehicle receives the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle under the condition that the target object leaves a saddle of the electric vehicle and the electric vehicle detects a first target event actively triggered by the target object, and under the condition that the electric vehicle is in the second running mode, the electric vehicle is instructed to run at a speed corresponding to the speed regulation operation after the electric vehicle receives the speed regulation operation of the target object on the speed regulation rotating handle of the electric vehicle under the condition that the target object leaves the saddle of the electric vehicle.

Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.

Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.

Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.

Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:

s1, detecting whether the electric vehicle receives the trigger of a first target event, wherein the first target event at least is used for indicating that the target object leaves a saddle of the electric vehicle;

and S2, receiving the speed regulation operation of a target object to the speed regulation rotating handle of the electric vehicle under the condition that the electric vehicle is detected to receive the trigger of the first target event, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation.

Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.

Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.

Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.

Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:

s1, detecting whether the electric vehicle receives a trigger of a third target event, wherein the third target event comprises at least one of the following: the target object retracts a temple of the electric vehicle, and the target object is not on a saddle of the electric vehicle;

and S2, receiving the speed regulation operation of a target object to the speed regulation rotating handle of the electric vehicle under the condition that the electric vehicle is detected to receive the trigger of the third target event, so that the electric vehicle runs according to the speed corresponding to the speed regulation operation.

Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.

Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.

Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:

s1, receiving indication information of the target object through the electric vehicle;

s2, determining a driving mode adopted by the electric vehicle according to the received indication information, wherein the driving mode comprises: the method comprises a first running mode and a second running mode, wherein under the condition that the electric vehicle is in the first running mode, the electric vehicle is instructed to run at a speed corresponding to a speed regulation operation after the electric vehicle receives the speed regulation operation of a target object on a speed regulation rotating handle of the electric vehicle under the condition that the target object leaves a saddle of the electric vehicle and the electric vehicle detects a first target event actively triggered by the target object, and under the condition that the electric vehicle is in the second running mode, the electric vehicle is instructed to run at a speed corresponding to the speed regulation operation after the electric vehicle receives the speed regulation operation of the target object on the speed regulation rotating handle of the electric vehicle under the condition that the target object leaves the saddle of the electric vehicle.

It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.

The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种具有雨天防滑作用的车辆快速减速辅助装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!