Safety air bag and monitoring method and monitoring device thereof
By setting up storage space in the airbag controller and uploading a collection of fault codes, the problem of real-time fault code monitoring and insufficient data analysis in the prior art is solved, and real-time monitoring and effective reminder of airbag failures is realized.
Patent Information
- Application Number
- CN202410939667.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-12
AI Technical Summary
When monitoring the fault code of the airbag controller, the real-time and data analysis convenience are insufficient, resulting in weak real-time fault codes, and the failure to accurately locate the fault occurrence and recovery time, affecting troubleshooting.
Using an airbag monitoring method, by setting the first storage space and the second storage space in the airbag controller, the fault code set is determined based on the number of fault codes or the polling time, and uploading it to the cloud server to generate a fault level , realize real-time monitoring and reminders.
It improves the real-time upload of fault codes and bus load balancing, enhances the effectiveness of cloud analysis data, and provides timely user reminders and troubleshooting support.
Smart Images

Figure CN118938849A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of safety airbags, and in particular to a safety airbag monitoring method, a safety airbag monitoring device and a safety airbag. Background Art
[0002] With the continuous development of the new generation of electronic and electrical architecture and vehicle-side cloud big data applications, monitoring the controller fault codes on the whole vehicle and taking certain processing or reminder measures has become a hot topic. In the past, vehicle fault codes were read offline by 4S stores, or the cloud actively initiated remote diagnosis to read fault codes. This method of reading controller fault codes has great limitations in terms of real-time and data analysis convenience.
[0003] The airbag controller is a safety controller related to airbag deployment. If it fails during vehicle operation, it is likely to have a great impact on the driving safety of the driver and passengers. Therefore, real-time monitoring of the airbag controller fault code and timely user reminders are very necessary. The related technology is mainly based on the fault code upload processing at the vehicle level, and no specific fault code upload strategy is designed for a single vehicle controller. It simply describes that when a vehicle controller fails, it will detect the controller fault flag on the bus, and then the cloud will actively read the fault code of the vehicle controller. Generally, there are specific scenario requirements when the cloud actively sends diagnostic instructions to read the fault code, such as the vehicle speed is 0, keeping in P gear, etc. If this scenario is met and then reported to the cloud, the actual fault has occurred for a period of time, and there is a certain time delay in the data being transmitted to the cloud. The real-time performance of the fault code is weak. Moreover, when reading the fault code, all historical faults will be read and reported to the cloud, resulting in repeated reading of the same fault, which is also inconvenient for the cloud to perform fault analysis. In addition, the previous patent method will read all historical faults at once, and it is impossible to distinguish the exact time of fault recovery, and it is impossible to accurately locate the occurrence and recovery of the fault, which is not conducive to subsequent fault occurrence and recovery problem troubleshooting. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a monitoring method for an airbag, determine that the polling time of the first storage space reaches the set time, or the number of fault codes in the first storage space reaches the preset number, and then determine the first fault code set in the first storage space according to the fault code in the first storage space and the second fault code set, and finally upload the first fault code set to the cloud server, so that the cloud server generates a fault level according to the first fault code set, thereby effectively helping users monitor whether the airbag operation fails, etc., and taking into account the real-time nature of fault code uploading, good bus load balancing, and the effectiveness of cloud analysis data.
[0005] A second objective of the present invention is to provide a method for monitoring an airbag.
[0006] The third objective of the present invention is to provide a monitoring device for an airbag.
[0007] A fourth objective of the present invention is to provide a monitoring device for an airbag.
[0008] A fifth object of the present invention is to provide an airbag.
[0009] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a method for monitoring an airbag, wherein the airbag includes an airbag controller, and the airbag controller includes a first storage space and a second storage space, wherein the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent, and the method includes: determining that the polling time of the first storage space reaches a set time, or the number of fault codes in the first storage space reaches a preset number, determining the first fault code set in the first storage space based on the fault codes in the first storage space and the second fault code set, and uploading the first fault code set to a cloud server so that the cloud server generates a fault level based on the first fault code set.
[0010] According to the airbag monitoring method of the embodiment of the present invention, first determine whether the polling time of the first storage space reaches the set time, or the number of fault codes in the first storage space reaches the preset number, then determine the first fault code set in the first storage space according to the fault code in the first storage space and the second fault code set, and finally upload the first fault code set to the cloud server so that the cloud server generates a fault level according to the first fault code set. Therefore, the method can effectively help users monitor whether the airbag operation fails, etc., and take into account the real-time nature of fault code uploading, good bus load balancing, and the effectiveness of cloud analysis data.
[0011] In addition, the airbag monitoring method according to the above embodiment of the present invention may also have the following additional technical features:
[0012] According to one embodiment of the present invention, determining the first fault code set in the first storage space based on the fault codes in the first storage space and the second fault code set includes: removing the fault codes in the first storage space that are identical to those in the second fault code set to generate the first fault code set.
[0013] According to one embodiment of the present invention, when the number of fault codes in the first storage space exceeds the preset number, the method further includes: when a new fault code is detected, updating the fault code in the first storage space according to the fault code priority order or storage time, etc.; when it is detected that the status of the fault code in the first storage space has changed, updating the status of the fault code.
[0014] According to one embodiment of the present invention, uploading the first fault code set to a cloud server includes: continuously sending a preset number of frames of the first fault code set to the cloud server in the form of event frame messages; after uploading the first fault code set to the cloud server, clearing the fault codes in the first storage space.
[0015] According to one embodiment of the present invention, the method further includes: storing the detected fault codes in the first storage space within a preset time after the vehicle is powered on; determining the first fault code set in the first storage space based on the fault codes in the first storage space and the second fault code set; and uploading the first fault code set to the cloud server when the preset time is exceeded after the vehicle is powered on.
[0016] To achieve the above-mentioned purpose, the second aspect of the embodiment of the present invention proposes a method for monitoring an airbag, wherein the airbag includes an airbag controller, and the airbag controller includes a first storage space and a second storage space, wherein the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent, and the method includes: receiving the first fault code set, wherein the first fault code set is determined based on the fault codes in the first storage space and the second fault code set; generating a fault code level based on the first fault code set, and determining a reminder strategy based on the fault code level.
[0017] According to the airbag monitoring method of the embodiment of the present invention, a first fault code set is received, wherein the first fault code set is determined according to the fault codes in the first storage space and the second fault code set, a fault code level is generated according to the first fault code set, and a reminder strategy is determined according to the fault code level. Thus, the method can provide different reminder modes to the user, and can provide the user with timely reminders and necessary rescue support when a fault occurs.
[0018] In addition, the airbag monitoring method according to the above embodiment of the present invention may also have the following additional technical features:
[0019] According to one embodiment of the present invention, a reminder strategy is determined according to the fault code level, including: when the fault code level is a first-level fault code, reminding the user through a preset first method; when the fault level is a second-level fault, reminding the user through a preset second method; when the fault level is a third-level fault, no reminder information is issued.
[0020] To achieve the above-mentioned purpose, the third aspect of the present invention proposes an airbag monitoring device, wherein the airbag includes an airbag controller, and the airbag controller includes a first storage space and a second storage space, wherein the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent, and the device includes: a first determination module, used to determine whether the polling time of the first storage space reaches a set time, or the number of fault codes in the first storage space reaches a preset number; a second determination module, used to determine the first fault code set in the first storage space based on the fault code in the first storage space and the second fault code set; an upload module, used to upload the first fault code set to a cloud server, so that the cloud server generates a fault level based on the first fault code set.
[0021] According to the airbag monitoring device of the embodiment of the present invention, the first determination module is used to determine whether the polling time of the first storage space reaches the set time, or the number of fault codes in the first storage space reaches the preset number, the second determination module is used to determine the first fault code set in the first storage space according to the fault code in the first storage space and the second fault code set, and the upload module is used to upload the first fault code set to the cloud server so that the cloud server generates a fault level according to the first fault code set. Therefore, the device can effectively help users monitor whether the airbag operation fails, etc., and take into account the real-time nature of fault code upload, good bus load balancing, and the effectiveness of cloud analysis data.
[0022] To achieve the above-mentioned purpose, the fourth aspect of the embodiment of the present invention proposes a monitoring device for an airbag, wherein the airbag includes an airbag controller, and the airbag controller includes a first storage space and a second storage space, wherein the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent, and the device includes: a receiving module, used to receive the first fault code set, wherein the first fault code set is determined based on the fault codes in the first storage space and the second fault code set; a generating module, used to generate a fault code level based on the first fault code set; and a third determining module, used to determine a reminder strategy based on the fault code level.
[0023] According to the airbag monitoring device of the embodiment of the present invention, the receiving module is used to receive the first fault code set, wherein the first fault code set is determined according to the fault code in the first storage space and the second fault code set, the generating module is used to generate the fault code level according to the first fault code set, and the third determining module is used to determine the reminder strategy according to the fault code level. Thus, the device can provide different reminder methods to the user, and can provide the user with timely reminders and necessary rescue support when a fault occurs.
[0024] To achieve the above-mentioned purpose, a fifth aspect of the present invention proposes an airbag, comprising a memory, a processor, and an airbag monitoring program stored in the memory and executable on the processor, wherein when the processor executes the airbag monitoring program, the above-mentioned airbag monitoring method is implemented.
[0025] The airbag according to the embodiment of the present invention can effectively help users monitor whether the airbag operation has any faults by executing the above-mentioned airbag monitoring method, and take into account the real-time upload of fault codes, good bus load balancing, and the validity of cloud analysis data, as well as being able to provide users with different reminder methods and being able to provide users with timely reminders and necessary rescue support when a fault occurs.
[0026] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a flow chart of a method for monitoring an airbag according to an embodiment of the present invention;
[0028] Figure 2 A flowchart of a method for monitoring an airbag according to a specific example of the present invention;
[0029] Figure 3 is a flow chart of a method for monitoring an airbag according to an embodiment of the present invention;
[0030] Figure 4 A flowchart of a method for monitoring an airbag according to a specific example of the present invention;
[0031] Figure 5 A schematic diagram of the interaction between an airbag and a cloud server according to a specific example of the present invention;
[0032] Figure 6 A block diagram of a monitoring device for an airbag according to an embodiment of the present invention;
[0033] Figure 7 A block diagram of a monitoring device for an airbag according to an embodiment of the present invention;
[0034] Figure 8 FIG. 4 is a block diagram of an airbag according to an embodiment of the present invention. DETAILED DESCRIPTION
[0035] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0036] The following describes an airbag monitoring method, an airbag monitoring device and an airbag according to embodiments of the present invention with reference to the accompanying drawings.
[0037] Figure 1 The figure is a flow chart of a method for monitoring an airbag according to an embodiment of the present invention.
[0038] like Figure 1 As shown, the airbag monitoring method of the embodiment of the present invention may include the following steps:
[0039] S1, determining that the polling time of the first storage space reaches a set time, or the number of fault codes in the first storage space reaches a preset number, wherein the set time and the preset number may be determined according to actual conditions.
[0040] S2, determining a first fault code set in the first storage space according to the fault codes in the first storage space and the second fault code set.
[0041] S3, uploading the first fault code set to the cloud server, so that the cloud server generates a fault level according to the first fault code set.
[0042] Specifically, the airbag includes an airbag controller, and the airbag controller includes a first storage space and a second storage space, wherein the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent. For example, when the airbag controller is powered on, if there are fault codes stored in the non-volatile memory when the power is off last time, these fault codes are stored in the second storage space when the power is on this time. When the airbag controller is powered on, the fault detection is performed in real time, and when new fault codes are generated or there is an update of the fault code status, these fault codes can be stored in the first storage space.
[0043] When determining whether to upload the first fault code set to the cloud server, it can be determined through two parallel links, that is, whether the polling time of the first storage space reaches the set time, or whether the number of fault codes in the first storage space reaches the preset number to determine whether to upload the first fault code set to the cloud server. When the polling time of the first storage space reaches the set time, for example, the set time is 200 milliseconds, that is, the fault code in the first storage space is detected every 200 milliseconds to ensure that the fault code can be detected in time, the first fault code set can be uploaded to the cloud server. Alternatively, when the number of fault codes in the first storage space reaches the preset number, for example, the preset number is 12, that is, when the number of fault codes in the first storage space reaches 12, the first fault code set can be uploaded to the cloud server. In this way, the real-time nature of fault code uploading can be guaranteed to the greatest extent, so that the fault code status uploaded to the cloud can be reflected in a more timely manner. That is, when the airbag controller generates a large number of fault codes or status updates, when the preset number is reached, the fault code update can be uploaded and sent out immediately without waiting for a certain time to send it. In addition, when the number of fault codes generated is not large, the latest fault code can still be uploaded and sent out within the set time.
[0044] When it is determined that the polling time of the first storage space reaches the set time, or the number of fault codes in the first storage space reaches the preset number, and before uploading the first fault code set to the cloud server, the impact of the fault code upload on the bus load rate is minimized, and the first fault code set in the first storage space can be determined according to the fault code in the first storage space and the second fault code set. For example, by comparing the fault code conditions in the first fault code set and the second fault code set, it is ensured that the fault code in the first storage space that is the same as that in the second fault code set is removed to ensure that the previously sent fault code will not be repeatedly uploaded, and the status of the fault code can be compared. The same fault code will only be sent once when it is generated and eliminated. In this way, the first fault code set can be uploaded to the cloud server so that the cloud server generates a fault level based on the first fault code set. For example, different fault codes correspond to different fault levels, so that the user can be reminded accordingly according to the fault level.
[0045] Thus, it is determined that the polling time of the first storage space reaches the set time, or the number of fault codes in the first storage space reaches the preset number, and then the first fault code set in the first storage space is determined based on the fault code in the first storage space and the second fault code set, and finally the first fault code set is uploaded to the cloud server, so that the cloud server can generate a fault level based on the first fault code set, thereby effectively helping users monitor whether there are any faults in the operation of the airbag, etc., while taking into account the real-time nature of fault code uploading, good bus load balancing, and the effectiveness of cloud analysis data.
[0046] According to one embodiment of the present invention, determining a first fault code set in the first storage space based on fault codes in the first storage space and a second fault code set includes: removing fault codes in the first storage space that are identical to those in the second fault code set to generate a first fault code set.
[0047] Specifically, when determining the first fault code set in the first storage space according to the fault codes in the first storage space and the second fault code set, the fault codes in the first storage space and the second storage space can be compared to see whether there are the same fault codes. When there are fault codes in the first storage space that are the same as those in the second fault code set, the same fault codes can be removed, and the remaining fault codes are used to generate the first fault code set. This ensures that the fault codes in the first fault code set are newly generated fault codes, and ensures that the previously sent fault codes will not be uploaded repeatedly.
[0048] According to one embodiment of the present invention, when the number of fault codes in the first storage space exceeds a preset number, the method further includes: when a new fault code is detected, updating the fault code in the first storage space according to the fault code priority order or storage time, etc.; when it is detected that the status of the fault code in the first storage space has changed, updating the status of the fault code.
[0049] Specifically, when the number of fault codes in the first storage space exceeds a preset number, for example, when the number of fault codes in the current first storage space exceeds 12 fault codes, if the current airbag controller detects that a new fault code is generated during real-time fault detection, the fault code in the first storage space may be updated according to the fault code priority order or storage time, etc. For example, when updating the fault codes in the first storage space according to the fault code priority order, different fault codes may have different priorities, for example, the priority of the driver's front airbag ignition circuit fault is higher than the priority of the driver's seat side airbag ignition circuit fault. When the number of fault codes in the current first storage space exceeds 12, if the fault code corresponding to the driver's seat side airbag ignition circuit fault has been stored, when the fault code corresponding to the driver's front airbag ignition circuit fault appears, the fault code corresponding to the driver's seat side airbag ignition circuit fault will be replaced. For another example, when updating the fault code in the first storage space according to the storage time of the fault code, for example, 12 fault codes have been stored in the first storage space within 150ms. If the airbag controller detects a new fault code at the 160ms, the fault code stored within 150ms, such as the 10ms, can be deleted to store the new fault code.
[0050] If the current airbag controller detects a change in the state of the fault code in the first storage space during real-time fault detection, the state of the fault code can be updated. For example, during the driving of the vehicle, if a fault originally caused by poor contact returns to normal after passing through a bumpy road section, it can be determined that the state of the fault code has changed from a current fault to a historical fault, so that the fault code with a changed state can also be uploaded to the cloud server, so that the cloud server knows that the current fault code has returned to normal.
[0051] According to an embodiment of the present invention, uploading the first fault code set to the cloud server includes: continuously sending the first fault code set in the form of event frame messages for a preset number of frames to the cloud server; after uploading the first fault code set to the cloud server, clearing the fault codes in the first storage space. The preset number of frames can be determined according to actual conditions, for example, the preset number of frames can be 3 frames.
[0052] Specifically, when uploading the first fault code set to the cloud server, the first fault code set can be continuously sent to the cloud server in the form of event frame messages for a preset number of frames. For example, the fault code is sent to the CANFD bus in accordance with the event frame by the airbag controller, and the CANID message corresponding to the event frame is collected by the domain controller in real time. The domain controller can upload the collected CANFD message with the fault code to the cloud server through TBOX (Telematics Box, Internet of Vehicles Box), wherein only 3 frames of messages are continuously sent in the form of event frame messages, and the sending is stopped after the 3 frames are sent, which can prevent frame loss to a certain extent, ensure successful upload, and have no additional impact on the bus load. In addition, after uploading the first fault code set to the cloud server, the fault code in the first storage space can be cleared so that there is enough storage space to store the newly generated fault code.
[0053] According to an embodiment of the present invention, the airbag monitoring method further includes: storing the detected fault code in the first storage space within a preset time after the vehicle is powered on; determining the first fault code set in the first storage space according to the fault code in the first storage space and the second fault code set; uploading the first fault code set to the cloud server when the preset time is exceeded after the vehicle is powered on. The preset time can be determined according to the actual situation, for example, the preset time can be 5 seconds.
[0054] Specifically, within a preset time after the vehicle is powered on, the detected fault code can be stored in the first storage space. For example, within 5 seconds after the vehicle is powered on, it is in the power-on initialization and self-test stage of the airbag controller. In this stage, only fault detection and fault updating are performed, and no fault code upload operation is performed. The detected fault code can be stored in the first storage space. In addition, the fault codes in the first storage space and the second storage space can be compared to see whether there are the same fault codes. When there are fault codes in the first storage space that are the same as those in the second fault code set, the same fault codes can be removed, and the remaining fault codes generate the first fault code set. This ensures that the fault codes in the first fault code set are newly generated fault codes, and ensures that previously sent fault codes will not be uploaded repeatedly.
[0055] When the vehicle is powered on for more than a preset time, for example, when the vehicle is powered on for more than 5 seconds, the first fault code set can be immediately uploaded to the cloud server so that the cloud server can generate a fault level based on the first fault code set and determine a reminder strategy based on the fault code level to provide users with timely reminders and necessary rescue support.
[0056] Combine the following Figure 2 To describe the monitoring method of the present invention.
[0057] As a specific example, the airbag monitoring method of the present invention may include the following steps:
[0058] S101, the vehicle is powered on.
[0059] S102, determine whether the vehicle power-on time is less than a preset time. If yes, execute step S103; if no, execute step S105.
[0060] S103, storing the detected fault code in the first storage space.
[0061] S104, determining a first fault code set in the first storage space according to the fault codes in the first storage space and the second fault code set.
[0062] S105, upload the first fault code set to the cloud server, and proceed to steps S106 and S111.
[0063] S106: Check the polling time of the first storage space.
[0064] S107, determine whether the polling time reaches the set time. If yes, execute step S108; if not, execute step S106.
[0065] S108, remove the fault codes in the first storage space that are the same as those in the second fault code set, and generate a first fault code set.
[0066] S109: Send the first fault code set in the form of event frame messages for a preset number of frames to the cloud server continuously.
[0067] S110, clearing the fault codes in the first storage space.
[0068] S111, checking the number of fault codes in the first storage space.
[0069] S112, determine whether the number of fault codes reaches a set number. If yes, execute step S113, if not, execute step S111.
[0070] S113, when a new fault code is detected, the fault code in the first storage space is updated according to the fault code priority order or storage time, etc.; when it is detected that the state of the fault code in the first storage space has changed, the state of the fault code is updated and the process goes to step S108.
[0071] In summary, according to the airbag monitoring method of the embodiment of the present invention, first determine whether the polling time of the first storage space reaches the set time, or the number of fault codes in the first storage space reaches the preset number, then determine the first fault code set in the first storage space according to the fault code in the first storage space and the second fault code set, and finally upload the first fault code set to the cloud server so that the cloud server generates a fault level according to the first fault code set. Therefore, the method can effectively help users monitor whether the airbag operation fails, and take into account the real-time nature of fault code uploading, good bus load balancing, and the effectiveness of cloud analysis data.
[0072] Corresponding to the above embodiment, the present invention also proposes a method for monitoring an airbag.
[0073] like Figure 3 As shown, the airbag monitoring method of the embodiment of the present invention may include the following steps:
[0074] S11, receiving a first fault code set, wherein the first fault code set is determined according to the fault codes in the first storage space and the second fault code set.
[0075] S12, generating a fault code level according to the first fault code set, and determining a reminder strategy according to the fault code level.
[0076] Specifically, when uploading the first fault code set to the cloud server, the cloud server can receive the first fault code set. The first fault code set is determined based on the fault codes in the first storage space and the second fault code set, and the fault codes in the first storage space and the second storage space can be compared to see whether there are the same fault codes. When there are the same fault codes in the first storage space as those in the second fault code set, the same fault codes can be removed, and the remaining fault codes can be used to generate the first fault code set, so as to ensure that the fault codes in the first fault code set are newly generated fault codes, and ensure that the previously sent fault codes will not be uploaded repeatedly.
[0077] After the cloud server receives the first fault code set, a fault code level can be generated according to the first fault code set. Different fault codes correspond to different fault code levels. After determining a fault code, the corresponding fault code level can be determined, so that the reminder strategy can be determined according to the fault code level to remind the user according to the reminder strategy. For example, the higher the fault code level, the more serious the current fault is, and the user's life safety can be protected by contacting the user in time. The lower the fault code level, the less serious the current fault is, and the user can be reminded of the fault through the central control display, and please repair it in time. In this way, users can be given timely reminders and necessary rescue support when a fault occurs, which is also beneficial to the improvement of the airbag controller design and after-sales maintenance.
[0078] According to one embodiment of the present invention, a reminder strategy is determined according to the fault code level, including: when the fault code level is a level one fault code, reminding the user through a preset first method; when the fault level is a level two fault code, reminding the user through a preset second method; when the fault level is a level three fault code, no reminder information is issued.
[0079] Specifically, different fault code levels correspond to different reminder strategies. When determining the reminder strategy according to the fault code level, the fault code level can be judged. When the fault code level is a level 1 fault code, the user can be reminded by the preset first method, such as calling at least one of the user phone and the emergency phone to remind the user. That is, the level 1 fault code is a fault code with a higher severity level (a fault code that has already occurred, which is a fault code that will only be generated when the collision has occurred and the airbag has been detonated). After determining the level 1 fault code, if a relevant fault code has already occurred, the user and the contact person can be actively contacted to confirm the situation, or if necessary, an emergency number such as 120 can be called to help the user out of trouble. The user and the contact person can also be actively contacted to confirm the situation at the same time, and an emergency number such as 120 can be called to help the user out of trouble.
[0080] In the case of a fault code level of level 2, the user can be reminded by a preset second method, such as by sending information, or by pushing a fault message on the vehicle display screen. That is, a level 2 fault code is a fault code with a moderate severity level. After determining a level 2 fault code, such as a fault code that affects airbag deployment, such as a driver's airbag short circuit, open circuit, etc., a text message can be sent to remind the user, or the fault information and maintenance suggestions can be prompted on the central control screen, and the nearest maintenance point can be pushed to the user. A text message can also be sent to remind the user at the same time, and the fault information and maintenance suggestions can be prompted on the central control screen, and the nearest maintenance point can be pushed to the user.
[0081] When the fault code level is a second-level fault code, that is, the third-level fault code is a fault code with a lower severity level, after determining the third-level fault code, such as a fault code of abnormal bus communication, only the background monitoring status can be maintained without performing other additional operations, that is, no reminder information will be issued.
[0082] Combine the following Figure 4 To describe the monitoring method of the present invention.
[0083] As a specific example, the airbag monitoring method of the present invention may include the following steps:
[0084] S201, receiving a first fault code set, wherein the first fault code set is determined according to fault codes in a first storage space and a second fault code set.
[0085] S202: Generate a fault code level according to the first fault code set.
[0086] S203, determine whether the fault code level is a level 1 fault code. If yes, execute step S204; if no, execute step S205.
[0087] S204, reminding the user by at least one of dialing the user's phone number and calling the emergency number.
[0088] S205, determine whether the fault code level is a level 2 fault code. If yes, execute step S206; if no, execute step S207.
[0089] S206, reminding the user by at least one of sending a message and pushing a fault message on a vehicle display screen.
[0090] S207, determine whether the fault code level is a level 3 fault code. If yes, execute step S208; if not, execute step S202.
[0091] S208: No reminder message is issued.
[0092] In summary, according to the airbag monitoring method of the embodiment of the present invention, a first fault code set is received, wherein the first fault code set is determined according to the fault codes in the first storage space and the second fault code set, a fault code level is generated according to the first fault code set, and a reminder strategy is determined according to the fault code level. Thus, the method can provide different reminder methods to the user, and can provide the user with timely reminders and necessary rescue support when a fault occurs.
[0093] For ease of understanding, the interaction between the airbag controller and the cloud server of the present invention is described in a specific embodiment. Figure 5 As shown, the interaction method of the embodiment of the present invention may include the following steps:
[0094] S301, determining that the polling time of the first storage space reaches a set time, or the number of fault codes in the first storage space reaches a preset number.
[0095] S302, remove the fault codes in the first storage space that are the same as those in the second fault code set, and generate a first fault code set.
[0096] S303: Send the first fault code set in the form of event frame messages for a preset number of frames to the cloud server continuously.
[0097] S304, receiving a first fault code set.
[0098] S305, generating a fault code level according to the first fault code set, and determining a reminder strategy according to the fault code level.
[0099] Corresponding to the above embodiment, the present invention also proposes a monitoring device for an airbag.
[0100] like Figure 6 As shown, the airbag monitoring device 100 according to the embodiment of the present invention includes: a first determination module 110 , a second determination module 120 and an uploading module 130 .
[0101] The first determination module 110 is used to determine whether the polling time of the first storage space reaches the set time, or the number of fault codes in the first storage space reaches the preset number. The second determination module 120 is used to determine the first fault code set in the first storage space according to the fault code in the first storage space and the second fault code set. The upload module 130 is used to upload the first fault code set to the cloud server so that the cloud server generates a fault level according to the first fault code set.
[0102] According to one embodiment of the present invention, the second determination module 120 determines the first fault code set in the first storage space based on the fault codes in the first storage space and the second fault code set, and is specifically used to: remove the fault codes in the first storage space that are identical to those in the second fault code set to generate the first fault code set.
[0103] According to one embodiment of the present invention, the second determination module 120 is also used to: when the number of fault codes in the first storage space exceeds a preset number, when a new fault code is detected, update the fault code in the first storage space according to the fault code priority order or storage time, etc.; when it is detected that the status of the fault code in the first storage space has changed, update the status of the fault code.
[0104] According to one embodiment of the present invention, the upload module 130 uploads the first fault code set to the cloud server, and is specifically used to: continuously send a preset number of frames of the first fault code set to the cloud server in the form of event frame messages; after uploading the first fault code set to the cloud server, clear the fault codes in the first storage space.
[0105] According to one embodiment of the present invention, the upload module 130 is also used to: store the detected fault code in the first storage space within a preset time after the vehicle is powered on; determine the first fault code set in the first storage space based on the fault code in the first storage space and the second fault code set; and upload the first fault code set to the cloud server when the preset time is exceeded after the vehicle is powered on.
[0106] It should be noted that for details not disclosed in the airbag monitoring device of the embodiment of the present invention, please refer to the details disclosed in the airbag monitoring method of the embodiment of the present invention, and the details will not be repeated here.
[0107] According to the airbag monitoring device of the embodiment of the present invention, the first determination module is used to determine whether the polling time of the first storage space reaches the set time, or the number of fault codes in the first storage space reaches the preset number, the second determination module is used to determine the first fault code set in the first storage space according to the fault code in the first storage space and the second fault code set, and the upload module is used to upload the first fault code set to the cloud server so that the cloud server generates a fault level according to the first fault code set. Therefore, the device can effectively help users monitor whether the airbag operation fails, etc., and take into account the real-time nature of fault code upload, good bus load balancing, and the effectiveness of cloud analysis data.
[0108] Corresponding to the above embodiment, the present invention also proposes a monitoring device for an airbag.
[0109] like Figure 7As shown, the airbag monitoring device 200 according to the embodiment of the present invention includes: a receiving module 210 , a generating module 220 and a third determining module 230 .
[0110] The receiving module 210 is used to receive a first fault code set, wherein the first fault code set is determined according to the fault codes in the first storage space and the second fault code set. The generating module 220 is used to generate a fault code level according to the first fault code set. The third determining module 230 is used to determine a reminder strategy according to the fault code level.
[0111] According to one embodiment of the present invention, the third determination module 230 determines the reminder strategy according to the fault code level, which is specifically used for: when the fault code level is a first-level fault code, reminding the user through a preset first method; when the fault level is a second-level fault, reminding the user through a preset second method; when the fault level is a third-level fault, no reminder information is issued.
[0112] It should be noted that for details not disclosed in the airbag monitoring device of the embodiment of the present invention, please refer to the details disclosed in the airbag monitoring method of the embodiment of the present invention, and the details will not be repeated here.
[0113] According to the airbag monitoring device of the embodiment of the present invention, the receiving module is used to receive the first fault code set, wherein the first fault code set is determined according to the fault code in the first storage space and the second fault code set, the generating module is used to generate the fault code level according to the first fault code set, and the third determining module is used to determine the reminder strategy according to the fault code level. Thus, the device can provide different reminder methods to the user, and can provide the user with timely reminders and necessary rescue support when a fault occurs.
[0114] Corresponding to the above embodiment, the present invention also provides a safety airbag.
[0115] like Figure 8 As shown, the airbag 300 of the embodiment of the present invention may include: a memory 310, a processor 320, and an airbag monitoring program stored in the memory 310 and executable on the processor 320. When the processor 320 executes the airbag monitoring program, the above-mentioned airbag monitoring method is implemented.
[0116] The airbag according to the embodiment of the present invention can effectively help users monitor whether the airbag operation has any faults by executing the above-mentioned airbag monitoring method, and take into account the real-time upload of fault codes, good bus load balancing, and the validity of cloud analysis data, as well as being able to provide users with different reminder methods and being able to provide users with timely reminders and necessary rescue support when a fault occurs.
[0117] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0118] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0119] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0120] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0121] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0122] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for monitoring an airbag, characterized in that: The airbag includes an airbag controller, the airbag controller includes a first storage space and a second storage space, the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent, and the method includes: Determining that the polling time of the first storage space reaches a set time, or the number of fault codes in the first storage space reaches a preset number; determining the first fault code set in the first storage space according to the fault codes in the first storage space and the second fault code set; The first fault code set is uploaded to a cloud server so that the cloud server generates a fault level according to the first fault code set.
2. The airbag monitoring method according to claim 1, characterized in that: Determining the first fault code set in the first storage space according to the fault codes in the first storage space and the second fault code set includes: The fault codes in the first storage space that are identical to those in the second fault code set are removed to generate the first fault code set.
3. The airbag monitoring method according to claim 1, characterized in that: When the number of fault codes in the first storage space exceeds the preset number, the method further includes: When a new fault code is detected, the fault code in the first storage space is updated according to the fault code priority order or storage time; When it is detected that the state of the fault code in the first storage space changes, the state of the fault code is updated.
4. The airbag monitoring method according to claim 1, characterized in that: Uploading the first fault code set to a cloud server includes: Sending the first fault code set in the form of event frame messages for a preset number of frames continuously to the cloud server; After uploading the first fault code set to the cloud server, clear the fault codes in the first storage space.
5. The airbag monitoring method according to claim 1, characterized in that: The method further comprises: Within a preset time after the vehicle is powered on, storing the detected fault code in the first storage space; determining the first fault code set in the first storage space according to the fault codes in the first storage space and the second fault code set; When the vehicle is powered on for more than the preset time, the first fault code set is uploaded to the cloud server.
6. A method for monitoring an airbag, characterized in that: The airbag includes an airbag controller, the airbag controller includes a first storage space and a second storage space, the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent, and the method includes: receiving the first fault code set, wherein the first fault code set is determined according to the fault codes in the first storage space and the second fault code set; A fault code level is generated according to the first fault code set, and a reminder strategy is determined according to the fault code level.
7. The airbag monitoring method according to claim 6, characterized in that: Determine a reminder strategy according to the fault code level, including: When the fault code level is a level 1 fault code, reminding the user in a preset first way; When the fault level is a level 2 fault, reminding the user in a preset second way; When the fault level is a level 3 fault, no reminder information is issued.
8. A monitoring device for an airbag, characterized in that: The airbag includes an airbag controller, the airbag controller includes a first storage space and a second storage space, the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent, and the device includes: A first determination module, configured to determine whether a polling time of the first storage space reaches a set time, or whether the number of fault codes in the first storage space reaches a preset number; a second determination module, configured to determine the first fault code set in the first storage space according to the fault codes in the first storage space and the second fault code set; The uploading module is used to upload the first fault code set to a cloud server so that the cloud server generates a fault level according to the first fault code set.
9. A monitoring device for an airbag, characterized in that: The airbag includes an airbag controller, the airbag controller includes a first storage space and a second storage space, the first storage space is used to store a first fault code set to be sent, and the second storage space is used to store a second fault code set that has been sent, and the device includes: A receiving module, configured to receive the first fault code set, wherein the first fault code set is determined according to the fault codes in the first storage space and the second fault code set; A generating module, configured to generate a fault code level according to the first fault code set; The third determination module is used to determine a reminder strategy according to the fault code level.
10. A safety airbag, characterized in that: The invention comprises a memory, a processor and an airbag monitoring program stored in the memory and executable on the processor. When the processor executes the airbag monitoring program, the airbag monitoring method according to any one of claims 1 to 5 is implemented, or the airbag monitoring method according to claim 6 or 7 is implemented.
