Vehicle-mounted bus communication method, system and vehicle

By detecting the status of the electrical module and deserializer, controlling the electrical module to power off or standby, and configuring the serializer and deserializer, the problem of vehicle bus communication congestion is solved, and the normal operation of the electrical module and the improvement of communication fluency are achieved.

CN115203105BActive Publication Date: 2025-09-19JIANGLING MOTORS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210610643.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2025-09-19
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

In the prior art, when the vehicle bus communication frequently interacts, it causes communication blockage in one or more modules, resulting in abnormal operation and affecting user experience.

Method used

By detecting the connection status of the electrical module and the reset status of the deserializer, the electrical module is controlled to be powered off or in standby mode, and the serializer and deserializer of the main chip processor are configured to ensure the normal operation of the electrical module.

Benefits of technology

It improves the smoothness of vehicle bus communication, prevents communication bus congestion, ensures the normal operation of electrical modules, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115203105B_ABST
    Figure CN115203105B_ABST
Patent Text Reader

Abstract

The present invention provides an on-vehicle bus communication method, system, and vehicle. The method includes the following steps: detecting whether an electrical module is in a connected state; if the electrical module is detected to be in an unconnected state, detecting whether a communication bus I2C reports an error; if the communication bus I2C does not report an error, controlling the electrical module to power off; wherein the electrical module includes a display screen, an instrument, and a camera. The on-vehicle bus communication method of the present invention detects the electrical module to determine whether it is in a connected state. If it is in an unconnected state and the communication bus I2C does not report an error, it indicates that the electrical module does not need to work, and controls the electrical module to power off to prevent the electrical module from occupying the communication bus I2C and generating a large amount of invalid data, causing the communication bus I2C to be blocked and affecting the communication fluency. By detecting whether the deserializer is reset, the serializer and deserializer are further configured only when the reset is successful, so that the electrical module can operate normally.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent vehicle networking technology, and in particular to an on-vehicle bus communication method, system, and vehicle. Background Art

[0002] With the development of the domestic and international automobile industry, in order to further meet the needs of users, various automobile industries have been equipped with more and more electrical modules. For the entire vehicle, the interaction is becoming more frequent and complex.

[0003] In the existing technology, when the bus interacts frequently and the communication strategy is not well prepared, it will cause communication blockage in one or several modules and abnormal operation. In order to improve the user experience, it is particularly important to formulate a reasonable communication strategy for the smoothness and stable operation of the system. Summary of the Invention

[0004] In view of the shortcomings of the prior art, the present invention aims to provide a vehicle bus communication method, which aims to solve the technical problem of poor communication fluency of the vehicle entertainment system in the prior art.

[0005] In a first aspect, an embodiment of the present application provides a vehicle bus communication method, comprising the following steps:

[0006] Check whether the electrical module is in a connected state;

[0007] If it is detected that the electrical module is in an unconnected state, checking whether the communication bus I2C reports an error;

[0008] If the communication bus I2C does not report an error, control the electrical module to power off;

[0009] If it is detected that the electrical module is in a connected state, detecting whether the deserializer at one end of the electrical module is reset;

[0010] If it is detected that the deserializer has been reset, sequentially configuring the serializer and the deserializer at one end of the main chip processor to control the operation of the electrical module;

[0011] Wherein, the electrical module includes a display screen, a meter and a camera.

[0012] In some embodiments, after the step of detecting whether the deserializer at one end of the electrical module is reset, the step further includes:

[0013] If it is detected that the deserializer is not reset, the electrical module is controlled to maintain a standby state, and the connection state of the electrical module is re-detected after a first preset time.

[0014] In some embodiments, after the step of detecting whether the communication bus I2C reports an error, the step further includes:

[0015] If the communication bus I2C reports an error, the electrical module is controlled to remain in a standby state, and the connection state of the electrical module is re-detected after a first preset time.

[0016] In some embodiments, the step of sequentially configuring the serializer and the deserializer on one end of the main chip processor further includes:

[0017] If the configuration of the deserializer or the serializer fails, the electrical module is controlled to remain in a standby state, and the connection state of the electrical module is re-detected after a first preset time.

[0018] In some embodiments, the vehicle bus communication method further includes:

[0019] When the vehicle is started, the camera is controlled to remain in a non-working state;

[0020] When the main chip processor receives a reverse gear signal, it controls the camera to enter a working state;

[0021] When the main chip processor receives the reverse gear exit signal, it controls the camera to exit the working state after a second preset time.

[0022] In some embodiments, the step of controlling the camera to enter a working state further includes:

[0023] If the reversing image is not displayed normally within the third preset time, the parameters of the camera are reset.

[0024] In a second aspect, an embodiment of the present application further provides a vehicle bus communication system, comprising:

[0025] A detection module, used to detect whether the electrical module is in a connected state;

[0026] a first detection unit, configured to detect whether a deserializer at one end of the electrical module is reset if it is detected that the electrical module is in a connected state;

[0027] A first control module is configured to sequentially configure the serializer and the deserializer at one end of the main chip processor to control the operation of the electrical module if it is detected that the deserializer has been reset;

[0028] a second detection unit, configured to detect whether a deserializer at one end of the electrical module is reset if it is detected that the electrical module is in a connected state;

[0029] a second control module configured to sequentially configure the serializer and the deserializer at one end of the main chip processor to control the operation of the electrical module if it is detected that the deserializer has been reset;

[0030] Wherein, the electrical module includes a display screen, a meter and a camera.

[0031] In some embodiments, the vehicle bus communication system further includes:

[0032] The third control module is configured to control the electrical module to maintain a standby state if it is detected that the deserializer is not reset, and to re-detect the connection state of the electrical module after a first preset time.

[0033] In some embodiments, the vehicle bus communication system further includes:

[0034] The fourth control module is used to control the electrical module to maintain a standby state if the communication bus I2C reports an error, and re-detect the connection state of the electrical module after a first preset time.

[0035] In some embodiments, the vehicle bus communication system further includes:

[0036] A fifth control module is configured to control the electrical module to remain in a standby state if the deserializer or the serializer fails to be configured, and to re-detect the connection state of the electrical module after a first preset time.

[0037] In some embodiments, the vehicle bus communication system further includes:

[0038] A starting module, used to control the camera to remain in a non-working state when the vehicle is started;

[0039] a sixth control module, configured to control the camera to enter a working state when the main chip processor receives a reverse gear signal;

[0040] The seventh control module is used to control the camera to exit the working state after a second preset time when the main chip processor receives the reverse gear exit signal.

[0041] In some embodiments, the vehicle bus communication system further includes:

[0042] The eighth control module is configured to reset the parameters of the camera if the reversing image is not displayed normally within a third preset time.

[0043] In a third aspect, an embodiment of the present application provides a vehicle, comprising the vehicle-mounted bus communication system in the above embodiment.

[0044] Compared with the related art, the embodiment of the present application provides an in-vehicle bus communication method, which detects the electrical module to determine whether it is in a connected state. If it is in an unconnected state and the communication bus I2C does not report an error, it means that the electrical module does not need to work, and the electrical module is controlled to be powered off to prevent the electrical module from occupying the communication bus I2C to generate a large amount of invalid data, causing the communication bus I2C to be blocked and affecting the communication fluency. If the electrical module is in a connected state, before controlling the electrical module to work, it is detected whether the deserializer is reset. Only when it is successfully reset, the serializer on one end of the main chip processor and the deserializer on one end of the display screen are further configured to enable the electrical module to work normally.

[0045] The details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 Flowchart of the vehicle bus communication method in the first embodiment of the present invention;

[0047] Figure 2 Flowchart of the vehicle bus communication method in the second embodiment of the present invention;

[0048] Figure 3 Flowchart of the vehicle bus communication method in the third embodiment of the present invention;

[0049] Figure 4 A structural block diagram of a vehicle bus communication system in a fourth embodiment of the present invention;

[0050] Description of main component symbols:

[0051] Detection module 10 First detection unit 11 Second detection unit 12 First control module 21 Second control module 22 The third control module 23 Fourth control module 24 Fifth control module 25 Startup Module 31 Sixth control module 32 Seventh control module 33 Eighth control module 34

[0052] The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is described and illustrated below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely used to explain this application and are not intended to limit this application. Based on the embodiments provided in this application, all other embodiments obtained by those of ordinary skill in the art without making any creative efforts are within the scope of protection of this application.

[0054] Obviously, the drawings described below are merely examples or embodiments of the present application. Those skilled in the art can, without inventive effort, apply the present application to other similar scenarios based on these drawings. Furthermore, it is also understood that, although the effort involved in such a development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, changes in design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as an insufficiency of the content disclosed in this application.

[0055] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments unless there is a conflict.

[0056] Unless otherwise defined, the technical or scientific terms used in this application should have the ordinary meanings understood by persons of ordinary skill in the technical field to which this application belongs. The terms "one", "a", "the" and the like used in this application do not indicate a limit on quantity and may indicate the singular or plural. The terms "include", "comprise", "have" and any variations thereof used in this application are intended to cover non-exclusive inclusions; for example, a process, method, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units that are inherent to these processes, methods, products or devices. The terms "connect", "connected", "coupled" and the like used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "multiple" used in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" may mean: A exists alone, A and B exist at the same time, or B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific order for the objects.

[0057] A first embodiment of the present invention provides a vehicle bus communication method.

[0058] For ease of understanding, the vehicle bus communication method in this embodiment is mainly used for the communication strategy between the entertainment system host and the electrical module. The above-mentioned electrical module includes a display screen, an instrument and a camera. The above-mentioned entertainment system host includes a main chip processor, a serializer provided at one end of the above-mentioned main chip processor and a deserializer adapted to be connected to the above-mentioned serializer. The number of the above-mentioned deserializers is three, which communicate with the above-mentioned display screen, instrument and camera respectively.

[0059] Furthermore, in this embodiment, the main chip processor and the deserializer communicate through the communication bus I2C. The three deserializers can generate a CLK clock and send data to the serializer on the main chip processor side for communication, and specifically determine which deserializer's data is valid through I2C arbitration. When the main chip processor confirms that the data is valid, the entertainment system host interacts with the electrical module through LVDS to display the required content on the display screen or instrument.

[0060] Figure 1 is a flow chart of an automatic driving steering control method according to an embodiment of the present application, such as Figure 1 As shown, the process includes the following steps:

[0061] Step S101: Detect whether the electrical module is in a connected state. Specifically, in this step, the main chip processor detects the communication status of the electrical module to detect whether the connection and communication are normal.

[0062] In step S102, if the electrical module is detected to be in an unconnected state, the communication bus I2C is checked for errors. Specifically, in this step, if the electrical module is detected to be in an unlocked state, the I2C communication bus is checked for errors. This prevents connection failures due to communication errors, such as communication congestion.

[0063] Step S103: If the communication bus I2C does not report an error, the electrical module is powered off. Specifically, in this step, if the electrical module is not connected and the communication bus I2C does not report an error, it means that the electrical module does not need to work, and the electrical module can be powered off.

[0064] Step S104 : If it is detected that the electrical module is in a connected state, it is detected whether the deserializer at one end of the electrical module is reset.

[0065] Step S105 : If it is detected that the deserializer has been reset, the serializer and the deserializer at one end of the main chip processor are sequentially configured to control the operation of the electrical module.

[0066] In the above steps S101 to S105, the electrical module is detected to determine whether it is in a connected state. If it is in an unconnected state and the communication bus I2C does not report an error, it means that the electrical module does not need to work, and the electrical module is controlled to be powered off to prevent the electrical module from occupying the communication bus I2C to generate a large amount of invalid data, causing the communication bus I2C to be blocked and affecting the communication fluency. If it is in a connected state, before controlling the electrical module to work, it is detected whether the deserializer is reset. Only when it is successfully reset, the serializer on one end of the main chip processor and the deserializer on one end of the display are further configured to enable the electrical module to work normally.

[0067] A second embodiment of the present invention provides a vehicle bus communication method. Figure 2 is a flow chart of a vehicle bus communication method according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:

[0068] Step S201: Detect whether the electrical module is in a connected state. In some application scenarios of this embodiment, the electrical module is a display screen.

[0069] Step S202: If it is detected that the electrical module is in a disconnected state, check whether the communication bus I2C reports an error.

[0070] In step S203, if the I2C communication bus does not report an error, the electrical module is powered off. Specifically, in this step, if the I2C communication bus does not report an error, communication is normal and the display screen is no longer needed. By controlling the power off, the display screen is prevented from occupying the I2C communication bus, generating a large amount of invalid data, and thus blocking the I2C communication bus and affecting communication smoothness.

[0071] In step S204, if the communication bus I2C reports an error, the electrical module is controlled to remain in a standby state and the connection status of the electrical module is rechecked after a first preset time. Specifically, in this step, if the communication bus I2C reports an error, the display screen is controlled to remain in a standby state and the current connection status check is ignored. The cached data of this check is also cleared to improve communication smoothness. After the first preset time, the process returns to step S201 for the next new judgment cycle.

[0072] Step S205 : If it is detected that the electrical module is in a connected state, it is detected whether the deserializer at one end of the electrical module is reset.

[0073] In step S206, if the deserializer is detected to have been reset, the serializer and deserializer on the main chip processor side are sequentially configured to control the operation of the electrical module. Specifically, in this step, if the electrical module is detected to be in a normal connection state, i.e., locked, it indicates that the electrical module needs to be operated. First, the deserializer DS948 on the electrical module side is tested to see if it has been reset. If it is detected to have been reset, the serializer on the main chip processor side and the deserializer on the display side are configured. After successful configuration, the display screen will operate normally.

[0074] In step S207, if the configuration of the deserializer or serializer fails, the electrical module is controlled to remain in a standby state and the connection status of the electrical module is rechecked after a first preset time. Specifically, in this step, if the configuration fails, the display screen is controlled to remain in a standby state and the connection status check is ignored. The cached data of this check is cleared accordingly to improve communication smoothness. After the first preset time, the process returns to step S201 for the next new judgment cycle.

[0075] In step S208, if it is detected that the deserializer has not been reset, the electrical module is controlled to remain in a standby state, and the connection status of the electrical module is re-checked after a first preset time. Specifically, in this step, if it is detected that the deserializer has not been reset, the display screen is controlled to remain in a standby state, and the current connection status check is ignored. The cached data of this check is cleared accordingly to improve communication fluency. After the first preset time, the process returns to step S201 for the next new judgment cycle.

[0076] In the above steps S201 to S208, the electrical module is detected to determine whether it is in a connected state. If it is in an unconnected state and the communication bus I2C does not report an error, it means that the electrical module does not need to work, and the electrical module is controlled to be powered off to prevent the electrical module from occupying the communication bus I2C to generate a large amount of invalid data, causing the communication bus I2C to be blocked and affecting the communication fluency. If the electrical module is in a connected state, if it is in a connected state, before controlling the electrical module to work, it is detected whether the deserializer is reset. Only when it is successfully reset, the serializer at one end of the main chip processor and the deserializer at one end of the display are further configured to make the display work normally. If the reset is not successful, or the deserializer / serializer configuration fails, this test is ignored, and the relevant cache data is cleared to proceed to the next new judgment cycle.

[0077] A third embodiment of the present invention provides a vehicle bus communication method. Figure 3 is a flow chart of a vehicle bus communication method according to an embodiment of the present application, such as Figure 3 As shown, the process includes the following steps:

[0078] Step S301: When the vehicle is started, the camera is controlled to remain in a non-working state.

[0079] Step S302: When the main chip processor receives a reverse gear signal, it controls the camera to enter a working state.

[0080] Step S303: If the reversing image is not displayed normally within the third preset time, the camera parameters are reset. Specifically, this step is implemented by adding a frame acquisition timeout mechanism to the frame data acquisition callback function of the reversing intermediate service layer in the entertainment system host. That is, if the reversing image is not displayed normally within the third preset time (500ms), the entertainment system host resets the camera parameters, ensuring normal communication on the I2C communication bus. In the event of an anomaly, the 500ms timeout mechanism can quickly restore normal operation.

[0081] Step S304: When the main chip processor receives the reverse gear exit signal, it controls the camera to exit the operating state after a second preset time. Specifically, in this step, when the vehicle is started normally, that is, when the entertainment system host is operating normally, power is not supplied to the camera to control the camera to remain in an inactive state. Power is then supplied to the camera upon receiving the reverse gear signal. After exiting reverse gear, power is deactivated after a second preset time (1 minute). This prevents delays in the reverse image during rapid reverse gear shifts.

[0082] In the above steps S301 to S304, when the entertainment system host is working normally, the camera is not powered on to control the camera to remain in a non-working state, and power is supplied to the camera after receiving the reverse gear signal. After exiting the reverse gear, the power supply is delayed for a second preset time to avoid the problem of switching before quick reverse gear and delay in the reversing image. A frame acquisition timeout mechanism is added to the frame data acquisition callback function of the reversing intermediate service layer in the entertainment system host, that is, when the reversing image is not displayed normally within the third preset time, the entertainment system host resets the camera parameters to make the communication bus I2C communication normal. When an abnormality occurs, the 500ms timeout mechanism can also return to normal as soon as possible.

[0083] A fourth embodiment of the present invention provides a vehicle bus communication system, such as Figure 4As shown, the vehicle bus communication system includes a detection module 10, a first detection unit 11, and a first control module 21. The detection module 10 is used to detect whether the electrical module is in a connected state. If the first detection unit 11 detects that the electrical module is in a connected state, it is used to detect whether the deserializer on one end of the electrical module has been reset. If the first control module 21 detects that the deserializer has been reset, it is used to sequentially configure the serializer and the deserializer on the main chip processor end to control the operation of the electrical module. Specifically, the electrical module includes a display screen, an instrument panel, and a camera.

[0084] Preferably, in this embodiment, the above-mentioned vehicle bus communication system also includes a second detection unit 12 and a second control module 22. The above-mentioned second detection unit 12 is used to detect whether the deserializer at one end of the electrical module is reset if it is detected that the electrical module is in a connected state; the above-mentioned second control module 22 is used to configure the serializer and the deserializer at one end of the main chip processor in sequence to control the operation of the electrical module if it is detected that the deserializer has been reset.

[0085] Furthermore, in this embodiment, the above-mentioned vehicle bus communication system also includes a third control module 23, a fourth control module 24 and a fifth control module 25. The above-mentioned third control module 23 is used to control the electrical module to remain in standby state if it is detected that the deserializer is not reset, and re-detect the connection status of the electrical module after a first preset time; the above-mentioned fourth control module 24 is used to control the electrical module to remain in standby state if the communication bus I2C reports an error, and re-detect the connection status of the electrical module after a first preset time; the above-mentioned fifth control module 25 is used to control the electrical module to remain in standby state if the configuration of the deserializer or the serializer fails, and re-detect the connection status of the electrical module after a first preset time.

[0086] Furthermore, in this embodiment, the above-mentioned vehicle bus communication system also includes a starting module 31, a sixth control module 32, a seventh control module 33 and an eighth control module 34. The above-mentioned starting module 31 is used to control the camera to remain in a non-working state when the vehicle is started; the above-mentioned sixth control module 32 is used to control the camera to enter a working state when the main chip processor receives a reverse gear signal; the above-mentioned seventh control module 33 is used to control the camera to exit the working state after a second preset time when the main chip processor receives a reverse gear exit signal; the above-mentioned eighth control module 34 is used to reset the parameters of the camera if the reversing image is not displayed normally within a third preset time.

[0087] For ease of understanding, in some application scenarios of this embodiment, after the vehicle is started, the entertainment system host completes initialization and then starts up synchronously. The deserializer communicating with the display generates a CLK clock and sends data to the main chip processor. After the main chip processor confirms the data is valid, it communicates with the display via LVDS. At this time, the display operates, turns on the backlight, and displays the working interface.

[0088] In addition, since the main chip processor of the IVI host checks the lock status of the serializer and the deserializer on one end of the display screen every 500ms, if the lock status is lost, the backlight will be turned off, and the display screen will not work, with a black screen. If the user puts the car in reverse gear and an abnormality occurs on the camera end, for example, there is a large amount of invalid data on the communication bus I2C, resulting in blocking the entire I2C1 bus, then the main chip processor detects an abnormality in the communication with the display screen, and an abnormal fault black screen will appear. To solve the above problem, in some application scenarios of this embodiment, the connection status of the display screen is detected. If it is detected that the connection is not normal, that is, the unlock state; further logical judgment is performed to confirm whether the communication bus I2C reports an error. If no error is reported, it indicates that the display screen does not need to work and the screen will be black when powered off; if the communication bus I2C reports an error, the link detection is directly ignored and the next new judgment cycle is entered, and the connection status of the display screen is re-checked after the first preset time. Furthermore, when the connection status is detected as normal (i.e., locked), the system first checks whether the DS948 deserializer on the display is reset. If so, the DS949 serializer on the main chip processor is configured. Once successfully configured, the DS948 deserializer on the display is configured. If configuration fails, the system returns to the connection status check. When the user engages reverse gear (R), the main chip processor receives the reverse signal and powers the camera. Once the camera is functioning properly, it transmits the reverse image back to the main chip processor via I2C, which is then displayed on the display.

[0089] In summary, the vehicle-mounted bus communication system in the above-mentioned embodiment of the present invention detects the electrical module to determine whether it is in a connected state. If it is in an unconnected state and the communication bus I2C does not report an error, it means that the electrical module does not need to work, and controls the electrical module to be powered off to prevent the electrical module from occupying the communication bus I2C to generate a large amount of invalid data, causing the communication bus I2C to be blocked, affecting the communication fluency. If the electrical module is in a connected state, if it is in a connected state, before controlling the electrical module to work, it is detected whether the deserializer is reset. Only when the reset is successful, the serializer at one end of the main chip processor and the deserializer at one end of the display are further configured to make the display work normally. If the reset is unsuccessful, or the deserializer / serializer configuration fails , ignore this test, and clear the relevant cache data to improve the communication fluency for the next test; by not supplying power to the camera when the entertainment system host is working normally, so as to control the camera to remain in a non-working state, and wait for the reverse gear signal to be received before providing power to the camera. When the reverse gear is exited, the power supply is delayed for the second preset time to avoid the problem of switching before fast reverse gear and delay in the reversing image. By adding a frame acquisition timeout mechanism to the frame data acquisition callback function of the reversing intermediate service layer in the entertainment system host, that is, when the reversing image is not displayed normally within the third preset time, the entertainment system host resets the camera parameters, so that the communication bus I2C communication is normal. When an abnormality occurs, the 500ms timeout mechanism can also return to normal as soon as possible.

[0090] A fifth embodiment of the present invention provides a vehicle including the in-vehicle bus communication system according to the above embodiment.

[0091] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0092] The above-described embodiments merely illustrate several embodiments of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A vehicle bus communication method, characterized in that: include: Check whether the electrical module is in a connected state; If it is detected that the electrical module is in an unconnected state, checking whether the communication bus I2C reports an error; If the communication bus I2C does not report an error, control the electrical module to power off; If it is detected that the electrical module is in a connected state, detecting whether the deserializer at one end of the electrical module is reset; If it is detected that the deserializer has been reset, sequentially configuring the serializer and the deserializer at one end of the main chip processor to control the operation of the electrical module; Wherein, the electrical module includes a display screen, an instrument and a camera; After the step of detecting whether the deserializer at one end of the electrical module is reset, the method further includes: If it is detected that the deserializer is not reset, controlling the electrical module to maintain a standby state, and re-detecting the connection state of the electrical module after a first preset time; After the step of detecting whether the communication bus I2C reports an error, the following steps are further included: If the communication bus I2C reports an error, controlling the electrical module to remain in a standby state, and re-detecting the connection state of the electrical module after a first preset time; The step of sequentially configuring the serializer and the deserializer at one end of the main chip processor further includes: If the deserializer or the serializer configuration fails, controlling the electrical module to remain in a standby state, and re-detecting the connection state of the electrical module after a first preset time; The method further comprises: When the vehicle is started, the camera is controlled to remain in a non-working state; When the main chip processor receives a reverse gear signal, it controls the camera to enter a working state; When the main chip processor receives the reverse gear exit signal, it controls the camera to exit the working state after a second preset time.

2. The vehicle bus communication method according to claim 1, characterized in that: The step of controlling the camera to enter a working state further includes: If the reversing image is not displayed normally within the third preset time, the parameters of the camera are reset.

3. A vehicle bus communication system based on the vehicle bus communication method according to any one of claims 1 to 2, characterized in that: include: A detection module, used to detect whether the electrical module is in a connected state; a first detection unit, configured to detect whether a deserializer at one end of the electrical module is reset if it is detected that the electrical module is in a connected state; A first control module is configured to sequentially configure the serializer and the deserializer at one end of the main chip processor to control the operation of the electrical module if it is detected that the deserializer has been reset; a second detection unit, configured to detect whether a deserializer at one end of the electrical module is reset if it is detected that the electrical module is in a connected state; a second control module configured to sequentially configure the serializer and the deserializer at one end of the main chip processor to control the operation of the electrical module if it is detected that the deserializer has been reset; Wherein, the electrical module includes a display screen, a meter and a camera.

4. The vehicle bus communication system according to claim 3, characterized in that: The vehicle bus communication system further includes: The third control module is configured to control the electrical module to maintain a standby state if it is detected that the deserializer is not reset, and to re-detect the connection state of the electrical module after a first preset time.

5. The vehicle bus communication system according to claim 4, characterized in that: The vehicle bus communication system further includes: The fourth control module is used to control the electrical module to maintain a standby state if the communication bus I2C reports an error, and re-detect the connection state of the electrical module after a first preset time.

6. A vehicle, characterized in that: The vehicle bus communication system includes any one of claims 3 to 5.

Citation Information

Patent Citations

  • Control system and method of charging pile emergency stop button

    CN110103760A

  • Power system inspection communication system and power system inspection method

    CN112150662A