CN116668263A - Vehicle component processing method, device, equipment and medium - Google Patents

Vehicle component processing method, device, equipment and medium Download PDF

Info

Publication number
CN116668263A
CN116668263A CN202310664073.XA CN202310664073A CN116668263A CN 116668263 A CN116668263 A CN 116668263A CN 202310664073 A CN202310664073 A CN 202310664073A CN 116668263 A CN116668263 A CN 116668263A
Authority
CN
China
Prior art keywords
target
interface
information
relay
working state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310664073.XA
Other languages
Chinese (zh)
Inventor
姚志安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanqi Xiance Nanjing High Tech Co ltd
Original Assignee
Nanqi Xiance Nanjing High Tech Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanqi Xiance Nanjing High Tech Co ltd filed Critical Nanqi Xiance Nanjing High Tech Co ltd
Priority to CN202310664073.XA priority Critical patent/CN116668263A/en
Publication of CN116668263A publication Critical patent/CN116668263A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • B60R16/0232Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application discloses a vehicle component processing method, device, equipment and medium. The method is executed by a control end, the control end comprises detection equipment for detecting a CAN interface in a vehicle, the control end is connected with a CAN bus of the vehicle, the control end controls the working state of a power supply to be detected through a relay, and the control end controls the communication state of the CAN interface through the relay, and the method comprises the following steps: acquiring power failure information of a power supply to be detected through a CAN bus, and acquiring interface detection information of a target CAN interface through detection equipment; determining interface fault information of the target CAN interface according to a matching result of the interface detection information and the preset fault information; and determining the target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information, and switching the working state of the target relay into the target working state. The technical scheme CAN timely detect and treat faults of the sensor power supply and CAN communication conditions.

Description

Vehicle component processing method, device, equipment and medium
Technical Field
The present invention relates to the field of vehicle technologies, and in particular, to a method, an apparatus, a device, and a medium for processing a vehicle component.
Background
With the continuous development of automatic driving technology, the safety of the electronic system of the vehicle is also gradually paid attention to; the sensor power supply and the CAN bus are two important components in an automobile electronic control system, and the problems of performance degradation, fault code alarm and the like of a vehicle CAN be caused by the communication faults of the sensor power supply and the CAN bus. Therefore, the diagnosis and protection of the communication faults between the sensor power supply and the CAN are technical problems to be solved.
The traditional fault detection generally needs the staff to detect whether the sensor power supply is normal one by one, whether the CAN communication is normal, and a great deal of time and labor cost are required, and the detection is usually carried out after the fault occurs, so that the problem of untimely fault treatment exists, and the safety and reliability of the vehicle are affected.
Disclosure of Invention
The invention provides a processing method, a device, equipment and a medium for a vehicle component, which are used for timely detecting the communication faults of a sensor power supply and a CAN and timely disposing the faults.
According to an aspect of the present invention, there is provided a processing method of a vehicle component, which is executed by a control terminal including a detection device for detecting a CAN interface in a vehicle, the control terminal being connected to a CAN bus of the vehicle, the control terminal controlling an operation state of a power supply to be detected through a relay, the control terminal controlling a communication state of the CAN interface through the relay, the method comprising:
Acquiring power failure information of a power supply to be detected through a CAN bus, and acquiring interface detection information of a target CAN interface through detection equipment;
determining interface fault information of a target CAN interface according to a matching result of the interface detection information and preset fault information;
and determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information, and switching the working state of the target relay into the target working state.
According to another aspect of the present invention, there is provided a processing method of a vehicle component, performed by a client, the method comprising:
receiving power failure information and interface failure information sent by a control terminal; the power failure information is acquired by the control end through a CAN bus; the interface fault information is determined by the control end according to a matching result of the interface detection information and the preset fault information;
determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information;
and sending the target relay and the target working state corresponding to the target relay to a control end so that the control end can control the working state of the target relay according to the target working state.
According to an aspect of the present invention, there is provided a processing apparatus of a vehicle component, the apparatus being configured at a control terminal including a detection device for detecting a CAN interface in a vehicle, the control terminal being connected to a CAN bus of the vehicle, the control terminal controlling an operation state of a power supply to be detected through a relay, the control terminal controlling a communication state of the CAN interface through the relay, the apparatus comprising:
the information acquisition module is used for acquiring power failure information of a power supply to be detected through a CAN bus and acquiring interface detection information of a target CAN interface through the detection equipment;
the interface fault information determining module is used for determining the interface fault information of the target CAN interface according to the matching result of the interface detection information and the preset fault information;
and the target relay control module is used for determining the target relay and the target working state corresponding to the target relay according to the power failure information and the interface failure information and switching the working state of the target relay into the target working state.
According to another aspect of the present invention, there is provided a processing apparatus of a vehicle component, the apparatus being configured to a client, the apparatus comprising:
The fault information receiving module is used for receiving power supply fault information and interface fault information sent by the control terminal; the power failure information is acquired by the control end through a CAN bus; the interface fault information is determined by the control end according to a matching result of the interface detection information and the preset fault information;
the target relay determining module is used for determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information;
and the information sending module is used for sending the target relay and the target working state corresponding to the target relay to the control end so that the control end can control the working state of the target relay according to the target working state.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of processing a vehicle component by the control end in any of the embodiments of the invention or to perform the method of processing a vehicle component by the client in any of the embodiments of the invention.
According to another aspect of the present application, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a method for processing a vehicle component performed by a control terminal in any of the embodiments of the present application or to implement a method for processing a vehicle component performed by a client in any of the embodiments of the present application when executed.
The technical scheme of the embodiment of the application comprises the following steps: the method is executed by a control end, the control end comprises detection equipment for detecting a CAN interface in a vehicle, the control end is connected with a CAN bus of the vehicle, the control end controls the working state of a power supply to be detected through a relay, and the control end controls the communication state of the CAN interface through the relay, and the method comprises the following steps: acquiring power failure information of a power supply to be detected through a CAN bus, and acquiring interface detection information of a target CAN interface through detection equipment; determining interface fault information of a target CAN interface according to a matching result of the interface detection information and preset fault information; and determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information, and switching the working state of the target relay into the target working state. The technical scheme CAN timely detect the communication faults of the sensor power supply and the CAN, and timely dispose the faults.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of processing a vehicle component according to a first embodiment of the present application;
FIG. 2 is a flow chart of a method of handling a vehicle component according to a second embodiment of the application;
FIG. 3 is a flow chart of a method of processing a vehicle component according to a third embodiment of the application;
fig. 4 is a schematic view of a display device of a client of a processing method of a vehicle component according to a third embodiment of the present application;
fig. 5 is a schematic structural view of a processing device for vehicle components according to a fourth embodiment of the present application;
Fig. 6 is a schematic structural view of a processing device for vehicle components according to a fifth embodiment of the present application;
fig. 7 is a schematic structural view of an electronic device implementing a method of processing a vehicle component according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," "target," and the like in the description and claims of the present application and in the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a processing method of a vehicle component according to an embodiment of the present application, where the embodiment of the present application is applicable to a case of performing fault detection on sensor power and CAN communication in a vehicle, the method may be performed by a processing device of the vehicle component, where the processing device of the vehicle component may be implemented in hardware and/or software, and the processing device of the vehicle component may be configured in a control terminal, where the control terminal is an electronic device with data processing capability.
In the embodiment of the application, the control end comprises detection equipment for detecting the CAN interface in the vehicle, the control end is connected with the CAN bus of the vehicle, the control end controls the working state of the power supply to be detected through the relay, and the control end controls the communication state of the CAN interface through the relay.
Specifically, the control end CAN be installed in a vehicle, and the control end comprises detection equipment, the detection equipment is connected with a CAN interface, the CAN interface CAN be two ports of CANH and CANL of a CAN node, and the CAN node is a connection point of a CAN bus and various electronic systems, so that the detection equipment CAN be also understood as being connected with the CAN node when the detection equipment is connected with the CAN interface; the detection equipment is used for detecting the CAN interface to obtain interface detection information, and CAN detect voltage and/or current information of the CAN interface, and further the interface detection information CAN be information such as voltage and current.
Further, the control end is connected with the CAN bus of the vehicle, and CAN receive various signals sent by other devices in the bus, such as fault signals of the A system, alarm signals of the B device and the like through the CAN bus. The control end is connected with the power supply to be detected through the relay, the control end CAN control the working state of the power supply to be detected through the relay, the control end is connected with the CAN interface through the relay, and the control end CAN control the communication state of the CAN interface through the relay.
As shown in fig. 1, the processing method of the vehicle component includes:
s110, acquiring power failure information of a power supply to be detected through a CAN bus, and acquiring interface detection information of a target CAN interface through the detection equipment.
The power supply to be detected CAN be a sensor power supply for supplying power to a sensor in a vehicle, the number of the power supplies to be detected CAN be one or more, the power supplies to be detected CAN supply power to equipment such as ultrasonic radars, millimeter wave radars, laser radars, integrated navigation and the like, if the power supplies to be detected have voltage abnormality, temperature abnormality and the like, the power supply to be detected CAN send power failure information to a CAN bus, and then a control end CAN acquire the power failure information of the power supply to be detected through the CAN bus. The power failure information may be information that the temperature, voltage, etc. exceeds a safe numerical range. The interface detection information may be voltage and/or current information obtained by detecting the target CAN interface by the detection device.
Specifically, in one implementation scheme, power failure information of a power supply to be detected is obtained in real time through a CAN bus, detection equipment is controlled in real time to detect a target CAN interface, and detected interface detection information is read. In another implementation scheme, power failure information of a power supply to be detected is obtained through a CAN bus at preset time, detection equipment is controlled to detect a target CAN interface, and detected interface detection information is read. In still another implementation scheme, if the switch control is triggered (the switch control CAN control the operation and the closing of the processing device of the vehicle component), the power failure information of the power to be detected is obtained through the CAN bus, the detection equipment is controlled to detect the target CAN interface, and the detected interface detection information is read.
S120, determining interface fault information of the target CAN interface according to a matching result of the interface detection information and the preset fault information.
The preset fault information may reflect a fault position and a fault type of the CAN interface and a detection data range corresponding to each fault, for example, a CANH short-circuit fault, where the corresponding detection data range may be that a CANH port current is greater than a short-circuit threshold value, and so on. Obviously, there are a plurality of fault positions and fault types, such as CANL short circuit, CANL open circuit, etc., and each fault has a corresponding detection data range.
Specifically, after the interface detection information is obtained, a detection data range corresponding to the interface detection information is determined in preset fault information, further, a fault position and a fault type corresponding to the interface detection information are determined, and interface fault information of the target CAN interface is generated according to the fault position and the fault type.
And S130, determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information, and switching the working state of the target relay into the target working state.
Specifically, in one implementation scheme, after power failure information and interface failure information are determined, a failed power number is extracted from the power failure information, and a relay matched with the power number is determined as a target relay according to the power number; similarly, the fault location and the fault type are extracted from the interface fault information, for example, the CANH port is shorted, and then the relay connected with the CANH at the target interface is determined to be the target relay, further, the target working state may be the disconnection state, that is, each target relay is switched to the disconnection state, so as to protect the circuit components.
The technical scheme of the embodiment of the application comprises the following steps: the method is executed by a control end, the control end comprises detection equipment for detecting a CAN interface in a vehicle, the control end is connected with a CAN bus of the vehicle, the control end controls the working state of a power supply to be detected through a relay, and the control end controls the communication state of the CAN interface through the relay, and the method comprises the following steps: acquiring power failure information of a power supply to be detected through a CAN bus, and acquiring interface detection information of a target CAN interface through detection equipment; determining interface fault information of a target CAN interface according to a matching result of the interface detection information and preset fault information; and determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information, and switching the working state of the target relay into the target working state. The technical scheme CAN timely detect the communication faults of the sensor power supply and the CAN, and timely dispose the faults.
Example two
Fig. 2 is a flowchart of a processing method of a vehicle component according to a second embodiment of the present application, where the method is performed by a control end, the control end includes a detection device for detecting a CAN interface in a vehicle, the control end is connected to a CAN bus of the vehicle, the control end controls an operating state of a power supply to be detected through a relay, and the control end controls a communication state of the CAN interface through the relay.
As shown in fig. 2, the method in the embodiment of the present application specifically includes the following steps:
s210, acquiring power failure information of a power supply to be detected through a CAN bus, and acquiring interface detection information of a target CAN interface through the detection equipment.
In this embodiment of the present application, optionally, the interface detection information includes voltage and/or current information of the CANH port, and voltage and/or current information of the CANL port.
Specifically, the detection device is connected with CANH and CANL ports in the CAN interface respectively, and CAN detect voltage and/or current information of the CANH port and voltage and/or current information of the CANL port. It should be noted that the detection device may be connected to a plurality of CAN interfaces, and in the embodiment of the present application, a CAN interface is taken as an example for explanation.
In the embodiment of the application, the detection equipment CAN be any equipment capable of detecting voltage and current, the detection equipment CAN be separated from the CAN interface when corresponding interface detection is not needed, and the detection equipment CAN sequentially detect the voltage and/or the current through an equipment built-in program when the voltage and/or the current are needed.
S220, determining a target detection data range matched with the interface detection information, and determining a target fault position corresponding to the target detection data range as interface fault information of the target CAN interface.
In the embodiment of the present application, optionally, the preset fault information includes a fault location and a detection data range corresponding to the fault location.
The fault location may reflect a plurality of preset fault occurrence locations, for example, a CANH port and/or a CANL port, and the detection data ranges are different corresponding to different fault occurrence locations, that is, each fault location has a detection data range corresponding to it, and the detection data range may be a range of voltage and/or current.
Specifically, after the interface detection information is obtained, extracting voltage and/or current data of the CANH port and voltage and/or current information of the CANL port from the interface detection information, determining a target detection data range corresponding to the interface detection information, and further determining a target fault position corresponding to the target detection data range as interface fault information of the target CAN interface.
The scheme is set in such a way, the fault occurrence position of the target CAN interface (for example, the fault occurs at the CANH port, the fault occurs at the CANL port, or both ports have faults) CAN be rapidly determined, and corresponding components in the vehicle CAN be rapidly protected through subsequent steps.
And S230, the power failure information and the interface failure information are sent to a client.
In the embodiment of the application, the power failure information and the interface failure information are sent to the client, so that the client can determine the target relay and the target working state corresponding to the target relay according to the power failure information and the interface failure information.
Specifically, the power failure information and the interface failure information are sent to the server, so that the server sends the power failure information and the interface failure information to the client, the server can obtain corresponding information through the arrangement, and the server can encrypt and decrypt the transmitted power failure information and interface failure information, so that data security is protected. The control end in the embodiment of the application communicates with the client or the server in a 4G, 5G or other communication mode.
S240, receiving the target relay and the target working state corresponding to the target relay sent by the client, and switching the working state of the target relay to the target working state.
Specifically, after receiving the target relay sent by the client and the target working state corresponding to the target relay, under the condition that the achievement of the safety condition is ensured, the working state of the target relay is switched to the target working state, wherein the safety condition is a condition that the safety of the vehicle and personnel in the vehicle is not affected, and in a specific example, the condition that the vehicle is hung on the P grade can be the safety condition.
According to the technical scheme, the power failure information and the interface failure information are sent to the client, so that the client can determine the target relay and the target working state corresponding to the target relay according to actual conditions, and the power failure information and the interface failure information are sent to the client, so that personnel of the client can remotely monitor the failure information without reaching the vicinity of a vehicle, a large amount of time and labor cost are saved, and the effects of cost reduction and synergy are achieved.
Example III
Fig. 3 is a flowchart of a processing method of a vehicle component according to a third embodiment of the present application, where the embodiment of the present application is applicable to a case of performing fault detection on sensor power and CAN communication in a vehicle, the method may be performed by a processing device of the vehicle component, where the processing device of the vehicle component may be implemented in hardware and/or software, and the processing device of the vehicle component may be configured in a client, where the client is an electronic device with data processing capability.
As shown in fig. 3, the method for processing the vehicle component includes:
s310, receiving power failure information and interface failure information sent by a control terminal; the power failure information is acquired by the control end through a CAN bus; the interface fault information is determined by the control end according to the matching result of the interface detection information and the preset fault information.
Specifically, if a fault information request sent by the control end is detected, the request is granted, and power fault information and interface fault information sent by the control end are received.
S320, determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information.
Specifically, after the power failure information and the interface failure information are received, in an achievable scheme, according to the power failure information and the failure position reflected in the interface failure information, the relay corresponding to the failure position is determined to be a target relay, and the target working state is determined to be an off state. In another implementation, the number of the target relay input by the worker and the target working state may be obtained.
In the embodiment of the present application, optionally, determining the target relay and the target working state corresponding to the target relay according to the power failure information and the interface failure information includes steps A1-A3:
and A1, determining a fault power supply according to the power supply fault information, and determining a relay corresponding to the fault power supply as a first target relay.
And step A2, extracting a target fault position from the interface fault information, and determining a relay corresponding to the target fault position as a second target relay.
And A3, determining the target working states corresponding to the first target relay and the second target relay as disconnected states.
Wherein the target relay includes the first target relay and the second target relay.
Specifically, since the power failure information is sent to the CAN bus by the power to be detected, the power to be detected has an identifier, and the power to be detected CAN be determined according to the identifier, and the relay corresponding to the power to be detected is determined as the first target relay. Further, a fault position is extracted from the interface fault information, the extracted fault position is used as a target fault position, and a relay corresponding to the target fault position is determined to be a second target relay.
It should be noted that, the step A1 and the step A2 may be performed simultaneously, or may be performed sequentially, and the embodiment of the present application does not limit the execution sequence.
Further, the first target relay and the second target relay are determined to be target relays, and the target working state corresponding to the target relays is determined to be the disconnection state.
In the embodiment of the application, optionally, the target relay and the target working state corresponding to the target relay are determined according to the power failure information and the interface failure information, and the method comprises the steps of B1-B3:
and step B1, displaying the interface fault information and the power supply fault information on a display device.
And step B2, acquiring trigger information of the relay control and trigger information of the working state control corresponding to the relay control.
And B3, determining a target relay according to trigger information of the relay control, and determining a target working state corresponding to the target relay according to trigger information of the working state control corresponding to the relay control.
Specifically, as shown in fig. 4, the interface fault information and the power failure information are displayed on a display device, for example, the displayed information is: CANH short circuit to ground, CANL normal, voltage of the power supply abnormal, temperature of the power supply normal. And further acquiring trigger information of the relay control and trigger information of the working state control corresponding to the relay control, namely trigger information of the opening and closing control of the relay corresponding to CANH, trigger information of the opening and closing control of the relay corresponding to CANL, and trigger information of the opening and closing control of the relay corresponding to the fault power supply.
Further, according to trigger information of the relay control, a target relay is determined, and according to trigger information of the working state control corresponding to the relay control, a target working state corresponding to the target relay is determined. For example, taking a fault power supply as an example, if a closing control of a relay corresponding to the fault power supply is triggered, determining that a target working state of a target relay corresponding to the fault power supply is an off state.
S330, the target relay and the target working state corresponding to the target relay are sent to the control end, so that the control end controls the working state of the target relay according to the target working state.
The technical scheme of the embodiment of the application comprises the following steps: receiving power failure information and interface failure information sent by a control terminal; the power failure information is acquired by the control end through a CAN bus; the interface fault information is determined by the control end according to a matching result of the interface detection information and the preset fault information; determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information; and sending the target relay and the target working state corresponding to the target relay to a control end so that the control end can control the working state of the target relay according to the target working state. According to the technical scheme, the power failure information and the interface failure information can be remotely acquired at the client, workers are not required to conduct on-site investigation one by one, a large amount of time and labor cost are saved, and the effects of reducing cost and enhancing efficiency are achieved.
Example IV
Fig. 5 is a schematic structural diagram of a vehicle component processing apparatus according to a fourth embodiment of the present application, where the apparatus may execute the vehicle component processing method executed by the control end according to any embodiment of the present application, and the apparatus has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 5, the device is configured at a control end, the control end includes a detection device for detecting a CAN interface in a vehicle, the control end is connected with a CAN bus of the vehicle, the control end controls a working state of a power supply to be detected through a relay, and the control end controls a communication state of the CAN interface through the relay, and the device includes:
the information acquisition module 410 is configured to acquire power failure information of a power supply to be detected through a CAN bus, and acquire interface detection information of a target CAN interface through the detection device;
the interface fault information determining module 420 is configured to determine interface fault information of the target CAN interface according to a matching result of the interface detection information and the preset fault information;
the target relay control module 430 is configured to determine a target relay and a target operating state corresponding to the target relay according to the power failure information and the interface failure information, and switch the operating state of the target relay to a target operating state.
Optionally, the preset fault information includes a fault position and a detection data range corresponding to the fault position;
the interface failure information determination module 420 includes:
the interface fault information determining unit is used for determining a target detection data range matched with the interface detection information and determining a target fault position corresponding to the target detection data range as the interface fault information of the target CAN interface.
Optionally, the target relay control module 430 includes:
the fault information sending unit is used for sending the power supply fault information and the interface fault information to a client; the client determines a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information;
and the target relay information receiving unit is used for receiving the target relay sent by the client and the target working state corresponding to the target relay.
Optionally, the interface detection information includes voltage and/or current information of the CANH port, and voltage and/or current information of the CANL port.
The processing device for the vehicle component provided by the embodiment of the application can execute the processing method for the vehicle component, which is executed by the control end and provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 6 is a schematic structural diagram of a vehicle component processing apparatus according to a fifth embodiment of the present application, where the apparatus may execute the vehicle component processing method executed by the client according to any embodiment of the present application, and the apparatus has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 6, the apparatus is configured in a client, and the apparatus includes:
the fault information receiving module 510 is configured to receive power fault information and interface fault information sent by the control end; the power failure information is acquired by the control end through a CAN bus; the interface fault information is determined by the control end according to a matching result of the interface detection information and the preset fault information;
the target relay determining module 520 is configured to determine a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information;
the information sending module 530 is configured to send the target relay and the target working state corresponding to the target relay to the control end, so that the control end controls the working state of the target relay according to the target working state.
Optionally, the target relay determination module 520 includes:
The fault power supply determining unit is used for determining a fault power supply according to the power supply fault information and determining a relay corresponding to the fault power supply as a first target relay;
the target fault position determining unit is used for extracting a target fault position from the interface fault information and determining a relay corresponding to the target fault position as a second target relay;
the target working state determining unit is used for determining the target working states corresponding to the first target relay and the second target relay as disconnected states;
wherein the target relay includes the first target relay and the second target relay.
Optionally, the target relay determination module 520 includes:
an information display unit for displaying the interface failure information and the power failure information on a display device;
the trigger information acquisition unit is used for acquiring trigger information of the relay control and trigger information of the working state control corresponding to the relay control;
and the target relay determining unit is used for determining the target relay according to the trigger information of the relay control, and determining the target working state corresponding to the target relay according to the trigger information of the working state control corresponding to the relay control.
The processing device for the vehicle component provided by the embodiment of the application can execute the processing method for the vehicle component, which is executed by the client and provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 7 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 7, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the processing of vehicle components.
In some embodiments, the method of processing a vehicle component may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the above-described processing method of the vehicle component may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the processing of the vehicle component in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (11)

1. A method of processing a vehicle component, characterized in that it is performed by a control terminal including a detection device for detecting a CAN interface in a vehicle, the control terminal being connected to a CAN bus of the vehicle, the control terminal controlling an operating state of a power supply to be detected through a relay, the control terminal controlling a communication state of the CAN interface through the relay, the method comprising:
acquiring power failure information of a power supply to be detected through a CAN bus, and acquiring interface detection information of a target CAN interface through detection equipment;
Determining interface fault information of a target CAN interface according to a matching result of the interface detection information and preset fault information;
and determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information, and switching the working state of the target relay into the target working state.
2. The method according to claim 1, wherein the preset fault information includes a fault location and a detection data range corresponding to the fault location;
according to the matching result of the interface detection information and the preset fault information, determining the interface fault information of the target CAN interface comprises the following steps:
and determining a target detection data range matched with the interface detection information, and determining a target fault position corresponding to the target detection data range as interface fault information of the target CAN interface.
3. The method of claim 1, wherein determining a target relay and a target operating state corresponding to the target relay based on the power failure information and the interface failure information comprises:
transmitting the power failure information and the interface failure information to a client; the client determines a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information;
And receiving a target working state corresponding to the target relay sent by the client.
4. The method of claim 1, wherein the interface detection information comprises voltage and/or current information of the CANH port, and voltage and/or current information of the CANL port.
5. A method of processing a vehicle component, performed by a client, the method comprising:
receiving power failure information and interface failure information sent by a control terminal; the power failure information is acquired by the control end through a CAN bus; the interface fault information is determined by the control end according to a matching result of the interface detection information and the preset fault information;
determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information;
and sending the target relay and the target working state corresponding to the target relay to a control end so that the control end can control the working state of the target relay according to the target working state.
6. The method of claim 5, wherein determining a target relay and a target operating state corresponding to the target relay based on the power failure information and the interface failure information comprises:
Determining a fault power supply according to the power supply fault information, and determining a relay corresponding to the fault power supply as a first target relay;
extracting a target fault position from the interface fault information, and determining a relay corresponding to the target fault position as a second target relay;
determining a target working state corresponding to the first target relay and the second target relay as a disconnection state;
wherein the target relay includes the first target relay and the second target relay.
7. The method of claim 5, wherein determining a target relay and a target operating state corresponding to the target relay based on the power failure information and the interface failure information comprises:
displaying the interface fault information and the power supply fault information on a display device;
acquiring trigger information of a relay control and trigger information of a working state control corresponding to the relay control;
and determining a target relay according to the trigger information of the relay control, and determining a target working state corresponding to the target relay according to the trigger information of the working state control corresponding to the relay control.
8. The utility model provides a processing apparatus of vehicle parts, its characterized in that, the device disposes in the control end, the control end is including the check out test set who is arranged in detecting the CAN interface in the vehicle, the control end is connected with the CAN bus of vehicle, the control end is through the operating condition of relay control power waiting to detect, the control end is through the communication state of relay control CAN interface, the device includes:
the information acquisition module is used for acquiring power failure information of a power supply to be detected through a CAN bus and acquiring interface detection information of a target CAN interface through the detection equipment;
the interface fault information determining module is used for determining the interface fault information of the target CAN interface according to the matching result of the interface detection information and the preset fault information;
and the target relay control module is used for determining the target relay and the target working state corresponding to the target relay according to the power failure information and the interface failure information and switching the working state of the target relay into the target working state.
9. A processing apparatus for a vehicle component, the apparatus being configured at a client, the apparatus comprising:
the fault information receiving module is used for receiving power supply fault information and interface fault information sent by the control terminal; the power failure information is acquired by the control end through a CAN bus; the interface fault information is determined by the control end according to a matching result of the interface detection information and the preset fault information;
The target relay determining module is used for determining a target relay and a target working state corresponding to the target relay according to the power failure information and the interface failure information;
and the information sending module is used for sending the target relay and the target working state corresponding to the target relay to the control end so that the control end can control the working state of the target relay according to the target working state.
10. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of processing a vehicle component by a control end of any one of claims 1-4 or to perform the method of processing a vehicle component by a client of any one of claims 5-7.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions for causing a processor to implement the method of processing a vehicle component performed by a control terminal according to any one of claims 1 to 4 or to implement the method of processing a vehicle component performed by a client terminal according to any one of claims 5 to 7 when executed.
CN202310664073.XA 2023-06-06 2023-06-06 Vehicle component processing method, device, equipment and medium Pending CN116668263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310664073.XA CN116668263A (en) 2023-06-06 2023-06-06 Vehicle component processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310664073.XA CN116668263A (en) 2023-06-06 2023-06-06 Vehicle component processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116668263A true CN116668263A (en) 2023-08-29

Family

ID=87722131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310664073.XA Pending CN116668263A (en) 2023-06-06 2023-06-06 Vehicle component processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116668263A (en)

Similar Documents

Publication Publication Date Title
CN116008799A (en) Monitoring processing method and device of vacuum circuit breaker, electronic equipment and storage medium
CN117707112B (en) Fault diagnosis method, system, equipment and storage medium
CN117743012A (en) Processing system and method for chip failure, electronic equipment and storage medium
CN117055533A (en) Vehicle-mounted system fault processing method, device, equipment and medium
CN116668263A (en) Vehicle component processing method, device, equipment and medium
CN117148038A (en) Fault diagnosis method and device, electronic equipment and storage medium
CN116148717A (en) Detection method and device of vehicle-mounted system, electronic equipment and storage medium
CN115072037B (en) Safety detection method and device for cigarette packaging machine set, electronic equipment and storage medium
CN115871754B (en) Rail transit control signal system, detection method, detection device, detection equipment and medium
CN220910012U (en) Intelligent transfer sump centrifugal pump drainage system
CN218273166U (en) Controller resetting device and working machine
CN117579147A (en) Fault positioning method and device, electronic equipment and storage medium
CN113722185B (en) Domestic computer remote management system
CN220900687U (en) Underspeed protection system of coal slime centrifugal machine
CN116643105A (en) Equipment fault detection method and device, electronic equipment and storage medium
CN116795070A (en) Fault identification system and method for digital quantity output control
CN117608609A (en) Updating method, device, equipment and medium of power grid self-healing program
CN117129851A (en) Voltage loop contact detection method and device, electronic equipment and medium
CN115550635A (en) Video shunting fault processing method and device, electronic equipment and storage medium
CN117647700A (en) Cable outer sheath fault identification method, device, equipment and medium
CN117040958A (en) RS 485-based multipurpose multi-standby control method, device, equipment and medium
CN116915588A (en) Secondary equipment fault positioning method and device, electronic equipment and storage medium
CN116840621A (en) Power distribution network line fault detection method, device, equipment and storage medium
CN116455776A (en) Work order management method, system and server of Internet of things equipment
CN117931526A (en) Application program exception handling method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination