Fault information transmission method and device and storage medium
By sending and storing fault information from the first device to the second device in the transmission system, and then having the processing unit directly read the fault information from the storage space, the problem of low fault judgment efficiency caused by the limitations of the transmission mechanism is solved, and the cause of the fault is quickly obtained.
Patent Information
- Application Number
- CN202180007414.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-23
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2041-07-23
AI Technical Summary
In a transmission system with devices A and B, due to limitations in the transmission mechanism, the fault diagnosis efficiency of device B is low, and it is impossible to quickly obtain the cause of the transmission unit failure of device A.
The first device sends fault information to the second device. The transmission unit of the second device stores the information and notifies the processing unit. The processing unit directly reads the fault information from the storage space, which avoids the limitations of the transmission mechanism between the two devices in the transmission system and improves the efficiency of fault diagnosis.
This significantly shortens the time it takes for the processing unit to obtain the current fault cause of the first transmission unit and improves the fault diagnosis efficiency of the second device.
Smart Images

Figure CN115867464B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a fault information transmission method and device and storage medium. BACKGROUND
[0002] In a transmission system including an A-side device and a B-side device, if the A-side device fails, a processing unit of the B-side device needs to be notified, and the processing unit needs to determine the failure cause of the other device after receiving the notification information, and then perform corresponding processing.
[0003] When the transmission unit of the A-side device fails, the failure cause is recorded in the register in the transmission unit, and the B-side device judges the failure by reading the failure cause recorded in the register of the A-side device. However, due to the transmission mechanism limitation between the A-side device and the B-side device, the failure judgment efficiency of the B-side device is reduced. SUMMARY
[0004] Therefore, a fault information transmission method, device and storage medium are provided to improve the failure judgment efficiency of the second device.
[0005] In a first aspect, an embodiment of the present application provides a fault information transmission method for a transmission system including a first device and a second device, the method comprising:
[0006] When a first transmission unit of the first device fails, the first device sends fault information to the second device, and the fault information is used to indicate a first failure cause of the first transmission unit;
[0007] A second transmission unit of the second device receives the fault information, stores the fault information in a storage space of the second transmission unit, and sends a notification signal to a processing unit of the second device;
[0008] The processing unit receives the notification signal and reads the fault information in the storage space of the second transmission unit.
[0009] In this implementation, the first device sends fault information indicating the first failure cause of the first transmission unit to the second device, and the second transmission unit of the second device receives the fault information and stores it in the local storage space, and sends a notification signal to the processing unit of the second device. The processing unit can directly obtain the fault information by reading the local storage space, avoiding the situation that the failure judgment efficiency is low due to the transmission mechanism limitation between the two devices of the transmission system in the related art, greatly shortening the time length of the processing unit obtaining the current first failure cause of the first transmission unit, and improving the failure judgment efficiency of the second device.
[0010] In a possible implementation, the fault information includes a first index value, and the method further includes:
[0011] The first device determines the first index value corresponding to the first fault cause according to a preset correspondence relationship, and the preset correspondence relationship includes a one-to-one correspondence relationship between fault causes and index values.
[0012] The processing unit receives the notification signal and reads the fault information in the storage space of the second transmission unit, and further includes:
[0013] The processing unit determines the first fault cause corresponding to the first index value according to the preset correspondence relationship.
[0014] In this implementation, the first device sends the first index value corresponding to the first fault cause to the second device, so that the second transmission unit of the second device stores the received first index value in the local storage space and sends a notification signal to the processing unit, so that after the processing unit reads the first index value in the storage space of the second transmission unit, the first fault cause corresponding to the first index value is directly determined according to the preset correspondence relationship, and the efficiency of the processing unit in acquiring the current first fault cause of the first transmission unit is further ensured.
[0015] In another possible implementation, the fault cause includes at least one of a single-bit fault in a memory, a multi-bit fault in the memory, and an internal bus transmission fault.
[0016] In this implementation, the possible fault causes when the first transmission unit fails are defined, and the fault cause includes at least one of a single-bit fault in a memory, a multi-bit fault in the memory, and an internal bus transmission fault, so that if the first transmission unit of the first device fails in the above manner, the fault information transmission method provided in the application can be used, and the applicability of the fault information transmission method is ensured.
[0017] In another possible implementation, before the notification signal is sent to the processing unit of the second device, the method further includes:
[0018] The second transmission unit generates the notification signal according to the first index value.
[0019] In the implementation, when the first transmission unit of the first device fails, the first device only sends the first index value to the second device, the first index value is used to indicate the first failure cause of the first transmission unit, so that the second transmission unit of the second device stores the first index value in the storage space of the second transmission unit and sends a notification signal to the processing unit after receiving the first index value, thereby improving the acquisition efficiency of the failure cause and further saving the data transmission overhead between the first device and the second device.
[0020] In another possible implementation, the method further includes:
[0021] The first device sends an interrupt signal to the second device, the interrupt signal being used to indicate that the first transmission unit of the first device fails;
[0022] Before the second transmission unit sends the notification signal to the processing unit of the second device, the method further includes:
[0023] The second transmission unit generates the notification signal according to the interrupt signal and the first index value.
[0024] In the implementation, when the first transmission unit of the first device fails, the first device sends an interrupt signal and a first index value to the second device, the interrupt signal being used to indicate that the first transmission unit of the first device fails, and the first index value being used to indicate the first failure cause of the first transmission unit, so that the second transmission unit of the second device stores the received first index value in the storage space of the second transmission unit, and so that the second device triggers the steps of generating and sending the notification signal according to the received interrupt signal and first index value, thereby improving the acquisition efficiency of the failure cause and further ensuring the reliability of the notification signal transmission.
[0025] In another possible implementation, the priority of the first failure cause is greater than a preset priority threshold.
[0026] In the implementation, when the first transmission unit of the first device fails and the priority of the failure cause is greater than a preset priority threshold, the first device sends the failure information to the second device, that is, the priority of the first failure cause indicated by the failure information is greater than the preset priority threshold, so that the processing unit of the second device can process the failure with high priority more timely.
[0027] In another possible implementation, the first device is a camera, the second device is a mobile data center, the first transmission unit is a serializer, the second transmission unit is a deserializer, the storage space is a register, and the processing unit is a processing chip.
[0028] In this implementation, a possible application scenario is provided for the fault information transmission method provided in the embodiments of this application. In this application scenario, the first device is a camera, the second device is a mobile data center, the first transmission unit is a serializer, the second transmission unit is a deserializer, the storage space is a register, and the processing unit is a processing chip, which ensures the applicability of the fault information transmission method.
[0029] In another possible implementation, the first device is a display, the second device is a cockpit controller, the first transmission unit is a deserializer, the second transmission unit is a serializer, the storage space is a register, and the processing unit is a processing chip.
[0030] In this implementation, another possible application scenario is provided for the fault information transmission method provided in the embodiments of this application. In this application scenario, the first device is a display, the second device is a cockpit controller, the first transmission unit is a deserializer, the second transmission unit is a serializer, the storage space is a register, and the processing unit is a processing chip, which ensures the applicability of the fault information transmission method.
[0031] Secondly, embodiments of this application provide a fault information transmission method for use in a first device, the method comprising:
[0032] When a fault occurs in the first transmission unit of the first device, a fault information is sent to the second device, the fault information being used to indicate the first cause of the fault in the first transmission unit.
[0033] In one possible implementation, the fault information includes a first index value, and the method further includes:
[0034] Based on a preset correspondence, the first index value corresponding to the first fault cause is determined, wherein the preset correspondence includes a one-to-one correspondence between the fault cause and the index value.
[0035] In another possible implementation, the cause of failure includes at least one of a single-bit failure in memory, a multi-bit failure in memory, and an internal bus transmission failure.
[0036] In another possible implementation, the method further includes:
[0037] An interrupt signal is sent to the second device, the interrupt signal being used to indicate that the first transmission unit of the first device has failed.
[0038] In another possible implementation, the priority of the first fault cause is greater than a preset priority threshold.
[0039] In another possible implementation, the first device is a camera, the first transmission unit is a serializer, and the second device is a mobile data center.
[0040] In another possible implementation, the first device is a display, the first transmission unit is a deserializer, and the second device is a cockpit controller.
[0041] Thirdly, embodiments of this application provide a fault information transmission method for use in a second device, the method comprising:
[0042] The second transmission unit of the second device receives fault information sent by the first device, and the fault information is used to indicate the first fault cause of the first transmission unit of the first device failing.
[0043] The second transmission unit stores the fault information in its storage space and sends a notification signal to the processing unit of the second device.
[0044] The processing unit receives the notification signal and reads the fault information from the storage space of the second transmission unit.
[0045] In one possible implementation, the method further includes:
[0046] The processing unit determines the first fault cause corresponding to the first index value according to a preset correspondence relationship, wherein the preset correspondence relationship includes a one-to-one correspondence between the fault cause and the index value.
[0047] In another possible implementation, the cause of failure includes at least one of a single-bit failure in memory, a multi-bit failure in memory, and an internal bus transmission failure.
[0048] In another possible implementation, before sending the notification signal to the processing unit of the second device, the method further includes:
[0049] The second transmission unit generates the notification signal based on the first index value.
[0050] In another possible implementation, before sending the notification signal to the processing unit of the second device, the method further includes:
[0051] The second transmission unit generates the notification signal based on the interrupt signal and the first index value, wherein the interrupt signal is used to indicate that the first transmission unit of the first device has failed.
[0052] In another possible implementation, the priority of the first fault cause is greater than a preset priority threshold.
[0053] In another possible implementation, the first device is a camera, the second device is a mobile data center, the first transmission unit is a serializer, the second transmission unit is a deserializer, the storage space is a register, and the processing unit is a processing chip.
[0054] In another possible implementation, the first device is a display, the second device is a cockpit controller, the first transmission unit is a deserializer, the second transmission unit is a serializer, the storage space is a register, and the processing unit is a processing chip.
[0055] Fourthly, embodiments of this application provide a fault information transmission device for use in a first device, the device comprising:
[0056] A first transmission unit is configured to send fault information to a second device when the first transmission unit of the first device fails, the fault information indicating a first cause of the failure of the first transmission unit.
[0057] In one possible implementation, the fault information includes a first index value, and the first transmission unit is further configured to:
[0058] Based on a preset correspondence, the first index value corresponding to the first fault cause is determined, wherein the preset correspondence includes a one-to-one correspondence between the fault cause and the index value.
[0059] In another possible implementation, the cause of failure includes at least one of a single-bit failure in memory, a multi-bit failure in memory, and an internal bus transmission failure.
[0060] In another possible implementation, the first transmission unit is further configured to:
[0061] An interrupt signal is sent to the second device, the interrupt signal being used to indicate that the first transmission unit of the first device has failed.
[0062] In another possible implementation, the priority of the first fault cause is greater than a preset priority threshold.
[0063] In another possible implementation, the first device is a camera, the first transmission unit is a serializer, and the second device is a mobile data center.
[0064] In another possible implementation, the first device is a display, the first transmission unit is a deserializer, and the second device is a cockpit controller.
[0065] Fifthly, embodiments of this application provide a fault information transmission device for use in a second device, the device comprising:
[0066] The second transmission unit is used to receive fault information sent by the first device, wherein the fault information is used to indicate the first fault cause of the first transmission unit of the first device malfunctioning.
[0067] The second transmission unit is further configured to store the fault information in the storage space of the second transmission unit and send a notification signal to the processing unit of the second device;
[0068] The processing unit is configured to receive the notification signal and read the fault information from the storage space of the second transmission unit.
[0069] In one possible implementation, the fault information includes a first index value.
[0070] The processing unit is further configured to determine the first fault cause corresponding to the first index value according to a preset correspondence relationship, wherein the preset correspondence relationship includes a one-to-one correspondence between the fault cause and the index value.
[0071] In another possible implementation, the cause of failure includes at least one of a single-bit failure in memory, a multi-bit failure in memory, and an internal bus transmission failure.
[0072] In another possible implementation
[0073] The second transmission unit is further configured to generate the notification signal based on the first index value.
[0074] In another possible implementation
[0075] The second transmission unit is further configured to generate the notification signal based on the interrupt signal and the first index value, wherein the interrupt signal is used to indicate that the first transmission unit of the first device has malfunctioned.
[0076] In another possible implementation, the priority of the first fault cause is greater than a preset priority threshold.
[0077] In another possible implementation, the first device is a display, the second device is a cockpit controller, the first transmission unit is a deserializer, the second transmission unit is a serializer, the storage space is a register, and the processing unit is a processing chip.
[0078] Sixthly, embodiments of this application provide a transmission system, the transmission system including a first device and a second device;
[0079] The first device is configured to send fault information to the second device when a fault occurs in the first transmission unit of the first device, wherein the fault information is used to indicate a first fault cause of the fault in the first transmission unit.
[0080] The second device is configured to receive the fault information through the second transmission unit, store the fault information in the storage space of the second transmission unit, and send a notification signal to the processing unit of the second device.
[0081] The second device is further configured to receive the notification signal through the processing unit and read the fault information in the storage space of the second transmission unit.
[0082] In one possible implementation, the fault information includes a first index value.
[0083] The first device is further configured to determine the first index value corresponding to the first fault cause according to a preset correspondence relationship, wherein the preset correspondence relationship includes a one-to-one correspondence relationship between fault causes and index values;
[0084] The second device is further configured to determine the first fault cause corresponding to the first index value by means of the processing unit according to the preset correspondence.
[0085] In another possible implementation, the cause of failure includes at least one of a single-bit fault in memory, a multi-bit fault in memory, and an internal bus transmission fault.
[0086] In another possible implementation, the second device is further configured to generate the notification signal based on the first index value via the second transmission unit.
[0087] In another possible implementation
[0088] The first device is further configured to send an interrupt signal to the second device, the interrupt signal being used to indicate that the first transmission unit of the first device has malfunctioned;
[0089] Before sending a notification signal to the processing unit of the second device via the second transmission unit, the second device further includes:
[0090] The second device is further configured to generate the notification signal based on the interrupt signal and the first index value via the second transmission unit.
[0091] In another possible implementation, the priority of the first fault cause is greater than a preset priority threshold.
[0092] In another possible implementation, the first device is a camera, the second device is a mobile data center, the first transmission unit is a serializer, the second transmission unit is a deserializer, the storage space is a register, and the processing unit is a processing chip.
[0093] In another possible implementation, the first device is a display, the second device is a cockpit controller, the first transmission unit is a deserializer, the second transmission unit is a serializer, the storage space is a register, and the processing unit is a processing chip.
[0094] In a seventh aspect, embodiments of this application provide a non-volatile computer-readable storage medium storing computer program instructions thereon, characterized in that the computer program instructions, when executed by a processor, implement the fault information transmission method provided by the second aspect or any possible implementation thereof.
[0095] Eighthly, embodiments of this application provide a non-volatile computer-readable storage medium storing computer program instructions thereon, characterized in that the computer program instructions, when executed by a processor, implement the fault information transmission method provided by the third aspect or any possible implementation of the third aspect.
[0096] Ninthly, embodiments of this application provide a computer program product comprising computer-readable code, characterized in that, when the computer-readable code is run in an electronic device, a processor in the electronic device executes the fault information transmission method provided by the second aspect or any possible implementation thereof.
[0097] In a tenth aspect, embodiments of this application provide a computer program product comprising computer-readable code, characterized in that, when the computer-readable code is run in an electronic device, a processor in the electronic device executes the fault information transmission method provided by the third aspect or any possible implementation thereof. Attached Figure Description
[0098] Figure 1 This is a schematic diagram of an in-vehicle image transmission system provided in related technologies;
[0099] Figure 2 A schematic diagram of the structure of a transmission system provided in an exemplary embodiment of this application is shown;
[0100] Figure 3 A schematic diagram of the structure of a transmission system provided in another exemplary embodiment of this application is shown;
[0101] Figure 4A schematic diagram of the structure of a transmission system provided in another exemplary embodiment of this application is shown;
[0102] Figure 5 A flowchart of a fault information transmission method provided in an exemplary embodiment of this application is shown;
[0103] Figure 6 A flowchart of a fault information transmission method provided by another exemplary embodiment of this application is shown. Detailed Implementation
[0104] Various exemplary embodiments, features, and aspects of this application will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.
[0105] In this application embodiment, " / " can indicate that the related objects are in an "or" relationship. For example, A / B can represent A or B. "And / or" can be used to describe three relationships between related objects. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. A and B can be singular or plural. To facilitate the description of the technical solutions in this application embodiment, the terms "first" and "second" can be used to distinguish technical features with the same or similar functions. These terms do not limit the quantity or execution order, and they are not necessarily different. In this application embodiment, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" should not be construed as being better or more advantageous than other embodiments or design solutions. The use of "exemplary" or "for example" is intended to present related concepts in a specific manner for ease of understanding.
[0106] In the embodiments of this application, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", and there is no order of priority or size among the technical features described by "first", "second", "third", "A", "B", "C" and "D".
[0107] Furthermore, to better illustrate this application, numerous specific details are provided in the following detailed embodiments. Those skilled in the art should understand that this application can be implemented without certain specific details. In some instances, methods, means, components, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the main points of this application.
[0108] In related technologies, taking an in-vehicle image transmission system as an example, with a camera as the A-end device and a computing platform as the B-end device, in a schematic example, the computing platform can be a mobile data center (MDC), such as... Figure 1 As shown, camera 100 is used to capture images during driving, and mobile data center 120 is used to process the data collected by the camera, such as performing image processing and analyzing the vehicle's surrounding environment. Camera 100 includes a sensor 102 and a serializer 104 connected to the sensor 102. Mobile data center 120 includes a deserializer 122 and a processing chip 124 connected to the deserializer 122. Data transmission between the serializer 104 of camera 100 and the deserializer 122 of mobile data center 120 is performed. During operation, the serializer 104 of camera 100 may experience various malfunctions. When the serializer 104 of camera 100 malfunctions, camera 100 sends an interrupt signal to the deserializer 122 of mobile data center 120 through the serializer 104. Upon receiving the interrupt signal, deserializer 122 generates a pulse signal on its general-purpose input / output (GPIO) interface. This pulse signal is used to notify processing chip 124 that a malfunction has occurred. Upon receiving the pulse signal, the processing chip 124 initiates a diagnostic process on the Inter-Integrated Circuit (I2C) bus. 2 C) The serializer 104 of the camera 100 is read from the interface by the deserializer 122 to obtain the cause of the fault.
[0109] However, in the above method, due to I 2 The C interface operates by requiring a 1-bit feedback message to be sent for every 8 bits of data transmitted. This results in very low data transmission efficiency between the deserializer 122 and the serializer 104, which in turn makes it very slow for the processing chip 124 to read the registers in the serializer 104. Consequently, the time required to determine the cause of the fault is longer, and the fault diagnosis efficiency of the mobile data center 120 is low.
[0110] To address this, this application provides a fault information transmission method, apparatus, and storage medium. A first device sends fault information indicating a first fault cause for a first transmission unit failure to a second device. Upon receiving the fault information, the second transmission unit of the second device stores the fault information in its local storage space and sends a notification signal to the processing unit of the second device. The processing unit can directly obtain the fault information by reading the local storage space, avoiding the situation in related technologies where the transmission mechanism between the two ends of the transmission system results in low fault judgment efficiency. This significantly shortens the time for the processing unit to obtain the current first fault cause of the first transmission unit and improves the fault judgment efficiency of the second device.
[0111] First, the application scenarios involved in this application are introduced. The fault information transmission method provided in the embodiments of this application is applied to a transmission system including a first device and a second device, which can be a vehicle. This fault information transmission method can be applied to the fields of autonomous driving or intelligent driving. Furthermore, this fault information transmission method can be applied to vehicle-to-everything (V2X) communication, such as Long Term Evolution Vehicle (LTE-V) communication, and vehicle-to-vehicle (V2V) communication. Please refer to... Figure 2 This illustration shows a schematic diagram of a transmission system provided in an exemplary embodiment of this application. The transmission system includes a first device 210 and a second device 220. Data transmission is performed between the first device 210 and the second device 220 through their respective transmission units.
[0112] The first device 210 includes a first transmission unit 212. Optionally, the first device 210 may also include other units connected to the first transmission unit 212. Schematic, these other units may include a display unit or a sensing unit. This application embodiment does not limit this aspect.
[0113] The second device 220 includes a second transmission unit 222 and a processing unit 224 connected to the second transmission unit 222. The second transmission unit 222 includes multiple storage spaces, schematically represented as registers.
[0114] Optionally, the second transmission unit 222 is used to send signals to the processing unit 224 through a first interface connected to the processing unit 224, and the processing unit 224 is used to receive signals sent by the second transmission unit 222 through the first interface. The processing unit 224 is also used to read data from the second transmission unit 222 through a second interface connected to the second transmission unit 222. Illustratively, the first interface is a GPIO interface, and the second interface is an I... 2 C interface.
[0115] In this embodiment of the application, the first device 210 is used to send fault information to the second device 220 when the first transmission unit 212 fails. The fault information is used to indicate the first fault cause of the failure of the first transmission unit 212. The second transmission unit 222 of the second device 220 is used to receive the fault information, store the fault information in the storage space of the second transmission unit 222, and send a notification signal to the processing unit 224 of the second device 220. The processing unit 224 is used to receive the notification signal and read the fault information in the storage space of the second transmission unit 222.
[0116] For ease of explanation, the following description uses a vehicle-mounted transmission system as an example. This application does not limit the type of transmission system.
[0117] In one possible implementation, such as Figure 3 As shown, the first device is a camera 310, the second device is a computing platform, such as a mobile data center 320, the first transmission unit of the first device is a serializer 312, the other units connected to the first transmission unit are sensing components 314, the second transmission unit of the second device is a deserializer 322, and the processing unit connected to the second transmission unit is a processing chip 324.
[0118] Optionally, the sensing component 314 is used to send signals to the serializer 312 via a third interface connected to the serializer 312, and the serializer 312 is used to receive signals sent by the sensing component 314 via the third interface. The serializer 312 is also used to read data from the sensing component 314 via a fourth interface connected to the sensing component 314. Illustratively, the third interface is a GPIO interface, and the fourth interface is an I / O interface. 2 C interface.
[0119] The sensing component 314 is used to sense the external environment and convert the sensed signals into electrical signals. The sensing component 314 can be a millimeter-wave radar, a lidar, or other sensors.
[0120] The serializer 312 and deserializer 322 are interface circuits in high-speed data communication. The serializer 312 and deserializer 322 communicate using point-to-point serial communication technology. The serializer 312 is used to convert multiple low-speed parallel signals into high-speed serial signals and send them to the deserializer 322. The deserializer 322 is used to convert the received high-speed serial signals back into low-speed parallel signals.
[0121] The serializer 312 and the deserializer 322 are connected via a wired connection. The transmission protocol used by the serializer 312 and the deserializer 322 can be Gigabit Multimedia Serial Link (GMSL), Flat-panel Display Link (FPD-LINK), or domestic in-vehicle wired high-speed media transmission technology and testing methods. This application embodiment does not limit this.
[0122] The processing chip 324 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. This application does not limit this aspect.
[0123] Optionally, when the camera 310 is in an operating mode, such as shooting mode or video mode, the camera 310 is used to receive external multimedia data. The camera 310 can be a fixed optical lens system or a device with focal length and optical zoom capabilities.
[0124] Optionally, the mobile data center 320 is the vehicle's intelligent in-vehicle computing platform. A mobile data center refers to the functional unit in an intelligent driving / autonomous vehicle responsible for processing data collected by sensors in the advanced driver assistance system and making driving decisions. A mobile data center can also be called a mobile computing center.
[0125] The mobile data center 320 can be implemented as a terminal installed in a vehicle to assist in vehicle operation, or as a chip within a terminal. Specifically, the mobile data center 320 can be user equipment (UE), access terminal, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication equipment, terminal agent, or terminal device in a 5G network or a future evolved Public Land Mobile Network (PLMN). Access terminals can be cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, in-vehicle devices or wearable devices, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical care, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc. This mobile data center 320 can be mobile or fixed.
[0126] In this embodiment, the camera 310 is used to send fault information to the mobile data center 320 when the serializer 312 fails. The fault information is used to indicate the first cause of the serializer 312 failure. The deserializer 322 of the mobile data center 320 is used to receive the fault information, store the fault information in the storage space of the deserializer 322, and send a notification signal to the processing chip 324 of the mobile data center 320. The processing chip 324 is used to receive the notification signal and read the fault information in the register of the deserializer 322.
[0127] In another possible implementation, such as Figure 4As shown, the first device is a display 410, the second device is a cockpit controller 420, the first transmission unit of the first device is a deserializer 412, the other units connected to the first transmission unit are a display screen 414, the second transmission unit of the second device is a serializer 422, and the processing unit connected to the second transmission unit is a processing chip 424.
[0128] Optionally, the display 410 is used to display images, videos, etc. The display 410 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc.
[0129] Optionally, the cockpit controller 420 is used to control the vehicle's interior seats and display 410. Illustratively, the cockpit controller 420 is connected to both the in-vehicle equipment and the display 410 via a high-speed communication bus. The cockpit controller 420 receives data sent by the in-vehicle equipment, processes the data, and then sends it to the display 410 for display.
[0130] In this embodiment, the display 410 is used to send fault information to the cockpit controller 420 when the deserializer 412 malfunctions. The fault information is used to indicate the first cause of the malfunction of the deserializer 412. The serializer 422 of the cockpit controller 420 is used to receive the fault information, store the fault information in the storage space of the serializer 422, and send a notification signal to the processing chip 424 of the cockpit controller 420. The processing chip 424 is used to receive the notification signal and read the fault information in the register of the serializer 422.
[0131] It should be noted that the application scenarios of the fault information transmission method in this application embodiment are not limited.
[0132] The following describes the fault information transmission method provided in the embodiments of this application using several exemplary models.
[0133] Please refer to Figure 5It illustrates a flowchart of a fault information transmission method provided in an exemplary embodiment of this application. This embodiment uses this method for... Figures 2 to 4 Let's take any of the transmission systems shown as examples. The method includes the following steps.
[0134] Step 501: When the first transmission unit of the first device fails, the first device sends fault information to the second device. The fault information is used to indicate the first fault cause of the failure of the first transmission unit.
[0135] Optionally, the first device detects whether the first transmission unit has malfunctioned in real time or at preset time intervals. If a malfunction is detected in the first transmission unit of the first device, the first device sends a malfunction message to the second device.
[0136] The preset time interval can be a custom setting or a default setting. This application does not limit this.
[0137] Optionally, if a fault is detected in the first transmission unit of the first device, the first device stores the fault information in the storage space of the first transmission unit.
[0138] Optionally, during a period of time when the first transmission unit of the first device malfunctions, the first device sends fault information to the second device. That is, at the start time of the first transmission unit malfunction or at a target time after the start time, the first device sends fault information to the second device, wherein the absolute value of the difference between the target time and the start time is less than a preset time threshold.
[0139] In this process, the first device and the second device transmit data through their respective transmission units, that is, the first transmission unit of the first device sends fault information to the second transmission unit of the second device.
[0140] Optionally, the fault information includes a first index value, which is the number of the first fault cause in which the first transmission unit fails, and is used to indicate the first fault cause.
[0141] Optionally, the first transmission unit of the first device stores a preset correspondence, which includes a one-to-one correspondence between fault causes and index values. Illustratively, the fault causes include at least one of a single-bit fault in memory, a multi-bit fault in memory, and an internal bus transmission fault. Here, the memory refers to the internal storage of the first transmission unit of the first device.
[0142] For example, the preset correspondence includes: index value "0x1" corresponds to the fault cause "single bit fault in memory", index value "0x2" corresponds to the fault cause "multiple bit fault in memory", index value "0x3" corresponds to the fault cause "internal bus transmission fault", index value "0x4" corresponds to the fault cause "unstable power supply voltage of processing chip", index value "0x5" corresponds to the fault cause "link lockout", index value "0x6" corresponds to the fault cause "Cyclic Redundancy Check (CRC) error", and index value "0x7" corresponds to the fault cause "buffer overflow in processing chip". This application embodiment does not limit this.
[0143] Optionally, when the first transmission unit of the first device fails, the first device sends fault information to the second device, including: when the first transmission unit of the first device fails, the first device determines the first fault cause of the first transmission unit failure, the first device determines the first index value corresponding to the first fault cause according to a preset correspondence, and the first device sends the first index value to the second device.
[0144] In one possible implementation, when a fault occurs in the first transmission unit of the first device and the priority of the fault cause is greater than a preset priority threshold, the first device sends fault information to the second device. That is, in this implementation, the priority of the first fault cause indicated by the fault information is greater than the preset priority threshold.
[0145] Optionally, when the first transmission unit of the first device fails and the priority of the fault cause is less than or equal to a preset priority threshold, the first device does not send fault information to the second device, and the second device reads the current fault information of the first device in accordance with the methods provided in related technologies.
[0146] Optionally, multiple priorities for different fault causes can be pre-set. One possible setting is to set the priority of the target fault cause as the first priority, and the priorities of other fault causes besides the target fault cause as the second priority, wherein the target fault cause includes at least one fault cause. The first priority is greater than a preset priority threshold, and the second priority is less than the preset priority threshold.
[0147] For example, multiple fault causes include single-bit faults in memory, multi-bit faults in memory, and internal bus transmission faults. Among them, faults caused by "multi-bit faults in memory" and "internal bus transmission faults" will affect the function and require the intervention of the processing unit of the second device when an error occurs. The priority of these two fault causes can be set to the first priority, i.e., high priority. Faults caused by "single-bit faults in memory" can be automatically corrected. When an error occurs, only a warning is needed and no intervention of the processing unit of the second device is required. The priority of this fault cause can be set to the second priority, i.e., low priority.
[0148] Another possible configuration is to set the priority of the first target fault cause as the first priority, the priority of the second target fault cause as the second priority, and the priority of all other fault causes besides the first and second target fault causes as the third priority. Both the first and second target fault causes include at least one fault cause. The first and second priorities are greater than a preset priority threshold, while the third priority is less than the preset priority threshold.
[0149] It should be noted that the embodiments of this application do not limit the method of setting the priority of fault causes.
[0150] Step 502: The second transmission unit of the second device receives the fault information, stores the fault information in the storage space of the second transmission unit, and sends a notification signal to the processing unit of the second device.
[0151] The second transmission unit of the second device receives fault information sent by the first transmission unit. After receiving the fault information, the second transmission unit stores the fault information in its own storage space and sends a notification signal to the processing unit. It should be noted that the steps of the second transmission unit storing the fault information in its own storage space and the steps of the second transmission unit sending a notification signal to the processing unit can be performed simultaneously or sequentially. This application embodiment does not limit this.
[0152] The storage space of the second transmission unit is a register. Optionally, the second transmission unit includes multiple registers, and the storage space for storing fault information is a designated register among the multiple registers.
[0153] Optionally, the fault information includes a first index value, which indicates the first cause of the fault in the first transmission unit. That is, the second transmission unit of the second device receives the first index value and stores it in the storage space of the second transmission unit.
[0154] Optionally, the second transmission unit generates a pulse signal, or notification signal, on the first interface. This notification signal indicates a fault in the first transmission unit of the first device. The second transmission unit sends this notification signal to the processing unit through the first interface. Illustratively, the first interface is a GPIO interface.
[0155] In one possible implementation, the first device only sends a first index value to the second device and does not send an interrupt signal. The interrupt signal is used to indicate that the first transmission unit of the first device has failed. That is, when the first transmission unit of the first device fails, the first device sends the first index value to the second device; the second transmission unit of the second device receives the first index value, stores the first index value in the storage space of the second transmission unit, and sends a notification signal to the processing unit of the second device.
[0156] Optionally, the second transmission unit generates a notification signal based on the first index value and sends the notification signal to the processing unit of the second device. The generation of the notification signal by the second transmission unit based on the first index value includes: the second transmission unit generating the notification signal upon determining that it has received the first index value, the notification signal being used to instruct the processing unit to read the first index value from the storage space of the second transmission unit.
[0157] In another possible implementation, the first device sends an interrupt signal and a first index value to the second device. That is, when the first transmission unit of the first device malfunctions, the first device sends an interrupt signal and a first index value to the second device. The second transmission unit of the second device receives the interrupt signal and the first index value, stores the first index value in its storage space, and sends a notification signal to the processing unit of the second device.
[0158] The interrupt signal and the first index value can be sent simultaneously or separately. Specifically, when the first transmission unit of the first device fails, the first device sends both the interrupt signal and the first index value to the second device simultaneously; or, when the first transmission unit of the first device fails, the first device sends the interrupt signal to the second device and then sends the first index value; or, when the first transmission unit of the first device fails, the first device sends the first index value to the second device and then sends the interrupt signal. This application does not limit this specific approach.
[0159] Optionally, the interrupt signal is a digital signal, and the interrupt signal is represented by at least one bit of information, wherein the at least one bit of information can be a default setting or a custom setting. For example, the interrupt signal is a custom-set 8-bit information "01010101". This application embodiment does not limit this.
[0160] Optionally, the second transmission unit generates a notification signal based on the interrupt signal and the first index value, and sends the notification signal to the processing unit of the second device. Specifically, the second transmission unit generates the notification signal based on the interrupt signal and the first index value by: the second transmission unit generating the notification signal upon determining that it has received the interrupt signal and the first index value, the notification signal being used to instruct the processing unit to read the first index value from the storage space of the second transmission unit.
[0161] Step 503: The processing unit receives a notification signal and reads the fault information from the storage space of the second transmission unit.
[0162] The processing unit receives a notification signal sent by the second transmission unit. After receiving the notification signal, the processing unit reads the fault information from the storage space of the second transmission unit.
[0163] Optionally, the processing unit reads fault information from the storage space of the second transmission unit via the second interface. Illustratively, the second interface is I... 2 C interface.
[0164] Optionally, the fault information includes a first index value, and the processing unit of the second device stores a preset correspondence, which includes a one-to-one correspondence between fault causes and index values. After reading the first index value, the processing unit of the second device determines the first fault cause corresponding to the first index value according to the preset correspondence. It should be noted that the description of the index value and fault cause can be found in the relevant descriptions in the above steps, and will not be repeated here.
[0165] In summary, the embodiments of this application transmit fault information indicating a first fault cause for a first transmission unit failure to a second device via a first device. After receiving the fault information, the second transmission unit of the second device stores the fault information in its local storage space and sends a notification signal to the processing unit of the second device. The processing unit can directly obtain the fault information by reading the local storage space, avoiding the situation in related technologies where the fault judgment efficiency is low due to the limitations of the transmission mechanism between the two devices of the transmission system. This greatly shortens the time for the processing unit to obtain the current first fault cause of the first transmission unit and improves the fault judgment efficiency of the second device.
[0166] This application embodiment also allows the first device to send only a first index value to the second device when the first transmission unit of the first device fails, without sending an interrupt signal. The first index value is used to indicate the first fault cause of the first transmission unit failure. This enables the second transmission unit of the second device to store the first index value in its storage space and send a notification signal to the processing unit after receiving the first index value. This improves the efficiency of obtaining the fault cause and further saves the data transmission overhead between the first device and the second device.
[0167] This application embodiment also improves the efficiency of fault cause acquisition while further ensuring the reliability of notification signal transmission. When the first transmission unit of the first device fails, the first device sends an interrupt signal and a first index value to the second device. The interrupt signal indicates that the first transmission unit of the first device has failed, and the first index value indicates the first fault cause of the first transmission unit failure. This allows the second transmission unit of the second device to store the received first index value in its storage space and triggers the generation and transmission of a notification signal based on the received interrupt signal and first index value.
[0168] Furthermore, in related technologies, the serializer 104 is equipped with multiple registers to record various fault causes. When the processing chip 124 detects a fault in the camera 100, it then uses I... 2 When the C interface reads the current fault cause, it uses a register lookup method to obtain the fault cause. This can result in a long time to look up the fault cause. For example, if the fault cause is recorded in the last register, the processing chip 124 must look up the last register to obtain the current fault cause.
[0169] In this embodiment, a target storage space is set in the first transmission unit of the first device. The target storage space is one of multiple storage spaces and is used to store the first fault cause of the first transmission unit failure. This allows the processing unit of the second device to prioritize reading the data in the target storage space of the first transmission unit when it needs to read the first fault cause of the first transmission unit, thereby shortening the time required to query the current first fault cause of the first transmission unit.
[0170] In one possible implementation, please refer to Figure 6 It illustrates a flowchart of a fault information transmission method provided in another exemplary embodiment of this application, which is used in this embodiment for... Figures 2 to 4 Let's take any of the transmission systems shown as examples. The method includes the following steps.
[0171] Step 601: When the first transmission unit of the first device fails, the first device sends an interruption message to the second device.
[0172] Optionally, the interrupt information includes the interrupt signal and the identifier of the target memory space.
[0173] The interrupt signal is used to indicate a fault in the first transmission unit of the first device. The identifier for the target memory space can be the name or address of the target memory space. For example, the target memory space could be the target register.
[0174] Optionally, the interrupt information includes an interrupt signal. The identifier of the target storage space is pre-agreed upon by the first device and the second device.
[0175] Step 602: The second transmission unit of the second device receives the interrupt information and sends a notification signal to the processing unit of the second device.
[0176] The second transmission unit of the second device receives the interruption information and sends a notification signal to the processing unit of the second device. The notification signal is used to indicate that the first transmission unit of the first device has failed.
[0177] Step 603: The processing unit receives the notification signal and reads the first fault cause from the target register of the first transmission unit through the second transmission unit.
[0178] The target storage space is used to store the first cause of failure when the first transmission unit fails.
[0179] Optionally, the first fault cause is a fault cause with a priority greater than a preset priority threshold. This allows the processing unit of the second device to prioritize reading data from the target storage space of the first transmission unit when it needs to read the first fault cause of the first transmission unit, thereby shortening the time required to query high-priority fault causes.
[0180] It should be noted that the methods for setting the cause of the fault and the priority of the cause of the fault can be compared with the relevant descriptions in the above embodiments, and will not be repeated here.
[0181] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0182] Please refer to Figure 2 The first device in the diagram illustrates a block diagram of a fault information transmission apparatus provided in an exemplary embodiment of this application. The method performed by this fault information transmission apparatus can be referenced in conjunction with [reference]. Figure 5 and Figure 6 An embodiment of the method executed by the first device.
[0183] Please refer to Figure 2 The second device in the diagram illustrates a block diagram of a fault information transmission apparatus provided in an exemplary embodiment of this application. The method performed by this fault information transmission apparatus can be referenced in conjunction with the following... Figure 5 and Figure 6 An embodiment of the method executed by the second device.
[0184] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0185] This application also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code. When the computer-readable code is run in the processor of an electronic device, the processor in the electronic device executes the method executed by the first device or the second device in the above embodiments.
[0186] This application also provides a transmission system, which includes a first device and a second device. The first device executes the method executed by the first device in the above embodiments, and the second device executes the method executed by the second device in the above embodiments.
[0187] This application also provides a non-volatile computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, implement the method performed by the first device or the second device in the above embodiments.
[0188] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), electrically programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), compact disc read-only memory (CD-ROM), digital video disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing.
[0189] The computer-readable program instructions or code described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0190] The computer program instructions used to perform the operations of this application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" or similar languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuits, such as programmable logic circuits, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), are personalized by utilizing state information from computer-readable program instructions. These electronic circuits can execute computer-readable program instructions to implement various aspects of this application.
[0191] Various aspects of this application are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0192] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0193] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0194] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved.
[0195] It should also be noted that each block in the block diagram and / or flowchart, as well as combinations of blocks in the block diagram and / or flowchart, can be implemented using hardware (such as circuits or application-specific integrated circuits, ASICs) that performs the corresponding function or action, or using a combination of hardware and software, such as firmware.
[0196] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.
Claims
1. A method for transmitting fault information, characterized in that, For a transmission system including a first device and a second device, the method includes: When the first transmission unit of the first device fails, the first device sends fault information to the second device, and the fault information is used to indicate the first fault cause of the first transmission unit failure. The second transmission unit of the second device receives the fault information, stores the fault information in the storage space of the second transmission unit, and sends a notification signal to the processing unit of the second device; The processing unit receives the notification signal and reads the fault information from the storage space of the second transmission unit; Wherein, the first transmission unit is a serializer, and the second transmission unit is a deserializer; Alternatively, the first transmission unit may be a deserializer, and the second transmission unit may be a serializer.
2. The method according to claim 1, characterized in that, The fault information includes a first index value, and the method further includes: The first device determines the first index value corresponding to the first fault cause according to a preset correspondence relationship, wherein the preset correspondence relationship includes a one-to-one correspondence between the fault cause and the index value; After receiving the notification signal and reading the fault information from the storage space of the second transmission unit, the processing unit further includes: The processing unit determines the first fault cause corresponding to the first index value based on the preset correspondence.
3. The method according to claim 2, characterized in that, The causes of the failure include at least one of the following: single-bit failure in memory, multi-bit failure in memory, and internal bus transmission failure.
4. The method according to claim 2 or 3, characterized in that, Before sending the notification signal to the processing unit of the second device, the method further includes: The second transmission unit generates the notification signal based on the first index value.
5. The method according to claim 2 or 3, characterized in that, The method further includes: The first device sends an interrupt signal to the second device, the interrupt signal being used to indicate that the first transmission unit of the first device has failed; Before the second transmission unit sends a notification signal to the processing unit of the second device, it further includes: The second transmission unit generates the notification signal based on the interrupt signal and the first index value.
6. The method according to any one of claims 1 to 3, characterized in that, The priority of the first fault cause is greater than the preset priority threshold.
7. The method according to any one of claims 1 to 3, characterized in that, The first device is a camera, the second device is a mobile data center, the first transmission unit is a serializer, the second transmission unit is a deserializer, the storage space is a register, and the processing unit is a processing chip.
8. The method according to any one of claims 1 to 3, characterized in that, The first device is a display, the second device is a cockpit controller, the first transmission unit is a deserializer, the second transmission unit is a serializer, the storage space is a register, and the processing unit is a processing chip.
9. A method for transmitting fault information, characterized in that, For use in a first device, the method includes: When a fault occurs in the first transmission unit of the first device, fault information is sent to the second transmission unit of the second device, and the fault information is used to indicate the first fault cause of the fault in the first transmission unit. Wherein, the first transmission unit is a serializer, and the second transmission unit is a deserializer; Alternatively, the first transmission unit may be a deserializer, and the second transmission unit may be a serializer.
10. The method according to claim 9, characterized in that, The fault information includes a first index value, and the method further includes: Based on a preset correspondence, the first index value corresponding to the first fault cause is determined, wherein the preset correspondence includes a one-to-one correspondence between the fault cause and the index value.
11. The method according to claim 10, characterized in that, The causes of the failure include at least one of the following: single-bit memory failure, multi-bit memory failure, and internal bus transmission failure.
12. The method according to claim 10 or 11, characterized in that, The method further includes: An interrupt signal is sent to the second device, the interrupt signal being used to indicate that the first transmission unit of the first device has failed.
13. The method according to any one of claims 9 to 11, characterized in that, The priority of the first fault cause is greater than the preset priority threshold.
14. The method according to any one of claims 9 to 11, characterized in that, The first device is a camera, the first transmission unit is a serializer, and the second device is a mobile data center.
15. The method according to any one of claims 9 to 11, characterized in that, The first device is a display, the first transmission unit is a deserializer, and the second device is a cockpit controller.
16. A method for transmitting fault information, characterized in that, For use in a second device, the method includes: The second transmission unit of the second device receives fault information sent by the first device, and the fault information is used to indicate the first fault cause of the first transmission unit of the first device failing. The second transmission unit stores the fault information in its storage space and sends a notification signal to the processing unit of the second device. The processing unit receives the notification signal and reads the fault information from the storage space of the second transmission unit; Wherein, the first transmission unit is a serializer, and the second transmission unit is a deserializer; Alternatively, the first transmission unit may be a deserializer, and the second transmission unit may be a serializer.
17. The method according to claim 16, characterized in that, The fault information includes a first index value, and the method further includes: The processing unit determines the first fault cause corresponding to the first index value according to a preset correspondence relationship, wherein the preset correspondence relationship includes a one-to-one correspondence between the fault cause and the index value.
18. The method according to claim 17, characterized in that, The causes of the failure include at least one of the following: single-bit memory failure, multi-bit memory failure, and internal bus transmission failure.
19. The method according to claim 17 or 18, characterized in that, Before sending the notification signal to the processing unit of the second device, the method further includes: The second transmission unit generates the notification signal based on the first index value.
20. The method according to claim 17 or 18, characterized in that, Before sending the notification signal to the processing unit of the second device, the method further includes: The second transmission unit generates the notification signal based on the interrupt signal and the first index value, wherein the interrupt signal is used to indicate that the first transmission unit of the first device has failed.
21. The method according to any one of claims 16 to 18, characterized in that, The priority of the first fault cause is greater than the preset priority threshold.
22. The method according to any one of claims 16 to 18, characterized in that, The first device is a camera, the second device is a mobile data center, the first transmission unit is a serializer, the second transmission unit is a deserializer, the storage space is a register, and the processing unit is a processing chip.
23. The method according to any one of claims 16 to 18, characterized in that, The first device is a display, the second device is a cockpit controller, the first transmission unit is a deserializer, the second transmission unit is a serializer, the storage space is a register, and the processing unit is a processing chip.
24. A fault information transmission device, characterized in that, For use in the first device, the means includes: The first transmission unit is configured to send fault information to the second transmission unit of the second device when the first transmission unit of the first device fails, wherein the fault information is used to indicate the first fault cause of the first transmission unit failure. Wherein, the first transmission unit is a serializer, and the second transmission unit is a deserializer; Alternatively, the first transmission unit may be a deserializer, and the second transmission unit may be a serializer.
25. The apparatus according to claim 24, characterized in that, The fault information includes a first index value. The first transmission unit is further configured to determine the first index value corresponding to the first fault cause according to a preset correspondence relationship, wherein the preset correspondence relationship includes a one-to-one correspondence relationship between the fault cause and the index value.
26. The apparatus according to claim 25, characterized in that, The causes of the failure include at least one of the following: single-bit memory failure, multi-bit memory failure, and internal bus transmission failure.
27. The apparatus according to claim 25 or 26, characterized in that, The first transmission unit is further configured to send an interrupt signal to the second device, the interrupt signal being used to indicate that the first transmission unit of the first device has malfunctioned.
28. The apparatus according to claim 25 or 26, characterized in that, The priority of the first fault cause is greater than the preset priority threshold.
29. A fault information transmission device, characterized in that, For use in a second device, the means includes: The second transmission unit is used to receive fault information sent by the first device, wherein the fault information is used to indicate the first fault cause of the first transmission unit of the first device malfunctioning. The second transmission unit is further configured to store the fault information in the storage space of the second transmission unit and send a notification signal to the processing unit of the second device; The processing unit is configured to receive the notification signal and read the fault information from the storage space of the second transmission unit; Wherein, the first transmission unit is a serializer, and the second transmission unit is a deserializer; Alternatively, the first transmission unit may be a deserializer, and the second transmission unit may be a serializer.
30. The apparatus according to claim 29, characterized in that, The fault information includes a first index value. The processing unit is further configured to determine the first fault cause corresponding to the first index value according to a preset correspondence relationship, wherein the preset correspondence relationship includes a one-to-one correspondence between the fault cause and the index value.
31. The apparatus according to claim 30, characterized in that, The causes of the failure include at least one of the following: single-bit memory failure, multi-bit memory failure, and internal bus transmission failure.
32. The apparatus according to claim 30 or 31, characterized in that, The second transmission unit is further configured to generate the notification signal based on the first index value.
33. The apparatus according to claim 30 or 31, characterized in that, The second transmission unit is further configured to generate the notification signal based on the interrupt signal and the first index value, wherein the interrupt signal is used to indicate that the first transmission unit of the first device has malfunctioned.
34. The apparatus according to any one of claims 29 to 31, characterized in that, The priority of the first fault cause is greater than the preset priority threshold.
35. A non-volatile computer-readable storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 9-15, or when the computer program instructions are executed by the processor, they implement the method described in any one of claims 16-23.
36. A transmission system comprising a fault information transmission device as described in any one of claims 24 to 28 and a fault information transmission device as described in any one of claims 29 to 34.
Citation Information
Patent Citations
Data sending method and equipment
CN104539466A
Fault processing method and device and server
CN111414268A