EPB virtual switch verification method, apparatus and device, and storage medium
By verifying the caliper status and the driver's intention, the potential safety hazards during virtual switch operation in the existing EPB system are solved, the correspondence between the virtual switch and the caliper status is achieved, safety accidents are avoided, and the driving experience is improved.
Patent Information
- Application Number
- CN202410862248.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-01
AI Technical Summary
The existing EPB system fails to effectively check the caliper status and driver's intention during virtual switch operation, resulting in possible interruption of caliper action or inconsistent status, leading to the risk of safety accidents.
By comparing the actual status signal after the caliper is activated and the virtual switch request signal of the electronic parking brake system, verification is performed and the status of the virtual switch is verified based on the results. If abnormal, a fault alarm is sent or the caliper is adjusted to ensure the status of the virtual switch and caliper. consistent.
It effectively avoids safety accidents, improves the driving experience and system reliability, and ensures the correspondence between the virtual switch and the caliper status.
Smart Images

Figure CN118722544A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle monitoring technology, and in particular to an EPB virtual switch verification method, device, equipment and storage medium. Background Art
[0002] The EPB hard switch is a traditional electrical component. The driver sends high and low levels to the EPB controller by pulling up or pressing the switch. The EPB controller analyzes the high and low levels and converts them into digital signals, which then controls the caliper to perform the action.
[0003] The existing EPB adopts a physical switch solution, which outputs high and low level analog signals to the EPB controller. There is no verification of the state of the caliper after action and no safety verification of the driver's operating intention. For example, the driver operates the EPB virtual switch in the car and requires the EPB to release. At this time, if there is a power outage or communication abnormality during the caliper action, the caliper action will be interrupted, and the caliper has not completed the action and a fault occurs, or one side is not clamped and the other side is released after action, but the virtual switch is not verified and directly jumps to the released state. At this time, the driver cannot move the vehicle. After clicking the soft switch again, the soft switch is set to the clamped state. The actual caliper receives the release command and will perform the release action. The caliper will be released and no longer provide clamping force. The icon shows the driver that it is in the clamped state. If the driver releases the brake pedal, the vehicle will slip and a safety accident will occur.
[0004] Therefore, how to make the virtual switch state correspond to the caliper state to avoid safety accidents is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The main purpose of the present invention is to provide an EPB virtual switch verification method, device, equipment and storage medium, which can check the caliper status and safely verify the driver's operating intention to avoid safety accidents, while also improving the driving experience.
[0006] In a first aspect, the present application provides an EPB virtual switch verification method, wherein the method comprises the steps of:
[0007] determining a request signal for controlling the caliper based on a state of the vehicle caliper;
[0008] According to the request signal of the caliper, the caliper is controlled to perform corresponding actions;
[0009] The electronic parking brake system virtual switch is verified by comparing the actual state signal after the caliper is actuated with the electronic parking brake system virtual switch request signal.
[0010] In combination with the first aspect above, as an optional implementation, the actual state signal after the caliper is actuated is compared with the virtual switch request signal of the electronic parking brake system;
[0011] If the comparison results of the two are consistent, it is verified that the virtual switch of the electronic parking brake system is normal;
[0012] If the comparison results are inconsistent, it is verified that the virtual switch of the electronic parking brake system is abnormal.
[0013] In combination with the first aspect, as an optional implementation, if it is verified that the electronic parking brake system virtual switch is normal, the icon of the electronic parking brake system virtual switch is locked to a corresponding icon brightness and displayed;
[0014] If it is verified that the virtual switch of the electronic parking brake system is abnormal, a fault alarm message is sent.
[0015] In combination with the first aspect above, as an optional implementation, if the current caliper changes from a clamping state to a released state, and the virtual switch of the electronic parking brake system reports a caliper fault, the central control screen sends a release command to the electronic parking brake system controller to control the caliper to perform a release action to eliminate the fault;
[0016] If the current caliper changes from a released state to a clamped state, and the electronic parking brake system virtual switch reports a caliper fault, the central control screen sends a release-then-clamp instruction to the electronic parking brake system controller to control the caliper to perform the corresponding action and finally clamp.
[0017] In combination with the first aspect above, as an optional implementation, the current caliper state of the vehicle is obtained by using the electronic parking brake system controller;
[0018] If the caliper is currently in a clamped state, a release request signal is sent;
[0019] If the caliper is currently in a released state, a clamping request signal is sent.
[0020] In combination with the first aspect above, as an optional implementation method, the brightness state of the icon of the electronic parking brake system virtual switch on the vehicle's central control screen is switched according to the state of the caliper.
[0021] In combination with the first aspect above, as an optional implementation, when the caliper is in a clamped state, the brightness of the icon of the virtual switch of the electronic parking brake system is controlled to be in a first state on the central control screen of the vehicle;
[0022] When the caliper is in the released state, the brightness of the icon controlling the virtual switch of the electronic parking brake system is in the second state on the vehicle's central control screen;
[0023] When the caliper is in the process of clamping or releasing, the brightness of the icon controlling the virtual switch of the electronic parking brake system is in the third state on the vehicle's central control screen;
[0024] Among them, the brightness of the first state>the brightness of the second state>the brightness of the third state.
[0025] In a second aspect, the present application provides an EPB virtual switch verification device, wherein the device comprises:
[0026] A determination module, which is used to determine a request signal for controlling the caliper based on the vehicle caliper state;
[0027] A control module, which is used to control the caliper to perform corresponding actions according to a request signal from the caliper;
[0028] The processing module is used to verify the virtual switch of the electronic parking brake system by comparing the actual state signal after the caliper is actuated with the virtual switch request signal of the electronic parking brake system.
[0029] In a third aspect, the present application further provides an electronic device, comprising: a processor; a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method described in any one of the first aspects is implemented.
[0030] In a fourth aspect, the present application further provides a computer-readable storage medium storing computer program instructions, which, when executed by a computer, enables the computer to execute any of the methods described in the first aspect.
[0031] The present application provides an EPB virtual switch verification method, device, equipment and storage medium, wherein the method includes the steps of: determining a request signal for controlling the caliper based on the vehicle caliper state; controlling the caliper to perform a corresponding action according to the caliper request signal; and verifying the electronic parking brake system virtual switch by comparing the actual state signal after the caliper is actuated with the request signal of the electronic parking brake system virtual switch. The present application can verify the caliper state and the driver's operating intention to avoid safety accidents, while also improving the driving experience.
[0032] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0034] Figure 1A flow chart of an EPB virtual switch verification method provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of an EPB virtual switch verification device provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of a caliper release process provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of a caliper clamping process provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of an electronic device provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of a computer-readable program medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0041] Furthermore, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. Some of the blocks shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities.
[0042] The embodiments of the present application provide an EPB virtual switch verification method, device, equipment and storage medium, which can check the caliper status and safely verify the driver's operating intention to avoid safety accidents, while also improving the driving experience.
[0043] In order to achieve the above technical effects, the general idea of this application is as follows:
[0044] A method for verifying an EPB virtual switch, the method comprising the steps of:
[0045] S101: Determine a request signal for controlling the caliper based on the vehicle caliper state.
[0046] S102: According to the request signal of the caliper, the caliper is controlled to perform corresponding actions.
[0047] S103: Verifying the virtual switch of the electronic parking brake system by comparing the actual state signal after the caliper is actuated with the virtual switch request signal of the electronic parking brake system.
[0048] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0049] Reference Figure 1 , Figure 1 FIG. 1 is a flow chart of an EPB virtual switch verification method provided by the present invention, as shown in FIG. Figure 1 The steps shown include:
[0050] Step S101: Based on the vehicle caliper state, determine the request signal for controlling the caliper.
[0051] Specifically, the electronic parking brake system controller is used to obtain the current caliper state of the vehicle; if the current caliper is in a clamped state, a release request signal is sent; if the current caliper is in a released state, a clamping request signal is sent.
[0052] In one embodiment, the brightness state of the icon of the virtual switch of the electronic parking brake system is switched on the vehicle central control screen according to the state of the caliper. When the caliper is in the clamping state, the brightness of the icon of the virtual switch of the electronic parking brake system is controlled to be in the first state on the vehicle central control screen; when the caliper is in the released state, the brightness of the icon of the virtual switch of the electronic parking brake system is controlled to be in the second state on the vehicle central control screen; when the caliper is in the clamping or releasing action, the brightness of the icon of the virtual switch of the electronic parking brake system is controlled to be in the third state on the vehicle central control screen; wherein, the brightness of the first state>the brightness of the second state>the brightness of the third state.
[0053] For ease of understanding, an example is given. IVI reads the caliper status (clamped / released / releasing / clamping) sent by the EPB controller and switches the icon brightness status. For example, when the caliper is clamped, the virtual switch corresponding to the caliper is highlighted (the first state), and when the caliper is released, the virtual switch corresponding to the caliper is dimmed (the second state). When the caliper is in motion, the virtual switch corresponding to the caliper is grayed out and cannot be operated (the third state, i.e., the intermediate state).
[0054] What needs to be explained is that IVI: vehicle central control screen (Android system control program hardware carrier under SOA architecture).
[0055] EPB refers to the Electric Parking Brake, which is a common parking brake technology in modern cars. It uses an electronic control unit to control the parking brake, replacing the traditional mechanical handbrake. The EPB system is operated by electronic buttons or wire control commands, making the parking and release process more convenient and quick.
[0056] IVI EpbSoftSwichSts: The virtual switch status of the EPB controller is displayed in the form of a chart on the IVI central control screen, divided into low brightness, high brightness, and intermediate states.
[0057] IVI EPBSwichSet: The virtual switch outbound request of the EPB controller sends out the released and applied SOME / IP signals respectively, which are converted into CAN signals through the SOA architecture and transmitted to the EPB controller.
[0058] EPB: Dual-control redundant EPB controller assembly (divided into EPBM and EPBS).
[0059] EPBMSts=PARKED: The caliper status stored by the left EPB controller is the pulled-up status (representing the actual status of the left caliper).
[0060] EPBSSts=PARKED: The caliper status stored by the right EPB controller is the pulled-up status (representing the actual status of the right caliper).
[0061] EPBMSts=RELEASE: The caliper status stored by the left EPB controller is the released status (representing the actual status of the left caliper).
[0062] EPBSSts=RELEASE: The caliper state stored by the right EPB controller is the released state (representing the actual state of the right caliper).
[0063] EPBMSts=Unknown: The caliper status stored by the left EPB controller is a fault status (representing the actual status of the left caliper).
[0064] EPBSSts=Unknown: The caliper status stored by the right EPB controller is a fault status (representing the actual status of the left caliper).
[0065] Step S102: According to the request signal of the caliper, the caliper is controlled to perform corresponding actions.
[0066] The driver operates the virtual switch, and the virtual switch sends a release (release) or apply (clamp) request to the EPB controller according to the caliper status. The controller controls the caliper to perform the release or clamping action.
[0067] For example, if the caliper state is detected to be released and the EPB virtual switch requests a clamped state, a request to control the caliper clamping is sent to the EPB controller, and the EPB controller controls the caliper clamping according to the instruction.
[0068] When the caliper state is detected to be clamped and the EPB virtual switch requests a released state, a request to control the caliper release is sent to the EPB controller, and the EPB controller controls the caliper release according to the instruction.
[0069] It needs to be explained that during the caliper movement, the virtual switch icon switches to the intermediate state (the third state), and the icon brightness is adjusted according to the caliper movement process (parked-releasing-released / released-parking-parked). For example, the EPB requests the caliper to release or apply, and the caliper needs time to move. The intermediate state represents that the caliper is moving (releasing or clamping), so as to avoid directly displaying the final state to give the driver wrong information, especially when clamping. If the vehicle is on a slope, it is prevented that the driver thinks that the caliper is in the clamped state and releases the brake pedal, but the caliper is not fully clamped and there is a risk of slipping.
[0070] Step S103: Verify the virtual switch of the electronic parking brake system by comparing the actual state signal after the caliper is actuated with the virtual switch request signal of the electronic parking brake system.
[0071] Specifically, the actual status signal after the caliper is actuated is compared with the virtual switch request signal of the electronic parking brake system; if the comparison results are consistent, the virtual switch of the electronic parking brake system is verified to be normal; if the comparison results are inconsistent, the virtual switch of the electronic parking brake system is verified to be abnormal.
[0072] It is understandable that after the caliper action is completed, the EPB controller feeds back the actual caliper state, and the virtual switch intermediate state is compared according to the actual state after the caliper action and the driver's request value for operating the virtual switch; it is determined whether the actual state of the caliper action is consistent with the actual state requested by the driver. If the two states are consistent, the virtual switch is normal, otherwise it is abnormal. If the electronic parking brake system virtual switch is verified to be normal, the icon of the electronic parking brake system virtual switch is locked to the corresponding icon brightness and displayed; if the electronic parking brake system virtual switch is verified to be abnormal, a fault alarm message is sent.
[0073] In one embodiment, if the current caliper changes from a clamping state to a released state, and the virtual switch of the electronic parking brake system reports a caliper fault, the central control screen sends a release instruction to the electronic parking brake system controller to control the caliper to perform a release action to eliminate the fault;
[0074] If the current caliper changes from a released state to a clamped state, and the electronic parking brake system virtual switch reports a caliper fault, the central control screen sends a release-then-clamp instruction to the electronic parking brake system controller to control the caliper to perform the corresponding action and finally clamp.
[0075] It is understandable that when the driver clicks the parking switch on the central control screen, the parking switch changes from released to clamped, but at this time the EPB caliper reports an unkown error and does not perform the corresponding action.
[0076] The driver clicks the parking switch on the central control screen, and the parking switch changes from clamping to releasing. If the EPB caliper reports an unkown error, the release action will still be performed and the fault will be eliminated. The parking switch state changes to released, the caliper is released, and the vehicle can be driven.
[0077] In one embodiment, when the driver presses the central control parking switch to perform the clamping action, the central control switch is pressed, and the switch is grayed out from a low light state to an intermediate state (waiting for the caliper to act). The switch signal of the central control screen will be sent to the EPB controller through the CAN signal, and the EFB controller will send the clamping instruction to the caliper to control the caliper to perform the clamping action. After the caliper is clamped, the clamping state value of the caliper is sent to the CAN network bus. The central control instrument compares the sent switch signal value with the returned value to see if they are consistent. If both are clamping, the central control switch is set to high light. If the state value of the caliper received by the central control instrument is unkown, which is inconsistent with the sent switch signal value (clamping), the central control sends an instruction to release first (clear the fault) and then clamp to the EPB controller. The EPB controller sends the instruction to the caliper, and the caliper will perform the corresponding action and finally clamp. The final state value of the caliper is sent to the central control instrument through the EPB controller. The central control instrument compares the values of the two. If both are clamping, the switch state is set to high light.
[0078] It can be understood that the present application adds a virtual switch intermediate state to monitor the caliper movement process in real time. According to the caliper movement timing, the virtual switch icon changes accordingly, solving the problem of no logical verification loop between the hard switch or virtual switch and the actuator (caliper).
[0079] Based on the EPB virtual switch, the current operation and the last operation of the switch operator are verified to fully identify the operator's intention and avoid misoperation.
[0080] Based on the EPB virtual switch, when the actuator (caliper) status is unknown, the icon result of the EPB virtual switch will be calculated based on the actuator status and the driver's last switch operation, and the actuator status will be repaired after the driver operates the EPB virtual switch next time.
[0081] Reference Figure 2 , Figure 2 FIG. 1 is a schematic diagram of an EPB virtual switch verification device provided by the present invention, as shown in FIG. Figure 2 As shown, the device comprises:
[0082] The determination module 201 is used to determine a request signal for controlling the caliper based on the caliper state of the vehicle.
[0083] The control module 202 is used to control the caliper to perform corresponding actions according to the request signal of the caliper.
[0084] Processing module 203: used to verify the virtual switch of the electronic parking brake system by comparing the actual state signal after the caliper is actuated with the virtual switch request signal of the electronic parking brake system.
[0085] Furthermore, in a possible implementation manner, the processing module is further used to compare the actual state signal after the caliper is actuated with the virtual switch request signal of the electronic parking brake system;
[0086] If the comparison results of the two are consistent, it is verified that the virtual switch of the electronic parking brake system is normal;
[0087] If the comparison results are inconsistent, it is verified that the virtual switch of the electronic parking brake system is abnormal.
[0088] Furthermore, in a possible implementation manner, the processing module is further configured to lock the icon of the electronic parking brake system virtual switch to a corresponding icon brightness and display it if it is verified that the electronic parking brake system virtual switch is normal;
[0089] If it is verified that the virtual switch of the electronic parking brake system is abnormal, a fault alarm message is sent.
[0090] Further, in a possible implementation manner, the control module is also used for, if the current caliper is in a clamped state and changes to a released state, and the electronic parking brake system virtual switch reports a caliper fault, the central control screen sends a release instruction to the electronic parking brake system controller to control the caliper to perform a release action and eliminate the fault;
[0091] If the current caliper changes from a released state to a clamped state, and the electronic parking brake system virtual switch reports a caliper fault, the central control screen sends a release-then-clamp instruction to the electronic parking brake system controller to control the caliper to perform the corresponding action and finally clamp.
[0092] Furthermore, in a possible implementation manner, the determination module is further configured to obtain a current caliper state of the vehicle using an electronic parking brake system controller;
[0093] If the caliper is currently in a clamped state, a release request signal is sent;
[0094] If the caliper is currently in a released state, a clamping request signal is sent.
[0095] Furthermore, in a possible implementation, the control module is also used to switch the brightness state of the icon of the virtual switch of the electronic parking brake system on the vehicle's central control screen according to the state of the caliper.
[0096] Further, in a possible implementation manner, the control module is further configured to control the brightness of the icon of the virtual switch of the electronic parking brake system to be in a first state on the central control screen of the vehicle when the caliper is in a clamped state;
[0097] When the caliper is in the released state, the brightness of the icon controlling the virtual switch of the electronic parking brake system is in the second state on the vehicle's central control screen;
[0098] When the caliper is in the process of clamping or releasing, the brightness of the icon controlling the virtual switch of the electronic parking brake system is in the third state on the vehicle's central control screen;
[0099] Among them, the brightness of the first state>the brightness of the second state>the brightness of the third state.
[0100] Reference Figure 3 , Figure 3 FIG. 1 is a schematic diagram of a caliper release process provided by the present invention, as shown in FIG. Figure 3 As shown:
[0101] First, IVI reads the initial state of EPB EPBM_Sts=RELEASED&EPBS_Sts=RELEASED, and the EPB soft switch is in a low-light state (released) IVIEpbSoftSwichSts=low-light. The driver clicks the soft switch button to request clamping IVI_EPBSwitchSet=PARKED, which is sent to the EPB controller through the CAN signal. After receiving the request for clamping, the EPB controller starts to control the caliper to clamp. During the caliper action, the IVI soft switch is switched to an intermediate state and grayed out. It does not jump directly to low light and cannot be operated again. IVI reads the current EPB caliper state and compares it with the state sent by the driver operating the soft switch. If they are consistent, the caliper is clamped and the soft switch is set to high light. If they are inconsistent, the caliper reports an unkown error, and the central control instrument sends a request to release and then clamp. The caliper is released and then clamped again, and finally clamped, which can effectively prevent slipping.
[0102] Reference Figure 4 , Figure 4 FIG. 1 is a schematic diagram of the clamping process of the caliper provided by the present invention, as shown in FIG. Figure 4 As shown:
[0103] First, IVI reads the initial state of EPB EPBM_Sts=PARKED&EPBS_Sts=PARKED, the EPB soft switch (virtual switch) is in the highlighted state (clamped) IVIEpbSoftSwichSts=highlight, the driver clicks the soft switch button to request release IVI_EPBSwitchSet=RELEASE, and sends it to the EPB controller through the CAN signal. After receiving the request release instruction, the EPB controller starts to control the caliper to release. During the caliper action, the IVI soft switch is switched to the intermediate state and grayed out, and does not jump directly to low light, and cannot be operated again. IVI reads the current EPB caliper state and compares it with the state sent by the driver's soft switch operation. If they are consistent, the caliper is set to low light. If they are inconsistent, the caliper reports unkown, the caliper is released, and the soft switch is set to low light. It should be noted that the caliper reports an unkown error, which can be eliminated by releasing it and restored to normal.
[0104] Refer to the following Figure 5 The electronic device 500 according to this embodiment of the present invention is described. Figure 5 The electronic device 500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0105] like Figure 5 As shown, the electronic device 500 is in the form of a general computing device. The components of the electronic device 500 may include but are not limited to: at least one processing unit 510, at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).
[0106] The storage unit stores program codes, which can be executed by the processing unit 510, so that the processing unit 510 executes the steps according to various exemplary embodiments of the present invention described in the above “Embodiment Method” section of this specification.
[0107] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 521 and / or a cache memory unit 522 , and may further include a read-only memory unit (ROM) 523 .
[0108] The storage unit 520 may also include a program / utility 524 having a set (at least one) of program modules 525, such program modules 525 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0109] Bus 530 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0110] The electronic device 500 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 500, and / or may communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 550. Furthermore, the electronic device 500 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 560. As shown, the network adapter 560 communicates with other modules of the electronic device 500 via a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0111] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0112] According to the solution of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present invention described in the above "Exemplary Method" section of the present specification.
[0113] refer to Figure 6As shown, a program product 600 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0114] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0115] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0116] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0117] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0118] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0119] In summary, the present application provides an EPB virtual switch verification method, device, equipment and storage medium, wherein the method includes the steps of: determining a request signal for controlling the caliper based on the vehicle caliper state; controlling the caliper to perform a corresponding action according to the caliper request signal; and verifying the virtual switch of the electronic parking brake system by comparing the actual state signal after the caliper is actuated with the request signal of the virtual switch of the electronic parking brake system. The present application can verify the caliper state and the driver's operating intention for safety, avoid safety accidents, and improve the driving experience.
[0120] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
[0121] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
Claims
1. A method for verifying an EPB virtual switch, characterized in that: include: determining a request signal for controlling the caliper based on a state of the vehicle caliper; According to the request signal of the caliper, the caliper is controlled to perform corresponding actions; The electronic parking brake system virtual switch is verified by comparing the actual state signal after the caliper is actuated with the electronic parking brake system virtual switch request signal.
2. The method according to claim 1, characterized in that The method of verifying the virtual switch of the electronic parking brake system by comparing the actual state signal after the caliper is actuated with the virtual switch request signal of the electronic parking brake system includes: Compare the actual status signal after the caliper is actuated with the virtual switch request signal of the electronic parking brake system; If the comparison results of the two are consistent, it is verified that the virtual switch of the electronic parking brake system is normal; If the comparison results are inconsistent, it is verified that the virtual switch of the electronic parking brake system is abnormal.
3. The method according to claim 2, characterized in that Also includes: If it is verified that the electronic parking brake system virtual switch is normal, the icon of the electronic parking brake system virtual switch is locked to the corresponding icon brightness and displayed; If it is verified that the virtual switch of the electronic parking brake system is abnormal, a fault alarm message is sent.
4. The method according to claim 1, characterized in that: Also includes: If the current caliper changes from a clamped state to a released state, and the virtual switch of the electronic parking brake system reports a caliper fault, the central control screen sends a release command to the electronic parking brake system controller to control the caliper to perform a release action and eliminate the fault; If the current caliper changes from a released state to a clamped state, and the electronic parking brake system virtual switch reports a caliper fault, the central control screen sends a release-then-clamp instruction to the electronic parking brake system controller to control the caliper to perform the corresponding action and finally clamp.
5. The method according to claim 1, characterized in that The step of determining a request signal for controlling the caliper based on the vehicle caliper state includes: Using the electronic parking brake system controller to obtain the current caliper status of the vehicle; If the caliper is currently in a clamped state, a release request signal is sent; If the caliper is currently in a released state, a clamping request signal is sent.
6. The method according to claim 1, characterized in that Also includes: Depending on the status of the caliper, the brightness of the icon of the electronic parking brake system virtual switch on the vehicle's central control screen is switched.
7. The method according to claim 6, characterized in that The method of switching the brightness state of the icon of the virtual switch of the electronic parking brake system on the central control screen of the vehicle according to the state of the caliper includes: When the caliper is in the clamped state, the brightness of the icon controlling the virtual switch of the electronic parking brake system is in the first state on the vehicle's central control screen; When the caliper is in the released state, the brightness of the icon controlling the virtual switch of the electronic parking brake system is in the second state on the vehicle's central control screen; When the caliper is in the process of clamping or releasing, the brightness of the icon controlling the virtual switch of the electronic parking brake system is in the third state on the vehicle's central control screen; Among them, the brightness of the first state>the brightness of the second state>the brightness of the third state.
8. An EPB virtual switch verification device, characterized in that: include: A determination module, which is used to determine a request signal for controlling the caliper based on the vehicle caliper state; A control module, which is used to control the caliper to perform corresponding actions according to a request signal from the caliper; The processing module is used to verify the virtual switch of the electronic parking brake system by comparing the actual state signal after the caliper is actuated with the virtual switch request signal of the electronic parking brake system.
9. An electronic device, characterized in that: The electronic device comprises: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer program instructions are stored therein, and when the computer program instructions are executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 7.
