Equipment control method of vehicle, vehicle and storage medium
By determining the braking distance and activating and maintaining the vehicle network connection, the problem of inaccurate equipment control caused by wear of mechanical brake switches is solved, achieving higher equipment control accuracy.
Patent Information
- Application Number
- CN202511506386.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-21
- Publication Date
- 2026-01-02
AI Technical Summary
In existing vehicles, mechanical brake switches may experience poor contact due to wear, resulting in the inability to wake up or the accidental wake-up of the vehicle network, thus reducing the accuracy of equipment control.
By responding to the pedaling signal of the braking device, the pedaling distance is determined. Based on the pedaling distance, the current state of the network's wake-up signal and hold signal is determined, the network is woken up and the communication connection is maintained, and the non-braking device is controlled to perform adjustment operations.
This avoids the inability to wake up or the accidental wake-up of the vehicle network, improving the accuracy of device control.
Smart Images

Figure CN121246698A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of vehicles, and in particular, to a device control method of a vehicle, a vehicle and a storage medium. BACKGROUND
[0002] At present, in the existing vehicle, the whole vehicle network is often woken up through a traditional mechanical brake switch. However, after long-term use of the mechanical brake switch, the moving parts of the switch are seriously worn due to frequent braking by the driver, and poor contact is prone to occur, which may cause the vehicle network to be unable to be woken up or the vehicle network to be mistakenly woken up, thereby causing the problem of low accuracy of device control of the vehicle.
[0003] At present, there is no effective solution to the technical problem of low accuracy of device control of the vehicle. SUMMARY
[0004] Embodiments of the present application provide a device control method of a vehicle, a vehicle and a storage medium to at least solve the technical problem of low accuracy of device control of the vehicle.
[0005] According to an aspect of embodiments of the present application, a device control method of a vehicle is provided, comprising: determining a pedal distance of a brake device of the vehicle in response to a pedal signal of the brake device, wherein the pedal signal is triggered in response to a pedal operation of a driving object acting on the brake device, and the pedal distance is a movement distance of the pedal operation acting on the brake device; determining a first current state of a wake-up signal of a network of the vehicle and a second current state of a holding signal of the network based on the pedal distance; waking up the network based on the first current state, and holding a communication connection under the woken-up network based on the second current state; and controlling a non-brake device of the vehicle to perform an adjustment operation through the held communication connection, wherein the non-brake device is a device other than the brake device in the vehicle.
[0006] Further, determining the first current state of the wake-up signal of the network of the vehicle and the second current state of the holding signal of the network based on the pedal distance comprises: determining a distance relationship between the pedal distance and a preset pedal distance; and determining the first current state and the second current state based on the distance relationship.
[0007] Further, the preset stepping distance includes a first preset stepping distance and a second preset stepping distance, and the first preset stepping distance is smaller than the second preset stepping distance, wherein, based on the distance relationship, the first current state and the second current state are determined, including: in response to the distance relationship indicating that the stepping distance is smaller than the first preset stepping distance, determining that the first current state is that the wake-up signal is in the invalid state, and determining that the second current state is that the keep signal is in the invalid state; in response to the distance relationship indicating that the stepping distance is greater than the second preset stepping distance, determining that the first current state is that the wake-up signal is in the valid state, and determining that the second current state is that the keep signal is in the valid state.
[0008] Further, based on the first current state, the network is woken up, and based on the second current state, the communication connection under the woken-up network is kept, including: in response to the first current state being that the wake-up signal is in the valid state, the network is woken up; and in response to the second current state being that the keep signal is in the valid state, the communication connection under the woken-up network is kept.
[0009] Further, the method further includes: in response to the stepping signal, generating a response signal of the braking device, wherein the response signal is used to indicate the relationship between the stepping operation and the valid stepping operation; in response to the response signal indicating that the stepping operation is the valid stepping operation, determining that a third current state of the stepping signal is that the stepping signal is in the valid state, wherein the third current state is used to indicate the current state of the stepping signal; and in response to the stepping signal of the braking device of the vehicle, determining the stepping distance of the braking device, including: in response to the third current state of the stepping signal being that the stepping signal is in the valid state, determining the stepping distance.
[0010] Further, the method further includes: in response to the response signal indicating that the stepping operation is the invalid stepping operation, determining that the third current state is that the stepping signal is in the invalid state.
[0011] Further, the method further includes: in response to the response signal indicating that the stepping operation is the valid stepping operation, controlling the lighting device of the vehicle to switch from the closed state to the open state; and in response to the response signal indicating that the stepping operation is the invalid stepping operation, controlling the lighting device to remain in the closed state.
[0012] Further, the non-braking device includes a temperature control device and a gear control device, wherein the non-braking device of the vehicle is controlled to perform an adjustment operation through the kept communication connection, including: the temperature control device is controlled to perform a temperature adjustment operation through the kept communication connection; and the gear control device is controlled to perform a gear adjustment operation through the kept communication connection.
[0013] According to a further aspect of the embodiments of the present application, a device control apparatus of a vehicle is also provided, which can include: a first determination unit configured to determine a pedal distance of a brake device of the vehicle in response to a pedal signal of the brake device, wherein the pedal signal is triggered in response to a pedal operation of a driver on the brake device, and the pedal distance is a movement distance of the pedal operation on the brake device; a second determination unit configured to determine a first current state of a wake-up signal of a network of the vehicle and a second current state of a hold signal of the network based on the pedal distance; a wake-up and hold unit configured to wake up the network based on the first current state, and hold a communication connection under the woken-up network based on the second current state; and a control unit configured to control a non-brake device of the vehicle to perform an adjustment operation through the held communication connection, wherein the non-brake device is a device other than the brake device in the vehicle.
[0014] According to a further aspect of the embodiments of the present application, a vehicle is also provided, which can include: a memory storing an executable program; and a processor configured to run the program, wherein the program is configured to perform the method in the embodiments of the present application when running.
[0015] According to a further aspect of the embodiments of the present application, a computer readable storage medium is also provided, which includes a stored executable program, wherein the computer readable storage medium is configured to control a device where the computer readable storage medium is located to perform the method in the embodiments of the present application when the executable program runs.
[0016] According to a further aspect of the embodiments of the present application, a computer program product is also provided, which includes a computer program, wherein the computer program is configured to implement the method in the embodiments of the present application when executed by a processor.
[0017] According to a further aspect of the embodiments of the present application, a computer program product is also provided, which includes a non-volatile computer readable storage medium storing a computer program, wherein the computer program is configured to implement the method in the embodiments of the present application when executed by a processor.
[0018] According to a further aspect of the embodiments of the present application, a computer program is also provided, wherein the computer program is configured to implement the method in the embodiments of the present application when executed by a processor.
[0019] In the embodiment of the present application, when controlling the device of the vehicle, in response to the stepping signal of the braking device of the vehicle, the stepping distance of the braking device is determined; based on the stepping distance, the first current state of the wake-up signal of the network of the vehicle and the second current state of the holding signal of the network are determined; based on the first current state, the network is woken up, and based on the second current state, the communication connection under the woken-up network is maintained; through the maintained communication connection, the non-braking device of the vehicle is controlled to perform the adjustment operation. Since the embodiment of the present application can determine the first current state of the wake-up signal of the network of the vehicle and the second current state of the holding signal of the network based on the determination of the stepping distance in response to the stepping signal, based on the first current state, the network of the vehicle can be woken up, and based on the second current state, the communication connection under the woken-up network can be maintained, and then through the maintained communication connection, the non-braking device of the vehicle can be controlled to perform the adjustment operation, thereby achieving the purpose of avoiding the failure to wake up or the false wake-up of the vehicle network, thereby solving the technical problem of low accuracy of the device control of the vehicle, and further achieving the technical effect of improving the accuracy of the device control of the vehicle. BRIEF DESCRIPTION OF DRAWINGS
[0020] The accompanying drawings, which are included to provide a further understanding of the present application, constitute a part of the present application and illustrate the illustrative embodiments of the present application and its description, which serve to explain the present application, and do not constitute improper limitations on the present application. In the drawings:
[0021] FIG. 1(a) is a schematic diagram of an application scenario of a device control method of a vehicle according to an embodiment of the present application;
[0022] FIG. 1(b) is a flowchart of a device control method of a vehicle according to an embodiment of the present application;
[0023] Figure 2 FIG. 2 is a schematic diagram of a vehicle network wake-up system based on a brake pedal according to an embodiment of the present application;
[0024] Figure 3 FIG. 3 is a structural block diagram of a device control apparatus of a vehicle according to an embodiment of the present application;
[0025] Figure 4 FIG. 4 is a schematic diagram of a vehicle according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application, so that those skilled in the art can better understand the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work should fall within the scope of the present application.
[0027] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in other than the order illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to include only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product or device.
[0028] According to the embodiments of the present application, an embodiment of a device control method of a vehicle is provided. It should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in a different order.
[0029] As an optional implementation, the device control method of the vehicle can be applied to, but is not limited to, the application scenario shown in FIG. 1(a). FIG. 1(a) is a schematic diagram of an application scenario of a device control method of a vehicle according to an embodiment of the present application. As shown in FIG. 1(a), in the application scenario, the terminal device 10 can communicate with the server 13 through the network 11, and the server 13 can perform operations on the database, such as writing data or reading data. The terminal device 10 can include, but is not limited to, a human-computer interaction screen, a processor and a memory. The human-computer interaction screen can be used to display a virtual machine on the mobile terminal 10, etc. The vehicle 12 can respond to the human-computer interaction operation, perform corresponding operations, or generate corresponding instructions and send the generated instructions to the server 13.
[0030] It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that shown. Among them, the device control method of the vehicle in the present application can include: step S102, determining the pedal distance of the brake device of the vehicle in response to the pedal signal of the brake device, wherein the pedal signal is triggered in response to the driver's pedal operation on the brake device, and the pedal distance is the movement distance of the pedal operation on the brake device; step S104, determining the first current state of the wake-up signal of the network of the vehicle and the second current state of the hold signal of the network based on the pedal distance; step S106, based on the first current state, wake up the network, and based on the second current state, keep the communication connection under the woken-up network; and step S108, control the non-brake device of the vehicle to perform an adjustment operation through the kept communication connection, wherein the non-brake device is a device other than the brake device in the vehicle.
[0031] It should be noted that the related information and data involved in the present application (including but not limited to pedal signal, wake-up signal and hold signal, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.
[0032] FIG. 1(b) is a flowchart of a device control method of a vehicle according to an embodiment of the present application, as shown in FIG. 1(b), the method can include the following steps:
[0033] Step S112, determining the pedal distance of the brake device of the vehicle in response to the pedal signal of the brake device, wherein the pedal signal is triggered in response to the driver's pedal operation on the brake device, and the pedal distance is the movement distance of the pedal operation on the brake device.
[0034] In the technical solution provided by the above step S112 of the present application, the above pedal signal can be triggered in response to the driver's pedal operation on the brake device. For example, the above driver can be a driver, the above brake device can be a brake pedal, the above pedal signal can be a brake pedal stroke signal, the brake pedal stroke signal can also be called a push rod stroke signal, and the brake pedal stroke signal can be represented by IPB_InputRodStroke signal, which is only used as an example and is not limited.
[0035] In this embodiment, the above-mentioned stepping distance can be the moving distance of the stepping operation on the brake device. For example, the above-mentioned stepping distance can be 0.4 mm, 0.8 mm, 1 mm, or 1.4 mm, which are only examples and are not limited.
[0036] In this embodiment, the stepping distance of the brake device is determined in response to a stepping signal of the brake device of the vehicle. Optionally, the embodiment detects whether there is a stepping operation of the driving object on the brake device, and if it is detected that there is a stepping operation of the driving object on the brake device, the stepping signal can be triggered, and in response to the above-mentioned stepping signal, the moving distance of the stepping operation on the brake device can be determined, thereby achieving the purpose of determining the stepping distance of the brake device.
[0037] Optionally, in response to the above-mentioned stepping signal, the current position of the brake device moved by the stepping operation is detected, and then the initial position of the brake device not moved by the stepping operation and the above-mentioned current position are calculated to obtain the moving distance of the stepping operation on the brake device, thereby achieving the purpose of determining the stepping distance of the brake device.
[0038] Step S114, determining a first current state of a wake-up signal of the network of the vehicle and a second current state of a holding signal of the network based on the stepping distance.
[0039] In the technical solution provided by the above-mentioned step S114 of the present application, the above-mentioned wake-up signal can be used to represent a signal for waking up the network of the vehicle. For example, the above-mentioned wake-up signal can be represented by the ONEBOX_Wakeup_BrkPedal signal,
[0040] In this embodiment, the above-mentioned holding signal can be used to represent a signal for maintaining the communication connection under the network of the vehicle. For example, the above-mentioned holding signal can be represented by the ONEBOX_Awake_BrkPedal signal, which is only an example and is not limited.
[0041] In this embodiment, the above-mentioned first current state can be that the wake-up signal is in an invalid state, or the wake-up signal is in an effective state, which is only an example and is not limited.
[0042] In this embodiment, the above-mentioned second current state can be that the holding signal is in an invalid state, or the holding signal is in an effective state, which is only an example and is not limited.
[0043] In this embodiment, after determining the stepping distance of the brake device in response to the stepping signal of the brake device of the vehicle, the first current state of the wake-up signal of the network of the vehicle and the second current state of the hold signal of the network are determined based on the stepping distance. Alternatively, the first current state of the wake-up signal of the network of the vehicle and the second current state of the hold signal of the network can be determined according to the above-mentioned stepping distance and preset stepping distance based on the determination of the stepping distance.
[0044] Alternatively, the comparison of the above-mentioned stepping distance and preset stepping distance can obtain the distance relationship between the above-mentioned stepping distance and preset stepping distance, and the first current state of the wake-up signal and the second current state of the hold signal can be determined according to the obtained distance relationship.
[0045] In step S116, the network is woken up based on the first current state, and the communication connection under the woken-up network is maintained based on the second current state.
[0046] In the technical solution provided by the above-mentioned step S116 of the present application, the communication connection is a communication connection based on a controller area network (CAN).
[0047] In this embodiment, after determining the first current state of the wake-up signal of the network of the vehicle and the second current state of the hold signal of the network based on the stepping distance, the network is woken up based on the first current state, and the communication connection under the woken-up network is maintained based on the second current state. Alternatively, based on the determination of the first current state of the wake-up signal and the second current state of the hold signal, if the first current state is that the wake-up signal is in an effective state, the network can be woken up, and if the second current state is that the hold signal is in an effective state, the communication connection under the woken-up network can be maintained.
[0048] Alternatively, if the first current state is that the wake-up signal is in an ineffective state, the network is not woken up, and step S112 is continued; if the first current state is that the wake-up signal is in an effective state, the network can be woken up, and if the second current state is that the hold signal is in an ineffective state, the communication connection under the woken-up network is prohibited.
[0049] It should be noted that the method of waking up the network based on the first current state and maintaining the communication connection under the woken-up network based on the second current state is merely illustrative, and is not limited specifically herein. As long as the process and method of waking up the network of the vehicle based on the first current state of the wake-up signal and the second current state of the maintaining signal and maintaining the communication connection under the woken-up network are within the protection scope of the embodiments of the present application, they are not illustrated one by one herein.
[0050] In step S118, the non-braking device of the vehicle is controlled to perform an adjustment operation through the maintained communication connection, where the non-braking device is a device other than the braking device in the vehicle.
[0051] In the technical solution provided by the above step S118 of the present application, the non-braking device can be a device other than the braking device in the vehicle, where the non-braking device can include a temperature control device, a transmission control device, a media playing device, etc. For example, the temperature control device can be an air conditioner and a seat heating device, the transmission control device can be a transmission control unit (TCU), and the media playing device can be a loudspeaker and a speaker.
[0052] In this embodiment, the adjustment operation corresponds to the non-braking device. For example, if the non-braking device includes a temperature control device and a transmission control device, the adjustment operation can include an energy consumption adjustment operation performed on the temperature control device and a gear shifting adjustment operation performed on the transmission control device; if the non-braking device includes a temperature control device, a transmission control device, and a media playing device, the adjustment operation can include an energy consumption adjustment operation performed on the temperature control device, a gear shifting adjustment operation performed on the transmission control device, and a power adjustment operation performed on the media playing device, which are merely illustrative and are not limited specifically herein.
[0053] In this embodiment, after the network is woken up based on the first current state and the communication connection under the woken-up network is maintained based on the second current state, the non-braking device of the vehicle is controlled to perform an adjustment operation through the maintained communication connection. Alternatively, based on the maintained communication connection under the woken-up network, the temperature control device, the transmission control device, and the media playing device of the vehicle are controlled to perform an adjustment operation through the maintained communication connection.
[0054] In the steps S112-S118, when controlling the device of the vehicle, in response to the stepping signal of the braking device of the vehicle, the stepping distance of the braking device is determined; based on the stepping distance, the first current state of the wake-up signal of the network of the vehicle and the second current state of the holding signal of the network are determined; based on the first current state, the network is woken up, and based on the second current state, the communication connection under the woken-up network is maintained; and through the maintained communication connection, the non-braking device of the vehicle is controlled to perform the adjustment operation. Since the embodiment of the application determines the stepping distance in response to the stepping signal, determines the first current state of the wake-up signal of the network of the vehicle and the second current state of the holding signal of the network, wakes up the network of the vehicle based on the first current state, maintains the communication connection under the woken-up network based on the second current state, and then controls the non-braking device of the vehicle to perform the adjustment operation through the maintained communication connection, the purpose of avoiding failure to wake up or false wake up of the network of the vehicle is achieved, thereby solving the technical problem of low accuracy of device control of the vehicle and achieving the technical effect of improving the accuracy of device control of the vehicle.
[0055] The above method of the embodiment is further described below.
[0056] As an optional embodiment, in step S114, based on the stepping distance, the first current state of the wake-up signal of the network of the vehicle and the second current state of the holding signal of the network are determined, including: determining the distance relationship between the stepping distance and the preset stepping distance; and based on the distance relationship, determining the first current state and the second current state.
[0057] In this embodiment, after determining the stepping distance of the braking device of the vehicle in response to the stepping signal of the braking device, the distance relationship between the stepping distance and the preset stepping distance is determined. Alternatively, the embodiment compares the stepping distance with the preset stepping distance based on the determined stepping distance, and the distance relationship between the stepping distance and the preset stepping distance is obtained.
[0058] In this embodiment, after determining the distance relationship between the stepping distance and the preset stepping distance, based on the distance relationship, the first current state and the second current state are determined. Alternatively, the embodiment determines the first current state of the wake-up signal and the second current state of the holding signal according to the distance relationship based on the determined distance relationship, thereby achieving the purpose of determining whether the wake-up signal is in an invalid state or an effective state and whether the holding signal is in an invalid state or an effective state, and further achieving the technical effect of improving the accuracy of network wake-up of the vehicle.
[0059] The method for determining the first current state and the second current state based on the distance relationship is described in further detail below.
[0060] As an optional embodiment, the preset stepping distance includes a first preset stepping distance and a second preset stepping distance, and the first preset stepping distance is smaller than the second preset stepping distance. The method for determining the first current state and the second current state based on the distance relationship includes: in response to the distance relationship indicating that the stepping distance is smaller than the first preset stepping distance, determining that the first current state is that the wake-up signal is in the invalid state, and determining that the second current state is that the keep signal is in the invalid state; and in response to the distance relationship indicating that the stepping distance is greater than the second preset stepping distance, determining that the first current state is that the wake-up signal is in the valid state, and determining that the second current state is that the keep signal is in the valid state.
[0061] In this embodiment, the preset stepping distance can include a first preset stepping distance and a second preset stepping distance, and the first preset stepping distance is smaller than the second preset stepping distance. For example, the first preset stepping distance can be 0.8 mm, and the second preset stepping distance can be 1.4 mm. The values are only used for illustration and are not limited.
[0062] In this embodiment, the distance relationship can indicate that the stepping distance is smaller than the first preset stepping distance, or that the stepping distance is greater than the second preset stepping distance. The values are only used for illustration and are not limited.
[0063] In this embodiment, after determining the distance relationship between the stepping distance and the preset stepping distance, in response to the distance relationship indicating that the stepping distance is smaller than the first preset stepping distance, the first current state is determined to be that the wake-up signal is in the invalid state, and the second current state is determined to be that the keep signal is in the invalid state. Alternatively, the embodiment compares the stepping distance with the first preset stepping distance and the second preset stepping distance to obtain the distance relationship between the stepping distance and the first preset stepping distance and the second preset stepping distance. If the distance relationship indicates that the stepping distance is smaller than the first preset stepping distance, the first current state is determined to be that the wake-up signal is in the invalid state, and the second current state is determined to be that the keep signal is in the invalid state. Thus, the wake-up signal is determined to be in the invalid state, and the keep signal is determined to be in the invalid state, thereby achieving the technical effect of improving the accuracy of network wake-up of the vehicle.
[0064] For example, the IPB_InputRodStroke signal corresponding to the pedal distance is compared with the first preset pedal distance of 0.8 mm and the second preset pedal distance of 1.4 mm, and if the distance relationship obtained indicates that the pedal distance is less than the first preset pedal distance of 0.8 mm, the first current state is determined to be in the invalid state of the wake-up signal, and the second current state is determined to be in the invalid state of the keep signal. This is only an example and is not limited.
[0065] In this embodiment, after determining the distance relationship between the pedal distance and the preset pedal distance, the first current state is determined to be in the valid state of the wake-up signal and the second current state is determined to be in the valid state of the keep signal in response to the distance relationship indicating that the pedal distance is greater than the second preset pedal distance. Alternatively, this embodiment compares the pedal distance with the first preset pedal distance and the second preset pedal distance to obtain the distance relationship between the pedal distance and the first preset pedal distance and the second preset pedal distance. If the distance relationship indicates that the pedal distance is greater than the second preset pedal distance, the first current state is determined to be in the valid state of the wake-up signal and the second current state is determined to be in the valid state of the keep signal, thereby achieving the technical effect of improving the accuracy of network wake-up of the vehicle.
[0066] For example, the IPB_InputRodStroke signal corresponding to the pedal distance is compared with the first preset pedal distance of 0.8 mm and the second preset pedal distance of 1.4 mm, and if the distance relationship obtained indicates that the pedal distance is greater than the second preset pedal distance of 1.4 mm, the first current state is determined to be in the valid state of the wake-up signal and the second current state is determined to be in the valid state of the keep signal. This is only an example and is not limited.
[0067] The above method of this embodiment for determining the communication connection under the network based on the first current state and the network based on the second current state after the network is kept awake is further described below.
[0068] As an optional embodiment, step S116, determining the communication connection under the network based on the first current state and the network based on the second current state after the network is kept awake, comprises: in response to the first current state being in the valid state of the wake-up signal, waking up the network; and in response to the second current state being in the valid state of the keep signal, keeping the communication connection under the network after the network is woken up.
[0069] In this embodiment, after determining the first current state of the wake-up signal of the network of the vehicle and the second current state of the keep-alive signal of the network based on the stepping distance, the network is woken up in response to the first current state being that the wake-up signal is in the active state, and the communication connection under the woken-up network is kept in response to the second current state being that the keep-alive signal is in the active state. Optionally, based on the determination of the first current state of the wake-up signal and the second current state of the keep-alive signal, if the first current state is that the wake-up signal is in the active state, the network of the vehicle can be woken up, and if the second current state is that the keep-alive signal is in the active state, the communication connection under the woken-up network can be kept, thereby achieving the purpose of waking up the network of the vehicle, and thus realizing the technical effect of improving the accuracy of the wake-up of the network of the vehicle.
[0070] The step of determining the stepping distance of the braking device in response to the stepping signal of the braking device of the vehicle in the above embodiment is further described below.
[0071] As an optional embodiment, the method further comprises: generating a response signal of the braking device in response to the stepping signal, wherein the response signal is used to indicate the relationship between the stepping operation and the valid stepping operation; and determining a third current state of the stepping signal as the stepping signal being in the active state in response to the response signal indicating that the stepping operation is the valid stepping operation, wherein the third current state is used to indicate the current state of the stepping signal, and the step S112 of determining the stepping distance of the braking device in response to the stepping signal of the braking device of the vehicle comprises: determining the stepping distance in response to the third current state of the stepping signal being that the stepping signal is in the active state.
[0072] In this embodiment, the response signal can be used to indicate the relationship between the stepping operation and the valid stepping operation, wherein the response signal can comprise: a braking stepping signal, a network wake-up signal, and a request control signal. For example, the braking stepping signal can comprise: a brake pedal press setting (Res_BrakePedalPressSts) signal and a setting validity (Res_BrakePedalPressStsValidData) signal; the network wake-up signal can comprise: a wake-up (ONEBOX_Wakeup_BrkPedal) signal and a keep-alive (ONEBOX_Awake_BrkPedal) signal; and the request control signal can comprise: an Integrated Power Brake (IPB) request control (BLRequestController) signal and an Electronic Park Brake (EPB) request signal (EPB_1_BrkLitReq).
[0073] In this embodiment, the third current state of the stepping signal can be used to represent the current state of the stepping signal.
[0074] In this embodiment, a response signal of the braking device is generated in response to the stepping signal; and the third current state of the stepping signal is determined as the stepping signal being in the valid state in response to the response signal indicating that the stepping operation is a valid stepping operation. Alternatively, this embodiment generates a response signal of the braking device in response to the stepping signal, and determines whether the generated response signal indicates that the stepping operation is a valid stepping operation or an invalid stepping operation; and the third current state of the stepping signal is determined as the stepping signal being in the valid state if the generated response signal indicates that the stepping operation is a valid stepping operation. Thus, the purpose of determining that the stepping signal is in the valid state is achieved.
[0075] In this embodiment, the stepping distance is determined in response to the third current state of the stepping signal being in the valid state after the third current state of the stepping signal is determined as the stepping signal being in the valid state in response to the response signal indicating that the stepping operation is a valid stepping operation. Alternatively, this embodiment determines the stepping distance of the braking device based on the third current state; and if the third current state is in the valid state, the current position of the braking device moved by the stepping operation is detected, and the distance between the initial position of the braking device not moved by the stepping operation and the current position is calculated to obtain the stepping distance of the braking device. Thus, the purpose of determining the stepping distance of the braking device is achieved.
[0076] The above-mentioned method for controlling the device of the vehicle of this embodiment is further described below.
[0077] As an alternative embodiment, the method further comprises determining the third current state as the stepping signal being in the invalid state in response to the response signal indicating that the stepping operation is an invalid stepping operation.
[0078] In this embodiment, the third current state is determined as the stepping signal being in the invalid state in response to the response signal indicating that the stepping operation is an invalid stepping operation. Alternatively, the generated response signal is determined as indicating that the stepping operation is a valid stepping operation or an invalid stepping operation; and the third current state of the stepping signal is determined as the stepping signal being in the invalid state if the generated response signal indicates that the stepping operation is an invalid stepping operation. Thus, the purpose of determining that the stepping signal is in the invalid state is achieved.
[0079] The above-mentioned method for controlling the device of the vehicle of this embodiment is further described below.
[0080] As an optional embodiment, the method further comprises: in response to the response signal indicating that the stepping operation is a valid stepping operation, controlling the lighting device of the vehicle to switch from the off state to the on state; and in response to the response signal indicating that the stepping operation is an invalid stepping operation, controlling the lighting device to remain in the off state.
[0081] In this embodiment, the lighting device can be a tail lamp.
[0082] In this embodiment, in response to the response signal indicating that the stepping operation is a valid stepping operation, the lighting device of the vehicle is controlled to switch from the off state to the on state. Optionally, the embodiment judges whether the generated response signal indicates that the stepping operation is a valid stepping operation or an invalid stepping operation, and if it is judged that the generated response signal indicates that the stepping operation is a valid stepping operation, the lighting device of the vehicle is controlled to switch from the off state to the on state, thereby achieving the purpose of being able to switch the state of the lighting device.
[0083] In this embodiment, in response to the response signal indicating that the stepping operation is an invalid stepping operation, the lighting device is controlled to remain in the off state. Optionally, the embodiment judges whether the generated response signal indicates that the stepping operation is a valid stepping operation or an invalid stepping operation, and if it is judged that the generated response signal indicates that the stepping operation is an invalid stepping operation, the lighting device of the vehicle is controlled to remain in the off state, thereby achieving the purpose of being able to avoid false opening of the lighting device.
[0084] The method of controlling the non-braking device of the vehicle to perform the adjustment operation through the maintained communication connection in the above embodiment will be further described below.
[0085] As an optional embodiment, the non-braking device comprises a temperature control device and a gear control device, and the step S118 of controlling the non-braking device of the vehicle to perform the adjustment operation through the maintained communication connection comprises: controlling the temperature control device to perform a temperature adjustment operation through the maintained communication connection; and controlling the gear control device to perform a gear adjustment operation through the maintained communication connection.
[0086] In this embodiment, the non-braking device can comprise a temperature control device and a gear control device.
[0087] In the embodiment, the temperature control device is controlled to perform the temperature adjustment operation through the maintained communication connection, and the gear control device is controlled to perform the gear adjustment operation through the maintained communication connection. Alternatively, the embodiment controls the temperature control device to perform the temperature adjustment operation through the maintained communication connection, controls the gear control device to perform the gear adjustment operation through the maintained communication connection, and controls the media playing device to perform the power adjustment operation through the maintained communication connection based on the maintained communication connection under the woken-up network, thereby achieving the purpose of controlling the non-braking device to perform the adjustment operation.
[0088] In the embodiment, when controlling the device of the vehicle, the stepping distance of the braking device is determined in response to the stepping signal of the braking device; the first current state of the wake-up signal of the network of the vehicle and the second current state of the maintaining signal of the network are determined based on the stepping distance; the network is woken up based on the first current state, and the communication connection under the woken-up network is maintained based on the second current state; and the non-braking device of the vehicle is controlled to perform the adjustment operation through the maintained communication connection. Since the embodiment determines the stepping distance in response to the stepping signal, the first current state of the wake-up signal of the network of the vehicle and the second current state of the maintaining signal of the network are determined, the network is woken up based on the first current state, the communication connection under the woken-up network is maintained based on the second current state, and the non-braking device of the vehicle is controlled to perform the adjustment operation through the maintained communication connection, thereby achieving the purpose of avoiding the failure to wake up or the false wake-up of the network of the vehicle, solving the technical problem of low accuracy of the device control of the vehicle, and further achieving the technical effect of improving the accuracy of the device control of the vehicle.
[0089] The technical solutions of the embodiments of the application are described below with reference to the preferred embodiments.
[0090] At present, in the existing vehicle, the wake-up of the network of the vehicle is often realized through the traditional mechanical braking switch. However, after long-term use of the mechanical braking switch, the moving parts of the switch are seriously worn due to frequent braking by the driver, and are prone to poor contact, which may cause the failure to wake up the network of the vehicle or the false wake-up of the network of the vehicle, thereby causing the problem of low accuracy of the device control of the vehicle.
[0091] However, the embodiment of the present application proposes a device control method of a vehicle, which can determine a first current state of a wake-up signal of a network of the vehicle and a second current state of a hold signal of the network on the basis of a determination of a depression distance in response to a depression signal, wake up the network of the vehicle based on the first current state, and hold a communication connection under the woken-up network based on the second current state, and then control a non-braking device of the vehicle to perform an adjustment operation through the held communication connection, thereby achieving the purpose of avoiding failure to wake up or false wake-up of the network of the vehicle, solving the technical problem of low accuracy of device control of the vehicle, and further achieving the technical effect of improving the accuracy of device control of the vehicle.
[0092] In this embodiment, the network of the vehicle can be woken up, the communication connection under the woken-up network can be held, and the non-braking device of the vehicle can be controlled to perform an adjustment operation through the held communication connection by the brake pedal-based vehicle network wake-up system. Figure 2 is a schematic diagram of a brake pedal-based vehicle network wake-up system according to an embodiment of the present application, as Figure 2 shown, the brake pedal-based vehicle network wake-up system 200 can include a brake pedal 201, an integrated power brake system 202, a front right zone control unit (FRZCU) 203, a vehicle control unit (VCU) 204, a front left zone control unit (FLZCU) 205, a trigger unit 206, an air conditioning control unit 207, a transmission control unit 208, and a tail lamp 209.
[0093] Among them, the brake pedal 201 can communicate with the integrated power brake system 202 through the CAN bus; the integrated power brake system 202 can communicate with the front right zone control unit 203, the vehicle control unit 204, and the front left zone control unit 205 through the CAN bus, respectively; the front right zone control unit 203 can communicate with the trigger unit 206 through the CAN bus; the vehicle control unit 204 can communicate with the air conditioning control unit 207 and the transmission control unit 208 through the CAN bus, respectively; and the front left zone control unit 205 can communicate with the tail lamp 209 through the CAN bus.
[0094] In this embodiment, when the driver steps on the brake pedal 201, the mechanical action of the brake pedal 201 will be converted into an electrical signal. The IPB_InputRodStroke signal is transmitted to the integrated power brake system 202 by the brake pedal 201 through the CAN bus. The IPB_InputRodStroke signal can accurately reflect the stroke information of the brake pedal, which is the starting basis for triggering a series of subsequent control logic. The integrated power brake system 202, as the core processing unit, receives and analyzes this stroke signal in real time, and prepares for waking up the vehicle network and related function response. After receiving the IPB_InputRodStroke signal, the integrated power brake system 202 generates a variety of brake-related signals, including brake depression signals and network wake-up signals. These signals are transmitted to different control units according to the pre-set functional logic, starting the process of waking up the vehicle network and linking the brake function.
[0095] The integrated power brake system 202 can transmit the generated brake depression signals (Res_BrakePedalPressSts signal and Res_BrakePedalPressStsValidData signal) and network wake-up signals (NmM_ONEBOX signal, ONEBOX_Wakeup_BrkPedal signal, and ONEBOX_Awake_BrkPedal signal) to the right domain control unit 203 through the CAN network. The right domain control unit 203, as an intermediate link, receives these signals and sends a power-on request to the trigger unit 206 according to the pre-set control strategy.
[0096] After the trigger unit 206 receives the power-on request, it completes the corresponding power-on action. This process enables the key electrical systems of the vehicle to start supplying power, and at the same time, the vehicle control unit 204 can interact with other control units (such as the air conditioning control unit 207 and the transmission control unit 208) to lay the foundation for the wake-up and activation of the vehicle power system, auxiliary control system, etc., ensuring that the electrical system gradually enters a runnable state after the brake pedal triggers the wake-up.
[0097] After the VCU receives the brake depression signals (Res_BrakePedalPressSts signal and Res_BrakePedalPressStsValidData signal) transmitted by the integrated power brake system 202, it generates the VCU_BrakePedalStsValidData signal and the VCU_BrakePedalSts signal.
[0098] Subsequently, the VCU transmits the VCU_BrakePedalStsValidData signal and the VCU_BrakePedalSts signal to the air conditioning control unit 207 and the transmission control unit 208, respectively. Among them, the air conditioning control unit 207 can adjust the air conditioning operation mode according to the VCU_BrakePedalStsValidData signal and the VCU_BrakePedalSts signal, for example, in the vehicle wake-up starting process, according to the whole vehicle state triggered by the brake, the air conditioning energy consumption is optimized or the refrigeration and heating strategy is adjusted; the transmission control unit 208 can make good preparation for the transmission shift logic based on the VCU_BrakePedalStsValidData signal and the VCU_BrakePedalSts signal, to ensure that the vehicle power output and the brake, and the starting state are adapted.
[0099] Optionally, the VCU can also generate an energy recovery use (VCU_Brake_LightReq) signal, which is associated with the vehicle energy recovery function. During the brake pedal trigger wake-up and subsequent braking process, the energy recovery system judges whether to enter the energy recovery state according to this signal, converts the mechanical energy generated by braking into electrical energy storage, improves the vehicle energy utilization efficiency, and realizes the effective recovery and reuse of braking energy.
[0100] Optionally, the integrated power brake system 202 can transmit the generated brake pedal pressing signal (Res_BrakePedalPressSts signal and Res_BrakePedalPressStsValidData signal) and network wake-up signal (NmM_ONEBOX signal, ONEBOX_Wakeup_BrkPedal signal and ONEBOX_Awake_BrkPedal signal) to the left domain control unit 205. After the left domain control unit receives the above signals, it identifies the brake operation intention and prepares for brake tail light lighting. The FLZCU triggers the brake tail light lighting action according to the received signals. At the same time, the brake tail light lighting signal is also associated with the BLRequestController signal of the integrated power brake system 202 and the EPB_1_BrkLitReq signal, forming multiple signal verification and control, to ensure that the brake tail light is accurately and timely lit when the brake pedal is triggered, to transmit the brake signal to the rear vehicle and ensure driving safety.
[0101] For example, for the wake-up strategy of the brake pedal, when the driver steps on the brake pedal, the IPB sends the network wake-up signal (ONEBOX_Wakeup_BrkPedal signal and ONEBOX_Awake_BrkPedal signal) to the body domain controller (BDM) according to the brake pedal stroke IPB_InputRodStroke signal; after the BDM receives the network wake-up signal, the BDM wakes up the vehicle network, and after the brake pedal is released, the IPB keeps sending the ONEBOX_Awake_BrkPedal signal for 30s, and at most for 3min. It should be noted that the 30s and 3min are both tunable time lengths.
[0102] For example, for the step-on strategy of the brake pedal, when the driver steps on the brake pedal, the IPB sends the Res_BrakePedalPressSts signal and the Res_BrakePedalPressStsValidData signal to the BDM, the engine management system (EMS) or the hybrid control unit (HCU) according to the IPB_InputRodStroke signal; under the condition that the BDM receives the two signals, the BDM judges Res_BrakePedalPressStsValidData=0 (valid), and Res_BrakePedalPressSts=2 (pressed), the BDM considers that the brake pedal is stepped on; the BDM receives Res_BrakePedalPressSts=0 (not active), Res_BrakePedalPressSts=1 (not pressed), Res_BrakePedalPressSts=3 (error), and judges the state of the brake pedal signal according to the corresponding signal, respectively, that is, not active, not pressed or error; if the BDM judges Res_BrakePedalPressStsValidData=1 (invalid), the BDM judges that the brake pedal signal is invalid.
[0103] The EMS / HCU receives the Res_BrakePedalPressSts signal and the Res_BrakePedalPressStsValidData signal, judges the two signals, and when it is judged that Res_BrakePedalPressSts = 2 and Res_BrakePedalPressStsValidData = 0 (valid), the VCU sends VCU_BrakePedalSts = depressed; when Res_BrakePedalPressSts = 0, or Res_BrakePedalPressSts = 1, or Res_BrakePedalPressSts = 3, and Res_BrakePedalPressStsValidData = 0 (valid), the VCU sends VCU_BrakePedalSts = not depressed; when Res_BrakePedalPressSts = 0, or Res_BrakePedalPressSts = 1, or Res_BrakePedalPressSts = 2, or Res_BrakePedalPressSts = 3, and Res_BrakePedalPressStsValidData = 1 (invalid), the VCU sends VCU_BrakePedalSts = not depressed. In the case of IPB invalidation, the EMS / HCU controls the demand for lighting of the brake tail light.
[0104] Optionally, when IPB_InputRodStroke>0.4mm, the IPB will generate brake pressure, and the pressure (IPB_PlungerPressure) signal will change; IPB_InputRodStroke>1mm (calibratable), Res_BrakePedalPressSts=2 (Pressed); IPB_InputRodStroke<0.8mm (calibratable), Res_BrakePedalPressSts=1 (Not Pressed); IPB_InputRodStroke>1.4mm (calibratable), ONEBOX_Wakeup_BrkPedal=1 (Active); IPB_InputRodStroke<0.8mm (calibratable), ONEBOX_Wakeup_BrkPedal=0 (Inactive); IPB_InputRodStroke>1.4mm (calibratable), ONEBOX_Awake_BrkPedal=1 (Active); IPB_InputRodStroke<0.8mm (calibratable), ONEBOX_Wakeup_BrkPedal=0 (Inactive), IPB_InputRodStroke<0.8mm (calibratable), ONEBOX_Awake_BrkPedal=1 (Active) for 30s, and then set ONEBOX_Awake_BrkPedal=0 (Inactive), if IPB_InputRodStroke>1.4mm (calibratable) is judged again within 30s, the 30s timing of ONEBOX_Awake_BrkPedal=1 needs to be recalculated. Among them, the signal safety level of IPB_InputRodStroke is Automotive Safety Integrity Level C (ASILC).
[0105] In the embodiment, when controlling the device of the vehicle, in response to a pedal signal of a braking device of the vehicle, a pedal distance of the braking device is determined; based on the pedal distance, a first current state of a wake-up signal of a network of the vehicle and a second current state of a hold signal of the network are determined; based on the first current state, the network is woken up, and based on the second current state, a communication connection under the woken-up network is held; and through the held communication connection, a non-braking device of the vehicle is controlled to perform an adjustment operation. Since the embodiment of the application can determine the first current state of the wake-up signal of the network of the vehicle and the second current state of the hold signal of the network based on the pedal distance determined in response to the pedal signal, can wake up the network of the vehicle based on the first current state, and can hold the communication connection under the woken-up network based on the second current state, and then can control the non-braking device of the vehicle to perform the adjustment operation through the held communication connection, the purpose of avoiding failure to wake up or false wake up of the network of the vehicle is achieved, thereby solving the technical problem of low accuracy of device control of the vehicle and further achieving the technical effect of improving the accuracy of device control of the vehicle.
[0106] According to another aspect of the embodiment of the application, corresponding to the above-mentioned embodiment of the device control method of the vehicle, the embodiment of the application further provides a device control apparatus of a vehicle. Figure 3 is a structural block diagram of a device control apparatus of a vehicle according to an embodiment of the application, as shown in the figure, the device control apparatus 300 of the vehicle can include a first determination unit 302, a second determination unit 304, a wake-up and holding unit 306, and a control unit 308. Figure 3
[0107] The first determination unit 302 is configured to determine a pedal distance of a braking device of the vehicle in response to a pedal signal of the braking device, wherein the pedal signal is triggered in response to a pedal operation of a driver on the braking device, and the pedal distance is a movement distance of the pedal operation on the braking device.
[0108] The second determination unit 304 is configured to determine a first current state of a wake-up signal of a network of the vehicle and a second current state of a hold signal of the network based on the pedal distance.
[0109] The wake-up and holding unit 306 is configured to wake up the network based on the first current state, and hold a communication connection under the woken-up network based on the second current state.
[0110] The control unit 308 is configured to control a non-braking device of the vehicle to perform an adjustment operation through the held communication connection, wherein the non-braking device is a device other than the braking device in the vehicle.
[0111] Optionally, the second determining unit 304 can comprise: a first determining module, configured to determine a distance relationship between the stepping distance and a preset stepping distance; and a second determining module, configured to determine the first current state and the second current state based on the distance relationship.
[0112] Optionally, the preset stepping distance comprises a first preset stepping distance and a second preset stepping distance, and the first preset stepping distance is smaller than the second preset stepping distance, wherein the second determining module can comprise: a first determining submodule, configured to, in response to the distance relationship indicating that the stepping distance is smaller than the first preset stepping distance, determine that the first current state is in the invalid state of the wake-up signal and determine that the second current state is in the invalid state of the keep signal; and a second determining submodule, configured to, in response to the distance relationship indicating that the stepping distance is greater than the second preset stepping distance, determine that the first current state is in the valid state of the wake-up signal and determine that the second current state is in the valid state of the keep signal.
[0113] Optionally, the wake-up and keep unit 306 can comprise: a wake-up and keep module, configured to, in response to the first current state being in the valid state of the wake-up signal, wake up the network; and in response to the second current state being in the valid state of the keep signal, keep the communication connection under the woken-up network.
[0114] Optionally, the device control apparatus 300 of the vehicle can further comprise: a generating unit, configured to generate a response signal of the braking device in response to the stepping signal, wherein the response signal is used to indicate the relationship between the stepping operation and the valid stepping operation; and a third determining unit, configured to, in response to the response signal indicating that the stepping operation is the valid stepping operation, determine that a third current state of the stepping signal is in the valid state of the stepping signal, wherein the third current state is used to indicate the current state of the stepping signal; and the first determining unit 302 can comprise: a third determining module, configured to, in response to the third current state of the stepping signal being in the valid state of the stepping signal, determine the stepping distance.
[0115] Optionally, the device control apparatus 300 of the vehicle can further comprise: a fourth determining unit, configured to, in response to the response signal indicating that the stepping operation is the invalid stepping operation, determine that the third current state is in the invalid state of the stepping signal.
[0116] Optionally, the device control apparatus 300 of the vehicle can further comprise: a switching unit, configured to, in response to the response signal indicating that the stepping operation is the valid stepping operation, control the lighting device of the vehicle to switch from the closed state to the open state; and a keeping unit, configured to, in response to the response signal indicating that the stepping operation is the invalid stepping operation, control the lighting device to keep in the closed state.
[0117] Optionally, the non-braking device comprises a temperature control device and a gear control device, wherein the control unit 308 can comprise a control module configured to control the temperature control device to perform a temperature adjustment operation via the maintained communication connection, and control the gear control device to perform a gear adjustment operation via the maintained communication connection.
[0118] In this embodiment, in the device control apparatus of the vehicle, the following units are arranged: a first determination unit configured to determine a pedal distance of a braking device of the vehicle in response to a pedal signal of the braking device, wherein the pedal signal is triggered in response to a pedal operation of a driver on the braking device, and the pedal distance is a movement distance of the pedal operation on the braking device; a second determination unit configured to determine a first current state of a wake-up signal of a network of the vehicle and a second current state of a maintenance signal of the network based on the pedal distance; a wake-up and maintenance unit configured to wake up the network based on the first current state, and maintain a communication connection under the network after being woken up based on the second current state; and a control unit configured to control a non-braking device of the vehicle to perform an adjustment operation via the maintained communication connection, wherein the non-braking device is a device other than the braking device in the vehicle, thereby achieving the purpose of avoiding failure to wake up or false wake up of the network of the vehicle, thereby solving the technical problem of low accuracy of device control of the vehicle, and further achieving the technical effect of improving the accuracy of device control of the vehicle.
[0119] The embodiment of the present application further provides a vehicle, comprising: a memory storing an executable program; and a processor configured to run the program, wherein the program is configured to execute the method in the various embodiments of the present application when running.
[0120] The embodiment of the present application further provides a computer readable storage medium, comprising a stored executable program, wherein the computer readable storage medium is configured to execute the method in the various embodiments of the present application when the executable program runs.
[0121] The embodiment of the present application further provides a computer program product, comprising a computer program configured to implement the method in the various embodiments of the present application when executed by a processor.
[0122] The embodiment of the present application further provides a computer program product, comprising a non-volatile computer readable storage medium configured to store a computer program, wherein the computer program is configured to implement the method in the various embodiments of the present application when executed by a processor.
[0123] The embodiment of the present application further provides a computer program configured to implement the method in the various embodiments of the present application when executed by a processor.
[0124] In the above-described embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0125] According to the embodiments of the present application, a vehicle is further provided. Figure 4 is a schematic diagram of a vehicle according to an embodiment of the present application, as shown in Figure 4 The vehicle 400 can include a memory 410 and a processor 420, wherein the memory 410 is configured to store an executable program; and the processor 420 is configured to run the program stored on the memory 410, and the program performs the device control method of the vehicle of the present application when running.
[0126] In the present application, multiple refers to two or more.
[0127] In the present application, unless otherwise explicitly limited, the terms "mounting", "connecting", "connecting" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium, or it can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0128] The terms "first", "second", "third", "fourth" and the like (if any) in the present application are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.
[0129] In the present application, the term "and / or" is only a description of the association relationship between the associated objects, which means that there can be three kinds of relationships, for example, A and / or B can represent the existence of A alone, the existence of A and B together, and the existence of B alone. In addition, the character " / " in the present application generally represents an "or" relationship between the front and rear associated objects.
[0130] If not specifically stated, all the steps of the present application can be performed in sequence or randomly. For example, the device control method of the vehicle of the present application can include step S112 and step S114, which means that the device control method of the vehicle of the present application can include sequentially performed steps S112 and S114, or sequentially performed steps S114 and S116.
[0131] For example, the device control method of the vehicle of the present application can further include step S116, which can be added to the method in any order. For example, the device control method of the vehicle of the present application can include step S112, step S114, and step S116, or can include step S112, step S116, and step S114, or can include step S116, step S114, and step S112, and the like, which are merely examples and are not limited in particular.
[0132] For another example, the device control method of the vehicle of the present application can further include step S118, which can be added to the method in any order. For example, the device control method of the vehicle of the present application can include step S112, step S114, step S116, and step S118, or can include step S118, step S112, step S116, and step S114, or can include step S116, step S114, step S112, and step S118, and the like, which are merely examples and are not limited in particular.
[0133] According to another aspect of the embodiments of the present application, a computer readable storage medium is also provided. The computer readable storage medium includes a stored program, wherein the program, when executed, controls a device where the computer readable storage medium is located to perform the device control method of the vehicle of the embodiments.
[0134] The computer readable storage medium can also be referred to as a computer storage medium. It can include a data signal carrying the readable program code in a baseband or as part of a carrier wave. Such a propagated data signal can take through multiple forms, including but not limited to electro-magnetic signal, optical signal, or any suitable combination thereof. The computer readable storage medium can send, propagate or transmit the program for use by or in connection with an instruction execution system, apparatus or device.
[0135] The program code included in the computer readable storage medium can be transmitted in any suitable medium, including but not limited to wireless, wired, optical, radio frequency (RF), or any suitable combination thereof.
[0136] Optionally, the computer program, when executed by the processor, implements program code for determining, in response to the depression signal of the braking device of the vehicle, a depression distance of the braking device, wherein the depression signal is triggered in response to a depression operation of the driving object on the braking device, and the depression distance is a movement distance of the depression operation on the braking device; determining, based on the depression distance, a first current state of a wake-up signal of the network of the vehicle and a second current state of a hold signal of the network; based on the first current state, waking up the network, and based on the second current state, holding a communication connection under the woken-up network; and controlling, through the held communication connection, a non-braking device of the vehicle to perform an adjustment operation, wherein the non-braking device is a device other than the braking device in the vehicle.
[0137] Optionally, the computer program, when executed by the processor, implements program code for determining a distance relationship between the depression distance and a preset depression distance; and determining the first current state and the second current state based on the distance relationship.
[0138] Optionally, the computer program, when executed by the processor, implements program code for: in response to the distance relationship indicating that the depression distance is less than a first preset depression distance, determining that the first current state is that the wake-up signal is in an invalid state, and determining that the second current state is that the hold signal is in an invalid state; and in response to the distance relationship indicating that the depression distance is greater than a second preset depression distance, determining that the first current state is that the wake-up signal is in a valid state, and determining that the second current state is that the hold signal is in a valid state.
[0139] Optionally, the computer program, when executed by the processor, implements program code for: in response to the first current state being that the wake-up signal is in a valid state, waking up the network; and in response to the second current state being that the hold signal is in a valid state, holding a communication connection under the woken-up network.
[0140] Optionally, the computer program, when executed by the processor, implements program code for: in response to the depression signal, generating a response signal of the braking device, wherein the response signal is used to indicate a relationship between the depression operation and a valid depression operation; in response to the response signal indicating that the depression operation is a valid depression operation, determining that a third current state of the depression signal is that the depression signal is in a valid state, wherein the third current state is used to indicate a current state of the depression signal; and determining, in response to the depression signal of the braking device of the vehicle, a depression distance of the braking device, comprising: in response to the third current state of the depression signal being that the depression signal is in a valid state, determining the depression distance.
[0141] Optionally, the computer program, when executed by the processor, implements program code for: in response to the response signal indicating that the depression operation is an invalid depression operation, determining that the third current state is that the depression signal is in an invalid state.
[0142] Optionally, the computer program described above, when executed by the processor, implements program code for the following steps: in response to the response signal indicating that the stepping operation is a valid stepping operation, controlling the lighting device of the vehicle to switch from the off state to the on state; and in response to the response signal indicating that the stepping operation is an invalid stepping operation, controlling the lighting device to remain in the off state.
[0143] Optionally, the computer program described above, when executed by the processor, implements program code for the following steps: controlling the temperature control device to perform the temperature adjustment operation through the maintained communication connection; and controlling the gear control device to perform the gear adjustment operation through the maintained communication connection.
[0144] In the embodiments provided by the present application, it should be understood that the disclosed technology can be implemented in other ways. Of course, the embodiments described above are only illustrative. For example, the division of units can be a logical function division, and another division manner can be used in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, units or modules, and can be electrical or other forms.
[0145] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.
[0146] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically independently, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0147] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0148] The above only describes the preferred embodiments of the present application. It should be noted that, for those skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, which should also be considered as the protection scope of the present application.
Claims
1. A device control method of a vehicle, characterized by, The method comprises: determining a pedal distance of a brake device of a vehicle in response to a pedal signal of the brake device, wherein the pedal signal is triggered in response to a pedal operation of a driving object on the brake device, and the pedal distance is a moving distance of the pedal operation on the brake device; determining a first current state of a wake-up signal of a network of the vehicle and a second current state of a hold signal of the network based on the pedal distance; waking up the network based on the first current state and holding a communication connection under the network after being woken up based on the second current state; controlling a non-brake device of the vehicle to perform an adjustment operation through the held communication connection, wherein the non-brake device is a device other than the brake device in the vehicle.
2. The method of claim 1, wherein, The method further comprises: determining a first current state of a wake-up signal of a network of the vehicle and a second current state of a hold signal of the network based on the pedal distance, comprises: determining a distance relationship between the pedal distance and a preset pedal distance; 3. The method of claim 2, wherein, determining the first current state and the second current state based on the distance relationship. The preset pedal distance comprises a first preset pedal distance and a second preset pedal distance, and the first preset pedal distance is smaller than the second preset pedal distance, wherein determining the first current state and the second current state based on the distance relationship comprises: in response to the distance relationship indicating that the pedal distance is smaller than the first preset pedal distance, determining the first current state as the wake-up signal being in an invalid state and determining the second current state as the hold signal being in the invalid state; 4. The method of claim 3, wherein, in response to the distance relationship indicating that the pedal distance is greater than the second preset pedal distance, determining the first current state as the wake-up signal being in a valid state and determining the second current state as the hold signal being in the valid state. The method further comprises: in response to the first current state being the wake-up signal in the valid state, waking up the network; and 5. The method of claim 1, wherein, in response to the second current state being the hold signal in the valid state, holding the communication connection under the network after being woken up. The method further comprises: generating a response signal of the brake device in response to the pedal signal, wherein the response signal is used to indicate a relationship between the pedal operation and a valid pedal operation; in response to the response signal indicating that the pedal operation is the valid pedal operation, determining a third current state of the pedal signal as the pedal signal being in a valid state, wherein the third current state is used to indicate a current state of the pedal signal; 6. The method of claim 5, wherein, determining the pedal distance of the brake device in response to the pedal signal comprises: in response to the third current state of the pedal signal being the pedal signal in the valid state, determining the pedal distance. The method further comprises: In response to the response signal indicating that the stepping operation is an invalid stepping operation, the third current state is determined as the stepping signal being in an invalid state.
7. The method of claim 6, wherein, The method further comprises: In response to the response signal indicating that the stepping operation is the valid stepping operation, controlling a lighting device of the vehicle to switch from an off state to an on state; In response to the response signal indicating that the stepping operation is the invalid stepping operation, controlling the lighting device to remain in the off state.
8. The method according to any one of claims 1 to 6, characterized in that, The non-braking device comprises a temperature control device and a gear control device, and the non-braking device of the vehicle is controlled to perform an adjustment operation through the maintained communication connection, comprising: The temperature control device is controlled to perform a temperature adjustment operation through the maintained communication connection; and The gear control device is controlled to perform a gear adjustment operation through the maintained communication connection.
9. A vehicle characterized by comprising: Comprise: A memory storing an executable program; A processor for running the program, wherein the program performs the device control method of the vehicle in any one of claims 1 to 8 when running.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored executable program, wherein the device where the storage medium is located performs the device control method of the vehicle in any one of claims 1 to 8 when the executable program runs.