Automobile relay control method, device, equipment and storage medium
By acquiring the relay's opening and closing status and signal type, the relay's activation and deactivation strategies were optimized, solving the problem of high noise from built-in relays in new energy vehicles and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGFENG LIUZHOU MOTOR
- Filing Date
- 2022-04-27
- Publication Date
- 2026-06-30
AI Technical Summary
The relays built into new energy vehicles can generate significant noise when they engage, affecting the user's riding experience.
By acquiring the relay opening and closing status of the target vehicle and determining the signal type upon receiving a vehicle control signal, the relay is controlled to open and close according to a preset activation strategy, including acquiring the signal source distance and relay noise level, in order to optimize the relay operation sequence and timing.
It effectively reduces noise when the relay engages and when the power is cut off, thus improving the user's riding experience.
Smart Images

Figure CN114883150B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of new energy vehicle technology, and in particular to an automotive relay control method, device, equipment, and storage medium. Background Technology
[0002] With the rapid development of new energy vehicles, a large number of relays are used in these vehicles, such as battery pack relays, automotive wiring harness relays, and BCM relays. These relays are all located inside the vehicle. Currently, when the driver gets into the vehicle to power it on or needs to leave the vehicle, there will be a significant single-frequency noise. The larger the relay (such as the power battery), the louder the noise, which is quite abrupt and makes the driver and passengers feel very uncomfortable.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this invention is to provide a method, device, equipment, and storage medium for controlling automotive relays, aiming to solve the technical problem that existing relays built into new energy vehicles generate significant noise when engaged, affecting the user's riding experience.
[0005] To achieve the above objectives, the present invention provides an automotive relay control method, the method comprising the following steps:
[0006] Obtain the relay opening / closing status of the target vehicle;
[0007] Upon receiving a vehicle control signal, determine the signal type of the vehicle control signal;
[0008] If the signal type is a power-on signal, then the relay of the target vehicle is controlled to engage based on a preset engagement strategy according to the relay's open / closed state.
[0009] Optionally, controlling the relay of the target vehicle to engage based on a preset engagement strategy according to the relay's open / closed state includes:
[0010] Obtain the distance from the power-on signal source;
[0011] If the distance from the power-on signal source is less than the preset signal sensing distance, and the relay is in the off state, then the relay controlling the target vehicle will engage based on a preset engagement strategy.
[0012] Optionally, the relay controlling the target vehicle engages based on a preset engagement strategy, including:
[0013] Determine the operating noise of each relay in the target vehicle;
[0014] The relay engagement sequence is determined based on the engagement noise of each relay.
[0015] The relays of the target vehicle are activated based on the relay activation sequence.
[0016] Optionally, after determining the signal type of the vehicle control signal upon receiving it, the method further includes:
[0017] When the signal type is a power-off signal, the relay of the target vehicle is de-energized according to the relay's open / closed state.
[0018] Optionally, the step of controlling the relay of the target vehicle to disconnect power according to the open / closed state of the relay includes:
[0019] Obtain the distance from the source of the power-down signal;
[0020] When the distance from the source of the power-down signal is not less than the preset signal sensing distance, and the relay is in the energized state, the relay of the target vehicle is controlled to disconnect the power.
[0021] Optionally, after obtaining the distance to the source of the power-down signal, the method further includes:
[0022] If the distance from the source of the power-down signal is less than the preset safe distance, and the relay is in the energized state, then an alert signal is generated based on the power-down signal.
[0023] The reminder signal is sent to the client for display, and the client receives a confirmation signal from the user based on the reminder signal.
[0024] The relay is powered off based on the confirmed power-down signal.
[0025] Optionally, before controlling the relay to de-energize according to the confirmed power-down signal, the method further includes:
[0026] Obtain the current driving status of the target vehicle;
[0027] When the current driving state is a stationary state, the relay is controlled to cut off power according to the confirmed power-down signal.
[0028] Furthermore, to achieve the above objectives, the present invention also proposes an automotive relay control device, the automotive relay control device comprising:
[0029] The status acquisition module is used to acquire the relay opening and closing status of the target vehicle;
[0030] A signal receiving module is used to determine the signal type of a vehicle control signal when it is received.
[0031] An automotive relay control module is used to control the relay of the target vehicle to engage based on a preset engagement strategy, according to the relay's open / closed state, if the signal type is a power-on signal.
[0032] Furthermore, to achieve the above objectives, the present invention also proposes an automotive relay control device, the automotive relay control device comprising: a memory, a processor, and an automotive relay control program stored in the memory and executable on the processor, the automotive relay control program being configured to implement the steps of the automotive relay control method as described above.
[0033] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium storing an automotive relay control program, which, when executed by a processor, implements the steps of the automotive relay control method described above.
[0034] This invention provides a method for controlling an automotive relay. The method includes: acquiring the open / closed state of a relay in a target vehicle; upon receiving a vehicle control signal, determining the signal type of the vehicle control signal; if the signal type is a power-on signal, controlling the relay of the target vehicle to engage based on a preset engagement strategy according to the open / closed state of the relay. Compared with the prior art, this invention combines the vehicle control signal with the open / closed state of the relay, and pre-engages the relay according to the preset engagement strategy when power is required. This avoids the technical problem in the prior art where the relays built into new energy vehicles generate significant noise when engaging, affecting the user's riding experience. Attached Figure Description
[0035] Figure 1 This is a schematic diagram of the structure of an automotive relay control device in the hardware operating environment involved in the embodiments of the present invention;
[0036] Figure 2 This is a flowchart illustrating the first embodiment of the automotive relay control method of the present invention;
[0037] Figure 3 This is a flowchart illustrating the second embodiment of the automotive relay control method of the present invention;
[0038] Figure 4 This is a flowchart illustrating the third embodiment of the automotive relay control method of the present invention;
[0039] Figure 5 This is a structural block diagram of the first embodiment of the automotive relay control device of the present invention.
[0040] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0041] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0042] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of an automotive relay control device in the hardware operating environment involved in the embodiments of the present invention.
[0043] like Figure 1 As shown, the automotive relay control device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk storage device. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0044] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on automotive relay control devices and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0045] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and an automotive relay control program.
[0046] exist Figure 1In the illustrated automotive relay control device, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the automotive relay control device of the present invention can be set in the automotive relay control device, and the automotive relay control device calls the automotive relay control program stored in the memory 1005 through the processor 1001 and executes the automotive relay control method provided in the embodiment of the present invention.
[0047] This invention provides a method for controlling automotive relays, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of an automotive relay control method according to the present invention.
[0048] In this embodiment, the automotive relay control method includes the following steps:
[0049] Step S10: Obtain the relay opening / closing status of the target vehicle.
[0050] It should be noted that the execution subject of the method in this embodiment can be an automotive relay control device, which can be a vehicle-mounted control unit or a vehicle-mounted computer, or other devices with the same or similar functions. This embodiment does not impose specific limitations on this. In this embodiment and the following embodiments, a vehicle-mounted computer will be used as an example for explanation.
[0051] It is worth noting that the relay open / closed state refers to either the relay being engaged or disengaged.
[0052] In a specific implementation, a vehicle may be paired with multiple keys, but these keys have the same unique identification code used to unlock the corresponding target vehicle. The target vehicle may be a new energy vehicle, but this embodiment does not impose any specific restrictions on this.
[0053] Step S20: Upon receiving a vehicle control signal, determine the signal type of the vehicle control signal.
[0054] It is understood that vehicle control signals refer to the control commands issued by the user through the key to control operations such as unlocking, powering on, and powering off the vehicle. Depending on the order in which the buttons on the key are pressed, different control signals can be issued by the key. For example, pressing the unlock button on the key will send a control signal to unlock the vehicle. This embodiment does not impose specific limitations on this.
[0055] It should be noted that the types of vehicle control signals in this embodiment can be: door unlocking, door locking, relay energizing, relay de-energizing, and vehicle parking signals, etc. This embodiment does not impose specific restrictions on these.
[0056] Step S30: If the signal type is a power-on signal, then control the relay of the target vehicle to engage based on a preset engagement strategy according to the relay opening and closing state.
[0057] It should be understood that the power-on signal is used to control the target vehicle to switch from the off state to the pre-charging state. Since most of the electronic devices inside the vehicle are in the off state when the target vehicle is off, the power-on signal will provide a start signal to the electronic devices inside the vehicle so that the electronic devices inside the vehicle can pre-charge.
[0058] As is easy to understand, the preset engagement strategy refers to the strategy of the on-board computer controlling the relays installed inside the new energy vehicle to engage sequentially according to the power-on signal. Since the relays in new energy vehicles will produce noise when engaging, and the noise produced by each relay has different effects, the relays that produce more noise can be engaged first, so that the engagement is completed when the user is at a greater distance from the vehicle, avoiding the user hearing the engagement noise, reducing the impact of noise on the user, and improving the user's riding experience.
[0059] Furthermore, if the relay is already in the energized state, the power-on signal will not control the relay that is in the energized state, but will maintain the existing energized state.
[0060] In practice, when a user sends a power-on signal via the key, the power-on signal will wake up the electronic devices in the vehicle and cause them to precharge. At the same time, if the relays inside the vehicle are not engaged, the on-board computer can control the relays to engage according to a preset engagement strategy based on the power-on signal, so as to reduce the noise generated by the relays engaging.
[0061] This embodiment provides a method for controlling an automotive relay. The method includes: acquiring the open / closed state of a relay in a target vehicle; upon receiving a vehicle control signal, determining the signal type of the vehicle control signal; if the signal type is a power-on signal, controlling the relay of the target vehicle to engage based on a preset engagement strategy according to the open / closed state of the relay. This embodiment combines the vehicle control signal with the open / closed state of the relay, and in advance, causes the relay to engage according to the preset engagement strategy when power is required, thereby avoiding the technical problem in the prior art where the relays built into new energy vehicles generate significant noise when engaging, affecting the user's riding experience.
[0062] refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of an automotive relay control method according to the present invention.
[0063] Based on the first embodiment described above, in this embodiment, step S30 includes:
[0064] Step S301: Obtain the power-on signal source distance of the power-on signal.
[0065] It should be noted that the power-on signal source distance refers to the distance between the device emitting the power-on signal and the receiving end of the vehicle.
[0066] Step S301: If the distance from the power-on signal source is less than the preset signal sensing distance, and the relay is in the off state, then the relay of the target vehicle is controlled to engage based on the preset engagement strategy.
[0067] It is worth noting that the preset signal sensing distance can be the signal receiving distance set by the user. The preset signal sensing distance can be 5m, and this embodiment does not impose any specific restrictions on it.
[0068] In practice, since users may accidentally send a power-on signal due to accidental touch, the vehicle relay will be activated, which would waste power resources. If the vehicle battery discharges for too long, the vehicle will not be able to start normally, affecting the user's driving experience. Therefore, the target vehicle will only activate the relay according to the power-on signal when a power-on signal is sent to the vehicle within the preset signal sensing distance.
[0069] Furthermore, if the relay is already in the energized state when it is open, the power-on signal will not control the relay that is in the energized state. Therefore, when controlling the energization of relays inside the vehicle, the open / closed state of the relay can also be considered. That is, when the relay is in the open / closed state, the relay of the target vehicle can be energized based on a preset energization strategy.
[0070] As is easy to understand, the preset engagement strategy refers to the strategy of the on-board computer controlling the relays installed inside the new energy vehicle to engage sequentially according to the power-on signal. Since the relays in new energy vehicles will produce noise when engaging, and the noise produced by each relay has different effects, the relays that produce more noise can be engaged first, so that the engagement is completed when the user is at a greater distance from the vehicle, avoiding the user hearing the engagement noise, reducing the impact of noise on the user, and improving the user's riding experience.
[0071] Further, step S301 includes:
[0072] Determine the operating noise of each relay in the target vehicle;
[0073] The relay engagement sequence is determined based on the engagement noise of each relay.
[0074] The relays of the target vehicle are activated based on the relay activation sequence.
[0075] In practice, since the noise generated by vehicle relays during activation varies, when controlling the activation of relays, the relays with higher noise can be activated first, followed by the relays with lower noise, in order to minimize the impact of noise on the user.
[0076] Understandably, the relay activation sequence can be selected based on the noise level generated by each relay during activation, with relays that generate more noise activating earlier and relays that generate less noise activating later.
[0077] This embodiment discloses the acquisition of the power-on signal source distance; if the power-on signal source distance is less than the preset signal sensing distance, and the relay is in the open state, then the relay of the target vehicle is controlled to activate based on the preset activation strategy. This embodiment limits the sensing distance of the power-on signal to avoid the vehicle relay from activating due to accidental touch by the user, and determines the activation sequence of the relays by the noise level of each relay to minimize the impact of noise on the user.
[0078] refer to Figure 4 , Figure 4 This is a flowchart illustrating a third embodiment of an automotive relay control method according to the present invention.
[0079] Based on the second embodiment described above, in this embodiment, after step S20, the method further includes:
[0080] Step S30: When the signal type is a power-off signal, control the relay of the target vehicle to disconnect the power according to the relay opening and closing state.
[0081] It should be noted that the power-down signal is used to switch the vehicle relay from the engaged state to the disengaged state, so that the vehicle can switch from running state to off state. The change of the relay's open and closed state will generate noise, which will affect the user's riding experience. Therefore, in actual operation, the relay can be disconnected when the user gets out of the vehicle, and then disconnected after the user has moved a certain distance away from the vehicle, in order to reduce the noise caused by the relay state switching and thus affect the user's riding experience.
[0082] Further, step S30' includes:
[0083] Obtain the distance from the source of the power-down signal;
[0084] When the distance from the source of the power-down signal is not less than the preset signal sensing distance, and the relay is in the energized state, the relay of the target vehicle is controlled to disconnect the power.
[0085] It should be noted that the power-off signal source distance refers to the distance between the device that sends the power-off signal and the receiving end of the vehicle.
[0086] It is worth noting that the preset signal sensing distance can be the signal receiving distance set by the user. The preset signal sensing distance can be 5m, and this embodiment does not impose any specific restrictions on it.
[0087] Furthermore, if the relay is already in the off state, the power-down signal will not be able to control the relay in the off state to disconnect. Therefore, when controlling the disconnection of relays inside the vehicle, the relay's on / off state can also be considered, that is, when the relay is in the energized state, the relay of the target vehicle can be de-energized.
[0088] Furthermore, after obtaining the distance to the source of the power-down signal, the method further includes:
[0089] If the distance from the source of the power-down signal is less than the preset safe distance, and the relay is in the energized state, then an alert signal is generated based on the power-down signal.
[0090] The reminder signal is sent to the client for display, and the client receives a confirmation signal from the user based on the reminder signal.
[0091] The relay is powered off based on the confirmed power-down signal.
[0092] Understandably, the preset safety distance is a safety isolation distance used to prevent the vehicle from being powered off due to accidental power-off signaling by the user while the relay is in the energized state. The preset safety distance may be related to the size information of the target vehicle.
[0093] For example, if a user is inside a vehicle and the vehicle is in motion, and an accidental power-off signal is triggered, and because the relay is in an engaged state, the relay disconnects, causing the vehicle to shut off, there will be a safety issue that seriously affects the user's personal safety.
[0094] It is easy to understand that the reminder signal is used to remind the user whether there is an accidental triggering of the power-off signal. The reminder signal can be a vibration signal or a voice signal, etc., and this embodiment does not make specific restrictions on it.
[0095] In the actual implementation, after receiving the reminder signal, if the user still sends a power-off signal, the relay will be controlled to disconnect according to the power-off signal sent by the user.
[0096] Before controlling the relay to cut off power according to the confirmed power-down signal, the method further includes:
[0097] Obtain the current driving status of the target vehicle;
[0098] When the current driving state is a stationary state, the relay is controlled to cut off power according to the confirmed power-down signal.
[0099] As is easy to understand, the current driving state refers to the current driving state of the target vehicle. The current driving state can be determined by the target vehicle's current speed and historical travel information to accurately confirm the vehicle's driving state. The stationary state refers to the vehicle having no tendency to move or history of movement within a certain period of time.
[0100] In practice, when a power-down signal is received and the signal is outside the safe zone, and the vehicle is stationary, the onboard computer can control the relay to cut off the power based on the power-down signal.
[0101] This embodiment discloses a method for controlling the relay of the target vehicle to disconnect power according to the relay's open / closed state when the signal type is a power-off signal. This embodiment controls the relay of the target vehicle to disconnect power according to the power-off signal and the relay's open / closed state to avoid noise generated when the relay is disconnected, which would affect the user's riding experience.
[0102] Furthermore, this embodiment of the invention also proposes a storage medium storing an automotive relay control program, which, when executed by a processor, implements the steps of the automotive relay control method described above.
[0103] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0104] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the automotive relay control device of the present invention.
[0105] like Figure 5 As shown, the automotive relay control device proposed in this embodiment of the invention includes:
[0106] The status acquisition module 10 is used to acquire the relay opening and closing status of the target vehicle.
[0107] It is worth noting that the relay open / closed state refers to either the relay being engaged or disengaged.
[0108] In a specific implementation, a vehicle may be paired with multiple keys, but these keys have the same unique identification code used to unlock the corresponding target vehicle. The target vehicle may be a new energy vehicle, but this embodiment does not impose any specific restrictions on this.
[0109] The signal receiving module 20 is used to determine the signal type of the vehicle control signal when it receives the vehicle control signal.
[0110] It is understood that vehicle control signals refer to the control commands issued by the user through the key to control operations such as unlocking, powering on, and powering off the vehicle. Depending on the order in which the buttons on the key are pressed, different control signals can be issued by the key. For example, pressing the unlock button on the key will send a control signal to unlock the vehicle. This embodiment does not impose specific limitations on this.
[0111] It should be noted that the types of vehicle control signals in this embodiment can be: door unlocking, door locking, relay energizing, relay de-energizing, and vehicle parking signals, etc. This embodiment does not impose specific restrictions on these.
[0112] The automotive relay control module 30 is used to control the relay of the target vehicle to engage based on a preset engagement strategy according to the relay's open / closed state if the signal type is a power-on signal.
[0113] It should be understood that the power-on signal is used to control the target vehicle to switch from the off state to the pre-charging state. Since most of the electronic devices inside the vehicle are in the off state when the target vehicle is off, the power-on signal will provide a start signal to the electronic devices inside the vehicle so that the electronic devices inside the vehicle can pre-charge.
[0114] As is easy to understand, the preset engagement strategy refers to the strategy of the on-board computer controlling the relays installed inside the new energy vehicle to engage sequentially according to the power-on signal. Since the relays in new energy vehicles will produce noise when engaging, and the noise produced by each relay has different effects, the relays that produce more noise can be engaged first, so that the engagement is completed when the user is at a greater distance from the vehicle, avoiding the user hearing the engagement noise, reducing the impact of noise on the user, and improving the user's riding experience.
[0115] Furthermore, if the relay is already in the energized state, the power-on signal will not control the relay that is in the energized state, but will maintain the existing energized state.
[0116] In practice, when a user sends a power-on signal via the key, the power-on signal will wake up the electronic devices in the vehicle and cause them to precharge. At the same time, if the relays inside the vehicle are not engaged, the on-board computer can control the relays to engage according to a preset engagement strategy based on the power-on signal, so as to reduce the noise generated by the relays engaging.
[0117] This embodiment provides a method for controlling an automotive relay. The method includes: acquiring the open / closed state of a relay in a target vehicle; upon receiving a vehicle control signal, determining the signal type of the vehicle control signal; if the signal type is a power-on signal, controlling the relay of the target vehicle to engage based on a preset engagement strategy according to the open / closed state of the relay. This embodiment combines the vehicle control signal with the open / closed state of the relay, and in advance, causes the relay to engage according to the preset engagement strategy when power is required, thereby avoiding the technical problem in the prior art where the relays built into new energy vehicles generate significant noise when engaging, affecting the user's riding experience.
[0118] In one embodiment, the automotive relay control module 30 is further configured to acquire the power-on signal source distance of the power-on signal; if the power-on signal source distance is less than a preset signal sensing distance and the relay is in an open state, then the relay of the target vehicle is controlled to engage based on a preset engagement strategy.
[0119] In one embodiment, the automotive relay control module 30 is further configured to determine the closing noise of each relay in the target vehicle; determine the relay closing sequence based on the closing noise of each relay; and control the relays of the target vehicle to close based on the relay closing sequence.
[0120] In one embodiment, the signal receiving module 20 is further configured to control the relay of the target vehicle to cut off power according to the relay opening and closing state when the signal type is a power-off signal.
[0121] In one embodiment, the signal receiving module 20 is further configured to acquire the power-off signal source distance; when the power-off signal source distance is not less than a preset signal sensing distance and the relay is in the energized state, the module controls the relay of the target vehicle to disconnect the power.
[0122] In one embodiment, the signal receiving module 20 is further configured to generate a reminder signal based on the power-down signal if the distance from the source of the power-down signal is less than a preset safe distance and the relay is in the energized state; send the reminder signal to the client for display; receive a confirmation power-down signal input by the user based on the reminder signal; and control the relay to cut off power based on the confirmation power-down signal.
[0123] In one embodiment, the signal receiving module 20 is further configured to acquire the current driving state of the target vehicle; when the current driving state is a stationary state, it controls the relay to cut off power according to the confirmation power-off signal.
[0124] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solution of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0125] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0126] In addition, for technical details not described in detail in this embodiment, please refer to the automotive relay control method provided in any embodiment of the present invention, which will not be repeated here.
[0127] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0128] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0129] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0130] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A method for controlling an automotive relay, characterized in that, The automotive relay control method includes: Obtain the relay opening / closing status of the target vehicle; Upon receiving a vehicle control signal, determine the signal type of the vehicle control signal; If the signal type is a power-on signal, then obtain the power-on signal source distance; If the distance from the power-on signal source is less than the preset signal sensing distance, and the relay is in the off state, then the noise of each relay engaging in the target vehicle is determined. Based on the magnitude of the noise level of each relay's activation, the relay activation sequence is determined in descending order. The relays of the target vehicle are controlled to engage based on the relay engagement sequence, so that the relays with high noise levels engage at a time when they are farther away from the user.
2. The automotive relay control method as described in claim 1, characterized in that, After determining the signal type of the vehicle control signal upon receiving it, the process further includes: When the signal type is a power-off signal, the relay of the target vehicle is de-energized according to the relay's open / closed state.
3. The automotive relay control method as described in claim 2, characterized in that, The step of controlling the relay of the target vehicle to cut off power according to the open / closed state of the relay includes: Obtain the distance from the source of the power-down signal; When the distance from the source of the power-down signal is not less than the preset signal sensing distance, and the relay is in the energized state, the relay of the target vehicle is controlled to disconnect the power.
4. The automotive relay control method as described in claim 3, characterized in that, After obtaining the distance to the source of the power-down signal, the method further includes: If the distance from the source of the power-down signal is less than the preset safe distance, and the relay is in the energized state, then an alert signal is generated based on the power-down signal. The reminder signal is sent to the client for display, and the client receives a confirmation signal from the user based on the reminder signal. The relay is powered off based on the confirmed power-down signal.
5. The automotive relay control method as described in claim 4, characterized in that, Before controlling the relay to cut off power according to the confirmed power-down signal, the method further includes: Obtain the current driving status of the target vehicle; When the current driving state is a stationary state, the relay is controlled to cut off power according to the confirmed power-down signal.
6. An automotive relay control device, characterized in that, The automotive relay control device includes: The status acquisition module is used to acquire the relay opening and closing status of the target vehicle; A signal receiving module is used to determine the signal type of a vehicle control signal when it is received. The automotive relay control module is used to: if the signal type is a power-on signal, obtain the power-on signal source distance; if the power-on signal source distance is less than a preset signal sensing distance and the relay is in an open state, determine the operating noise of each relay in the target vehicle; determine the relay operating sequence in descending order of the operating noise of each relay; and control the relays of the target vehicle to operate based on the relay operating sequence, so that the relay with the higher noise value operates at a time when it is farther away from the user.
7. An automotive relay control device, characterized in that, The automotive relay control device includes: a memory, a processor, and an automotive relay control program stored in the memory and executable on the processor, the automotive relay control program being configured to implement the automotive relay control method as described in any one of claims 1 to 5.
8. A storage medium, characterized in that, The storage medium stores an automotive relay control program, which, when executed by a processor, implements the automotive relay control method as described in any one of claims 1 to 5.